ETH Price: $2,918.09 (-7.88%)
Gas: 8 Gwei

Contract

0x70b02a7d6D86c8Ed2193d3C167468ebae28b9538
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve201211092024-06-18 20:44:4716 days ago1718743487IN
0x70b02a7d...ae28b9538
0 ETH0.000337197.23833718
Approve201056742024-06-16 16:53:3518 days ago1718556815IN
0x70b02a7d...ae28b9538
0 ETH0.000139895.24936547
Approve201056712024-06-16 16:52:5918 days ago1718556779IN
0x70b02a7d...ae28b9538
0 ETH0.000257345.52857733
Approve200734252024-06-12 4:41:1123 days ago1718167271IN
0x70b02a7d...ae28b9538
0 ETH0.000302446.50080448
Approve200161392024-06-04 4:41:5931 days ago1717476119IN
0x70b02a7d...ae28b9538
0 ETH0.000347647.4723145
Approve199925052024-05-31 21:29:5934 days ago1717190999IN
0x70b02a7d...ae28b9538
0 ETH0.000407498.80850956
Approve199857432024-05-30 22:50:1135 days ago1717109411IN
0x70b02a7d...ae28b9538
0 ETH0.000347677.50587544
Approve199369952024-05-24 3:15:5942 days ago1716520559IN
0x70b02a7d...ae28b9538
0 ETH0.000310876.68195367
Approve199101332024-05-20 9:06:1146 days ago1716195971IN
0x70b02a7d...ae28b9538
0 ETH0.000225254.83529746
Approve198844012024-05-16 18:43:4749 days ago1715885027IN
0x70b02a7d...ae28b9538
0 ETH0.00031356.73839713
Approve198455272024-05-11 8:13:4755 days ago1715415227IN
0x70b02a7d...ae28b9538
0 ETH0.000205864.45011936
Transfer198347132024-05-09 19:55:5956 days ago1715284559IN
0x70b02a7d...ae28b9538
0 ETH0.000254344.02278602
Approve198255852024-05-08 13:17:1157 days ago1715174231IN
0x70b02a7d...ae28b9538
0 ETH0.000345857.4338353
Approve198191352024-05-07 15:38:4758 days ago1715096327IN
0x70b02a7d...ae28b9538
0 ETH0.000497710.75863196
Approve198135422024-05-06 20:51:4759 days ago1715028707IN
0x70b02a7d...ae28b9538
0 ETH0.000118434.88591925
Approve197853592024-05-02 22:17:1163 days ago1714688231IN
0x70b02a7d...ae28b9538
0 ETH0.000273945.92172195
Approve197722032024-05-01 2:08:5965 days ago1714529339IN
0x70b02a7d...ae28b9538
0 ETH0.000324496.97466823
Approve197530162024-04-28 9:47:2368 days ago1714297643IN
0x70b02a7d...ae28b9538
0 ETH0.000331837.12331326
Approve197417352024-04-26 19:54:1169 days ago1714161251IN
0x70b02a7d...ae28b9538
0 ETH0.000264545.7111058
Approve197375652024-04-26 5:50:4770 days ago1714110647IN
0x70b02a7d...ae28b9538
0 ETH0.000308916.66892779
Approve196950422024-04-20 7:08:5976 days ago1713596939IN
0x70b02a7d...ae28b9538
0 ETH0.000417558.96337906
Approve196938552024-04-20 3:10:1176 days ago1713582611IN
0x70b02a7d...ae28b9538
0 ETH0.000387278.3240732
Transfer196873472024-04-19 5:16:3577 days ago1713503795IN
0x70b02a7d...ae28b9538
0 ETH0.000374788.12310715
Approve196873292024-04-19 5:12:5977 days ago1713503579IN
0x70b02a7d...ae28b9538
0 ETH0.000200668.25755315
Approve196873252024-04-19 5:12:1177 days ago1713503531IN
0x70b02a7d...ae28b9538
0 ETH0.000377278.09867416
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
201421432024-06-21 19:20:2313 days ago1718997623
0x70b02a7d...ae28b9538
0.00573105 ETH
201421432024-06-21 19:20:2313 days ago1718997623
0x70b02a7d...ae28b9538
0.00573105 ETH
199019712024-05-19 5:42:4747 days ago1716097367
0x70b02a7d...ae28b9538
0.00600795 ETH
199019712024-05-19 5:42:4747 days ago1716097367
0x70b02a7d...ae28b9538
0.00600795 ETH
198844012024-05-16 18:43:4749 days ago1715885027
0x70b02a7d...ae28b9538
0.00619114 ETH
198844012024-05-16 18:43:4749 days ago1715885027
0x70b02a7d...ae28b9538
0.00619114 ETH
198455292024-05-11 8:14:1155 days ago1715415251
0x70b02a7d...ae28b9538
0.00610015 ETH
198455292024-05-11 8:14:1155 days ago1715415251
0x70b02a7d...ae28b9538
0.00610015 ETH
197853622024-05-02 22:17:4763 days ago1714688267
0x70b02a7d...ae28b9538
0.00624433 ETH
197853622024-05-02 22:17:4763 days ago1714688267
0x70b02a7d...ae28b9538
0.00624433 ETH
197722052024-05-01 2:09:2365 days ago1714529363
0x70b02a7d...ae28b9538
0.00628162 ETH
197722052024-05-01 2:09:2365 days ago1714529363
0x70b02a7d...ae28b9538
0.00628162 ETH
197532132024-04-28 10:26:4768 days ago1714300007
0x70b02a7d...ae28b9538
0.00630081 ETH
197532132024-04-28 10:26:4768 days ago1714300007
0x70b02a7d...ae28b9538
0.00630081 ETH
197417392024-04-26 19:54:5969 days ago1714161299
0x70b02a7d...ae28b9538
0.00633655 ETH
197417392024-04-26 19:54:5969 days ago1714161299
0x70b02a7d...ae28b9538
0.00633655 ETH
197375652024-04-26 5:50:4770 days ago1714110647
0x70b02a7d...ae28b9538
0.00633655 ETH
197375652024-04-26 5:50:4770 days ago1714110647
0x70b02a7d...ae28b9538
0.00633655 ETH
197362582024-04-26 1:28:1170 days ago1714094891
0x70b02a7d...ae28b9538
0.0063659 ETH
197362582024-04-26 1:28:1170 days ago1714094891
0x70b02a7d...ae28b9538
0.0063659 ETH
197173992024-04-23 10:08:4773 days ago1713866927
0x70b02a7d...ae28b9538
0.00641778 ETH
197173992024-04-23 10:08:4773 days ago1713866927
0x70b02a7d...ae28b9538
0.00641778 ETH
197101162024-04-22 9:43:2374 days ago1713779003
0x70b02a7d...ae28b9538
0.00648811 ETH
197101162024-04-22 9:43:2374 days ago1713779003
0x70b02a7d...ae28b9538
0.00648811 ETH
196950442024-04-20 7:09:2376 days ago1713596963
0x70b02a7d...ae28b9538
0.00652611 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WorldTAO

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : WorldTAO.sol
// Website:  https://www.worldtao.ai
// Document: https://docs.worldtao.ai
// X:        https://x.com/WorldTAO_AI
// Telegram: https://t.me/WorldTAO

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract WorldTAO is ERC20, Ownable {
    uint256 constant TIME_LIMIT = 120; // 2 minutes

    bool private swapping;
    bool public tradingEnabled;
    IUniswapRouter public router;
    address public taxWallet;
    address public pair;
    uint256 swapTokensAtAmount;
    uint256 maxHold;
    uint256 limitTimeStamp;
    uint256 tax = 5;
    // Buy = Sell = 5%
    // This fund will be used for Buyback, Incentive and Marketing

    mapping(address => bool) private _isExcludedFromFees;
    event ExcludeFromFees(address indexed account, bool isExcluded);

    constructor(
        address _routerAddress,
        address _taxWallet
    ) ERC20("WorldTAO", "WTAO") {
        taxWallet = _taxWallet;

        IUniswapRouter _router = IUniswapRouter(_routerAddress);

        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;

        pair = _pair;

        excludeFromFees(owner(), true);
        excludeFromFees(_taxWallet, true);
        excludeFromFees(address(this), true);

        setSwapTokensAtAmount(6_000);

        maxHold = 250_000 * (10 ** 18);

        _mint(owner(), 10_000_000 * (10 ** 18));
    }

    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount * 10 ** 18;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already excluded"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

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

    function setTaxWallet(address _taxWallet) public onlyOwner {
        taxWallet = _taxWallet;
    }

    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
        limitTimeStamp = block.timestamp + TIME_LIMIT;
    }

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

        address _pair = pair;

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
            if (limitTimeStamp > block.timestamp && to != _pair) {
                require(
                    amount + balanceOf(to) <= maxHold,
                    "Unable to exceed Max Wallet"
                );
            }
        }

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

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            to == _pair &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
            swapAndSendReward(swapTokensAtAmount);
            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (_pair != to && _pair != from) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 feeAmt;
            feeAmt = (amount * tax) / 100;
            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        super._transfer(from, to, amount);
    }

    function swapAndSendReward(uint256 tokens) private {
        swapTokensForETH(tokens);
        uint256 currentbalance = address(this).balance;
        if (currentbalance > 0) {
            (bool success, ) = payable(taxWallet).call{value: currentbalance}(
                ""
            );
            require(success, "Error");
        }
    }

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

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

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

    receive() external payable {}
}

interface IPair {
    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function token0() external view returns (address);
}

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

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

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

    function WETH() external pure returns (address);

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

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

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

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

File 2 of 7 : 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 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
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;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    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;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    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;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    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 {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    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);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    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);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 5 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_taxWallet","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":"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":"activateTrading","outputs":[],"stateMutability":"nonpayable","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxWallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","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"}]

60806040526005600c553480156200001657600080fd5b5060405162001c5638038062001c5683398101604081905262000039916200061a565b6040805180820182526008815267576f726c6454414f60c01b6020808301918252835180850190945260048452635754414f60e01b908401528151919291620000859160039162000557565b5080516200009b90600490602084019062000557565b505050620000b8620000b2620002dd60201b60201c565b620002e1565b80600760006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014b919062000652565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000199573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bf919062000652565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200020d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000233919062000652565b600680546001600160a01b038581166001600160a01b031992831617909255600880548484169216919091179055600554919250620002759116600162000333565b6200028283600162000333565b6200028f30600162000333565b6200029c61177062000412565b6934f086f3b33b68400000600a55620002d3620002c16005546001600160a01b031690565b6a084595161401484a00000062000436565b5050505062000706565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200033d620004f9565b6001600160a01b0382166000908152600d602052604090205481151560ff909116151503620003b35760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200041c620004f9565b6200043081670de0b6b3a76400006200068d565b60095550565b6001600160a01b0382166200048e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003aa565b8060026000828254620004a29190620006af565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003aa565b565b8280546200056590620006ca565b90600052602060002090601f016020900481019282620005895760008555620005d4565b82601f10620005a457805160ff1916838001178555620005d4565b82800160010185558215620005d4579182015b82811115620005d4578251825591602001919060010190620005b7565b50620005e2929150620005e6565b5090565b5b80821115620005e25760008155600101620005e7565b80516001600160a01b03811681146200061557600080fd5b919050565b600080604083850312156200062e57600080fd5b6200063983620005fd565b91506200064960208401620005fd565b90509250929050565b6000602082840312156200066557600080fd5b6200067082620005fd565b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620006aa57620006aa62000677565b500290565b60008219821115620006c557620006c562000677565b500190565b600181811c90821680620006df57607f821691505b6020821081036200070057634e487b7160e01b600052602260045260246000fd5b50919050565b61154080620007166000396000f3fe6080604052600436106101445760003560e01c8063715018a6116100b6578063afa4f3b21161006f578063afa4f3b2146103ad578063c0246668146103cd578063dd62ed3e146103ed578063ea414b281461040d578063f2fde38b1461042d578063f887ea401461044d57600080fd5b8063715018a6146103055780638da5cb5b1461031a57806395d89b4114610338578063a457c2d71461034d578063a8aa1b311461036d578063a9059cbb1461038d57600080fd5b80632dc0562d116101085780632dc0562d14610201578063313ce5671461023957806339509351146102555780634ada218b146102755780634fbee1931461029657806370a08231146102cf57600080fd5b806306fdde0314610150578063095ea7b31461017b5780630bd05b69146101ab57806318160ddd146101c257806323b872dd146101e157600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061016561046d565b6040516101729190611226565b60405180910390f35b34801561018757600080fd5b5061019b610196366004611290565b6104ff565b6040519015158152602001610172565b3480156101b757600080fd5b506101c0610517565b005b3480156101ce57600080fd5b506002545b604051908152602001610172565b3480156101ed57600080fd5b5061019b6101fc3660046112bc565b6105a1565b34801561020d57600080fd5b50600754610221906001600160a01b031681565b6040516001600160a01b039091168152602001610172565b34801561024557600080fd5b5060405160128152602001610172565b34801561026157600080fd5b5061019b610270366004611290565b6105c5565b34801561028157600080fd5b5060055461019b90600160a81b900460ff1681565b3480156102a257600080fd5b5061019b6102b13660046112fd565b6001600160a01b03166000908152600d602052604090205460ff1690565b3480156102db57600080fd5b506101d36102ea3660046112fd565b6001600160a01b031660009081526020819052604090205490565b34801561031157600080fd5b506101c06105e7565b34801561032657600080fd5b506005546001600160a01b0316610221565b34801561034457600080fd5b506101656105fb565b34801561035957600080fd5b5061019b610368366004611290565b61060a565b34801561037957600080fd5b50600854610221906001600160a01b031681565b34801561039957600080fd5b5061019b6103a8366004611290565b610685565b3480156103b957600080fd5b506101c06103c8366004611321565b610693565b3480156103d957600080fd5b506101c06103e836600461133a565b6106b3565b3480156103f957600080fd5b506101d3610408366004611378565b61078a565b34801561041957600080fd5b506101c06104283660046112fd565b6107b5565b34801561043957600080fd5b506101c06104483660046112fd565b6107df565b34801561045957600080fd5b50600654610221906001600160a01b031681565b60606003805461047c906113a6565b80601f01602080910402602001604051908101604052809291908181526020018280546104a8906113a6565b80156104f55780601f106104ca576101008083540402835291602001916104f5565b820191906000526020600020905b8154815290600101906020018083116104d857829003601f168201915b5050505050905090565b60003361050d818585610858565b5060019392505050565b61051f61097c565b600554600160a81b900460ff161561057e5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6005805460ff60a81b1916600160a81b17905561059c6078426113f6565b600b55565b6000336105af8582856109d6565b6105ba858585610a50565b506001949350505050565b60003361050d8185856105d8838361078a565b6105e291906113f6565b610858565b6105ef61097c565b6105f96000610e24565b565b60606004805461047c906113a6565b60003381610618828661078a565b9050838110156106785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610575565b6105ba8286868403610858565b60003361050d818585610a50565b61069b61097c565b6106ad81670de0b6b3a764000061140e565b60095550565b6106bb61097c565b6001600160a01b0382166000908152600d602052604090205481151560ff90911615150361072b5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610575565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107bd61097c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6107e761097c565b6001600160a01b03811661084c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610575565b61085581610e24565b50565b6001600160a01b0383166108ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610575565b6001600160a01b03821661091b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610575565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146105f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610575565b60006109e2848461078a565b90506000198114610a4a5781811015610a3d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610575565b610a4a8484848403610858565b50505050565b6001600160a01b038316610ab45760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610575565b6001600160a01b038216610b165760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610575565b6008546001600160a01b038481166000908152600d602052604090205491169060ff16158015610b5f57506001600160a01b0383166000908152600d602052604090205460ff16155b8015610b755750600554600160a01b900460ff16155b15610c6457600554600160a81b900460ff16610bc85760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610575565b42600b54118015610beb5750806001600160a01b0316836001600160a01b031614155b15610c6457600a546001600160a01b038416600090815260208190526040902054610c1690846113f6565b1115610c645760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610575565b81600003610c7857610a4a84846000610e76565b3060009081526020819052604090205460095481108015908190610ca65750600554600160a01b900460ff16155b8015610cc35750826001600160a01b0316856001600160a01b0316145b8015610ce857506001600160a01b0386166000908152600d602052604090205460ff16155b8015610d0d57506001600160a01b0385166000908152600d602052604090205460ff16155b15610d3f576005805460ff60a01b1916600160a01b179055600954610d319061102b565b6005805460ff60a01b191690555b6005546001600160a01b0387166000908152600d602052604090205460ff600160a01b909204821615911680610d8d57506001600160a01b0386166000908152600d602052604090205460ff165b15610d96575060005b856001600160a01b0316846001600160a01b031614158015610dca5750866001600160a01b0316846001600160a01b031614155b15610dd3575060005b8015610e105760006064600c5487610deb919061140e565b610df5919061142d565b9050610e01818761144f565b9550610e0e883083610e76565b505b610e1b878787610e76565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610eda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610575565b6001600160a01b038216610f3c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610575565b610f478383836110c6565b6001600160a01b03831660009081526020819052604090205481811015610fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610575565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a4a8484846110c6565b611034816110cc565b4780156110c8576007546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611088576040519150601f19603f3d011682016040523d82523d6000602084013e61108d565b606091505b50509050806110c65760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b6044820152606401610575565b505b5050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061110157611101611466565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561115a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117e919061147c565b8160018151811061119157611191611466565b6001600160a01b0392831660209182029290920101526006546111b79130911684610858565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906111f0908590600090869030904290600401611499565b600060405180830381600087803b15801561120a57600080fd5b505af115801561121e573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561125357858101830151858201604001528201611237565b81811115611265576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461085557600080fd5b600080604083850312156112a357600080fd5b82356112ae8161127b565b946020939093013593505050565b6000806000606084860312156112d157600080fd5b83356112dc8161127b565b925060208401356112ec8161127b565b929592945050506040919091013590565b60006020828403121561130f57600080fd5b813561131a8161127b565b9392505050565b60006020828403121561133357600080fd5b5035919050565b6000806040838503121561134d57600080fd5b82356113588161127b565b91506020830135801515811461136d57600080fd5b809150509250929050565b6000806040838503121561138b57600080fd5b82356113968161127b565b9150602083013561136d8161127b565b600181811c908216806113ba57607f821691505b6020821081036113da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611409576114096113e0565b500190565b6000816000190483118215151615611428576114286113e0565b500290565b60008261144a57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611461576114616113e0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561148e57600080fd5b815161131a8161127b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114e95784516001600160a01b0316835293830193918301916001016114c4565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201cea799f23b7bb75832185317bec570fcf2ed7fa1ef069e98f61fae8515330c864736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000007e0d40ec4aaf8ef4df3f560882edccfda4547423

Deployed Bytecode

0x6080604052600436106101445760003560e01c8063715018a6116100b6578063afa4f3b21161006f578063afa4f3b2146103ad578063c0246668146103cd578063dd62ed3e146103ed578063ea414b281461040d578063f2fde38b1461042d578063f887ea401461044d57600080fd5b8063715018a6146103055780638da5cb5b1461031a57806395d89b4114610338578063a457c2d71461034d578063a8aa1b311461036d578063a9059cbb1461038d57600080fd5b80632dc0562d116101085780632dc0562d14610201578063313ce5671461023957806339509351146102555780634ada218b146102755780634fbee1931461029657806370a08231146102cf57600080fd5b806306fdde0314610150578063095ea7b31461017b5780630bd05b69146101ab57806318160ddd146101c257806323b872dd146101e157600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061016561046d565b6040516101729190611226565b60405180910390f35b34801561018757600080fd5b5061019b610196366004611290565b6104ff565b6040519015158152602001610172565b3480156101b757600080fd5b506101c0610517565b005b3480156101ce57600080fd5b506002545b604051908152602001610172565b3480156101ed57600080fd5b5061019b6101fc3660046112bc565b6105a1565b34801561020d57600080fd5b50600754610221906001600160a01b031681565b6040516001600160a01b039091168152602001610172565b34801561024557600080fd5b5060405160128152602001610172565b34801561026157600080fd5b5061019b610270366004611290565b6105c5565b34801561028157600080fd5b5060055461019b90600160a81b900460ff1681565b3480156102a257600080fd5b5061019b6102b13660046112fd565b6001600160a01b03166000908152600d602052604090205460ff1690565b3480156102db57600080fd5b506101d36102ea3660046112fd565b6001600160a01b031660009081526020819052604090205490565b34801561031157600080fd5b506101c06105e7565b34801561032657600080fd5b506005546001600160a01b0316610221565b34801561034457600080fd5b506101656105fb565b34801561035957600080fd5b5061019b610368366004611290565b61060a565b34801561037957600080fd5b50600854610221906001600160a01b031681565b34801561039957600080fd5b5061019b6103a8366004611290565b610685565b3480156103b957600080fd5b506101c06103c8366004611321565b610693565b3480156103d957600080fd5b506101c06103e836600461133a565b6106b3565b3480156103f957600080fd5b506101d3610408366004611378565b61078a565b34801561041957600080fd5b506101c06104283660046112fd565b6107b5565b34801561043957600080fd5b506101c06104483660046112fd565b6107df565b34801561045957600080fd5b50600654610221906001600160a01b031681565b60606003805461047c906113a6565b80601f01602080910402602001604051908101604052809291908181526020018280546104a8906113a6565b80156104f55780601f106104ca576101008083540402835291602001916104f5565b820191906000526020600020905b8154815290600101906020018083116104d857829003601f168201915b5050505050905090565b60003361050d818585610858565b5060019392505050565b61051f61097c565b600554600160a81b900460ff161561057e5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6005805460ff60a81b1916600160a81b17905561059c6078426113f6565b600b55565b6000336105af8582856109d6565b6105ba858585610a50565b506001949350505050565b60003361050d8185856105d8838361078a565b6105e291906113f6565b610858565b6105ef61097c565b6105f96000610e24565b565b60606004805461047c906113a6565b60003381610618828661078a565b9050838110156106785760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610575565b6105ba8286868403610858565b60003361050d818585610a50565b61069b61097c565b6106ad81670de0b6b3a764000061140e565b60095550565b6106bb61097c565b6001600160a01b0382166000908152600d602052604090205481151560ff90911615150361072b5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610575565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107bd61097c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6107e761097c565b6001600160a01b03811661084c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610575565b61085581610e24565b50565b6001600160a01b0383166108ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610575565b6001600160a01b03821661091b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610575565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146105f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610575565b60006109e2848461078a565b90506000198114610a4a5781811015610a3d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610575565b610a4a8484848403610858565b50505050565b6001600160a01b038316610ab45760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610575565b6001600160a01b038216610b165760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610575565b6008546001600160a01b038481166000908152600d602052604090205491169060ff16158015610b5f57506001600160a01b0383166000908152600d602052604090205460ff16155b8015610b755750600554600160a01b900460ff16155b15610c6457600554600160a81b900460ff16610bc85760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610575565b42600b54118015610beb5750806001600160a01b0316836001600160a01b031614155b15610c6457600a546001600160a01b038416600090815260208190526040902054610c1690846113f6565b1115610c645760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610575565b81600003610c7857610a4a84846000610e76565b3060009081526020819052604090205460095481108015908190610ca65750600554600160a01b900460ff16155b8015610cc35750826001600160a01b0316856001600160a01b0316145b8015610ce857506001600160a01b0386166000908152600d602052604090205460ff16155b8015610d0d57506001600160a01b0385166000908152600d602052604090205460ff16155b15610d3f576005805460ff60a01b1916600160a01b179055600954610d319061102b565b6005805460ff60a01b191690555b6005546001600160a01b0387166000908152600d602052604090205460ff600160a01b909204821615911680610d8d57506001600160a01b0386166000908152600d602052604090205460ff165b15610d96575060005b856001600160a01b0316846001600160a01b031614158015610dca5750866001600160a01b0316846001600160a01b031614155b15610dd3575060005b8015610e105760006064600c5487610deb919061140e565b610df5919061142d565b9050610e01818761144f565b9550610e0e883083610e76565b505b610e1b878787610e76565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610eda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610575565b6001600160a01b038216610f3c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610575565b610f478383836110c6565b6001600160a01b03831660009081526020819052604090205481811015610fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610575565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a4a8484846110c6565b611034816110cc565b4780156110c8576007546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611088576040519150601f19603f3d011682016040523d82523d6000602084013e61108d565b606091505b50509050806110c65760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b6044820152606401610575565b505b5050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061110157611101611466565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561115a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117e919061147c565b8160018151811061119157611191611466565b6001600160a01b0392831660209182029290920101526006546111b79130911684610858565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906111f0908590600090869030904290600401611499565b600060405180830381600087803b15801561120a57600080fd5b505af115801561121e573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561125357858101830151858201604001528201611237565b81811115611265576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461085557600080fd5b600080604083850312156112a357600080fd5b82356112ae8161127b565b946020939093013593505050565b6000806000606084860312156112d157600080fd5b83356112dc8161127b565b925060208401356112ec8161127b565b929592945050506040919091013590565b60006020828403121561130f57600080fd5b813561131a8161127b565b9392505050565b60006020828403121561133357600080fd5b5035919050565b6000806040838503121561134d57600080fd5b82356113588161127b565b91506020830135801515811461136d57600080fd5b809150509250929050565b6000806040838503121561138b57600080fd5b82356113968161127b565b9150602083013561136d8161127b565b600181811c908216806113ba57607f821691505b6020821081036113da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611409576114096113e0565b500190565b6000816000190483118215151615611428576114286113e0565b500290565b60008261144a57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611461576114616113e0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561148e57600080fd5b815161131a8161127b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114e95784516001600160a01b0316835293830193918301916001016114c4565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201cea799f23b7bb75832185317bec570fcf2ed7fa1ef069e98f61fae8515330c864736f6c634300080d0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000007e0d40ec4aaf8ef4df3f560882edccfda4547423

-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _taxWallet (address): 0x7E0D40ec4aaf8ef4df3F560882eDccFda4547423

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000007e0d40ec4aaf8ef4df3f560882edccfda4547423


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.