ETH Price: $3,242.78 (-2.78%)
 

Overview

Max Total Supply

1,000,000,000,000,000,000,000,000,000 BART

Holders

24

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
378,327,510,700,085,128 BART

Value
$0.00
0x9dd3d61dffa62ab82af3346d9fc86d6237131725
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Bart

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : Bart.sol
// SPDX-License-Identifier: MIT

/*

https://twitter.com/RZBBC_Token
https://rzbbc.com

*/

pragma solidity ^0.8.17;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Pair} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract Bart is ERC20, Ownable {

    address public constant UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    
    IUniswapV2Router02 public immutable router;
    IUniswapV2Pair public immutable pair;        
    address public immutable pairAddress;
    
    address public immutable admin;
    
    bool private swapping;
    bool public tradingActive;

    mapping(address => bool) public isExcludedFromMaxTransaction;

    uint256 public fees;
    uint256 maxTxAmount = 10_000_000 ether; // 1% of supply
    uint256 public swapTreshold = 0.05 ether;

    constructor(uint256 _supply, uint256 _fees) ERC20("ReptilianZuckerBidenBartCoin", "BART") {
        admin = msg.sender;
        router = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);

        pairAddress = IUniswapV2Factory(router.factory()).createPair(address(this), router.WETH());

        fees = _fees;

        _approve(address(this), UNISWAP_ROUTER_ADDRESS, type(uint256).max);
        _approve(address(this), pairAddress, type(uint256).max);

        excludeFromMaxTransaction(UNISWAP_ROUTER_ADDRESS, true);
        excludeFromMaxTransaction(pairAddress, true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        _mint(msg.sender, _supply);
    }

    modifier isTradingActive(address _from) {
        if (_from != owner())
            require(tradingActive, "Trading not active");
        _;
    }

   modifier onlyAdmin() {
        require(msg.sender == admin);
        _;
    }

    modifier lockSwap() {
        swapping = true;
        _;
        swapping = false;
    }

    receive() external payable {}

    function excludeFromMaxTransaction(address _account, bool _excluded) public onlyOwner {
        isExcludedFromMaxTransaction[_account] = _excluded;
    }

    function enableTrading() external onlyOwner {
        tradingActive = true;
    }

    function _transfer(address _from, address _to, uint256 _amount) internal override isTradingActive(_from) {
        require(_from != address(0), "ERC20: transfer from the zero address");
        require(_to != address(0), "ERC20: transfer to the zero address");
        require(_amount > 0, "Transfer amount must be greater than zero");

        if(_from == owner() || _to == owner() || swapping) {
            super._transfer(_from, _to, _amount);
        } else {
           
            if (!swapping) distributeFees();

            uint256 feeAmount;

            if (_from == pairAddress) {
                if (!isExcludedFromMaxTransaction[_to]) {
                    require(_amount <= maxTxAmount);
                }
                feeAmount = _amount * fees / 10000; 
            } else if (_to == pairAddress) {
                feeAmount = _amount * fees / 10000; 
            } else {
                feeAmount = 0;
            }

            if (feeAmount > 0) {
                super._transfer(_from, address(this), feeAmount);
            }

            uint256 finalAmount = _amount - feeAmount;

            super._transfer(_from, _to, finalAmount);
        }
    }

    function calculateTokenAmountInETH(uint256 amount) public view returns (uint256) {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
        try router.getAmountsOut(amount, path) returns (uint[] memory amountsOut) {
            return amountsOut[1];
        } catch {return 0;}
    }

    function manualSwap() external onlyAdmin {
        swapBalanceToETHAndSend();
    }

    function distributeFees() private {
        uint256 amountInETH = calculateTokenAmountInETH(balanceOf(address(this)));
        if (amountInETH >= swapTreshold) swapBalanceToETHAndSend();
    }

    function swapBalanceToETHAndSend() private lockSwap {
        uint256 amountIn = balanceOf(address(this));
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountIn,
            0,
            path,
            address(this),
            block.timestamp
        );

        (bool success, ) = payable(admin).call{value: address(this).balance}("");
        require(success);
    }
}

File 2 of 10 : 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 3 of 10 : 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 4 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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 5 of 10 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 6 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

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

File 7 of 10 : 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 8 of 10 : 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 9 of 10 : 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 10 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@uniswap/v2-core/=lib/v2-core/",
    "@uniswap/v2-periphery/=lib/v2-periphery/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_fees","type":"uint256"}],"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"},{"inputs":[],"name":"UNISWAP_ROUTER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTokenAmountInETH","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromMaxTransaction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","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":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040526a084595161401484a00000060085566b1a2bc2ec500006009553480156200002c57600080fd5b5060405162001f5c38038062001f5c8339810160408190526200004f91620005f1565b6040518060400160405280601c81526020017f52657074696c69616e5a75636b6572426964656e42617274436f696e00000000815250604051806040016040528060048152602001631090549560e21b8152508160039081620000b39190620006ba565b506004620000c28282620006ba565b505050620000df620000d96200031460201b60201c565b62000318565b3360e052737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000139573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015f919062000786565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d5919062000786565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000249919062000786565b6001600160a01b031660c05260078190556200027d30737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200036a565b620002943060c0516000196200036a60201b60201c565b620002b5737a250d5630b4cf539739df2c5dacb4c659f2488d600162000496565b60c051620002c590600162000496565b620002e4620002dc6005546001600160a01b031690565b600162000496565b620002f130600162000496565b6200030061dead600162000496565b6200030c3383620004cb565b5050620007e0565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620003d25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003c9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b620004a06200058e565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6001600160a01b038216620005235760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003c9565b8060026000828254620005379190620007b8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005ea5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003c9565b565b505050565b600080604083850312156200060557600080fd5b505080516020909101519092909150565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200064157607f821691505b6020821081036200066257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005ec57600081815260208120601f850160051c81016020861015620006915750805b601f850160051c820191505b81811015620006b2578281556001016200069d565b505050505050565b81516001600160401b03811115620006d657620006d662000616565b620006ee81620006e784546200062c565b8462000668565b602080601f8311600181146200072657600084156200070d5750858301515b600019600386901b1c1916600185901b178555620006b2565b600085815260208120601f198616915b82811015620007575788860151825594840194600190910190840162000736565b5085821015620007765787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200079957600080fd5b81516001600160a01b0381168114620007b157600080fd5b9392505050565b80820180821115620007da57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e05161170a6200085260003960008181610523015281816106760152610ff201526000818161045801528181610d420152610dcc01526000610424015260008181610557015281816107670152818161081f01528181610ec40152610f7c015261170a6000f3fe6080604052600436106101a05760003560e01c80638da5cb5b116100ec578063a9059cbb1161008a578063e52fb9ec11610064578063e52fb9ec146104db578063f2fde38b146104f1578063f851a44014610511578063f887ea401461054557600080fd5b8063a9059cbb1461047a578063bbc0c7421461049a578063dd62ed3e146104bb57600080fd5b80639af1d35a116100c65780639af1d35a146103dc578063a457c2d7146103f2578063a8aa1b3114610412578063a8b089821461044657600080fd5b80638da5cb5b146103895780639277883d146103a757806395d89b41146103c757600080fd5b80633950935111610159578063715018a611610133578063715018a6146102ff5780637571336a1461031457806379b36943146103345780638a8c523c1461037457600080fd5b8063395093511461029257806351bc3c85146102b257806370a08231146102c957600080fd5b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461020757806318d9ceae1461022657806323b872dd14610256578063313ce5671461027657600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c1610579565b6040516101ce9190611282565b60405180910390f35b3480156101e357600080fd5b506101f76101f23660046112e5565b61060b565b60405190151581526020016101ce565b34801561021357600080fd5b506002545b6040519081526020016101ce565b34801561023257600080fd5b506101f7610241366004611311565b60066020526000908152604090205460ff1681565b34801561026257600080fd5b506101f7610271366004611335565b610625565b34801561028257600080fd5b50604051601281526020016101ce565b34801561029e57600080fd5b506101f76102ad3660046112e5565b610649565b3480156102be57600080fd5b506102c761066b565b005b3480156102d557600080fd5b506102186102e4366004611311565b6001600160a01b031660009081526020819052604090205490565b34801561030b57600080fd5b506102c76106aa565b34801561032057600080fd5b506102c761032f366004611376565b6106bc565b34801561034057600080fd5b5061035c737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ce565b34801561038057600080fd5b506102c76106ef565b34801561039557600080fd5b506005546001600160a01b031661035c565b3480156103b357600080fd5b506102186103c23660046113b4565b61070c565b3480156103d357600080fd5b506101c16108cd565b3480156103e857600080fd5b5061021860075481565b3480156103fe57600080fd5b506101f761040d3660046112e5565b6108dc565b34801561041e57600080fd5b5061035c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045257600080fd5b5061035c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048657600080fd5b506101f76104953660046112e5565b61095c565b3480156104a657600080fd5b506005546101f790600160a81b900460ff1681565b3480156104c757600080fd5b506102186104d63660046113cd565b61096a565b3480156104e757600080fd5b5061021860095481565b3480156104fd57600080fd5b506102c761050c366004611311565b610995565b34801561051d57600080fd5b5061035c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561055157600080fd5b5061035c7f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610588906113fb565b80601f01602080910402602001604051908101604052809291908181526020018280546105b4906113fb565b80156106015780601f106105d657610100808354040283529160200191610601565b820191906000526020600020905b8154815290600101906020018083116105e457829003601f168201915b5050505050905090565b600033610619818585610a0e565b60019150505b92915050565b600033610633858285610b32565b61063e858585610bac565b506001949350505050565b60003361061981858561065c838361096a565b6106669190611445565b610a0e565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106a057600080fd5b6106a8610e4a565b565b6106b2611080565b6106a860006110da565b6106c4611080565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6106f7611080565b6005805460ff60a81b1916600160a81b179055565b6040805160028082526060820183526000928392919060208301908036833701905050905030816000815181106107455761074561146e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190611484565b816001815181106107fa576107fa61146e565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063d06ca61f9061085890869085906004016114e5565b600060405180830381865afa92505050801561089657506040513d6000823e601f3d908101601f191682016040526108939190810190611506565b60015b6108a35750600092915050565b806001815181106108b6576108b661146e565b602002602001015192505050919050565b50919050565b606060048054610588906113fb565b600033816108ea828661096a565b90508381101561094f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61063e8286868403610a0e565b600033610619818585610bac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61099d611080565b6001600160a01b038116610a025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610946565b610a0b816110da565b50565b6001600160a01b038316610a705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610946565b6001600160a01b038216610ad15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610946565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b3e848461096a565b90506000198114610ba65781811015610b995760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610946565b610ba68484848403610a0e565b50505050565b82610bbf6005546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610c2557600554600160a81b900460ff16610c255760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610946565b6001600160a01b038416610c4b5760405162461bcd60e51b8152600401610946906115c4565b6001600160a01b038316610c715760405162461bcd60e51b815260040161094690611609565b60008211610cd35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610946565b6005546001600160a01b0385811691161480610cfc57506005546001600160a01b038481169116145b80610d105750600554600160a01b900460ff165b15610d2557610d2084848461112c565b610ba6565b600554600160a01b900460ff16610d3e57610d3e611256565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031603610dca576001600160a01b03841660009081526006602052604090205460ff16610da857600854831115610da857600080fd5b61271060075484610db9919061164c565b610dc39190611663565b9050610e18565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603610e145761271060075484610db9919061164c565b5060005b8015610e2957610e2985308361112c565b6000610e358285611685565b9050610e4286868361112c565b505050505050565b6005805460ff60a01b1916600160a01b179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090503081600081518110610ea257610ea261146e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f449190611484565b81600181518110610f5757610f5761146e565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790610fbc908590600090869030904290600401611698565b600060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03164760405160006040518083038185875af1925050503d806000811461105b576040519150601f19603f3d011682016040523d82523d6000602084013e611060565b606091505b505090508061106e57600080fd5b50506005805460ff60a01b1916905550565b6005546001600160a01b031633146106a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610946565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166111525760405162461bcd60e51b8152600401610946906115c4565b6001600160a01b0382166111785760405162461bcd60e51b815260040161094690611609565b6001600160a01b038316600090815260208190526040902054818110156111f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610946565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ba6565b3060009081526020819052604081205461126f9061070c565b90506009548110610a0b57610a0b610e4a565b600060208083528351808285015260005b818110156112af57858101830151858201604001528201611293565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a0b57600080fd5b600080604083850312156112f857600080fd5b8235611303816112d0565b946020939093013593505050565b60006020828403121561132357600080fd5b813561132e816112d0565b9392505050565b60008060006060848603121561134a57600080fd5b8335611355816112d0565b92506020840135611365816112d0565b929592945050506040919091013590565b6000806040838503121561138957600080fd5b8235611394816112d0565b9150602083013580151581146113a957600080fd5b809150509250929050565b6000602082840312156113c657600080fd5b5035919050565b600080604083850312156113e057600080fd5b82356113eb816112d0565b915060208301356113a9816112d0565b600181811c9082168061140f57607f821691505b6020821081036108c757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561061f5761061f61142f565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561149657600080fd5b815161132e816112d0565b600081518084526020808501945080840160005b838110156114da5781516001600160a01b0316875295820195908201906001016114b5565b509495945050505050565b8281526040602082015260006114fe60408301846114a1565b949350505050565b6000602080838503121561151957600080fd5b825167ffffffffffffffff8082111561153157600080fd5b818501915085601f83011261154557600080fd5b81518181111561155757611557611458565b8060051b604051601f19603f8301168101818110858211171561157c5761157c611458565b60405291825284820192508381018501918883111561159a57600080fd5b938501935b828510156115b85784518452938501939285019261159f565b98975050505050505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761061f5761061f61142f565b60008261168057634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561061f5761061f61142f565b85815284602082015260a0604082015260006116b760a08301866114a1565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220f729382a0a4bae0cf3d359c976188778efcc06fa7b45aee4572a3a70a7747b7164736f6c634300081500330000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x6080604052600436106101a05760003560e01c80638da5cb5b116100ec578063a9059cbb1161008a578063e52fb9ec11610064578063e52fb9ec146104db578063f2fde38b146104f1578063f851a44014610511578063f887ea401461054557600080fd5b8063a9059cbb1461047a578063bbc0c7421461049a578063dd62ed3e146104bb57600080fd5b80639af1d35a116100c65780639af1d35a146103dc578063a457c2d7146103f2578063a8aa1b3114610412578063a8b089821461044657600080fd5b80638da5cb5b146103895780639277883d146103a757806395d89b41146103c757600080fd5b80633950935111610159578063715018a611610133578063715018a6146102ff5780637571336a1461031457806379b36943146103345780638a8c523c1461037457600080fd5b8063395093511461029257806351bc3c85146102b257806370a08231146102c957600080fd5b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461020757806318d9ceae1461022657806323b872dd14610256578063313ce5671461027657600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c1610579565b6040516101ce9190611282565b60405180910390f35b3480156101e357600080fd5b506101f76101f23660046112e5565b61060b565b60405190151581526020016101ce565b34801561021357600080fd5b506002545b6040519081526020016101ce565b34801561023257600080fd5b506101f7610241366004611311565b60066020526000908152604090205460ff1681565b34801561026257600080fd5b506101f7610271366004611335565b610625565b34801561028257600080fd5b50604051601281526020016101ce565b34801561029e57600080fd5b506101f76102ad3660046112e5565b610649565b3480156102be57600080fd5b506102c761066b565b005b3480156102d557600080fd5b506102186102e4366004611311565b6001600160a01b031660009081526020819052604090205490565b34801561030b57600080fd5b506102c76106aa565b34801561032057600080fd5b506102c761032f366004611376565b6106bc565b34801561034057600080fd5b5061035c737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ce565b34801561038057600080fd5b506102c76106ef565b34801561039557600080fd5b506005546001600160a01b031661035c565b3480156103b357600080fd5b506102186103c23660046113b4565b61070c565b3480156103d357600080fd5b506101c16108cd565b3480156103e857600080fd5b5061021860075481565b3480156103fe57600080fd5b506101f761040d3660046112e5565b6108dc565b34801561041e57600080fd5b5061035c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045257600080fd5b5061035c7f0000000000000000000000008ebbeaab8380e8c5ccc1b4ba22d4603a9aa62f6581565b34801561048657600080fd5b506101f76104953660046112e5565b61095c565b3480156104a657600080fd5b506005546101f790600160a81b900460ff1681565b3480156104c757600080fd5b506102186104d63660046113cd565b61096a565b3480156104e757600080fd5b5061021860095481565b3480156104fd57600080fd5b506102c761050c366004611311565b610995565b34801561051d57600080fd5b5061035c7f000000000000000000000000de2f7e6bc28c01264307ae040ac647dfaf216c4581565b34801561055157600080fd5b5061035c7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b606060038054610588906113fb565b80601f01602080910402602001604051908101604052809291908181526020018280546105b4906113fb565b80156106015780601f106105d657610100808354040283529160200191610601565b820191906000526020600020905b8154815290600101906020018083116105e457829003601f168201915b5050505050905090565b600033610619818585610a0e565b60019150505b92915050565b600033610633858285610b32565b61063e858585610bac565b506001949350505050565b60003361061981858561065c838361096a565b6106669190611445565b610a0e565b336001600160a01b037f000000000000000000000000de2f7e6bc28c01264307ae040ac647dfaf216c4516146106a057600080fd5b6106a8610e4a565b565b6106b2611080565b6106a860006110da565b6106c4611080565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6106f7611080565b6005805460ff60a81b1916600160a81b179055565b6040805160028082526060820183526000928392919060208301908036833701905050905030816000815181106107455761074561146e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190611484565b816001815181106107fa576107fa61146e565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063d06ca61f9061085890869085906004016114e5565b600060405180830381865afa92505050801561089657506040513d6000823e601f3d908101601f191682016040526108939190810190611506565b60015b6108a35750600092915050565b806001815181106108b6576108b661146e565b602002602001015192505050919050565b50919050565b606060048054610588906113fb565b600033816108ea828661096a565b90508381101561094f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61063e8286868403610a0e565b600033610619818585610bac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61099d611080565b6001600160a01b038116610a025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610946565b610a0b816110da565b50565b6001600160a01b038316610a705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610946565b6001600160a01b038216610ad15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610946565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b3e848461096a565b90506000198114610ba65781811015610b995760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610946565b610ba68484848403610a0e565b50505050565b82610bbf6005546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610c2557600554600160a81b900460ff16610c255760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610946565b6001600160a01b038416610c4b5760405162461bcd60e51b8152600401610946906115c4565b6001600160a01b038316610c715760405162461bcd60e51b815260040161094690611609565b60008211610cd35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610946565b6005546001600160a01b0385811691161480610cfc57506005546001600160a01b038481169116145b80610d105750600554600160a01b900460ff165b15610d2557610d2084848461112c565b610ba6565b600554600160a01b900460ff16610d3e57610d3e611256565b60007f0000000000000000000000008ebbeaab8380e8c5ccc1b4ba22d4603a9aa62f656001600160a01b0316856001600160a01b031603610dca576001600160a01b03841660009081526006602052604090205460ff16610da857600854831115610da857600080fd5b61271060075484610db9919061164c565b610dc39190611663565b9050610e18565b7f0000000000000000000000008ebbeaab8380e8c5ccc1b4ba22d4603a9aa62f656001600160a01b0316846001600160a01b031603610e145761271060075484610db9919061164c565b5060005b8015610e2957610e2985308361112c565b6000610e358285611685565b9050610e4286868361112c565b505050505050565b6005805460ff60a01b1916600160a01b179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090503081600081518110610ea257610ea261146e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f449190611484565b81600181518110610f5757610f5761146e565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790610fbc908590600090869030904290600401611698565b600060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b5050505060007f000000000000000000000000de2f7e6bc28c01264307ae040ac647dfaf216c456001600160a01b03164760405160006040518083038185875af1925050503d806000811461105b576040519150601f19603f3d011682016040523d82523d6000602084013e611060565b606091505b505090508061106e57600080fd5b50506005805460ff60a01b1916905550565b6005546001600160a01b031633146106a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610946565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166111525760405162461bcd60e51b8152600401610946906115c4565b6001600160a01b0382166111785760405162461bcd60e51b815260040161094690611609565b6001600160a01b038316600090815260208190526040902054818110156111f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610946565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ba6565b3060009081526020819052604081205461126f9061070c565b90506009548110610a0b57610a0b610e4a565b600060208083528351808285015260005b818110156112af57858101830151858201604001528201611293565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a0b57600080fd5b600080604083850312156112f857600080fd5b8235611303816112d0565b946020939093013593505050565b60006020828403121561132357600080fd5b813561132e816112d0565b9392505050565b60008060006060848603121561134a57600080fd5b8335611355816112d0565b92506020840135611365816112d0565b929592945050506040919091013590565b6000806040838503121561138957600080fd5b8235611394816112d0565b9150602083013580151581146113a957600080fd5b809150509250929050565b6000602082840312156113c657600080fd5b5035919050565b600080604083850312156113e057600080fd5b82356113eb816112d0565b915060208301356113a9816112d0565b600181811c9082168061140f57607f821691505b6020821081036108c757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561061f5761061f61142f565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561149657600080fd5b815161132e816112d0565b600081518084526020808501945080840160005b838110156114da5781516001600160a01b0316875295820195908201906001016114b5565b509495945050505050565b8281526040602082015260006114fe60408301846114a1565b949350505050565b6000602080838503121561151957600080fd5b825167ffffffffffffffff8082111561153157600080fd5b818501915085601f83011261154557600080fd5b81518181111561155757611557611458565b8060051b604051601f19603f8301168101818110858211171561157c5761157c611458565b60405291825284820192508381018501918883111561159a57600080fd5b938501935b828510156115b85784518452938501939285019261159f565b98975050505050505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761061f5761061f61142f565b60008261168057634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561061f5761061f61142f565b85815284602082015260a0604082015260006116b760a08301866114a1565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220f729382a0a4bae0cf3d359c976188778efcc06fa7b45aee4572a3a70a7747b7164736f6c63430008150033

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

0000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : _supply (uint256): 1000000000000000000000000000
Arg [1] : _fees (uint256): 100

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.