ETH Price: $2,502.08 (-0.34%)

Token

DONT (BUY)
 

Overview

Max Total Supply

444,444,444,444 BUY

Holders

124

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.333328124963245951 BUY

Value
$0.00
0x4C874E39c323Dd249A180F447dED6C1E8516267C
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:
DONTBUY

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : test.sol
/**
 *Submitted for verification at Etherscan.io on 2023-04-25
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
pragma experimental ABIEncoderV2;

////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (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);
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts v4.4.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.zeppelin.solutions/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @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;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, 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 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 {}
}

////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

/* pragma solidity ^0.8.0; */

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

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

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

    function WETH() external pure returns (address);

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

contract DONTBUY is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;
    address public marketingWallet;

    uint256 public swapTokensAtAmount;
    bool public tradingActive = false;

    uint256 public marketingFeeSell;

    /******************/

    // exlcude from fees 
    mapping(address => bool) private _isExcludedFromFees;
    


    event ExcludeFromFees(address indexed account, bool isExcluded);

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    constructor() ERC20("DONT", "BUY") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uint256 totalSupply = 444_444_444_444 * 1e18;

        swapTokensAtAmount = 1000 * 1e18; //swap tax for eth when collected tokens are 1000 or more

        marketingFeeSell = 20;

        marketingWallet = address(0xBc64bc0f33F1186e5e7Aa4F854B81C846c61EcEd); // marketing wallet

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading(bool isActive) external onlyOwner {
        tradingActive = isActive;
    }


    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= 1000 * 1e18,
            "Swap amount cannot be lower than 1000 tokens."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateFees(
        uint256 _marketingFeeSell
    ) external onlyOwner {
        marketingFeeSell = _marketingFeeSell;
        require(marketingFeeSell <= 20, "Sell tax too high");
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function updateMarketingWallet(address newMarketingWallet)
        external
        onlyOwner
    {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

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

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

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

        
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

            }


        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            to == uniswapV2Pair &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (to == uniswapV2Pair && marketingFeeSell > 0) {
                fees = amount.mul(marketingFeeSell).div(100);
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

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

    function swapTokensForETH(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            marketingWallet,
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }

        swapTokensForETH(contractBalance);
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFeeSell","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526008805460ff191690553480156200001a575f80fd5b50604051806040016040528060048152602001631113d39560e21b8152506040518060400160405280600381526020016242555960e81b815250816003908162000065919062000542565b50600462000074828262000542565b505050620000916200008b620002a960201b60201c565b620002ad565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa158015620000e6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200010c91906200060a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000158573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200017e91906200060a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001c9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ef91906200060a565b6001600160a01b031660a052683635c9adc5dea000006007556014600955600680546001600160a01b03191673bc64bc0f33f1186e5e7aa4f854b81c846c61eced1790556c059c13d3eac3d0188a0af0000062000260620002586005546001600160a01b031690565b6001620002fe565b60065462000279906001600160a01b03166001620002fe565b62000286306001620002fe565b6200029561dead6001620002fe565b620002a13382620003bc565b50506200065f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6005546001600160a01b031633146200035e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0382165f818152600a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620004145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000355565b8060025f82825462000427919062000639565b90915550506001600160a01b0382165f90815260208190526040812080548392906200045590849062000639565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004cc57607f821691505b602082108103620004eb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200049e575f81815260208120601f850160051c81016020861015620005195750805b601f850160051c820191505b818110156200053a5782815560010162000525565b505050505050565b81516001600160401b038111156200055e576200055e620004a3565b62000576816200056f8454620004b7565b84620004f1565b602080601f831160018114620005ac575f8415620005945750858301515b5f19600386901b1c1916600185901b1785556200053a565b5f85815260208120601f198616915b82811015620005dc57888601518255948401946001909101908401620005bb565b5085821015620005fa57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f602082840312156200061b575f80fd5b81516001600160a01b038116811462000632575f80fd5b9392505050565b808201808211156200065957634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a0516115db620006a45f395f81816102aa01528181610cd50152610ddc01525f81816101fc015281816110af0152818161116601526111a501526115db5ff3fe608060405260043610610164575f3560e01c806375f0a874116100cd578063bbc0c74211610087578063dd62ed3e11610062578063dd62ed3e14610451578063e2f4560514610495578063f275f64b146104aa578063f2fde38b146104c9575f80fd5b8063bbc0c742146103fa578063c024666814610413578063d257b34f14610432575f80fd5b806375f0a8741461034d57806378dacee11461036c5780638da5cb5b1461038b57806395d89b41146103a8578063a9059cbb146103bc578063aacebbe3146103db575f80fd5b806327c8f8351161011e57806327c8f83514610269578063313ce5671461027e57806349bd5a5e146102995780634fbee193146102cc57806370a0823114610303578063715018a614610337575f80fd5b806306fdde031461016f578063095ea7b31461019957806313374e7a146101c85780631694505e146101eb57806318160ddd1461023657806323b872dd1461024a575f80fd5b3661016b57005b5f80fd5b34801561017a575f80fd5b506101836104e8565b6040516101909190611217565b60405180910390f35b3480156101a4575f80fd5b506101b86101b3366004611276565b610578565b6040519015158152602001610190565b3480156101d3575f80fd5b506101dd60095481565b604051908152602001610190565b3480156101f6575f80fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610190565b348015610241575f80fd5b506002546101dd565b348015610255575f80fd5b506101b86102643660046112a0565b61058e565b348015610274575f80fd5b5061021e61dead81565b348015610289575f80fd5b5060405160128152602001610190565b3480156102a4575f80fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102d7575f80fd5b506101b86102e63660046112de565b6001600160a01b03165f908152600a602052604090205460ff1690565b34801561030e575f80fd5b506101dd61031d3660046112de565b6001600160a01b03165f9081526020819052604090205490565b348015610342575f80fd5b5061034b61063b565b005b348015610358575f80fd5b5060065461021e906001600160a01b031681565b348015610377575f80fd5b5061034b6103863660046112f9565b610670565b348015610396575f80fd5b506005546001600160a01b031661021e565b3480156103b3575f80fd5b506101836106e7565b3480156103c7575f80fd5b506101b86103d6366004611276565b6106f6565b3480156103e6575f80fd5b5061034b6103f53660046112de565b610702565b348015610405575f80fd5b506008546101b89060ff1681565b34801561041e575f80fd5b5061034b61042d36600461131f565b610788565b34801561043d575f80fd5b506101b861044c3660046112f9565b610810565b34801561045c575f80fd5b506101dd61046b366004611352565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156104a0575f80fd5b506101dd60075481565b3480156104b5575f80fd5b5061034b6104c4366004611389565b610946565b3480156104d4575f80fd5b5061034b6104e33660046112de565b610983565b6060600380546104f7906113a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610523906113a2565b801561056e5780601f106105455761010080835404028352916020019161056e565b820191905f5260205f20905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b5f610584338484610a1b565b5060015b92915050565b5f61059a848484610b3e565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156106235760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106308533858403610a1b565b506001949350505050565b6005546001600160a01b031633146106655760405162461bcd60e51b815260040161061a906113da565b61066e5f610e76565b565b6005546001600160a01b0316331461069a5760405162461bcd60e51b815260040161061a906113da565b600981905560148111156106e45760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840e8c2f040e8dede40d0d2ced607b1b604482015260640161061a565b50565b6060600480546104f7906113a2565b5f610584338484610b3e565b6005546001600160a01b0316331461072c5760405162461bcd60e51b815260040161061a906113da565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146107b25760405162461bcd60e51b815260040161061a906113da565b6001600160a01b0382165f818152600a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005545f906001600160a01b0316331461083c5760405162461bcd60e51b815260040161061a906113da565b683635c9adc5dea000008210156108ab5760405162461bcd60e51b815260206004820152602d60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201526c1018981818103a37b5b2b7399760991b606482015260840161061a565b6103e86108b760025490565b6108c2906005611423565b6108cc919061143a565b8211156109385760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161061a565b50600781905560015b919050565b6005546001600160a01b031633146109705760405162461bcd60e51b815260040161061a906113da565b6008805460ff1916911515919091179055565b6005546001600160a01b031633146109ad5760405162461bcd60e51b815260040161061a906113da565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061a565b6106e481610e76565b6001600160a01b038316610a7d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061a565b6001600160a01b038216610ade5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061a565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b645760405162461bcd60e51b815260040161061a90611459565b6001600160a01b038216610b8a5760405162461bcd60e51b815260040161061a9061149e565b805f03610ba157610b9c83835f610ec7565b505050565b6005546001600160a01b03848116911614801590610bcd57506005546001600160a01b03838116911614155b8015610be157506001600160a01b03821615155b8015610bf857506001600160a01b03821661dead14155b8015610c0e5750600554600160a01b900460ff16155b15610c9f5760085460ff16610c9f576001600160a01b0383165f908152600a602052604090205460ff1680610c5a57506001600160a01b0382165f908152600a602052604090205460ff165b610c9f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161061a565b305f9081526020819052604090205460075481108015908190610ccc5750600554600160a01b900460ff16155b8015610d0957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b8015610d2d57506001600160a01b0385165f908152600a602052604090205460ff16155b8015610d5157506001600160a01b0384165f908152600a602052604090205460ff16155b15610d7f576005805460ff60a01b1916600160a01b179055610d7161101a565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152600a602052604090205460ff600160a01b909204821615911680610dcb57506001600160a01b0385165f908152600a602052604090205460ff165b15610dd357505f5b5f8115610e62577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b0316148015610e1c57505f600954115b15610e4457610e416064610e3b6009548861103d90919063ffffffff16565b9061104f565b90505b8015610e5557610e55873083610ec7565b610e5f81866114e1565b94505b610e6d878787610ec7565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610eed5760405162461bcd60e51b815260040161061a90611459565b6001600160a01b038216610f135760405162461bcd60e51b815260040161061a9061149e565b6001600160a01b0383165f9081526020819052604090205481811015610f8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161061a565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290610fc09084906114f4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161100c91815260200190565b60405180910390a350505050565b305f90815260208190526040812054908190036110345750565b6106e48161105a565b5f6110488284611423565b9392505050565b5f611048828461143a565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061108d5761108d611507565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611109573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112d919061151b565b8160018151811061114057611140611507565b60200260200101906001600160a01b031690816001600160a01b03168152505061118b307f000000000000000000000000000000000000000000000000000000000000000084610a1b565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926111e69287925f92889291909116904290600401611536565b5f604051808303815f87803b1580156111fd575f80fd5b505af115801561120f573d5f803e3d5ffd5b505050505050565b5f6020808352835180828501525f5b8181101561124257858101830151858201604001528201611226565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106e4575f80fd5b5f8060408385031215611287575f80fd5b823561129281611262565b946020939093013593505050565b5f805f606084860312156112b2575f80fd5b83356112bd81611262565b925060208401356112cd81611262565b929592945050506040919091013590565b5f602082840312156112ee575f80fd5b813561104881611262565b5f60208284031215611309575f80fd5b5035919050565b80358015158114610941575f80fd5b5f8060408385031215611330575f80fd5b823561133b81611262565b915061134960208401611310565b90509250929050565b5f8060408385031215611363575f80fd5b823561136e81611262565b9150602083013561137e81611262565b809150509250929050565b5f60208284031215611399575f80fd5b61104882611310565b600181811c908216806113b657607f821691505b6020821081036113d457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105885761058861140f565b5f8261145457634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156105885761058861140f565b808201808211156105885761058861140f565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561152b575f80fd5b815161104881611262565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156115845784516001600160a01b03168352938301939183019160010161155f565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201451051916c7b0cdb2521c41230d9fddd800a8245ad3d98e386fd401dd16df5164736f6c63430008140033

Deployed Bytecode

0x608060405260043610610164575f3560e01c806375f0a874116100cd578063bbc0c74211610087578063dd62ed3e11610062578063dd62ed3e14610451578063e2f4560514610495578063f275f64b146104aa578063f2fde38b146104c9575f80fd5b8063bbc0c742146103fa578063c024666814610413578063d257b34f14610432575f80fd5b806375f0a8741461034d57806378dacee11461036c5780638da5cb5b1461038b57806395d89b41146103a8578063a9059cbb146103bc578063aacebbe3146103db575f80fd5b806327c8f8351161011e57806327c8f83514610269578063313ce5671461027e57806349bd5a5e146102995780634fbee193146102cc57806370a0823114610303578063715018a614610337575f80fd5b806306fdde031461016f578063095ea7b31461019957806313374e7a146101c85780631694505e146101eb57806318160ddd1461023657806323b872dd1461024a575f80fd5b3661016b57005b5f80fd5b34801561017a575f80fd5b506101836104e8565b6040516101909190611217565b60405180910390f35b3480156101a4575f80fd5b506101b86101b3366004611276565b610578565b6040519015158152602001610190565b3480156101d3575f80fd5b506101dd60095481565b604051908152602001610190565b3480156101f6575f80fd5b5061021e7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610190565b348015610241575f80fd5b506002546101dd565b348015610255575f80fd5b506101b86102643660046112a0565b61058e565b348015610274575f80fd5b5061021e61dead81565b348015610289575f80fd5b5060405160128152602001610190565b3480156102a4575f80fd5b5061021e7f0000000000000000000000006064875632997d43e87eaa2b1c90e850ed0c5d9e81565b3480156102d7575f80fd5b506101b86102e63660046112de565b6001600160a01b03165f908152600a602052604090205460ff1690565b34801561030e575f80fd5b506101dd61031d3660046112de565b6001600160a01b03165f9081526020819052604090205490565b348015610342575f80fd5b5061034b61063b565b005b348015610358575f80fd5b5060065461021e906001600160a01b031681565b348015610377575f80fd5b5061034b6103863660046112f9565b610670565b348015610396575f80fd5b506005546001600160a01b031661021e565b3480156103b3575f80fd5b506101836106e7565b3480156103c7575f80fd5b506101b86103d6366004611276565b6106f6565b3480156103e6575f80fd5b5061034b6103f53660046112de565b610702565b348015610405575f80fd5b506008546101b89060ff1681565b34801561041e575f80fd5b5061034b61042d36600461131f565b610788565b34801561043d575f80fd5b506101b861044c3660046112f9565b610810565b34801561045c575f80fd5b506101dd61046b366004611352565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156104a0575f80fd5b506101dd60075481565b3480156104b5575f80fd5b5061034b6104c4366004611389565b610946565b3480156104d4575f80fd5b5061034b6104e33660046112de565b610983565b6060600380546104f7906113a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610523906113a2565b801561056e5780601f106105455761010080835404028352916020019161056e565b820191905f5260205f20905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b5f610584338484610a1b565b5060015b92915050565b5f61059a848484610b3e565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156106235760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106308533858403610a1b565b506001949350505050565b6005546001600160a01b031633146106655760405162461bcd60e51b815260040161061a906113da565b61066e5f610e76565b565b6005546001600160a01b0316331461069a5760405162461bcd60e51b815260040161061a906113da565b600981905560148111156106e45760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840e8c2f040e8dede40d0d2ced607b1b604482015260640161061a565b50565b6060600480546104f7906113a2565b5f610584338484610b3e565b6005546001600160a01b0316331461072c5760405162461bcd60e51b815260040161061a906113da565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146107b25760405162461bcd60e51b815260040161061a906113da565b6001600160a01b0382165f818152600a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005545f906001600160a01b0316331461083c5760405162461bcd60e51b815260040161061a906113da565b683635c9adc5dea000008210156108ab5760405162461bcd60e51b815260206004820152602d60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201526c1018981818103a37b5b2b7399760991b606482015260840161061a565b6103e86108b760025490565b6108c2906005611423565b6108cc919061143a565b8211156109385760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161061a565b50600781905560015b919050565b6005546001600160a01b031633146109705760405162461bcd60e51b815260040161061a906113da565b6008805460ff1916911515919091179055565b6005546001600160a01b031633146109ad5760405162461bcd60e51b815260040161061a906113da565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061a565b6106e481610e76565b6001600160a01b038316610a7d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061a565b6001600160a01b038216610ade5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061a565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b645760405162461bcd60e51b815260040161061a90611459565b6001600160a01b038216610b8a5760405162461bcd60e51b815260040161061a9061149e565b805f03610ba157610b9c83835f610ec7565b505050565b6005546001600160a01b03848116911614801590610bcd57506005546001600160a01b03838116911614155b8015610be157506001600160a01b03821615155b8015610bf857506001600160a01b03821661dead14155b8015610c0e5750600554600160a01b900460ff16155b15610c9f5760085460ff16610c9f576001600160a01b0383165f908152600a602052604090205460ff1680610c5a57506001600160a01b0382165f908152600a602052604090205460ff165b610c9f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161061a565b305f9081526020819052604090205460075481108015908190610ccc5750600554600160a01b900460ff16155b8015610d0957507f0000000000000000000000006064875632997d43e87eaa2b1c90e850ed0c5d9e6001600160a01b0316846001600160a01b0316145b8015610d2d57506001600160a01b0385165f908152600a602052604090205460ff16155b8015610d5157506001600160a01b0384165f908152600a602052604090205460ff16155b15610d7f576005805460ff60a01b1916600160a01b179055610d7161101a565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152600a602052604090205460ff600160a01b909204821615911680610dcb57506001600160a01b0385165f908152600a602052604090205460ff165b15610dd357505f5b5f8115610e62577f0000000000000000000000006064875632997d43e87eaa2b1c90e850ed0c5d9e6001600160a01b0316866001600160a01b0316148015610e1c57505f600954115b15610e4457610e416064610e3b6009548861103d90919063ffffffff16565b9061104f565b90505b8015610e5557610e55873083610ec7565b610e5f81866114e1565b94505b610e6d878787610ec7565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610eed5760405162461bcd60e51b815260040161061a90611459565b6001600160a01b038216610f135760405162461bcd60e51b815260040161061a9061149e565b6001600160a01b0383165f9081526020819052604090205481811015610f8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161061a565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290610fc09084906114f4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161100c91815260200190565b60405180910390a350505050565b305f90815260208190526040812054908190036110345750565b6106e48161105a565b5f6110488284611423565b9392505050565b5f611048828461143a565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061108d5761108d611507565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611109573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112d919061151b565b8160018151811061114057611140611507565b60200260200101906001600160a01b031690816001600160a01b03168152505061118b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610a1b565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926111e69287925f92889291909116904290600401611536565b5f604051808303815f87803b1580156111fd575f80fd5b505af115801561120f573d5f803e3d5ffd5b505050505050565b5f6020808352835180828501525f5b8181101561124257858101830151858201604001528201611226565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106e4575f80fd5b5f8060408385031215611287575f80fd5b823561129281611262565b946020939093013593505050565b5f805f606084860312156112b2575f80fd5b83356112bd81611262565b925060208401356112cd81611262565b929592945050506040919091013590565b5f602082840312156112ee575f80fd5b813561104881611262565b5f60208284031215611309575f80fd5b5035919050565b80358015158114610941575f80fd5b5f8060408385031215611330575f80fd5b823561133b81611262565b915061134960208401611310565b90509250929050565b5f8060408385031215611363575f80fd5b823561136e81611262565b9150602083013561137e81611262565b809150509250929050565b5f60208284031215611399575f80fd5b61104882611310565b600181811c908216806113b657607f821691505b6020821081036113d457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105885761058861140f565b5f8261145457634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156105885761058861140f565b808201808211156105885761058861140f565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561152b575f80fd5b815161104881611262565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156115845784516001600160a01b03168352938301939183019160010161155f565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201451051916c7b0cdb2521c41230d9fddd800a8245ad3d98e386fd401dd16df5164736f6c63430008140033

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.