ETH Price: $3,419.05 (+2.74%)

Contract

0x10f27e18c6aEC2419d3A2Eb079a71d6FF3F08607
 

Overview

ETH Balance

0.0709278 ETH

Eth Value

$242.51 (@ $3,419.05/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer215041002024-12-28 22:59:2319 days ago1735426763IN
0x10f27e18...FF3F08607
0 ETH0.000276865.65434887
Transfer170788462023-04-19 6:20:59639 days ago1681885259IN
0x10f27e18...FF3F08607
0.0709278 ETH0.0012333758.57884277
Approve170788092023-04-19 6:13:23639 days ago1681884803IN
0x10f27e18...FF3F08607
0 ETH0.0026523856.9781232
Approve170788052023-04-19 6:12:35639 days ago1681884755IN
0x10f27e18...FF3F08607
0 ETH0.0025287454.32206084
Approve170788052023-04-19 6:12:35639 days ago1681884755IN
0x10f27e18...FF3F08607
0 ETH0.0033093871
Approve170788022023-04-19 6:11:59639 days ago1681884719IN
0x10f27e18...FF3F08607
0 ETH0.0026897257.70577668
Approve170788022023-04-19 6:11:59639 days ago1681884719IN
0x10f27e18...FF3F08607
0 ETH0.0026897257.70577668
Approve170788022023-04-19 6:11:59639 days ago1681884719IN
0x10f27e18...FF3F08607
0 ETH0.0043155492.70577668
Approve170788012023-04-19 6:11:47639 days ago1681884707IN
0x10f27e18...FF3F08607
0 ETH0.0027300358.57071589
Approve170788002023-04-19 6:11:35639 days ago1681884695IN
0x10f27e18...FF3F08607
0 ETH0.002696257.84475822
Approve170788002023-04-19 6:11:35639 days ago1681884695IN
0x10f27e18...FF3F08607
0 ETH0.002696257.84475822
Approve170787992023-04-19 6:11:23639 days ago1681884683IN
0x10f27e18...FF3F08607
0 ETH0.0027584559.1803798
Approve170787982023-04-19 6:11:11639 days ago1681884671IN
0x10f27e18...FF3F08607
0 ETH0.0043939294.26801912
Approve170787982023-04-19 6:11:11639 days ago1681884671IN
0x10f27e18...FF3F08607
0 ETH0.0043939294.26801912
Approve170787982023-04-19 6:11:11639 days ago1681884671IN
0x10f27e18...FF3F08607
0 ETH0.0043939294.26801912
Approve170787942023-04-19 6:10:23639 days ago1681884623IN
0x10f27e18...FF3F08607
0 ETH0.0028145460.3836394
Approve170787932023-04-19 6:10:11639 days ago1681884611IN
0x10f27e18...FF3F08607
0 ETH0.0035054275.20589397
Approve170787892023-04-19 6:09:23639 days ago1681884563IN
0x10f27e18...FF3F08607
0 ETH0.0025966855.99803376
Set Pair Address170787892023-04-19 6:09:23639 days ago1681884563IN
0x10f27e18...FF3F08607
0 ETH0.0013600756.69803376
Approve170787792023-04-19 6:07:23639 days ago1681884443IN
0x10f27e18...FF3F08607
0 ETH0.0025311654.58513852
Approve170787792023-04-19 6:07:23639 days ago1681884443IN
0x10f27e18...FF3F08607
0 ETH0.0031189167
Approve170787782023-04-19 6:07:11639 days ago1681884431IN
0x10f27e18...FF3F08607
0 ETH0.00514052111
Approve170787742023-04-19 6:06:23639 days ago1681884383IN
0x10f27e18...FF3F08607
0 ETH0.0026722157.62676399
Approve170787732023-04-19 6:06:11639 days ago1681884371IN
0x10f27e18...FF3F08607
0 ETH0.0027546759.17548493
Approve170787712023-04-19 6:05:47639 days ago1681884347IN
0x10f27e18...FF3F08607
0 ETH0.0026028956.20465796
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BatemanToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : BatemanToken.sol
// SPDX-License-Identifier: MIT
// https://www.btmn.xyz/

pragma solidity ^0.8.17;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {IUniswapRouter02} from "./IUniswapRouter02.sol";

contract BatemanToken is ERC20, Ownable, ReentrancyGuard {
    uint256 public taxPercentage = 5;
    address public pair;
    IUniswapRouter02 public uniswapRouter =
        IUniswapRouter02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    bool public maxBuyEnabled;
    uint256 public maxBuyAmount;

    constructor() ERC20("Bateman Token", "BTMN") {
        maxBuyEnabled = true;
        maxBuyAmount = 420420420420 * 2 * 10 ** 16; // 2% of supply
        _mint(msg.sender, 420420420420 * 10 ** decimals()); // 90% of supply
    }

    function transfer(
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address from = _msgSender();
        _taxedTransfer(from, to, amount);

        return true;
    }

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

        return true;
    }

    function _taxedTransfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        if ((from == pair) && msg.sender != owner()) {
            // is buy
            if (maxBuyEnabled) {
                require(
                    amount <= maxBuyAmount,
                    "You can't buy more than 2% of the supply at once"
                );
            }
            _transfer(from, to, amount);
        } else if ((to == pair) && msg.sender != owner()) {
            // is sell
            uint256 taxAmount = (amount * taxPercentage) / 100;
            _transfer(from, to, amount - taxAmount);
            _swapTokenForETH(taxAmount);
        } else _transfer(from, to, amount);

        return true;
    }

    function _swapTokenForETH(uint256 amount) private {
        _approve(address(this), address(uniswapRouter), amount);
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapRouter.WETH();

        uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function toggleMaxBuy(bool enabled) public onlyOwner {
        maxBuyEnabled = enabled;
    }

    function setMaxBuyAmount(uint256 amount) public onlyOwner {
        maxBuyAmount = amount;
    }

    function withdrawTaxETH() public onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function rescueTokens(address tokenAddress) public onlyOwner {
        IERC20 token = IERC20(tokenAddress);
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }

    function setPairAddress(address _pair) external onlyOwner {
        pair = _pair;
    }

    receive() external payable {}

    fallback() external payable {}
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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 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 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 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 8 of 9 : IUniswapRouter01.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IUniswapRouter01 {
    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 factory() external pure returns (address);

    function WETH() external pure returns (address);

    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 : IUniswapRouter02.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import {IUniswapRouter01} from "./IUniswapRouter01.sol";

interface IUniswapRouter02 is IUniswapRouter01 {
    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
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"stateMutability":"payable","type":"fallback"},{"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyEnabled","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":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPairAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"toggleMaxBuy","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTaxETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526005600755600980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790553480156200003c57600080fd5b506040518060400160405280600d81526020016c2130ba32b6b0b7102a37b5b2b760991b81525060405180604001604052806004815260200163212a26a760e11b8152508160039081620000919190620002e2565b506004620000a08282620002e2565b505050620000bd620000b76200011d60201b60201c565b62000121565b60016006556009805460ff60a01b1916600160a01b1790556b1b2b45bd2d37d42ee4880000600a556200011733620000f3601290565b6200010090600a620004c3565b62000111906461e3028344620004db565b62000173565b6200050b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001ce5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001e29190620004f5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026957607f821691505b6020821081036200028a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023957600081815260208120601f850160051c81016020861015620002b95750805b601f850160051c820191505b81811015620002da57828155600101620002c5565b505050505050565b81516001600160401b03811115620002fe57620002fe6200023e565b62000316816200030f845462000254565b8462000290565b602080601f8311600181146200034e5760008415620003355750858301515b600019600386901b1c1916600185901b178555620002da565b600085815260208120601f198616915b828110156200037f578886015182559484019460019091019084016200035e565b50858210156200039e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000405578160001904821115620003e957620003e9620003ae565b80851615620003f757918102915b93841c9390800290620003c9565b509250929050565b6000826200041e57506001620004bd565b816200042d57506000620004bd565b8160018114620004465760028114620004515762000471565b6001915050620004bd565b60ff841115620004655762000465620003ae565b50506001821b620004bd565b5060208310610133831016604e8410600b841016171562000496575081810a620004bd565b620004a28383620003c4565b8060001904821115620004b957620004b9620003ae565b0290505b92915050565b6000620004d460ff8416836200040d565b9392505050565b8082028115828204841417620004bd57620004bd620003ae565b80820180821115620004bd57620004bd620003ae565b611243806200051b6000396000f3fe6080604052600436106101425760003560e01c80638da5cb5b116100b0578063ae7b6d161161006c578063ae7b6d16146103ae578063dd62ed3e146103c4578063e8c611f9146103e4578063f2fde38b146103f9578063f34eb0b814610419578063f8ae277d1461043957005b80638da5cb5b146102fb57806395d89b4114610319578063a22d48321461032e578063a457c2d71461034e578063a8aa1b311461036e578063a9059cbb1461038e57005b806339509351116100ff5780633950935114610221578063417fd2d61461024157806370a0823114610262578063715018a614610298578063735de9f7146102ad57806388e765ff146102e557005b8062ae3bf81461014b57806306fdde031461016b578063095ea7b31461019657806318160ddd146101c657806323b872dd146101e5578063313ce5671461020557005b3661014957005b005b34801561015757600080fd5b50610149610166366004610f28565b610459565b34801561017757600080fd5b50610180610549565b60405161018d9190610f4c565b60405180910390f35b3480156101a257600080fd5b506101b66101b1366004610f9a565b6105db565b604051901515815260200161018d565b3480156101d257600080fd5b506002545b60405190815260200161018d565b3480156101f157600080fd5b506101b6610200366004610fc6565b6105f5565b34801561021157600080fd5b506040516012815260200161018d565b34801561022d57600080fd5b506101b661023c366004610f9a565b61061a565b34801561024d57600080fd5b506009546101b690600160a01b900460ff1681565b34801561026e57600080fd5b506101d761027d366004610f28565b6001600160a01b031660009081526020819052604090205490565b3480156102a457600080fd5b5061014961063c565b3480156102b957600080fd5b506009546102cd906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b3480156102f157600080fd5b506101d7600a5481565b34801561030757600080fd5b506005546001600160a01b03166102cd565b34801561032557600080fd5b50610180610650565b34801561033a57600080fd5b50610149610349366004610f28565b61065f565b34801561035a57600080fd5b506101b6610369366004610f9a565b610689565b34801561037a57600080fd5b506008546102cd906001600160a01b031681565b34801561039a57600080fd5b506101b66103a9366004610f9a565b610714565b3480156103ba57600080fd5b506101d760075481565b3480156103d057600080fd5b506101d76103df366004611007565b610722565b3480156103f057600080fd5b5061014961074d565b34801561040557600080fd5b50610149610414366004610f28565b6107e3565b34801561042557600080fd5b50610149610434366004611040565b610859565b34801561044557600080fd5b50610149610454366004611067565b610866565b61046161088c565b6040516370a0823160e01b815230600482015281906001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156104b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d59190611084565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610544919061109d565b505050565b606060038054610558906110ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610584906110ba565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b6000336105e98185856108e6565b60019150505b92915050565b600033610603858285610a0a565b61060e858585610a84565b50600195945050505050565b6000336105e981858561062d8383610722565b610637919061110a565b6108e6565b61064461088c565b61064e6000610bc4565b565b606060048054610558906110ba565b61066761088c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033816106978286610722565b9050838110156106fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61070982868684036108e6565b506001949350505050565b600033610709818585610a84565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61075561088c565b604051600090339047908381818185875af1925050503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b50509050806107e05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016106f3565b50565b6107eb61088c565b6001600160a01b0381166108505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f3565b6107e081610bc4565b61086161088c565b600a55565b61086e61088c565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f3565b6001600160a01b0383166109485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f3565b6001600160a01b0382166109a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a168484610722565b90506000198114610a7e5781811015610a715760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f3565b610a7e84848484036108e6565b50505050565b6008546000906001600160a01b038581169116148015610aaf57506005546001600160a01b03163314155b15610b4157600954600160a01b900460ff1615610b3157600a54821115610b315760405162461bcd60e51b815260206004820152603060248201527f596f752063616e277420627579206d6f7265207468616e203225206f6620746860448201526f6520737570706c79206174206f6e636560801b60648201526084016106f3565b610b3c848484610c16565b610bba565b6008546001600160a01b038481169116148015610b6957506005546001600160a01b03163314155b15610baf576000606460075484610b80919061111d565b610b8a9190611134565b9050610ba08585610b9b8487611156565b610c16565b610ba981610dba565b50610bba565b610bba848484610c16565b5060019392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610c7a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f3565b6001600160a01b038216610cdc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f3565b6001600160a01b03831660009081526020819052604090205481811015610d545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a7e565b600954610dd29030906001600160a01b0316836108e6565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610e0757610e07611169565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e84919061117f565b81600181518110610e9757610e97611169565b6001600160a01b03928316602091820292909201015260095460405163791ac94760e01b815291169063791ac94790610edd90859060009086903090429060040161119c565b600060405180830381600087803b158015610ef757600080fd5b505af1158015610f0b573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146107e057600080fd5b600060208284031215610f3a57600080fd5b8135610f4581610f13565b9392505050565b600060208083528351808285015260005b81811015610f7957858101830151858201604001528201610f5d565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610fad57600080fd5b8235610fb881610f13565b946020939093013593505050565b600080600060608486031215610fdb57600080fd5b8335610fe681610f13565b92506020840135610ff681610f13565b929592945050506040919091013590565b6000806040838503121561101a57600080fd5b823561102581610f13565b9150602083013561103581610f13565b809150509250929050565b60006020828403121561105257600080fd5b5035919050565b80151581146107e057600080fd5b60006020828403121561107957600080fd5b8135610f4581611059565b60006020828403121561109657600080fd5b5051919050565b6000602082840312156110af57600080fd5b8151610f4581611059565b600181811c908216806110ce57607f821691505b6020821081036110ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105ef576105ef6110f4565b80820281158282048414176105ef576105ef6110f4565b60008261115157634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105ef576105ef6110f4565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561119157600080fd5b8151610f4581610f13565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111ec5784516001600160a01b0316835293830193918301916001016111c7565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122059d6921ff9d34f02ce9c6841db8b289ce2c8e3678b31fe7caa7f89cde1c9f54864736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101425760003560e01c80638da5cb5b116100b0578063ae7b6d161161006c578063ae7b6d16146103ae578063dd62ed3e146103c4578063e8c611f9146103e4578063f2fde38b146103f9578063f34eb0b814610419578063f8ae277d1461043957005b80638da5cb5b146102fb57806395d89b4114610319578063a22d48321461032e578063a457c2d71461034e578063a8aa1b311461036e578063a9059cbb1461038e57005b806339509351116100ff5780633950935114610221578063417fd2d61461024157806370a0823114610262578063715018a614610298578063735de9f7146102ad57806388e765ff146102e557005b8062ae3bf81461014b57806306fdde031461016b578063095ea7b31461019657806318160ddd146101c657806323b872dd146101e5578063313ce5671461020557005b3661014957005b005b34801561015757600080fd5b50610149610166366004610f28565b610459565b34801561017757600080fd5b50610180610549565b60405161018d9190610f4c565b60405180910390f35b3480156101a257600080fd5b506101b66101b1366004610f9a565b6105db565b604051901515815260200161018d565b3480156101d257600080fd5b506002545b60405190815260200161018d565b3480156101f157600080fd5b506101b6610200366004610fc6565b6105f5565b34801561021157600080fd5b506040516012815260200161018d565b34801561022d57600080fd5b506101b661023c366004610f9a565b61061a565b34801561024d57600080fd5b506009546101b690600160a01b900460ff1681565b34801561026e57600080fd5b506101d761027d366004610f28565b6001600160a01b031660009081526020819052604090205490565b3480156102a457600080fd5b5061014961063c565b3480156102b957600080fd5b506009546102cd906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b3480156102f157600080fd5b506101d7600a5481565b34801561030757600080fd5b506005546001600160a01b03166102cd565b34801561032557600080fd5b50610180610650565b34801561033a57600080fd5b50610149610349366004610f28565b61065f565b34801561035a57600080fd5b506101b6610369366004610f9a565b610689565b34801561037a57600080fd5b506008546102cd906001600160a01b031681565b34801561039a57600080fd5b506101b66103a9366004610f9a565b610714565b3480156103ba57600080fd5b506101d760075481565b3480156103d057600080fd5b506101d76103df366004611007565b610722565b3480156103f057600080fd5b5061014961074d565b34801561040557600080fd5b50610149610414366004610f28565b6107e3565b34801561042557600080fd5b50610149610434366004611040565b610859565b34801561044557600080fd5b50610149610454366004611067565b610866565b61046161088c565b6040516370a0823160e01b815230600482015281906001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156104b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d59190611084565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610544919061109d565b505050565b606060038054610558906110ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610584906110ba565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b6000336105e98185856108e6565b60019150505b92915050565b600033610603858285610a0a565b61060e858585610a84565b50600195945050505050565b6000336105e981858561062d8383610722565b610637919061110a565b6108e6565b61064461088c565b61064e6000610bc4565b565b606060048054610558906110ba565b61066761088c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033816106978286610722565b9050838110156106fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61070982868684036108e6565b506001949350505050565b600033610709818585610a84565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61075561088c565b604051600090339047908381818185875af1925050503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b50509050806107e05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016106f3565b50565b6107eb61088c565b6001600160a01b0381166108505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f3565b6107e081610bc4565b61086161088c565b600a55565b61086e61088c565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f3565b6001600160a01b0383166109485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f3565b6001600160a01b0382166109a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a168484610722565b90506000198114610a7e5781811015610a715760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f3565b610a7e84848484036108e6565b50505050565b6008546000906001600160a01b038581169116148015610aaf57506005546001600160a01b03163314155b15610b4157600954600160a01b900460ff1615610b3157600a54821115610b315760405162461bcd60e51b815260206004820152603060248201527f596f752063616e277420627579206d6f7265207468616e203225206f6620746860448201526f6520737570706c79206174206f6e636560801b60648201526084016106f3565b610b3c848484610c16565b610bba565b6008546001600160a01b038481169116148015610b6957506005546001600160a01b03163314155b15610baf576000606460075484610b80919061111d565b610b8a9190611134565b9050610ba08585610b9b8487611156565b610c16565b610ba981610dba565b50610bba565b610bba848484610c16565b5060019392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610c7a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f3565b6001600160a01b038216610cdc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f3565b6001600160a01b03831660009081526020819052604090205481811015610d545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a7e565b600954610dd29030906001600160a01b0316836108e6565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610e0757610e07611169565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e84919061117f565b81600181518110610e9757610e97611169565b6001600160a01b03928316602091820292909201015260095460405163791ac94760e01b815291169063791ac94790610edd90859060009086903090429060040161119c565b600060405180830381600087803b158015610ef757600080fd5b505af1158015610f0b573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146107e057600080fd5b600060208284031215610f3a57600080fd5b8135610f4581610f13565b9392505050565b600060208083528351808285015260005b81811015610f7957858101830151858201604001528201610f5d565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610fad57600080fd5b8235610fb881610f13565b946020939093013593505050565b600080600060608486031215610fdb57600080fd5b8335610fe681610f13565b92506020840135610ff681610f13565b929592945050506040919091013590565b6000806040838503121561101a57600080fd5b823561102581610f13565b9150602083013561103581610f13565b809150509250929050565b60006020828403121561105257600080fd5b5035919050565b80151581146107e057600080fd5b60006020828403121561107957600080fd5b8135610f4581611059565b60006020828403121561109657600080fd5b5051919050565b6000602082840312156110af57600080fd5b8151610f4581611059565b600181811c908216806110ce57607f821691505b6020821081036110ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105ef576105ef6110f4565b80820281158282048414176105ef576105ef6110f4565b60008261115157634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105ef576105ef6110f4565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561119157600080fd5b8151610f4581610f13565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111ec5784516001600160a01b0316835293830193918301916001016111c7565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122059d6921ff9d34f02ce9c6841db8b289ce2c8e3678b31fe7caa7f89cde1c9f54864736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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