false
true
0

Contract Address Details

0x675aC865AEBcfc1D22F819bA0Fe7a60Bf17Cb60d

Token
PulseX 402 (PX402)
Creator
0xc0b6ad–559339 at 0xaccb2f–d84cc2
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
1,525 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
26327422
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
PulseX402




Optimization enabled
true
Compiler version
v0.8.30+commit.73712a01




Optimization runs
200
EVM Version
shanghai




Verified at
2025-10-28T11:11:06.398099Z

fix.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.29;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

interface IPulseXRouter {
    function factory() external pure returns (address);
    function WPLS() external pure returns (address);
    
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

interface IPulseXFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

/**
 * @title PulseX402
 * @notice ERC20 token with USDC-based minting and automatic tax system
 * @dev Features:
 *      - 5,000 tokens for public minting (10 USDC per 10 tokens = $1 per token)
 *      - 5,000 tokens reserved for owner LP allocation
 *      - 5% buy tax / 5% sell tax (auto-swapped to PLS)
 *      - Tax sent to marketing wallet
 *      - PulseX V2 integration for trading
 */
contract PulseX402 is ERC20, Ownable, ReentrancyGuard {
    // Constants
    uint256 public constant TOTAL_SUPPLY = 10_000 * 10**18; // 10,000 tokens
    uint256 public constant PUBLIC_MINT_ALLOCATION = 5_000 * 10**18; // 5,000 for public
    uint256 public constant LP_ALLOCATION = 5_000 * 10**18; // 5,000 for LP
    uint256 public constant TOKENS_PER_MINT = 10 * 10**18; // 10 tokens per mint
    uint256 public constant USDC_PRICE_PER_MINT = 10 * 10**6; // 10 USDC (6 decimals)
    uint256 public constant MAX_MINTS = 500; // 5,000 / 10 = 500 mints

    // Tax configuration
    uint256 public buyTax = 500; // 5% (500/10000)
    uint256 public sellTax = 500; // 5% (500/10000)
    uint256 public constant TAX_DENOMINATOR = 10000;
    uint256 public swapTokensAtAmount = 1000 * 10**18; // Swap when 1000 tokens accumulated

    // State variables
    IERC20 public immutable usdcToken;
    IPulseXRouter public pulseXRouter;
    address public pulseXPair;
    address public marketingWallet;
    
    uint256 public totalMinted;
    uint256 public mintCounter;
    bool public mintingPaused;
    bool public lpTokensWithdrawn;
    bool public tradingEnabled;
    bool private inSwap;

    // Tax exclusions
    mapping(address => bool) public isExcludedFromTax;
    mapping(address => bool) public isAutomatedMarketMakerPair;

    // Events
    event TokensMinted(address indexed user, uint256 amount, uint256 usdcPaid, uint256 mintNumber);
    event UsdcWithdrawn(address indexed owner, uint256 amount);
    event LpTokensWithdrawn(address indexed owner, uint256 amount);
    event MintingPausedEvent(bool paused);
    event TradingEnabled(uint256 timestamp);
    event TaxUpdated(uint256 buyTax, uint256 sellTax);
    event MarketingWalletUpdated(address indexed newWallet);
    event SwapAndSendMarketing(uint256 tokensSwapped, uint256 plsReceived);
    event ExcludedFromTax(address indexed account, bool excluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    // Errors
    error MintingIsPaused();
    error MintingComplete();
    error UsdcTransferFailed();
    error NoUsdcToWithdraw();
    error LpTokensAlreadyWithdrawn();
    error NoLpTokensToWithdraw();
    error TradingNotEnabled();
    error InvalidTaxValue();
    error ZeroAddress();

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    /**
     * @notice Constructor initializes the token for PulseChain Mainnet
     */
    constructor() ERC20("PulseX 402", "PX402") Ownable(0xC0B6ad22808e02785418335F07E6B09E98559339) {
        // PulseChain Mainnet (369)
        uint256 _chainId = 369;
        
        // Get USDC address based on chain ID
        address usdcAddress = getUsdcAddress(_chainId);
        usdcToken = IERC20(usdcAddress);

        // Set marketing wallet
        marketingWallet = 0xC0B6ad22808e02785418335F07E6B09E98559339;

        // Initialize PulseX Router
        address routerAddress = getPulseXRouter(_chainId);
        pulseXRouter = IPulseXRouter(routerAddress);

        // Create PulseX pair
        address factory = pulseXRouter.factory();
        address wpls = pulseXRouter.WPLS();
        pulseXPair = IPulseXFactory(factory).createPair(address(this), wpls);
        isAutomatedMarketMakerPair[pulseXPair] = true;

        // Exclude from tax
        isExcludedFromTax[0xC0B6ad22808e02785418335F07E6B09E98559339] = true;
        isExcludedFromTax[address(this)] = true;
        isExcludedFromTax[marketingWallet] = true;
        isExcludedFromTax[address(0)] = true;

        // Mint total supply to contract
        _mint(address(this), TOTAL_SUPPLY);
    }

    /**
     * @notice Get USDC address for specific chain
     */
    function getUsdcAddress(uint256 chainId) internal pure returns (address) {
        if (chainId == 369) { // PulseChain Mainnet
            return 0x15D38573d2feeb82e7ad5187aB8c1D52810B1f07;
        } else if (chainId == 943) { // PulseChain Testnet
            return 0x15D38573d2feeb82e7ad5187aB8c1D52810B1f07;
        } else if (chainId == 1 || chainId == 20258) { // Ethereum mainnet or testnet
            return 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
        } else if (chainId == 11155111) { // Ethereum Sepolia
            return 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238;
        }
        revert("Unsupported chain");
    }

    /**
     * @notice Get PulseX Router address for specific chain
     */
    function getPulseXRouter(uint256 chainId) internal pure returns (address) {
        if (chainId == 369) { // PulseChain Mainnet
            return 0x165C3410fC91EF562C50559f7d2289fEbed552d9; // PulseX V2 Router (correct address)
        } else if (chainId == 943) { // PulseChain Testnet
            return 0xDaE9dd3d1A52CfCe9d5F2fAC7fDe164D500E50f7; // PulseX V2 Testnet Router
        }
        revert("Unsupported chain for PulseX");
    }

    /**
     * @notice Override transfer to implement tax system
     */
    function _update(address from, address to, uint256 amount) internal override {
        // Allow transfers during minting phase or if trading is enabled
        if (from != address(0) && to != address(0)) {
            if (!tradingEnabled && !isExcludedFromTax[from] && !isExcludedFromTax[to]) {
                revert TradingNotEnabled();
            }
        }

        // Check if we should take tax
        bool takeTax = tradingEnabled && !inSwap && !isExcludedFromTax[from] && !isExcludedFromTax[to];

        if (takeTax) {
            uint256 taxAmount = 0;

            // Buy tax (from pair to user)
            if (isAutomatedMarketMakerPair[from] && buyTax > 0) {
                taxAmount = (amount * buyTax) / TAX_DENOMINATOR;
            }
            // Sell tax (from user to pair)
            else if (isAutomatedMarketMakerPair[to] && sellTax > 0) {
                taxAmount = (amount * sellTax) / TAX_DENOMINATOR;
            }

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

            // Auto-swap accumulated tax to PLS
            uint256 contractBalance = balanceOf(address(this));
            uint256 mintableTokens = (MAX_MINTS - mintCounter) * TOKENS_PER_MINT;
            uint256 taxTokens = contractBalance > mintableTokens ? contractBalance - mintableTokens : 0;

            if (taxTokens >= swapTokensAtAmount && !isAutomatedMarketMakerPair[from]) {
                swapTokensForPLS(taxTokens);
            }
        }

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

    /**
     * @notice Swap accumulated tax tokens for PLS and send to marketing wallet
     */
    function swapTokensForPLS(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pulseXRouter.WPLS();

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

        uint256 initialBalance = address(this).balance;

        pulseXRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 plsReceived = address(this).balance - initialBalance;

        if (plsReceived > 0) {
            (bool success, ) = marketingWallet.call{value: plsReceived}("");
            require(success, "Marketing transfer failed");
            emit SwapAndSendMarketing(tokenAmount, plsReceived);
        }
    }

    /**
     * @notice Public mint function - users pay USDC to receive tokens
     */
    function mint() external nonReentrant {
        if (mintingPaused) revert MintingIsPaused();
        if (mintCounter >= MAX_MINTS) revert MintingComplete();

        // Transfer USDC from user to contract
        bool success = usdcToken.transferFrom(msg.sender, address(this), USDC_PRICE_PER_MINT);
        if (!success) revert UsdcTransferFailed();

        // Increment counters
        mintCounter++;
        totalMinted += TOKENS_PER_MINT;

        // Transfer tokens to user
        _transfer(address(this), msg.sender, TOKENS_PER_MINT);

        emit TokensMinted(msg.sender, TOKENS_PER_MINT, USDC_PRICE_PER_MINT, mintCounter);
    }

    /**
     * @notice Owner enables trading (one-time action)
     */
    function enableTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
        emit TradingEnabled(block.timestamp);
    }

    /**
     * @notice Owner withdraws collected USDC
     */
    function withdrawUsdc() external onlyOwner nonReentrant {
        uint256 balance = usdcToken.balanceOf(address(this));
        if (balance == 0) revert NoUsdcToWithdraw();

        bool success = usdcToken.transfer(owner(), balance);
        if (!success) revert UsdcTransferFailed();

        emit UsdcWithdrawn(owner(), balance);
    }

    /**
     * @notice Owner withdraws LP allocation tokens (5,000 tokens)
     */
    function withdrawLpTokens() external onlyOwner nonReentrant {
        if (lpTokensWithdrawn) revert LpTokensAlreadyWithdrawn();

        uint256 lpBalance = balanceOf(address(this));
        if (lpBalance == 0) revert NoLpTokensToWithdraw();

        // Calculate available LP tokens (total balance minus remaining mintable tokens and tax)
        uint256 remainingMintable = (MAX_MINTS - mintCounter) * TOKENS_PER_MINT;
        uint256 availableLpTokens = lpBalance > remainingMintable ? lpBalance - remainingMintable : 0;

        if (availableLpTokens == 0) revert NoLpTokensToWithdraw();

        lpTokensWithdrawn = true;
        _transfer(address(this), owner(), availableLpTokens);

        emit LpTokensWithdrawn(owner(), availableLpTokens);
    }

    /**
     * @notice Owner updates tax rates
     */
    function updateTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner {
        if (_buyTax > 1000 || _sellTax > 1000) revert InvalidTaxValue(); // Max 10%
        buyTax = _buyTax;
        sellTax = _sellTax;
        emit TaxUpdated(_buyTax, _sellTax);
    }

    /**
     * @notice Owner updates marketing wallet
     */
    function updateMarketingWallet(address _marketingWallet) external onlyOwner {
        if (_marketingWallet == address(0)) revert ZeroAddress();
        marketingWallet = _marketingWallet;
        emit MarketingWalletUpdated(_marketingWallet);
    }

    /**
     * @notice Owner excludes/includes address from tax
     */
    function setExcludedFromTax(address account, bool excluded) external onlyOwner {
        isExcludedFromTax[account] = excluded;
        emit ExcludedFromTax(account, excluded);
    }

    /**
     * @notice Owner sets automated market maker pair
     */
    function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
        isAutomatedMarketMakerPair[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    /**
     * @notice Owner pauses or unpauses minting
     */
    function setMintingPaused(bool _paused) external onlyOwner {
        mintingPaused = _paused;
        emit MintingPausedEvent(_paused);
    }

    /**
     * @notice Update swap threshold
     */
    function updateSwapTokensAtAmount(uint256 _amount) external onlyOwner {
        swapTokensAtAmount = _amount;
    }

    /**
     * @notice Manual swap and send to marketing
     */
    function manualSwapAndSend() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        uint256 mintableTokens = (MAX_MINTS - mintCounter) * TOKENS_PER_MINT;
        uint256 taxTokens = contractBalance > mintableTokens ? contractBalance - mintableTokens : 0;
        
        require(taxTokens > 0, "No tax tokens to swap");
        swapTokensForPLS(taxTokens);
    }

    /**
     * @notice Get remaining mints available
     */
    function remainingMints() external view returns (uint256) {
        return MAX_MINTS - mintCounter;
    }

    /**
     * @notice Get remaining tokens available for minting
     */
    function remainingTokens() external view returns (uint256) {
        return PUBLIC_MINT_ALLOCATION - totalMinted;
    }

    /**
     * @notice Get total USDC collected
     */
    function collectedUsdc() external view returns (uint256) {
        return usdcToken.balanceOf(address(this));
    }

    /**
     * @notice Receive PLS from swaps
     */
    receive() external payable {}
}
        

/extensions/IERC20Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity >=0.6.2;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
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);
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
          

/ERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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 ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * Both 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

    /// @inheritdoc IERC20
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /// @inheritdoc IERC20
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}
          

/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"shanghai","compilationTarget":{"fix.sol":"PulseX402"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"ERC20InsufficientAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"allowance","internalType":"uint256"},{"type":"uint256","name":"needed","internalType":"uint256"}]},{"type":"error","name":"ERC20InsufficientBalance","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"balance","internalType":"uint256"},{"type":"uint256","name":"needed","internalType":"uint256"}]},{"type":"error","name":"ERC20InvalidApprover","inputs":[{"type":"address","name":"approver","internalType":"address"}]},{"type":"error","name":"ERC20InvalidReceiver","inputs":[{"type":"address","name":"receiver","internalType":"address"}]},{"type":"error","name":"ERC20InvalidSender","inputs":[{"type":"address","name":"sender","internalType":"address"}]},{"type":"error","name":"ERC20InvalidSpender","inputs":[{"type":"address","name":"spender","internalType":"address"}]},{"type":"error","name":"InvalidTaxValue","inputs":[]},{"type":"error","name":"LpTokensAlreadyWithdrawn","inputs":[]},{"type":"error","name":"MintingComplete","inputs":[]},{"type":"error","name":"MintingIsPaused","inputs":[]},{"type":"error","name":"NoLpTokensToWithdraw","inputs":[]},{"type":"error","name":"NoUsdcToWithdraw","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"TradingNotEnabled","inputs":[]},{"type":"error","name":"UsdcTransferFailed","inputs":[]},{"type":"error","name":"ZeroAddress","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ExcludedFromTax","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"bool","name":"excluded","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"LpTokensWithdrawn","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MarketingWalletUpdated","inputs":[{"type":"address","name":"newWallet","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"MintingPausedEvent","inputs":[{"type":"bool","name":"paused","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SetAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address","indexed":true},{"type":"bool","name":"value","internalType":"bool","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndSendMarketing","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"plsReceived","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TaxUpdated","inputs":[{"type":"uint256","name":"buyTax","internalType":"uint256","indexed":false},{"type":"uint256","name":"sellTax","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TokensMinted","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"usdcPaid","internalType":"uint256","indexed":false},{"type":"uint256","name":"mintNumber","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TradingEnabled","inputs":[{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"UsdcWithdrawn","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"LP_ALLOCATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_MINTS","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"PUBLIC_MINT_ALLOCATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TAX_DENOMINATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TOKENS_PER_MINT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TOTAL_SUPPLY","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"USDC_PRICE_PER_MINT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buyTax","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"collectedUsdc","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enableTrading","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isAutomatedMarketMakerPair","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromTax","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"lpTokensWithdrawn","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"manualSwapAndSend","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"marketingWallet","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintCounter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"mintingPaused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pulseXPair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXRouter"}],"name":"pulseXRouter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"remainingMints","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"remainingTokens","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellTax","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setExcludedFromTax","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMintingPaused","inputs":[{"type":"bool","name":"_paused","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapTokensAtAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalMinted","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"tradingEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMarketingWallet","inputs":[{"type":"address","name":"_marketingWallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSwapTokensAtAmount","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateTaxes","inputs":[{"type":"uint256","name":"_buyTax","internalType":"uint256"},{"type":"uint256","name":"_sellTax","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"usdcToken","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawLpTokens","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawUsdc","inputs":[]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x60a06040526101f46007556101f4600855683635c9adc5dea00000600955348015610028575f5ffd5b5073c0b6ad22808e02785418335f07e6b09e985593396040518060400160405280600a815260200169283ab639b2ac101a181960b11b81525060405180604001604052806005815260200164282c1a181960d91b815250816003908161008e9190610cc6565b50600461009b8282610cc6565b5050506001600160a01b0381166100cc57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100d58161036c565b5060016006556101715f6100e8826103bd565b6001600160a01b038116608052600c80546001600160a01b03191673c0b6ad22808e02785418335f07e6b09e9855933917905590505f61012783610497565b600a80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290519293505f9263c45a0155916004808201926020929091908290030181865afa158015610183573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a79190610d80565b90505f600a5f9054906101000a90046001600160a01b03166001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101fa573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061021e9190610d80565b6040516364e329cb60e11b81523060048201526001600160a01b0380831660248301529192509083169063c9c65396906044016020604051808303815f875af115801561026d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102919190610d80565b600b80546001600160a01b0319166001600160a01b039283169081179091555f908152601160209081526040808320805460ff19908116600190811790925560109093527f3002b8ea8237245a90a01c229f555d712c8e76144566add74605890497bd4dc48054841682179055308085528285208054851683179055600c54909516845290832080548316821790559180527f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb01805490911690911790556103629069021e19e0c9bab2400000610528565b5050505050610ea7565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f81610171036103e257507315d38573d2feeb82e7ad5187ab8c1d52810b1f07919050565b816103af0361040657507315d38573d2feeb82e7ad5187ab8c1d52810b1f07919050565b8160011480610416575081614f22145b15610436575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48919050565b8162aa36a70361045b5750731c7d4b196cb0c7b01d743fbc6116a902379c7238919050565b60405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b21031b430b4b760791b60448201526064016100c3565b5f81610171036104bc575073165c3410fc91ef562c50559f7d2289febed552d9919050565b816103af036104e0575073dae9dd3d1a52cfce9d5f2fac7fde164d500e50f7919050565b60405162461bcd60e51b815260206004820152601c60248201527f556e737570706f7274656420636861696e20666f722050756c7365580000000060448201526064016100c3565b6001600160a01b0382166105515760405163ec442f0560e01b81525f60048201526024016100c3565b61055c5f8383610560565b5050565b6001600160a01b0383161580159061058057506001600160a01b03821615155b156105f857600f5462010000900460ff161580156105b657506001600160a01b0383165f9081526010602052604090205460ff16155b80156105da57506001600160a01b0382165f9081526010602052604090205460ff16155b156105f8576040516312f1f92360e01b815260040160405180910390fd5b600f545f9062010000900460ff16801561061c5750600f546301000000900460ff16155b801561064057506001600160a01b0384165f9081526010602052604090205460ff16155b801561066457506001600160a01b0383165f9081526010602052604090205460ff16155b905080156107b2576001600160a01b0384165f9081526011602052604081205460ff16801561069457505f600754115b156106bb57612710600754846106aa9190610dc1565b6106b49190610dde565b9050610706565b6001600160a01b0384165f9081526011602052604090205460ff1680156106e357505f600854115b1561070657612710600854846106f99190610dc1565b6107039190610dde565b90505b8015610724576107178530836107c3565b6107218184610dfd565b92505b305f9081526020819052604081205490505f678ac7230489e80000600e546101f461074f9190610dfd565b6107599190610dc1565b90505f818311610769575f610773565b6107738284610dfd565b9050600954811015801561079f57506001600160a01b0388165f9081526011602052604090205460ff16155b156107ad576107ad816108e9565b505050505b6107bd8484846107c3565b50505050565b6001600160a01b0383166107ed578060025f8282546107e29190610e10565b9091555061085d9050565b6001600160a01b0383165f908152602081905260409020548181101561083f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100c3565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661087957600280548290039055610897565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108dc91815260200190565b60405180910390a3505050565b600f805463ff000000191663010000001790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061092f5761092f610e23565b6001600160a01b03928316602091820292909201810191909152600a546040805163ef8ef56f60e01b81529051919093169263ef8ef56f9260048083019391928290030181865afa158015610986573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109aa9190610d80565b816001815181106109bd576109bd610e23565b6001600160a01b039283166020918202929092010152600a546109e39130911684610b4b565b600a5460405163791ac94760e01b815247916001600160a01b03169063791ac94790610a1b9086905f90879030904290600401610e37565b5f604051808303815f87803b158015610a32575f5ffd5b505af1158015610a44573d5f5f3e3d5ffd5b505050505f8147610a559190610dfd565b90508015610b3857600c546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610aa7576040519150601f19603f3d011682016040523d82523d5f602084013e610aac565b606091505b5050905080610afd5760405162461bcd60e51b815260206004820152601960248201527f4d61726b6574696e67207472616e73666572206661696c65640000000000000060448201526064016100c3565b60408051868152602081018490527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e62999910160405180910390a1505b5050600f805463ff000000191690555050565b610b588383836001610b5d565b505050565b6001600160a01b038416610b865760405163e602df0560e01b81525f60048201526024016100c3565b6001600160a01b038316610baf57604051634a1406b160e11b81525f60048201526024016100c3565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156107bd57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c2191815260200190565b60405180910390a350505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610c5757607f821691505b602082108103610c7557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b5857805f5260205f20601f840160051c81016020851015610ca05750805b601f840160051c820191505b81811015610cbf575f8155600101610cac565b5050505050565b81516001600160401b03811115610cdf57610cdf610c2f565b610cf381610ced8454610c43565b84610c7b565b6020601f821160018114610d25575f8315610d0e5750848201515b5f19600385901b1c1916600184901b178455610cbf565b5f84815260208120601f198516915b82811015610d545787850151825560209485019460019092019101610d34565b5084821015610d7157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610d90575f5ffd5b81516001600160a01b0381168114610da6575f5ffd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610dd857610dd8610dad565b92915050565b5f82610df857634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610dd857610dd8610dad565b80820180821115610dd857610dd8610dad565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015610e875783516001600160a01b0316835260209384019390920191600101610e60565b50506001600160a01b039590951660608401525050608001529392505050565b608051611ddf610edb5f395f81816103400152818161098901528181610f9a0152818161106f01526111050152611ddf5ff3fe608060405260043610610283575f3560e01c80639a7a23d611610155578063ce0cbd28116100be578063eb62b3e711610078578063eb62b3e71461076d578063ebda16eb1461028e578063ed016a4614610781578063f2fde38b1461079c578063fe3f52f4146107bb578063fee84d4e146107da575f5ffd5b8063ce0cbd28146106aa578063d257b34f146106c8578063d87854cb146106e7578063dd62ed3e146106fb578063e1a283d61461073f578063e2f4560514610758575f5ffd5b8063aec9b6f41161010f578063aec9b6f414610600578063bf5839031461061f578063c2ed286b14610633578063cb4ca63114610652578063cc1776d314610680578063cce132d114610695575f5ffd5b80639a7a23d61461055a578063a2309ff814610579578063a51c9ace1461058e578063a9059cbb146105a3578063aacebbe3146105c2578063ad13419d146105e1575f5ffd5b80634ada218b116101f757806375f0a874116101b157806375f0a874146104ab5780637949a403146104ca5780638a8c523c146104f85780638da5cb5b1461050c578063902d55a51461052957806395d89b4114610546575f5ffd5b80634ada218b146104055780634f7041a5146104245780635d71ebf2146104395780636d91df1a1461044d57806370a0823114610463578063715018a614610497575f5ffd5b80631249c58b116102485780631249c58b1461037a57806318160ddd1461038e57806323b872dd146103a2578063313ce567146103c15780633ee0ce02146103dc57806346aa52ce146103f0575f5ffd5b8063014545a11461028e57806306fdde03146102be578063095ea7b3146102df5780631006ee0c1461030e57806311eac8551461032f575f5ffd5b3661028a57005b5f5ffd5b348015610299575f5ffd5b506102ab69010f0cf064dd5920000081565b6040519081526020015b60405180910390f35b3480156102c9575f5ffd5b506102d26107ee565b6040516102b59190611a6d565b3480156102ea575f5ffd5b506102fe6102f9366004611acc565b61087e565b60405190151581526020016102b5565b348015610319575f5ffd5b5061032d610328366004611af6565b610897565b005b34801561033a575f5ffd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102b5565b348015610385575f5ffd5b5061032d610915565b348015610399575f5ffd5b506002546102ab565b3480156103ad575f5ffd5b506102fe6103bc366004611b16565b610abf565b3480156103cc575f5ffd5b50604051601281526020016102b5565b3480156103e7575f5ffd5b5061032d610ae2565b3480156103fb575f5ffd5b506102ab600e5481565b348015610410575f5ffd5b50600f546102fe9062010000900460ff1681565b34801561042f575f5ffd5b506102ab60075481565b348015610444575f5ffd5b5061032d610b95565b348015610458575f5ffd5b506102ab6298968081565b34801561046e575f5ffd5b506102ab61047d366004611b54565b6001600160a01b03165f9081526020819052604090205490565b3480156104a2575f5ffd5b5061032d610ce4565b3480156104b6575f5ffd5b50600c54610362906001600160a01b031681565b3480156104d5575f5ffd5b506102fe6104e4366004611b54565b60116020525f908152604090205460ff1681565b348015610503575f5ffd5b5061032d610cf5565b348015610517575f5ffd5b506005546001600160a01b0316610362565b348015610534575f5ffd5b506102ab69021e19e0c9bab240000081565b348015610551575f5ffd5b506102d2610da3565b348015610565575f5ffd5b5061032d610574366004611b83565b610db2565b348015610584575f5ffd5b506102ab600d5481565b348015610599575f5ffd5b506102ab61271081565b3480156105ae575f5ffd5b506102fe6105bd366004611acc565b610e0d565b3480156105cd575f5ffd5b5061032d6105dc366004611b54565b610e1a565b3480156105ec575f5ffd5b5061032d6105fb366004611bba565b610e92565b34801561060b575f5ffd5b50600a54610362906001600160a01b031681565b34801561062a575f5ffd5b506102ab610ee1565b34801561063e575f5ffd5b5061032d61064d366004611b83565b610eff565b34801561065d575f5ffd5b506102fe61066c366004611b54565b60106020525f908152604090205460ff1681565b34801561068b575f5ffd5b506102ab60085481565b3480156106a0575f5ffd5b506102ab6101f481565b3480156106b5575f5ffd5b50600f546102fe90610100900460ff1681565b3480156106d3575f5ffd5b5061032d6106e2366004611bd5565b610f65565b3480156106f2575f5ffd5b506102ab610f72565b348015610706575f5ffd5b506102ab610715366004611bec565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561074a575f5ffd5b50600f546102fe9060ff1681565b348015610763575f5ffd5b506102ab60095481565b348015610778575f5ffd5b506102ab610f83565b34801561078c575f5ffd5b506102ab678ac7230489e8000081565b3480156107a7575f5ffd5b5061032d6107b6366004611b54565b61100b565b3480156107c6575f5ffd5b50600b54610362906001600160a01b031681565b3480156107e5575f5ffd5b5061032d611048565b6060600380546107fd90611c18565b80601f016020809104026020016040519081016040528092919081815260200182805461082990611c18565b80156108745780601f1061084b57610100808354040283529160200191610874565b820191905f5260205f20905b81548152906001019060200180831161085757829003601f168201915b5050505050905090565b5f3361088b81858561122c565b60019150505b92915050565b61089f611239565b6103e88211806108b057506103e881115b156108ce576040516355433d6d60e11b815260040160405180910390fd5b6007829055600881905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b61091d611266565b600f5460ff161561094057604051620de45360ea1b815260040160405180910390fd5b6101f4600e54106109635760405162e2a62560e41b815260040160405180910390fd5b6040516323b872dd60e01b81523360048201523060248201526298968060448201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303815f875af11580156109d7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fb9190611c50565b905080610a1b5760405163fd82839960e01b815260040160405180910390fd5b600e8054905f610a2a83611c7f565b9190505550678ac7230489e80000600d5f828254610a489190611c97565b90915550610a6190503033678ac7230489e80000611290565b600e5460408051678ac7230489e8000081526298968060208201529081019190915233907f6155cfd0fd028b0ca77e8495a60cbe563e8bce8611f0aad6fedbdaafc05d44a29060600160405180910390a250610abd6001600655565b565b5f33610acc8582856112ed565b610ad7858585611290565b506001949350505050565b610aea611239565b305f9081526020819052604081205490505f678ac7230489e80000600e546101f4610b159190611caa565b610b1f9190611cbd565b90505f818311610b2f575f610b39565b610b398284611caa565b90505f8111610b875760405162461bcd60e51b815260206004820152601560248201527404e6f2074617820746f6b656e7320746f207377617605c1b60448201526064015b60405180910390fd5b610b9081611369565b505050565b610b9d611239565b610ba5611266565b600f54610100900460ff1615610bce57604051631c6a53d160e01b815260040160405180910390fd5b305f9081526020819052604081205490819003610bfe576040516315bd533360e01b815260040160405180910390fd5b5f678ac7230489e80000600e546101f4610c189190611caa565b610c229190611cbd565b90505f818311610c32575f610c3c565b610c3c8284611caa565b9050805f03610c5e576040516315bd533360e01b815260040160405180910390fd5b600f805461ff001916610100179055610c8930610c836005546001600160a01b031690565b83611290565b6005546001600160a01b03166001600160a01b03167f7af83198c744ea94e85f91e228f44de402fc30653e2e53e0486ee66afe73ecf982604051610ccf91815260200190565b60405180910390a2505050610abd6001600655565b610cec611239565b610abd5f6115cb565b610cfd611239565b600f5462010000900460ff1615610d565760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610b7e565b600f805462ff00001916620100001790556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390610d999042815260200190565b60405180910390a1565b6060600480546107fd90611c18565b610dba611239565b6001600160a01b0382165f81815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f3361088b818585611290565b610e22611239565b6001600160a01b038116610e495760405163d92e233d60e01b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383169081179091556040517fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e7905f90a250565b610e9a611239565b600f805460ff19168215159081179091556040519081527fd66a5246c56cf32bf445fcdb84ada011c1bcfc2dec4d739270609949652686859060200160405180910390a150565b5f600d5469010f0cf064dd59200000610efa9190611caa565b905090565b610f07611239565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a25050565b610f6d611239565b600955565b5f600e546101f4610efa9190611caa565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610fe7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efa9190611cd4565b611013611239565b6001600160a01b03811661103c57604051631e4fbdf760e01b81525f6004820152602401610b7e565b611045816115cb565b50565b611050611239565b611058611266565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156110bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e09190611cd4565b9050805f0361110257604051637bb9a81960e11b815260040160405180910390fd5b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6111446005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af115801561118e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b29190611c50565b9050806111d25760405163fd82839960e01b815260040160405180910390fd5b6005546001600160a01b03166001600160a01b03167f0d1589f631deb2542273b007140b132a18d48a4303d103fe64d353db07e01b578360405161121891815260200190565b60405180910390a25050610abd6001600655565b610b90838383600161161c565b6005546001600160a01b03163314610abd5760405163118cdaa760e01b8152336004820152602401610b7e565b60026006540361128957604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b6001600160a01b0383166112b957604051634b637e8f60e11b81525f6004820152602401610b7e565b6001600160a01b0382166112e25760405163ec442f0560e01b81525f6004820152602401610b7e565b610b908383836116ee565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611363578181101561135557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b7e565b61136384848484035f61161c565b50505050565b600f805463ff000000191663010000001790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106113af576113af611ceb565b6001600160a01b03928316602091820292909201810191909152600a546040805163ef8ef56f60e01b81529051919093169263ef8ef56f9260048083019391928290030181865afa158015611406573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142a9190611cff565b8160018151811061143d5761143d611ceb565b6001600160a01b039283166020918202929092010152600a54611463913091168461122c565b600a5460405163791ac94760e01b815247916001600160a01b03169063791ac9479061149b9086905f90879030904290600401611d1a565b5f604051808303815f87803b1580156114b2575f5ffd5b505af11580156114c4573d5f5f3e3d5ffd5b505050505f81476114d59190611caa565b905080156115b857600c546040515f916001600160a01b03169083908381818185875af1925050503d805f8114611527576040519150601f19603f3d011682016040523d82523d5f602084013e61152c565b606091505b505090508061157d5760405162461bcd60e51b815260206004820152601960248201527f4d61726b6574696e67207472616e73666572206661696c6564000000000000006044820152606401610b7e565b60408051868152602081018490527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e62999910160405180910390a1505b5050600f805463ff000000191690555050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166116455760405163e602df0560e01b81525f6004820152602401610b7e565b6001600160a01b03831661166e57604051634a1406b160e11b81525f6004820152602401610b7e565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561136357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116e091815260200190565b60405180910390a350505050565b6001600160a01b0383161580159061170e57506001600160a01b03821615155b1561178657600f5462010000900460ff1615801561174457506001600160a01b0383165f9081526010602052604090205460ff16155b801561176857506001600160a01b0382165f9081526010602052604090205460ff16155b15611786576040516312f1f92360e01b815260040160405180910390fd5b600f545f9062010000900460ff1680156117aa5750600f546301000000900460ff16155b80156117ce57506001600160a01b0384165f9081526010602052604090205460ff16155b80156117f257506001600160a01b0383165f9081526010602052604090205460ff16155b90508015611940576001600160a01b0384165f9081526011602052604081205460ff16801561182257505f600754115b1561184957612710600754846118389190611cbd565b6118429190611d8a565b9050611894565b6001600160a01b0384165f9081526011602052604090205460ff16801561187157505f600854115b1561189457612710600854846118879190611cbd565b6118919190611d8a565b90505b80156118b2576118a5853083611947565b6118af8184611caa565b92505b305f9081526020819052604081205490505f678ac7230489e80000600e546101f46118dd9190611caa565b6118e79190611cbd565b90505f8183116118f7575f611901565b6119018284611caa565b9050600954811015801561192d57506001600160a01b0388165f9081526011602052604090205460ff16155b1561193b5761193b81611369565b505050505b6113638484845b6001600160a01b038316611971578060025f8282546119669190611c97565b909155506119e19050565b6001600160a01b0383165f90815260208190526040902054818110156119c35760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b7e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166119fd57600280548290039055611a1b565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a6091815260200190565b60405180910390a3505050565b602081525f82518060208401525f5b81811015611a995760208186018101516040868401015201611a7c565b505f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611045575f5ffd5b5f5f60408385031215611add575f5ffd5b8235611ae881611ab8565b946020939093013593505050565b5f5f60408385031215611b07575f5ffd5b50508035926020909101359150565b5f5f5f60608486031215611b28575f5ffd5b8335611b3381611ab8565b92506020840135611b4381611ab8565b929592945050506040919091013590565b5f60208284031215611b64575f5ffd5b8135611b6f81611ab8565b9392505050565b8015158114611045575f5ffd5b5f5f60408385031215611b94575f5ffd5b8235611b9f81611ab8565b91506020830135611baf81611b76565b809150509250929050565b5f60208284031215611bca575f5ffd5b8135611b6f81611b76565b5f60208284031215611be5575f5ffd5b5035919050565b5f5f60408385031215611bfd575f5ffd5b8235611c0881611ab8565b91506020830135611baf81611ab8565b600181811c90821680611c2c57607f821691505b602082108103611c4a57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611c60575f5ffd5b8151611b6f81611b76565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611c9057611c90611c6b565b5060010190565b8082018082111561089157610891611c6b565b8181038181111561089157610891611c6b565b808202811582820484141761089157610891611c6b565b5f60208284031215611ce4575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611d0f575f5ffd5b8151611b6f81611ab8565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611d6a5783516001600160a01b0316835260209384019390920191600101611d43565b50506001600160a01b039590951660608401525050608001529392505050565b5f82611da457634e487b7160e01b5f52601260045260245ffd5b50049056fea264697066735822122017df417b7a7565cc2cc9195fec0c0c5097bee91344542c69daa762ad553d780964736f6c634300081e0033

Deployed ByteCode

0x608060405260043610610283575f3560e01c80639a7a23d611610155578063ce0cbd28116100be578063eb62b3e711610078578063eb62b3e71461076d578063ebda16eb1461028e578063ed016a4614610781578063f2fde38b1461079c578063fe3f52f4146107bb578063fee84d4e146107da575f5ffd5b8063ce0cbd28146106aa578063d257b34f146106c8578063d87854cb146106e7578063dd62ed3e146106fb578063e1a283d61461073f578063e2f4560514610758575f5ffd5b8063aec9b6f41161010f578063aec9b6f414610600578063bf5839031461061f578063c2ed286b14610633578063cb4ca63114610652578063cc1776d314610680578063cce132d114610695575f5ffd5b80639a7a23d61461055a578063a2309ff814610579578063a51c9ace1461058e578063a9059cbb146105a3578063aacebbe3146105c2578063ad13419d146105e1575f5ffd5b80634ada218b116101f757806375f0a874116101b157806375f0a874146104ab5780637949a403146104ca5780638a8c523c146104f85780638da5cb5b1461050c578063902d55a51461052957806395d89b4114610546575f5ffd5b80634ada218b146104055780634f7041a5146104245780635d71ebf2146104395780636d91df1a1461044d57806370a0823114610463578063715018a614610497575f5ffd5b80631249c58b116102485780631249c58b1461037a57806318160ddd1461038e57806323b872dd146103a2578063313ce567146103c15780633ee0ce02146103dc57806346aa52ce146103f0575f5ffd5b8063014545a11461028e57806306fdde03146102be578063095ea7b3146102df5780631006ee0c1461030e57806311eac8551461032f575f5ffd5b3661028a57005b5f5ffd5b348015610299575f5ffd5b506102ab69010f0cf064dd5920000081565b6040519081526020015b60405180910390f35b3480156102c9575f5ffd5b506102d26107ee565b6040516102b59190611a6d565b3480156102ea575f5ffd5b506102fe6102f9366004611acc565b61087e565b60405190151581526020016102b5565b348015610319575f5ffd5b5061032d610328366004611af6565b610897565b005b34801561033a575f5ffd5b506103627f00000000000000000000000015d38573d2feeb82e7ad5187ab8c1d52810b1f0781565b6040516001600160a01b0390911681526020016102b5565b348015610385575f5ffd5b5061032d610915565b348015610399575f5ffd5b506002546102ab565b3480156103ad575f5ffd5b506102fe6103bc366004611b16565b610abf565b3480156103cc575f5ffd5b50604051601281526020016102b5565b3480156103e7575f5ffd5b5061032d610ae2565b3480156103fb575f5ffd5b506102ab600e5481565b348015610410575f5ffd5b50600f546102fe9062010000900460ff1681565b34801561042f575f5ffd5b506102ab60075481565b348015610444575f5ffd5b5061032d610b95565b348015610458575f5ffd5b506102ab6298968081565b34801561046e575f5ffd5b506102ab61047d366004611b54565b6001600160a01b03165f9081526020819052604090205490565b3480156104a2575f5ffd5b5061032d610ce4565b3480156104b6575f5ffd5b50600c54610362906001600160a01b031681565b3480156104d5575f5ffd5b506102fe6104e4366004611b54565b60116020525f908152604090205460ff1681565b348015610503575f5ffd5b5061032d610cf5565b348015610517575f5ffd5b506005546001600160a01b0316610362565b348015610534575f5ffd5b506102ab69021e19e0c9bab240000081565b348015610551575f5ffd5b506102d2610da3565b348015610565575f5ffd5b5061032d610574366004611b83565b610db2565b348015610584575f5ffd5b506102ab600d5481565b348015610599575f5ffd5b506102ab61271081565b3480156105ae575f5ffd5b506102fe6105bd366004611acc565b610e0d565b3480156105cd575f5ffd5b5061032d6105dc366004611b54565b610e1a565b3480156105ec575f5ffd5b5061032d6105fb366004611bba565b610e92565b34801561060b575f5ffd5b50600a54610362906001600160a01b031681565b34801561062a575f5ffd5b506102ab610ee1565b34801561063e575f5ffd5b5061032d61064d366004611b83565b610eff565b34801561065d575f5ffd5b506102fe61066c366004611b54565b60106020525f908152604090205460ff1681565b34801561068b575f5ffd5b506102ab60085481565b3480156106a0575f5ffd5b506102ab6101f481565b3480156106b5575f5ffd5b50600f546102fe90610100900460ff1681565b3480156106d3575f5ffd5b5061032d6106e2366004611bd5565b610f65565b3480156106f2575f5ffd5b506102ab610f72565b348015610706575f5ffd5b506102ab610715366004611bec565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561074a575f5ffd5b50600f546102fe9060ff1681565b348015610763575f5ffd5b506102ab60095481565b348015610778575f5ffd5b506102ab610f83565b34801561078c575f5ffd5b506102ab678ac7230489e8000081565b3480156107a7575f5ffd5b5061032d6107b6366004611b54565b61100b565b3480156107c6575f5ffd5b50600b54610362906001600160a01b031681565b3480156107e5575f5ffd5b5061032d611048565b6060600380546107fd90611c18565b80601f016020809104026020016040519081016040528092919081815260200182805461082990611c18565b80156108745780601f1061084b57610100808354040283529160200191610874565b820191905f5260205f20905b81548152906001019060200180831161085757829003601f168201915b5050505050905090565b5f3361088b81858561122c565b60019150505b92915050565b61089f611239565b6103e88211806108b057506103e881115b156108ce576040516355433d6d60e11b815260040160405180910390fd5b6007829055600881905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b61091d611266565b600f5460ff161561094057604051620de45360ea1b815260040160405180910390fd5b6101f4600e54106109635760405162e2a62560e41b815260040160405180910390fd5b6040516323b872dd60e01b81523360048201523060248201526298968060448201525f907f00000000000000000000000015d38573d2feeb82e7ad5187ab8c1d52810b1f076001600160a01b0316906323b872dd906064016020604051808303815f875af11580156109d7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fb9190611c50565b905080610a1b5760405163fd82839960e01b815260040160405180910390fd5b600e8054905f610a2a83611c7f565b9190505550678ac7230489e80000600d5f828254610a489190611c97565b90915550610a6190503033678ac7230489e80000611290565b600e5460408051678ac7230489e8000081526298968060208201529081019190915233907f6155cfd0fd028b0ca77e8495a60cbe563e8bce8611f0aad6fedbdaafc05d44a29060600160405180910390a250610abd6001600655565b565b5f33610acc8582856112ed565b610ad7858585611290565b506001949350505050565b610aea611239565b305f9081526020819052604081205490505f678ac7230489e80000600e546101f4610b159190611caa565b610b1f9190611cbd565b90505f818311610b2f575f610b39565b610b398284611caa565b90505f8111610b875760405162461bcd60e51b815260206004820152601560248201527404e6f2074617820746f6b656e7320746f207377617605c1b60448201526064015b60405180910390fd5b610b9081611369565b505050565b610b9d611239565b610ba5611266565b600f54610100900460ff1615610bce57604051631c6a53d160e01b815260040160405180910390fd5b305f9081526020819052604081205490819003610bfe576040516315bd533360e01b815260040160405180910390fd5b5f678ac7230489e80000600e546101f4610c189190611caa565b610c229190611cbd565b90505f818311610c32575f610c3c565b610c3c8284611caa565b9050805f03610c5e576040516315bd533360e01b815260040160405180910390fd5b600f805461ff001916610100179055610c8930610c836005546001600160a01b031690565b83611290565b6005546001600160a01b03166001600160a01b03167f7af83198c744ea94e85f91e228f44de402fc30653e2e53e0486ee66afe73ecf982604051610ccf91815260200190565b60405180910390a2505050610abd6001600655565b610cec611239565b610abd5f6115cb565b610cfd611239565b600f5462010000900460ff1615610d565760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610b7e565b600f805462ff00001916620100001790556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390610d999042815260200190565b60405180910390a1565b6060600480546107fd90611c18565b610dba611239565b6001600160a01b0382165f81815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f3361088b818585611290565b610e22611239565b6001600160a01b038116610e495760405163d92e233d60e01b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383169081179091556040517fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e7905f90a250565b610e9a611239565b600f805460ff19168215159081179091556040519081527fd66a5246c56cf32bf445fcdb84ada011c1bcfc2dec4d739270609949652686859060200160405180910390a150565b5f600d5469010f0cf064dd59200000610efa9190611caa565b905090565b610f07611239565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a25050565b610f6d611239565b600955565b5f600e546101f4610efa9190611caa565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000015d38573d2feeb82e7ad5187ab8c1d52810b1f076001600160a01b0316906370a0823190602401602060405180830381865afa158015610fe7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efa9190611cd4565b611013611239565b6001600160a01b03811661103c57604051631e4fbdf760e01b81525f6004820152602401610b7e565b611045816115cb565b50565b611050611239565b611058611266565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000015d38573d2feeb82e7ad5187ab8c1d52810b1f076001600160a01b0316906370a0823190602401602060405180830381865afa1580156110bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e09190611cd4565b9050805f0361110257604051637bb9a81960e11b815260040160405180910390fd5b5f7f00000000000000000000000015d38573d2feeb82e7ad5187ab8c1d52810b1f076001600160a01b031663a9059cbb6111446005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af115801561118e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b29190611c50565b9050806111d25760405163fd82839960e01b815260040160405180910390fd5b6005546001600160a01b03166001600160a01b03167f0d1589f631deb2542273b007140b132a18d48a4303d103fe64d353db07e01b578360405161121891815260200190565b60405180910390a25050610abd6001600655565b610b90838383600161161c565b6005546001600160a01b03163314610abd5760405163118cdaa760e01b8152336004820152602401610b7e565b60026006540361128957604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b6001600160a01b0383166112b957604051634b637e8f60e11b81525f6004820152602401610b7e565b6001600160a01b0382166112e25760405163ec442f0560e01b81525f6004820152602401610b7e565b610b908383836116ee565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611363578181101561135557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b7e565b61136384848484035f61161c565b50505050565b600f805463ff000000191663010000001790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106113af576113af611ceb565b6001600160a01b03928316602091820292909201810191909152600a546040805163ef8ef56f60e01b81529051919093169263ef8ef56f9260048083019391928290030181865afa158015611406573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142a9190611cff565b8160018151811061143d5761143d611ceb565b6001600160a01b039283166020918202929092010152600a54611463913091168461122c565b600a5460405163791ac94760e01b815247916001600160a01b03169063791ac9479061149b9086905f90879030904290600401611d1a565b5f604051808303815f87803b1580156114b2575f5ffd5b505af11580156114c4573d5f5f3e3d5ffd5b505050505f81476114d59190611caa565b905080156115b857600c546040515f916001600160a01b03169083908381818185875af1925050503d805f8114611527576040519150601f19603f3d011682016040523d82523d5f602084013e61152c565b606091505b505090508061157d5760405162461bcd60e51b815260206004820152601960248201527f4d61726b6574696e67207472616e73666572206661696c6564000000000000006044820152606401610b7e565b60408051868152602081018490527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e62999910160405180910390a1505b5050600f805463ff000000191690555050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166116455760405163e602df0560e01b81525f6004820152602401610b7e565b6001600160a01b03831661166e57604051634a1406b160e11b81525f6004820152602401610b7e565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561136357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116e091815260200190565b60405180910390a350505050565b6001600160a01b0383161580159061170e57506001600160a01b03821615155b1561178657600f5462010000900460ff1615801561174457506001600160a01b0383165f9081526010602052604090205460ff16155b801561176857506001600160a01b0382165f9081526010602052604090205460ff16155b15611786576040516312f1f92360e01b815260040160405180910390fd5b600f545f9062010000900460ff1680156117aa5750600f546301000000900460ff16155b80156117ce57506001600160a01b0384165f9081526010602052604090205460ff16155b80156117f257506001600160a01b0383165f9081526010602052604090205460ff16155b90508015611940576001600160a01b0384165f9081526011602052604081205460ff16801561182257505f600754115b1561184957612710600754846118389190611cbd565b6118429190611d8a565b9050611894565b6001600160a01b0384165f9081526011602052604090205460ff16801561187157505f600854115b1561189457612710600854846118879190611cbd565b6118919190611d8a565b90505b80156118b2576118a5853083611947565b6118af8184611caa565b92505b305f9081526020819052604081205490505f678ac7230489e80000600e546101f46118dd9190611caa565b6118e79190611cbd565b90505f8183116118f7575f611901565b6119018284611caa565b9050600954811015801561192d57506001600160a01b0388165f9081526011602052604090205460ff16155b1561193b5761193b81611369565b505050505b6113638484845b6001600160a01b038316611971578060025f8282546119669190611c97565b909155506119e19050565b6001600160a01b0383165f90815260208190526040902054818110156119c35760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b7e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166119fd57600280548290039055611a1b565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a6091815260200190565b60405180910390a3505050565b602081525f82518060208401525f5b81811015611a995760208186018101516040868401015201611a7c565b505f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611045575f5ffd5b5f5f60408385031215611add575f5ffd5b8235611ae881611ab8565b946020939093013593505050565b5f5f60408385031215611b07575f5ffd5b50508035926020909101359150565b5f5f5f60608486031215611b28575f5ffd5b8335611b3381611ab8565b92506020840135611b4381611ab8565b929592945050506040919091013590565b5f60208284031215611b64575f5ffd5b8135611b6f81611ab8565b9392505050565b8015158114611045575f5ffd5b5f5f60408385031215611b94575f5ffd5b8235611b9f81611ab8565b91506020830135611baf81611b76565b809150509250929050565b5f60208284031215611bca575f5ffd5b8135611b6f81611b76565b5f60208284031215611be5575f5ffd5b5035919050565b5f5f60408385031215611bfd575f5ffd5b8235611c0881611ab8565b91506020830135611baf81611ab8565b600181811c90821680611c2c57607f821691505b602082108103611c4a57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611c60575f5ffd5b8151611b6f81611b76565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611c9057611c90611c6b565b5060010190565b8082018082111561089157610891611c6b565b8181038181111561089157610891611c6b565b808202811582820484141761089157610891611c6b565b5f60208284031215611ce4575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611d0f575f5ffd5b8151611b6f81611ab8565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611d6a5783516001600160a01b0316835260209384019390920191600101611d43565b50506001600160a01b039590951660608401525050608001529392505050565b5f82611da457634e487b7160e01b5f52601260045260245ffd5b50049056fea264697066735822122017df417b7a7565cc2cc9195fec0c0c5097bee91344542c69daa762ad553d780964736f6c634300081e0033