ETH Price: $3,617.99 (+1.46%)

Token

ERC-20: Yawn's World (YAWN)
 

Overview

Max Total Supply

8,000,000,000 YAWN

Holders

12,156

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1 YAWN

Value
$0.00
0x9Fcb35710Dba03AaC96058fbA8E98e96BABa9588
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:
YAWN

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

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

Twitter - 
Telegram - 
Website - 

*/

pragma solidity = 0.8.25;
pragma experimental ABIEncoderV2;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

    function WETH() external pure returns (address);

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

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

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

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

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

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);

    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

library SafeMath {

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

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

library Errors {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error InsufficientBalance(uint256 balance, uint256 needed);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedCall();

    /**
     * @dev The deployment failed.
     */
    error FailedDeployment();

    /**
     * @dev A necessary precompile is missing.
     */
    error MissingPrecompile(address);
}

library Address {
    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert Errors.InsufficientBalance(address(this).balance, amount);
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert Errors.FailedCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {Errors.FailedCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert Errors.InsufficientBalance(address(this).balance, value);
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
     * of an unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {Errors.FailedCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert Errors.FailedCall();
        }
    }
}

interface IERC20 {

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address to, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

interface IERC20Metadata is IERC20 {

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

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

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

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

    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;
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

    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;
            _totalSupply -= amount;
        }

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

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

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

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

contract YAWN is ERC20, Ownable {
    using SafeMath for uint256;
    using Address for address payable;
    
    IUniswapV2Router02 public immutable _uniswapV2Router;
    address private uniswapV2Pair;
    address private deployerWallet;
    address private marketingWallet;
    address private constant deadAddress = address(0xdead);

    bool private swapping;

    string private constant _name = "Yawn's World";
    string private constant _symbol = "YAWN";

    uint256 public initialTotalSupply = 8_000_000_000 * 1e18;
    uint256 public maxTransactionAmount = initialTotalSupply;
    uint256 public maxWallet = initialTotalSupply;
    uint256 public swapTokensAtAmount;

    bool public tradingOpen = false;

    uint256 private constant _maxFee = 0; // 0%
    uint256 public BuyFee = _maxFee;
    uint256 public SellFee = _maxFee;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeFromMaxTransactionAmount(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor(
        address dev,
        address router
    ) ERC20(_name, _symbol) {
        _uniswapV2Router = IUniswapV2Router02(router);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        marketingWallet = payable(dev);
        
        deployerWallet = payable(dev);
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(dev), true);
        excludeFromFees(address(0xdead), true);

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

        _mint(dev, initialTotalSupply);

        require(totalSupply() == initialTotalSupply, "Total supply is not equal to initialTotalSupply");
    }

    receive() external payable {}

    function openTrading() external onlyOwner {
        tradingOpen = true;
    }

    function transferOwnership(address newOwner) public override onlyOwner {
        address currentOwner = owner();

        excludeFromFees(currentOwner, false);
        excludeFromMaxTransaction(currentOwner, false);

        excludeFromFees(newOwner, true);
        excludeFromMaxTransaction(newOwner, true);

        super.transferOwnership(newOwner);
    }

    function renounceOwnership() public override onlyOwner {
        address currentOwner = owner();
        excludeFromFees(currentOwner, false);
        excludeFromMaxTransaction(currentOwner, false);
        
        super.renounceOwnership();
    }

    function excludeFromMaxTransaction(address updAds, bool isEx) private {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
        emit ExcludeFromMaxTransactionAmount(updAds, isEx);
    }

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

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

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

        bool isTransfer = !automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to];
        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance > 0 && !isTransfer;

        if (canSwap && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack(amount);
            swapping = false;
        }

        bool takeFee = !swapping && !isTransfer;

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

        uint256 fees = 0;

        if (takeFee) {
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(SellFee).div(1000);
            }
            else {
                fees = amount.mul(BuyFee).div(1000);
            }

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

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

            if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            } else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
        }


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

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

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

        _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            marketingWallet,
            block.timestamp
        );
    }

    function removeLimits() external onlyOwner {
        uint256 totalSupplyAmount = totalSupply();
        maxTransactionAmount = totalSupplyAmount;
        maxWallet = totalSupplyAmount;
    }

    function clearStuckEth() external {
        require(_msgSender() == deployerWallet);
        require(address(this).balance > 0, "Token: no ETH to clear");
        payable(msg.sender).sendValue(address(this).balance);

    }

    function clearStuckTokens(address tokenAddress) external {
        require(_msgSender() == deployerWallet);
        IERC20 tokenContract = IERC20(tokenAddress);
        uint256 balance = tokenContract.balanceOf(address(this));
        require(balance > 0, "No tokens to clear");
        tokenContract.transfer(deployerWallet, balance);
    }

    function setSwapTokensAtAmount(uint256 _amount) external onlyOwner() {
        require(_amount <= initialTotalSupply / 100, "Amount must be less than 1% of total supply");
        swapTokensAtAmount = _amount;
    }

    function manualSwap(uint256 percent) external onlyOwner() {
        uint256 totalSupplyAmount = totalSupply();
        uint256 contractBalance = balanceOf(address(this));
        uint256 tokensToSwap;

        if (percent == 1000) {
            tokensToSwap = contractBalance;
        } else {
            tokensToSwap = totalSupplyAmount * percent / 1000;
            if (tokensToSwap > contractBalance) {
                tokensToSwap = contractBalance;
            }
        }

        require(tokensToSwap <= contractBalance, "Swap amount exceeds contract balance");
        swapTokensForEth(tokensToSwap);
    }

    function swapBack(uint256 tokens) private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 tokensToSwap; 

        if (contractBalance == 0 || swapTokensAtAmount == 0) {
            return;
        }

        if ((BuyFee+SellFee) == 0) {

            if(contractBalance > 0 && contractBalance <= swapTokensAtAmount) {
                tokensToSwap = contractBalance;
            } else if (contractBalance > 0 && contractBalance > swapTokensAtAmount) {
                tokensToSwap = swapTokensAtAmount;
            }
        }

        else {

            if(contractBalance > 0 && contractBalance < swapTokensAtAmount.div(5)) {
                return;
            }
            else if (contractBalance > 0 && contractBalance >= swapTokensAtAmount.div(5) && contractBalance < swapTokensAtAmount) {
                tokensToSwap = swapTokensAtAmount.div(5);
            }
            else {
                uint256 sellFeeTokens = tokens.mul(SellFee).div(1000);
                tokens -= sellFeeTokens;
                if (tokens > swapTokensAtAmount) {
                    tokensToSwap = swapTokensAtAmount;
                } else {
                    tokensToSwap = tokens;
                }
            }
        }
        swapTokensForEth(tokensToSwap);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"dev","type":"address"},{"internalType":"address","name":"router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransactionAmount","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"BuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","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":[],"name":"clearStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"clearStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","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":"tradingOpen","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"}]

60a06040526b19d971e4fe8401e7400000006009819055600a819055600b55600d805460ff191690556000600e819055600f5534801561003e57600080fd5b5060405161260838038061260883398101604081905261005d916105dc565b6040518060400160405280600c81526020016b16585ddb89dcc815dbdc9b1960a21b815250604051806040016040528060048152602001632ca0aba760e11b81525081600390816100ae91906106af565b5060046100bb82826106af565b5050506100d46100cf61039a60201b60201c565b61039e565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561011e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610142919061076e565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b5919061076e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610202573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610226919061076e565b600680546001600160a01b0319166001600160a01b039290921691821790556102509060016103f0565b600654610267906001600160a01b03166001610444565b608051610275906001610444565b600880546001600160a01b03199081166001600160a01b03858116918217909355600780549092161790556005546102af911660016104a4565b6102ba3060016104a4565b6102c58260016104a4565b6102d261dead60016104a4565b6102ee6102e76005546001600160a01b031690565b6001610444565b6102f9306001610444565b610304826001610444565b61031161dead6001610444565b610323826009546104fc60201b60201c565b600954600254146103935760405162461bcd60e51b815260206004820152602f60248201527f546f74616c20737570706c79206973206e6f7420657175616c20746f20696e6960448201526e7469616c546f74616c537570706c7960881b60648201526084015b60405180910390fd5b50506107b7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091015b60405180910390a25050565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610498565b6001600160a01b0382166105525760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161038a565b80600260008282546105649190610790565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b80516001600160a01b03811681146105d757600080fd5b919050565b600080604083850312156105ef57600080fd5b6105f8836105c0565b9150610606602084016105c0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061063957607f821691505b60208210810361065957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156105bb576000816000526020600020601f850160051c810160208610156106885750805b601f850160051c820191505b818110156106a757828155600101610694565b505050505050565b81516001600160401b038111156106c8576106c861060f565b6106dc816106d68454610625565b8461065f565b602080601f83116001811461071157600084156106f95750858301515b600019600386901b1c1916600185901b1785556106a7565b600085815260208120601f198616915b8281101561074057888601518255948401946001909101908401610721565b508582101561075e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561078057600080fd5b610789826105c0565b9392505050565b808201808211156107b157634e487b7160e01b600052601160045260246000fd5b92915050565b608051611e216107e760003960008181610336015281816115a60152818161165f015261169e0152611e216000f3fe6080604052600436106101d15760003560e01c806395d89b41116100f7578063c9567bf911610095578063e2f4560511610064578063e2f456051461052f578063f2fde38b14610545578063f8b45b0514610565578063ffb54a991461057b57600080fd5b8063c9567bf9146104ce578063cf9522fd146104e3578063dd62ed3e146104f9578063dd8546521461051957600080fd5b8063a9059cbb116100d1578063a9059cbb14610458578063afa4f3b214610478578063b70143c914610498578063c8c8ebe4146104b857600080fd5b806395d89b41146104035780639a7a23d614610418578063a457c2d71461043857600080fd5b8063395093511161016f578063715018a61161013e578063715018a6146103a6578063751039fc146103bb57806389291a8f146103d05780638da5cb5b146103e557600080fd5b806339509351146102cb5780634fbee193146102eb578063583e05681461032457806370a082311461037057600080fd5b806323b872dd116101ab57806323b872dd14610257578063311028af14610277578063313ce5671461028d578063346cc7be146102a957600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f2610595565b6040516101ff9190611a5c565b60405180910390f35b34801561021457600080fd5b50610228610223366004611ac0565b610627565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b50610228610272366004611aec565b610641565b34801561028357600080fd5b5061024960095481565b34801561029957600080fd5b50604051601281526020016101ff565b3480156102b557600080fd5b506102c96102c4366004611b2d565b610665565b005b3480156102d757600080fd5b506102286102e6366004611ac0565b6107bb565b3480156102f757600080fd5b50610228610306366004611b2d565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561033057600080fd5b506103587f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ff565b34801561037c57600080fd5b5061024961038b366004611b2d565b6001600160a01b031660009081526020819052604090205490565b3480156103b257600080fd5b506102c96107dd565b3480156103c757600080fd5b506102c961081c565b3480156103dc57600080fd5b506102c961083a565b3480156103f157600080fd5b506005546001600160a01b0316610358565b34801561040f57600080fd5b506101f26108af565b34801561042457600080fd5b506102c9610433366004611b58565b6108be565b34801561044457600080fd5b50610228610453366004611ac0565b610958565b34801561046457600080fd5b50610228610473366004611ac0565b6109d3565b34801561048457600080fd5b506102c9610493366004611b91565b6109e1565b3480156104a457600080fd5b506102c96104b3366004611b91565b610a60565b3480156104c457600080fd5b50610249600a5481565b3480156104da57600080fd5b506102c9610b20565b3480156104ef57600080fd5b50610249600f5481565b34801561050557600080fd5b50610249610514366004611baa565b610b37565b34801561052557600080fd5b50610249600e5481565b34801561053b57600080fd5b50610249600c5481565b34801561055157600080fd5b506102c9610560366004611b2d565b610b62565b34801561057157600080fd5b50610249600b5481565b34801561058757600080fd5b50600d546102289060ff1681565b6060600380546105a490611bd8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d090611bd8565b801561061d5780601f106105f25761010080835404028352916020019161061d565b820191906000526020600020905b81548152906001019060200180831161060057829003601f168201915b5050505050905090565b600033610635818585610bb5565b60019150505b92915050565b60003361064f858285610cd9565b61065a858585610d4d565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461068557600080fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f29190611c12565b90506000811161073e5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b59190611c2b565b50505050565b6000336106358185856107ce8383610b37565b6107d89190611c5e565b610bb5565b6107e5611339565b60006107f96005546001600160a01b031690565b9050610806816000611393565b6108118160006113f3565b61081961144b565b50565b610824611339565b600061082f60025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b03161461085a57600080fd5b600047116108a35760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b6044820152606401610735565b6108ad334761145d565b565b6060600480546105a490611bd8565b6108c6611339565b6006546001600160a01b039081169083160361094a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610735565b61095482826114fb565b5050565b600033816109668286610b37565b9050838110156109c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610735565b61065a8286868403610bb5565b600033610635818585610d4d565b6109e9611339565b60646009546109f89190611c71565b811115610a5b5760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206d757374206265206c657373207468616e203125206f66207460448201526a6f74616c20737570706c7960a81b6064820152608401610735565b600c55565b610a68611339565b6000610a7360025490565b306000908152602081905260408120549192506103e8849003610a97575080610abb565b6103e8610aa48585611c93565b610aae9190611c71565b905081811115610abb5750805b81811115610b175760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b6064820152608401610735565b6107b58161154f565b610b28611339565b600d805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b6a611339565b6000610b7e6005546001600160a01b031690565b9050610b8b816000611393565b610b968160006113f3565b610ba1826001611393565b610bac8260016113f3565b61095482611716565b6001600160a01b038316610c175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610735565b6001600160a01b038216610c785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610735565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ce58484610b37565b905060001981146107b55781811015610d405760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610735565b6107b58484848403610bb5565b6001600160a01b038316610d735760405162461bcd60e51b815260040161073590611caa565b6001600160a01b038216610d995760405162461bcd60e51b815260040161073590611cef565b80600003610db257610dad8383600061178c565b505050565b6001600160a01b03831660009081526012602052604081205460ff16158015610df457506001600160a01b03831660009081526012602052604090205460ff16155b306000908152602081905260408120549192508115801590610e14575082155b9050808015610e2d5750600854600160a01b900460ff16155b8015610e5257506001600160a01b03861660009081526012602052604090205460ff16155b8015610e7757506001600160a01b03861660009081526010602052604090205460ff16155b8015610e9c57506001600160a01b03851660009081526010602052604090205460ff16155b15610ecb576008805460ff60a01b1916600160a01b179055610ebd846118b6565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015610ee6575083155b6001600160a01b03881660009081526010602052604090205490915060ff1680610f2857506001600160a01b03861660009081526010602052604090205460ff165b15610f31575060005b60008115610fbe576001600160a01b03871660009081526012602052604090205460ff1615610f8257610f7b6103e8610f75600f54896119eb90919063ffffffff16565b906119fe565b9050610fa0565b610f9d6103e8610f75600e54896119eb90919063ffffffff16565b90505b8015610fb157610fb188308361178c565b610fbb8187611d32565b95505b6005546001600160a01b03898116911614801590610fea57506005546001600160a01b03888116911614155b8015610ffe57506001600160a01b03871615155b801561101557506001600160a01b03871661dead14155b801561102b5750600854600160a01b900460ff16155b1561132457600d5460ff166110be576001600160a01b03881660009081526010602052604090205460ff168061107957506001600160a01b03871660009081526010602052604090205460ff165b6110be5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610735565b6001600160a01b03881660009081526012602052604090205460ff1680156110ff57506001600160a01b03871660009081526011602052604090205460ff16155b156111e357600a548611156111745760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610735565b600b546001600160a01b03881660009081526020819052604090205461119a9088611c5e565b11156111de5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610735565b611324565b6001600160a01b03871660009081526012602052604090205460ff16801561122457506001600160a01b03881660009081526011602052604090205460ff16155b1561129a57600a548611156111de5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610735565b6001600160a01b03871660009081526011602052604090205460ff1661132457600b546001600160a01b0388166000908152602081905260409020546112e09088611c5e565b11156113245760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610735565b61132f88888861178c565b5050505050505050565b6005546001600160a01b031633146108ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610735565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091016113e7565b611453611339565b6108ad6000611a0a565b804710156114875760405163cf47918160e01b815247600482015260248101829052604401610735565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114d4576040519150601f19603f3d011682016040523d82523d6000602084013e6114d9565b606091505b5050905080610dad5760405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061158457611584611d45565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116269190611d5b565b8160018151811061163957611639611d45565b60200260200101906001600160a01b031690816001600160a01b031681525050611684307f000000000000000000000000000000000000000000000000000000000000000084610bb5565b60085460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926116e0928792600092889291909116904290600401611d78565b600060405180830381600087803b1580156116fa57600080fd5b505af115801561170e573d6000803e3d6000fd5b505050505050565b61171e611339565b6001600160a01b0381166117835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610735565b61081981611a0a565b6001600160a01b0383166117b25760405162461bcd60e51b815260040161073590611caa565b6001600160a01b0382166117d85760405162461bcd60e51b815260040161073590611cef565b6001600160a01b038316600090815260208190526040902054818110156118505760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610735565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107b5565b30600090815260208190526040812054908115806118d45750600c54155b156118de57505050565b600f54600e546118ee9190611c5e565b600003611933576000821180156119075750600c548211155b156119135750806119e2565b6000821180156119245750600c5482115b1561192e5750600c545b6119e2565b60008211801561194f5750600c5461194c9060056119fe565b82105b1561195957505050565b6000821180156119765750600c546119729060056119fe565b8210155b80156119835750600c5482105b1561199d57600c546119969060056119fe565b90506119e2565b60006119ba6103e8610f75600f54876119eb90919063ffffffff16565b90506119c68185611d32565b9350600c548411156119dc57600c5491506119e0565b8391505b505b610dad8161154f565b60006119f78284611c93565b9392505050565b60006119f78284611c71565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020808352835180602085015260005b81811015611a8a57858101830151858201604001528201611a6e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461081957600080fd5b60008060408385031215611ad357600080fd5b8235611ade81611aab565b946020939093013593505050565b600080600060608486031215611b0157600080fd5b8335611b0c81611aab565b92506020840135611b1c81611aab565b929592945050506040919091013590565b600060208284031215611b3f57600080fd5b81356119f781611aab565b801515811461081957600080fd5b60008060408385031215611b6b57600080fd5b8235611b7681611aab565b91506020830135611b8681611b4a565b809150509250929050565b600060208284031215611ba357600080fd5b5035919050565b60008060408385031215611bbd57600080fd5b8235611bc881611aab565b91506020830135611b8681611aab565b600181811c90821680611bec57607f821691505b602082108103611c0c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c2457600080fd5b5051919050565b600060208284031215611c3d57600080fd5b81516119f781611b4a565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063b5761063b611c48565b600082611c8e57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063b5761063b611c48565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063b5761063b611c48565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d6d57600080fd5b81516119f781611aab565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611dca5784516001600160a01b031683529383019391830191600101611da5565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220725287dff43445afe2911dc53860641ad8acc252aa5e62ab1e5ea9c7242f94f464736f6c63430008190033000000000000000000000000ad2c8f833d7bd1e11dae96882244f00c38e552440000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106101d15760003560e01c806395d89b41116100f7578063c9567bf911610095578063e2f4560511610064578063e2f456051461052f578063f2fde38b14610545578063f8b45b0514610565578063ffb54a991461057b57600080fd5b8063c9567bf9146104ce578063cf9522fd146104e3578063dd62ed3e146104f9578063dd8546521461051957600080fd5b8063a9059cbb116100d1578063a9059cbb14610458578063afa4f3b214610478578063b70143c914610498578063c8c8ebe4146104b857600080fd5b806395d89b41146104035780639a7a23d614610418578063a457c2d71461043857600080fd5b8063395093511161016f578063715018a61161013e578063715018a6146103a6578063751039fc146103bb57806389291a8f146103d05780638da5cb5b146103e557600080fd5b806339509351146102cb5780634fbee193146102eb578063583e05681461032457806370a082311461037057600080fd5b806323b872dd116101ab57806323b872dd14610257578063311028af14610277578063313ce5671461028d578063346cc7be146102a957600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f2610595565b6040516101ff9190611a5c565b60405180910390f35b34801561021457600080fd5b50610228610223366004611ac0565b610627565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b50610228610272366004611aec565b610641565b34801561028357600080fd5b5061024960095481565b34801561029957600080fd5b50604051601281526020016101ff565b3480156102b557600080fd5b506102c96102c4366004611b2d565b610665565b005b3480156102d757600080fd5b506102286102e6366004611ac0565b6107bb565b3480156102f757600080fd5b50610228610306366004611b2d565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561033057600080fd5b506103587f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ff565b34801561037c57600080fd5b5061024961038b366004611b2d565b6001600160a01b031660009081526020819052604090205490565b3480156103b257600080fd5b506102c96107dd565b3480156103c757600080fd5b506102c961081c565b3480156103dc57600080fd5b506102c961083a565b3480156103f157600080fd5b506005546001600160a01b0316610358565b34801561040f57600080fd5b506101f26108af565b34801561042457600080fd5b506102c9610433366004611b58565b6108be565b34801561044457600080fd5b50610228610453366004611ac0565b610958565b34801561046457600080fd5b50610228610473366004611ac0565b6109d3565b34801561048457600080fd5b506102c9610493366004611b91565b6109e1565b3480156104a457600080fd5b506102c96104b3366004611b91565b610a60565b3480156104c457600080fd5b50610249600a5481565b3480156104da57600080fd5b506102c9610b20565b3480156104ef57600080fd5b50610249600f5481565b34801561050557600080fd5b50610249610514366004611baa565b610b37565b34801561052557600080fd5b50610249600e5481565b34801561053b57600080fd5b50610249600c5481565b34801561055157600080fd5b506102c9610560366004611b2d565b610b62565b34801561057157600080fd5b50610249600b5481565b34801561058757600080fd5b50600d546102289060ff1681565b6060600380546105a490611bd8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d090611bd8565b801561061d5780601f106105f25761010080835404028352916020019161061d565b820191906000526020600020905b81548152906001019060200180831161060057829003601f168201915b5050505050905090565b600033610635818585610bb5565b60019150505b92915050565b60003361064f858285610cd9565b61065a858585610d4d565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461068557600080fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f29190611c12565b90506000811161073e5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b59190611c2b565b50505050565b6000336106358185856107ce8383610b37565b6107d89190611c5e565b610bb5565b6107e5611339565b60006107f96005546001600160a01b031690565b9050610806816000611393565b6108118160006113f3565b61081961144b565b50565b610824611339565b600061082f60025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b03161461085a57600080fd5b600047116108a35760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b6044820152606401610735565b6108ad334761145d565b565b6060600480546105a490611bd8565b6108c6611339565b6006546001600160a01b039081169083160361094a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610735565b61095482826114fb565b5050565b600033816109668286610b37565b9050838110156109c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610735565b61065a8286868403610bb5565b600033610635818585610d4d565b6109e9611339565b60646009546109f89190611c71565b811115610a5b5760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206d757374206265206c657373207468616e203125206f66207460448201526a6f74616c20737570706c7960a81b6064820152608401610735565b600c55565b610a68611339565b6000610a7360025490565b306000908152602081905260408120549192506103e8849003610a97575080610abb565b6103e8610aa48585611c93565b610aae9190611c71565b905081811115610abb5750805b81811115610b175760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b6064820152608401610735565b6107b58161154f565b610b28611339565b600d805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b6a611339565b6000610b7e6005546001600160a01b031690565b9050610b8b816000611393565b610b968160006113f3565b610ba1826001611393565b610bac8260016113f3565b61095482611716565b6001600160a01b038316610c175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610735565b6001600160a01b038216610c785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610735565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ce58484610b37565b905060001981146107b55781811015610d405760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610735565b6107b58484848403610bb5565b6001600160a01b038316610d735760405162461bcd60e51b815260040161073590611caa565b6001600160a01b038216610d995760405162461bcd60e51b815260040161073590611cef565b80600003610db257610dad8383600061178c565b505050565b6001600160a01b03831660009081526012602052604081205460ff16158015610df457506001600160a01b03831660009081526012602052604090205460ff16155b306000908152602081905260408120549192508115801590610e14575082155b9050808015610e2d5750600854600160a01b900460ff16155b8015610e5257506001600160a01b03861660009081526012602052604090205460ff16155b8015610e7757506001600160a01b03861660009081526010602052604090205460ff16155b8015610e9c57506001600160a01b03851660009081526010602052604090205460ff16155b15610ecb576008805460ff60a01b1916600160a01b179055610ebd846118b6565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015610ee6575083155b6001600160a01b03881660009081526010602052604090205490915060ff1680610f2857506001600160a01b03861660009081526010602052604090205460ff165b15610f31575060005b60008115610fbe576001600160a01b03871660009081526012602052604090205460ff1615610f8257610f7b6103e8610f75600f54896119eb90919063ffffffff16565b906119fe565b9050610fa0565b610f9d6103e8610f75600e54896119eb90919063ffffffff16565b90505b8015610fb157610fb188308361178c565b610fbb8187611d32565b95505b6005546001600160a01b03898116911614801590610fea57506005546001600160a01b03888116911614155b8015610ffe57506001600160a01b03871615155b801561101557506001600160a01b03871661dead14155b801561102b5750600854600160a01b900460ff16155b1561132457600d5460ff166110be576001600160a01b03881660009081526010602052604090205460ff168061107957506001600160a01b03871660009081526010602052604090205460ff165b6110be5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610735565b6001600160a01b03881660009081526012602052604090205460ff1680156110ff57506001600160a01b03871660009081526011602052604090205460ff16155b156111e357600a548611156111745760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610735565b600b546001600160a01b03881660009081526020819052604090205461119a9088611c5e565b11156111de5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610735565b611324565b6001600160a01b03871660009081526012602052604090205460ff16801561122457506001600160a01b03881660009081526011602052604090205460ff16155b1561129a57600a548611156111de5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610735565b6001600160a01b03871660009081526011602052604090205460ff1661132457600b546001600160a01b0388166000908152602081905260409020546112e09088611c5e565b11156113245760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610735565b61132f88888861178c565b5050505050505050565b6005546001600160a01b031633146108ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610735565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091016113e7565b611453611339565b6108ad6000611a0a565b804710156114875760405163cf47918160e01b815247600482015260248101829052604401610735565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114d4576040519150601f19603f3d011682016040523d82523d6000602084013e6114d9565b606091505b5050905080610dad5760405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061158457611584611d45565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116269190611d5b565b8160018151811061163957611639611d45565b60200260200101906001600160a01b031690816001600160a01b031681525050611684307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610bb5565b60085460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926116e0928792600092889291909116904290600401611d78565b600060405180830381600087803b1580156116fa57600080fd5b505af115801561170e573d6000803e3d6000fd5b505050505050565b61171e611339565b6001600160a01b0381166117835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610735565b61081981611a0a565b6001600160a01b0383166117b25760405162461bcd60e51b815260040161073590611caa565b6001600160a01b0382166117d85760405162461bcd60e51b815260040161073590611cef565b6001600160a01b038316600090815260208190526040902054818110156118505760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610735565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107b5565b30600090815260208190526040812054908115806118d45750600c54155b156118de57505050565b600f54600e546118ee9190611c5e565b600003611933576000821180156119075750600c548211155b156119135750806119e2565b6000821180156119245750600c5482115b1561192e5750600c545b6119e2565b60008211801561194f5750600c5461194c9060056119fe565b82105b1561195957505050565b6000821180156119765750600c546119729060056119fe565b8210155b80156119835750600c5482105b1561199d57600c546119969060056119fe565b90506119e2565b60006119ba6103e8610f75600f54876119eb90919063ffffffff16565b90506119c68185611d32565b9350600c548411156119dc57600c5491506119e0565b8391505b505b610dad8161154f565b60006119f78284611c93565b9392505050565b60006119f78284611c71565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020808352835180602085015260005b81811015611a8a57858101830151858201604001528201611a6e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461081957600080fd5b60008060408385031215611ad357600080fd5b8235611ade81611aab565b946020939093013593505050565b600080600060608486031215611b0157600080fd5b8335611b0c81611aab565b92506020840135611b1c81611aab565b929592945050506040919091013590565b600060208284031215611b3f57600080fd5b81356119f781611aab565b801515811461081957600080fd5b60008060408385031215611b6b57600080fd5b8235611b7681611aab565b91506020830135611b8681611b4a565b809150509250929050565b600060208284031215611ba357600080fd5b5035919050565b60008060408385031215611bbd57600080fd5b8235611bc881611aab565b91506020830135611b8681611aab565b600181811c90821680611bec57607f821691505b602082108103611c0c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c2457600080fd5b5051919050565b600060208284031215611c3d57600080fd5b81516119f781611b4a565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063b5761063b611c48565b600082611c8e57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063b5761063b611c48565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063b5761063b611c48565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d6d57600080fd5b81516119f781611aab565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611dca5784516001600160a01b031683529383019391830191600101611da5565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220725287dff43445afe2911dc53860641ad8acc252aa5e62ab1e5ea9c7242f94f464736f6c63430008190033

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

000000000000000000000000ad2c8f833d7bd1e11dae96882244f00c38e552440000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : dev (address): 0xaD2c8F833d7bd1E11Dae96882244f00C38e55244
Arg [1] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

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


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.