ETH Price: $2,416.50 (+1.90%)

Token

Elonpepe2.0 (ElonPepe2.0)
 

Overview

Max Total Supply

7,000,000,000,000 ElonPepe2.0

Holders

41

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
48,124,087,667.404212122 ElonPepe2.0

Value
$0.00
0x7916b595c1b603eb44bc3b7677e2874e05e76eb6
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:
ElonPepe2

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : elonpepe20.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

/// @title ElonPepe2 
/// @notice An erc20 token contract with buy/sell fees
/// @dev Inherits the OpenZepplin ERC20, Ownable implementation
contract ElonPepe2 is ERC20, Ownable {
           

            ///ERRORS //
      error MaxFeeLimitExceeded();
      error ZeroAddressNotAllowed();
      error TradingIsAlreadyLive();
      error UpdateBoolValue();
      error AmountTooLow();
      error TradingIsNotActiveYet();
      error CanNotModifyMainPair();

      /// @notice Max Fee limit for buy and sell combined      
      uint16 constant public MAX_FEE = 5;
      /// @notice Minimum swap threshold amount that can be set
      /// to swap collected tax tokens to eth
      uint256 constant public MIN_SWAP_AT_AMOUNT = 1e8 * 1e9;
      ///@notice burn address
      address constant public DEAD = address(0xdead);
          
          ///Fees Variables ///

      /// @notice fees on every buy  
      uint16 public buyFees = 1;
      ///@notice fees on every sell
      uint16 public sellFees = 1;

        ///Fee wallet and uniswap router, pair variables///

      /// @notice fee wallet to receive fees from buy/sell
      address public feeWallet = 0xccFfa89265bB31f8d07328d3B2c8d2994CEb76e8;
      /// @notice address of uniswap V2 pair
      address public immutable uniswapV2Pair;
      /// @notice address of router
      IUniswapV2Router02 public immutable uniswapV2Router;
        
        ///Max Supply/swap amount///

      /// @notice max supply of token
      uint256 constant private maxSupply = 7e12 * 1e9; // 7 Trillion 
      /// @notice token threshold after which collected fees will be swapped to ether
      uint256 public swapTokensAtAmount = (maxSupply * 10) / 100000; // 0.01% of the supply

         ///Mappings//

      /// @notice  mapping of user address which are excluded from fees  
      mapping(address => bool) public isExcludedFromFees;
      /// @notice mapping of valid pair addresses
      mapping(address=> bool) public isLiquidityPair;

         ///Bool
      /// @notice bool variable to indicate if trading is enabled or not   
      bool public isTradingEnabled;
      /// @notice bool variable to indiacate if collected fees can be swapped
      /// for ether or not
      bool public swapEnabled;
      /// @notice bool variable to be used while swapping
      bool private swapping;


         ///events

      event TradingEnabled(uint256 indexed tradeStartTimeStamp);
      event SwapTokensAmountUpdated (uint256 indexed newAmount);
      event FeeWalletUpdated(address indexed newFeeWallet);
      event ExcludedFromFees (address account, bool value);
      event NewLPUpdated(address lp, bool value); 
      event FeesUpdated(uint16 buyFee, uint16 sellFee);  
      

    /// @notice Deploys the smart contract, set the uniswap router address
    /// create uniswap v2 pair address, exclude the deployer, token address,
    /// burn wallet and fee wallet from fees. Mint the supply to owner.
      constructor() ERC20("Elonpepe2.0", "ElonPepe2.0"){
            IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D//uniswap V2 Router
        );

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        isLiquidityPair[uniswapV2Pair] = true;    
        
        isExcludedFromFees[msg.sender] = true;
        isExcludedFromFees[address(this)] = true;
        isExcludedFromFees[feeWallet] = true;
        isExcludedFromFees[DEAD] = true;
        _mint(owner(), maxSupply);
      }

    ///@notice returns decimals
    function decimals () public pure override returns (uint8) {
        return 9;
    }
    
    ///@dev enable trading gloablly, once enabled it can 
    /// never be turned off
    function enableTrading () external onlyOwner {
        if(isTradingEnabled){
            revert TradingIsAlreadyLive();
        }
        isTradingEnabled = true;
        swapEnabled = true;
        emit TradingEnabled(block.timestamp);
    }
    
    ///@dev update fee wallet 
    ///@param _newFeeWallet: new wallet address for fees
    ///Requirements -
    /// _newFeeWallet address should not be zero address.
    function updateFeeWallet (address _newFeeWallet) external  onlyOwner {
        if(_newFeeWallet == address(0)){
            revert ZeroAddressNotAllowed();
        }
        feeWallet = _newFeeWallet;
        emit FeeWalletUpdated(_newFeeWallet);
    }
    
    ///@dev update fees for buy and sell
    ///@param buy: new buy fees
    ///@param sell: new sell fees
    ///Requirements-
    /// sum of buy and sell should be less than equal to MAX_FEE 
    function updateFees (uint16 buy, uint16 sell) external onlyOwner {
        if(buy+sell > MAX_FEE){
            revert MaxFeeLimitExceeded();
        }
        buyFees = buy;
        sellFees = sell;
        emit FeesUpdated(buy, sell);
    }
    
    ///@dev exclude or include in fee mapping
    ///@param user: user to exclude or include in fee
    ///Requirements - 
    /// owner must enter correct bool value
    function excludeFromFees (address user, bool isExcluded) external onlyOwner {
        if(isExcludedFromFees[user] = isExcluded){
            revert UpdateBoolValue();
        }
        isExcludedFromFees[user] = isExcluded;
        emit ExcludedFromFees(user, isExcluded);
    }
    
    ///@dev add or remove new pairs
    ///@param newPair; new pair address
    ///@param value: boolean value true true for adding, false for removing
    ///Requirements -
    ///Can't modify uniswapV2Pair (main pair)
    function manageLiquidityPairs (address newPair, bool value) external onlyOwner{
        if(newPair == uniswapV2Pair){
            revert CanNotModifyMainPair();
        }
        isLiquidityPair[newPair] = value;
        emit NewLPUpdated(newPair, value);
    }
    

    ///@dev update the swap token amount
    ///@param _newSwapAmount: new token amount to swap threshold
    ///Requirements--
    /// amount must greator than equal to MIN_SWAP_AT_AMOUNT
    function updateSwapTokensAtAmount (uint256 _newSwapAmount) external onlyOwner {
        if(_newSwapAmount < MIN_SWAP_AT_AMOUNT){
            revert AmountTooLow();
        }
        swapTokensAtAmount = _newSwapAmount;
        emit SwapTokensAmountUpdated(_newSwapAmount);
    }



    ///@notice transfer function to manage token transfer/fees/limits
    ///@param from: token sender
    ///@param to: token receiver
    ///@param amount: amount to transfer
    ///@dev Moves a `value` amount of tokens from `from` to `to`
    /// there is fees on buy and sell transfer (based on liquidityPairAddress)
    /// Requirements -- 
    /// from and to address should not be zero address
    /// amount must be greator than 0
    /// trading should be enabled (owner and excluded address are exception)
    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");
        require(amount > 0, "Transfer amount must be greater than zero");
        
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!isTradingEnabled ) {
                    if(!isExcludedFromFees[from] || !isExcludedFromFees[to]) {
                        revert TradingIsNotActiveYet();
                    }
                }
               
            }
        uint256 contractBalance = balanceOf(address(this));

        if (
            swapEnabled && //if this is true
            !swapping && //if this is false
            !isLiquidityPair[from] && //if this is false
            !isExcludedFromFees[from] && //if this is false
            !isExcludedFromFees[to] && //if this false
            contractBalance >=swapTokensAtAmount //if this is true
        ) {
         
            swapping = true;
            swapTokensForEth(contractBalance);
            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 ( isLiquidityPair[to] && sellFees > 0) {
                fees = (amount * sellFees) / 100;
                
            }
            
            // on buy
            else if (isLiquidityPair[from] && buyFees > 0) {
                fees = (amount * buyFees) / 100;
             

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


    ///@notice private function to swap tax to eth
    ///@param tokenAmount: token amount to swap for eth
    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();
        if(allowance(address(this), address(uniswapV2Router)) < tokenAmount){
          _approve(address(this), address(uniswapV2Router), type(uint256).max);
        }
       
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            feeWallet,
            block.timestamp
        );
    }

}

File 2 of 9 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 3 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

import './IUniswapV2Router01.sol';

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

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

File 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 5 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 8 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

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"},{"inputs":[],"name":"AmountTooLow","type":"error"},{"inputs":[],"name":"CanNotModifyMainPair","type":"error"},{"inputs":[],"name":"MaxFeeLimitExceeded","type":"error"},{"inputs":[],"name":"TradingIsAlreadyLive","type":"error"},{"inputs":[],"name":"TradingIsNotActiveYet","type":"error"},{"inputs":[],"name":"UpdateBoolValue","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newFeeWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"buyFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"sellFee","type":"uint16"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lp","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"NewLPUpdated","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":"uint256","name":"newAmount","type":"uint256"}],"name":"SwapTokensAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tradeStartTimeStamp","type":"uint256"}],"name":"TradingEnabled","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":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_SWAP_AT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"buyFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isLiquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageLiquidityPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"address","name":"_newFeeWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"buy","type":"uint16"},{"internalType":"uint16","name":"sell","type":"uint16"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSwapAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600580546201000160a01b63ffffffff60a01b19909116179055600680546001600160a01b03191673ccffa89265bb31f8d07328d3b2c8d2994ceb76e8179055620186a06200005f69017b7883c06916600000600a62000452565b6200006b919062000472565b6007553480156200007a575f80fd5b506040518060400160405280600b81526020016a0456c6f6e70657065322e360ac1b8152506040518060400160405280600b81526020016a0456c6f6e50657065322e360ac1b8152508160039081620000d4919062000531565b506004620000e3828262000531565b50505062000100620000fa6200032060201b60201c565b62000324565b737a250d5630b4cf539739df2c5dacb4c659f2488d60a08190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801562000155573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200017b9190620005f9565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ed9190620005f9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000238573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200025e9190620005f9565b6001600160a01b0390811660808190525f9081526009602090815260408083208054600160ff19918216811790925533855260089093528184208054841682179055308452818420805484168217905560065490941683528220805482168417905561dead9091527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054909116909117905562000319620003086005546001600160a01b031690565b69017b7883c0691660000062000375565b506200063e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003d05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620003e3919062000628565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176200046c576200046c6200043e565b92915050565b5f826200048d57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004bb57607f821691505b602082108103620004da57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000439575f81815260208120601f850160051c81016020861015620005085750805b601f850160051c820191505b81811015620005295782815560010162000514565b505050505050565b81516001600160401b038111156200054d576200054d62000492565b62000565816200055e8454620004a6565b84620004e0565b602080601f8311600181146200059b575f8415620005835750858301515b5f19600386901b1c1916600185901b17855562000529565b5f85815260208120601f198616915b82811015620005cb57888601518255948401946001909101908401620005aa565b5085821015620005e957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f602082840312156200060a575f80fd5b81516001600160a01b038116811462000621575f80fd5b9392505050565b808201808211156200046c576200046c6200043e565b60805160a05161171a620006835f395f81816102830152818161108c015281816111440152818161117401526111b401525f81816102e70152610742015261171a5ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063715018a611610114578063c0246668116100a9578063e2f4560511610079578063e2f4560514610467578063e4748b9e14610470578063f25f4b5614610485578063f2fde38b14610498578063f3d2350e146104ab575f80fd5b8063c024666814610419578063d257b34f1461042c578063dd62ed3e1461043f578063e0f3ccf514610452575f80fd5b8063a457c2d7116100e4578063a457c2d7146103c5578063a9059cbb146103d8578063b384f764146103eb578063bc063e1a146103fe575f80fd5b8063715018a61461039c5780638a8c523c146103a45780638da5cb5b146103ac57806395d89b41146103bd575f80fd5b8063313ce5671161018a5780635c9a05b81161015a5780635c9a05b81461032b578063667185241461034d5780636ddd17131461036257806370a0823114610374575f80fd5b8063313ce567146102c057806339509351146102cf57806349bd5a5e146102e25780634fbee19314610309575f80fd5b8063095ea7b3116101c5578063095ea7b31461026b5780631694505e1461027e57806318160ddd146102a557806323b872dd146102ad575f80fd5b8063025b91dc146101f657806303fd2a4514610218578063064a59d01461023957806306fdde0314610256575b5f80fd5b61020567016345785d8a000081565b6040519081526020015b60405180910390f35b61022161dead81565b6040516001600160a01b03909116815260200161020f565b600a546102469060ff1681565b604051901515815260200161020f565b61025e6104be565b60405161020f9190611346565b6102466102793660046113a5565b61054e565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b600254610205565b6102466102bb3660046113cf565b610567565b6040516009815260200161020f565b6102466102dd3660046113a5565b61058a565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b61024661031736600461140d565b60086020525f908152604090205460ff1681565b61024661033936600461140d565b60096020525f908152604090205460ff1681565b61036061035b36600461140d565b6105ab565b005b600a5461024690610100900460ff1681565b61020561038236600461140d565b6001600160a01b03165f9081526020819052604090205490565b610360610623565b610360610636565b6005546001600160a01b0316610221565b61025e61069d565b6102466103d33660046113a5565b6106ac565b6102466103e63660046113a5565b61072b565b6103606103f936600461142f565b610738565b610406600581565b60405161ffff909116815260200161020f565b61036061042736600461142f565b6107f5565b61036061043a36600461146a565b61089d565b61020561044d366004611481565b610900565b60055461040690600160b01b900461ffff1681565b61020560075481565b60055461040690600160a01b900461ffff1681565b600654610221906001600160a01b031681565b6103606104a636600461140d565b61092a565b6103606104b93660046114c3565b6109a3565b6060600380546104cd906114f4565b80601f01602080910402602001604051908101604052809291908181526020018280546104f9906114f4565b80156105445780601f1061051b57610100808354040283529160200191610544565b820191905f5260205f20905b81548152906001019060200180831161052757829003601f168201915b5050505050905090565b5f3361055b818585610a48565b60019150505b92915050565b5f33610574858285610b6b565b61057f858585610be3565b506001949350505050565b5f3361055b81858561059c8383610900565b6105a69190611540565b610a48565b6105b3610f8c565b6001600160a01b0381166105da576040516342bcdf7f60e11b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0383169081179091556040517f29acee77dafcfa0143d74a7ea236018f3a6e1fa71e27fc59bbfbc6b8ca8edccd905f90a250565b61062b610f8c565b6106345f610fe6565b565b61063e610f8c565b600a5460ff161561066257604051632f4d3a8360e21b815260040160405180910390fd5b600a805461ffff191661010117905560405142907fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e923905f90a2565b6060600480546104cd906114f4565b5f33816106b98286610900565b90508381101561071e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61057f8286868403610a48565b5f3361055b818585610be3565b610740610f8c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036107925760405163c41988a760e01b815260040160405180910390fd5b6001600160a01b0382165f81815260096020908152604091829020805460ff19168515159081179091558251938452908301527f35f8ff653a43436c7a79b967cb5f339996dfc0c017ff2f3ecce3314593144e8f91015b60405180910390a15050565b6107fd610f8c565b6001600160a01b0382165f908152600860205260409020805460ff19168215801591909117909155610842576040516363f958f760e11b815260040160405180910390fd5b6001600160a01b0382165f81815260086020908152604091829020805460ff19168515159081179091558251938452908301527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016107e9565b6108a5610f8c565b67016345785d8a00008110156108ce57604051631fbaba3560e01b815260040160405180910390fd5b600781905560405181907f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b1860905f90a250565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610932610f8c565b6001600160a01b0381166109975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610715565b6109a081610fe6565b50565b6109ab610f8c565b60056109b78284611553565b61ffff1611156109da576040516314c9b50160e21b815260040160405180910390fd5b6005805463ffffffff60a01b1916600160a01b61ffff85811691820261ffff60b01b191692909217600160b01b928516928302179092556040805192835260208301919091527f2ac80c14c28700f7b5e36f947d572149fe2e3947bac32c3a8c098f3e03722c1191016107e9565b6001600160a01b038316610aaa5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610715565b6001600160a01b038216610b0b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610715565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610b768484610900565b90505f198114610bdd5781811015610bd05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610715565b610bdd8484848403610a48565b50505050565b6001600160a01b038316610c095760405162461bcd60e51b815260040161071590611575565b6001600160a01b038216610c2f5760405162461bcd60e51b8152600401610715906115ba565b5f8111610c905760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610715565b6005546001600160a01b03848116911614801590610cbc57506005546001600160a01b03838116911614155b8015610cd057506001600160a01b03821615155b8015610ce757506001600160a01b03821661dead14155b8015610cfc5750600a5462010000900460ff16155b15610d6857600a5460ff16610d68576001600160a01b0383165f9081526008602052604090205460ff161580610d4a57506001600160a01b0382165f9081526008602052604090205460ff16155b15610d6857604051638f5de99760e01b815260040160405180910390fd5b305f90815260208190526040902054600a54610100900460ff168015610d975750600a5462010000900460ff16155b8015610dbb57506001600160a01b0384165f9081526009602052604090205460ff16155b8015610ddf57506001600160a01b0384165f9081526008602052604090205460ff16155b8015610e0357506001600160a01b0383165f9081526008602052604090205460ff16155b8015610e1157506007548110155b15610e3d57600a805462ff0000191662010000179055610e3081611037565b600a805462ff0000191690555b600a546001600160a01b0385165f9081526008602052604090205460ff62010000909204821615911680610e8857506001600160a01b0384165f9081526008602052604090205460ff165b15610e9057505f5b5f8115610f79576001600160a01b0385165f9081526009602052604090205460ff168015610eca5750600554600160b01b900461ffff1615155b15610efb57600554606490610eea90600160b01b900461ffff16866115fd565b610ef49190611614565b9050610f5b565b6001600160a01b0386165f9081526009602052604090205460ff168015610f2e5750600554600160a01b900461ffff1615155b15610f5b57600554606490610f4e90600160a01b900461ffff16866115fd565b610f589190611614565b90505b8015610f6c57610f6c86308361121e565b610f768185611633565b93505b610f8486868661121e565b505050505050565b6005546001600160a01b031633146106345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610715565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061106a5761106a611646565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110a919061165a565b8160018151811061111d5761111d611646565b60200260200101906001600160a01b031690816001600160a01b03168152505081611168307f0000000000000000000000000000000000000000000000000000000000000000610900565b101561119a5761119a307f00000000000000000000000000000000000000000000000000000000000000005f19610a48565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926111f59287925f92889291909116904290600401611675565b5f604051808303815f87803b15801561120c575f80fd5b505af1158015610f84573d5f803e3d5ffd5b6001600160a01b0383166112445760405162461bcd60e51b815260040161071590611575565b6001600160a01b03821661126a5760405162461bcd60e51b8152600401610715906115ba565b6001600160a01b0383165f90815260208190526040902054818110156112e15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610715565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bdd565b5f6020808352835180828501525f5b8181101561137157858101830151858201604001528201611355565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a0575f80fd5b5f80604083850312156113b6575f80fd5b82356113c181611391565b946020939093013593505050565b5f805f606084860312156113e1575f80fd5b83356113ec81611391565b925060208401356113fc81611391565b929592945050506040919091013590565b5f6020828403121561141d575f80fd5b813561142881611391565b9392505050565b5f8060408385031215611440575f80fd5b823561144b81611391565b91506020830135801515811461145f575f80fd5b809150509250929050565b5f6020828403121561147a575f80fd5b5035919050565b5f8060408385031215611492575f80fd5b823561149d81611391565b9150602083013561145f81611391565b803561ffff811681146114be575f80fd5b919050565b5f80604083850312156114d4575f80fd5b6114dd836114ad565b91506114eb602084016114ad565b90509250929050565b600181811c9082168061150857607f821691505b60208210810361152657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105615761056161152c565b61ffff81811683821601908082111561156e5761156e61152c565b5092915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176105615761056161152c565b5f8261162e57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156105615761056161152c565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561166a575f80fd5b815161142881611391565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156116c35784516001600160a01b03168352938301939183019160010161169e565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bc72b00c07b8ef9f008711a48f01dd3b0ea70e0518f95223cefa3b69fa1c703364736f6c63430008150033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063715018a611610114578063c0246668116100a9578063e2f4560511610079578063e2f4560514610467578063e4748b9e14610470578063f25f4b5614610485578063f2fde38b14610498578063f3d2350e146104ab575f80fd5b8063c024666814610419578063d257b34f1461042c578063dd62ed3e1461043f578063e0f3ccf514610452575f80fd5b8063a457c2d7116100e4578063a457c2d7146103c5578063a9059cbb146103d8578063b384f764146103eb578063bc063e1a146103fe575f80fd5b8063715018a61461039c5780638a8c523c146103a45780638da5cb5b146103ac57806395d89b41146103bd575f80fd5b8063313ce5671161018a5780635c9a05b81161015a5780635c9a05b81461032b578063667185241461034d5780636ddd17131461036257806370a0823114610374575f80fd5b8063313ce567146102c057806339509351146102cf57806349bd5a5e146102e25780634fbee19314610309575f80fd5b8063095ea7b3116101c5578063095ea7b31461026b5780631694505e1461027e57806318160ddd146102a557806323b872dd146102ad575f80fd5b8063025b91dc146101f657806303fd2a4514610218578063064a59d01461023957806306fdde0314610256575b5f80fd5b61020567016345785d8a000081565b6040519081526020015b60405180910390f35b61022161dead81565b6040516001600160a01b03909116815260200161020f565b600a546102469060ff1681565b604051901515815260200161020f565b61025e6104be565b60405161020f9190611346565b6102466102793660046113a5565b61054e565b6102217f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b600254610205565b6102466102bb3660046113cf565b610567565b6040516009815260200161020f565b6102466102dd3660046113a5565b61058a565b6102217f000000000000000000000000a10c12981af8aca45f44beb32dae76e2232448af81565b61024661031736600461140d565b60086020525f908152604090205460ff1681565b61024661033936600461140d565b60096020525f908152604090205460ff1681565b61036061035b36600461140d565b6105ab565b005b600a5461024690610100900460ff1681565b61020561038236600461140d565b6001600160a01b03165f9081526020819052604090205490565b610360610623565b610360610636565b6005546001600160a01b0316610221565b61025e61069d565b6102466103d33660046113a5565b6106ac565b6102466103e63660046113a5565b61072b565b6103606103f936600461142f565b610738565b610406600581565b60405161ffff909116815260200161020f565b61036061042736600461142f565b6107f5565b61036061043a36600461146a565b61089d565b61020561044d366004611481565b610900565b60055461040690600160b01b900461ffff1681565b61020560075481565b60055461040690600160a01b900461ffff1681565b600654610221906001600160a01b031681565b6103606104a636600461140d565b61092a565b6103606104b93660046114c3565b6109a3565b6060600380546104cd906114f4565b80601f01602080910402602001604051908101604052809291908181526020018280546104f9906114f4565b80156105445780601f1061051b57610100808354040283529160200191610544565b820191905f5260205f20905b81548152906001019060200180831161052757829003601f168201915b5050505050905090565b5f3361055b818585610a48565b60019150505b92915050565b5f33610574858285610b6b565b61057f858585610be3565b506001949350505050565b5f3361055b81858561059c8383610900565b6105a69190611540565b610a48565b6105b3610f8c565b6001600160a01b0381166105da576040516342bcdf7f60e11b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0383169081179091556040517f29acee77dafcfa0143d74a7ea236018f3a6e1fa71e27fc59bbfbc6b8ca8edccd905f90a250565b61062b610f8c565b6106345f610fe6565b565b61063e610f8c565b600a5460ff161561066257604051632f4d3a8360e21b815260040160405180910390fd5b600a805461ffff191661010117905560405142907fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e923905f90a2565b6060600480546104cd906114f4565b5f33816106b98286610900565b90508381101561071e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61057f8286868403610a48565b5f3361055b818585610be3565b610740610f8c565b7f000000000000000000000000a10c12981af8aca45f44beb32dae76e2232448af6001600160a01b0316826001600160a01b0316036107925760405163c41988a760e01b815260040160405180910390fd5b6001600160a01b0382165f81815260096020908152604091829020805460ff19168515159081179091558251938452908301527f35f8ff653a43436c7a79b967cb5f339996dfc0c017ff2f3ecce3314593144e8f91015b60405180910390a15050565b6107fd610f8c565b6001600160a01b0382165f908152600860205260409020805460ff19168215801591909117909155610842576040516363f958f760e11b815260040160405180910390fd5b6001600160a01b0382165f81815260086020908152604091829020805460ff19168515159081179091558251938452908301527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016107e9565b6108a5610f8c565b67016345785d8a00008110156108ce57604051631fbaba3560e01b815260040160405180910390fd5b600781905560405181907f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b1860905f90a250565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610932610f8c565b6001600160a01b0381166109975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610715565b6109a081610fe6565b50565b6109ab610f8c565b60056109b78284611553565b61ffff1611156109da576040516314c9b50160e21b815260040160405180910390fd5b6005805463ffffffff60a01b1916600160a01b61ffff85811691820261ffff60b01b191692909217600160b01b928516928302179092556040805192835260208301919091527f2ac80c14c28700f7b5e36f947d572149fe2e3947bac32c3a8c098f3e03722c1191016107e9565b6001600160a01b038316610aaa5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610715565b6001600160a01b038216610b0b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610715565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610b768484610900565b90505f198114610bdd5781811015610bd05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610715565b610bdd8484848403610a48565b50505050565b6001600160a01b038316610c095760405162461bcd60e51b815260040161071590611575565b6001600160a01b038216610c2f5760405162461bcd60e51b8152600401610715906115ba565b5f8111610c905760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610715565b6005546001600160a01b03848116911614801590610cbc57506005546001600160a01b03838116911614155b8015610cd057506001600160a01b03821615155b8015610ce757506001600160a01b03821661dead14155b8015610cfc5750600a5462010000900460ff16155b15610d6857600a5460ff16610d68576001600160a01b0383165f9081526008602052604090205460ff161580610d4a57506001600160a01b0382165f9081526008602052604090205460ff16155b15610d6857604051638f5de99760e01b815260040160405180910390fd5b305f90815260208190526040902054600a54610100900460ff168015610d975750600a5462010000900460ff16155b8015610dbb57506001600160a01b0384165f9081526009602052604090205460ff16155b8015610ddf57506001600160a01b0384165f9081526008602052604090205460ff16155b8015610e0357506001600160a01b0383165f9081526008602052604090205460ff16155b8015610e1157506007548110155b15610e3d57600a805462ff0000191662010000179055610e3081611037565b600a805462ff0000191690555b600a546001600160a01b0385165f9081526008602052604090205460ff62010000909204821615911680610e8857506001600160a01b0384165f9081526008602052604090205460ff165b15610e9057505f5b5f8115610f79576001600160a01b0385165f9081526009602052604090205460ff168015610eca5750600554600160b01b900461ffff1615155b15610efb57600554606490610eea90600160b01b900461ffff16866115fd565b610ef49190611614565b9050610f5b565b6001600160a01b0386165f9081526009602052604090205460ff168015610f2e5750600554600160a01b900461ffff1615155b15610f5b57600554606490610f4e90600160a01b900461ffff16866115fd565b610f589190611614565b90505b8015610f6c57610f6c86308361121e565b610f768185611633565b93505b610f8486868661121e565b505050505050565b6005546001600160a01b031633146106345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610715565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061106a5761106a611646565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110a919061165a565b8160018151811061111d5761111d611646565b60200260200101906001600160a01b031690816001600160a01b03168152505081611168307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d610900565b101561119a5761119a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d5f19610a48565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926111f59287925f92889291909116904290600401611675565b5f604051808303815f87803b15801561120c575f80fd5b505af1158015610f84573d5f803e3d5ffd5b6001600160a01b0383166112445760405162461bcd60e51b815260040161071590611575565b6001600160a01b03821661126a5760405162461bcd60e51b8152600401610715906115ba565b6001600160a01b0383165f90815260208190526040902054818110156112e15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610715565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bdd565b5f6020808352835180828501525f5b8181101561137157858101830151858201604001528201611355565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a0575f80fd5b5f80604083850312156113b6575f80fd5b82356113c181611391565b946020939093013593505050565b5f805f606084860312156113e1575f80fd5b83356113ec81611391565b925060208401356113fc81611391565b929592945050506040919091013590565b5f6020828403121561141d575f80fd5b813561142881611391565b9392505050565b5f8060408385031215611440575f80fd5b823561144b81611391565b91506020830135801515811461145f575f80fd5b809150509250929050565b5f6020828403121561147a575f80fd5b5035919050565b5f8060408385031215611492575f80fd5b823561149d81611391565b9150602083013561145f81611391565b803561ffff811681146114be575f80fd5b919050565b5f80604083850312156114d4575f80fd5b6114dd836114ad565b91506114eb602084016114ad565b90509250929050565b600181811c9082168061150857607f821691505b60208210810361152657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105615761056161152c565b61ffff81811683821601908082111561156e5761156e61152c565b5092915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176105615761056161152c565b5f8261162e57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156105615761056161152c565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561166a575f80fd5b815161142881611391565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156116c35784516001600160a01b03168352938301939183019160010161169e565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bc72b00c07b8ef9f008711a48f01dd3b0ea70e0518f95223cefa3b69fa1c703364736f6c63430008150033

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.