ETH Price: $3,904.95 (-0.01%)

Contract

0x7De99b10aAAdC3bE402c9e6CE96eC47dC7EF4ea5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer179234422023-08-15 23:12:59488 days ago1692141179IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015688126.84755546
Set Fees177949052023-07-28 23:44:47506 days ago1690587887IN
0x7De99b10...dC7EF4ea5
0 ETH0.0009088717.37121574
Approve177947752023-07-28 23:18:35506 days ago1690586315IN
0x7De99b10...dC7EF4ea5
0 ETH0.0012076725.90130141
Approve177947692023-07-28 23:17:23506 days ago1690586243IN
0x7De99b10...dC7EF4ea5
0 ETH0.0009594920.60513393
Set Fees177947652023-07-28 23:16:35506 days ago1690586195IN
0x7De99b10...dC7EF4ea5
0 ETH0.0005711920.68885993
Set Sizes At Amo...177944942023-07-28 22:22:11506 days ago1690582931IN
0x7De99b10...dC7EF4ea5
0 ETH0.0010295527.00121156
Set Fees177944562023-07-28 22:14:23506 days ago1690582463IN
0x7De99b10...dC7EF4ea5
0 ETH0.0008656624.57816352
Set Fees177944392023-07-28 22:10:59506 days ago1690582259IN
0x7De99b10...dC7EF4ea5
0 ETH0.0009030725.64038053
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015273232.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015273232.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Approve177944002023-07-28 22:03:11506 days ago1690581791IN
0x7De99b10...dC7EF4ea5
0 ETH0.0015739533.75701667
Enable Trade177943992023-07-28 22:02:59506 days ago1690581779IN
0x7De99b10...dC7EF4ea5
0 ETH0.000850629.78614943
Approve177929492023-07-28 17:09:47506 days ago1690564187IN
0x7De99b10...dC7EF4ea5
0 ETH0.0033271371.35783953
Set Sizes At Amo...177929232023-07-28 17:04:35506 days ago1690563875IN
0x7De99b10...dC7EF4ea5
0 ETH0.0030502179.96985801
Exempt From Limi...177929172023-07-28 17:03:23506 days ago1690563803IN
0x7De99b10...dC7EF4ea5
0 ETH0.0036665778.64143441
Exclude From Fee...177929152023-07-28 17:02:59506 days ago1690563779IN
0x7De99b10...dC7EF4ea5
0 ETH0.0039907482.95393402
Set Fees177928842023-07-28 16:56:47506 days ago1690563407IN
0x7De99b10...dC7EF4ea5
0 ETH0.00359543102.08212715

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
177947772023-07-28 23:18:59506 days ago1690586339
0x7De99b10...dC7EF4ea5
0.06402147 ETH
177947772023-07-28 23:18:59506 days ago1690586339
0x7De99b10...dC7EF4ea5
0.06402147 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DXPRO

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : DegenXpro.sol
// JOIN US @ https://t.me/DegenX_ERC20

// SPDX-License-Identifier: MIT

pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";

interface IERC20 {
    function totalSupply() external view returns (uint256);

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

    function transfer(address recipient, 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

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() external view virtual override returns (string memory) {
        return _name;
    }

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

    function decimals() external 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 recipient, uint256 amount)
        external
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external virtual override returns (bool) {
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: transfer amount exceeds allowance"
            );
            unchecked {
                _approve(sender, _msgSender(), currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, amount);

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, 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 _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

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

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

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 IUniswapV2Router01 {
    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 removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

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

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

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

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

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

contract DXPRO  is ERC20, Ownable {
    uint256 public feeOnBuy = 5;
    uint256 public feeOnSell = 5;
    address public marketingWallet = 0x409cA8ECD30e508F7a422746BcED391739F8Cc2C;
    address private ownerWallet = 0x409cA8ECD30e508F7a422746BcED391739F8Cc2C;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;
    bool private swapping;
    uint256 public swapTokensAtAmount;
    uint256 public maxTxnAmount;
    uint256 public maxWalletSize;

    bool public isTradeOpen = false;
    bool public isSizeLimitsOpen;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isLimitExempt;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event FeesUpdated(uint256 feeOnBuy, uint256 feeOnSell);
    event MarketingWalletChanged(
        address indexed newMarketingWallet
    );
    event SwapAndSendFee(uint256 tokensSwapped, uint256 bnbSend);
    event SwapTokensAtAmountChanged(uint256 newAmount);
    event SizesAtAmountChanged(
        uint256 _maxTxnAmount,
        uint256 _maxWalletSize,
        uint256 percent
    );

    constructor() ERC20("Degen Xpro", "DXPRO") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
            
        transferOwnership(ownerWallet);
        isSizeLimitsOpen = true;
        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[DEAD] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[marketingWallet] = true;

        _isLimitExempt[owner()] = true;

        _mint(owner(), 10**10 * (10**18));
        swapTokensAtAmount = totalSupply() / 5000;
        maxTxnAmount = (totalSupply() * 4) / 1000;
        maxWalletSize = (totalSupply() * 8) / 1000;
    }

    receive() external payable {}

    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function sendBNB(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }
    
    function enableTrade() external onlyOwner{
        require(isTradeOpen == false, "Trade is already open!");
        isTradeOpen = true;
    }

    function disableSizeLimits() public onlyOwner {
        isSizeLimitsOpen = false;
    }

    function excludeFromFees(address account, bool excluded)
        external
        onlyOwner
    {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function exemptFromLimit(address account, bool exempt)
        external
        onlyOwner
    {
        require(
            _isLimitExempt[account] != exempt,
            "Account is already the value of 'exempt'"
        );
        _isLimitExempt[account] = exempt;
    }

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

    function setFees(uint256 _feeOnBuy, uint256 _feeOnSell) external onlyOwner {
        feeOnBuy = _feeOnBuy;
        feeOnSell = _feeOnSell;
        emit FeesUpdated(feeOnBuy, feeOnSell);
    }

    function changeMarketingWallet(address _marketingWallet)
        external
        onlyOwner
    {
        require(
            _marketingWallet != marketingWallet,
            " wallet is already that address"
        );
        require(
            _marketingWallet != address(0),
            " wallet cannot be the zero address"
        );
        require(
            !isContract(_marketingWallet),
            " wallet cannot be a contract"
        );
        marketingWallet = _marketingWallet;
        _isExcludedFromFees[marketingWallet] = true;
        emit MarketingWalletChanged(marketingWallet);
    }

    function setSizesAtAmount(
        uint256 _maxTxnAmount,
        uint256 _maxWalletSize,
        uint256 percent
    ) public onlyOwner {
        maxTxnAmount = (_maxTxnAmount * totalSupply()) / percent;
        maxWalletSize = (_maxWalletSize * totalSupply()) / percent;
        emit SizesAtAmountChanged(_maxTxnAmount, _maxWalletSize, percent);
    }

    function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount > totalSupply() / 100000,
            "SwapTokensAtAmount must be greater than 0.001% of total supply"
        );
        swapTokensAtAmount = newAmount;
        emit SwapTokensAtAmountChanged(newAmount);
    }

    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");
        require(isTradeOpen || _isLimitExempt[from]||_isLimitExempt[to], "Trading is not open!");


        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (isSizeLimitsOpen) {
            if (from == uniswapV2Pair && !_isExcludedFromFees[to]) {
                require(
                    amount <= maxTxnAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
            } else if (
               to == uniswapV2Pair && !_isExcludedFromFees[from]
            ) {
                require(
                    amount <= maxTxnAmount,
                    "Sell transfer amount exceeds the maxTransactionAmount."
                );
            }

            if (
                !_isExcludedFromFees[from] && to != address(uniswapV2Router) && to != address(uniswapV2Pair)
                && !_isExcludedFromFees[to]
            ) {
                require(
                    balanceOf(to) + amount <= maxWalletSize,
                    "Transfer amount exceeds the maxWalletSize."
                );
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (canSwap && !swapping && to == uniswapV2Pair) {
            swapping = true;

            swapAndSendFee(contractTokenBalance);

            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (takeFee) {
            uint256 fees;
            if (from == uniswapV2Pair) {
                fees = (amount * feeOnBuy) / 100;
            } else if (to == uniswapV2Pair) {
                fees = (amount * feeOnSell) / 100;
            } else {
                fees = 0;
            }
            amount -= fees;
            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
        }

        super._transfer(from, to, amount);
    }

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

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

        uint256 newBalance = address(this).balance;
        uint256 addressBalance = address(this).balance;

        sendBNB(
            payable(marketingWallet),
            addressBalance
        );

        emit SwapAndSendFee(tokenAmount, newBalance);
    }

}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"uint256","name":"feeOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeOnSell","type":"uint256"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"MarketingWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxnAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxWalletSize","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"SizesAtAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SwapTokensAtAmountChanged","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":[{"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":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"changeMarketingWallet","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":[],"name":"disableSizeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrade","outputs":[],"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":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"exemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSizeLimitsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradeOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_feeOnSell","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxnAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setSizesAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600560068190556007556008805473409ca8ecd30e508f7a422746bced391739f8cc2c6001600160a01b03199182168117909255600980549091169091179055600f805460ff191690553480156200005b57600080fd5b506040518060400160405280600a815260200169446567656e205870726f60b01b81525060405180604001604052806005815260200164445850524f60d81b8152508160039081620000ae919062000811565b506004620000bd828262000811565b505050620000da620000d46200042460201b60201c565b62000428565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000134573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015a9190620008dd565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ce9190620008dd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200021c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002429190620008dd565b600a80546001600160a01b038086166001600160a01b03199283168117909355600b805491851691909216179055909150620002839030906000196200047a565b6009546200029a906001600160a01b0316620005a6565b600f805461ff001916610100179055600160106000620002c26005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560109093527f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b6980548516600190811790915530845282842080548616821790556008549091168352908220805490931681179092556011906200035b6005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620003ad6200039a6005546001600160a01b031690565b6b204fce5e3e2502611000000062000625565b611388620003ba60025490565b620003c6919062000925565b600c556103e8620003d660025490565b620003e390600462000948565b620003ef919062000925565b600d556103e8620003ff60025490565b6200040c90600862000948565b62000418919062000925565b600e55506200097e9050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620004e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005455760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004d9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b620005b06200070a565b6001600160a01b038116620006175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620004d9565b620006228162000428565b50565b6001600160a01b0382166200067d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004d9565b806002600082825462000691919062000968565b90915550506001600160a01b03821660009081526020819052604081208054839290620006c090849062000968565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620007665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004d9565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200079857607f821691505b602082108103620007b957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076857600081815260208120601f850160051c81016020861015620007e85750805b601f850160051c820191505b818110156200080957828155600101620007f4565b505050505050565b81516001600160401b038111156200082d576200082d6200076d565b62000845816200083e845462000783565b84620007bf565b602080601f8311600181146200087d5760008415620008645750858301515b600019600386901b1c1916600185901b17855562000809565b600085815260208120601f198616915b82811015620008ae578886015182559484019460019091019084016200088d565b5085821015620008cd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008f057600080fd5b81516001600160a01b03811681146200090857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000826200094357634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176200096257620009626200090f565b92915050565b808201808211156200096257620009626200090f565b611cde806200098e6000396000f3fe6080604052600436106101f15760003560e01c806375f0a8741161010d578063b0ef69ab116100a0578063cf46f24c1161006f578063cf46f24c14610589578063d0973f101461059f578063dd62ed3e146105bf578063e2f4560514610605578063f2fde38b1461061b57600080fd5b8063b0ef69ab14610513578063bb85c6d114610533578063bb8c3ee014610553578063c02466681461056957600080fd5b80639fbdd96d116100dc5780639fbdd96d1461049e578063a457c2d7146104b3578063a9059cbb146104d3578063afa4f3b2146104f357600080fd5b806375f0a874146104355780638da5cb5b146104555780638f3fa8601461047357806395d89b411461048957600080fd5b8063313ce56711610185578063609014441161015457806360901444146103ba57806365048d08146103d457806370a08231146103ea578063715018a61461042057600080fd5b8063313ce56714610325578063395093511461034157806349bd5a5e146103615780634fbee1931461038157600080fd5b8063128f5c33116101c1578063128f5c331461028f5780631694505e146102ae57806318160ddd146102e657806323b872dd1461030557600080fd5b806299d386146101fd57806306fdde0314610214578063095ea7b31461023f5780630b78f9c01461026f57600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021261063b565b005b34801561022057600080fd5b506102296106a3565b6040516102369190611906565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611969565b610735565b6040519015158152602001610236565b34801561027b57600080fd5b5061021261028a366004611995565b61074c565b34801561029b57600080fd5b50600f5461025f90610100900460ff1681565b3480156102ba57600080fd5b50600a546102ce906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156102f257600080fd5b506002545b604051908152602001610236565b34801561031157600080fd5b5061025f6103203660046119b7565b61079b565b34801561033157600080fd5b5060405160128152602001610236565b34801561034d57600080fd5b5061025f61035c366004611969565b61084c565b34801561036d57600080fd5b50600b546102ce906001600160a01b031681565b34801561038d57600080fd5b5061025f61039c3660046119f8565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156103c657600080fd5b50600f5461025f9060ff1681565b3480156103e057600080fd5b506102f760075481565b3480156103f657600080fd5b506102f76104053660046119f8565b6001600160a01b031660009081526020819052604090205490565b34801561042c57600080fd5b50610212610888565b34801561044157600080fd5b506008546102ce906001600160a01b031681565b34801561046157600080fd5b506005546001600160a01b03166102ce565b34801561047f57600080fd5b506102f7600e5481565b34801561049557600080fd5b5061022961089c565b3480156104aa57600080fd5b506102126108ab565b3480156104bf57600080fd5b5061025f6104ce366004611969565b6108c0565b3480156104df57600080fd5b5061025f6104ee366004611969565b610959565b3480156104ff57600080fd5b5061021261050e366004611a1c565b610966565b34801561051f57600080fd5b5061021261052e366004611a35565b610a34565b34801561053f57600080fd5b5061021261054e3660046119f8565b610ac4565b34801561055f57600080fd5b506102f760065481565b34801561057557600080fd5b50610212610584366004611a61565b610c49565b34801561059557600080fd5b506102f7600d5481565b3480156105ab57600080fd5b506102126105ba366004611a61565b610d33565b3480156105cb57600080fd5b506102f76105da366004611a9f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061157600080fd5b506102f7600c5481565b34801561062757600080fd5b506102126106363660046119f8565b610de7565b610643610e60565b600f5460ff16156106945760405162461bcd60e51b8152602060048201526016602482015275547261646520697320616c7265616479206f70656e2160501b60448201526064015b60405180910390fd5b600f805460ff19166001179055565b6060600380546106b290611acd565b80601f01602080910402602001604051908101604052809291908181526020018280546106de90611acd565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b6000610742338484610eba565b5060015b92915050565b610754610e60565b6006829055600781905560408051838152602081018390527f5c6323bf1c2d7aaea2c091a4751c1c87af7f2864650c336507a77d0557af37a1910160405180910390a15050565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461083657828110156108295760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161068b565b6108368533858403610eba565b610841858585610fde565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610742918590610883908690611b1d565b610eba565b610890610e60565b61089a60006114b0565b565b6060600480546106b290611acd565b6108b3610e60565b600f805461ff0019169055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109425760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161068b565b61094f3385858403610eba565b5060019392505050565b6000610742338484610fde565b61096e610e60565b620186a061097b60025490565b6109859190611b30565b81116109f95760405162461bcd60e51b815260206004820152603e60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e30303125206f6620746f74616c20737570706c790000606482015260840161068b565b600c8190556040518181527fcba17309eff0b14bb89cad72aef8b308a23d698dfff957e2255d17bbc03620bd9060200160405180910390a150565b610a3c610e60565b80610a4660025490565b610a509085611b52565b610a5a9190611b30565b600d5580610a6760025490565b610a719084611b52565b610a7b9190611b30565b600e5560408051848152602081018490529081018290527f1300a1f96ba1abf266808b39af3955b4662b3d9dc084381b02c66c303c1805c39060600160405180910390a1505050565b610acc610e60565b6008546001600160a01b0390811690821603610b2a5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161068b565b6001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602260248201527f2077616c6c65742063616e6e6f7420626520746865207a65726f206164647265604482015261737360f01b606482015260840161068b565b6001600160a01b0381163b15610be35760405162461bcd60e51b815260206004820152601c60248201527f2077616c6c65742063616e6e6f74206265206120636f6e747261637400000000604482015260640161068b565b600880546001600160a01b0319166001600160a01b038381169182178355600091825260106020526040808320805460ff19166001179055925492519216917fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b9190a250565b610c51610e60565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503610cd45760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161068b565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d3b610e60565b6001600160a01b03821660009081526011602052604090205481151560ff909116151503610dbc5760405162461bcd60e51b815260206004820152602860248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015267276578656d70742760c01b606482015260840161068b565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b610def610e60565b6001600160a01b038116610e545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068b565b610e5d816114b0565b50565b6005546001600160a01b0316331461089a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161068b565b6001600160a01b038316610f1c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068b565b6001600160a01b038216610f7d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110045760405162461bcd60e51b815260040161068b90611b69565b6001600160a01b03821661102a5760405162461bcd60e51b815260040161068b90611bae565b600f5460ff168061105357506001600160a01b03831660009081526011602052604090205460ff165b8061107657506001600160a01b03821660009081526011602052604090205460ff165b6110b95760405162461bcd60e51b815260206004820152601460248201527354726164696e67206973206e6f74206f70656e2160601b604482015260640161068b565b806000036110d2576110cd83836000611502565b505050565b600f54610100900460ff161561134757600b546001600160a01b03848116911614801561111857506001600160a01b03821660009081526010602052604090205460ff16155b1561119257600d5481111561118d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161068b565b61123e565b600b546001600160a01b0383811691161480156111c857506001600160a01b03831660009081526010602052604090205460ff16155b1561123e57600d5481111561123e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161068b565b6001600160a01b03831660009081526010602052604090205460ff161580156112755750600a546001600160a01b03838116911614155b801561128f5750600b546001600160a01b03838116911614155b80156112b457506001600160a01b03821660009081526010602052604090205460ff16155b1561134757600e54816112dc846001600160a01b031660009081526020819052604090205490565b6112e69190611b1d565b11156113475760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b606482015260840161068b565b30600090815260208190526040902054600c54811080159081906113755750600b54600160a01b900460ff16155b801561138e5750600b546001600160a01b038581169116145b156113bd57600b805460ff60a01b1916600160a01b1790556113af82611657565b600b805460ff60a01b191690555b600b546001600160a01b03861660009081526010602052604090205460ff600160a01b90920482161591168061140b57506001600160a01b03851660009081526010602052604090205460ff165b15611414575060005b801561149d57600b546000906001600160a01b0390811690881603611454576064600654866114439190611b52565b61144d9190611b30565b905061147e565b600b546001600160a01b039081169087160361147a576064600754866114439190611b52565b5060005b6114888186611bf1565b9450801561149b5761149b873083611502565b505b6114a8868686611502565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166115285760405162461bcd60e51b815260040161068b90611b69565b6001600160a01b03821661154e5760405162461bcd60e51b815260040161068b90611bae565b6001600160a01b038316600090815260208190526040902054818110156115c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161068b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115fd908490611b1d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161164991815260200190565b60405180910390a350505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061168c5761168c611c04565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156116e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117099190611c1a565b8160018151811061171c5761171c611c04565b6001600160a01b039283166020918202929092010152600a5460405163791ac94760e01b815291169063791ac94790611762908590600090869030904290600401611c37565b600060405180830381600087803b15801561177c57600080fd5b505af1158015611790573d6000803e3d6000fd5b50506008544792504791506117ae906001600160a01b0316826117ed565b60408051858152602081018490527f54c5e193a68e36b996e0c85b164c5953625d951c488fbad0e67aa32e1c45307b910160405180910390a150505050565b8047101561183d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161068b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461188a576040519150601f19603f3d011682016040523d82523d6000602084013e61188f565b606091505b50509050806110cd5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161068b565b600060208083528351808285015260005b8181101561193357858101830151858201604001528201611917565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e5d57600080fd5b6000806040838503121561197c57600080fd5b823561198781611954565b946020939093013593505050565b600080604083850312156119a857600080fd5b50508035926020909101359150565b6000806000606084860312156119cc57600080fd5b83356119d781611954565b925060208401356119e781611954565b929592945050506040919091013590565b600060208284031215611a0a57600080fd5b8135611a1581611954565b9392505050565b600060208284031215611a2e57600080fd5b5035919050565b600080600060608486031215611a4a57600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611a7457600080fd5b8235611a7f81611954565b915060208301358015158114611a9457600080fd5b809150509250929050565b60008060408385031215611ab257600080fd5b8235611abd81611954565b91506020830135611a9481611954565b600181811c90821680611ae157607f821691505b602082108103611b0157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074657610746611b07565b600082611b4d57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761074657610746611b07565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561074657610746611b07565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611c2c57600080fd5b8151611a1581611954565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c875784516001600160a01b031683529383019391830191600101611c62565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212206c8ff0b8872b16ad782dc0ea33f166abd9fd232e4f456b5114a35d2b516146dd64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101f15760003560e01c806375f0a8741161010d578063b0ef69ab116100a0578063cf46f24c1161006f578063cf46f24c14610589578063d0973f101461059f578063dd62ed3e146105bf578063e2f4560514610605578063f2fde38b1461061b57600080fd5b8063b0ef69ab14610513578063bb85c6d114610533578063bb8c3ee014610553578063c02466681461056957600080fd5b80639fbdd96d116100dc5780639fbdd96d1461049e578063a457c2d7146104b3578063a9059cbb146104d3578063afa4f3b2146104f357600080fd5b806375f0a874146104355780638da5cb5b146104555780638f3fa8601461047357806395d89b411461048957600080fd5b8063313ce56711610185578063609014441161015457806360901444146103ba57806365048d08146103d457806370a08231146103ea578063715018a61461042057600080fd5b8063313ce56714610325578063395093511461034157806349bd5a5e146103615780634fbee1931461038157600080fd5b8063128f5c33116101c1578063128f5c331461028f5780631694505e146102ae57806318160ddd146102e657806323b872dd1461030557600080fd5b806299d386146101fd57806306fdde0314610214578063095ea7b31461023f5780630b78f9c01461026f57600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021261063b565b005b34801561022057600080fd5b506102296106a3565b6040516102369190611906565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611969565b610735565b6040519015158152602001610236565b34801561027b57600080fd5b5061021261028a366004611995565b61074c565b34801561029b57600080fd5b50600f5461025f90610100900460ff1681565b3480156102ba57600080fd5b50600a546102ce906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156102f257600080fd5b506002545b604051908152602001610236565b34801561031157600080fd5b5061025f6103203660046119b7565b61079b565b34801561033157600080fd5b5060405160128152602001610236565b34801561034d57600080fd5b5061025f61035c366004611969565b61084c565b34801561036d57600080fd5b50600b546102ce906001600160a01b031681565b34801561038d57600080fd5b5061025f61039c3660046119f8565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156103c657600080fd5b50600f5461025f9060ff1681565b3480156103e057600080fd5b506102f760075481565b3480156103f657600080fd5b506102f76104053660046119f8565b6001600160a01b031660009081526020819052604090205490565b34801561042c57600080fd5b50610212610888565b34801561044157600080fd5b506008546102ce906001600160a01b031681565b34801561046157600080fd5b506005546001600160a01b03166102ce565b34801561047f57600080fd5b506102f7600e5481565b34801561049557600080fd5b5061022961089c565b3480156104aa57600080fd5b506102126108ab565b3480156104bf57600080fd5b5061025f6104ce366004611969565b6108c0565b3480156104df57600080fd5b5061025f6104ee366004611969565b610959565b3480156104ff57600080fd5b5061021261050e366004611a1c565b610966565b34801561051f57600080fd5b5061021261052e366004611a35565b610a34565b34801561053f57600080fd5b5061021261054e3660046119f8565b610ac4565b34801561055f57600080fd5b506102f760065481565b34801561057557600080fd5b50610212610584366004611a61565b610c49565b34801561059557600080fd5b506102f7600d5481565b3480156105ab57600080fd5b506102126105ba366004611a61565b610d33565b3480156105cb57600080fd5b506102f76105da366004611a9f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061157600080fd5b506102f7600c5481565b34801561062757600080fd5b506102126106363660046119f8565b610de7565b610643610e60565b600f5460ff16156106945760405162461bcd60e51b8152602060048201526016602482015275547261646520697320616c7265616479206f70656e2160501b60448201526064015b60405180910390fd5b600f805460ff19166001179055565b6060600380546106b290611acd565b80601f01602080910402602001604051908101604052809291908181526020018280546106de90611acd565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b6000610742338484610eba565b5060015b92915050565b610754610e60565b6006829055600781905560408051838152602081018390527f5c6323bf1c2d7aaea2c091a4751c1c87af7f2864650c336507a77d0557af37a1910160405180910390a15050565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461083657828110156108295760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161068b565b6108368533858403610eba565b610841858585610fde565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610742918590610883908690611b1d565b610eba565b610890610e60565b61089a60006114b0565b565b6060600480546106b290611acd565b6108b3610e60565b600f805461ff0019169055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109425760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161068b565b61094f3385858403610eba565b5060019392505050565b6000610742338484610fde565b61096e610e60565b620186a061097b60025490565b6109859190611b30565b81116109f95760405162461bcd60e51b815260206004820152603e60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e30303125206f6620746f74616c20737570706c790000606482015260840161068b565b600c8190556040518181527fcba17309eff0b14bb89cad72aef8b308a23d698dfff957e2255d17bbc03620bd9060200160405180910390a150565b610a3c610e60565b80610a4660025490565b610a509085611b52565b610a5a9190611b30565b600d5580610a6760025490565b610a719084611b52565b610a7b9190611b30565b600e5560408051848152602081018490529081018290527f1300a1f96ba1abf266808b39af3955b4662b3d9dc084381b02c66c303c1805c39060600160405180910390a1505050565b610acc610e60565b6008546001600160a01b0390811690821603610b2a5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161068b565b6001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602260248201527f2077616c6c65742063616e6e6f7420626520746865207a65726f206164647265604482015261737360f01b606482015260840161068b565b6001600160a01b0381163b15610be35760405162461bcd60e51b815260206004820152601c60248201527f2077616c6c65742063616e6e6f74206265206120636f6e747261637400000000604482015260640161068b565b600880546001600160a01b0319166001600160a01b038381169182178355600091825260106020526040808320805460ff19166001179055925492519216917fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b9190a250565b610c51610e60565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503610cd45760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161068b565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d3b610e60565b6001600160a01b03821660009081526011602052604090205481151560ff909116151503610dbc5760405162461bcd60e51b815260206004820152602860248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015267276578656d70742760c01b606482015260840161068b565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b610def610e60565b6001600160a01b038116610e545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068b565b610e5d816114b0565b50565b6005546001600160a01b0316331461089a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161068b565b6001600160a01b038316610f1c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068b565b6001600160a01b038216610f7d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110045760405162461bcd60e51b815260040161068b90611b69565b6001600160a01b03821661102a5760405162461bcd60e51b815260040161068b90611bae565b600f5460ff168061105357506001600160a01b03831660009081526011602052604090205460ff165b8061107657506001600160a01b03821660009081526011602052604090205460ff165b6110b95760405162461bcd60e51b815260206004820152601460248201527354726164696e67206973206e6f74206f70656e2160601b604482015260640161068b565b806000036110d2576110cd83836000611502565b505050565b600f54610100900460ff161561134757600b546001600160a01b03848116911614801561111857506001600160a01b03821660009081526010602052604090205460ff16155b1561119257600d5481111561118d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161068b565b61123e565b600b546001600160a01b0383811691161480156111c857506001600160a01b03831660009081526010602052604090205460ff16155b1561123e57600d5481111561123e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161068b565b6001600160a01b03831660009081526010602052604090205460ff161580156112755750600a546001600160a01b03838116911614155b801561128f5750600b546001600160a01b03838116911614155b80156112b457506001600160a01b03821660009081526010602052604090205460ff16155b1561134757600e54816112dc846001600160a01b031660009081526020819052604090205490565b6112e69190611b1d565b11156113475760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b606482015260840161068b565b30600090815260208190526040902054600c54811080159081906113755750600b54600160a01b900460ff16155b801561138e5750600b546001600160a01b038581169116145b156113bd57600b805460ff60a01b1916600160a01b1790556113af82611657565b600b805460ff60a01b191690555b600b546001600160a01b03861660009081526010602052604090205460ff600160a01b90920482161591168061140b57506001600160a01b03851660009081526010602052604090205460ff165b15611414575060005b801561149d57600b546000906001600160a01b0390811690881603611454576064600654866114439190611b52565b61144d9190611b30565b905061147e565b600b546001600160a01b039081169087160361147a576064600754866114439190611b52565b5060005b6114888186611bf1565b9450801561149b5761149b873083611502565b505b6114a8868686611502565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166115285760405162461bcd60e51b815260040161068b90611b69565b6001600160a01b03821661154e5760405162461bcd60e51b815260040161068b90611bae565b6001600160a01b038316600090815260208190526040902054818110156115c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161068b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115fd908490611b1d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161164991815260200190565b60405180910390a350505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061168c5761168c611c04565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156116e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117099190611c1a565b8160018151811061171c5761171c611c04565b6001600160a01b039283166020918202929092010152600a5460405163791ac94760e01b815291169063791ac94790611762908590600090869030904290600401611c37565b600060405180830381600087803b15801561177c57600080fd5b505af1158015611790573d6000803e3d6000fd5b50506008544792504791506117ae906001600160a01b0316826117ed565b60408051858152602081018490527f54c5e193a68e36b996e0c85b164c5953625d951c488fbad0e67aa32e1c45307b910160405180910390a150505050565b8047101561183d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161068b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461188a576040519150601f19603f3d011682016040523d82523d6000602084013e61188f565b606091505b50509050806110cd5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161068b565b600060208083528351808285015260005b8181101561193357858101830151858201604001528201611917565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e5d57600080fd5b6000806040838503121561197c57600080fd5b823561198781611954565b946020939093013593505050565b600080604083850312156119a857600080fd5b50508035926020909101359150565b6000806000606084860312156119cc57600080fd5b83356119d781611954565b925060208401356119e781611954565b929592945050506040919091013590565b600060208284031215611a0a57600080fd5b8135611a1581611954565b9392505050565b600060208284031215611a2e57600080fd5b5035919050565b600080600060608486031215611a4a57600080fd5b505081359360208301359350604090920135919050565b60008060408385031215611a7457600080fd5b8235611a7f81611954565b915060208301358015158114611a9457600080fd5b809150509250929050565b60008060408385031215611ab257600080fd5b8235611abd81611954565b91506020830135611a9481611954565b600181811c90821680611ae157607f821691505b602082108103611b0157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074657610746611b07565b600082611b4d57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761074657610746611b07565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561074657610746611b07565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611c2c57600080fd5b8151611a1581611954565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c875784516001600160a01b031683529383019391830191600101611c62565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212206c8ff0b8872b16ad782dc0ea33f166abd9fd232e4f456b5114a35d2b516146dd64736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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