ETH Price: $3,411.02 (+2.86%)

Token

ERC20 ***
 

Overview

Max Total Supply

1,000,000,000 ERC20 ***

Holders

365

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.00000000000238833 ERC20 ***

Value
$0.00
0x729aac9048dd6c07d30e589087360ef1934b3a2c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MDAI

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 10 : MDAI.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

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

contract MDAI is ERC20, Ownable {
    modifier lockSwap() {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    modifier liquidityAdd() {
        _inLiquidityAdd = true;
        _;
        _inLiquidityAdd = false;
    }

    uint256 public constant MAX_SUPPLY = 1_000_000_000 ether;
    uint256 public constant BPS_DENOMINATOR = 10_000;
    uint256 public constant SNIPE_BLOCKS = 2;

    IUniswapV2Router02 internal immutable _router;
    address internal immutable _pair;

    /// @notice Buy taxes in BPS
    uint256[2] public buyTaxes = [400, 400];
    /// @notice Sell taxes in BPS
    uint256[2] public sellTaxes = [700, 800];
    /// @notice tokens that are allocated for each tax
    uint256[2] public totalTaxes;
    /// @notice addresses that each tax is sent to
    address payable[2] public taxWallets;
    /// @notice Maps each recipient to their tax exlcusion status
    mapping(address => bool) public taxExcluded;
    /// @notice Maps each recipient to their blacklist status
    mapping(address => bool) public blacklist;

    /// @notice Contract MDAI balance threshold before `_swap` is invoked
    uint256 public minTokenBalance = 1000 ether;
    /// @notice Flag for auto-calling `_swap`
    bool public autoSwap = true;
    /// @notice Flag indicating whether buys/sells are permitted
    bool public tradingActive = false;
    /// @notice Maximum allowed to buy in a single transaction
    uint256 public maxBuy = 5_000_000 ether;
    /// @notice Block when trading is first enabled
    uint256 public tradingBlock;

    uint256 internal _totalSupply = 0;
    mapping(address => uint256) private _balances;

    bool internal _inSwap = false;
    bool internal _inLiquidityAdd = false;

    event TaxWalletsChanged(
        address payable[2] previousWallets,
        address payable[2] nextWallets
    );
    event BuyTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes);
    event SellTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes);
    event MinTokenBalanceChanged(uint256 previousMin, uint256 nextMin);
    event MaxBuyChanged(uint256 nextMax);
    event TaxesRescued(uint256 index, uint256 amount);
    event TradingActiveChanged(bool enabled);
    event TaxExclusionChanged(address user, bool taxExcluded);
    event BlacklistUpdated(address user, bool previousStatus, bool nextStatus);
    event AutoSwapChanged(bool enabled);

    constructor(IUniswapV2Router02 _uniswapRouter)
        ERC20("MemeDao.AI", "MDAI")
        Ownable()
    {
        taxExcluded[owner()] = true;
        taxExcluded[address(this)] = true;

        _router = _uniswapRouter;
        _pair = IUniswapV2Factory(_uniswapRouter.factory()).createPair(
            address(this),
            _uniswapRouter.WETH()
        );
        _mint(owner(), 200_000_000 ether);
    }

    /// @notice Change the address of the tax wallets
    /// @param _taxWallets The new address of the tax wallets
    function setTaxWallets(address payable[2] memory _taxWallets)
        external
        onlyOwner
    {
        emit TaxWalletsChanged(taxWallets, _taxWallets);
        taxWallets = _taxWallets;
    }

    /// @notice Change the buy tax rates
    /// @param _buyTaxes The new buy tax rates
    function setBuyTaxes(uint256[2] memory _buyTaxes) external onlyOwner {
        require(
            _buyTaxes[0] + _buyTaxes[1] <= BPS_DENOMINATOR,
            "sum(_buyTaxes) cannot exceed BPS_DENOMINATOR"
        );
        emit BuyTaxesChanged(buyTaxes, _buyTaxes);
        buyTaxes = _buyTaxes;
    }

    /// @notice Change the sell tax rates
    /// @param _sellTaxes The new sell tax rates
    function setSellTaxes(uint256[2] memory _sellTaxes) external onlyOwner {
        require(
            _sellTaxes[0] + _sellTaxes[1] <= BPS_DENOMINATOR,
            "sum(_sellTaxes) cannot exceed BPS_DENOMINATOR"
        );
        emit SellTaxesChanged(sellTaxes, _sellTaxes);
        sellTaxes = _sellTaxes;
    }

    /// @notice Change the minimum contract MDAI balance before `_swap` gets invoked
    /// @param _minTokenBalance The new minimum balance
    function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner {
        emit MinTokenBalanceChanged(minTokenBalance, _minTokenBalance);
        minTokenBalance = _minTokenBalance;
    }

    /// @notice Rescue MDAI from the taxes
    /// @dev Should only be used in an emergency
    /// @param _index The tax allocation to rescue from
    /// @param _amount The amount of MDAI to rescue
    /// @param _recipient The recipient of the rescued MDAI
    function rescueTaxTokens(
        uint256 _index,
        uint256 _amount,
        address _recipient
    ) external onlyOwner {
        require(0 <= _index && _index < totalTaxes.length, "_index OOB");
        require(
            _amount <= totalTaxes[_index],
            "Amount cannot be greater than totalTax"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit TaxesRescued(_index, _amount);
        totalTaxes[_index] -= _amount;
    }

    function addLiquidity(uint256 tokens)
        external
        payable
        onlyOwner
        liquidityAdd
    {
        _mint(address(this), tokens);
        _approve(address(this), address(_router), tokens);

        _router.addLiquidityETH{value: msg.value}(
            address(this),
            tokens,
            0,
            0,
            owner(),
            // solhint-disable-next-line not-rely-on-time
            block.timestamp
        );
    }

    /// @notice Admin function to update a recipient's blacklist status
    /// @param user the recipient
    /// @param status the new status
    function updateBlacklist(address user, bool status)
        external
        virtual
        onlyOwner
    {
        _updateBlacklist(user, status);
    }

    function _updateBlacklist(address user, bool status) internal {
        emit BlacklistUpdated(user, blacklist[user], status);
        blacklist[user] = status;
    }

    /// @notice Enables or disables trading on Uniswap
    function setTradingActive(bool _tradingActive) external onlyOwner {
        tradingActive = _tradingActive;
        tradingBlock = block.number;
        emit TradingActiveChanged(_tradingActive);
    }

    /// @notice Updates tax exclusion status
    /// @param _account Account to update the tax exclusion status of
    /// @param _taxExcluded If true, exclude taxes for this user
    function setTaxExcluded(address _account, bool _taxExcluded)
        external
        onlyOwner
    {
        taxExcluded[_account] = _taxExcluded;
        emit TaxExclusionChanged(_account, _taxExcluded);
    }

    /// @notice Enable or disable whether swap occurs during `_transfer`
    /// @param _autoSwap If true, enables swap during `_transfer`
    function setAutoSwap(bool _autoSwap) external onlyOwner {
        autoSwap = _autoSwap;
        emit AutoSwapChanged(_autoSwap);
    }

    /// @notice Update maxBuy
    /// @param _maxBuy The new maxBuy
    function setMaxBuy(uint256 _maxBuy) external onlyOwner {
        maxBuy = _maxBuy;
        emit MaxBuyChanged(_maxBuy);
    }

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

    function _addBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] + amount;
    }

    function _subtractBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        require(!blacklist[recipient], "Recipient is blacklisted");

        if (taxExcluded[sender] || taxExcluded[recipient]) {
            _rawTransfer(sender, recipient, amount);
            return;
        }

        if (
            totalTaxes[0] + totalTaxes[1] >= minTokenBalance &&
            !_inSwap &&
            sender != _pair &&
            autoSwap
        ) {
            _swap();
        }

        uint256 send = amount;
        uint256[2] memory taxes;
        if (sender == _pair) {
            require(tradingActive, "Trading is not yet active");
            require(amount <= maxBuy, "Buy amount exceeds maxBuy");
            if (block.number <= tradingBlock + SNIPE_BLOCKS) {
                _updateBlacklist(recipient, true);
            }
            (send, taxes) = _getTaxAmounts(amount, true);
        } else if (recipient == _pair) {
            require(tradingActive, "Trading is not yet active");
            (send, taxes) = _getTaxAmounts(amount, false);
        }
        _rawTransfer(sender, recipient, send);
        _takeTaxes(sender, taxes);
    }

    /// @notice Perform a Uniswap v2 swap from MDAI to ETH and handle tax distribution
    function _swap() internal lockSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

        uint256 walletTaxes = totalTaxes[0] + totalTaxes[1];

        _approve(address(this), address(_router), walletTaxes);
        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            walletTaxes,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
        uint256 contractEthBalance = address(this).balance;

        uint256 tax0Eth = (contractEthBalance * totalTaxes[0]) / walletTaxes;
        uint256 tax1Eth = (contractEthBalance * totalTaxes[1]) / walletTaxes;
        totalTaxes = [0, 0];

        if (tax0Eth > 0) {
            taxWallets[0].transfer(tax0Eth);
        }
        if (tax1Eth > 0) {
            taxWallets[1].transfer(tax1Eth);
        }
    }

    function swapAll() external {
        if (!_inSwap) {
            _swap();
        }
    }

    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /// @notice Transfers MDAI from an account to this contract for taxes
    /// @param _account The account to transfer MDAI from
    /// @param _taxAmounts The amount for each tax
    function _takeTaxes(address _account, uint256[2] memory _taxAmounts)
        internal
    {
        require(_account != address(0), "taxation from the zero address");

        uint256 totalAmount = _taxAmounts[0] + _taxAmounts[1];
        _rawTransfer(_account, address(this), totalAmount);
        totalTaxes[0] += _taxAmounts[0];
        totalTaxes[1] += _taxAmounts[1];
    }

    /// @notice Get a breakdown of send and tax amounts
    /// @param amount The amount to tax in wei
    /// @return send The raw amount to send
    /// @return taxes The raw tax amounts
    function _getTaxAmounts(uint256 amount, bool buying)
        internal
        view
        returns (uint256 send, uint256[2] memory taxes)
    {
        if (buying) {
            taxes = [
                (amount * buyTaxes[0]) / BPS_DENOMINATOR,
                (amount * buyTaxes[1]) / BPS_DENOMINATOR
            ];
        } else {
            taxes = [
                (amount * sellTaxes[0]) / BPS_DENOMINATOR,
                (amount * sellTaxes[1]) / BPS_DENOMINATOR
            ];
        }
        send = amount - taxes[0] - taxes[1];
    }

    // modified from OpenZeppelin ERC20
    function _rawTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), "transfer from the zero address");
        require(recipient != address(0), "transfer to the zero address");

        uint256 senderBalance = balanceOf(sender);
        require(senderBalance >= amount, "transfer amount exceeds balance");
        unchecked {
            _subtractBalance(sender, amount);
        }
        _addBalance(recipient, amount);

        emit Transfer(sender, recipient, amount);
    }

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

    function _mint(address account, uint256 amount) internal override {
        require(_totalSupply + amount <= MAX_SUPPLY, "Max supply exceeded");
        _totalSupply += amount;
        _addBalance(account, amount);
        emit Transfer(address(0), account, amount);
    }

    receive() external payable {}
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 8 of 10 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 9 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

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

import './IUniswapV2Router01.sol';

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"_uniswapRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"AutoSwapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"previousStatus","type":"bool"},{"indexed":false,"internalType":"bool","name":"nextStatus","type":"bool"}],"name":"BlacklistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"BuyTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nextMax","type":"uint256"}],"name":"MaxBuyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMin","type":"uint256"}],"name":"MinTokenBalanceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"SellTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable[2]","name":"previousWallets","type":"address[2]"},{"indexed":false,"internalType":"address payable[2]","name":"nextWallets","type":"address[2]"}],"name":"TaxWalletsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPE_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoSwap","type":"bool"}],"name":"setAutoSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_buyTaxes","type":"uint256[2]"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuy","type":"uint256"}],"name":"setMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_sellTaxes","type":"uint256[2]"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingActive","type":"bool"}],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxWallets","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

61010060405261019060c081815260e09190915262000023906006906002620004d6565b50604080518082019091526102bc815261032060208201526200004b906008906002620004d6565b50683635c9adc5dea000006010556011805461ffff199081166001179091556a0422ca8b0a00a42500000060125560006014556016805490911690553480156200009457600080fd5b5060405162002a4538038062002a45833981016040819052620000b791620005b3565b604080518082018252600a8152694d656d6544616f2e414960b01b6020808301918252835180850190945260048452634d44414960e01b90840152815191929162000105916003916200051f565b5080516200011b9060049060208401906200051f565b50505062000138620001326200035f60201b60201c565b62000363565b6001600e6000620001516005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600e845282902080549094166001179093556001600160601b0319606085901b16608052805163c45a015560e01b815290519284169263c45a015592600480840193919291829003018186803b158015620001dc57600080fd5b505afa158015620001f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002179190620005b3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200026057600080fd5b505afa15801562000275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029b9190620005b3565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002e457600080fd5b505af1158015620002f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031f9190620005b3565b60601b6001600160601b03191660a05262000358620003466005546001600160a01b031690565b6aa56fa5b99019a5c8000000620003b5565b5062000654565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6b033b2e3c9fd0803ce800000081601454620003d29190620005d9565b1115620004255760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c7920657863656564656400000000000000000000000000604482015260640160405180910390fd5b8060146000828254620004399190620005d9565b909155506200044b9050828262000490565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216600090815260156020526040902054620004b6908290620005d9565b6001600160a01b0390921660009081526015602052604090209190915550565b82600281019282156200050d579160200282015b828111156200050d578251829061ffff16905591602001919060010190620004ea565b506200051b9291506200059c565b5090565b8280546200052d90620005fe565b90600052602060002090601f0160209004810192826200055157600085556200050d565b82601f106200056c57805160ff19168380011785556200050d565b828001600101855582156200050d579182015b828111156200050d5782518255916020019190600101906200057f565b5b808211156200051b57600081556001016200059d565b600060208284031215620005c5578081fd5b8151620005d2816200063b565b9392505050565b60008219821115620005f957634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200061357607f821691505b602082108114156200063557634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03811681146200065157600080fd5b50565b60805160601c60a05160601c61239b620006aa600039600081816113420152818161139d01526114b10152600081816109630152818161098a015281816115db015281816116be01526116fa015261239b6000f3fe60806040526004361061024a5760003560e01c8063821f658011610139578063a9059cbb116100b6578063e1a452181161007a578063e1a45218146106a8578063f016d83b146106be578063f2fde38b146106d3578063f50a243b146106f3578063f53bc83514610713578063f9f92be41461073357600080fd5b8063a9059cbb14610613578063b0ac157114610633578063bbc0c74214610653578063cd51e6d414610672578063dd62ed3e1461068857600080fd5b806393818cfa116100fd57806393818cfa1461057e578063959bd6c21461059e57806395d89b41146105be578063a457c2d7146105d3578063a894185d146105f357600080fd5b8063821f6580146104d7578063853828b6146104f75780638da5cb5b1461050c578063912c048c1461053e5780639155e0831461055e57600080fd5b806339b622d3116101c757806364071d9f1161018b57806364071d9f1461043c57806370a082311461045c57806370db69d614610492578063715018a6146104a857806377004851146104bd57600080fd5b806339b622d3146103ae5780633e9ffbea146103de57806351c6590a146103f357806352f892fa146104065780635b78f35f1461042657600080fd5b806323b872dd1161020e57806323b872dd146103125780632c8dc14714610332578063313ce5671461035257806332cb6b0c1461036e578063395093511461038e57600080fd5b806306fdde0314610256578063095ea7b31461028157806309d2c46a146102b157806318160ddd146102d357806319c2c40d146102f257600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5061026b610763565b6040516102789190612197565b60405180910390f35b34801561028d57600080fd5b506102a161029c366004611f4e565b6107f5565b6040519015158152602001610278565b3480156102bd57600080fd5b506102d16102cc366004611f79565b61080d565b005b3480156102df57600080fd5b506014545b604051908152602001610278565b3480156102fe57600080fd5b506102d161030d366004611f1a565b610860565b34801561031e57600080fd5b506102a161032d366004611eda565b6108cb565b34801561033e57600080fd5b506102e461034d36600461205a565b6108ef565b34801561035e57600080fd5b5060405160128152602001610278565b34801561037a57600080fd5b506102e46b033b2e3c9fd0803ce800000081565b34801561039a57600080fd5b506102a16103a9366004611f4e565b610906565b3480156103ba57600080fd5b506102a16103c9366004611e63565b600e6020526000908152604090205460ff1681565b3480156103ea57600080fd5b506102d1610928565b6102d161040136600461205a565b61093c565b34801561041257600080fd5b506102d1610421366004611fe7565b610a7c565b34801561043257600080fd5b506102e460105481565b34801561044857600080fd5b506102d1610457366004611fe7565b610b47565b34801561046857600080fd5b506102e4610477366004611e63565b6001600160a01b031660009081526015602052604090205490565b34801561049e57600080fd5b506102e460125481565b3480156104b457600080fd5b506102d1610c0e565b3480156104c957600080fd5b506011546102a19060ff1681565b3480156104e357600080fd5b506102e46104f236600461205a565b610c20565b34801561050357600080fd5b506102d1610c30565b34801561051857600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610278565b34801561054a57600080fd5b5061052661055936600461205a565b610c74565b34801561056a57600080fd5b506102d1610579366004611f1a565b610c94565b34801561058a57600080fd5b506102d1610599366004612040565b610ca6565b3480156105aa57600080fd5b506102d16105b9366004612040565b610cf6565b3480156105ca57600080fd5b5061026b610d4b565b3480156105df57600080fd5b506102a16105ee366004611f4e565b610d5a565b3480156105ff57600080fd5b506102d161060e366004612072565b610dd5565b34801561061f57600080fd5b506102a161062e366004611f4e565b610f1b565b34801561063f57600080fd5b506102d161064e36600461205a565b610f29565b34801561065f57600080fd5b506011546102a190610100900460ff1681565b34801561067e57600080fd5b506102e460135481565b34801561069457600080fd5b506102e46106a3366004611ea2565b610f72565b3480156106b457600080fd5b506102e461271081565b3480156106ca57600080fd5b506102e4600281565b3480156106df57600080fd5b506102d16106ee366004611e63565b610f9d565b3480156106ff57600080fd5b506102e461070e36600461205a565b611013565b34801561071f57600080fd5b506102d161072e36600461205a565b611023565b34801561073f57600080fd5b506102a161074e366004611e63565b600f6020526000908152604090205460ff1681565b606060038054610772906122ff565b80601f016020809104026020016040519081016040528092919081815260200182805461079e906122ff565b80156107eb5780601f106107c0576101008083540402835291602001916107eb565b820191906000526020600020905b8154815290600101906020018083116107ce57829003601f168201915b5050505050905090565b600033610803818585611060565b5060019392505050565b610815611184565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600c826040516108479291906120d7565b60405180910390a161085c600c826002611d62565b5050565b610868611184565b6001600160a01b0382166000818152600e6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000336108d98582856111de565b6108e4858585611258565b506001949350505050565b600881600281106108ff57600080fd5b0154905081565b6000336108038185856109198383610f72565b6109239190612291565b611060565b60165460ff1661093a5761093a611569565b565b610944611184565b6016805461ff00191661010017905561095d3082611862565b610988307f000000000000000000000000000000000000000000000000000000000000000083611060565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7193430846000806109cf6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a6b91906120aa565b50506016805461ff00191690555050565b610a84611184565b6020810151815161271091610a9891612291565b1115610b005760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610b32929190612145565b60405180910390a161085c6006826002611dba565b610b4f611184565b6020810151815161271091610b6391612291565b1115610bc75760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610af7565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610bf9929190612145565b60405180910390a161085c6008826002611dba565b610c16611184565b61093a6000611928565b600681600281106108ff57600080fd5b610c38611184565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c71573d6000803e3d6000fd5b50565b600c8160028110610c8457600080fd5b01546001600160a01b0316905081565b610c9c611184565b61085c828261197a565b610cae611184565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b610cfe611184565b601180548215156101000261ff0019909116179055436013556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610ceb90831515815260200190565b606060048054610772906122ff565b60003381610d688286610f72565b905083811015610dc85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610af7565b6108e48286868403611060565b610ddd611184565b60028310610e1a5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610af7565b600a8360028110610e3b57634e487b7160e01b600052603260045260246000fd5b0154821115610e9b5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610af7565b610ea6308284611a02565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600a8460028110610f0157634e487b7160e01b600052603260045260246000fd5b016000828254610f1191906122e8565b9091555050505050565b600033610803818585611258565b610f31611184565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fa5611184565b6001600160a01b03811661100a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af7565b610c7181611928565b600a81600281106108ff57600080fd5b61102b611184565b60128190556040518181527f1003faaf440f4e10b9ef552a11d026be63390c8c7eac09549c045f8d700ba53490602001610ceb565b6001600160a01b0383166110c25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610af7565b6001600160a01b0382166111235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610af7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461093a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af7565b60006111ea8484610f72565b9050600019811461125257818110156112455760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610af7565b6112528484848403611060565b50505050565b6001600160a01b0382166000908152600f602052604090205460ff16156112c15760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610af7565b6001600160a01b0383166000908152600e602052604090205460ff168061130057506001600160a01b0382166000908152600e602052604090205460ff165b1561131557611310838383611a02565b505050565b601054600b54600a546113289190612291565b10158015611339575060165460ff16155b801561137757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b8015611385575060115460ff165b1561139257611392611569565b8061139b611de8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614156114af57601154610100900460ff166114285760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610af7565b60125483111561147a5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610af7565b60026013546114899190612291565b431161149a5761149a84600161197a565b6114a5836001611b7e565b909250905061154d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316141561154d57601154610100900460ff1661153c5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610af7565b611547836000611b7e565b90925090505b611558858584611a02565b6115628582611c54565b5050505050565b6016805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106115b957634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561163257600080fd5b505afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190611e86565b8160018151811061168b57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600b54600a546000916116b691612291565b90506116e3307f000000000000000000000000000000000000000000000000000000000000000083611060565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906117389084906000908790309042906004016121ea565b600060405180830381600087803b15801561175257600080fd5b505af1158015611766573d6000803e3d6000fd5b5050600a5447925060009150839061177e90846122c9565b61178891906122a9565b9050600083600a6001015461179d90856122c9565b6117a791906122a9565b60408051808201909152600080825260208201529091506117cc90600a906002611e06565b50811561180f57600c546040516001600160a01b03909116906108fc8415029084906000818181858888f1935050505015801561180d573d6000803e3d6000fd5b505b801561185157600d546040516001600160a01b03909116906108fc8315029083906000818181858888f1935050505015801561184f573d6000803e3d6000fd5b505b50506016805460ff19169055505050565b6b033b2e3c9fd0803ce80000008160145461187d9190612291565b11156118c15760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610af7565b80601460008282546118d39190612291565b909155506118e390508282611cfa565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152600f602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b038316611a585760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610af7565b6001600160a01b038216611aae5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610af7565b6001600160a01b03831660009081526015602052604090205481811015611b175760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610af7565b611b218483611d3e565b611b2b8383611cfa565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b7091815260200190565b60405180910390a350505050565b6000611b88611de8565b8215611be1576040805180820190915280612710600660000154611bac90886122c9565b611bb691906122a9565b8152602001612710600660010154611bce90886122c9565b611bd891906122a9565b90529050611c30565b6040805180820190915280612710600860000154611bff90886122c9565b611c0991906122a9565b8152602001612710600860010154611c2190886122c9565b611c2b91906122a9565b905290505b60208101518151611c4190866122e8565b611c4b91906122e8565b91509250929050565b6001600160a01b038216611caa5760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610af7565b60208101518151600091611cbd91612291565b9050611cca833083611a02565b8151600a8054600090611cde908490612291565b90915550506020820151600b8054600090610f11908490612291565b6001600160a01b038216600090815260156020526040902054611d1e908290612291565b6001600160a01b0390921660009081526015602052604090209190915550565b6001600160a01b038216600090815260156020526040902054611d1e9082906122e8565b8260028101928215611daa579160200282015b82811115611daa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611d75565b50611db6929150611e39565b5090565b8260028101928215611daa579160200282015b82811115611daa578251825591602001919060010190611dcd565b60405180604001604052806002906020820280368337509192915050565b8260028101928215611daa579160200282015b82811115611daa578251829060ff16905591602001919060010190611e19565b5b80821115611db65760008155600101611e3a565b80358015158114611e5e57600080fd5b919050565b600060208284031215611e74578081fd5b8135611e7f81612350565b9392505050565b600060208284031215611e97578081fd5b8151611e7f81612350565b60008060408385031215611eb4578081fd5b8235611ebf81612350565b91506020830135611ecf81612350565b809150509250929050565b600080600060608486031215611eee578081fd5b8335611ef981612350565b92506020840135611f0981612350565b929592945050506040919091013590565b60008060408385031215611f2c578182fd5b8235611f3781612350565b9150611f4560208401611e4e565b90509250929050565b60008060408385031215611f60578182fd5b8235611f6b81612350565b946020939093013593505050565b600060408284031215611f8a578081fd5b82601f830112611f98578081fd5b611fa061225a565b808385604086011115611fb1578384fd5b835b6002811015611fdc578135611fc781612350565b84526020938401939190910190600101611fb3565b509095945050505050565b600060408284031215611ff8578081fd5b82601f830112612006578081fd5b61200e61225a565b80838560408601111561201f578384fd5b835b6002811015611fdc578135845260209384019390910190600101612021565b600060208284031215612051578081fd5b611e7f82611e4e565b60006020828403121561206b578081fd5b5035919050565b600080600060608486031215612086578283fd5b8335925060208401359150604084013561209f81612350565b809150509250925092565b6000806000606084860312156120be578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b60028110156121085781546001600160a01b03168352602090920191600191820191016120e0565b505050604082018360005b600281101561213b5781516001600160a01b0316835260209283019290910190600101612113565b5050509392505050565b60808101818460005b600281101561216d57815483526020909201916001918201910161214e565b505050604082018360005b600281101561213b578151835260209283019290910190600101612178565b6000602080835283518082850152825b818110156121c3578581018301518582016040015282016121a7565b818111156121d45783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156122395784516001600160a01b031683529383019391830191600101612214565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff8111828210171561228b57634e487b7160e01b600052604160045260246000fd5b60405290565b600082198211156122a4576122a461233a565b500190565b6000826122c457634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156122e3576122e361233a565b500290565b6000828210156122fa576122fa61233a565b500390565b600181811c9082168061231357607f821691505b6020821081141561233457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c7157600080fdfea26469706673582212207f158a6ff87608035f1faa1fb2741d19b8f3c509af21900e8344bb82b9c8749164736f6c634300080400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x60806040526004361061024a5760003560e01c8063821f658011610139578063a9059cbb116100b6578063e1a452181161007a578063e1a45218146106a8578063f016d83b146106be578063f2fde38b146106d3578063f50a243b146106f3578063f53bc83514610713578063f9f92be41461073357600080fd5b8063a9059cbb14610613578063b0ac157114610633578063bbc0c74214610653578063cd51e6d414610672578063dd62ed3e1461068857600080fd5b806393818cfa116100fd57806393818cfa1461057e578063959bd6c21461059e57806395d89b41146105be578063a457c2d7146105d3578063a894185d146105f357600080fd5b8063821f6580146104d7578063853828b6146104f75780638da5cb5b1461050c578063912c048c1461053e5780639155e0831461055e57600080fd5b806339b622d3116101c757806364071d9f1161018b57806364071d9f1461043c57806370a082311461045c57806370db69d614610492578063715018a6146104a857806377004851146104bd57600080fd5b806339b622d3146103ae5780633e9ffbea146103de57806351c6590a146103f357806352f892fa146104065780635b78f35f1461042657600080fd5b806323b872dd1161020e57806323b872dd146103125780632c8dc14714610332578063313ce5671461035257806332cb6b0c1461036e578063395093511461038e57600080fd5b806306fdde0314610256578063095ea7b31461028157806309d2c46a146102b157806318160ddd146102d357806319c2c40d146102f257600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5061026b610763565b6040516102789190612197565b60405180910390f35b34801561028d57600080fd5b506102a161029c366004611f4e565b6107f5565b6040519015158152602001610278565b3480156102bd57600080fd5b506102d16102cc366004611f79565b61080d565b005b3480156102df57600080fd5b506014545b604051908152602001610278565b3480156102fe57600080fd5b506102d161030d366004611f1a565b610860565b34801561031e57600080fd5b506102a161032d366004611eda565b6108cb565b34801561033e57600080fd5b506102e461034d36600461205a565b6108ef565b34801561035e57600080fd5b5060405160128152602001610278565b34801561037a57600080fd5b506102e46b033b2e3c9fd0803ce800000081565b34801561039a57600080fd5b506102a16103a9366004611f4e565b610906565b3480156103ba57600080fd5b506102a16103c9366004611e63565b600e6020526000908152604090205460ff1681565b3480156103ea57600080fd5b506102d1610928565b6102d161040136600461205a565b61093c565b34801561041257600080fd5b506102d1610421366004611fe7565b610a7c565b34801561043257600080fd5b506102e460105481565b34801561044857600080fd5b506102d1610457366004611fe7565b610b47565b34801561046857600080fd5b506102e4610477366004611e63565b6001600160a01b031660009081526015602052604090205490565b34801561049e57600080fd5b506102e460125481565b3480156104b457600080fd5b506102d1610c0e565b3480156104c957600080fd5b506011546102a19060ff1681565b3480156104e357600080fd5b506102e46104f236600461205a565b610c20565b34801561050357600080fd5b506102d1610c30565b34801561051857600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610278565b34801561054a57600080fd5b5061052661055936600461205a565b610c74565b34801561056a57600080fd5b506102d1610579366004611f1a565b610c94565b34801561058a57600080fd5b506102d1610599366004612040565b610ca6565b3480156105aa57600080fd5b506102d16105b9366004612040565b610cf6565b3480156105ca57600080fd5b5061026b610d4b565b3480156105df57600080fd5b506102a16105ee366004611f4e565b610d5a565b3480156105ff57600080fd5b506102d161060e366004612072565b610dd5565b34801561061f57600080fd5b506102a161062e366004611f4e565b610f1b565b34801561063f57600080fd5b506102d161064e36600461205a565b610f29565b34801561065f57600080fd5b506011546102a190610100900460ff1681565b34801561067e57600080fd5b506102e460135481565b34801561069457600080fd5b506102e46106a3366004611ea2565b610f72565b3480156106b457600080fd5b506102e461271081565b3480156106ca57600080fd5b506102e4600281565b3480156106df57600080fd5b506102d16106ee366004611e63565b610f9d565b3480156106ff57600080fd5b506102e461070e36600461205a565b611013565b34801561071f57600080fd5b506102d161072e36600461205a565b611023565b34801561073f57600080fd5b506102a161074e366004611e63565b600f6020526000908152604090205460ff1681565b606060038054610772906122ff565b80601f016020809104026020016040519081016040528092919081815260200182805461079e906122ff565b80156107eb5780601f106107c0576101008083540402835291602001916107eb565b820191906000526020600020905b8154815290600101906020018083116107ce57829003601f168201915b5050505050905090565b600033610803818585611060565b5060019392505050565b610815611184565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600c826040516108479291906120d7565b60405180910390a161085c600c826002611d62565b5050565b610868611184565b6001600160a01b0382166000818152600e6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b6000336108d98582856111de565b6108e4858585611258565b506001949350505050565b600881600281106108ff57600080fd5b0154905081565b6000336108038185856109198383610f72565b6109239190612291565b611060565b60165460ff1661093a5761093a611569565b565b610944611184565b6016805461ff00191661010017905561095d3082611862565b610988307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83611060565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7193430846000806109cf6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a6b91906120aa565b50506016805461ff00191690555050565b610a84611184565b6020810151815161271091610a9891612291565b1115610b005760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610b32929190612145565b60405180910390a161085c6006826002611dba565b610b4f611184565b6020810151815161271091610b6391612291565b1115610bc75760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610af7565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610bf9929190612145565b60405180910390a161085c6008826002611dba565b610c16611184565b61093a6000611928565b600681600281106108ff57600080fd5b610c38611184565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c71573d6000803e3d6000fd5b50565b600c8160028110610c8457600080fd5b01546001600160a01b0316905081565b610c9c611184565b61085c828261197a565b610cae611184565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b610cfe611184565b601180548215156101000261ff0019909116179055436013556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610ceb90831515815260200190565b606060048054610772906122ff565b60003381610d688286610f72565b905083811015610dc85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610af7565b6108e48286868403611060565b610ddd611184565b60028310610e1a5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610af7565b600a8360028110610e3b57634e487b7160e01b600052603260045260246000fd5b0154821115610e9b5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610af7565b610ea6308284611a02565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600a8460028110610f0157634e487b7160e01b600052603260045260246000fd5b016000828254610f1191906122e8565b9091555050505050565b600033610803818585611258565b610f31611184565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fa5611184565b6001600160a01b03811661100a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af7565b610c7181611928565b600a81600281106108ff57600080fd5b61102b611184565b60128190556040518181527f1003faaf440f4e10b9ef552a11d026be63390c8c7eac09549c045f8d700ba53490602001610ceb565b6001600160a01b0383166110c25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610af7565b6001600160a01b0382166111235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610af7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461093a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af7565b60006111ea8484610f72565b9050600019811461125257818110156112455760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610af7565b6112528484848403611060565b50505050565b6001600160a01b0382166000908152600f602052604090205460ff16156112c15760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610af7565b6001600160a01b0383166000908152600e602052604090205460ff168061130057506001600160a01b0382166000908152600e602052604090205460ff165b1561131557611310838383611a02565b505050565b601054600b54600a546113289190612291565b10158015611339575060165460ff16155b801561137757507f000000000000000000000000d769f8e857f431d2de4a02ac6b2c74998f705c7e6001600160a01b0316836001600160a01b031614155b8015611385575060115460ff165b1561139257611392611569565b8061139b611de8565b7f000000000000000000000000d769f8e857f431d2de4a02ac6b2c74998f705c7e6001600160a01b0316856001600160a01b031614156114af57601154610100900460ff166114285760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610af7565b60125483111561147a5760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610af7565b60026013546114899190612291565b431161149a5761149a84600161197a565b6114a5836001611b7e565b909250905061154d565b7f000000000000000000000000d769f8e857f431d2de4a02ac6b2c74998f705c7e6001600160a01b0316846001600160a01b0316141561154d57601154610100900460ff1661153c5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610af7565b611547836000611b7e565b90925090505b611558858584611a02565b6115628582611c54565b5050505050565b6016805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106115b957634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561163257600080fd5b505afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190611e86565b8160018151811061168b57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600b54600a546000916116b691612291565b90506116e3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83611060565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906117389084906000908790309042906004016121ea565b600060405180830381600087803b15801561175257600080fd5b505af1158015611766573d6000803e3d6000fd5b5050600a5447925060009150839061177e90846122c9565b61178891906122a9565b9050600083600a6001015461179d90856122c9565b6117a791906122a9565b60408051808201909152600080825260208201529091506117cc90600a906002611e06565b50811561180f57600c546040516001600160a01b03909116906108fc8415029084906000818181858888f1935050505015801561180d573d6000803e3d6000fd5b505b801561185157600d546040516001600160a01b03909116906108fc8315029083906000818181858888f1935050505015801561184f573d6000803e3d6000fd5b505b50506016805460ff19169055505050565b6b033b2e3c9fd0803ce80000008160145461187d9190612291565b11156118c15760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610af7565b80601460008282546118d39190612291565b909155506118e390508282611cfa565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152600f602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b038316611a585760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610af7565b6001600160a01b038216611aae5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610af7565b6001600160a01b03831660009081526015602052604090205481811015611b175760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610af7565b611b218483611d3e565b611b2b8383611cfa565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b7091815260200190565b60405180910390a350505050565b6000611b88611de8565b8215611be1576040805180820190915280612710600660000154611bac90886122c9565b611bb691906122a9565b8152602001612710600660010154611bce90886122c9565b611bd891906122a9565b90529050611c30565b6040805180820190915280612710600860000154611bff90886122c9565b611c0991906122a9565b8152602001612710600860010154611c2190886122c9565b611c2b91906122a9565b905290505b60208101518151611c4190866122e8565b611c4b91906122e8565b91509250929050565b6001600160a01b038216611caa5760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610af7565b60208101518151600091611cbd91612291565b9050611cca833083611a02565b8151600a8054600090611cde908490612291565b90915550506020820151600b8054600090610f11908490612291565b6001600160a01b038216600090815260156020526040902054611d1e908290612291565b6001600160a01b0390921660009081526015602052604090209190915550565b6001600160a01b038216600090815260156020526040902054611d1e9082906122e8565b8260028101928215611daa579160200282015b82811115611daa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611d75565b50611db6929150611e39565b5090565b8260028101928215611daa579160200282015b82811115611daa578251825591602001919060010190611dcd565b60405180604001604052806002906020820280368337509192915050565b8260028101928215611daa579160200282015b82811115611daa578251829060ff16905591602001919060010190611e19565b5b80821115611db65760008155600101611e3a565b80358015158114611e5e57600080fd5b919050565b600060208284031215611e74578081fd5b8135611e7f81612350565b9392505050565b600060208284031215611e97578081fd5b8151611e7f81612350565b60008060408385031215611eb4578081fd5b8235611ebf81612350565b91506020830135611ecf81612350565b809150509250929050565b600080600060608486031215611eee578081fd5b8335611ef981612350565b92506020840135611f0981612350565b929592945050506040919091013590565b60008060408385031215611f2c578182fd5b8235611f3781612350565b9150611f4560208401611e4e565b90509250929050565b60008060408385031215611f60578182fd5b8235611f6b81612350565b946020939093013593505050565b600060408284031215611f8a578081fd5b82601f830112611f98578081fd5b611fa061225a565b808385604086011115611fb1578384fd5b835b6002811015611fdc578135611fc781612350565b84526020938401939190910190600101611fb3565b509095945050505050565b600060408284031215611ff8578081fd5b82601f830112612006578081fd5b61200e61225a565b80838560408601111561201f578384fd5b835b6002811015611fdc578135845260209384019390910190600101612021565b600060208284031215612051578081fd5b611e7f82611e4e565b60006020828403121561206b578081fd5b5035919050565b600080600060608486031215612086578283fd5b8335925060208401359150604084013561209f81612350565b809150509250925092565b6000806000606084860312156120be578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b60028110156121085781546001600160a01b03168352602090920191600191820191016120e0565b505050604082018360005b600281101561213b5781516001600160a01b0316835260209283019290910190600101612113565b5050509392505050565b60808101818460005b600281101561216d57815483526020909201916001918201910161214e565b505050604082018360005b600281101561213b578151835260209283019290910190600101612178565b6000602080835283518082850152825b818110156121c3578581018301518582016040015282016121a7565b818111156121d45783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156122395784516001600160a01b031683529383019391830191600101612214565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff8111828210171561228b57634e487b7160e01b600052604160045260246000fd5b60405290565b600082198211156122a4576122a461233a565b500190565b6000826122c457634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156122e3576122e361233a565b500290565b6000828210156122fa576122fa61233a565b500390565b600181811c9082168061231357607f821691505b6020821081141561233457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c7157600080fdfea26469706673582212207f158a6ff87608035f1faa1fb2741d19b8f3c509af21900e8344bb82b9c8749164736f6c63430008040033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

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


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

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