ETH Price: $3,528.93 (+5.20%)

Contract

0x893bcE4A69a9591877108d0aAEd71A32F0195C36
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve180225962023-08-29 20:16:47479 days ago1693340207IN
0x893bcE4A...2F0195C36
0 ETH0.0018850340.75743116
Approve180225142023-08-29 20:00:11479 days ago1693339211IN
0x893bcE4A...2F0195C36
0 ETH0.001634.59475406
Approve180224812023-08-29 19:53:35479 days ago1693338815IN
0x893bcE4A...2F0195C36
0 ETH0.0017287337.1276433
Approve180224782023-08-29 19:52:59479 days ago1693338779IN
0x893bcE4A...2F0195C36
0 ETH0.0016753635.98131677
Approve180224702023-08-29 19:51:23479 days ago1693338683IN
0x893bcE4A...2F0195C36
0 ETH0.0018649240.00105511
Approve180224612023-08-29 19:49:35479 days ago1693338575IN
0x893bcE4A...2F0195C36
0 ETH0.0017274637.05255124
Approve180224592023-08-29 19:49:11479 days ago1693338551IN
0x893bcE4A...2F0195C36
0 ETH0.0017570537.94112912
Approve180224592023-08-29 19:49:11479 days ago1693338551IN
0x893bcE4A...2F0195C36
0 ETH0.002137245.84112912
Approve180224592023-08-29 19:49:11479 days ago1693338551IN
0x893bcE4A...2F0195C36
0 ETH0.0040626587.84112912
Approve180224492023-08-29 19:47:11479 days ago1693338431IN
0x893bcE4A...2F0195C36
0 ETH0.0016874836.19502039
Approve180224492023-08-29 19:47:11479 days ago1693338431IN
0x893bcE4A...2F0195C36
0 ETH0.001734137.19502039
Approve180224482023-08-29 19:46:59479 days ago1693338419IN
0x893bcE4A...2F0195C36
0 ETH0.0016887336.22174107
Update Max Amoun...180224482023-08-29 19:46:59479 days ago1693338419IN
0x893bcE4A...2F0195C36
0 ETH0.0015029836.22174107
Approve180224482023-08-29 19:46:59479 days ago1693338419IN
0x893bcE4A...2F0195C36
0 ETH0.0017819738.22174107
Approve180224482023-08-29 19:46:59479 days ago1693338419IN
0x893bcE4A...2F0195C36
0 ETH0.0018228839.09932576
Approve180224472023-08-29 19:46:47479 days ago1693338407IN
0x893bcE4A...2F0195C36
0 ETH0.0093244200
Approve180224462023-08-29 19:46:35479 days ago1693338395IN
0x893bcE4A...2F0195C36
0 ETH0.0017932738.46422356
Approve180224462023-08-29 19:46:35479 days ago1693338395IN
0x893bcE4A...2F0195C36
0 ETH0.0017932738.46422356
Approve180224462023-08-29 19:46:35479 days ago1693338395IN
0x893bcE4A...2F0195C36
0 ETH0.0017932738.46422356
Approve180224462023-08-29 19:46:35479 days ago1693338395IN
0x893bcE4A...2F0195C36
0 ETH0.0017932738.46422356
Update Max Tx Co...180224452023-08-29 19:46:23479 days ago1693338383IN
0x893bcE4A...2F0195C36
0 ETH0.0012566634.54276881
Approve180224452023-08-29 19:46:23479 days ago1693338383IN
0x893bcE4A...2F0195C36
0 ETH0.0016912636.27601881
Approve180224452023-08-29 19:46:23479 days ago1693338383IN
0x893bcE4A...2F0195C36
0 ETH0.0016912636.27601881
Approve180224452023-08-29 19:46:23479 days ago1693338383IN
0x893bcE4A...2F0195C36
0 ETH0.0016912636.27601881
Approve180224452023-08-29 19:46:23479 days ago1693338383IN
0x893bcE4A...2F0195C36
0 ETH0.0016912636.27601881
View all transactions

Latest 15 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.03303316 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.03154076 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.0315878 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.03157164 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.03155597 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.03160445 ETH
180224482023-08-29 19:46:59479 days ago1693338419
0x893bcE4A...2F0195C36
0.0324544 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.05786148 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.01990021 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.07592254 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.11388381 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.06235042 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.02148073 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.08173938 ETH
180224462023-08-29 19:46:35479 days ago1693338395
0x893bcE4A...2F0195C36
0.12260908 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ConnectFourPvP

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ConnectFourPvP.sol
/**
    Connect Four PvP - Elevate your Connect Four experience with real-time PvP battles, wagers, and big wins!

    Website: https://connect.fourpvp.com/
    Telegram: https://t.me/ConnectFourPvP
    Twitter: https://twitter.com/ConnectFourPvP

**/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

/**
 * @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 meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @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.
 */
abstract 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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

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

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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
        // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

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

interface IUniswapV2Router02 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        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 IUniswapV2Pair {
    function sync() external;
}

contract ConnectFourPvP is Context, IERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public routerUniswapV2;

    address public pairUniswapV2;
    bool public isTradingActive = false;

    mapping(address => uint256) private balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFee;

    uint256 private percentageFeeForLiquidity;
    uint256 private percentageFeeForRevenue;
    address public addressForLiquidityFee;
    address public addressForRevenueFee;

    string private constant _name = "Connect Four PvP";
    string private constant _symbol = "C4PVP";

    uint8 private constant _decimals = 9;

    uint256 private _tTotal = 1000000 * 10 ** _decimals;
    uint256 public _maxAmountPerWallet = 35000 * 10 ** _decimals;
    uint256 public _maxAmountPerTx = 35000 * 10 ** _decimals;
    uint256 public swapTokenThreshold = 10000 * 10 ** _decimals;
    uint256 public forceSwapCounter;

    struct BuyFeesConfig {
        uint256 liquidity;
        uint256 revenue;
    }

    struct SellFeesConfig {
        uint256 liquidity;
        uint256 revenue;
    }

    BuyFeesConfig public buyFeeSetup;
    SellFeesConfig public sellFeeSetup;

    bool private isInSwapFlag;

    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity);

    constructor (address marketingAddress, address liquidityAddress) {
        addressForRevenueFee = marketingAddress;
        addressForLiquidityFee = liquidityAddress;
        balances[_msgSender()] = _tTotal;

        sellFeeSetup.liquidity = 2;
        sellFeeSetup.revenue = 1;
        buyFeeSetup.liquidity = 2;
        buyFeeSetup.revenue = 1;


        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());

        routerUniswapV2 = _uniswapV2Router;
        pairUniswapV2 = _uniswapV2Pair;

        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[address(0x00)] = true;
        _isExcludedFromFee[address(0xdead)] = true;


        emit Transfer(address(0), _msgSender(), _tTotal);
    }

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

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

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

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

    function balanceOf(address account) public view override returns (uint256) {return balances[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()] - amount);
        return true;}

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

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue);
        return true;}

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFee[address(account)] = excluded;}

    function openTrading() external onlyOwner {
        isTradingActive = true;
    }

    receive() external payable {}

    function takeBuyFeeSetup(uint256 amount, address from) private returns (uint256) {
        uint256 liquidityFeeToken = amount * buyFeeSetup.liquidity / 100;
        uint256 marketingFeeTokens = amount * buyFeeSetup.revenue / 100;

        balances[address(this)] += liquidityFeeToken + marketingFeeTokens;
        emit Transfer(from, address(this), marketingFeeTokens + liquidityFeeToken);
        return (amount - liquidityFeeToken - marketingFeeTokens);
    }

    function takeSellFeeSetup(uint256 amount, address from) private returns (uint256) {
        uint256 liquidityFeeToken = amount * sellFeeSetup.liquidity / 100;
        uint256 marketingFeeTokens = amount * sellFeeSetup.revenue / 100;

        balances[address(this)] += liquidityFeeToken + marketingFeeTokens;
        emit Transfer(from, address(this), marketingFeeTokens + liquidityFeeToken);
        return (amount - liquidityFeeToken - marketingFeeTokens);
    }

    function updateMaxTxConfig(uint256 _maxTx, uint256 _maxWallet) public onlyOwner {
        require(_maxTx + _maxWallet > _tTotal / 1000, "Should be bigger than 0,1%");
        _maxAmountPerTx = _maxTx;
        _maxAmountPerWallet = _maxWallet;
    }

    function updateMaxAmountFee(uint256 _buyMarketingFee, uint256 _buyLiquidityFee, uint256 _sellMarketingFee, uint256 _sellLiquidityFee) public onlyOwner {
        require(_buyMarketingFee + _buyLiquidityFee < 500 || _sellLiquidityFee + _sellMarketingFee < 500, "Can't change fee higher than 49%");

        buyFeeSetup.liquidity = _buyLiquidityFee;
        buyFeeSetup.revenue = _buyMarketingFee;

        sellFeeSetup.liquidity = _sellLiquidityFee;
        sellFeeSetup.revenue = _sellMarketingFee;
    }


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

        balances[from] -= amount;
        uint256 transferAmount = amount;

        bool takeFee;

        if (!isTradingActive) {
            require(_isExcludedFromFee[from] || _isExcludedFromFee[to], "Trading is not active.");
        }
        if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
            takeFee = true;
        }

        if (takeFee) {
            if (to != pairUniswapV2) {
                require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount");
                require(balanceOf(to) + amount <= _maxAmountPerWallet, "Transfer amount exceeds the maxWalletAmount.");
                transferAmount = takeBuyFeeSetup(amount, to);
            }

            if (from != pairUniswapV2) {
                require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount");
                transferAmount = takeSellFeeSetup(amount, from);
                forceSwapCounter += 1;

                if (balanceOf(address(this)) >= swapTokenThreshold && !isInSwapFlag) {
                    isInSwapFlag = true;
                    swapForFee(swapTokenThreshold);
                    isInSwapFlag = false;
                    forceSwapCounter = 0;
                }

                if (forceSwapCounter > 5 && !isInSwapFlag) {
                    isInSwapFlag = true;
                    swapForFee(balanceOf(address(this)));
                    isInSwapFlag = false;
                    forceSwapCounter = 0;
                }
            }

            if (to != pairUniswapV2 && from != pairUniswapV2) {
                require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount");
                require(balanceOf(to) + amount <= _maxAmountPerWallet, "Transfer amount exceeds the maxWalletAmount.");
            }
        }

        balances[to] += transferAmount;
        emit Transfer(from, to, transferAmount);
    }

    function swapForFee(uint256 amount) private {
        uint256 contractBalance = amount;
        uint256 liquidityTokens = contractBalance * (buyFeeSetup.liquidity + sellFeeSetup.liquidity) / (buyFeeSetup.revenue + buyFeeSetup.liquidity + sellFeeSetup.revenue + sellFeeSetup.liquidity);
        uint256 marketingTokens = contractBalance * (buyFeeSetup.revenue + sellFeeSetup.revenue) / (buyFeeSetup.revenue + buyFeeSetup.liquidity + sellFeeSetup.revenue + sellFeeSetup.liquidity);
        uint256 totalTokensToSwap = liquidityTokens + marketingTokens;

        uint256 tokensForLiquidity = liquidityTokens.div(2);
        uint256 amountToSwapForETH = contractBalance.sub(tokensForLiquidity);
        uint256 initialETHBalance = address(this).balance;
        swapTokensForEth(amountToSwapForETH);
        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        uint256 ethForLiquidity = ethBalance.mul(liquidityTokens).div(totalTokensToSwap);
        addLiquidity(tokensForLiquidity, ethForLiquidity);
        payable(addressForRevenueFee).transfer(address(this).balance);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = routerUniswapV2.WETH();

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

        routerUniswapV2.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(routerUniswapV2), tokenAmount);

        routerUniswapV2.addLiquidityETH{value: ethAmount} (
            address(this),
            tokenAmount,
            0,
            0,
            addressForLiquidityFee,
            block.timestamp
        );
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"liquidityAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressForLiquidityFee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressForRevenueFee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFeeSetup","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"revenue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairUniswapV2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerUniswapV2","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFeeSetup","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"revenue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokenThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"}],"name":"updateMaxAmountFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateMaxTxConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526002805460ff60a01b191690556200001f6009600a62000506565b6200002e90620f42406200051d565b600a556009600a62000041919062000506565b6200004f906188b86200051d565b600b55620000606009600a62000506565b6200006e906188b86200051d565b600c556200007f6009600a62000506565b6200008d906127106200051d565b600d553480156200009c575f80fd5b5060405162001ddd38038062001ddd833981016040819052620000bf9162000553565b620000ca33620003a8565b600980546001600160a01b038085166001600160a01b0319928316179092556008805492841692909116919091179055600a5460035f620001083390565b6001600160a01b0316815260208082019290925260409081015f908120939093556002601181905560016012819055600f91909155601055805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9392849263c45a015592600480830193928290030181865afa1580156200018c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001b2919062000589565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000224919062000589565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200026f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000295919062000589565b600180546001600160a01b038086166001600160a01b03199283161783556002805491851691909216179055335f90815260056020526040808220805460ff19908116851790915530835290822080548216841790557f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc805482168417905561dead9091527f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba8054909116909117905590506200034f3390565b6001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600a546040516200039691815260200190565b60405180910390a350505050620005a5565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200044b57815f19048211156200042f576200042f620003f7565b808516156200043d57918102915b93841c939080029062000410565b509250929050565b5f82620004635750600162000500565b816200047157505f62000500565b81600181146200048a57600281146200049557620004b5565b600191505062000500565b60ff841115620004a957620004a9620003f7565b50506001821b62000500565b5060208310610133831016604e8410600b8410161715620004da575081810a62000500565b620004e683836200040b565b805f1904821115620004fc57620004fc620003f7565b0290505b92915050565b5f6200051660ff84168362000453565b9392505050565b8082028115828204841417620005005762000500620003f7565b80516001600160a01b03811681146200054e575f80fd5b919050565b5f806040838503121562000565575f80fd5b620005708362000537565b9150620005806020840162000537565b90509250929050565b5f602082840312156200059a575f80fd5b620005168262000537565b61182a80620005b35f395ff3fe6080604052600436106101c8575f3560e01c80638da5cb5b116100f2578063c024666811610092578063dd62ed3e11610062578063dd62ed3e14610554578063ec68af7714610598578063f1a3e45f146105b7578063f2fde38b146105d1575f80fd5b8063c0246668146104e2578063c2a1e6dc14610501578063c53d4d5314610520578063c9567bf914610540575f80fd5b8063a457c2d7116100cd578063a457c2d71461047a578063a9059cbb14610499578063a9951046146104b8578063b08e8eef146104cd575f80fd5b80638da5cb5b1461040257806395d89b411461041e5780639bbb95931461044b575f80fd5b8063313ce567116101685780635342acb4116101385780635342acb41461036457806370a082311461039b578063715018a6146103cf57806375c61fba146103e3575f80fd5b8063313ce56714610300578063395093511461031b578063397dbed71461033a578063501a53541461034f575f80fd5b806318160ddd116101a357806318160ddd1461026d5780631d83b18b1461028b5780631d9caf7a146102c257806323b872dd146102e1575f80fd5b8063039a92f1146101d357806306fdde03146101f4578063095ea7b31461023e575f80fd5b366101cf57005b5f80fd5b3480156101de575f80fd5b506101f26101ed366004611459565b6105f0565b005b3480156101ff575f80fd5b5060408051808201909152601081526f0436f6e6e65637420466f7572205076560841b60208201525b6040516102359190611479565b60405180910390f35b348015610249575f80fd5b5061025d6102583660046114d8565b610694565b6040519015158152602001610235565b348015610278575f80fd5b50600a545b604051908152602001610235565b348015610296575f80fd5b506002546102aa906001600160a01b031681565b6040516001600160a01b039091168152602001610235565b3480156102cd575f80fd5b506001546102aa906001600160a01b031681565b3480156102ec575f80fd5b5061025d6102fb366004611502565b6106aa565b34801561030b575f80fd5b5060405160098152602001610235565b348015610326575f80fd5b5061025d6103353660046114d8565b6106fa565b348015610345575f80fd5b5061027d600b5481565b34801561035a575f80fd5b5061027d600d5481565b34801561036f575f80fd5b5061025d61037e366004611540565b6001600160a01b03165f9081526005602052604090205460ff1690565b3480156103a6575f80fd5b5061027d6103b5366004611540565b6001600160a01b03165f9081526003602052604090205490565b3480156103da575f80fd5b506101f2610730565b3480156103ee575f80fd5b506101f26103fd36600461155b565b610764565b34801561040d575f80fd5b505f546001600160a01b03166102aa565b348015610429575f80fd5b50604080518082019091526005815264043345056560dc1b6020820152610228565b348015610456575f80fd5b50601154601254610465919082565b60408051928352602083019190915201610235565b348015610485575f80fd5b5061025d6104943660046114d8565b610810565b3480156104a4575f80fd5b5061025d6104b33660046114d8565b610846565b3480156104c3575f80fd5b5061027d600c5481565b3480156104d8575f80fd5b5061027d600e5481565b3480156104ed575f80fd5b506101f26104fc36600461158a565b610852565b34801561050c575f80fd5b506009546102aa906001600160a01b031681565b34801561052b575f80fd5b5060025461025d90600160a01b900460ff1681565b34801561054b575f80fd5b506101f26108a5565b34801561055f575f80fd5b5061027d61056e3660046115c5565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b3480156105a3575f80fd5b506008546102aa906001600160a01b031681565b3480156105c2575f80fd5b50600f54601054610465919082565b3480156105dc575f80fd5b506101f26105eb366004611540565b6108e3565b5f546001600160a01b031633146106225760405162461bcd60e51b8152600401610619906115f1565b60405180910390fd5b6103e8600a54610632919061163a565b61063c8284611659565b116106895760405162461bcd60e51b815260206004820152601a60248201527f53686f756c6420626520626967676572207468616e20302c31250000000000006044820152606401610619565b600c91909155600b55565b5f6106a033848461097d565b5060015b92915050565b5f6106b6848484610aa0565b6001600160a01b0384165f908152600460209081526040808320338085529252909120546106f09186916106eb90869061166c565b61097d565b5060019392505050565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106a09185906106eb908690611659565b5f546001600160a01b031633146107595760405162461bcd60e51b8152600401610619906115f1565b6107625f610f8c565b565b5f546001600160a01b0316331461078d5760405162461bcd60e51b8152600401610619906115f1565b6101f461079a8486611659565b10806107b057506101f46107ae8383611659565b105b6107fc5760405162461bcd60e51b815260206004820181905260248201527f43616e2774206368616e67652066656520686967686572207468616e203439256044820152606401610619565b600f92909255601092909255601155601255565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106a09185906106eb90869061166c565b5f6106a0338484610aa0565b5f546001600160a01b0316331461087b5760405162461bcd60e51b8152600401610619906115f1565b6001600160a01b03919091165f908152600560205260409020805460ff1916911515919091179055565b5f546001600160a01b031633146108ce5760405162461bcd60e51b8152600401610619906115f1565b6002805460ff60a01b1916600160a01b179055565b5f546001600160a01b0316331461090c5760405162461bcd60e51b8152600401610619906115f1565b6001600160a01b0381166109715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610619565b61097a81610f8c565b50565b6001600160a01b0383166109df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610619565b6001600160a01b038216610a405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610619565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610619565b6001600160a01b038216610b665760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610619565b5f8111610bc75760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610619565b6001600160a01b0383165f9081526003602052604081208054839290610bee90849061166c565b909155505060025481905f90600160a01b900460ff16610c8a576001600160a01b0385165f9081526005602052604090205460ff1680610c4557506001600160a01b0384165f9081526005602052604090205460ff165b610c8a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610619565b6001600160a01b0385165f9081526005602052604090205460ff16158015610cca57506001600160a01b0384165f9081526005602052604090205460ff16155b15610cd3575060015b8015610f0a576002546001600160a01b03858116911614610d6757600c54831115610d105760405162461bcd60e51b81526004016106199061167f565b600b5483610d32866001600160a01b03165f9081526003602052604090205490565b610d3c9190611659565b1115610d5a5760405162461bcd60e51b8152600401610619906116c8565b610d648385610fdb565b91505b6002546001600160a01b03868116911614610e6d57600c54831115610d9e5760405162461bcd60e51b81526004016106199061167f565b610da883866110ae565b91506001600e5f828254610dbc9190611659565b9091555050600d54305f9081526003602052604090205410158015610de4575060135460ff16155b15610e11576013805460ff19166001179055600d54610e02906110e2565b6013805460ff191690555f600e555b6005600e54118015610e26575060135460ff16155b15610e6d576013805460ff19166001179055610e5e610e59306001600160a01b03165f9081526003602052604090205490565b6110e2565b6013805460ff191690555f600e555b6002546001600160a01b03858116911614801590610e9957506002546001600160a01b03868116911614155b15610f0a57600c54831115610ec05760405162461bcd60e51b81526004016106199061167f565b600b5483610ee2866001600160a01b03165f9081526003602052604090205490565b610eec9190611659565b1115610f0a5760405162461bcd60e51b8152600401610619906116c8565b6001600160a01b0384165f9081526003602052604081208054849290610f31908490611659565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f7d91815260200190565b60405180910390a35050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f806064600f5f015485610fef9190611714565b610ff9919061163a565b90505f6064600f600101548661100f9190611714565b611019919061163a565b90506110258183611659565b305f9081526003602052604081208054909190611043908490611659565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61107f8585611659565b60405190815260200160405180910390a38061109b838761166c565b6110a5919061166c565b95945050505050565b5f80606460115f0154856110c29190611714565b6110cc919061163a565b90505f60646011600101548661100f9190611714565b601154601254600f5460105484935f93909290916111009190611659565b61110a9190611659565b6111149190611659565b601154600f546111249190611659565b61112e9084611714565b611138919061163a565b601154601254600f546010549394505f936111539190611659565b61115d9190611659565b6111679190611659565b6012546010546111779190611659565b6111819085611714565b61118b919061163a565b90505f6111988284611659565b90505f6111a6846002611230565b90505f6111b38683611242565b9050476111bf8261124d565b5f6111ca4783611242565b90505f6111e1866111db848b61139d565b90611230565b90506111ed85826113a8565b6009546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015611223573d5f803e3d5ffd5b5050505050505050505050565b5f61123b828461163a565b9392505050565b5f61123b828461166c565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106112805761128061172b565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fb919061173f565b8160018151811061130e5761130e61172b565b6001600160a01b039283166020918202929092010152600154611334913091168461097d565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac9479061136c9085905f9086903090429060040161175a565b5f604051808303815f87803b158015611383575f80fd5b505af1158015611395573d5f803e3d5ffd5b505050505050565b5f61123b8284611714565b6001546113c09030906001600160a01b03168461097d565b60015460085460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561142d573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061145291906117c9565b5050505050565b5f806040838503121561146a575f80fd5b50508035926020909101359150565b5f6020808352835180828501525f5b818110156114a457858101830151858201604001528201611488565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461097a575f80fd5b5f80604083850312156114e9575f80fd5b82356114f4816114c4565b946020939093013593505050565b5f805f60608486031215611514575f80fd5b833561151f816114c4565b9250602084013561152f816114c4565b929592945050506040919091013590565b5f60208284031215611550575f80fd5b813561123b816114c4565b5f805f806080858703121561156e575f80fd5b5050823594602084013594506040840135936060013592509050565b5f806040838503121561159b575f80fd5b82356115a6816114c4565b9150602083013580151581146115ba575f80fd5b809150509250929050565b5f80604083850312156115d6575f80fd5b82356115e1816114c4565b915060208301356115ba816114c4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261165457634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106a4576106a4611626565b818103818111156106a4576106a4611626565b60208082526029908201527f5472616e7366657220416d6f756e74206578636565647320746865206d6178546040820152681e1b9cd05b5bdd5b9d60ba1b606082015260800190565b6020808252602c908201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760408201526b30b63632ba20b6b7bab73a1760a11b606082015260800190565b80820281158282048414176106a4576106a4611626565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561174f575f80fd5b815161123b816114c4565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156117a85784516001600160a01b031683529383019391830191600101611783565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156117db575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e66e474cb70066ff9aa5bf8a6ba9fad483fe7e346ff248c701d27a8e1ff2716b64736f6c6343000815003300000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c200000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c2

Deployed Bytecode

0x6080604052600436106101c8575f3560e01c80638da5cb5b116100f2578063c024666811610092578063dd62ed3e11610062578063dd62ed3e14610554578063ec68af7714610598578063f1a3e45f146105b7578063f2fde38b146105d1575f80fd5b8063c0246668146104e2578063c2a1e6dc14610501578063c53d4d5314610520578063c9567bf914610540575f80fd5b8063a457c2d7116100cd578063a457c2d71461047a578063a9059cbb14610499578063a9951046146104b8578063b08e8eef146104cd575f80fd5b80638da5cb5b1461040257806395d89b411461041e5780639bbb95931461044b575f80fd5b8063313ce567116101685780635342acb4116101385780635342acb41461036457806370a082311461039b578063715018a6146103cf57806375c61fba146103e3575f80fd5b8063313ce56714610300578063395093511461031b578063397dbed71461033a578063501a53541461034f575f80fd5b806318160ddd116101a357806318160ddd1461026d5780631d83b18b1461028b5780631d9caf7a146102c257806323b872dd146102e1575f80fd5b8063039a92f1146101d357806306fdde03146101f4578063095ea7b31461023e575f80fd5b366101cf57005b5f80fd5b3480156101de575f80fd5b506101f26101ed366004611459565b6105f0565b005b3480156101ff575f80fd5b5060408051808201909152601081526f0436f6e6e65637420466f7572205076560841b60208201525b6040516102359190611479565b60405180910390f35b348015610249575f80fd5b5061025d6102583660046114d8565b610694565b6040519015158152602001610235565b348015610278575f80fd5b50600a545b604051908152602001610235565b348015610296575f80fd5b506002546102aa906001600160a01b031681565b6040516001600160a01b039091168152602001610235565b3480156102cd575f80fd5b506001546102aa906001600160a01b031681565b3480156102ec575f80fd5b5061025d6102fb366004611502565b6106aa565b34801561030b575f80fd5b5060405160098152602001610235565b348015610326575f80fd5b5061025d6103353660046114d8565b6106fa565b348015610345575f80fd5b5061027d600b5481565b34801561035a575f80fd5b5061027d600d5481565b34801561036f575f80fd5b5061025d61037e366004611540565b6001600160a01b03165f9081526005602052604090205460ff1690565b3480156103a6575f80fd5b5061027d6103b5366004611540565b6001600160a01b03165f9081526003602052604090205490565b3480156103da575f80fd5b506101f2610730565b3480156103ee575f80fd5b506101f26103fd36600461155b565b610764565b34801561040d575f80fd5b505f546001600160a01b03166102aa565b348015610429575f80fd5b50604080518082019091526005815264043345056560dc1b6020820152610228565b348015610456575f80fd5b50601154601254610465919082565b60408051928352602083019190915201610235565b348015610485575f80fd5b5061025d6104943660046114d8565b610810565b3480156104a4575f80fd5b5061025d6104b33660046114d8565b610846565b3480156104c3575f80fd5b5061027d600c5481565b3480156104d8575f80fd5b5061027d600e5481565b3480156104ed575f80fd5b506101f26104fc36600461158a565b610852565b34801561050c575f80fd5b506009546102aa906001600160a01b031681565b34801561052b575f80fd5b5060025461025d90600160a01b900460ff1681565b34801561054b575f80fd5b506101f26108a5565b34801561055f575f80fd5b5061027d61056e3660046115c5565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b3480156105a3575f80fd5b506008546102aa906001600160a01b031681565b3480156105c2575f80fd5b50600f54601054610465919082565b3480156105dc575f80fd5b506101f26105eb366004611540565b6108e3565b5f546001600160a01b031633146106225760405162461bcd60e51b8152600401610619906115f1565b60405180910390fd5b6103e8600a54610632919061163a565b61063c8284611659565b116106895760405162461bcd60e51b815260206004820152601a60248201527f53686f756c6420626520626967676572207468616e20302c31250000000000006044820152606401610619565b600c91909155600b55565b5f6106a033848461097d565b5060015b92915050565b5f6106b6848484610aa0565b6001600160a01b0384165f908152600460209081526040808320338085529252909120546106f09186916106eb90869061166c565b61097d565b5060019392505050565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106a09185906106eb908690611659565b5f546001600160a01b031633146107595760405162461bcd60e51b8152600401610619906115f1565b6107625f610f8c565b565b5f546001600160a01b0316331461078d5760405162461bcd60e51b8152600401610619906115f1565b6101f461079a8486611659565b10806107b057506101f46107ae8383611659565b105b6107fc5760405162461bcd60e51b815260206004820181905260248201527f43616e2774206368616e67652066656520686967686572207468616e203439256044820152606401610619565b600f92909255601092909255601155601255565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106a09185906106eb90869061166c565b5f6106a0338484610aa0565b5f546001600160a01b0316331461087b5760405162461bcd60e51b8152600401610619906115f1565b6001600160a01b03919091165f908152600560205260409020805460ff1916911515919091179055565b5f546001600160a01b031633146108ce5760405162461bcd60e51b8152600401610619906115f1565b6002805460ff60a01b1916600160a01b179055565b5f546001600160a01b0316331461090c5760405162461bcd60e51b8152600401610619906115f1565b6001600160a01b0381166109715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610619565b61097a81610f8c565b50565b6001600160a01b0383166109df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610619565b6001600160a01b038216610a405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610619565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610619565b6001600160a01b038216610b665760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610619565b5f8111610bc75760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610619565b6001600160a01b0383165f9081526003602052604081208054839290610bee90849061166c565b909155505060025481905f90600160a01b900460ff16610c8a576001600160a01b0385165f9081526005602052604090205460ff1680610c4557506001600160a01b0384165f9081526005602052604090205460ff165b610c8a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610619565b6001600160a01b0385165f9081526005602052604090205460ff16158015610cca57506001600160a01b0384165f9081526005602052604090205460ff16155b15610cd3575060015b8015610f0a576002546001600160a01b03858116911614610d6757600c54831115610d105760405162461bcd60e51b81526004016106199061167f565b600b5483610d32866001600160a01b03165f9081526003602052604090205490565b610d3c9190611659565b1115610d5a5760405162461bcd60e51b8152600401610619906116c8565b610d648385610fdb565b91505b6002546001600160a01b03868116911614610e6d57600c54831115610d9e5760405162461bcd60e51b81526004016106199061167f565b610da883866110ae565b91506001600e5f828254610dbc9190611659565b9091555050600d54305f9081526003602052604090205410158015610de4575060135460ff16155b15610e11576013805460ff19166001179055600d54610e02906110e2565b6013805460ff191690555f600e555b6005600e54118015610e26575060135460ff16155b15610e6d576013805460ff19166001179055610e5e610e59306001600160a01b03165f9081526003602052604090205490565b6110e2565b6013805460ff191690555f600e555b6002546001600160a01b03858116911614801590610e9957506002546001600160a01b03868116911614155b15610f0a57600c54831115610ec05760405162461bcd60e51b81526004016106199061167f565b600b5483610ee2866001600160a01b03165f9081526003602052604090205490565b610eec9190611659565b1115610f0a5760405162461bcd60e51b8152600401610619906116c8565b6001600160a01b0384165f9081526003602052604081208054849290610f31908490611659565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f7d91815260200190565b60405180910390a35050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f806064600f5f015485610fef9190611714565b610ff9919061163a565b90505f6064600f600101548661100f9190611714565b611019919061163a565b90506110258183611659565b305f9081526003602052604081208054909190611043908490611659565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61107f8585611659565b60405190815260200160405180910390a38061109b838761166c565b6110a5919061166c565b95945050505050565b5f80606460115f0154856110c29190611714565b6110cc919061163a565b90505f60646011600101548661100f9190611714565b601154601254600f5460105484935f93909290916111009190611659565b61110a9190611659565b6111149190611659565b601154600f546111249190611659565b61112e9084611714565b611138919061163a565b601154601254600f546010549394505f936111539190611659565b61115d9190611659565b6111679190611659565b6012546010546111779190611659565b6111819085611714565b61118b919061163a565b90505f6111988284611659565b90505f6111a6846002611230565b90505f6111b38683611242565b9050476111bf8261124d565b5f6111ca4783611242565b90505f6111e1866111db848b61139d565b90611230565b90506111ed85826113a8565b6009546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015611223573d5f803e3d5ffd5b5050505050505050505050565b5f61123b828461163a565b9392505050565b5f61123b828461166c565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106112805761128061172b565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fb919061173f565b8160018151811061130e5761130e61172b565b6001600160a01b039283166020918202929092010152600154611334913091168461097d565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac9479061136c9085905f9086903090429060040161175a565b5f604051808303815f87803b158015611383575f80fd5b505af1158015611395573d5f803e3d5ffd5b505050505050565b5f61123b8284611714565b6001546113c09030906001600160a01b03168461097d565b60015460085460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561142d573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061145291906117c9565b5050505050565b5f806040838503121561146a575f80fd5b50508035926020909101359150565b5f6020808352835180828501525f5b818110156114a457858101830151858201604001528201611488565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461097a575f80fd5b5f80604083850312156114e9575f80fd5b82356114f4816114c4565b946020939093013593505050565b5f805f60608486031215611514575f80fd5b833561151f816114c4565b9250602084013561152f816114c4565b929592945050506040919091013590565b5f60208284031215611550575f80fd5b813561123b816114c4565b5f805f806080858703121561156e575f80fd5b5050823594602084013594506040840135936060013592509050565b5f806040838503121561159b575f80fd5b82356115a6816114c4565b9150602083013580151581146115ba575f80fd5b809150509250929050565b5f80604083850312156115d6575f80fd5b82356115e1816114c4565b915060208301356115ba816114c4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261165457634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106a4576106a4611626565b818103818111156106a4576106a4611626565b60208082526029908201527f5472616e7366657220416d6f756e74206578636565647320746865206d6178546040820152681e1b9cd05b5bdd5b9d60ba1b606082015260800190565b6020808252602c908201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760408201526b30b63632ba20b6b7bab73a1760a11b606082015260800190565b80820281158282048414176106a4576106a4611626565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561174f575f80fd5b815161123b816114c4565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156117a85784516001600160a01b031683529383019391830191600101611783565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156117db575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e66e474cb70066ff9aa5bf8a6ba9fad483fe7e346ff248c701d27a8e1ff2716b64736f6c63430008150033

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

00000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c200000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c2

-----Decoded View---------------
Arg [0] : marketingAddress (address): 0x37045C4E2Ae2b57b274Db13f537d7b025F4577C2
Arg [1] : liquidityAddress (address): 0x37045C4E2Ae2b57b274Db13f537d7b025F4577C2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c2
Arg [1] : 00000000000000000000000037045c4e2ae2b57b274db13f537d7b025f4577c2


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.