ETH Price: $3,641.33 (+0.77%)
 

Overview

ETH Balance

0.0002 ETH

Eth Value

$0.73 (@ $3,641.33/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve208436982024-09-27 18:17:23100 days ago1727461043IN
0x50f94C46...89D7564f8
0 ETH0.0007542716.18749612
Approve205186982024-08-13 9:06:23146 days ago1723539983IN
0x50f94C46...89D7564f8
0 ETH0.000117922.53024756
Approve203867192024-07-25 23:03:35164 days ago1721948615IN
0x50f94C46...89D7564f8
0 ETH0.000163173.50557817
Approve201719732024-06-25 23:26:47194 days ago1719358007IN
0x50f94C46...89D7564f8
0 ETH0.000180813.88448092
Approve200874432024-06-14 3:44:47206 days ago1718336687IN
0x50f94C46...89D7564f8
0 ETH0.0005739612.3783939
Approve200538612024-06-09 11:06:47211 days ago1717931207IN
0x50f94C46...89D7564f8
0 ETH0.000227364.88452048
Approve198464592024-05-11 11:21:35240 days ago1715426495IN
0x50f94C46...89D7564f8
0 ETH0.000270845.81858764
Approve197788432024-05-02 0:23:47249 days ago1714609427IN
0x50f94C46...89D7564f8
0 ETH0.000102784.22555138
Approve197788322024-05-02 0:21:35249 days ago1714609295IN
0x50f94C46...89D7564f8
0 ETH0.000224654.82011053
Approve197101482024-04-22 9:49:47259 days ago1713779387IN
0x50f94C46...89D7564f8
0 ETH0.000365687.90695051
Approve197003322024-04-21 0:53:59260 days ago1713660839IN
0x50f94C46...89D7564f8
0 ETH0.000375168.05982954
Approve196395362024-04-12 12:30:23269 days ago1712925023IN
0x50f94C46...89D7564f8
0 ETH0.0008891319.21043458
Approve195974652024-04-06 15:04:59274 days ago1712415899IN
0x50f94C46...89D7564f8
0 ETH0.0008479718.30217911
Approve195887552024-04-05 9:49:47276 days ago1712310587IN
0x50f94C46...89D7564f8
0 ETH0.0004793616.42560918
Approve195859312024-04-05 0:20:35276 days ago1712276435IN
0x50f94C46...89D7564f8
0 ETH0.0005979812.84670452
Approve195855492024-04-04 23:03:47276 days ago1712271827IN
0x50f94C46...89D7564f8
0 ETH0.000799117.16730348
Approve195828162024-04-04 13:51:59276 days ago1712238719IN
0x50f94C46...89D7564f8
0 ETH0.0016694235.8646455
Approve195822122024-04-04 11:49:59277 days ago1712231399IN
0x50f94C46...89D7564f8
0 ETH0.000907719.50032503
Approve195821632024-04-04 11:40:11277 days ago1712230811IN
0x50f94C46...89D7564f8
0 ETH0.0009839521.11131422
Approve195820442024-04-04 11:16:11277 days ago1712229371IN
0x50f94C46...89D7564f8
0 ETH0.0009580120.58132965
Approve195820162024-04-04 11:10:23277 days ago1712229023IN
0x50f94C46...89D7564f8
0 ETH0.0010104321.70731892
Approve195819402024-04-04 10:54:59277 days ago1712228099IN
0x50f94C46...89D7564f8
0 ETH0.0008446818.14644759
Approve195817392024-04-04 10:14:35277 days ago1712225675IN
0x50f94C46...89D7564f8
0 ETH0.0010861623.33425035
Approve195816922024-04-04 10:04:59277 days ago1712225099IN
0x50f94C46...89D7564f8
0 ETH0.0014054930.31179643
Approve195816682024-04-04 10:00:11277 days ago1712224811IN
0x50f94C46...89D7564f8
0 ETH0.0009173419.81996609
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CompanionAi

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Companion Ai .sol
// SPDX-License-Identifier: MIT
/*


 ██████╗ ██████╗ ███╗   ███╗██████╗  █████╗ ███╗   ██╗██╗ ██████╗ ███╗   ██╗     █████╗ ██╗
██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔══██╗████╗  ██║██║██╔═══██╗████╗  ██║    ██╔══██╗██║
██║     ██║   ██║██╔████╔██║██████╔╝███████║██╔██╗ ██║██║██║   ██║██╔██╗ ██║    ███████║██║
██║     ██║   ██║██║╚██╔╝██║██╔═══╝ ██╔══██║██║╚██╗██║██║██║   ██║██║╚██╗██║    ██╔══██║██║
╚██████╗╚██████╔╝██║ ╚═╝ ██║██║     ██║  ██║██║ ╚████║██║╚██████╔╝██║ ╚████║    ██║  ██║██║
 ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝    ╚═╝  ╚═╝╚═╝
                                                                                           


Engage in Smart Conversations
Chat effortlessly with a personalized AI bot, tailored to your project's specifics. 

Crypto Insights Anytime, Anywhere
Access real-time crypto research, charts, and coin metrics with our intuitive AI assistant.

Smart Digging for Unmissable Updates 
Never miss a beat! Receive instant summaries of recent group chat messages.

Join the Companion Collaborator Program
Unlock rewards and revenue by becoming a Collaborator! We invite you to shape the future of AI experiences with us.

Companion AI Signals
Spot transactions in real-time and receive calls on tokens before they're even posted! Stay one step ahead with our innovative AI signals.

Companion Cloud Bot
Experience on-the-go cloud saving within your Telegram. Seamlessly store data with our Companion Cloud Bot, making information accessible anytime, anywhere.


The Companion Ai Ecosytem 

Companion Guard Bot - t.me/CompanionGuardBot

Companion Ai🤖
@CompanionAiErc20bot

Companion Ai Cloud Bot☁️
@CompanionAi_CloudBot

Companion Ai Signals📡
https://t.me/CompanionAiSignals

Socials:

Telegram - https://t.me/CompanionAiErc20

Website - thecompanionai.com

Twitter - https://twitter.com/CompanionAIerc

Stickers - https://t.me/addstickers/CompanionAISticker
*/

pragma solidity = 0.8.24;
pragma experimental ABIEncoderV2;

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

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

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

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

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

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

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);

    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    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(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

library SafeMath {

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

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

interface IERC20 {

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address to, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

interface IERC20Metadata is IERC20 {

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

contract CompanionAi is ERC20, Ownable {
    using SafeMath for uint256;
    
    IUniswapV2Router02 public immutable _uniswapV2Router;
    address private uniswapV2Pair;
    address private deployerWallet;
    address private marketingWallet;
    address private constant deadAddress = address(0xdead);

    bool private swapping;

    string private constant _name = "Companion Ai";
    string private constant _symbol = "COAI";

    uint256 public initialTotalSupply = 1000000 * 1e18;
    uint256 public maxTransactionAmount = 20000 * 1e18;
    uint256 public maxWallet = 20000 * 1e18;
    uint256 public swapTokensAtAmount = 10000 * 1e18;

    bool public tradingOpen = false;
    bool public swapEnabled = false;

    uint256 public BuyFee = 20;
    uint256 public SellFee = 35;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor(address wallet) ERC20(_name, _symbol) {

        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        marketingWallet = payable(wallet);     
        
        deployerWallet = payable(_msgSender());
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(wallet), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(wallet), true);
        excludeFromMaxTransaction(address(0xdead), true);

        _mint(deployerWallet, initialTotalSupply);
    }

    receive() external payable {}

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"Trading is already open");
        swapEnabled = true;
        tradingOpen = true;
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

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

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(address from, address to, uint256 amount) internal override {

        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
                if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {

                if (!tradingOpen) {
                    require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
                }

                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }

                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                    require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
                } 
                
                else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
            }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance > 0;

        if (canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack(amount);
            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;

        if (takeFee) {
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(SellFee).div(100);
            }
            else {
                fees = amount.mul(BuyFee).div(100);
            }

        if (fees > 0) {
            super._transfer(from, address(this), fees);
        }
        amount -= fees;
    }
        super._transfer(from, to, amount);
    }

    function swapTokensForEth(uint256 tokenAmount) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _uniswapV2Router.WETH();

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

        _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            marketingWallet,
            block.timestamp
        );
    }

   function removeTheLimits() external onlyOwner{
        uint256 totalSupplyAmount = totalSupply();
        maxTransactionAmount = totalSupplyAmount;
        maxWallet = totalSupplyAmount;
    }

    function clearTheStuckEth() external {
        require(_msgSender() == deployerWallet);
        require(address(this).balance > 0, "Token: no ETH to clear");
        payable(msg.sender).transfer(address(this).balance);
    }

    function clearTheStuckTokens(address tokenAddress) external {
        require(_msgSender() == deployerWallet);
        IERC20 tokenContract = IERC20(tokenAddress);
        uint256 balance = tokenContract.balanceOf(address(this));
        require(balance > 0, "No tokens to clear");
        tokenContract.transfer(deployerWallet, balance);
    }

    function SetFees(uint256 _buyFee, uint256 _sellFee) external onlyOwner {
        require(_buyFee <= 30 && _sellFee <= 95, "Fees cannot exceed 30%");
        BuyFee = _buyFee;
        SellFee = _sellFee;
    }

    function setSwapTokensAtAmount(uint256 _amount) external onlyOwner {
        swapTokensAtAmount = _amount * (10 ** 18);
    }

    function manualswaps(uint256 percent) external {
        require(_msgSender() == deployerWallet);
        uint256 totalSupplyAmount = totalSupply();
        uint256 contractBalance = balanceOf(address(this));
        uint256 tokensToSwap;

        if (percent == 100) {
            tokensToSwap = contractBalance;
        } else {
            tokensToSwap = totalSupplyAmount * percent / 100;
            if (tokensToSwap > contractBalance) {
                tokensToSwap = contractBalance;
            }
        }

        require(tokensToSwap <= contractBalance, "Swap amount exceeds contract balance");
        swapTokensForEth(tokensToSwap);
    }


    function swapBack(uint256 tokens) private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 tokensToSwap; 

        if (contractBalance == 0) {
            return;
        }

    if ((BuyFee+SellFee) == 0) {

        if(contractBalance > 0 && contractBalance < swapTokensAtAmount) {
            tokensToSwap = contractBalance;
        }
        else {
            uint256 sellFeeTokens = tokens.mul(SellFee).div(100);
            tokens -= sellFeeTokens;
            if (tokens > swapTokensAtAmount) {
                tokensToSwap = swapTokensAtAmount;
            }
            else {
                tokensToSwap = tokens;
            }
        }
    }

    else {

        if(contractBalance > 0 && contractBalance < swapTokensAtAmount.div(5)) {
            return;
        }
        else if (contractBalance > 0 && contractBalance > swapTokensAtAmount.div(5) && contractBalance < swapTokensAtAmount) {
            tokensToSwap = swapTokensAtAmount.div(5);
        }
        else {
            uint256 sellFeeTokens = tokens.mul(SellFee).div(100);
            tokens -= sellFeeTokens;
            if (tokens > swapTokensAtAmount) {
                tokensToSwap = swapTokensAtAmount;
            } else {
                tokensToSwap = tokens;
            }
        }
    }
        swapTokensForEth(tokensToSwap);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"wallet","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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"BuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"SetFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","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":"clearTheStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"clearTheStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","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":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualswaps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"removeTheLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"stateMutability":"payable","type":"receive"}]

60a060405269d3c21bcecceda100000060095569043c33c1937564800000600a819055600b5569021e19e0c9bab2400000600c55600d805461ffff191690556014600e556023600f5534801562000054575f80fd5b506040516200254e3803806200254e8339810160408190526200007791620005f9565b6040518060400160405280600c81526020016b436f6d70616e696f6e20416960a01b81525060405180604001604052806004815260200163434f414960e01b8152508160039081620000ca9190620006c5565b506004620000d98282620006c5565b505050620000f6620000f06200038d60201b60201c565b62000391565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200014a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001709190620005f9565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001be573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001e49190620005f9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200022f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002559190620005f9565b600680546001600160a01b0319166001600160a01b0392909216918217905562000281906001620003e2565b6006546200029a906001600160a01b0316600162000435565b608051620002aa90600162000435565b600880546001600160a01b0319166001600160a01b038316179055620002cd3390565b600780546001600160a01b0319166001600160a01b03928316179055600554620002fa9116600162000469565b6200030730600162000469565b6200031481600162000469565b6200032361dead600162000469565b620003426200033a6005546001600160a01b031690565b600162000435565b6200034f30600162000435565b6200035c81600162000435565b6200036b61dead600162000435565b60075460095462000386916001600160a01b031690620004d1565b50620007b7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200043f62000596565b6001600160a01b03919091165f908152601160205260409020805460ff1916911515919091179055565b6200047362000596565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200052d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f82825462000540919062000791565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000524565b565b505050565b5f602082840312156200060a575f80fd5b81516001600160a01b038116811462000621575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200065157607f821691505b6020821081036200067057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620005f457805f5260205f20601f840160051c810160208510156200069d5750805b601f840160051c820191505b81811015620006be575f8155600101620006a9565b5050505050565b81516001600160401b03811115620006e157620006e162000628565b620006f981620006f284546200063c565b8462000676565b602080601f8311600181146200072f575f8415620007175750858301515b5f19600386901b1c1916600185901b17855562000789565b5f85815260208120601f198616915b828110156200075f578886015182559484019460019091019084016200073e565b50858210156200077d57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b80820180821115620007b157634e487b7160e01b5f52601160045260245ffd5b92915050565b608051611d69620007e55f395f81816103800152818161155f0152818161161601526116550152611d695ff3fe6080604052600436106101f4575f3560e01c80638da5cb5b11610108578063c9567bf91161009d578063dd8546521161006d578063dd8546521461059b578063e2f45605146105b0578063f2fde38b146105c5578063f8b45b05146105e4578063ffb54a99146105f9575f80fd5b8063c9567bf91461053f578063cf9522fd14610553578063d2a6c09d14610568578063dd62ed3e1461057c575f80fd5b8063a9059cbb116100d8578063a9059cbb146104cd578063afa4f3b2146104ec578063c02466681461050b578063c8c8ebe41461052a575f80fd5b80638da5cb5b1461045e57806395d89b411461047b5780639a7a23d61461048f578063a457c2d7146104ae575f80fd5b806339509351116101895780636ddd1713116101595780636ddd1713146103ba57806370a08231146103d8578063715018a61461040c5780637571336a146104205780637963e1d21461043f575f80fd5b806339509351146102fa5780633be6e637146103195780634fbee19314610338578063583e05681461036f575f80fd5b806323b872dd116101c457806323b872dd1461028c5780632b55d48b146102ab578063311028af146102ca578063313ce567146102df575f80fd5b806306fdde03146101ff578063095ea7b314610229578063139864a81461025857806318160ddd1461026e575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b50610213610612565b60405161022091906119a7565b60405180910390f35b348015610234575f80fd5b50610248610243366004611a07565b6106a2565b6040519015158152602001610220565b348015610263575f80fd5b5061026c6106bb565b005b348015610279575f80fd5b506002545b604051908152602001610220565b348015610297575f80fd5b506102486102a6366004611a31565b6106d8565b3480156102b6575f80fd5b5061026c6102c5366004611a6f565b6106fb565b3480156102d5575f80fd5b5061027e60095481565b3480156102ea575f80fd5b5060405160128152602001610220565b348015610305575f80fd5b50610248610314366004611a07565b610849565b348015610324575f80fd5b5061026c610333366004611a8a565b61086a565b348015610343575f80fd5b50610248610352366004611a6f565b6001600160a01b03165f9081526010602052604090205460ff1690565b34801561037a575f80fd5b506103a27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610220565b3480156103c5575f80fd5b50600d5461024890610100900460ff1681565b3480156103e3575f80fd5b5061027e6103f2366004611a6f565b6001600160a01b03165f9081526020819052604090205490565b348015610417575f80fd5b5061026c6108d4565b34801561042b575f80fd5b5061026c61043a366004611ab7565b6108e7565b34801561044a575f80fd5b5061026c610459366004611aee565b610919565b348015610469575f80fd5b506005546001600160a01b03166103a2565b348015610486575f80fd5b506102136109ec565b34801561049a575f80fd5b5061026c6104a9366004611ab7565b6109fb565b3480156104b9575f80fd5b506102486104c8366004611a07565b610a95565b3480156104d8575f80fd5b506102486104e7366004611a07565b610b0f565b3480156104f7575f80fd5b5061026c610506366004611aee565b610b1c565b348015610516575f80fd5b5061026c610525366004611ab7565b610b3c565b348015610535575f80fd5b5061027e600a5481565b34801561054a575f80fd5b5061026c610ba2565b34801561055e575f80fd5b5061027e600f5481565b348015610573575f80fd5b5061026c610c0e565b348015610587575f80fd5b5061027e610596366004611b05565b610ca1565b3480156105a6575f80fd5b5061027e600e5481565b3480156105bb575f80fd5b5061027e600c5481565b3480156105d0575f80fd5b5061026c6105df366004611a6f565b610ccb565b3480156105ef575f80fd5b5061027e600b5481565b348015610604575f80fd5b50600d546102489060ff1681565b60606003805461062190611b31565b80601f016020809104026020016040519081016040528092919081815260200182805461064d90611b31565b80156106985780601f1061066f57610100808354040283529160200191610698565b820191905f5260205f20905b81548152906001019060200180831161067b57829003601f168201915b5050505050905090565b5f336106af818585610d41565b60019150505b92915050565b6106c3610e64565b5f6106cd60025490565b600a819055600b5550565b5f336106e5858285610ebe565b6106f0858585610f30565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461071a575f80fd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610760573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107849190611b69565b90505f81116107cf5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af115801561081f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108439190611b80565b50505050565b5f336106af81858561085b8383610ca1565b6108659190611baf565b610d41565b610872610e64565b601e82111580156108845750605f8111155b6108c95760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064016107c6565b600e91909155600f55565b6108dc610e64565b6108e55f6114b9565b565b6108ef610e64565b6001600160a01b03919091165f908152601160205260409020805460ff1916911515919091179055565b6007546001600160a01b0316336001600160a01b031614610938575f80fd5b5f61094260025490565b305f908152602081905260408120549192506064849003610964575080610987565b60646109708585611bc2565b61097a9190611bd9565b9050818111156109875750805b818111156109e35760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b60648201526084016107c6565b6108438161150a565b60606004805461062190611b31565b610a03610e64565b6006546001600160a01b0390811690831603610a875760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107c6565b610a9182826116c7565b5050565b5f3381610aa28286610ca1565b905083811015610b025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c6565b6106f08286868403610d41565b5f336106af818585610f30565b610b24610e64565b610b3681670de0b6b3a7640000611bc2565b600c5550565b610b44610e64565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610baa610e64565b600d5460ff1615610bfd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016107c6565b600d805461ffff1916610101179055565b6007546001600160a01b0316336001600160a01b031614610c2d575f80fd5b5f4711610c755760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b60448201526064016107c6565b60405133904780156108fc02915f818181858888f19350505050158015610c9e573d5f803e3d5ffd5b50565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610cd3610e64565b6001600160a01b038116610d385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c6565b610c9e816114b9565b6001600160a01b038316610da35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c6565b6001600160a01b038216610e045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c6565b5f610ec98484610ca1565b90505f1981146108435781811015610f235760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c6565b6108438484848403610d41565b6001600160a01b038316610f565760405162461bcd60e51b81526004016107c690611bf8565b6001600160a01b038216610f7c5760405162461bcd60e51b81526004016107c690611c3d565b805f03610f9357610f8e83835f61171a565b505050565b6005546001600160a01b03848116911614801590610fbf57506005546001600160a01b03838116911614155b8015610fd357506001600160a01b03821615155b8015610fea57506001600160a01b03821661dead14155b80156110005750600854600160a01b900460ff16155b156112f057600d5460ff16611091576001600160a01b0383165f9081526010602052604090205460ff168061104c57506001600160a01b0382165f9081526010602052604090205460ff165b6110915760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107c6565b6001600160a01b0383165f9081526012602052604090205460ff1680156110d057506001600160a01b0382165f9081526011602052604090205460ff16155b156111b357600a548111156111455760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107c6565b600b546001600160a01b0383165f9081526020819052604090205461116a9083611baf565b11156111ae5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c6565b6112f0565b6001600160a01b0382165f9081526012602052604090205460ff1680156111f257506001600160a01b0383165f9081526011602052604090205460ff16155b1561126857600a548111156111ae5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107c6565b6001600160a01b0382165f9081526011602052604090205460ff166112f057600b546001600160a01b0383165f908152602081905260409020546112ac9083611baf565b11156112f05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c6565b305f90815260208190526040902054801580159081906113175750600d54610100900460ff165b801561132d5750600854600160a01b900460ff16155b801561135157506001600160a01b0385165f9081526012602052604090205460ff16155b801561137557506001600160a01b0385165f9081526010602052604090205460ff16155b801561139957506001600160a01b0384165f9081526010602052604090205460ff16155b156113c8576008805460ff60a01b1916600160a01b1790556113ba83611842565b6008805460ff60a01b191690555b6008546001600160a01b0386165f9081526010602052604090205460ff600160a01b90920482161591168061141457506001600160a01b0385165f9081526010602052604090205460ff165b1561141c57505f5b5f81156114a5576001600160a01b0386165f9081526012602052604090205460ff161561146a57611463606461145d600f548861198a90919063ffffffff16565b9061199c565b9050611487565b611484606461145d600e548861198a90919063ffffffff16565b90505b80156114985761149887308361171a565b6114a28186611c80565b94505b6114b087878761171a565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061153d5761153d611c93565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dd9190611ca7565b816001815181106115f0576115f0611c93565b60200260200101906001600160a01b031690816001600160a01b03168152505061163b307f000000000000000000000000000000000000000000000000000000000000000084610d41565b60085460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926116969287925f92889291909116904290600401611cc2565b5f604051808303815f87803b1580156116ad575f80fd5b505af11580156116bf573d5f803e3d5ffd5b505050505050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117405760405162461bcd60e51b81526004016107c690611bf8565b6001600160a01b0382166117665760405162461bcd60e51b81526004016107c690611c3d565b6001600160a01b0383165f90815260208190526040902054818110156117dd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c6565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610843565b305f908152602081905260408120549081810361185e57505050565b600f54600e5461186e9190611baf565b5f036118d7575f821180156118845750600c5482105b15611890575080611981565b5f6118ab606461145d600f548761198a90919063ffffffff16565b90506118b78185611c80565b9350600c548411156118cd57600c5491506118d1565b8391505b50611981565b5f821180156118f25750600c546118ef90600561199c565b82105b156118fc57505050565b5f821180156119175750600c5461191490600561199c565b82115b80156119245750600c5482105b1561193e57600c5461193790600561199c565b9050611981565b5f611959606461145d600f548761198a90919063ffffffff16565b90506119658185611c80565b9350600c5484111561197b57600c54915061197f565b8391505b505b610f8e8161150a565b5f6119958284611bc2565b9392505050565b5f6119958284611bd9565b5f602080835283518060208501525f5b818110156119d3578581018301518582016040015282016119b7565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9e575f80fd5b5f8060408385031215611a18575f80fd5b8235611a23816119f3565b946020939093013593505050565b5f805f60608486031215611a43575f80fd5b8335611a4e816119f3565b92506020840135611a5e816119f3565b929592945050506040919091013590565b5f60208284031215611a7f575f80fd5b8135611995816119f3565b5f8060408385031215611a9b575f80fd5b50508035926020909101359150565b8015158114610c9e575f80fd5b5f8060408385031215611ac8575f80fd5b8235611ad3816119f3565b91506020830135611ae381611aaa565b809150509250929050565b5f60208284031215611afe575f80fd5b5035919050565b5f8060408385031215611b16575f80fd5b8235611b21816119f3565b91506020830135611ae3816119f3565b600181811c90821680611b4557607f821691505b602082108103611b6357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611b79575f80fd5b5051919050565b5f60208284031215611b90575f80fd5b815161199581611aaa565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106b5576106b5611b9b565b80820281158282048414176106b5576106b5611b9b565b5f82611bf357634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156106b5576106b5611b9b565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611cb7575f80fd5b8151611995816119f3565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611d125784516001600160a01b031683529383019391830191600101611ced565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f10133ab682ec4f5b2ad66804aa2c84f239b2177d3ef7e6480045d6bba44c31c64736f6c63430008180033000000000000000000000000cf86909cbb4e603a3583076e1edc95d321ecfe38

Deployed Bytecode

0x6080604052600436106101f4575f3560e01c80638da5cb5b11610108578063c9567bf91161009d578063dd8546521161006d578063dd8546521461059b578063e2f45605146105b0578063f2fde38b146105c5578063f8b45b05146105e4578063ffb54a99146105f9575f80fd5b8063c9567bf91461053f578063cf9522fd14610553578063d2a6c09d14610568578063dd62ed3e1461057c575f80fd5b8063a9059cbb116100d8578063a9059cbb146104cd578063afa4f3b2146104ec578063c02466681461050b578063c8c8ebe41461052a575f80fd5b80638da5cb5b1461045e57806395d89b411461047b5780639a7a23d61461048f578063a457c2d7146104ae575f80fd5b806339509351116101895780636ddd1713116101595780636ddd1713146103ba57806370a08231146103d8578063715018a61461040c5780637571336a146104205780637963e1d21461043f575f80fd5b806339509351146102fa5780633be6e637146103195780634fbee19314610338578063583e05681461036f575f80fd5b806323b872dd116101c457806323b872dd1461028c5780632b55d48b146102ab578063311028af146102ca578063313ce567146102df575f80fd5b806306fdde03146101ff578063095ea7b314610229578063139864a81461025857806318160ddd1461026e575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b50610213610612565b60405161022091906119a7565b60405180910390f35b348015610234575f80fd5b50610248610243366004611a07565b6106a2565b6040519015158152602001610220565b348015610263575f80fd5b5061026c6106bb565b005b348015610279575f80fd5b506002545b604051908152602001610220565b348015610297575f80fd5b506102486102a6366004611a31565b6106d8565b3480156102b6575f80fd5b5061026c6102c5366004611a6f565b6106fb565b3480156102d5575f80fd5b5061027e60095481565b3480156102ea575f80fd5b5060405160128152602001610220565b348015610305575f80fd5b50610248610314366004611a07565b610849565b348015610324575f80fd5b5061026c610333366004611a8a565b61086a565b348015610343575f80fd5b50610248610352366004611a6f565b6001600160a01b03165f9081526010602052604090205460ff1690565b34801561037a575f80fd5b506103a27f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610220565b3480156103c5575f80fd5b50600d5461024890610100900460ff1681565b3480156103e3575f80fd5b5061027e6103f2366004611a6f565b6001600160a01b03165f9081526020819052604090205490565b348015610417575f80fd5b5061026c6108d4565b34801561042b575f80fd5b5061026c61043a366004611ab7565b6108e7565b34801561044a575f80fd5b5061026c610459366004611aee565b610919565b348015610469575f80fd5b506005546001600160a01b03166103a2565b348015610486575f80fd5b506102136109ec565b34801561049a575f80fd5b5061026c6104a9366004611ab7565b6109fb565b3480156104b9575f80fd5b506102486104c8366004611a07565b610a95565b3480156104d8575f80fd5b506102486104e7366004611a07565b610b0f565b3480156104f7575f80fd5b5061026c610506366004611aee565b610b1c565b348015610516575f80fd5b5061026c610525366004611ab7565b610b3c565b348015610535575f80fd5b5061027e600a5481565b34801561054a575f80fd5b5061026c610ba2565b34801561055e575f80fd5b5061027e600f5481565b348015610573575f80fd5b5061026c610c0e565b348015610587575f80fd5b5061027e610596366004611b05565b610ca1565b3480156105a6575f80fd5b5061027e600e5481565b3480156105bb575f80fd5b5061027e600c5481565b3480156105d0575f80fd5b5061026c6105df366004611a6f565b610ccb565b3480156105ef575f80fd5b5061027e600b5481565b348015610604575f80fd5b50600d546102489060ff1681565b60606003805461062190611b31565b80601f016020809104026020016040519081016040528092919081815260200182805461064d90611b31565b80156106985780601f1061066f57610100808354040283529160200191610698565b820191905f5260205f20905b81548152906001019060200180831161067b57829003601f168201915b5050505050905090565b5f336106af818585610d41565b60019150505b92915050565b6106c3610e64565b5f6106cd60025490565b600a819055600b5550565b5f336106e5858285610ebe565b6106f0858585610f30565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461071a575f80fd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610760573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107849190611b69565b90505f81116107cf5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af115801561081f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108439190611b80565b50505050565b5f336106af81858561085b8383610ca1565b6108659190611baf565b610d41565b610872610e64565b601e82111580156108845750605f8111155b6108c95760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064016107c6565b600e91909155600f55565b6108dc610e64565b6108e55f6114b9565b565b6108ef610e64565b6001600160a01b03919091165f908152601160205260409020805460ff1916911515919091179055565b6007546001600160a01b0316336001600160a01b031614610938575f80fd5b5f61094260025490565b305f908152602081905260408120549192506064849003610964575080610987565b60646109708585611bc2565b61097a9190611bd9565b9050818111156109875750805b818111156109e35760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b60648201526084016107c6565b6108438161150a565b60606004805461062190611b31565b610a03610e64565b6006546001600160a01b0390811690831603610a875760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107c6565b610a9182826116c7565b5050565b5f3381610aa28286610ca1565b905083811015610b025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c6565b6106f08286868403610d41565b5f336106af818585610f30565b610b24610e64565b610b3681670de0b6b3a7640000611bc2565b600c5550565b610b44610e64565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610baa610e64565b600d5460ff1615610bfd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016107c6565b600d805461ffff1916610101179055565b6007546001600160a01b0316336001600160a01b031614610c2d575f80fd5b5f4711610c755760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b60448201526064016107c6565b60405133904780156108fc02915f818181858888f19350505050158015610c9e573d5f803e3d5ffd5b50565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610cd3610e64565b6001600160a01b038116610d385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c6565b610c9e816114b9565b6001600160a01b038316610da35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c6565b6001600160a01b038216610e045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c6565b5f610ec98484610ca1565b90505f1981146108435781811015610f235760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c6565b6108438484848403610d41565b6001600160a01b038316610f565760405162461bcd60e51b81526004016107c690611bf8565b6001600160a01b038216610f7c5760405162461bcd60e51b81526004016107c690611c3d565b805f03610f9357610f8e83835f61171a565b505050565b6005546001600160a01b03848116911614801590610fbf57506005546001600160a01b03838116911614155b8015610fd357506001600160a01b03821615155b8015610fea57506001600160a01b03821661dead14155b80156110005750600854600160a01b900460ff16155b156112f057600d5460ff16611091576001600160a01b0383165f9081526010602052604090205460ff168061104c57506001600160a01b0382165f9081526010602052604090205460ff165b6110915760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107c6565b6001600160a01b0383165f9081526012602052604090205460ff1680156110d057506001600160a01b0382165f9081526011602052604090205460ff16155b156111b357600a548111156111455760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107c6565b600b546001600160a01b0383165f9081526020819052604090205461116a9083611baf565b11156111ae5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c6565b6112f0565b6001600160a01b0382165f9081526012602052604090205460ff1680156111f257506001600160a01b0383165f9081526011602052604090205460ff16155b1561126857600a548111156111ae5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107c6565b6001600160a01b0382165f9081526011602052604090205460ff166112f057600b546001600160a01b0383165f908152602081905260409020546112ac9083611baf565b11156112f05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107c6565b305f90815260208190526040902054801580159081906113175750600d54610100900460ff165b801561132d5750600854600160a01b900460ff16155b801561135157506001600160a01b0385165f9081526012602052604090205460ff16155b801561137557506001600160a01b0385165f9081526010602052604090205460ff16155b801561139957506001600160a01b0384165f9081526010602052604090205460ff16155b156113c8576008805460ff60a01b1916600160a01b1790556113ba83611842565b6008805460ff60a01b191690555b6008546001600160a01b0386165f9081526010602052604090205460ff600160a01b90920482161591168061141457506001600160a01b0385165f9081526010602052604090205460ff165b1561141c57505f5b5f81156114a5576001600160a01b0386165f9081526012602052604090205460ff161561146a57611463606461145d600f548861198a90919063ffffffff16565b9061199c565b9050611487565b611484606461145d600e548861198a90919063ffffffff16565b90505b80156114985761149887308361171a565b6114a28186611c80565b94505b6114b087878761171a565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061153d5761153d611c93565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dd9190611ca7565b816001815181106115f0576115f0611c93565b60200260200101906001600160a01b031690816001600160a01b03168152505061163b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610d41565b60085460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926116969287925f92889291909116904290600401611cc2565b5f604051808303815f87803b1580156116ad575f80fd5b505af11580156116bf573d5f803e3d5ffd5b505050505050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117405760405162461bcd60e51b81526004016107c690611bf8565b6001600160a01b0382166117665760405162461bcd60e51b81526004016107c690611c3d565b6001600160a01b0383165f90815260208190526040902054818110156117dd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c6565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610843565b305f908152602081905260408120549081810361185e57505050565b600f54600e5461186e9190611baf565b5f036118d7575f821180156118845750600c5482105b15611890575080611981565b5f6118ab606461145d600f548761198a90919063ffffffff16565b90506118b78185611c80565b9350600c548411156118cd57600c5491506118d1565b8391505b50611981565b5f821180156118f25750600c546118ef90600561199c565b82105b156118fc57505050565b5f821180156119175750600c5461191490600561199c565b82115b80156119245750600c5482105b1561193e57600c5461193790600561199c565b9050611981565b5f611959606461145d600f548761198a90919063ffffffff16565b90506119658185611c80565b9350600c5484111561197b57600c54915061197f565b8391505b505b610f8e8161150a565b5f6119958284611bc2565b9392505050565b5f6119958284611bd9565b5f602080835283518060208501525f5b818110156119d3578581018301518582016040015282016119b7565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9e575f80fd5b5f8060408385031215611a18575f80fd5b8235611a23816119f3565b946020939093013593505050565b5f805f60608486031215611a43575f80fd5b8335611a4e816119f3565b92506020840135611a5e816119f3565b929592945050506040919091013590565b5f60208284031215611a7f575f80fd5b8135611995816119f3565b5f8060408385031215611a9b575f80fd5b50508035926020909101359150565b8015158114610c9e575f80fd5b5f8060408385031215611ac8575f80fd5b8235611ad3816119f3565b91506020830135611ae381611aaa565b809150509250929050565b5f60208284031215611afe575f80fd5b5035919050565b5f8060408385031215611b16575f80fd5b8235611b21816119f3565b91506020830135611ae3816119f3565b600181811c90821680611b4557607f821691505b602082108103611b6357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611b79575f80fd5b5051919050565b5f60208284031215611b90575f80fd5b815161199581611aaa565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106b5576106b5611b9b565b80820281158282048414176106b5576106b5611b9b565b5f82611bf357634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156106b5576106b5611b9b565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611cb7575f80fd5b8151611995816119f3565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611d125784516001600160a01b031683529383019391830191600101611ced565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f10133ab682ec4f5b2ad66804aa2c84f239b2177d3ef7e6480045d6bba44c31c64736f6c63430008180033

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

000000000000000000000000cf86909cbb4e603a3583076e1edc95d321ecfe38

-----Decoded View---------------
Arg [0] : wallet (address): 0xcf86909CBb4e603a3583076e1eDc95D321eCfe38

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cf86909cbb4e603a3583076e1edc95d321ecfe38


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  ]

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.