ETH Price: $1,798.23 (+7.31%)

Contract

0x032598D46F1d416bFA2Af63bB744c5D4Ac93D131

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve2755525892024-11-17 22:25:32156 days ago1731882332IN
0x032598D4...4Ac93D131
0 ETH0.000001410.01
Approve2658207172024-10-20 14:53:49184 days ago1729436029IN
0x032598D4...4Ac93D131
0 ETH0.000001320.01
Approve2649025202024-10-17 22:50:05187 days ago1729205405IN
0x032598D4...4Ac93D131
0 ETH0.000001060.01
Approve2245387092024-06-22 13:08:32305 days ago1719061712IN
0x032598D4...4Ac93D131
0 ETH0.000000240.01
Approve2215444692024-06-13 21:04:31313 days ago1718312671IN
0x032598D4...4Ac93D131
0 ETH0.000000990.01
Approve2159933022024-05-28 18:45:22329 days ago1716921922IN
0x032598D4...4Ac93D131
0 ETH0.00000780.141222
Approve2054013572024-04-27 15:54:00360 days ago1714233240IN
0x032598D4...4Ac93D131
0 ETH0.000000720.01
Approve2049067452024-04-26 5:09:24362 days ago1714108164IN
0x032598D4...4Ac93D131
0 ETH0.00000060.01
Approve2030304752024-04-20 16:37:12367 days ago1713631032IN
0x032598D4...4Ac93D131
0 ETH0.00000080.01
Approve2022444162024-04-18 8:58:11370 days ago1713430691IN
0x032598D4...4Ac93D131
0 ETH0.000000870.01
Approve1990358342024-04-08 23:46:09379 days ago1712619969IN
0x032598D4...4Ac93D131
0 ETH0.000001090.01
Approve1955608932024-03-29 21:19:07389 days ago1711747147IN
0x032598D4...4Ac93D131
0 ETH0.000006010.01
Approve1954230642024-03-29 11:41:37390 days ago1711712497IN
0x032598D4...4Ac93D131
0 ETH0.000002780.01
Approve1948622112024-03-27 20:31:40391 days ago1711571500IN
0x032598D4...4Ac93D131
0 ETH0.00000120.01
Transfer1945655672024-03-26 23:51:00392 days ago1711497060IN
0x032598D4...4Ac93D131
0 ETH0.000001470.01
Approve1943998632024-03-26 12:19:15393 days ago1711455555IN
0x032598D4...4Ac93D131
0 ETH0.000001120.01
Transfer1933847132024-03-23 13:41:18396 days ago1711201278IN
0x032598D4...4Ac93D131
0 ETH0.000001140.01
Approve1931995492024-03-23 0:49:04396 days ago1711154944IN
0x032598D4...4Ac93D131
0 ETH0.0000010.01
Approve1921022412024-03-19 20:18:42399 days ago1710879522IN
0x032598D4...4Ac93D131
0 ETH0.000001890.01
Approve1917913192024-03-18 22:36:02400 days ago1710801362IN
0x032598D4...4Ac93D131
0 ETH0.000011920.1
Approve1916000532024-03-18 9:12:55401 days ago1710753175IN
0x032598D4...4Ac93D131
0 ETH0.000010490.1
Approve1909063612024-03-16 8:11:53403 days ago1710576713IN
0x032598D4...4Ac93D131
0 ETH0.000011930.1
Approve1908692492024-03-16 5:34:50403 days ago1710567290IN
0x032598D4...4Ac93D131
0 ETH0.000011770.1
Approve1907715152024-03-15 22:41:46403 days ago1710542506IN
0x032598D4...4Ac93D131
0 ETH0.000011980.1
Approve1907266792024-03-15 19:29:44403 days ago1710530984IN
0x032598D4...4Ac93D131
0 ETH0.000010860.1
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TAOX

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
berlin EvmVersion
File 1 of 9 : TAOX.sol
// Website: https://taox.ai
// Twitter: https://x.com/taox_ai
// Telegram: https://t.me/taox_ai

// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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

contract TAOX is Ownable, ERC20 {
    error MaxTxAmountExceeded();
    error MaxWalletAmountExceeded();
    error NotAuthorized();

    event UpdateMarketingWL(address _marketingWallet);
    event SwapBack(uint256 amount);
    event UpdateSwapTokenAt(uint256 amount);
    event OpenTrading();

    IUniswapV2Router02 immutable router =
        IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    uint256 _totalSupply = 100_000_000 * 10 ** 18;

    uint256 TAX = 5;

    address public marketingWallet;
    uint256 public swapTokenAt = _totalSupply / 1000;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _autoMarketMakers;

    bool private _swaping = false;
    bool private _tradingEnable = false;

    modifier onSwap() {
        _swaping = true;
        _;
        _swaping = false;
    }

    constructor() ERC20("TAOx", "TAOx") {
        marketingWallet = _msgSender();
        address pair = IUniswapV2Factory(router.factory()).createPair(
            address(this),
            router.WETH()
        );
        _autoMarketMakers[pair] = true;
        _isExcludedFromFees[_msgSender()] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[address(router)] = true;
        _mint(_msgSender(), _totalSupply);
        _approve(_msgSender(), address(router), type(uint256).max);
    }

    receive() external payable {}

    function setSwapTokenAt(uint256 value) external onlyOwner {
        require(
            value <= _totalSupply / 50,
            "Value must be less than or equal to SUPPLY / 50"
        );
        swapTokenAt = value;
        emit UpdateSwapTokenAt(value);
    }

    function openTrading() external onlyOwner {
        _tradingEnable = true;
        emit OpenTrading();
    }

    function getIsExcludedFromFees(
        address _address
    ) external view returns (bool) {
        return _isExcludedFromFees[_address];
    }

    function excludedFromFees(
        address _address,
        bool _value
    ) external onlyOwner {
        _isExcludedFromFees[_address] = _value;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (
            _isExcludedFromFees[from] ||
            _isExcludedFromFees[to] ||
            (!_autoMarketMakers[to] && !_autoMarketMakers[from]) ||
            _swaping
        ) {
            super._transfer(from, to, amount);
            return;
        }

        require(_tradingEnable, "Trading is not enabled");

        uint256 _totalFees = (amount * TAX) / 100;

        if (_autoMarketMakers[to]) {
            if (balanceOf(address(this)) >= swapTokenAt) {
                swapBack();
            }
        }

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

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

    function swapBack() public onSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            swapTokenAt,
            0,
            path,
            marketingWallet,
            block.timestamp
        );

        emit SwapBack(swapTokenAt);
    }

    function setAutoMarketMakers(
        address _address,
        bool _value
    ) external onlyOwner {
        _autoMarketMakers[_address] = _value;
    }

    function isAutoMarketMakers(address _address) external view returns (bool) {
        return _autoMarketMakers[_address];
    }

    function setMarketingWL(address _marketingWallet) external {
        if (_msgSender() != owner() && _msgSender() != marketingWallet) {
            revert NotAuthorized();
        }
        marketingWallet = _marketingWallet;
        emit UpdateMarketingWL(_marketingWallet);
    }
}

File 2 of 9 : 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 9 : 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 4 of 9 : 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 5 of 9 : 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 6 of 9 : 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;
    }
}

File 7 of 9 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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

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

    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 8 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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

    function WETH() external pure returns (address);

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

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

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

import "./IUniswapV2Router01.sol";

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxTxAmountExceeded","type":"error"},{"inputs":[],"name":"MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"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":[],"name":"OpenTrading","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":"amount","type":"uint256"}],"name":"SwapBack","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"UpdateMarketingWL","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdateSwapTokenAt","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":[],"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":"_address","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"excludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getIsExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_address","type":"address"}],"name":"isAutoMarketMakers","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setAutoMarketMakers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapTokenAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokenAt","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":"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"}]

60a0604052737a250d5630b4cf539739df2c5dacb4c659f2488d6080526a52b7d2dcc80cd2e40000006006819055600560075562000041906103e89062000555565b600955600c805461ffff191690553480156200005c57600080fd5b50604051806040016040528060048152602001630a8829ef60e31b815250604051806040016040528060048152602001630a8829ef60e31b815250620000b1620000ab6200030b60201b60201c565b6200030f565b6004620000bf83826200061e565b506005620000ce82826200061e565b50620000da9150503390565b600860006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060006080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000143573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001699190620006ea565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001df9190620006ea565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200022d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002539190620006ea565b6001600160a01b0381166000908152600b60205260408120805460ff19166001908117909155919250600a90620002873390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600a909352818320805485166001908117909155608051909116835291208054909216179055620002f3620002ea3390565b6006546200035f565b620003043360805160001962000428565b5062000744565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003bb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620003cf91906200071c565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200048c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620003b2565b6001600160a01b038216620004ef5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003b2565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b6000826200057357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005a357607f821691505b602082108103620005c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000550576000816000526020600020601f850160051c81016020861015620005f55750805b601f850160051c820191505b81811015620006165782815560010162000601565b505050505050565b81516001600160401b038111156200063a576200063a62000578565b62000652816200064b84546200058e565b84620005ca565b602080601f8311600181146200068a5760008415620006715750858301515b600019600386901b1c1916600185901b17855562000616565b600085815260208120601f198616915b82811015620006bb578886015182559484019460019091019084016200069a565b5085821015620006da5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006fd57600080fd5b81516001600160a01b03811681146200071557600080fd5b9392505050565b808201808211156200073e57634e487b7160e01b600052601160045260246000fd5b92915050565b6080516113756200076e60003960008181610624015281816106dd015261072101526113756000f3fe60806040526004361061014f5760003560e01c806375f0a874116100b6578063a457c2d71161006f578063a457c2d7146103e6578063a9059cbb14610406578063c9567bf914610426578063dd31c0491461043b578063dd62ed3e1461045b578063f2fde38b1461047b57600080fd5b806375f0a874146103025780637b16cea01461033a5780637fec621e14610373578063864b3167146103935780638da5cb5b146103b357806395d89b41146103d157600080fd5b8063313ce56711610108578063313ce56714610250578063395093511461026c5780636ac5eeee1461028c57806370a08231146102a1578063715018a6146102d757806373bc5a36146102ec57600080fd5b806306fdde031461015b578063095ea7b31461018657806316697fc5146101b657806318160ddd146101d85780631fdcb491146101f757806323b872dd1461023057600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5061017061049b565b60405161017d9190611070565b60405180910390f35b34801561019257600080fd5b506101a66101a13660046110d4565b61052d565b604051901515815260200161017d565b3480156101c257600080fd5b506101d66101d1366004611100565b610547565b005b3480156101e457600080fd5b506003545b60405190815260200161017d565b34801561020357600080fd5b506101a661021236600461113e565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561023c57600080fd5b506101a661024b366004611162565b61057a565b34801561025c57600080fd5b506040516012815260200161017d565b34801561027857600080fd5b506101a66102873660046110d4565b61059e565b34801561029857600080fd5b506101d66105c0565b3480156102ad57600080fd5b506101e96102bc36600461113e565b6001600160a01b031660009081526001602052604090205490565b3480156102e357600080fd5b506101d66107dc565b3480156102f857600080fd5b506101e960095481565b34801561030e57600080fd5b50600854610322906001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b34801561034657600080fd5b506101a661035536600461113e565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561037f57600080fd5b506101d661038e36600461113e565b6107f0565b34801561039f57600080fd5b506101d66103ae3660046111a3565b610892565b3480156103bf57600080fd5b506000546001600160a01b0316610322565b3480156103dd57600080fd5b5061017061094a565b3480156103f257600080fd5b506101a66104013660046110d4565b610959565b34801561041257600080fd5b506101a66104213660046110d4565b6109d4565b34801561043257600080fd5b506101d66109e2565b34801561044757600080fd5b506101d6610456366004611100565b610a24565b34801561046757600080fd5b506101e96104763660046111bc565b610a57565b34801561048757600080fd5b506101d661049636600461113e565b610a82565b6060600480546104aa906111ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104d6906111ea565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b60003361053b818585610afb565b60019150505b92915050565b61054f610c1f565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610588858285610c79565b610593858585610cf3565b506001949350505050565b60003361053b8185856105b18383610a57565b6105bb919061123a565b610afb565b600c805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106106025761060261124d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a49190611263565b816001815181106106b7576106b761124d565b60200260200101906001600160a01b031690816001600160a01b031681525050610704307f0000000000000000000000000000000000000000000000000000000000000000600954610afb565b60095460085460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169363791ac947936107629391926000928892909116904290600401611280565b600060405180830381600087803b15801561077c57600080fd5b505af1158015610790573d6000803e3d6000fd5b505050507fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee056009546040516107c791815260200190565b60405180910390a150600c805460ff19169055565b6107e4610c1f565b6107ee6000610e75565b565b6000546001600160a01b0316331480159061081f57506008546001600160a01b0316336001600160a01b031614155b1561083d5760405163ea8e4eb560e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527ffd0b0a42994d3cda2ac8e0f517a2c764afa4cdebeac6d7cf6da7879ba15b0e72906020015b60405180910390a150565b61089a610c1f565b60326006546108a991906112f3565b8111156109155760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084015b60405180910390fd5b60098190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb90602001610887565b6060600580546104aa906111ea565b600033816109678286610a57565b9050838110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161090c565b6105938286868403610afb565b60003361053b818585610cf3565b6109ea610c1f565b600c805461ff0019166101001790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b610a2c610c1f565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610a8a610c1f565b6001600160a01b038116610aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090c565b610af881610e75565b50565b6001600160a01b038316610b5d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161090c565b6001600160a01b038216610bbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161090c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146107ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090c565b6000610c858484610a57565b90506000198114610ced5781811015610ce05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161090c565b610ced8484848403610afb565b50505050565b6001600160a01b0383166000908152600a602052604090205460ff1680610d3257506001600160a01b0382166000908152600a602052604090205460ff165b80610d7a57506001600160a01b0382166000908152600b602052604090205460ff16158015610d7a57506001600160a01b0383166000908152600b602052604090205460ff16155b80610d875750600c5460ff165b15610d9c57610d97838383610ec5565b505050565b600c54610100900460ff16610dec5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090c565b6000606460075483610dfe9190611315565b610e0891906112f3565b6001600160a01b0384166000908152600b602052604090205490915060ff1615610e4c576009543060009081526001602052604090205410610e4c57610e4c6105c0565b8015610e6a57610e5d843083610ec5565b610e67818361132c565b91505b610ced848484610ec5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610f295760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161090c565b6001600160a01b038216610f8b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161090c565b6001600160a01b038316600090815260016020526040902054818110156110035760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161090c565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110639086815260200190565b60405180910390a3610ced565b60006020808352835180602085015260005b8181101561109e57858101830151858201604001528201611082565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610af857600080fd5b600080604083850312156110e757600080fd5b82356110f2816110bf565b946020939093013593505050565b6000806040838503121561111357600080fd5b823561111e816110bf565b91506020830135801515811461113357600080fd5b809150509250929050565b60006020828403121561115057600080fd5b813561115b816110bf565b9392505050565b60008060006060848603121561117757600080fd5b8335611182816110bf565b92506020840135611192816110bf565b929592945050506040919091013590565b6000602082840312156111b557600080fd5b5035919050565b600080604083850312156111cf57600080fd5b82356111da816110bf565b91506020830135611133816110bf565b600181811c908216806111fe57607f821691505b60208210810361121e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561054157610541611224565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561127557600080fd5b815161115b816110bf565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156112d25784516001600160a01b0316835293830193918301916001016112ad565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261131057634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761054157610541611224565b818103818111156105415761054161122456fea2646970667358221220c1f1998df98d4f582060c573a4649675a7fd1ecfd8843e84ba28b1a9f42373ce64736f6c63430008170033

Deployed Bytecode

0x60806040526004361061014f5760003560e01c806375f0a874116100b6578063a457c2d71161006f578063a457c2d7146103e6578063a9059cbb14610406578063c9567bf914610426578063dd31c0491461043b578063dd62ed3e1461045b578063f2fde38b1461047b57600080fd5b806375f0a874146103025780637b16cea01461033a5780637fec621e14610373578063864b3167146103935780638da5cb5b146103b357806395d89b41146103d157600080fd5b8063313ce56711610108578063313ce56714610250578063395093511461026c5780636ac5eeee1461028c57806370a08231146102a1578063715018a6146102d757806373bc5a36146102ec57600080fd5b806306fdde031461015b578063095ea7b31461018657806316697fc5146101b657806318160ddd146101d85780631fdcb491146101f757806323b872dd1461023057600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5061017061049b565b60405161017d9190611070565b60405180910390f35b34801561019257600080fd5b506101a66101a13660046110d4565b61052d565b604051901515815260200161017d565b3480156101c257600080fd5b506101d66101d1366004611100565b610547565b005b3480156101e457600080fd5b506003545b60405190815260200161017d565b34801561020357600080fd5b506101a661021236600461113e565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561023c57600080fd5b506101a661024b366004611162565b61057a565b34801561025c57600080fd5b506040516012815260200161017d565b34801561027857600080fd5b506101a66102873660046110d4565b61059e565b34801561029857600080fd5b506101d66105c0565b3480156102ad57600080fd5b506101e96102bc36600461113e565b6001600160a01b031660009081526001602052604090205490565b3480156102e357600080fd5b506101d66107dc565b3480156102f857600080fd5b506101e960095481565b34801561030e57600080fd5b50600854610322906001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b34801561034657600080fd5b506101a661035536600461113e565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561037f57600080fd5b506101d661038e36600461113e565b6107f0565b34801561039f57600080fd5b506101d66103ae3660046111a3565b610892565b3480156103bf57600080fd5b506000546001600160a01b0316610322565b3480156103dd57600080fd5b5061017061094a565b3480156103f257600080fd5b506101a66104013660046110d4565b610959565b34801561041257600080fd5b506101a66104213660046110d4565b6109d4565b34801561043257600080fd5b506101d66109e2565b34801561044757600080fd5b506101d6610456366004611100565b610a24565b34801561046757600080fd5b506101e96104763660046111bc565b610a57565b34801561048757600080fd5b506101d661049636600461113e565b610a82565b6060600480546104aa906111ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104d6906111ea565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b60003361053b818585610afb565b60019150505b92915050565b61054f610c1f565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610588858285610c79565b610593858585610cf3565b506001949350505050565b60003361053b8185856105b18383610a57565b6105bb919061123a565b610afb565b600c805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106106025761060261124d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a49190611263565b816001815181106106b7576106b761124d565b60200260200101906001600160a01b031690816001600160a01b031681525050610704307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600954610afb565b60095460085460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169363791ac947936107629391926000928892909116904290600401611280565b600060405180830381600087803b15801561077c57600080fd5b505af1158015610790573d6000803e3d6000fd5b505050507fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee056009546040516107c791815260200190565b60405180910390a150600c805460ff19169055565b6107e4610c1f565b6107ee6000610e75565b565b6000546001600160a01b0316331480159061081f57506008546001600160a01b0316336001600160a01b031614155b1561083d5760405163ea8e4eb560e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527ffd0b0a42994d3cda2ac8e0f517a2c764afa4cdebeac6d7cf6da7879ba15b0e72906020015b60405180910390a150565b61089a610c1f565b60326006546108a991906112f3565b8111156109155760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084015b60405180910390fd5b60098190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb90602001610887565b6060600580546104aa906111ea565b600033816109678286610a57565b9050838110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161090c565b6105938286868403610afb565b60003361053b818585610cf3565b6109ea610c1f565b600c805461ff0019166101001790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b610a2c610c1f565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610a8a610c1f565b6001600160a01b038116610aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090c565b610af881610e75565b50565b6001600160a01b038316610b5d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161090c565b6001600160a01b038216610bbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161090c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146107ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090c565b6000610c858484610a57565b90506000198114610ced5781811015610ce05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161090c565b610ced8484848403610afb565b50505050565b6001600160a01b0383166000908152600a602052604090205460ff1680610d3257506001600160a01b0382166000908152600a602052604090205460ff165b80610d7a57506001600160a01b0382166000908152600b602052604090205460ff16158015610d7a57506001600160a01b0383166000908152600b602052604090205460ff16155b80610d875750600c5460ff165b15610d9c57610d97838383610ec5565b505050565b600c54610100900460ff16610dec5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b604482015260640161090c565b6000606460075483610dfe9190611315565b610e0891906112f3565b6001600160a01b0384166000908152600b602052604090205490915060ff1615610e4c576009543060009081526001602052604090205410610e4c57610e4c6105c0565b8015610e6a57610e5d843083610ec5565b610e67818361132c565b91505b610ced848484610ec5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316610f295760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161090c565b6001600160a01b038216610f8b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161090c565b6001600160a01b038316600090815260016020526040902054818110156110035760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161090c565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110639086815260200190565b60405180910390a3610ced565b60006020808352835180602085015260005b8181101561109e57858101830151858201604001528201611082565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610af857600080fd5b600080604083850312156110e757600080fd5b82356110f2816110bf565b946020939093013593505050565b6000806040838503121561111357600080fd5b823561111e816110bf565b91506020830135801515811461113357600080fd5b809150509250929050565b60006020828403121561115057600080fd5b813561115b816110bf565b9392505050565b60008060006060848603121561117757600080fd5b8335611182816110bf565b92506020840135611192816110bf565b929592945050506040919091013590565b6000602082840312156111b557600080fd5b5035919050565b600080604083850312156111cf57600080fd5b82356111da816110bf565b91506020830135611133816110bf565b600181811c908216806111fe57607f821691505b60208210810361121e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561054157610541611224565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561127557600080fd5b815161115b816110bf565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156112d25784516001600160a01b0316835293830193918301916001016112ad565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261131057634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761054157610541611224565b818103818111156105415761054161122456fea2646970667358221220c1f1998df98d4f582060c573a4649675a7fd1ecfd8843e84ba28b1a9f42373ce64736f6c63430008170033

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
[ 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.