Contract 0xd4cC0C9a71Cb716097B753eE45FEB83a758B1fbF

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xefbfc41c56d405554d504e52544c17ab99c706692668bc48aa7f79376fa4418558266372021-03-19 20:30:4392 days 19 hrs agoSponge Finance: Deployer IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00029252
0x34eaa245cc808f77cfb1ae2325c2cf9e720671ec7ad7455b42ce69065fc3a2e758252502021-03-19 19:21:2292 days 20 hrs ago0xb2a4584407bb58a02a4183d20a4fbc1db4c55b92 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x33f563d982b8b15aa75467f8f7710ec1ae0ddd292be44c5ba9852d21179dca4b58251372021-03-19 19:15:4392 days 20 hrs ago0xf7bac00b0882b51dfa67f67188fb3bb6768b997f IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00109378
0x967387b24c1d0760fd13c49e772f8aaec584cdf84d5b7901282a90616b1bcd2858251272021-03-19 19:15:1392 days 20 hrs ago0x1a16627287e3658648e89d5604071ff8e77ff2f3 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x6e8fafe043680dd21b62ac99df8c3d4d488244cea52a47fa6fe94fed7fd47b6358251122021-03-19 19:14:2892 days 20 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xa7bf0eb14a988f1ef2dd697df74fea5f639f6f0f2d31ea70285f1bf256e60f3658250662021-03-19 19:12:1092 days 20 hrs ago0xfbcd35e06e936408b87a013f49b83d05eacc2718 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x65df3d1d35ae74115c3bac1da9aeecf5bbeac031c3790473f2c3a61c53acbc6e58249642021-03-19 19:07:0492 days 20 hrs ago0xce742777cc11dde24a738d5845a6c84d804c1668 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x1410e8d3ab84c16564dabffdc7d2504d6f9585b2b419d52d10087b693f257a8458247252021-03-19 18:55:0792 days 20 hrs ago0x439fefc40586c5609649303778320fc025d7ae34 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x826ca909f8e7ed7460ea7fc2a847fe7c723f89b79aaf4c4f5da5d6c7a9f7c78b58246962021-03-19 18:53:4092 days 20 hrs ago0x953aaf44b4b601944c149455ff5660341b2f5cad IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x3469dfc372497f4d5ebb64363e81a552cf88ba35a4be2e13d0361acd86b5aeb758246862021-03-19 18:53:1092 days 20 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xdb4d4de5db3e8894c146e0a355d549542949dd678a91c629eb2dfcb9d4da0bbf58246702021-03-19 18:52:2292 days 20 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xd90cb805cd216792a5772260d728933594c27960d051b0cd70783ff682ac036958246532021-03-19 18:51:3192 days 20 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xe7299fee1db55812d6ccf92e831b11b271164eb6bac2a6fa9067a19b6ae775a458245172021-03-19 18:44:4392 days 20 hrs ago0xef973c572a1a5003d6fa23ee2a01cac2318fbc38 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xbe2690f2233a9725cc5a36117837bd6fd203e32d700915e09db57b407e0232b858243992021-03-19 18:38:4992 days 21 hrs ago0x6afdddf216185332f86fe7a53f36105898d59e77 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00109378
0x56f6b7c50ee00a150dc4f3cfa2630e6061fe4cbff95ac05b5fb4e82a50d94cab58241392021-03-19 18:25:4992 days 21 hrs ago0x5da0834f5dbec360675a2e32377e2346a01b7c12 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00094402
0x1f14e329d7204c73569ce7477a840fcd10955a7a4990772f1cc86bcc8a0be6a158240902021-03-19 18:23:2292 days 21 hrs ago0xfacad94f563a4016e1a9c4ff465a34fd9bd81c27 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00094378
0xa60e295b004eda4a7d817422f43fc5d432634e34df0d71539317cde3f76a594558236902021-03-19 18:03:2292 days 21 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xf223f521d9c7cab6c10622ef5a04c7ec576e180d565a8e3e0299268e936c79d358236692021-03-19 18:02:1992 days 21 hrs ago0x8208fa94c92c1f3f0e3728ca0a33962b432c5b40 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0xa601e99f2d2d106aae856100b0495582f0e3a3b160531d28c7c31e4e2bf546cd58235522021-03-19 17:56:2892 days 21 hrs ago0xea88a0228b528727f794603451e38ed5759742f0 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x25f5e5685523da3b6ba01aa96a67b1bdc1e9f4f5b2dfc2d0df19a07d89f5756c58235342021-03-19 17:55:3492 days 21 hrs ago0x63980df34872ae18d6a128f1bd44b0eb5d1fd3e7 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0009439
0x25169adb826261d92011b7b7fe903ef0bfd691265c816ddca9981c48b39473dc58234312021-03-19 17:50:2592 days 21 hrs ago0x288cd1fc47df2139818d82fc1e963826610766e2 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00094378
0x4d9bc46e7509608d72cc10874805f0a6f96bbdad2352ef53fb66d934c86ed4e058234182021-03-19 17:49:4692 days 21 hrs ago0x1e449bc189f81722516a2c7b5c5b03a9ae57983d IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0009439
0x4469396336ff0e14d056b2f8859e4b43ae88c2352e58175d285ca803b0c7e1fc58233472021-03-19 17:46:1392 days 21 hrs ago0x5ad688dd362478374bfeced3da752600761109e0 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.00109366
0x18bb16641f9bcf88a7982bcf6b8ab248e5f8744fb9ad5847ed24bdf976bef3ed58233112021-03-19 17:44:2592 days 21 hrs ago0x14dde14780ec80a299a8aa6954973e4bc33c6597 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
0x05604989a54f29a92ad41e0b4c58883ad79ad1bf197d883929f9ab1eb6bd4b2d58232412021-03-19 17:40:5592 days 22 hrs ago0xe7d8842dec5ef99b8cdc2944e64a0108dc163e57 IN  0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf0 BNB0.0010939
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x23712f7bef1952a8d45ee9ef40f11ef4e2fd606263afcb58add21c49c5e1877554610192021-03-07 3:23:44105 days 12 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x23712f7bef1952a8d45ee9ef40f11ef4e2fd606263afcb58add21c49c5e1877554610192021-03-07 3:23:44105 days 12 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x23712f7bef1952a8d45ee9ef40f11ef4e2fd606263afcb58add21c49c5e1877554610192021-03-07 3:23:44105 days 12 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x23712f7bef1952a8d45ee9ef40f11ef4e2fd606263afcb58add21c49c5e1877554610192021-03-07 3:23:44105 days 12 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x23712f7bef1952a8d45ee9ef40f11ef4e2fd606263afcb58add21c49c5e1877554610192021-03-07 3:23:44105 days 12 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x0c65dd5358e6f7bde2b1a1b1c45f36b698fd5addd09c136a61981a190f05670c54581832021-03-07 1:01:56105 days 14 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x0c65dd5358e6f7bde2b1a1b1c45f36b698fd5addd09c136a61981a190f05670c54581832021-03-07 1:01:56105 days 14 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x0c65dd5358e6f7bde2b1a1b1c45f36b698fd5addd09c136a61981a190f05670c54581832021-03-07 1:01:56105 days 14 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x0c65dd5358e6f7bde2b1a1b1c45f36b698fd5addd09c136a61981a190f05670c54581832021-03-07 1:01:56105 days 14 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x0c65dd5358e6f7bde2b1a1b1c45f36b698fd5addd09c136a61981a190f05670c54581832021-03-07 1:01:56105 days 14 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x8a471de41c956de44ab1baa0ada2ff53122817a9af67783d0bdb76079b70b60154569252021-03-06 23:59:00105 days 15 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x8a471de41c956de44ab1baa0ada2ff53122817a9af67783d0bdb76079b70b60154569252021-03-06 23:59:00105 days 15 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x8a471de41c956de44ab1baa0ada2ff53122817a9af67783d0bdb76079b70b60154569252021-03-06 23:59:00105 days 15 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x8a471de41c956de44ab1baa0ada2ff53122817a9af67783d0bdb76079b70b60154569252021-03-06 23:59:00105 days 15 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x8a471de41c956de44ab1baa0ada2ff53122817a9af67783d0bdb76079b70b60154569252021-03-06 23:59:00105 days 15 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x6c6607d5777de86d22eec27c2647e9872ced82d08e971447fcb00fb03800c1e454563122021-03-06 23:28:21105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x6c6607d5777de86d22eec27c2647e9872ced82d08e971447fcb00fb03800c1e454563122021-03-06 23:28:21105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x6c6607d5777de86d22eec27c2647e9872ced82d08e971447fcb00fb03800c1e454563122021-03-06 23:28:21105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x6c6607d5777de86d22eec27c2647e9872ced82d08e971447fcb00fb03800c1e454563122021-03-06 23:28:21105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x6c6607d5777de86d22eec27c2647e9872ced82d08e971447fcb00fb03800c1e454563122021-03-06 23:28:21105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x5af07277912d830de908639ddfe124d43332cecd4b23e1a70e2fbc066296ca5d54562482021-03-06 23:25:09105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x5af07277912d830de908639ddfe124d43332cecd4b23e1a70e2fbc066296ca5d54562482021-03-06 23:25:09105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x5af07277912d830de908639ddfe124d43332cecd4b23e1a70e2fbc066296ca5d54562482021-03-06 23:25:09105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: STEAM Token0 BNB
0x5af07277912d830de908639ddfe124d43332cecd4b23e1a70e2fbc066296ca5d54562482021-03-06 23:25:09105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
0x5af07277912d830de908639ddfe124d43332cecd4b23e1a70e2fbc066296ca5d54562482021-03-06 23:25:09105 days 16 hrs ago 0xd4cc0c9a71cb716097b753ee45feb83a758b1fbf Sponge Finance: SOAK Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
STEAMER

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-02-26
*/

// File: @pancakeswap/pancake-swap-lib/contracts/math/SafeMath.sol
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;
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/IBEP20.sol


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);
}

// File: @pancakeswap/pancake-swap-lib/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) {
        // 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);
            }
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/SafeBEP20.sol
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');
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/GSN/Context.sol


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;
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/access/Ownable.sol


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;
    }
}


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

    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @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.
     */

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

interface IPancakeV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IPancakeV2Pair {
    function sync() external;
}

interface IPancakeV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IPancakeV2Router02 is IPancakeV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
      address token,
      uint liquidity,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline
    ) external returns (uint amountETH);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
}

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);
}

contract SPONGE is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

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

    mapping (address => bool) private _isExcluded;
    address[] private _excluded;

    address private _pAddress = 0x186a8e6B527eBDecAB7073DBbFC116a591A1174b;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 10 * 10**4 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = 'SPONGE';
    string private _symbol = 'SPG';
    uint8 private _decimals = 9;

    constructor () public {
        _rOwned[_msgSender()] = _rTotal;
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    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;
    }

    function isExcluded(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

    function excludeAccount(address account) external onlyOwner() {
        require(!_isExcluded[account], "Account is already excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeAccount(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) = _getValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount,,,) = _getRValues(tAmount, tFee, dFee, pFee, burningAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _absorbTransfer(sender, recipient, tAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 tTransferAmount, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) = _getValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount,,,) = _getRValues(tAmount, tFee, dFee, pFee, burningAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _absorbTransfer(sender, recipient, tAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) = _getValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount,,,) = _getRValues(tAmount, tFee, dFee, pFee, burningAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _absorbTransfer(sender, recipient, tAmount);
    }

    function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 tTransferAmount, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) = _getValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount,,,) = _getRValues(tAmount, tFee, dFee, pFee, burningAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _absorbTransfer(sender, recipient, tAmount);
    }

    function _absorbTransfer(address sender, address recipient, uint256 tAmount) private {
      (uint256 tTransferAmount, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) = _getValues(tAmount);
      (,, uint256 rFee, uint256 rdFee, uint256 rpFee) = _getRValues(tAmount, tFee, dFee, pFee, burningAmount);
      _absorbFee(rFee, tFee);
      _devFee(sender, dFee, rdFee);
      _partnerFee(sender, pFee, rpFee);
      _burn(sender, burningAmount);
      emit Transfer(sender, recipient, tTransferAmount);
    }

    function _absorbFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _devFee(address sender, uint256 dFee, uint256 rdFee) private {
      address owner = owner();
      if (_isExcluded[owner]) {
        _tOwned[owner] = _tOwned[owner].add(dFee);
        _rOwned[owner] = _rOwned[owner].add(rdFee);
      } else {
        _rOwned[owner] = _rOwned[owner].add(rdFee);
      }
      emit Transfer(sender, owner, dFee);
    }

    function _partnerFee(address sender, uint256 pFee, uint256 rpFee) private {
      if (_isExcluded[_pAddress]) {
        _tOwned[_pAddress] = _tOwned[_pAddress].add(pFee);
        _rOwned[_pAddress] = _rOwned[_pAddress].add(rpFee);
      } else {
        _rOwned[_pAddress] = _rOwned[_pAddress].add(rpFee);
      }
      emit Transfer(sender, _pAddress, pFee);
    }

    function _getValues(uint256 tAmount) private pure returns (uint256, uint256, uint256, uint256, uint256) {
        (uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount, uint256 tTransferAmount) = _getTDBValues(tAmount);
        return (tTransferAmount, tFee, dFee, pFee, burningAmount);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) private view returns (uint256, uint256, uint256, uint256, uint256) {
        uint256 currentRate =  _getRate();
        (uint256 rAmount) = _getRAmountValues(tAmount, currentRate);
        (uint256 rFee) = _getRFeeValues(tFee, currentRate);
        (uint256 rdFee) = _getRDFeeValues(dFee, currentRate);
        (uint256 rpFee) = _getRPFeeValues(pFee, currentRate);
        (uint256 rBurningAmount) = _getRBurningAmountValue(burningAmount, currentRate);
        (uint256 rTransferAmount) = _getRTransfertAmountValue(rAmount, rFee, rdFee, rpFee, rBurningAmount);
        return (rAmount, rTransferAmount, rFee, rdFee, rpFee);
    }

    function _getTDBValues(uint256 tAmount) private pure returns (uint256, uint256, uint256, uint256, uint256) {
      (uint256 tFee, uint256 dFee, uint256 pFee) = _getTDValues(tAmount);
      (uint256 burningAmount) = _getBurningValues(tAmount);
      (uint256 tTransferAmount) = _getTransfertAmountValues(tAmount, tFee, dFee, pFee, burningAmount);
      return (tFee, dFee, pFee, burningAmount, tTransferAmount);
    }

    function _getTDValues(uint256 tAmount) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount.div(20); // splash distribution fee 5.0%
        uint256 dFee = tAmount.div(100); // send 1.0% to dev wallet
        uint256 pFee = tAmount.div(200); // send 0.5% to partner wallet
        return (tFee, dFee, pFee);
    }

    function _getBurningValues(uint256 tAmount) private pure returns (uint256) {
        uint256 burningAmount = (tAmount.div(10000)).mul(16); // burn 0.16%
        return (burningAmount);
    }

    function _getRAmountValues(uint256 tAmount, uint256 currentRate) private pure returns (uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        return (rAmount);
    }

    function _getRFeeValues(uint256 tFee, uint256 currentRate) private pure returns (uint256) {
      uint256 rFee = tFee.mul(currentRate);
      return (rFee);
    }

    function _getRDFeeValues(uint256 dFee, uint256 currentRate) private pure returns (uint256) {
      uint256 rdFee = dFee.mul(currentRate);
      return (rdFee);
    }

    function _getRPFeeValues(uint256 pFee, uint256 currentRate) private pure returns (uint256) {
      uint256 rpFee = pFee.mul(currentRate);
      return (rpFee);
    }

    function _getRBurningAmountValue(uint256 burningAmount, uint256 currentRate) private pure returns (uint256) {
      uint256 rBurningAmount = burningAmount.mul(currentRate);
      return (rBurningAmount);
    }

    function _getTransfertAmountValues(uint256 tAmount, uint256 tFee, uint256 dFee, uint256 pFee, uint256 burningAmount) private pure returns (uint256) {
        uint256 tTransferAmount = ((((tAmount.sub(tFee)).sub(dFee)).sub(pFee)).sub(burningAmount));
        return (tTransferAmount);
    }

    function _getRTransfertAmountValue(uint256 rAmount, uint256 rFee, uint256 rdFee, uint256 rpFee, uint256 rBurningAmount) private pure returns (uint256) {
        uint256 rTransferAmount = ((((rAmount.sub(rFee)).sub(rdFee)).sub(rpFee)).sub(rBurningAmount));
        return (rTransferAmount);
    }

    function _burn(address account, uint256 burningAmount) internal virtual {
      require(account != address(0), "ERC20: burn from the zero address");
      uint256 currentRate =  _getRate();
      uint256 rBurningAmount = burningAmount.mul(currentRate);
      _tTotal = _tTotal.sub(burningAmount);
      _rTotal = _rTotal.sub(rBurningAmount);
      emit Transfer(account, address(0), burningAmount);
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
}

pragma solidity ^0.6.12;

contract SOAK is BEP20('Soak Token', 'SOAK') {

    IPancakeV2Router02 public immutable _pancakeV2Router;

    address public _pancakeWaterBNBPool;

    address public _spongeAddress = 0x3aabCf53A1930A42E18D938C019E83Ebee50a849;
    address public _devAddress;
    address payable public _devAddressPayable;

    SPONGE public sponge;

    uint8 public feeDecimals;
    uint32 public feePercentage;
    uint256 public minTokensBeforeSwap;
    uint256 public minTokenForSoak = 10e9;

    bool public inSwapAndLiquify;
    bool public tradingEnable = false;
    bool public swapAndLiquifyEnabled = false;

    event FeeUpdated(uint8 feeDecimals, uint32 feePercentage);
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event UpdateTradingEnable();
    event devAddressUpdated(address _devAddress);
    event MinTokenForSoakUpdated(uint256 minTokenForSoak);
    event Soak(
        uint256 contractTokenBalance,
        uint256 swapBalanceBNB,
        uint256 amountBNBToSPG,
        uint256 amountBNBToLiq,
        uint256 amountBNBReward,
        uint256 balanceSPG,
        uint256 amoutSPGToLiquidity,
        uint256 amoutSPGFee
    );

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor (
      IPancakeV2Router02 pancakeV2Router,
      SPONGE _sponge,
      address _devAdd,
      address payable _devAddPayable,
      uint8 _feeDecimals,
      uint32 _feePercentage,
      uint256 _minTokensBeforeSwap,
      bool _swapAndLiquifyEnabled
    ) public {
        // mint tokens which will initially belong to deployer
        // deployer should go seed the pair with some initial liquidity
        _mint(msg.sender, 300000*10**18);

        _pancakeWaterBNBPool = IPancakeV2Factory(pancakeV2Router.factory())
            .createPair(address(this), pancakeV2Router.WETH());

        _pancakeV2Router = pancakeV2Router;
        sponge = _sponge;

        updateDevAddress(_devAdd, _devAddPayable);
        updateFee(_feeDecimals, _feePercentage);
        updateMinTokensBeforeSwap(_minTokensBeforeSwap);
        updateSwapAndLiquifyEnabled(_swapAndLiquifyEnabled);
    }

    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /*
        override the internal _transfer function so that we can do the swap + liquditiy
    */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(amount > 0, "Transfer amount must be greater than zero");
        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is uniswap pair.
        if(from != owner() && to != owner()) {
            if((from == _pancakeWaterBNBPool || to == _pancakeWaterBNBPool) && !tradingEnable)
                require(false, "ERC20: trading disabled yet");
        }

        // calculate the number of tokens to take as a fee
        uint256 tokensToLock = calculateTokenFee(
            amount,
            feeDecimals,
            feePercentage
        );

        // take the fee and send those tokens to this contract address
        // and then send the remainder of tokens to original recipient
        uint256 tokensToTransfer = amount.sub(tokensToLock);

        super._transfer(from, address(this), tokensToLock);
        super._transfer(from, to, tokensToTransfer);
    }

    function soak() public {
      require(sponge.balanceOf(msg.sender) >= minTokenForSoak, "SOAK: You have not enough SPG");
      uint256 contractTokenBalance = balanceOf(address(this));
      bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap;
      require(overMinTokenBalance == true, "SOAK: Not enought tokens in the balance contract");
      if (
          overMinTokenBalance &&
          !inSwapAndLiquify &&
          msg.sender != _pancakeWaterBNBPool &&
          swapAndLiquifyEnabled
      ) {
          swapAndLiquify(contractTokenBalance);
      }
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // capture the contract's current BNB balance.
        // this is so that we can capture exactly the amount of BNB that the
        // swap creates, and not make the liquidity event include any BNB that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for BNB (for next buy SPONGE)
        swapTokensForBNB(contractTokenBalance);

        // how much BNB did we just swap into?
        uint256 swapBalanceBNB = address(this).balance.sub(initialBalance);

        uint256 amountBNBToSPG = swapBalanceBNB.div(100).mul(66); // 66%
        uint256 amountBNBToLiq = swapBalanceBNB.div(100).mul(33); // 33%
        uint256 amountBNBReward = swapBalanceBNB.div(1000);

        // swap BNB for SPONGE
        swapBNBForTokens(amountBNBToSPG);

        // how much SPG did we just swap into?
        uint256 balanceSPG = sponge.balanceOf(address(this));
        // 50% of SPONGE swaped is used to liquidity
        uint256 amoutSPGToLiquidity = balanceSPG.div(2);
        // 50% of SPONGE swaped is transfert to dev wallet
        uint256 amoutSPGFee = balanceSPG.sub(amoutSPGToLiquidity);

        // add liquidity for SPG-BNB LP
        addLiquiditySPG(amoutSPGToLiquidity, amountBNBToLiq);

        // transfert fee to dev address
        sponge.transfer(_devAddress, amoutSPGFee);

        // swap BNB for tokens reward
        swapBNBForReward(amountBNBReward);

        sendFeeTo();

        emit Soak(contractTokenBalance, swapBalanceBNB, amountBNBToSPG, amountBNBToLiq, amountBNBReward, balanceSPG, amoutSPGToLiquidity, amoutSPGFee);
    }

    function swapTokensForBNB(uint256 tokenAmount) private {
        // generate the pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _pancakeV2Router.WETH();

        _approve(address(this), address(_pancakeV2Router), tokenAmount);

        // make the swap
        _pancakeV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBNBForTokens(uint256 EthAmount) private {
        // generate the pancake pair path of weth -> token
        address[] memory pancakePairPath = new address[](2);
        pancakePairPath[0] = _pancakeV2Router.WETH();
        pancakePairPath[1] = _spongeAddress;

        _pancakeV2Router
            .swapExactETHForTokensSupportingFeeOnTransferTokens{value: EthAmount}(
                0,
                pancakePairPath,
                address(this),
                block.timestamp
            );
    }

    function swapBNBForReward(uint256 EthAmount) private {
        // generate the pancake pair path of weth -> token
        address[] memory pancakePairPath = new address[](2);
        pancakePairPath[0] = _pancakeV2Router.WETH();
        pancakePairPath[1] = address(this);

        _pancakeV2Router
            .swapExactETHForTokensSupportingFeeOnTransferTokens{value: EthAmount}(
                0,
                pancakePairPath,
                msg.sender,
                block.timestamp
            );
    }


    function addLiquiditySPG(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        sponge.approve(address(_pancakeV2Router), tokenAmount);

        // add the liquidity
        _pancakeV2Router.addLiquidityETH{value: ethAmount}(
            _spongeAddress,
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            _devAddress,
            block.timestamp
        );
    }

    /*
        calculates a percentage of tokens to hold as the fee
    */
    function calculateTokenFee(
        uint256 _amount,
        uint8 _feeDecimals,
        uint32 _feePercentage
    ) public pure returns (uint256 locked) {
        locked = _amount.mul(_feePercentage).div(
            10**(uint256(_feeDecimals) + 2)
        );
    }

    receive() external payable {}

    function updateFee(uint8 _feeDecimals, uint32 _feePercentage) public onlyOwner {
        feeDecimals = _feeDecimals;
        feePercentage = _feePercentage;
        emit FeeUpdated(_feeDecimals, _feePercentage);
    }

    function updateMinTokensBeforeSwap(uint256 _minTokensBeforeSwap) public onlyOwner {
        minTokensBeforeSwap = _minTokensBeforeSwap.mul(10**18);
        emit MinTokensBeforeSwapUpdated(_minTokensBeforeSwap);
    }

    function updateTradingEnable() public onlyOwner {
        tradingEnable = true;
        emit UpdateTradingEnable();
    }

    function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setMinTokenForSoak(uint256 _minTokenForSoak) public onlyOwner {
        minTokenForSoak = _minTokenForSoak.mul(10**9);
        emit MinTokenForSoakUpdated(_minTokenForSoak);
    }

    function getTradingEnable() public view returns (bool) {
        return tradingEnable;
    }

    function getBalanceOfThis() public view returns (uint256) {
        uint256 contractTokenBalance = balanceOf(address(this));
        return contractTokenBalance;
    }

    function getOverMinTokenBalance() public view returns (bool) {
        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap;
        return overMinTokenBalance;
    }

    function updateDevAddress(address _devAdd, address payable _devAddPayable) public onlyOwner {
        _devAddress = _devAdd;
        _devAddressPayable = _devAddPayable;
        emit devAddressUpdated(_devAdd);
    }

    function sendFeeTo() payable public {
        uint256 balance = address(this).balance;
        _devAddressPayable.transfer(balance);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @dev A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @dev A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @dev The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @dev The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @dev The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @dev A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @dev An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @dev An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @dev Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @dev Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @dev Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "SOAK::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "SOAK::delegateBySig: invalid nonce");
        require(now <= expiry, "SOAK::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @dev Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @dev Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "SOAK::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying SOAKs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "SOAK::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    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;
    }
}

contract STEAM is BEP20('Steam token', 'STEAM') {

    IPancakeV2Router02 public immutable _pancakeV2Router;

    address public _pancakeWaterBNBPool;

    address public _soakAddress = 0x849233FF1aea15D80EF658B2871664C9Ca994063;
    address public _devAddress;
    address payable public _devAddressPayable;

    SOAK public soak;

    uint8 public feeDecimals;
    uint32 public feePercentage;
    uint32 public feePercentageBurn;
    uint256 public minTokensBeforeSwap;
    uint256 public minTokenForEvaporate = 10e18;

    bool public inSwapAndLiquify;
    bool public tradingEnable = false;

    event FeeUpdated(uint8 feeDecimals, uint32 feePercentage);
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event UpdateTradingEnable();
    event devAddressUpdated(address _devAddress);
    event minTokenForEvaporateUpdated(uint256 minTokenForEvaporate);
    event Evaporate(
        uint256 contractTokenBalance,
        uint256 swapBalanceBNB,
        uint256 amountBNBToSoak,
        uint256 amountSteamToLiq,
        uint256 amountBNBToLiq,
        uint256 amountBNBReward
    );

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor (
      IPancakeV2Router02 pancakeV2Router,
      SOAK _soak,
      address _devAdd,
      address payable _devAddPayable,
      uint8 _feeDecimals,
      uint32 _feePercentage,
      uint32 _feePercentageBurn,
      uint256 _minTokensBeforeSwap
    ) public {
        // mint tokens which will initially belong to deployer
        // deployer should go seed the pair with some initial liquidity
        _mint(msg.sender, 20000*10**18);

        _pancakeWaterBNBPool = IPancakeV2Factory(pancakeV2Router.factory())
            .createPair(address(this), pancakeV2Router.WETH());

        _pancakeV2Router = pancakeV2Router;
        soak = _soak;

        updateDevAddress(_devAdd, _devAddPayable);
        updateFee(_feeDecimals, _feePercentage);
        updateBurnFee(_feeDecimals, _feePercentageBurn);
        updateMinTokensBeforeSwap(_minTokensBeforeSwap);
    }

    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /*
        override the internal _transfer function so that we can do the swap + liquditiy
    */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(amount > 0, "Transfer amount must be greater than zero");
        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is uniswap pair.
        if(from != owner() && to != owner()) {
            if((from == _pancakeWaterBNBPool || to == _pancakeWaterBNBPool) && !tradingEnable)
                require(false, "BEP20: trading disabled yet");
        }

        // calculate the number of tokens to take as a fee
        uint256 tokensToLock = calculateTokenFee(
            amount,
            feeDecimals,
            feePercentage
        );

        // calculate the number of tokens to take as a fee
        uint256 tokenToBurn = calculateTokenFee(
            amount,
            feeDecimals,
            feePercentageBurn
        );

        // take the fee and send those tokens to this contract address
        // and then send the remainder of tokens to original recipient
        uint256 tokensToTransfer = (amount.sub(tokensToLock)).sub(tokenToBurn);

        super._transfer(from, address(this), tokensToLock);
        super._transfer(from, to, tokensToTransfer);
        super._burn(from, tokenToBurn);
    }

    function evaporate() public {
      require(soak.balanceOf(msg.sender) >= minTokenForEvaporate, "STEAM: You have not enough SPG");
      uint256 contractTokenBalance = balanceOf(address(this));
      bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap;
      require(overMinTokenBalance == true, "STEAM: Not enought tokens in the balance contract");
      if (
          overMinTokenBalance &&
          !inSwapAndLiquify &&
          msg.sender != _pancakeWaterBNBPool 
        ) {
          swapAndLiquify(contractTokenBalance);
        }
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // capture the contract's current BNB balance.
        // this is so that we can capture exactly the amount of BNB that the
        // swap creates, and not make the liquidity event include any BNB that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        uint256 amountSteamToLiq = contractTokenBalance.div(25); // 4% total

        uint256 amountToBNB = contractTokenBalance.sub(amountSteamToLiq);

        // swap tokens for BNB
        swapTokensForBNB(amountToBNB);

        // how much BNB did we just swap into?
        uint256 swapBalanceBNB = address(this).balance.sub(initialBalance);

        uint256 amountBNBToLiq = swapBalanceBNB.div(24); // 4% of total
        uint256 amountBNBToSoak = swapBalanceBNB.div(100).mul(33); // 33%
        uint256 amountBNBReward = swapBalanceBNB.div(1000);

        addLiquidity(amountSteamToLiq, amountBNBToLiq);

        // swap BNB for SOAK
        swapBNBForTokens(amountBNBToSoak);

        // how much SOAK did we just swap into?
        uint256 balanceSoak = soak.balanceOf(address(this));
        soak.transfer(_devAddress, balanceSoak);

        // swap BNB for tokens reward
        swapBNBForReward(amountBNBReward);

        sendFeeTo();

        emit Evaporate(contractTokenBalance, swapBalanceBNB, amountBNBToSoak, amountSteamToLiq, amountBNBToLiq, amountBNBReward);
    }


    function swapTokensForBNB(uint256 tokenAmount) private {
        // generate the pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _pancakeV2Router.WETH();

        _approve(address(this), address(_pancakeV2Router), tokenAmount);

        // make the swap
        _pancakeV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBNBForTokens(uint256 EthAmount) private {
        // generate the pancake pair path of weth -> token
        address[] memory pancakePairPath = new address[](2);
        pancakePairPath[0] = _pancakeV2Router.WETH();
        pancakePairPath[1] = _soakAddress;

        _pancakeV2Router
            .swapExactETHForTokensSupportingFeeOnTransferTokens{value: EthAmount}(
                0,
                pancakePairPath,
                address(this),
                block.timestamp
            );
    }

    function swapBNBForReward(uint256 EthAmount) private {
        // generate the pancake pair path of weth -> token
        address[] memory pancakePairPath = new address[](2);
        pancakePairPath[0] = _pancakeV2Router.WETH();
        pancakePairPath[1] = address(this);

        _pancakeV2Router
            .swapExactETHForTokensSupportingFeeOnTransferTokens{value: EthAmount}(
                0,
                pancakePairPath,
                msg.sender,
                block.timestamp
            );
    }


    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(_pancakeV2Router), tokenAmount);

        // add the liquidity
        _pancakeV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            _devAddress,
            block.timestamp
        );
    }

    /*
        calculates a percentage of tokens to hold as the fee
    */
    function calculateTokenFee(
        uint256 _amount,
        uint8 _feeDecimals,
        uint32 _feePercentage
    ) public pure returns (uint256 locked) {
        locked = _amount.mul(_feePercentage).div(
            10**(uint256(_feeDecimals) + 2)
        );
    }

    receive() external payable {}

    function updateFee(uint8 _feeDecimals, uint32 _feePercentage) public onlyOwner {
        feeDecimals = _feeDecimals;
        feePercentage = _feePercentage;
        emit FeeUpdated(_feeDecimals, _feePercentage);
    }

    function updateBurnFee(uint8 _feeDecimals, uint32 _feePercentageBurn) public onlyOwner {
        feeDecimals = _feeDecimals;
        feePercentageBurn = _feePercentageBurn;
        emit FeeUpdated(_feeDecimals, _feePercentageBurn);
    }

    function updateMinTokensBeforeSwap(uint256 _minTokensBeforeSwap) public onlyOwner {
        minTokensBeforeSwap = _minTokensBeforeSwap.mul(10**18);
        emit MinTokensBeforeSwapUpdated(_minTokensBeforeSwap);
    }

    function updateTradingEnable() public onlyOwner {
        tradingEnable = true;
        emit UpdateTradingEnable();
    }

    function setMinTokenForEvaporate(uint256 _minTokenForEvaporate) public onlyOwner {
        minTokenForEvaporate = _minTokenForEvaporate.mul(10**18);
        emit minTokenForEvaporateUpdated(_minTokenForEvaporate);
    }

    function getTradingEnable() public view returns (bool) {
        return tradingEnable;
    }

    function getBalanceOfThis() public view returns (uint256) {
        uint256 contractTokenBalance = balanceOf(address(this));
        return contractTokenBalance;
    }

    function getOverMinTokenBalance() public view returns (bool) {
        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap;
        return overMinTokenBalance;
    }

    function updateDevAddress(address _devAdd, address payable _devAddPayable) public onlyOwner {
        _devAddress = _devAdd;
        _devAddressPayable = _devAddPayable;
        emit devAddressUpdated(_devAdd);
    }

    function sendFeeTo() payable public {
        uint256 balance = address(this).balance;
        _devAddressPayable.transfer(balance);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @dev A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @dev A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @dev The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @dev The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @dev The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @dev A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @dev An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @dev An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @dev Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @dev Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @dev Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "SOAK::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "SOAK::delegateBySig: invalid nonce");
        require(now <= expiry, "SOAK::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @dev Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @dev Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "SOAK::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying SOAKs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "SOAK::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    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;
    }
}

pragma solidity 0.6.12;

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

    IBEP20 public soak;
    STEAM public steam;

    address public devaddr = 0x059FA586ff73dCd2BB43ccEfA1193ac47C46e415;
    address burningAdress = 0x000000000000000000000000000000000000dEaD;
    
    bool public steamerEnable = true;

    event UpdateSteamerEnable(bool _steamerEnable);
    event BurnSoakMintSteam(address user, uint256 amount, uint256 steamAmount);
    event UpdateSteamOwnership(address _newAdmin);
    event UpdateSteamFee(uint8 _feeDecimals, uint32 _feePercentage);
    event UpdateSteamBurnFee(uint8 _feeDecimals, uint32 _feePercentageBurn);
    
    constructor(
        IBEP20 _soak,
        STEAM _steam,
        address _devaddr
    ) public {
        soak = _soak;
        steam = _steam;
        devaddr = _devaddr;
    }

    // Burn SOAK to get STEAM
    function burnSoakForSteam(uint256 _amount) public {
        require(steamerEnable, "STEAM: Steamer isn't enabled");
        require(_amount > 0, "STEAM: Amount must be over 0");
        require(soak.balanceOf(msg.sender) >= _amount, "STEAM: You have not enough SOAK");
        
        soak.safeTransferFrom(address(msg.sender), burningAdress, _amount);
    
        uint256 steamAmount = computeSteamAmount(_amount);
        uint256 devMint = steamAmount.div(200);
        
        steam.mint(address(msg.sender), steamAmount);
        steam.mint(devaddr, devMint);
        
        emit BurnSoakMintSteam(msg.sender, _amount, steamAmount);
    }
    
    function computeSteamAmount(uint256 _amountSoak) public view returns(uint256) {
        uint256 supply = steam.totalSupply();
        uint256 amountToSteam = (_amountSoak.div(supply.div(1e18))).mul(2e4);
        return amountToSteam;
    }
    
    function getTradingEnable() public view returns(bool) {
        return steamerEnable;
    }
    
    function updateTradingEnable(bool _steamerEnable) public onlyOwner {
        steamerEnable = _steamerEnable;
        emit UpdateSteamerEnable(_steamerEnable);
    }
    
    function updateSteamFee(uint8 _feeDecimals, uint32 _feePercentage) public onlyOwner {
        steam.updateFee(_feeDecimals, _feePercentage);
        emit UpdateSteamFee(_feeDecimals, _feePercentage);
    }
    
    function updateSteamBurnFee(uint8 _feeDecimals, uint32 _feePercentageBurn) public onlyOwner {
        steam.updateBurnFee(_feeDecimals, _feePercentageBurn);
        emit UpdateSteamBurnFee(_feeDecimals, _feePercentageBurn);
    }
    
}

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_soak","type":"address"},{"internalType":"contract STEAM","name":"_steam","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"steamAmount","type":"uint256"}],"name":"BurnSoakMintSteam","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_feeDecimals","type":"uint8"},{"indexed":false,"internalType":"uint32","name":"_feePercentageBurn","type":"uint32"}],"name":"UpdateSteamBurnFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_feeDecimals","type":"uint8"},{"indexed":false,"internalType":"uint32","name":"_feePercentage","type":"uint32"}],"name":"UpdateSteamFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newAdmin","type":"address"}],"name":"UpdateSteamOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_steamerEnable","type":"bool"}],"name":"UpdateSteamerEnable","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnSoakForSteam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountSoak","type":"uint256"}],"name":"computeSteamAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTradingEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"soak","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"steam","outputs":[{"internalType":"contract STEAM","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"steamerEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_feeDecimals","type":"uint8"},{"internalType":"uint32","name":"_feePercentageBurn","type":"uint32"}],"name":"updateSteamBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_feeDecimals","type":"uint8"},{"internalType":"uint32","name":"_feePercentage","type":"uint32"}],"name":"updateSteamFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_steamerEnable","type":"bool"}],"name":"updateTradingEnable","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600380546001600160a01b031990811673059fa586ff73dcd2bb43ccefa1193ac47c46e415179091556004805460ff60a01b19921661dead1791909116600160a01b17905534801561005557600080fd5b506040516111e93803806111e98339818101604052606081101561007857600080fd5b5080516020820151604090920151909190600061009361011f565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039485166001600160a01b031991821617909155600280549385169382169390931790925560038054919093169116179055610123565b3390565b6110b7806101326000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c8063715018a61161008c578063b94b6c7911610066578063b94b6c79146101d5578063d49e77cd14610201578063db18bf7014610209578063f2fde38b14610211576100df565b8063715018a6146101a857806375e27a3c146101b05780638da5cb5b146101cd576100df565b8063365d2387116100bd578063365d2387146101455780635b26d9901461014d57806366c8f9191461017c576100df565b80630438f8fe146100e45780631157a4141461010857806324d993aa14610124575b600080fd5b6100ec610237565b604080516001600160a01b039092168252519081900360200190f35b610110610246565b604080519115158252519081900360200190f35b6101436004803603602081101561013a57600080fd5b50351515610256565b005b6100ec61032e565b61016a6004803603602081101561016357600080fd5b503561033d565b60408051918252519081900360200190f35b6101436004803603604081101561019257600080fd5b50803560ff16906020013563ffffffff166103ee565b61014361052b565b610143600480360360208110156101c657600080fd5b50356105f7565b6100ec61091b565b610143600480360360408110156101eb57600080fd5b50803560ff16906020013563ffffffff1661092a565b6100ec610a67565b610110610a76565b6101436004803603602081101561022757600080fd5b50356001600160a01b0316610a86565b6001546001600160a01b031681565b600454600160a01b900460ff1690565b61025e610afc565b6000546001600160a01b039081169116146102c0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60048054821515600160a01b81027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790915560408051918252517f026dfe60a509a958425f0d381388312039f38cfb6df7d3f8fb0d488cf8ba708f9181900360200190a150565b6002546001600160a01b031681565b600080600260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561038e57600080fd5b505afa1580156103a2573d6000803e3d6000fd5b505050506040513d60208110156103b857600080fd5b5051905060006103e6614e206103e06103d985670de0b6b3a7640000610b00565b8790610b00565b90610b4b565b949350505050565b6103f6610afc565b6000546001600160a01b03908116911614610458576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600254604080517f73b4b91f00000000000000000000000000000000000000000000000000000000815260ff8516600482015263ffffffff8416602482015290516001600160a01b03909216916373b4b91f9160448082019260009290919082900301818387803b1580156104cc57600080fd5b505af11580156104e0573d6000803e3d6000fd5b50506040805160ff8616815263ffffffff8516602082015281517f8811efbd5dff48889fb0557e9a25b83cf3927ec8bf58e077694faa2882b70c1f9450908190039091019150a15050565b610533610afc565b6000546001600160a01b03908116911614610595576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600454600160a01b900460ff16610655576040805162461bcd60e51b815260206004820152601c60248201527f535445414d3a20537465616d65722069736e277420656e61626c656400000000604482015290519081900360640190fd5b600081116106aa576040805162461bcd60e51b815260206004820152601c60248201527f535445414d3a20416d6f756e74206d757374206265206f766572203000000000604482015290519081900360640190fd5b600154604080517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561070d57600080fd5b505afa158015610721573d6000803e3d6000fd5b505050506040513d602081101561073757600080fd5b5051101561078c576040805162461bcd60e51b815260206004820152601f60248201527f535445414d3a20596f752068617665206e6f7420656e6f75676820534f414b00604482015290519081900360640190fd5b6004546001546107ab916001600160a01b039182169133911684610ba4565b60006107b68261033d565b905060006107c58260c8610b00565b600254604080517f40c10f190000000000000000000000000000000000000000000000000000000081523360048201526024810186905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b15801561083457600080fd5b505af1158015610848573d6000803e3d6000fd5b5050600254600354604080517f40c10f190000000000000000000000000000000000000000000000000000000081526001600160a01b0392831660048201526024810187905290519190921693506340c10f199250604480830192600092919082900301818387803b1580156108bd57600080fd5b505af11580156108d1573d6000803e3d6000fd5b5050604080513381526020810187905280820186905290517f26e920e6e979df483ffebf3a0e2eebf59325f84dda47411e77031615dd83301a9350908190036060019150a1505050565b6000546001600160a01b031690565b610932610afc565b6000546001600160a01b03908116911614610994576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600254604080517feaa93e7800000000000000000000000000000000000000000000000000000000815260ff8516600482015263ffffffff8416602482015290516001600160a01b039092169163eaa93e789160448082019260009290919082900301818387803b158015610a0857600080fd5b505af1158015610a1c573d6000803e3d6000fd5b50506040805160ff8616815263ffffffff8516602082015281517f22d09569094bd6a5c89ec913d1f48af77dc0b43fe671f847c7d34020932b6a8a9450908190039091019150a15050565b6003546001600160a01b031681565b600454600160a01b900460ff1681565b610a8e610afc565b6000546001600160a01b03908116911614610af0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610af981610c32565b50565b3390565b6000610b4283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610cea565b90505b92915050565b600082610b5a57506000610b45565b82820282848281610b6757fe5b0414610b425760405162461bcd60e51b81526004018080602001828103825260218152602001806110616021913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610c2c908590610d8c565b50505050565b6001600160a01b038116610c775760405162461bcd60e51b815260040180806020018281038252602681526020018061103b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60008183610d765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d3b578181015183820152602001610d23565b50505050905090810190601f168015610d685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d8257fe5b0495945050505050565b6060610de1826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e429092919063ffffffff16565b805190915015610e3d57808060200190516020811015610e0057600080fd5b5051610e3d5760405162461bcd60e51b815260040180806020018281038252602a815260200180611011602a913960400191505060405180910390fd5b505050565b60606103e684846000856060610e5785610fd7565b610ea8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610f0557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610ec8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610f67576040519150601f19603f3d011682016040523d82523d6000602084013e610f6c565b606091505b50915091508115610f805791506103e69050565b805115610f905780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610d3b578181015183820152602001610d23565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906103e657505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122035bb85bf99d30c7635a470436ae61d49d9af53d663c7bc4e5de1a1427de9cbe564736f6c634300060c0033000000000000000000000000849233ff1aea15d80ef658b2871664c9ca994063000000000000000000000000072e3d0d4f14dd82a16b0a33678c6104e9009ed9000000000000000000000000059fa586ff73dcd2bb43ccefa1193ac47c46e415

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

000000000000000000000000849233ff1aea15d80ef658b2871664c9ca994063000000000000000000000000072e3d0d4f14dd82a16b0a33678c6104e9009ed9000000000000000000000000059fa586ff73dcd2bb43ccefa1193ac47c46e415

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000849233ff1aea15d80ef658b2871664c9ca994063
Arg [1] : 000000000000000000000000072e3d0d4f14dd82a16b0a33678c6104e9009ed9
Arg [2] : 000000000000000000000000059fa586ff73dcd2bb43ccefa1193ac47c46e415


Deployed ByteCode Sourcemap

90776:2585:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90879:18;;;:::i;:::-;;;;-1:-1:-1;;;;;90879:18:0;;;;;;;;;;;;;;92616:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;92721:167;;;;;;;;;;;;;;;;-1:-1:-1;92721:167:0;;;;:::i;:::-;;90904:18;;;:::i;92361:243::-;;;;;;;;;;;;;;;;-1:-1:-1;92361:243:0;;:::i;:::-;;;;;;;;;;;;;;;;93120:232;;;;;;;;;;;;;;;;-1:-1:-1;93120:232:0;;;;;;;;;;;:::i;22618:140::-;;;:::i;91688:661::-;;;;;;;;;;;;;;;;-1:-1:-1;91688:661:0;;:::i;21976:79::-;;;:::i;92900:208::-;;;;;;;;;;;;;;;;-1:-1:-1;92900:208:0;;;;;;;;;;;:::i;90931:67::-;;;:::i;91084:32::-;;;:::i;22913:109::-;;;;;;;;;;;;;;;;-1:-1:-1;22913:109:0;-1:-1:-1;;;;;22913:109:0;;:::i;90879:18::-;;;-1:-1:-1;;;;;90879:18:0;;:::o;92616:93::-;92688:13;;-1:-1:-1;;;92688:13:0;;;;;92616:93::o;92721:167::-;22198:12;:10;:12::i;:::-;22188:6;;-1:-1:-1;;;;;22188:6:0;;;:22;;;22180:67;;;;;-1:-1:-1;;;22180:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92799:13:::1;:30:::0;;;::::1;;-1:-1:-1::0;;;92799:30:0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;92845:35:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;92721:167:::0;:::o;90904:18::-;;;-1:-1:-1;;;;;90904:18:0;;:::o;92361:243::-;92430:7;92450:14;92467:5;;;;;;;;;-1:-1:-1;;;;;92467:5:0;-1:-1:-1;;;;;92467:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92467:19:0;;-1:-1:-1;92497:21:0;92521:44;92561:3;92522:33;92538:16;92467:19;92549:4;92538:10;:16::i;:::-;92522:11;;:15;:33::i;:::-;92521:39;;:44::i;:::-;92497:68;92361:243;-1:-1:-1;;;;92361:243:0:o;93120:232::-;22198:12;:10;:12::i;:::-;22188:6;;-1:-1:-1;;;;;22188:6:0;;;:22;;;22180:67;;;;;-1:-1:-1;;;22180:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93223:5:::1;::::0;:53:::1;::::0;;;;;::::1;::::0;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;;;;;93223:5:0;;::::1;::::0;:19:::1;::::0;:53;;;;;:5:::1;::::0;:53;;;;;;;;:5;;:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;93292:52:0::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;-1:-1:-1;93292:52:0;;;;;;;;-1:-1:-1;93292:52:0::1;93120:232:::0;;:::o;22618:140::-;22198:12;:10;:12::i;:::-;22188:6;;-1:-1:-1;;;;;22188:6:0;;;:22;;;22180:67;;;;;-1:-1:-1;;;22180:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22717:1:::1;22701:6:::0;;22680:40:::1;::::0;-1:-1:-1;;;;;22701:6:0;;::::1;::::0;22680:40:::1;::::0;22717:1;;22680:40:::1;22748:1;22731:19:::0;;;::::1;::::0;;22618:140::o;91688:661::-;91757:13;;-1:-1:-1;;;91757:13:0;;;;91749:54;;;;;-1:-1:-1;;;91749:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;91832:1;91822:7;:11;91814:52;;;;;-1:-1:-1;;;91814:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;91885:4;;:26;;;;;;91900:10;91885:26;;;;;;91915:7;;-1:-1:-1;;;;;91885:4:0;;:14;;:26;;;;;;;;;;;;;;:4;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91885:26:0;:37;;91877:81;;;;;-1:-1:-1;;;91877:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;92022:13;;;91979:4;:66;;-1:-1:-1;;;;;91979:4:0;;;;92009:10;;92022:13;92037:7;91979:21;:66::i;:::-;92062:19;92084:27;92103:7;92084:18;:27::i;:::-;92062:49;-1:-1:-1;92122:15:0;92140:20;92062:49;92156:3;92140:15;:20::i;:::-;92181:5;;:44;;;;;;92200:10;92181:44;;;;;;;;;;;;92122:38;;-1:-1:-1;;;;;;92181:5:0;;;;:10;;:44;;;;;:5;;:44;;;;;;;;:5;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;92236:5:0;;92247:7;;92236:28;;;;;;-1:-1:-1;;;;;92247:7:0;;;92236:28;;;;;;;;;;;;:5;;;;;-1:-1:-1;92236:10:0;;-1:-1:-1;92236:28:0;;;;;:5;;:28;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;92290:51:0;;;92308:10;92290:51;;;;;;;;;;;;;;;;;;-1:-1:-1;92290:51:0;;;;;;;-1:-1:-1;92290:51:0;91688:661;;;:::o;21976:79::-;22014:7;22041:6;-1:-1:-1;;;;;22041:6:0;21976:79;:::o;92900:208::-;22198:12;:10;:12::i;:::-;22188:6;;-1:-1:-1;;;;;22188:6:0;;;:22;;;22180:67;;;;;-1:-1:-1;;;22180:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92995:5:::1;::::0;:45:::1;::::0;;;;;::::1;::::0;::::1;;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;;;;;92995:5:0;;::::1;::::0;:15:::1;::::0;:45;;;;;:5:::1;::::0;:45;;;;;;;;:5;;:45;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;93056:44:0::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;-1:-1:-1;93056:44:0;;;;;;;;-1:-1:-1;93056:44:0::1;92900:208:::0;;:::o;90931:67::-;;;-1:-1:-1;;;;;90931:67:0;;:::o;91084:32::-;;;-1:-1:-1;;;91084:32:0;;;;;:::o;22913:109::-;22198:12;:10;:12::i;:::-;22188:6;;-1:-1:-1;;;;;22188:6:0;;;:22;;;22180:67;;;;;-1:-1:-1;;;22180:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22986:28:::1;23005:8;22986:18;:28::i;:::-;22913:109:::0;:::o;20528:98::-;20608:10;20528:98;:::o;3271:132::-;3329:7;3356:39;3360:1;3363;3356:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3349:46;;3271:132;;;;;:::o;2324:471::-;2382:7;2627:6;2623:47;;-1:-1:-1;2657:1:0;2650:8;;2623:47;2694:5;;;2698:1;2694;:5;:1;2718:5;;;;;:10;2710:56;;;;-1:-1:-1;;;2710:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16610:248;16781:68;;;-1:-1:-1;;;;;16781:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16804:27;16781:68;;;16754:96;;16774:5;;16754:19;:96::i;:::-;16610:248;;;;:::o;23128:229::-;-1:-1:-1;;;;;23202:22:0;;23194:73;;;;-1:-1:-1;;;23194:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23304:6;;;23283:38;;-1:-1:-1;;;;;23283:38:0;;;;23304:6;;;23283:38;;;23332:6;:17;;;;-1:-1:-1;;;;;23332:17:0;;;;;;;;;;23128:229::o;3899:312::-;4019:7;4054:12;4047:5;4039:28;;;;-1:-1:-1;;;4039:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4078:9;4094:1;4090;:5;;;;;;;3899:312;-1:-1:-1;;;;;3899:312:0:o;18926:774::-;19350:23;19376:69;19404:4;19376:69;;;;;;;;;;;;;;;;;19384:5;-1:-1:-1;;;;;19376:27:0;;;:69;;;;;:::i;:::-;19460:17;;19350:95;;-1:-1:-1;19460:21:0;19456:237;;19615:10;19604:30;;;;;;;;;;;;;;;-1:-1:-1;19604:30:0;19596:85;;;;-1:-1:-1;;;19596:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18926:774;;;:::o;13208:230::-;13345:12;13377:53;13400:6;13408:4;13414:1;13417:12;14869;14902:18;14913:6;14902:10;:18::i;:::-;14894:60;;;;;-1:-1:-1;;;14894:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15028:12;15042:23;15069:6;-1:-1:-1;;;;;15069:11:0;15088:8;15098:4;15069:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15027:76;;;;15118:7;15114:595;;;15149:10;-1:-1:-1;15142:17:0;;-1:-1:-1;15142:17:0;15114:595;15263:17;;:21;15259:439;;15526:10;15520:17;15587:15;15574:10;15570:2;15566:19;15559:44;15474:148;15662:20;;-1:-1:-1;;;15662:20:0;;;;;;;;;;;;;;;;;15669:12;;15662:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10071:641;10131:4;10612:20;;10442:66;10661:23;;;;;;:42;;-1:-1:-1;;10688:15:0;;;10653:51;-1:-1:-1;;10071:641:0:o

Swarm Source

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