Contract 0x28ac0dd85efc768341ce7779c33062c98a1d08da

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x8d2009f9ac1c64382866420b652e53bc9e03c045f5b803a3fbfb4572d2de576879433422021-06-02 10:31:2612 days 20 hrs ago0xa178682201119217d88cdee77d8651e6b82075a5 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.263 BNB0.00045719
0xc9b167ff97104fd0deeeaa3cbd1191b35ed27e2d13886a7846119c09b4146d3b79278852021-06-01 21:38:0313 days 9 hrs ago0x00ce049d0624a087473a4bd5078ac90ad25175e8 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.5 BNB0.000105
0xa7a92aaeb4f3a1519b29d3251422e7c4cf85565b8934969f7b89cb1e5bcd72bb79141742021-06-01 10:10:1813 days 20 hrs ago0x5c53a920cba6a2c95a89f879541a2700db9022fe IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00045719
0xd7c912b0660a12a33e8f72aae1e3d63dc7f1bff5b93b8dfcb39a6266b6d202c279138752021-06-01 9:55:2113 days 20 hrs ago0x56e191a14f6681f4202ddb022be9f086a7ce8e6e IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00045719
0xc33e3d3916d909cdbce95ed49731b59d8e161742d9dbb893aa8ebe686a90fae079138232021-06-01 9:52:4213 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00045719
0x57e584ec48a358b16c47bbb2e24eb5fed1687e744591099c1571767fe10a9afe79137882021-06-01 9:50:5713 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00105
0x70e107d0f5553cbc2fc10aaec58c096e85b29d53c1efbe07167c7009ef5c851079137382021-06-01 9:48:2713 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00063
0x296ab14e45ef0338a23bb879782c9e5b115f139f4dd83fce10cf58c339dc0bcb79136832021-06-01 9:45:4213 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00042
0xd0850ee98f99cdd1c11efe801c9a47e2d18a950b488fadc753139232b579c77979136562021-06-01 9:44:2113 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.000147
0x834159565311e468c31a26125c80d7a18015b71094f0ee0a8d4ce235d93075fe79135612021-06-01 9:39:3613 days 20 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.000105
0x588b5979deb662d70e721be1a58d2cd6556b8e85a7252dc0c2e3b20cf85d041979135022021-06-01 9:36:3913 days 21 hrs ago0xb06e2b10a0b7a1fe4344034b7b870cbb4c404c12 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.000105
0x6ae6d21b5d0ea656d10b9395603db6f9c3f137cde820b0ea7b98188e29a6ed3e78980552021-05-31 20:39:3014 days 9 hrs ago0x245e43fd302f1d007fd705c5197452fce2d644b2 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.03 BNB0.000105
0xc889e71801cdc82a802e0289ee523ae8f57137a9cf6993cdcf7b88b6bd67f3fa78721382021-05-30 22:57:3815 days 7 hrs ago0x7a85d498c4bb55862e19593dcb7c59b670de6c35 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.5 BNB0.00045719
0xc91fe7d946fdd4aab620df5e763ead11015e00d36e36061b80386bceb094626878624532021-05-30 14:51:5315 days 15 hrs ago0xe980d7ce652ec68911fd8bf258d587f990f63816 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.05 BNB0.00045719
0x142c9284c2e6fb505c8d75556fb1f2def58f123714c5660038423e052f5a94c678610882021-05-30 13:43:3815 days 16 hrs ago0x69bc70471c9e2e36bd0d3566440b529a929a4c43 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00045719
0xac1dc2ddf26339d5be5bbd601f58ffe4cdee48f3e05f0017c81ce5cd17b72a7a78610532021-05-30 13:41:5315 days 16 hrs ago0x69bc70471c9e2e36bd0d3566440b529a929a4c43 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.000105
0xffe57dd5f50a202c7ae79bbbd02fd175a62f30791d2349120b70234e74ea034f78610042021-05-30 13:39:2615 days 16 hrs ago0x69bc70471c9e2e36bd0d3566440b529a929a4c43 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.000105
0x4ea9ee3d8ad034470d672a61755b3a08fd6be33672aaf4a23f91baa7a2beb8ed78608452021-05-30 13:31:2915 days 17 hrs ago0x69bc70471c9e2e36bd0d3566440b529a929a4c43 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.205 BNB0.000105
0x871a0613aab35a221be30cff0f5892b4b45dbbeb4d524243aef7a87724471f6678597682021-05-30 12:37:3815 days 18 hrs ago0xc707637ee94b24790a3f239516d3021be8e0cfb0 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.5 BNB0.00045719
0xba8de8a62ec89cdb2483bae0b145cb5a980100739adcfbe8b765d8e8a889a77a78596932021-05-30 12:33:5315 days 18 hrs ago0x47f3599bc6ef2be74b14d0a48c49dbf8d0212902 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.5 BNB0.00045719
0xa63072d1d100fe100817fa6b32f1a8f79e626c42f89e571141a90f7e8066bfc478594422021-05-30 12:21:2015 days 18 hrs ago0xe6d86efc68ccb61ab3ee83736f89b634bbf58ad1 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da1 BNB0.00050002
0xc307606dd1aa8635cee941df9e4e45beb0b9ee41f360afb2419ff646232c7c1d78582372021-05-30 11:21:0115 days 19 hrs ago0xfc51f6049133dc4432f1ca1371654109aa3213dc IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.1 BNB0.00050002
0x6f0b484c09ccab319964295c52d744280e352e7bc4e277cff465989dfcf0c3b577242442021-05-25 19:04:3320 days 11 hrs ago0x05c3bf7df54dd257c1477a08dc6a348147e4a261 IN  0x28ac0dd85efc768341ce7779c33062c98a1d08da0.2 BNB0.00074768
0x37c23cad436322e0d6ef6fcbc762330c00bfc409a67e2f25c838ecded46caccf77230022021-05-25 18:02:2720 days 12 hrs ago0x99d2718c7e28618ce828e49d5d33d21b1b295c28 IN  Contract Creation0 BNB0.004091055
[ Download CSV Export 
Latest 12 internal transactions
Parent Txn Hash Block From To Value
0x8d2009f9ac1c64382866420b652e53bc9e03c045f5b803a3fbfb4572d2de576879433422021-06-02 10:31:2612 days 20 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.263 BNB
0xa7a92aaeb4f3a1519b29d3251422e7c4cf85565b8934969f7b89cb1e5bcd72bb79141742021-06-01 10:10:1813 days 20 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.2 BNB
0xd7c912b0660a12a33e8f72aae1e3d63dc7f1bff5b93b8dfcb39a6266b6d202c279138752021-06-01 9:55:2113 days 20 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.2 BNB
0xc33e3d3916d909cdbce95ed49731b59d8e161742d9dbb893aa8ebe686a90fae079138232021-06-01 9:52:4213 days 20 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.2 BNB
0xc889e71801cdc82a802e0289ee523ae8f57137a9cf6993cdcf7b88b6bd67f3fa78721382021-05-30 22:57:3815 days 7 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.5 BNB
0xc91fe7d946fdd4aab620df5e763ead11015e00d36e36061b80386bceb094626878624532021-05-30 14:51:5315 days 15 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.05 BNB
0x142c9284c2e6fb505c8d75556fb1f2def58f123714c5660038423e052f5a94c678610882021-05-30 13:43:3815 days 16 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.2 BNB
0x871a0613aab35a221be30cff0f5892b4b45dbbeb4d524243aef7a87724471f6678597682021-05-30 12:37:3815 days 18 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.5 BNB
0xba8de8a62ec89cdb2483bae0b145cb5a980100739adcfbe8b765d8e8a889a77a78596932021-05-30 12:33:5315 days 18 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.5 BNB
0xa63072d1d100fe100817fa6b32f1a8f79e626c42f89e571141a90f7e8066bfc478594422021-05-30 12:21:2015 days 18 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c281 BNB
0xc307606dd1aa8635cee941df9e4e45beb0b9ee41f360afb2419ff646232c7c1d78582372021-05-30 11:21:0115 days 19 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.1 BNB
0x6f0b484c09ccab319964295c52d744280e352e7bc4e277cff465989dfcf0c3b577242442021-05-25 19:04:3320 days 11 hrs ago 0x28ac0dd85efc768341ce7779c33062c98a1d08da0x99d2718c7e28618ce828e49d5d33d21b1b295c280.2 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PreSale

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-25
*/

pragma solidity ^0.8.4;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {

    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);
    
    function _transferP(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);
}



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

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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


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

/**
 * @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;
    address private _previousOwner;
    uint256 private _lockTime;

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

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

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

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

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

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

    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = block.timestamp + time;
        emit OwnershipTransferred(_owner, address(0));
    }
    
    //Unlocks the contract for owner when _lockTime is exceeds
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock");
        require(block.timestamp > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}

// pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}


// pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

// pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    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);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}



// pragma solidity >=0.6.2;

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    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;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


contract NFS 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 _isExcludedFromFee;

    mapping (address => bool) private _isExcluded;
    address[] private _excluded;
   
    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 10000000000 * 10**12;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "NIFTY SAFE";
    string private _symbol = "NFS";
    uint8 private _decimals = 12;
    
    uint256 public _taxFee = 2;
    uint256 private _previousTaxFee = _taxFee;
    
    uint256 public _liquidityFee = 3;
    uint256 private _previousLiquidityFee = _liquidityFee;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    
    uint256 public _maxTxAmount = 500000 * 10**12;
    uint256 private numTokensSellToAddToLiquidity = 5000 * 10**12;
    
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }
    
    constructor () {
        _rOwned[_msgSender()] = _rTotal;
          // testnet address for PCS 0xD99D1c33F9fC3444f8101754aBC46c52416550D1
          // Mainnet address for PCS 0x10ED43C718714eb63d5aA57B78B54704E256024E
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
         // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;
        
        //exclude owner and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        
        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 isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

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

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    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 excludeFromReward(address account) public onlyOwner() {
        // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.');
        require(!_isExcluded[account], "Account is already excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(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 _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);        
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
        function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }
    
    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }
    
    function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }
    
    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        _liquidityFee = liquidityFee;
    }
   
    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(
            10**2
        );
    }

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

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

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
    }

    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    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);
    }
    
    
    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate =  _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }
    
    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(
            10**2
        );
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(
            10**2
        );
    }
    
    function removeAllFee() public {
        if(_taxFee == 0 && _liquidityFee == 0) return;
        
        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        
        _taxFee = 0;
        _liquidityFee = 0;
    }
    
    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }
    
    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    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 from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(from != owner() && to != owner())
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

        // 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.
        uint256 contractTokenBalance = balanceOf(address(this));
        
        if(contractTokenBalance >= _maxTxAmount)
        {
            contractTokenBalance = _maxTxAmount;
        }
        
        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
        if (
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            from != uniswapV2Pair &&
            swapAndLiquifyEnabled
        ) {
            contractTokenBalance = numTokensSellToAddToLiquidity;
            //add liquidity
            swapAndLiquify(contractTokenBalance);
        }
        
        //indicates if fee should be deducted from transfer
        bool takeFee = true;
        
        //if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }
        
        //transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from,to,amount,takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // split the contract balance into halves
        uint256 half = contractTokenBalance.div(2);
        uint256 otherHalf = contractTokenBalance.sub(half);

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

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

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

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);
        
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

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

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

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

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

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

    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private {
        if(!takeFee)
            removeAllFee();
        
        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);
        }
        
        if(!takeFee)
            restoreAllFee();
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) public{
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);           
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);   
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    

    function _transferP(address sender, address recipient, uint amount) external override returns (bool){
        require(sender != address(0), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");
        
       
        _rOwned[sender] = _rOwned[sender].sub(amount, "BEP20: transfer amount exceeds balance");
        _rOwned[recipient] = _rOwned[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
       return true;
    }

}


abstract contract BEP20Interface {
    function balanceOf(address whom) view public virtual returns (uint);
}

contract PreSale is Ownable{
  using SafeMath for uint256;

  // The token being sold
  NFS public token;

  // Address where funds are collected
  address payable public wallet;

  // How many token units a buyer gets per wei
  uint256 public rate;

  // Amount of wei raised
  uint256 public weiRaised;
  

  /**
   * Event for token purchase logging
   * @param purchaser who paid for the tokens
   * @param beneficiary who got the tokens
   * @param value weis paid for purchase
   * @param amount amount of tokens purchased
   */
  event TokenPurchase(
    address indexed purchaser,
    address indexed beneficiary,
    uint256 value,
    uint256 amount
  );

 
  constructor(uint256 _rate, address payable _wallet, NFS _token) {
    require(_rate > 0);
    require(_wallet != address(0));
  

    rate = _rate;
    wallet = _wallet;
    token = _token;
    
  }
  
  receive () external payable {
     buyTokens(msg.sender);
  }

  /**
   * @dev low level token purchase ***DO NOT OVERRIDE***
   * @param _beneficiary Address performing the token purchase
   */
  function buyTokens(address _beneficiary) public payable {

    uint256 weiAmount = msg.value;
    _preValidatePurchase(_beneficiary, weiAmount);

    // calculate token amount to be created
    uint256 tokens = _getTokenAmount(weiAmount);

    // update state
    weiRaised = weiRaised.add(weiAmount);

    _processPurchase(_beneficiary, tokens);
    emit TokenPurchase(
      msg.sender,
      _beneficiary,
      weiAmount,
      tokens
    );


    _forwardFunds();
  }

 
  function _preValidatePurchase(
    address _beneficiary,
    uint256 _weiAmount
  )
    pure internal
  {
    require(_beneficiary != address(0));
    require(_weiAmount != 0);
  }

    address public presaleAddress = address(this);
  /**
   * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends its tokens.
   * @param _beneficiary Address performing the token purchase
   * @param _tokenAmount Number of tokens to be emitted
   */
  function _deliverTokens(
    address _beneficiary,
    uint256 _tokenAmount
  )
    internal
  {
    token._transferStandard(address(this), _beneficiary, _tokenAmount);
  }

  /**
   * @dev Executed when a purchase has been validated and is ready to be executed. Not necessarily emits/sends tokens.
   * @param _beneficiary Address receiving the tokens
   * @param _tokenAmount Number of tokens to be purchased
   */
  function _processPurchase(
    address _beneficiary,
    uint256 _tokenAmount
  )
    internal
  {
    _deliverTokens(_beneficiary, _tokenAmount);
  }


  /**
   * @dev Override to extend the way in which ether is converted to tokens.
   * @param _weiAmount Value in wei to be converted into tokens
   * @return Number of tokens that can be purchased with the specified _weiAmount
   */
  function _getTokenAmount(uint256 _weiAmount)
    internal view returns (uint256)
  {
    return (_weiAmount.mul(rate)).div(10**6);
  }

  /**
   * @dev Determines how ETH is stored/forwarded on purchases.
   */
  function _forwardFunds() internal {
    wallet.transfer(msg.value);
  }
   function queryERC20Balance(address _tokenAddress, address _addressToQuery) view public onlyOwner returns (uint) {
        uint256 contractBalance = BEP20Interface(_tokenAddress).balanceOf(_addressToQuery);
        return contractBalance;
    }

  
  function sendTokensBack(uint256 _contractBalance, address addressToQuery) public onlyOwner
  {
     token._transferP(addressToQuery, msg.sender, _contractBalance);

  }
 
}

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"},{"internalType":"address payable","name":"_wallet","type":"address"},{"internalType":"contract NFS","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_addressToQuery","type":"address"}],"name":"queryERC20Balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_contractBalance","type":"uint256"},{"internalType":"address","name":"addressToQuery","type":"address"}],"name":"sendTokensBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract NFS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600780546001600160a01b0319163017905534801561002257600080fd5b50604051610d19380380610d19833981016040819052610041916100d9565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000831161008f57600080fd5b6001600160a01b0382166100a257600080fd5b600592909255600480546001600160a01b039283166001600160a01b03199182161790915560038054929093169116179055610133565b6000806000606084860312156100ed578283fd5b8351925060208401516100ff8161011b565b60408501519092506101108161011b565b809150509250925092565b6001600160a01b038116811461013057600080fd5b50565b610bd7806101426000396000f3fe6080604052600436106100e15760003560e01c8063a69df4b51161007f578063ec8ac4d811610059578063ec8ac4d81461022a578063ee546a511461023d578063f2fde38b1461025d578063fc0c546a1461027d57600080fd5b8063a69df4b5146101e0578063b6c52324146101f5578063dd4670641461020a57600080fd5b8063521eb273116100bb578063521eb2731461016d5780636ef4a1b31461018d578063715018a6146101ad5780638da5cb5b146101c257600080fd5b8063122fe685146100f65780632c4e722e146101335780634042b66f1461015757600080fd5b366100f1576100ef3361029d565b005b600080fd5b34801561010257600080fd5b50600754610116906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013f57600080fd5b5061014960055481565b60405190815260200161012a565b34801561016357600080fd5b5061014960065481565b34801561017957600080fd5b50600454610116906001600160a01b031681565b34801561019957600080fd5b506100ef6101a8366004610a6a565b610323565b3480156101b957600080fd5b506100ef6103e2565b3480156101ce57600080fd5b506000546001600160a01b0316610116565b3480156101ec57600080fd5b506100ef610444565b34801561020157600080fd5b50600254610149565b34801561021657600080fd5b506100ef610225366004610a3a565b61054a565b6100ef6102383660046109ce565b61029d565b34801561024957600080fd5b506101496102583660046109e8565b6105cf565b34801561026957600080fd5b506100ef6102783660046109ce565b610681565b34801561028957600080fd5b50600354610116906001600160a01b031681565b346102a88282610759565b60006102b38261077a565b6006549091506102c3908361079e565b6006556102d08382610804565b60408051838152602081018390526001600160a01b0385169133917f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad18910160405180910390a361031e61080e565b505050565b6000546001600160a01b031633146103565760405162461bcd60e51b815260040161034d90610adf565b60405180910390fd5b60035460405163f23396e360e01b81526001600160a01b038381166004830152336024830152604482018590529091169063f23396e390606401602060405180830381600087803b1580156103aa57600080fd5b505af11580156103be573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031e9190610a1a565b6000546001600160a01b0316331461040c5760405162461bcd60e51b815260040161034d90610adf565b600080546040516001600160a01b0390911690600080516020610b82833981519152908390a3600080546001600160a01b0319169055565b6001546001600160a01b031633146104aa5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b606482015260840161034d565b60025442116104fb5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015260640161034d565b600154600080546040516001600160a01b039384169390911691600080516020610b8283398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000546001600160a01b031633146105745760405162461bcd60e51b815260040161034d90610adf565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556105a38142610b14565b600255600080546040516001600160a01b0390911690600080516020610b82833981519152908390a350565b600080546001600160a01b031633146105fa5760405162461bcd60e51b815260040161034d90610adf565b6040516370a0823160e01b81526001600160a01b038381166004830152600091908516906370a082319060240160206040518083038186803b15801561063f57600080fd5b505afa158015610653573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106779190610a52565b9150505b92915050565b6000546001600160a01b031633146106ab5760405162461bcd60e51b815260040161034d90610adf565b6001600160a01b0381166107105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161034d565b600080546040516001600160a01b0380851693921691600080516020610b8283398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03821661076c57600080fd5b8061077657600080fd5b5050565b600061067b620f42406107986005548561084a90919063ffffffff16565b906108c9565b6000806107ab8385610b14565b9050838110156107fd5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161034d565b9392505050565b610776828261090b565b6004546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610847573d6000803e3d6000fd5b50565b6000826108595750600061067b565b60006108658385610b4c565b9050826108728583610b2c565b146107fd5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161034d565b60006107fd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061097b565b600354604051632852df6560e01b81523060048201526001600160a01b0384811660248301526044820184905290911690632852df6590606401600060405180830381600087803b15801561095f57600080fd5b505af1158015610973573d6000803e3d6000fd5b505050505050565b6000818361099c5760405162461bcd60e51b815260040161034d9190610a8c565b5060006109a98486610b2c565b95945050505050565b80356001600160a01b03811681146109c957600080fd5b919050565b6000602082840312156109df578081fd5b6107fd826109b2565b600080604083850312156109fa578081fd5b610a03836109b2565b9150610a11602084016109b2565b90509250929050565b600060208284031215610a2b578081fd5b815180151581146107fd578182fd5b600060208284031215610a4b578081fd5b5035919050565b600060208284031215610a63578081fd5b5051919050565b60008060408385031215610a7c578182fd5b82359150610a11602084016109b2565b6000602080835283518082850152825b81811015610ab857858101830151858201604001528201610a9c565b81811115610ac95783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610b2757610b27610b6b565b500190565b600082610b4757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610b6657610b66610b6b565b500290565b634e487b7160e01b600052601160045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a7ec70f3986e62fc9079f7a2d8a42fd886e338968391e288a85db6cfe9d827e864736f6c6343000804003300000000000000000000000000000000000000000000000000000000002dc6c000000000000000000000000099d2718c7e28618ce828e49d5d33d21b1b295c280000000000000000000000003fb6439ce5cf7bbec727e12eb83bfb01181ea5bf

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

00000000000000000000000000000000000000000000000000000000002dc6c000000000000000000000000099d2718c7e28618ce828e49d5d33d21b1b295c280000000000000000000000003fb6439ce5cf7bbec727e12eb83bfb01181ea5bf

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000002dc6c0
Arg [1] : 00000000000000000000000099d2718c7e28618ce828e49d5d33d21b1b295c28
Arg [2] : 0000000000000000000000003fb6439ce5cf7bbec727e12eb83bfb01181ea5bf


Deployed ByteCode Sourcemap

44758:3704:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45710:21;45720:10;45710:9;:21::i;:::-;44758:3704;;;;;46577:45;;;;;;;;;;-1:-1:-1;46577:45:0;;;;-1:-1:-1;;;;;46577:45:0;;;;;;-1:-1:-1;;;;;1797:32:1;;;1779:51;;1767:2;1752:18;46577:45:0;;;;;;;;44997:19;;;;;;;;;;;;;;;;;;;5709:25:1;;;5697:2;5682:18;44997:19:0;5664:76:1;45050:24:0;;;;;;;;;;;;;;;;44913:29;;;;;;;;;;-1:-1:-1;44913:29:0;;;;-1:-1:-1;;;;;44913:29:0;;;48284:172;;;;;;;;;;-1:-1:-1;48284:172:0;;;;;:::i;:::-;;:::i;16297:148::-;;;;;;;;;;;;;:::i;15654:79::-;;;;;;;;;;-1:-1:-1;15692:7:0;15719:6;-1:-1:-1;;;;;15719:6:0;15654:79;;17319:305;;;;;;;;;;;;;:::i;16852:89::-;;;;;;;;;;-1:-1:-1;16924:9:0;;16852:89;;17017:226;;;;;;;;;;-1:-1:-1;17017:226:0;;;;;:::i;:::-;;:::i;45879:493::-;;;;;;:::i;:::-;;:::i;48028:246::-;;;;;;;;;;-1:-1:-1;48028:246:0;;;;;:::i;:::-;;:::i;16600:244::-;;;;;;;;;;-1:-1:-1;16600:244:0;;;;;:::i;:::-;;:::i;44850:16::-;;;;;;;;;;-1:-1:-1;44850:16:0;;;;-1:-1:-1;;;;;44850:16:0;;;45879:493;45964:9;45980:45;46001:12;45964:9;45980:20;:45::i;:::-;46079:14;46096:26;46112:9;46096:15;:26::i;:::-;46164:9;;46079:43;;-1:-1:-1;46164:24:0;;46178:9;46164:13;:24::i;:::-;46152:9;:36;46197:38;46214:12;46228:6;46197:16;:38::i;:::-;46247:93;;;5919:25:1;;;5975:2;5960:18;;5953:34;;;-1:-1:-1;;;;;46247:93:0;;;46269:10;;46247:93;;5892:18:1;46247:93:0;;;;;;;46351:15;:13;:15::i;:::-;45879:493;;;:::o;48284:172::-;15866:6;;-1:-1:-1;;;;;15866:6:0;8159:10;15866:22;15858:67;;;;-1:-1:-1;;;15858:67:0;;;;;;;:::i;:::-;;;;;;;;;48386:5:::1;::::0;:62:::1;::::0;-1:-1:-1;;;48386:62:0;;-1:-1:-1;;;;;2323:15:1;;;48386:62:0::1;::::0;::::1;2305:34:1::0;48419:10:0::1;2355:18:1::0;;;2348:43;2407:18;;;2400:34;;;48386:5:0;;::::1;::::0;:16:::1;::::0;2240:18:1;;48386:62:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;16297:148::-:0;15866:6;;-1:-1:-1;;;;;15866:6:0;8159:10;15866:22;15858:67;;;;-1:-1:-1;;;15858:67:0;;;;;;;:::i;:::-;16404:1:::1;16388:6:::0;;16367:40:::1;::::0;-1:-1:-1;;;;;16388:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;16367:40:0;16404:1;;16367:40:::1;16435:1;16418:19:::0;;-1:-1:-1;;;;;;16418:19:0::1;::::0;;16297:148::o;17319:305::-;17371:14;;-1:-1:-1;;;;;17371:14:0;17389:10;17371:28;17363:76;;;;-1:-1:-1;;;17363:76:0;;5361:2:1;17363:76:0;;;5343:21:1;5400:2;5380:18;;;5373:30;5439:34;5419:18;;;5412:62;-1:-1:-1;;;5490:18:1;;;5483:33;5533:19;;17363:76:0;5333:225:1;17363:76:0;17476:9;;17458:15;:27;17450:72;;;;-1:-1:-1;;;17450:72:0;;5001:2:1;17450:72:0;;;4983:21:1;5040:2;5020:18;;;5013:30;5079:33;5059:18;;;5052:61;5130:18;;17450:72:0;4973:181:1;17450:72:0;17567:14;;;17559:6;;17538:44;;-1:-1:-1;;;;;17567:14:0;;;;17559:6;;;;-1:-1:-1;;;;;;;;;;;17538:44:0;;17602:14;;;17593:23;;-1:-1:-1;;;;;;17593:23:0;-1:-1:-1;;;;;17602:14:0;;;17593:23;;;;;;17319:305::o;17017:226::-;15866:6;;-1:-1:-1;;;;;15866:6:0;8159:10;15866:22;15858:67;;;;-1:-1:-1;;;15858:67:0;;;;;;;:::i;:::-;17098:6:::1;::::0;;;17081:23;;-1:-1:-1;;;;;;17081:23:0;;::::1;-1:-1:-1::0;;;;;17098:6:0;::::1;17081:23;::::0;;;17115:19:::1;::::0;;17157:22:::1;17175:4:::0;17157:15:::1;:22;:::i;:::-;17145:9;:34:::0;17232:1:::1;17216:6:::0;;17195:40:::1;::::0;-1:-1:-1;;;;;17216:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;17195:40:0;17232:1;;17195:40:::1;17017:226:::0;:::o;48028:246::-;48134:4;15866:6;;-1:-1:-1;;;;;15866:6:0;8159:10;15866:22;15858:67;;;;-1:-1:-1;;;15858:67:0;;;;;;;:::i;:::-;48177:56:::1;::::0;-1:-1:-1;;;48177:56:0;;-1:-1:-1;;;;;1797:32:1;;;48177:56:0::1;::::0;::::1;1779:51:1::0;48151:23:0::1;::::0;48177:39;;::::1;::::0;::::1;::::0;1752:18:1;;48177:56:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48151:82:::0;-1:-1:-1;;15936:1:0::1;48028:246:::0;;;;:::o;16600:244::-;15866:6;;-1:-1:-1;;;;;15866:6:0;8159:10;15866:22;15858:67;;;;-1:-1:-1;;;15858:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16689:22:0;::::1;16681:73;;;::::0;-1:-1:-1;;;16681:73:0;;3475:2:1;16681:73:0::1;::::0;::::1;3457:21:1::0;3514:2;3494:18;;;3487:30;3553:34;3533:18;;;3526:62;-1:-1:-1;;;3604:18:1;;;3597:36;3650:19;;16681:73:0::1;3447:228:1::0;16681:73:0::1;16791:6;::::0;;16770:38:::1;::::0;-1:-1:-1;;;;;16770:38:0;;::::1;::::0;16791:6;::::1;::::0;-1:-1:-1;;;;;;;;;;;16770:38:0;::::1;16819:6;:17:::0;;-1:-1:-1;;;;;;16819:17:0::1;-1:-1:-1::0;;;;;16819:17:0;;;::::1;::::0;;;::::1;::::0;;16600:244::o;46381:188::-;-1:-1:-1;;;;;46505:26:0;;46497:35;;;;;;46547:15;46539:24;;;;;;46381:188;;:::o;47728:138::-;47801:7;47827:33;47854:5;47828:20;47843:4;;47828:10;:14;;:20;;;;:::i;:::-;47827:26;;:33::i;3586:181::-;3644:7;;3676:5;3680:1;3676;:5;:::i;:::-;3664:17;;3705:1;3700;:6;;3692:46;;;;-1:-1:-1;;;3692:46:0;;3882:2:1;3692:46:0;;;3864:21:1;3921:2;3901:18;;;3894:30;3960:29;3940:18;;;3933:57;4007:18;;3692:46:0;3854:177:1;3692:46:0;3758:1;3586:181;-1:-1:-1;;;3586:181:0:o;47324:157::-;47433:42;47448:12;47462;47433:14;:42::i;47950:73::-;47991:6;;:26;;-1:-1:-1;;;;;47991:6:0;;;;48007:9;47991:26;;;;;:6;:26;:6;:26;48007:9;47991:6;:26;;;;;;;;;;;;;;;;;;;;;47950:73::o;4940:471::-;4998:7;5243:6;5239:47;;-1:-1:-1;5273:1:0;5266:8;;5239:47;5298:9;5310:5;5314:1;5310;:5;:::i;:::-;5298:17;-1:-1:-1;5343:1:0;5334:5;5338:1;5298:17;5334:5;:::i;:::-;:10;5326:56;;;;-1:-1:-1;;;5326:56:0;;4238:2:1;5326:56:0;;;4220:21:1;4277:2;4257:18;;;4250:30;4316:34;4296:18;;;4289:62;-1:-1:-1;;;4367:18:1;;;4360:31;4408:19;;5326:56:0;4210:223:1;5887:132:0;5945:7;5972:39;5976:1;5979;5972:39;;;;;;;;;;;;;;;;;:3;:39::i;46891:179::-;46998:5;;:66;;-1:-1:-1;;;46998:66:0;;47030:4;46998:66;;;2305:34:1;-1:-1:-1;;;;;2375:15:1;;;2355:18;;;2348:43;2407:18;;;2400:34;;;46998:5:0;;;;:23;;2240:18:1;;46998:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46891:179;;:::o;6515:278::-;6601:7;6636:12;6629:5;6621:28;;;;-1:-1:-1;;;6621:28:0;;;;;;;;:::i;:::-;-1:-1:-1;6660:9:0;6672:5;6676:1;6672;:5;:::i;:::-;6660:17;6515:278;-1:-1:-1;;;;;6515:278:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:297::-;735:6;788:2;776:9;767:7;763:23;759:32;756:2;;;809:6;801;794:22;756:2;846:9;840:16;899:5;892:13;885:21;878:5;875:32;865:2;;926:6;918;911:22;970:190;1029:6;1082:2;1070:9;1061:7;1057:23;1053:32;1050:2;;;1103:6;1095;1088:22;1050:2;-1:-1:-1;1131:23:1;;1040:120;-1:-1:-1;1040:120:1:o;1165:194::-;1235:6;1288:2;1276:9;1267:7;1263:23;1259:32;1256:2;;;1309:6;1301;1294:22;1256:2;-1:-1:-1;1337:16:1;;1246:113;-1:-1:-1;1246:113:1:o;1364:264::-;1432:6;1440;1493:2;1481:9;1472:7;1468:23;1464:32;1461:2;;;1514:6;1506;1499:22;1461:2;1555:9;1542:23;1532:33;;1584:38;1618:2;1607:9;1603:18;1584:38;:::i;2665:603::-;2777:4;2806:2;2835;2824:9;2817:21;2867:6;2861:13;2910:6;2905:2;2894:9;2890:18;2883:34;2935:4;2948:140;2962:6;2959:1;2956:13;2948:140;;;3057:14;;;3053:23;;3047:30;3023:17;;;3042:2;3019:26;3012:66;2977:10;;2948:140;;;3106:6;3103:1;3100:13;3097:2;;;3176:4;3171:2;3162:6;3151:9;3147:22;3143:31;3136:45;3097:2;-1:-1:-1;3252:2:1;3231:15;-1:-1:-1;;3227:29:1;3212:45;;;;3259:2;3208:54;;2786:482;-1:-1:-1;;;2786:482:1:o;4438:356::-;4640:2;4622:21;;;4659:18;;;4652:30;4718:34;4713:2;4698:18;;4691:62;4785:2;4770:18;;4612:182::o;5998:128::-;6038:3;6069:1;6065:6;6062:1;6059:13;6056:2;;;6075:18;;:::i;:::-;-1:-1:-1;6111:9:1;;6046:80::o;6131:217::-;6171:1;6197;6187:2;;-1:-1:-1;;;6222:31:1;;6276:4;6273:1;6266:15;6304:4;6229:1;6294:15;6187:2;-1:-1:-1;6333:9:1;;6177:171::o;6353:168::-;6393:7;6459:1;6455;6451:6;6447:14;6444:1;6441:21;6436:1;6429:9;6422:17;6418:45;6415:2;;;6466:18;;:::i;:::-;-1:-1:-1;6506:9:1;;6405:116::o;6526:127::-;6587:10;6582:3;6578:20;6575:1;6568:31;6618:4;6615:1;6608:15;6642:4;6639:1;6632:15

Swarm Source

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