ETH Price: $3,094.83 (-1.81%)

Contract

0x2056EC69ac5aFaF210b851FF74dE4c194fCd986e
 

Overview

ETH Balance

0.5975 ETH

Eth Value

$1,849.16 (@ $3,094.83/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve211870492024-11-14 16:12:475 days ago1731600767IN
0x2056EC69...94fCd986e
0 ETH0.0021021145.16017981
Approve211463462024-11-08 23:55:4710 days ago1731110147IN
0x2056EC69...94fCd986e
0 ETH0.000358757.69721497
Transfer211462082024-11-08 23:27:5910 days ago1731108479IN
0x2056EC69...94fCd986e
0 ETH0.0005322910.07006427
Approve211309732024-11-06 20:22:5913 days ago1730924579IN
0x2056EC69...94fCd986e
0 ETH0.0010754523.10421514
Approve211291352024-11-06 14:14:2313 days ago1730902463IN
0x2056EC69...94fCd986e
0 ETH0.0007396615.89047125
Transfer211120292024-11-04 4:55:3515 days ago1730696135IN
0x2056EC69...94fCd986e
0 ETH0.000315444.50899214
Approve210624922024-10-28 6:58:4722 days ago1730098727IN
0x2056EC69...94fCd986e
0 ETH0.000347657.46878441
Approve210471112024-10-26 3:28:2324 days ago1729913303IN
0x2056EC69...94fCd986e
0 ETH0.000264215.67618384
Approve210108582024-10-21 2:06:3529 days ago1729476395IN
0x2056EC69...94fCd986e
0 ETH0.000353167.58703019
Approve208969662024-10-05 4:32:5945 days ago1728102779IN
0x2056EC69...94fCd986e
0 ETH0.000126055.19513032
Approve208781632024-10-02 13:38:2348 days ago1727876303IN
0x2056EC69...94fCd986e
0 ETH0.0005038910.82533554
Approve208773142024-10-02 10:47:3548 days ago1727866055IN
0x2056EC69...94fCd986e
0 ETH0.00014846.11628688
Approve208758912024-10-02 6:02:2348 days ago1727848943IN
0x2056EC69...94fCd986e
0 ETH0.000253855.45362151
Approve208756362024-10-02 5:11:2348 days ago1727845883IN
0x2056EC69...94fCd986e
0 ETH0.000183697.57063901
Approve208756352024-10-02 5:11:1148 days ago1727845871IN
0x2056EC69...94fCd986e
0 ETH0.000177567.3
Approve208668782024-09-30 23:51:5949 days ago1727740319IN
0x2056EC69...94fCd986e
0 ETH0.00040238.63169025
Approve208425612024-09-27 14:28:5953 days ago1727447339IN
0x2056EC69...94fCd986e
0 ETH0.0005953524.47612573
Approve208102262024-09-23 2:13:3557 days ago1727057615IN
0x2056EC69...94fCd986e
0 ETH0.000373648.07075971
Approve207974312024-09-21 7:22:2359 days ago1726903343IN
0x2056EC69...94fCd986e
0 ETH0.000412298.85746066
Approve207377492024-09-12 23:16:1167 days ago1726182971IN
0x2056EC69...94fCd986e
0 ETH0.000155733.36400004
Transfer207377172024-09-12 23:09:4767 days ago1726182587IN
0x2056EC69...94fCd986e
0 ETH0.000124952.36332164
Approve206708532024-09-03 15:09:4777 days ago1725376187IN
0x2056EC69...94fCd986e
0 ETH0.000099994.12098471
Approve206105862024-08-26 5:10:1185 days ago1724649011IN
0x2056EC69...94fCd986e
0 ETH0.000035710.76722811
Approve206002792024-08-24 18:34:3587 days ago1724524475IN
0x2056EC69...94fCd986e
0 ETH0.000114692.4774296
Approve205942852024-08-23 22:28:2387 days ago1724452103IN
0x2056EC69...94fCd986e
0 ETH0.000094282.03704382
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:
PORTAI

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Port AI .sol
// SPDX-License-Identifier: MIT
/*
PORT AI

Manage your portfolio like never before with our Intelligent Insights

PORT AI is an AI-Powered Telegram Bot that helps your portfolio managements with user friendly interface easy to access anywhere!

Create Virtual Portfolios: Learn and experiment with different investment strategies risk-free! Dive into the world of crypto investing and refine your skills with our virtual portfolio feature.

Check Your Portfolio: Get real-time insights into your crypto portfolios, track performance, and stay ahead of the market trends with our intuitive bot!

Token Chart Checker: Stay on top of the market with real-time token charts! Analyze price trends, conduct technical analysis, and make informed trading decisions seamlessly within Telegram.

Telegram • https://t.me/PortAiErc20

Website • https://www.portaierc20.com/

Twitter/X • x.com/PortAIOfficial

Bot • https://t.me/Port_AI_bot

Docs • https://docs.portaierc20.com/
*/

pragma solidity = 0.8.25;
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 PORTAI 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 = "PORT AI";
    string private constant _symbol = "POAI";

    uint256 public initialTotalSupply = 1000000000 * 1e18;
    uint256 public maxTransactionAmount = 20000000 * 1e18;
    uint256 public maxWallet = 20000000 * 1e18;
    uint256 public swapTokensAtAmount = 10000000 * 1e18;

    bool public tradingOpen = 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() {
        tradingOpen = true;
    }

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

    function excludeFromFees(address account, bool excluded) private {
        _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;
        }
                bool isTransfer = !automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to];

                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 && !isTransfer;

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

        bool takeFee = !swapping && !isTransfer;

        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 removeLimits() external onlyOwner {
        uint256 totalSupplyAmount = totalSupply();
        maxTransactionAmount = totalSupplyAmount;
        maxWallet = totalSupplyAmount;
    }

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

    function clearStuckTokens(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 <= 20 && _sellFee <= 35, "Fees cannot exceed 30%");
        BuyFee = _buyFee;
        SellFee = _sellFee;
    }

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

    function manualSwap(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":"clearStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"clearStuckTokens","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":"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":"manualSwap","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":"removeLimits","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":"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"}]

60a06040526b033b2e3c9fd0803ce80000006009556a108b2a2c28029094000000600a819055600b556a084595161401484a000000600c55600d805460ff191690556014600e556023600f55348015610056575f80fd5b506040516123cf3803806123cf833981016040819052610075916105b3565b60405180604001604052806007815260200166504f525420414960c81b81525060405180604001604052806004815260200163504f414960e01b81525081600390816100c19190610677565b5060046100ce8282610677565b5050506100e76100e26103e760201b60201c565b6103eb565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561013a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061015e91906105b3565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101cf91906105b3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023d91906105b3565b600680546001600160a01b0319166001600160a01b0392909216918217905561026790600161043c565b6006546001600160a01b03165f908152601160205260409020805460ff191660011790556080516001600160a01b03165f908152601160205260409020805460ff19166001179055600880546001600160a01b0319166001600160a01b0383161790556102d13390565b600780546001600160a01b0319166001600160a01b039283161790556005546102fc9116600161048f565b61030730600161048f565b61031281600161048f565b61031f61dead600161048f565b6103576103346005546001600160a01b031690565b6001600160a01b03165f908152601160205260409020805460ff19166001179055565b305f908152601160205260409020805460ff191660011790556001600160a01b0381165f908152601160205260409020805460ff1916600117905561dead5f5260116020527f97847ee99463795296047093514439c3127772df3715e628aa85601cf8541716805460ff191660011790556007546009546103e1916001600160a01b0316906104ed565b5061075b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166105475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f8282546105589190610736565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b5f602082840312156105c3575f80fd5b81516001600160a01b03811681146105d9575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061060857607f821691505b60208210810361062657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156105ae57805f5260205f20601f840160051c810160208510156106515750805b601f840160051c820191505b81811015610670575f815560010161065d565b5050505050565b81516001600160401b03811115610690576106906105e0565b6106a48161069e84546105f4565b8461062c565b602080601f8311600181146106d7575f84156106c05750858301515b5f19600386901b1c1916600185901b17855561072e565b5f85815260208120601f198616915b82811015610705578886015182559484019460019091019084016106e6565b508582101561072257878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b8082018082111561075557634e487b7160e01b5f52601160045260245ffd5b92915050565b608051611c476107885f395f818161034b015281816114a70152818161155e015261159d0152611c475ff3fe6080604052600436106101d3575f3560e01c80638da5cb5b116100fd578063c9567bf911610092578063e2f4560511610062578063e2f4560514610533578063f2fde38b14610548578063f8b45b0514610567578063ffb54a991461057c575f80fd5b8063c9567bf9146104d6578063cf9522fd146104ea578063dd62ed3e146104ff578063dd8546521461051e575f80fd5b8063a9059cbb116100cd578063a9059cbb14610464578063afa4f3b214610483578063b70143c9146104a2578063c8c8ebe4146104c1575f80fd5b80638da5cb5b146103f557806395d89b41146104125780639a7a23d614610426578063a457c2d714610445575f80fd5b8063395093511161017357806370a082311161014357806370a0823114610385578063715018a6146103b9578063751039fc146103cd57806389291a8f146103e1575f80fd5b806339509351146102c55780633be6e637146102e45780634fbee19314610303578063583e05681461033a575f80fd5b806323b872dd116101ae57806323b872dd14610255578063311028af14610274578063313ce56714610289578063346cc7be146102a4575f80fd5b806306fdde03146101de578063095ea7b31461020857806318160ddd14610237575f80fd5b366101da57005b5f80fd5b3480156101e9575f80fd5b506101f2610595565b6040516101ff919061189c565b60405180910390f35b348015610213575f80fd5b506102276102223660046118e5565b610625565b60405190151581526020016101ff565b348015610242575f80fd5b506002545b6040519081526020016101ff565b348015610260575f80fd5b5061022761026f36600461190f565b61063e565b34801561027f575f80fd5b5061024760095481565b348015610294575f80fd5b50604051601281526020016101ff565b3480156102af575f80fd5b506102c36102be36600461194d565b610661565b005b3480156102d0575f80fd5b506102276102df3660046118e5565b6107af565b3480156102ef575f80fd5b506102c36102fe366004611968565b6107d0565b34801561030e575f80fd5b5061022761031d36600461194d565b6001600160a01b03165f9081526010602052604090205460ff1690565b348015610345575f80fd5b5061036d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ff565b348015610390575f80fd5b5061024761039f36600461194d565b6001600160a01b03165f9081526020819052604090205490565b3480156103c4575f80fd5b506102c361083a565b3480156103d8575f80fd5b506102c361084d565b3480156103ec575f80fd5b506102c361086a565b348015610400575f80fd5b506005546001600160a01b031661036d565b34801561041d575f80fd5b506101f26108fd565b348015610431575f80fd5b506102c3610440366004611995565b61090c565b348015610450575f80fd5b5061022761045f3660046118e5565b6109a6565b34801561046f575f80fd5b5061022761047e3660046118e5565b610a20565b34801561048e575f80fd5b506102c361049d3660046119cc565b610a2d565b3480156104ad575f80fd5b506102c36104bc3660046119cc565b610a4d565b3480156104cc575f80fd5b50610247600a5481565b3480156104e1575f80fd5b506102c3610b20565b3480156104f5575f80fd5b50610247600f5481565b34801561050a575f80fd5b506102476105193660046119e3565b610b37565b348015610529575f80fd5b50610247600e5481565b34801561053e575f80fd5b50610247600c5481565b348015610553575f80fd5b506102c361056236600461194d565b610b61565b348015610572575f80fd5b50610247600b5481565b348015610587575f80fd5b50600d546102279060ff1681565b6060600380546105a490611a0f565b80601f01602080910402602001604051908101604052809291908181526020018280546105d090611a0f565b801561061b5780601f106105f25761010080835404028352916020019161061b565b820191905f5260205f20905b8154815290600101906020018083116105fe57829003601f168201915b5050505050905090565b5f33610632818585610bd7565b60019150505b92915050565b5f3361064b858285610cfa565b610656858585610d6c565b506001949350505050565b6007546001600160a01b0316336001600160a01b031614610680575f80fd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ea9190611a47565b90505f81116107355760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190611a5e565b50505050565b5f336106328185856107c18383610b37565b6107cb9190611a8d565b610bd7565b6107d8611354565b601482111580156107ea575060238111155b61082f5760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b604482015260640161072c565b600e91909155600f55565b610842611354565b61084b5f6113ae565b565b610855611354565b5f61085f60025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b031614610889575f80fd5b5f47116108d15760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b604482015260640161072c565b60405133904780156108fc02915f818181858888f193505050501580156108fa573d5f803e3d5ffd5b50565b6060600480546105a490611a0f565b610914611354565b6006546001600160a01b03908116908316036109985760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161072c565b6109a282826113ff565b5050565b5f33816109b38286610b37565b905083811015610a135760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072c565b6106568286868403610bd7565b5f33610632818585610d6c565b610a35611354565b610a4781670de0b6b3a7640000611aa0565b600c5550565b6007546001600160a01b0316336001600160a01b031614610a6c575f80fd5b5f610a7660025490565b305f908152602081905260408120549192506064849003610a98575080610abb565b6064610aa48585611aa0565b610aae9190611ab7565b905081811115610abb5750805b81811115610b175760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b606482015260840161072c565b6107a981611452565b610b28611354565b600d805460ff19166001179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b69611354565b6001600160a01b038116610bce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072c565b6108fa816113ae565b6001600160a01b038316610c395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072c565b6001600160a01b038216610c9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610d058484610b37565b90505f1981146107a95781811015610d5f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161072c565b6107a98484848403610bd7565b6001600160a01b038316610d925760405162461bcd60e51b815260040161072c90611ad6565b6001600160a01b038216610db85760405162461bcd60e51b815260040161072c90611b1b565b805f03610dcf57610dca83835f61160f565b505050565b6001600160a01b0383165f9081526012602052604081205460ff16158015610e0f57506001600160a01b0383165f9081526012602052604090205460ff16155b9050610e236005546001600160a01b031690565b6001600160a01b0316846001600160a01b031614158015610e5257506005546001600160a01b03848116911614155b8015610e6657506001600160a01b03831615155b8015610e7d57506001600160a01b03831661dead14155b8015610e935750600854600160a01b900460ff16155b1561118357600d5460ff16610f24576001600160a01b0384165f9081526010602052604090205460ff1680610edf57506001600160a01b0383165f9081526010602052604090205460ff165b610f245760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161072c565b6001600160a01b0384165f9081526012602052604090205460ff168015610f6357506001600160a01b0383165f9081526011602052604090205460ff16155b1561104657600a54821115610fd85760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161072c565b600b546001600160a01b0384165f90815260208190526040902054610ffd9084611a8d565b11156110415760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161072c565b611183565b6001600160a01b0383165f9081526012602052604090205460ff16801561108557506001600160a01b0384165f9081526011602052604090205460ff16155b156110fb57600a548211156110415760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161072c565b6001600160a01b0383165f9081526011602052604090205460ff1661118357600b546001600160a01b0384165f9081526020819052604090205461113f9084611a8d565b11156111835760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161072c565b305f908152602081905260408120549081158015906111a0575082155b90508080156111b95750600854600160a01b900460ff16155b80156111dd57506001600160a01b0386165f9081526012602052604090205460ff16155b801561120157506001600160a01b0386165f9081526010602052604090205460ff16155b801561122557506001600160a01b0385165f9081526010602052604090205460ff16155b15611254576008805460ff60a01b1916600160a01b17905561124684611737565b6008805460ff60a01b191690555b6008545f90600160a01b900460ff1615801561126e575083155b6001600160a01b0388165f9081526010602052604090205490915060ff16806112ae57506001600160a01b0386165f9081526010602052604090205460ff165b156112b657505f5b5f811561133f576001600160a01b0387165f9081526012602052604090205460ff1615611304576112fd60646112f7600f548961187f90919063ffffffff16565b90611891565b9050611321565b61131e60646112f7600e548961187f90919063ffffffff16565b90505b80156113325761133288308361160f565b61133c8187611b5e565b95505b61134a88888861160f565b5050505050505050565b6005546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161072c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061148557611485611b71565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611501573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115259190611b85565b8160018151811061153857611538611b71565b60200260200101906001600160a01b031690816001600160a01b031681525050611583307f000000000000000000000000000000000000000000000000000000000000000084610bd7565b60085460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926115de9287925f92889291909116904290600401611ba0565b5f604051808303815f87803b1580156115f5575f80fd5b505af1158015611607573d5f803e3d5ffd5b505050505050565b6001600160a01b0383166116355760405162461bcd60e51b815260040161072c90611ad6565b6001600160a01b03821661165b5760405162461bcd60e51b815260040161072c90611b1b565b6001600160a01b0383165f90815260208190526040902054818110156116d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072c565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107a9565b305f908152602081905260408120549081810361175357505050565b600f54600e546117639190611a8d565b5f036117cc575f821180156117795750600c5482105b15611785575080611876565b5f6117a060646112f7600f548761187f90919063ffffffff16565b90506117ac8185611b5e565b9350600c548411156117c257600c5491506117c6565b8391505b50611876565b5f821180156117e75750600c546117e4906005611891565b82105b156117f157505050565b5f8211801561180c5750600c54611809906005611891565b82115b80156118195750600c5482105b1561183357600c5461182c906005611891565b9050611876565b5f61184e60646112f7600f548761187f90919063ffffffff16565b905061185a8185611b5e565b9350600c5484111561187057600c549150611874565b8391505b505b610dca81611452565b5f61188a8284611aa0565b9392505050565b5f61188a8284611ab7565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146108fa575f80fd5b5f80604083850312156118f6575f80fd5b8235611901816118d1565b946020939093013593505050565b5f805f60608486031215611921575f80fd5b833561192c816118d1565b9250602084013561193c816118d1565b929592945050506040919091013590565b5f6020828403121561195d575f80fd5b813561188a816118d1565b5f8060408385031215611979575f80fd5b50508035926020909101359150565b80151581146108fa575f80fd5b5f80604083850312156119a6575f80fd5b82356119b1816118d1565b915060208301356119c181611988565b809150509250929050565b5f602082840312156119dc575f80fd5b5035919050565b5f80604083850312156119f4575f80fd5b82356119ff816118d1565b915060208301356119c1816118d1565b600181811c90821680611a2357607f821691505b602082108103611a4157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611a57575f80fd5b5051919050565b5f60208284031215611a6e575f80fd5b815161188a81611988565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561063857610638611a79565b808202811582820484141761063857610638611a79565b5f82611ad157634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063857610638611a79565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611b95575f80fd5b815161188a816118d1565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bf05784516001600160a01b031683529383019391830191600101611bcb565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a2e304c17dd0f97679a02f11d7b67de63a50cb28359db7307e8354209fe5214764736f6c63430008190033000000000000000000000000f6b7dd7d3055872d2b7c0c594ff97908001e884f

Deployed Bytecode

0x6080604052600436106101d3575f3560e01c80638da5cb5b116100fd578063c9567bf911610092578063e2f4560511610062578063e2f4560514610533578063f2fde38b14610548578063f8b45b0514610567578063ffb54a991461057c575f80fd5b8063c9567bf9146104d6578063cf9522fd146104ea578063dd62ed3e146104ff578063dd8546521461051e575f80fd5b8063a9059cbb116100cd578063a9059cbb14610464578063afa4f3b214610483578063b70143c9146104a2578063c8c8ebe4146104c1575f80fd5b80638da5cb5b146103f557806395d89b41146104125780639a7a23d614610426578063a457c2d714610445575f80fd5b8063395093511161017357806370a082311161014357806370a0823114610385578063715018a6146103b9578063751039fc146103cd57806389291a8f146103e1575f80fd5b806339509351146102c55780633be6e637146102e45780634fbee19314610303578063583e05681461033a575f80fd5b806323b872dd116101ae57806323b872dd14610255578063311028af14610274578063313ce56714610289578063346cc7be146102a4575f80fd5b806306fdde03146101de578063095ea7b31461020857806318160ddd14610237575f80fd5b366101da57005b5f80fd5b3480156101e9575f80fd5b506101f2610595565b6040516101ff919061189c565b60405180910390f35b348015610213575f80fd5b506102276102223660046118e5565b610625565b60405190151581526020016101ff565b348015610242575f80fd5b506002545b6040519081526020016101ff565b348015610260575f80fd5b5061022761026f36600461190f565b61063e565b34801561027f575f80fd5b5061024760095481565b348015610294575f80fd5b50604051601281526020016101ff565b3480156102af575f80fd5b506102c36102be36600461194d565b610661565b005b3480156102d0575f80fd5b506102276102df3660046118e5565b6107af565b3480156102ef575f80fd5b506102c36102fe366004611968565b6107d0565b34801561030e575f80fd5b5061022761031d36600461194d565b6001600160a01b03165f9081526010602052604090205460ff1690565b348015610345575f80fd5b5061036d7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ff565b348015610390575f80fd5b5061024761039f36600461194d565b6001600160a01b03165f9081526020819052604090205490565b3480156103c4575f80fd5b506102c361083a565b3480156103d8575f80fd5b506102c361084d565b3480156103ec575f80fd5b506102c361086a565b348015610400575f80fd5b506005546001600160a01b031661036d565b34801561041d575f80fd5b506101f26108fd565b348015610431575f80fd5b506102c3610440366004611995565b61090c565b348015610450575f80fd5b5061022761045f3660046118e5565b6109a6565b34801561046f575f80fd5b5061022761047e3660046118e5565b610a20565b34801561048e575f80fd5b506102c361049d3660046119cc565b610a2d565b3480156104ad575f80fd5b506102c36104bc3660046119cc565b610a4d565b3480156104cc575f80fd5b50610247600a5481565b3480156104e1575f80fd5b506102c3610b20565b3480156104f5575f80fd5b50610247600f5481565b34801561050a575f80fd5b506102476105193660046119e3565b610b37565b348015610529575f80fd5b50610247600e5481565b34801561053e575f80fd5b50610247600c5481565b348015610553575f80fd5b506102c361056236600461194d565b610b61565b348015610572575f80fd5b50610247600b5481565b348015610587575f80fd5b50600d546102279060ff1681565b6060600380546105a490611a0f565b80601f01602080910402602001604051908101604052809291908181526020018280546105d090611a0f565b801561061b5780601f106105f25761010080835404028352916020019161061b565b820191905f5260205f20905b8154815290600101906020018083116105fe57829003601f168201915b5050505050905090565b5f33610632818585610bd7565b60019150505b92915050565b5f3361064b858285610cfa565b610656858585610d6c565b506001949350505050565b6007546001600160a01b0316336001600160a01b031614610680575f80fd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ea9190611a47565b90505f81116107355760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190611a5e565b50505050565b5f336106328185856107c18383610b37565b6107cb9190611a8d565b610bd7565b6107d8611354565b601482111580156107ea575060238111155b61082f5760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b604482015260640161072c565b600e91909155600f55565b610842611354565b61084b5f6113ae565b565b610855611354565b5f61085f60025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b031614610889575f80fd5b5f47116108d15760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b604482015260640161072c565b60405133904780156108fc02915f818181858888f193505050501580156108fa573d5f803e3d5ffd5b50565b6060600480546105a490611a0f565b610914611354565b6006546001600160a01b03908116908316036109985760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161072c565b6109a282826113ff565b5050565b5f33816109b38286610b37565b905083811015610a135760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072c565b6106568286868403610bd7565b5f33610632818585610d6c565b610a35611354565b610a4781670de0b6b3a7640000611aa0565b600c5550565b6007546001600160a01b0316336001600160a01b031614610a6c575f80fd5b5f610a7660025490565b305f908152602081905260408120549192506064849003610a98575080610abb565b6064610aa48585611aa0565b610aae9190611ab7565b905081811115610abb5750805b81811115610b175760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b606482015260840161072c565b6107a981611452565b610b28611354565b600d805460ff19166001179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b69611354565b6001600160a01b038116610bce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072c565b6108fa816113ae565b6001600160a01b038316610c395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072c565b6001600160a01b038216610c9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610d058484610b37565b90505f1981146107a95781811015610d5f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161072c565b6107a98484848403610bd7565b6001600160a01b038316610d925760405162461bcd60e51b815260040161072c90611ad6565b6001600160a01b038216610db85760405162461bcd60e51b815260040161072c90611b1b565b805f03610dcf57610dca83835f61160f565b505050565b6001600160a01b0383165f9081526012602052604081205460ff16158015610e0f57506001600160a01b0383165f9081526012602052604090205460ff16155b9050610e236005546001600160a01b031690565b6001600160a01b0316846001600160a01b031614158015610e5257506005546001600160a01b03848116911614155b8015610e6657506001600160a01b03831615155b8015610e7d57506001600160a01b03831661dead14155b8015610e935750600854600160a01b900460ff16155b1561118357600d5460ff16610f24576001600160a01b0384165f9081526010602052604090205460ff1680610edf57506001600160a01b0383165f9081526010602052604090205460ff165b610f245760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161072c565b6001600160a01b0384165f9081526012602052604090205460ff168015610f6357506001600160a01b0383165f9081526011602052604090205460ff16155b1561104657600a54821115610fd85760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161072c565b600b546001600160a01b0384165f90815260208190526040902054610ffd9084611a8d565b11156110415760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161072c565b611183565b6001600160a01b0383165f9081526012602052604090205460ff16801561108557506001600160a01b0384165f9081526011602052604090205460ff16155b156110fb57600a548211156110415760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161072c565b6001600160a01b0383165f9081526011602052604090205460ff1661118357600b546001600160a01b0384165f9081526020819052604090205461113f9084611a8d565b11156111835760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161072c565b305f908152602081905260408120549081158015906111a0575082155b90508080156111b95750600854600160a01b900460ff16155b80156111dd57506001600160a01b0386165f9081526012602052604090205460ff16155b801561120157506001600160a01b0386165f9081526010602052604090205460ff16155b801561122557506001600160a01b0385165f9081526010602052604090205460ff16155b15611254576008805460ff60a01b1916600160a01b17905561124684611737565b6008805460ff60a01b191690555b6008545f90600160a01b900460ff1615801561126e575083155b6001600160a01b0388165f9081526010602052604090205490915060ff16806112ae57506001600160a01b0386165f9081526010602052604090205460ff165b156112b657505f5b5f811561133f576001600160a01b0387165f9081526012602052604090205460ff1615611304576112fd60646112f7600f548961187f90919063ffffffff16565b90611891565b9050611321565b61131e60646112f7600e548961187f90919063ffffffff16565b90505b80156113325761133288308361160f565b61133c8187611b5e565b95505b61134a88888861160f565b5050505050505050565b6005546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161072c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061148557611485611b71565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611501573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115259190611b85565b8160018151811061153857611538611b71565b60200260200101906001600160a01b031690816001600160a01b031681525050611583307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610bd7565b60085460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926115de9287925f92889291909116904290600401611ba0565b5f604051808303815f87803b1580156115f5575f80fd5b505af1158015611607573d5f803e3d5ffd5b505050505050565b6001600160a01b0383166116355760405162461bcd60e51b815260040161072c90611ad6565b6001600160a01b03821661165b5760405162461bcd60e51b815260040161072c90611b1b565b6001600160a01b0383165f90815260208190526040902054818110156116d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072c565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107a9565b305f908152602081905260408120549081810361175357505050565b600f54600e546117639190611a8d565b5f036117cc575f821180156117795750600c5482105b15611785575080611876565b5f6117a060646112f7600f548761187f90919063ffffffff16565b90506117ac8185611b5e565b9350600c548411156117c257600c5491506117c6565b8391505b50611876565b5f821180156117e75750600c546117e4906005611891565b82105b156117f157505050565b5f8211801561180c5750600c54611809906005611891565b82115b80156118195750600c5482105b1561183357600c5461182c906005611891565b9050611876565b5f61184e60646112f7600f548761187f90919063ffffffff16565b905061185a8185611b5e565b9350600c5484111561187057600c549150611874565b8391505b505b610dca81611452565b5f61188a8284611aa0565b9392505050565b5f61188a8284611ab7565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146108fa575f80fd5b5f80604083850312156118f6575f80fd5b8235611901816118d1565b946020939093013593505050565b5f805f60608486031215611921575f80fd5b833561192c816118d1565b9250602084013561193c816118d1565b929592945050506040919091013590565b5f6020828403121561195d575f80fd5b813561188a816118d1565b5f8060408385031215611979575f80fd5b50508035926020909101359150565b80151581146108fa575f80fd5b5f80604083850312156119a6575f80fd5b82356119b1816118d1565b915060208301356119c181611988565b809150509250929050565b5f602082840312156119dc575f80fd5b5035919050565b5f80604083850312156119f4575f80fd5b82356119ff816118d1565b915060208301356119c1816118d1565b600181811c90821680611a2357607f821691505b602082108103611a4157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611a57575f80fd5b5051919050565b5f60208284031215611a6e575f80fd5b815161188a81611988565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561063857610638611a79565b808202811582820484141761063857610638611a79565b5f82611ad157634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063857610638611a79565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611b95575f80fd5b815161188a816118d1565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bf05784516001600160a01b031683529383019391830191600101611bcb565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a2e304c17dd0f97679a02f11d7b67de63a50cb28359db7307e8354209fe5214764736f6c63430008190033

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

000000000000000000000000f6b7dd7d3055872d2b7c0c594ff97908001e884f

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

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


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.