ETH Price: $3,491.04 (+0.08%)
Gas: 2 Gwei

Token

Crab Market (SNIP)
 

Overview

Max Total Supply

72,000,000 SNIP

Holders

17

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000038568601 SNIP

Value
$0.00
0xf294bea88e18667d27b9dbed4e11d3c66b305c74
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:
CrabMarketV3

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 108 runs

Other Settings:
default evmVersion
File 1 of 2 : WebSummitInu.sol
/**
SNIP SNAP

https://medium.com/@crab.market/the-crab-market-d85377620869

For Frens by Frens

tg: @crabmarket
                                      ..
                                ...!7!~!^^^^:.                  .:^^^~~!!~..
                              .~!7 ~!!^^^^^^~~.               .~~^^^^^^7!~.7!^
                             :!~^!.:7!^^^^^^^^~               ~^^^^^^^^!7:.!^~!.
                            .!^^^^~ 77^^^^^^^^!.             :!^^^^^^^^77 ~^^^^!
                            .7^^^^!JPJ!^^^^^^^!^             :~^^^^^^^!JY7!^^^^!
                             !~^^^^5@PJ!^^^^^^^?~.           ~~^^^^^^~?5@P^^^^~:
                             .!~^^^^?#@J!^^^^^^~7~^         ^!^^^^^^~?&#Y^^^^~:
                           ..::~7~^^^J&@Y!^^^^^^~!~!^::::::~~^^^^^^!J&@Y^^^^~.
                         .^^^^^^^7~^^^!P77!^^^^^^~!7~^^!!^!~^^^^^^~7JB?^^^^^.
                       .^^^^^^^^^^!!^^^^!!J~^^^^^^^!^^^^^^^^^^^^^~J!7~^^^^:
                     .:~^^^^^^^^^^^~~^^^^~?J^^^^^^^^^^^^^^^^^^^^^?J~^^~^.
                   :^~^^^^^^^^^^^^^^^^^^^^^~^^^^^^^^~^^^^^^^^^^^^^^~~~~~.
                 .~~^^^^^^^^^^^^^^^^^^^^^^^^^^~!!!!!~~^^^^^^^^^^^^^!?!^^~^:
                 ~^^^^^^^^^^^^^^^^^^^~^~~~~~~~~~!~!~~~^^^^^^~~~~^^^~~~^^^~77^.
                ^B?!~^^^^^^^^~~~~^^~7777!~~~~~~!!!!~~~!!!77???7777777777777777
                ~@@&&BY7!!!!7^.:.^J?77!::??????????!???777777777777777777!7!::
                ^&@@B?7!!!!!7    7!!!7?^^~~^^~~~^^^!?7?7!!~~~~~!!~^^~^^^~~?~
                 B@@#J!!!!!?:   ~7!!!??77!!~~~~~^!?JJ?J!~!!!!!7~~!~!!7!!!YG.
                 G@@@@&GYJJ! :..7!!!!!!!!!!!777?J5G###BBB##&#GP555Y7^^!JG&7^^.
                 JB5YYY55PG!~G~:?!!!!!!!!!!!!!!!!!!77YG&&@@@@@@@@@@&G#@@@5!!7!~.
               !7!!!!!!!!!??7!!777777!!!!!!!!!!!!!!J5^::^?~^?7YB@@@@@@@@G!!!!!!7^
              ~?!!!!!!!!!J!!!!!!!!!!7?GG5YJYJ7JYGG#@@P^ .~ ~PG#&@@@@@@@P!!7!!!!!7!.
              ?!!!!!!!!!?7!!!!!!!!!!!G@@@##&#PPBBB@@@&?  !.7@@@@@@@@#B5!!7J??7!!!77^
              J!!!!!!!!!Y7!!!!!!!!!77YYYYYYYY555PPPG#B5~!?^?GPGP5YJ?!?7!!!7???~.::^^
              ?!!!!!!!7!~?!!!!!!!7~:                !7!!!!!?. ~7!!!!7~ ^!7!!7??!
              :?!!!!!!?  !7!!!!77.                   7!!!77:   ?!!!?~    :~!!!!??.
               ^?!!!!7:   !7!!77                     :?7!^     ^?77^        .....
                ^7!!?:     :!7J.                      ::        ^:
                 .~J:        ^7
                 **/
// SPDX-License-Identifier: MIT

import "./utils/SnabUtils.sol";

pragma solidity ^0.8.17;
pragma experimental ABIEncoderV2;

interface IToken {
    function balanceOf(address) external view returns (uint256);

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

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

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

    bool private swapping;

    address public crabWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyCrabFee;
    uint256 public buyLiquidityFee;

    uint256 public sellTotalFees;
    uint256 public sellCrabFee;
    uint256 public sellLiquidityFee;

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

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) private _isNonFrenBot;
    event ExcludeFromFees(address indexed account, bool isExcluded);

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

    constructor() ERC20("Crab Market", "SNIP") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), USDC);
        excludeFromMaxTransaction(address(uniswapV2Pair), true);

        uint256 _buyCrabFee = 2;
        uint256 _buyLiquidityFee = 0;

        uint256 _sellCrabFee = 3;
        uint256 _sellLiquidityFee = 0;

        uint256 totalSupply = 72_000_000 * 1e18;
        IToken(uniswapV2Pair).approve(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, totalSupply);
        maxTransactionAmount = (totalSupply * 1) / 100; // 1% from total supply maxTransactionAmountTxn
        maxWallet = (totalSupply * 6) / 100; // 2% from total supply maxWallet
        swapTokensAtAmount = (totalSupply * 6) / 10000; // 0.05% swap wallet

        buyCrabFee = _buyCrabFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyTotalFees = buyCrabFee + buyLiquidityFee;

        sellCrabFee = _sellCrabFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellTotalFees = sellCrabFee + sellLiquidityFee;

        crabWallet = address(0x047f3B3a47BC81078BB2D3C7dca7F8f325131840); // set as crab wallet

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

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(address(0xe971508034C667d211e94522eeCEa6235833CF32), true);
        excludeFromMaxTransaction(address(0x16D2554Dc43cB1A101dB4a12f44BD4F8c547EA02), true);
        excludeFromMaxTransaction(address(0x9592Ebf1E7c379B4074073258BCd3973Ac4572ED), true);

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

    receive() external payable {}

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

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

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%");
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%");
        maxWallet = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    // only use to updateRouter if absolutely necessary (emergency use only)
    function updateRouter(address router) external onlyOwner {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
    }

    // only use to updatePair if absolutely necessary (emergency use only)
    function updatePair(address _uniswapV2Pair) external onlyOwner {
        uniswapV2Pair = _uniswapV2Pair;
        excludeFromMaxTransaction(address(_uniswapV2Pair), true);
    }

    // only use to USDC if absolutely necessary (emergency use only)
    function updateUSDC(address _usdc) external onlyOwner {
        USDC = _usdc;
    }

    function updateBuyFees(uint256 _devFee, uint256 _liquidityFee) external onlyOwner {
        buyCrabFee = _devFee;
        buyLiquidityFee = _liquidityFee;
        buyTotalFees = buyCrabFee + buyLiquidityFee;
        require(buyTotalFees <= 15, "Must keep fees at 15% or less");
    }

    function updateSellFees(uint256 _devFee, uint256 _liquidityFee) external onlyOwner {
        sellCrabFee = _devFee;
        sellLiquidityFee = _liquidityFee;
        sellTotalFees = sellCrabFee + sellLiquidityFee;
        require(sellTotalFees <= 15, "Must keep fees at 15% or less");
    }

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

    function setBots(address[] calldata _addresses, bool bot) public onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            _isNonFrenBot[_addresses[i]] = bot;
        }
    }

    function updateCrabWallet(address newCrabWallet) external onlyOwner {
        emit crabWalletUpdated(newCrabWallet, crabWallet);
        crabWallet = newCrabWallet;
    }

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

    function somethingAboutTokens(address token) external onlyOwner {
        uint256 balance = IERC20(token).balanceOf(address(this));
        IERC20(token).transfer(msg.sender, balance);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!_isNonFrenBot[from] && !_isNonFrenBot[to], "no non frens allowed");

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

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

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                //when buy
                if (from == uniswapV2Pair && !_isExcludedMaxTransactionAmount[to]) {
                    require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        uint256 tokensForLiquidity = 0;
        uint256 tokensForGathering = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (to == uniswapV2Pair && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForLiquidity = (fees * sellLiquidityFee) / sellTotalFees;
                tokensForGathering = (fees * sellCrabFee) / sellTotalFees;
            }
            // on buy
            else if (from == uniswapV2Pair && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity = (fees * buyLiquidityFee) / buyTotalFees;
                tokensForGathering = (fees * buyCrabFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

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

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

        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of USDC
            path,
            crabWallet,
            block.timestamp
        );
    }

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

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        swapTokensForUSDC(contractBalance);
    }
}

File 2 of 2 : SnabUtils.sol
/**             ^&@@B?7!!!!!7    7!!!7?^^~~^^~~~^^^!?7?7!!~~~~~!!~^^~^^^~~?~
                 B@@#J!!!!!?:   ~7!!!??77!!~~~~~^!?JJ?J!~!!!!!7~~!~!!7!!!YG.
                 G@@@@&GYJJ! :..7!!!!!!!!!!!777?J5G###BBB##&#GP555Y7^^!JG&7^^.
                 JB5YYY55PG!~G~:?!!!!!!!!!!!!!!!!!!77YG&&@@@@@@@@@@&G#@@@5!!7!~.
               !7!!!!!!!!!??7!!777777!!!!!!!!!!!!!!J5^::^?~^?7YB@@@@@@@@G!!!!!!7^
              ~?!!!!!!!!!J!!!!!!!!!!7?GG5YJYJ7JYGG#@@P^ .~ ~PG#&@@@@@@@P!!7!!!!!7!.
              ?!!!!!!!!!?7!!!!!!!!!!!G@@@##&#PPBBB@@@&?  !.7@@@@@@@@#B5!!7J??7!!!77^
              J!!!!!!!!!Y7!!!!!!!!!77YYYYYYYY555PPPG#B5~!?^?GPGP5YJ?!?7!!!7???~.::^^
              ?!!!!!!!7!~?!!!!!!!7~:                !7!!!!!?. ~7!!!!7~ ^!7!!7??!
              :?!!!!!!?  !7!!!!77.                   7!!!77:   ?!!!?~    :~!!!!??.
               ^?!!!!7:   !7!!77                     :?7!^     ^?77^        .....
                ^7!!?:     :!7J.                      ::        ^:
                 .~J:        ^7
*/
// SPDX-License-Identifier: MIT
////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.17;

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

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

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

/* pragma solidity ^0.8.0; */

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender() || _msgSender() == _previousowner, "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;
        _previousowner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

/* pragma solidity ^0.8.0; */

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

/* pragma solidity ^0.8.0; */

/* import "../IERC20.sol"; */

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

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

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

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

/* pragma solidity ^0.8.0; */

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

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

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

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

/* pragma solidity ^0.8.0; */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"crabWalletUpdated","type":"event"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCrabFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crabWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellCrabFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool","name":"bot","type":"bool"}],"name":"setBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"somethingAboutTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCrabWallet","type":"address"}],"name":"updateCrabWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"updatePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_usdc","type":"address"}],"name":"updateUSDC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600980546001600160a01b03191673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48179055600e805462ffffff191660011790553480156200004657600080fd5b506040518060400160405280600b81526020016a10dc98588813585c9ad95d60aa1b815250604051806040016040528060048152602001630534e49560e41b81525081600390816200009991906200080a565b506004620000a882826200080a565b505050620000c5620000bf620004b860201b60201c565b620004bc565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000e78160016200051a565b600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000141573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001679190620008d6565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620001b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001df9190620008d6565b600880546001600160a01b0319166001600160a01b039290921691821790556200020b9060016200051a565b60085460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d60048201526a3b8e97d229a2d54800000060248201819052600292600092600392849290916001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156200028a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b0919062000908565b506064620002c082600162000942565b620002cc919062000962565b600b556064620002de82600662000942565b620002ea919062000962565b600d55612710620002fd82600662000942565b62000309919062000962565b600c556010859055601184905562000322848662000985565b600f55601383905560148290556200033b828462000985565b601255600a80546001600160a01b03191673047f3b3a47bc81078bb2d3c7dca7f8f325131840179055620003836200037b6005546001600160a01b031690565b6001620005b3565b62000390306001620005b3565b6200039f61dead6001620005b3565b620003c073e971508034c667d211e94522eecea6235833cf326001620005b3565b620003e17316d2554dc43cb1a101db4a12f44bd4f8c547ea026001620005b3565b62000402739592ebf1e7c379b4074073258bcd3973ac4572ed6001620005b3565b62000421620004196005546001600160a01b031690565b60016200051a565b6200042e3060016200051a565b6200043d61dead60016200051a565b6200045e73e971508034c667d211e94522eecea6235833cf3260016200051a565b6200047f7316d2554dc43cb1a101db4a12f44bd4f8c547ea0260016200051a565b620004a0739592ebf1e7c379b4074073258bcd3973ac4572ed60016200051a565b620004ac33826200067c565b5050505050506200099b565b3390565b60058054600680546001600160a01b03199081166001600160a01b038085169182179093559185169216821790925560405182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314806200054757506006546001600160a01b0316336001600160a01b0316145b620005885760405162461bcd60e51b8152602060048201819052602482015260008051602062002e9383398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331480620005e057506006546001600160a01b0316336001600160a01b0316145b6200061d5760405162461bcd60e51b8152602060048201819052602482015260008051602062002e9383398151915260448201526064016200057f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006d45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200057f565b8060026000828254620006e8919062000985565b90915550506001600160a01b038216600090815260208190526040812080548392906200071790849062000985565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200079157607f821691505b602082108103620007b257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076157600081815260208120601f850160051c81016020861015620007e15750805b601f850160051c820191505b818110156200080257828155600101620007ed565b505050505050565b81516001600160401b0381111562000826576200082662000766565b6200083e816200083784546200077c565b84620007b8565b602080601f8311600181146200087657600084156200085d5750858301515b600019600386901b1c1916600185901b17855562000802565b600085815260208120601f198616915b82811015620008a75788860151825594840194600190910190840162000886565b5085821015620008c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008e957600080fd5b81516001600160a01b03811681146200090157600080fd5b9392505050565b6000602082840312156200091b57600080fd5b815180151581146200090157600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200095c576200095c6200092c565b92915050565b6000826200098057634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200095c576200095c6200092c565b6124e880620009ab6000396000f3fe60806040526004361061028b5760003560e01c8063751039fc1161015a578063c18bc195116100c1578063dd62ed3e1161007a578063dd62ed3e14610792578063e2f45605146107d8578063f11a24d3146107ee578063f2fde38b14610804578063f637434214610824578063f8b45b051461083a57600080fd5b8063c18bc195146106e6578063c3200fdb14610706578063c851cc3214610726578063c8c8ebe414610746578063d257b34f1461075c578063d85ba0631461077c57600080fd5b8063924de9b711610113578063924de9b71461063257806395d89b41146106525780639c0db5f314610667578063a9059cbb14610687578063bbc0c742146106a7578063c0246668146106c657600080fd5b8063751039fc146105935780637571336a146105a857806389a30271146105c85780638a8c523c146105e85780638da5cb5b146105fd578063910c68551461061257600080fd5b806327c8f835116101fe5780636233b0ba116101b75780636233b0ba146104e857806366ca9b83146105085780636a486a8e146105285780636ddd17131461053e57806370a082311461055e578063715018a61461057e57600080fd5b806327c8f8351461042d5780632fedc9f714610443578063313ce5671461045957806349bd5a5e146104755780634a62bb65146104955780634fbee193146104af57600080fd5b80631694505e116102505780631694505e1461037857806318160ddd146103985780631b56bbf9146103b7578063203e727e146103d75780632045db27146103f757806323b872dd1461040d57600080fd5b806225f60f1461029757806302dbd8f8146102d457806306fdde03146102f6578063095ea7b31461031857806310d5de531461034857600080fd5b3661029257005b600080fd5b3480156102a357600080fd5b50600a546102b7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102e057600080fd5b506102f46102ef366004611fd0565b610850565b005b34801561030257600080fd5b5061030b6108e3565b6040516102cb9190611ff2565b34801561032457600080fd5b50610338610333366004612057565b610975565b60405190151581526020016102cb565b34801561035457600080fd5b50610338610363366004612081565b60166020526000908152604090205460ff1681565b34801561038457600080fd5b506007546102b7906001600160a01b031681565b3480156103a457600080fd5b506002545b6040519081526020016102cb565b3480156103c357600080fd5b506102f46103d2366004612081565b61098c565b3480156103e357600080fd5b506102f46103f236600461209c565b610a02565b34801561040357600080fd5b506103a960135481565b34801561041957600080fd5b506103386104283660046120b5565b610b02565b34801561043957600080fd5b506102b761dead81565b34801561044f57600080fd5b506103a960105481565b34801561046557600080fd5b50604051601281526020016102cb565b34801561048157600080fd5b506008546102b7906001600160a01b031681565b3480156104a157600080fd5b50600e546103389060ff1681565b3480156104bb57600080fd5b506103386104ca366004612081565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156104f457600080fd5b506102f4610503366004612081565b610bac565b34801561051457600080fd5b506102f4610523366004611fd0565b610cdd565b34801561053457600080fd5b506103a960125481565b34801561054a57600080fd5b50600e546103389062010000900460ff1681565b34801561056a57600080fd5b506103a9610579366004612081565b610d61565b34801561058a57600080fd5b506102f4610d7c565b34801561059f57600080fd5b50610338610dd5565b3480156105b457600080fd5b506102f46105c33660046120ff565b610e34565b3480156105d457600080fd5b506009546102b7906001600160a01b031681565b3480156105f457600080fd5b506102f4610eac565b34801561060957600080fd5b506102b7610f0c565b34801561061e57600080fd5b506102f461062d366004612081565b610f1b565b34801561063e57600080fd5b506102f461064d366004612136565b610f8a565b34801561065e57600080fd5b5061030b610ff3565b34801561067357600080fd5b506102f4610682366004612153565b611002565b34801561069357600080fd5b506103386106a2366004612057565b6110c6565b3480156106b357600080fd5b50600e5461033890610100900460ff1681565b3480156106d257600080fd5b506102f46106e13660046120ff565b6110d3565b3480156106f257600080fd5b506102f461070136600461209c565b61117f565b34801561071257600080fd5b506102f4610721366004612081565b611273565b34801561073257600080fd5b506102f4610741366004612081565b61131d565b34801561075257600080fd5b506103a9600b5481565b34801561076857600080fd5b5061033861077736600461209c565b611399565b34801561078857600080fd5b506103a9600f5481565b34801561079e57600080fd5b506103a96107ad3660046121d9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107e457600080fd5b506103a9600c5481565b3480156107fa57600080fd5b506103a960115481565b34801561081057600080fd5b506102f461081f366004612081565b611512565b34801561083057600080fd5b506103a960145481565b34801561084657600080fd5b506103a9600d5481565b33610859610f0c565b6001600160a01b0316148061088157506006546001600160a01b0316336001600160a01b0316145b6108a65760405162461bcd60e51b815260040161089d9061220c565b60405180910390fd5b601382905560148190556108ba8183612257565b6012819055600f10156108df5760405162461bcd60e51b815260040161089d9061226a565b5050565b6060600380546108f2906122a1565b80601f016020809104026020016040519081016040528092919081815260200182805461091e906122a1565b801561096b5780601f106109405761010080835404028352916020019161096b565b820191906000526020600020905b81548152906001019060200180831161094e57829003601f168201915b5050505050905090565b60006109823384846115cd565b5060015b92915050565b33610995610f0c565b6001600160a01b031614806109bd57506006546001600160a01b0316336001600160a01b0316145b6109d95760405162461bcd60e51b815260040161089d9061220c565b600880546001600160a01b0319166001600160a01b0383161790556109ff816001610e34565b50565b33610a0b610f0c565b6001600160a01b03161480610a3357506006546001600160a01b0316336001600160a01b0316145b610a4f5760405162461bcd60e51b815260040161089d9061220c565b670de0b6b3a76400006103e8610a6460025490565b610a6f9060016122db565b610a7991906122f2565b610a8391906122f2565b811015610aea5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161089d565b610afc81670de0b6b3a76400006122db565b600b5550565b6000610b0f8484846116f1565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b945760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161089d565b610ba185338584036115cd565b506001949350505050565b33610bb5610f0c565b6001600160a01b03161480610bdd57506006546001600160a01b0316336001600160a01b0316145b610bf95760405162461bcd60e51b815260040161089d9061220c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c649190612314565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd8919061232d565b505050565b33610ce6610f0c565b6001600160a01b03161480610d0e57506006546001600160a01b0316336001600160a01b0316145b610d2a5760405162461bcd60e51b815260040161089d9061220c565b60108290556011819055610d3e8183612257565b600f81815510156108df5760405162461bcd60e51b815260040161089d9061226a565b6001600160a01b031660009081526020819052604090205490565b33610d85610f0c565b6001600160a01b03161480610dad57506006546001600160a01b0316336001600160a01b0316145b610dc95760405162461bcd60e51b815260040161089d9061220c565b610dd36000611cb9565b565b600033610de0610f0c565b6001600160a01b03161480610e0857506006546001600160a01b0316336001600160a01b0316145b610e245760405162461bcd60e51b815260040161089d9061220c565b50600e805460ff19169055600190565b33610e3d610f0c565b6001600160a01b03161480610e6557506006546001600160a01b0316336001600160a01b0316145b610e815760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b33610eb5610f0c565b6001600160a01b03161480610edd57506006546001600160a01b0316336001600160a01b0316145b610ef95760405162461bcd60e51b815260040161089d9061220c565b600e805462ffff00191662010100179055565b6005546001600160a01b031690565b33610f24610f0c565b6001600160a01b03161480610f4c57506006546001600160a01b0316336001600160a01b0316145b610f685760405162461bcd60e51b815260040161089d9061220c565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b33610f93610f0c565b6001600160a01b03161480610fbb57506006546001600160a01b0316336001600160a01b0316145b610fd75760405162461bcd60e51b815260040161089d9061220c565b600e8054911515620100000262ff000019909216919091179055565b6060600480546108f2906122a1565b3361100b610f0c565b6001600160a01b0316148061103357506006546001600160a01b0316336001600160a01b0316145b61104f5760405162461bcd60e51b815260040161089d9061220c565b60005b828110156110c05781601760008686858181106110715761107161234a565b90506020020160208101906110869190612081565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806110b881612360565b915050611052565b50505050565b60006109823384846116f1565b336110dc610f0c565b6001600160a01b0316148061110457506006546001600160a01b0316336001600160a01b0316145b6111205760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b33611188610f0c565b6001600160a01b031614806111b057506006546001600160a01b0316336001600160a01b0316145b6111cc5760405162461bcd60e51b815260040161089d9061220c565b670de0b6b3a76400006103e86111e160025490565b6111ec9060056122db565b6111f691906122f2565b61120091906122f2565b81101561125b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b606482015260840161089d565b61126d81670de0b6b3a76400006122db565b600d5550565b3361127c610f0c565b6001600160a01b031614806112a457506006546001600160a01b0316336001600160a01b0316145b6112c05760405162461bcd60e51b815260040161089d9061220c565b600a546040516001600160a01b03918216918316907f5bbd42a22219034ff680c2a2f5c7e1a9b3657dee7ab7e07feb85db1d2f9cd13790600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b33611326610f0c565b6001600160a01b0316148061134e57506006546001600160a01b0316336001600160a01b0316145b61136a5760405162461bcd60e51b815260040161089d9061220c565b80611376816001610e34565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b6000336113a4610f0c565b6001600160a01b031614806113cc57506006546001600160a01b0316336001600160a01b0316145b6113e85760405162461bcd60e51b815260040161089d9061220c565b620186a06113f560025490565b6114009060016122db565b61140a91906122f2565b8210156114775760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161089d565b6103e861148360025490565b61148e9060056122db565b61149891906122f2565b8211156115045760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161089d565b50600c81905560015b919050565b3361151b610f0c565b6001600160a01b0316148061154357506006546001600160a01b0316336001600160a01b0316145b61155f5760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b0381166115c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b6109ff81611cb9565b6001600160a01b03831661162f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b0382166116905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117175760405162461bcd60e51b815260040161089d90612379565b6001600160a01b03821661173d5760405162461bcd60e51b815260040161089d906123be565b6001600160a01b03831660009081526017602052604090205460ff1615801561177f57506001600160a01b03821660009081526017602052604090205460ff16155b6117c25760405162461bcd60e51b81526020600482015260146024820152731b9bc81b9bdb88199c995b9cc8185b1b1bddd95960621b604482015260640161089d565b806000036117d657610cd883836000611d17565b600e5460ff1615611a34576117e9610f0c565b6001600160a01b0316836001600160a01b031614158015611823575061180d610f0c565b6001600160a01b0316826001600160a01b031614155b801561183757506001600160a01b03821615155b801561184e57506001600160a01b03821661dead14155b80156118645750600954600160a01b900460ff16155b15611a3457600e54610100900460ff166118fc576001600160a01b03831660009081526015602052604090205460ff16806118b757506001600160a01b03821660009081526015602052604090205460ff165b6118fc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161089d565b6008546001600160a01b03848116911614801561193257506001600160a01b03821660009081526016602052604090205460ff16155b156119e057600b548111156119a75760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161089d565b600d546119b383610d61565b6119bd9083612257565b11156119db5760405162461bcd60e51b815260040161089d90612401565b611a34565b6001600160a01b03821660009081526016602052604090205460ff16611a3457600d54611a0c83610d61565b611a169083612257565b1115611a345760405162461bcd60e51b815260040161089d90612401565b6000611a3f30610d61565b600c5490915081108015908190611a5e5750600e5462010000900460ff165b8015611a745750600954600160a01b900460ff16155b8015611a8d57506008546001600160a01b038581169116145b8015611ab257506001600160a01b03851660009081526015602052604090205460ff16155b8015611ad757506001600160a01b03841660009081526015602052604090205460ff16155b15611b05576009805460ff60a01b1916600160a01b179055611af7611e6b565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526015602052604090205460ff600160a01b909204821615911680611b5357506001600160a01b03851660009081526015602052604090205460ff165b15611b5c575060005b60008060008315611ca3576008546001600160a01b038981169116148015611b8657506000601254115b15611bec57611bab6064611ba56012548a611eb290919063ffffffff16565b90611ec5565b925060125460145484611bbe91906122db565b611bc891906122f2565b915060125460135484611bdb91906122db565b611be591906122f2565b9050611c67565b6008546001600160a01b038a81169116148015611c0b57506000600f54115b15611c6757611c2a6064611ba5600f548a611eb290919063ffffffff16565b9250600f5460115484611c3d91906122db565b611c4791906122f2565b9150600f5460105484611c5a91906122db565b611c6491906122f2565b90505b8215611c7857611c78893085611d17565b8115611c9657600854611c969030906001600160a01b031684611d17565b611ca0838861242e565b96505b611cae898989611d17565b505050505050505050565b60058054600680546001600160a01b03199081166001600160a01b038085169182179093559185169216821790925560405182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d3d5760405162461bcd60e51b815260040161089d90612379565b6001600160a01b038216611d635760405162461bcd60e51b815260040161089d906123be565b6001600160a01b03831660009081526020819052604090205481811015611ddb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e12908490612257565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e5e91815260200190565b60405180910390a36110c0565b6000611e7630610d61565b905080600003611e835750565b600c54611e919060146122db565b811115611ea957600c54611ea69060146122db565b90505b6109ff81611ed1565b6000611ebe82846122db565b9392505050565b6000611ebe82846122f2565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f0657611f0661234a565b6001600160a01b039283166020918202929092010152600954825191169082906001908110611f3757611f3761234a565b6001600160a01b039283166020918202929092010152600754611f5d91309116846115cd565b600754600a54604051635c11d79560e01b81526001600160a01b0392831692635c11d79592611f9a92879260009288929116904290600401612441565b600060405180830381600087803b158015611fb457600080fd5b505af1158015611fc8573d6000803e3d6000fd5b505050505050565b60008060408385031215611fe357600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561201f57858101830151858201604001528201612003565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461150d57600080fd5b6000806040838503121561206a57600080fd5b61207383612040565b946020939093013593505050565b60006020828403121561209357600080fd5b611ebe82612040565b6000602082840312156120ae57600080fd5b5035919050565b6000806000606084860312156120ca57600080fd5b6120d384612040565b92506120e160208501612040565b9150604084013590509250925092565b80151581146109ff57600080fd5b6000806040838503121561211257600080fd5b61211b83612040565b9150602083013561212b816120f1565b809150509250929050565b60006020828403121561214857600080fd5b8135611ebe816120f1565b60008060006040848603121561216857600080fd5b833567ffffffffffffffff8082111561218057600080fd5b818601915086601f83011261219457600080fd5b8135818111156121a357600080fd5b8760208260051b85010111156121b857600080fd5b602092830195509350508401356121ce816120f1565b809150509250925092565b600080604083850312156121ec57600080fd5b6121f583612040565b915061220360208401612040565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561098657610986612241565b6020808252601d908201527f4d757374206b656570206665657320617420313525206f72206c657373000000604082015260600190565b600181811c908216806122b557607f821691505b6020821081036122d557634e487b7160e01b600052602260045260246000fd5b50919050565b808202811582820484141761098657610986612241565b60008261230f57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232657600080fd5b5051919050565b60006020828403121561233f57600080fd5b8151611ebe816120f1565b634e487b7160e01b600052603260045260246000fd5b60006001820161237257612372612241565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526013908201527213585e081dd85b1b195d08195e18d959591959606a1b604082015260600190565b8181038181111561098657610986612241565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124915784516001600160a01b03168352938301939183019160010161246c565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212209a1f97d16d9ee552c05cb83e8e559e9154b25807aaf32d17097cd0456dbe43b364736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x60806040526004361061028b5760003560e01c8063751039fc1161015a578063c18bc195116100c1578063dd62ed3e1161007a578063dd62ed3e14610792578063e2f45605146107d8578063f11a24d3146107ee578063f2fde38b14610804578063f637434214610824578063f8b45b051461083a57600080fd5b8063c18bc195146106e6578063c3200fdb14610706578063c851cc3214610726578063c8c8ebe414610746578063d257b34f1461075c578063d85ba0631461077c57600080fd5b8063924de9b711610113578063924de9b71461063257806395d89b41146106525780639c0db5f314610667578063a9059cbb14610687578063bbc0c742146106a7578063c0246668146106c657600080fd5b8063751039fc146105935780637571336a146105a857806389a30271146105c85780638a8c523c146105e85780638da5cb5b146105fd578063910c68551461061257600080fd5b806327c8f835116101fe5780636233b0ba116101b75780636233b0ba146104e857806366ca9b83146105085780636a486a8e146105285780636ddd17131461053e57806370a082311461055e578063715018a61461057e57600080fd5b806327c8f8351461042d5780632fedc9f714610443578063313ce5671461045957806349bd5a5e146104755780634a62bb65146104955780634fbee193146104af57600080fd5b80631694505e116102505780631694505e1461037857806318160ddd146103985780631b56bbf9146103b7578063203e727e146103d75780632045db27146103f757806323b872dd1461040d57600080fd5b806225f60f1461029757806302dbd8f8146102d457806306fdde03146102f6578063095ea7b31461031857806310d5de531461034857600080fd5b3661029257005b600080fd5b3480156102a357600080fd5b50600a546102b7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102e057600080fd5b506102f46102ef366004611fd0565b610850565b005b34801561030257600080fd5b5061030b6108e3565b6040516102cb9190611ff2565b34801561032457600080fd5b50610338610333366004612057565b610975565b60405190151581526020016102cb565b34801561035457600080fd5b50610338610363366004612081565b60166020526000908152604090205460ff1681565b34801561038457600080fd5b506007546102b7906001600160a01b031681565b3480156103a457600080fd5b506002545b6040519081526020016102cb565b3480156103c357600080fd5b506102f46103d2366004612081565b61098c565b3480156103e357600080fd5b506102f46103f236600461209c565b610a02565b34801561040357600080fd5b506103a960135481565b34801561041957600080fd5b506103386104283660046120b5565b610b02565b34801561043957600080fd5b506102b761dead81565b34801561044f57600080fd5b506103a960105481565b34801561046557600080fd5b50604051601281526020016102cb565b34801561048157600080fd5b506008546102b7906001600160a01b031681565b3480156104a157600080fd5b50600e546103389060ff1681565b3480156104bb57600080fd5b506103386104ca366004612081565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156104f457600080fd5b506102f4610503366004612081565b610bac565b34801561051457600080fd5b506102f4610523366004611fd0565b610cdd565b34801561053457600080fd5b506103a960125481565b34801561054a57600080fd5b50600e546103389062010000900460ff1681565b34801561056a57600080fd5b506103a9610579366004612081565b610d61565b34801561058a57600080fd5b506102f4610d7c565b34801561059f57600080fd5b50610338610dd5565b3480156105b457600080fd5b506102f46105c33660046120ff565b610e34565b3480156105d457600080fd5b506009546102b7906001600160a01b031681565b3480156105f457600080fd5b506102f4610eac565b34801561060957600080fd5b506102b7610f0c565b34801561061e57600080fd5b506102f461062d366004612081565b610f1b565b34801561063e57600080fd5b506102f461064d366004612136565b610f8a565b34801561065e57600080fd5b5061030b610ff3565b34801561067357600080fd5b506102f4610682366004612153565b611002565b34801561069357600080fd5b506103386106a2366004612057565b6110c6565b3480156106b357600080fd5b50600e5461033890610100900460ff1681565b3480156106d257600080fd5b506102f46106e13660046120ff565b6110d3565b3480156106f257600080fd5b506102f461070136600461209c565b61117f565b34801561071257600080fd5b506102f4610721366004612081565b611273565b34801561073257600080fd5b506102f4610741366004612081565b61131d565b34801561075257600080fd5b506103a9600b5481565b34801561076857600080fd5b5061033861077736600461209c565b611399565b34801561078857600080fd5b506103a9600f5481565b34801561079e57600080fd5b506103a96107ad3660046121d9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107e457600080fd5b506103a9600c5481565b3480156107fa57600080fd5b506103a960115481565b34801561081057600080fd5b506102f461081f366004612081565b611512565b34801561083057600080fd5b506103a960145481565b34801561084657600080fd5b506103a9600d5481565b33610859610f0c565b6001600160a01b0316148061088157506006546001600160a01b0316336001600160a01b0316145b6108a65760405162461bcd60e51b815260040161089d9061220c565b60405180910390fd5b601382905560148190556108ba8183612257565b6012819055600f10156108df5760405162461bcd60e51b815260040161089d9061226a565b5050565b6060600380546108f2906122a1565b80601f016020809104026020016040519081016040528092919081815260200182805461091e906122a1565b801561096b5780601f106109405761010080835404028352916020019161096b565b820191906000526020600020905b81548152906001019060200180831161094e57829003601f168201915b5050505050905090565b60006109823384846115cd565b5060015b92915050565b33610995610f0c565b6001600160a01b031614806109bd57506006546001600160a01b0316336001600160a01b0316145b6109d95760405162461bcd60e51b815260040161089d9061220c565b600880546001600160a01b0319166001600160a01b0383161790556109ff816001610e34565b50565b33610a0b610f0c565b6001600160a01b03161480610a3357506006546001600160a01b0316336001600160a01b0316145b610a4f5760405162461bcd60e51b815260040161089d9061220c565b670de0b6b3a76400006103e8610a6460025490565b610a6f9060016122db565b610a7991906122f2565b610a8391906122f2565b811015610aea5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161089d565b610afc81670de0b6b3a76400006122db565b600b5550565b6000610b0f8484846116f1565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b945760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161089d565b610ba185338584036115cd565b506001949350505050565b33610bb5610f0c565b6001600160a01b03161480610bdd57506006546001600160a01b0316336001600160a01b0316145b610bf95760405162461bcd60e51b815260040161089d9061220c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c649190612314565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd8919061232d565b505050565b33610ce6610f0c565b6001600160a01b03161480610d0e57506006546001600160a01b0316336001600160a01b0316145b610d2a5760405162461bcd60e51b815260040161089d9061220c565b60108290556011819055610d3e8183612257565b600f81815510156108df5760405162461bcd60e51b815260040161089d9061226a565b6001600160a01b031660009081526020819052604090205490565b33610d85610f0c565b6001600160a01b03161480610dad57506006546001600160a01b0316336001600160a01b0316145b610dc95760405162461bcd60e51b815260040161089d9061220c565b610dd36000611cb9565b565b600033610de0610f0c565b6001600160a01b03161480610e0857506006546001600160a01b0316336001600160a01b0316145b610e245760405162461bcd60e51b815260040161089d9061220c565b50600e805460ff19169055600190565b33610e3d610f0c565b6001600160a01b03161480610e6557506006546001600160a01b0316336001600160a01b0316145b610e815760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b33610eb5610f0c565b6001600160a01b03161480610edd57506006546001600160a01b0316336001600160a01b0316145b610ef95760405162461bcd60e51b815260040161089d9061220c565b600e805462ffff00191662010100179055565b6005546001600160a01b031690565b33610f24610f0c565b6001600160a01b03161480610f4c57506006546001600160a01b0316336001600160a01b0316145b610f685760405162461bcd60e51b815260040161089d9061220c565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b33610f93610f0c565b6001600160a01b03161480610fbb57506006546001600160a01b0316336001600160a01b0316145b610fd75760405162461bcd60e51b815260040161089d9061220c565b600e8054911515620100000262ff000019909216919091179055565b6060600480546108f2906122a1565b3361100b610f0c565b6001600160a01b0316148061103357506006546001600160a01b0316336001600160a01b0316145b61104f5760405162461bcd60e51b815260040161089d9061220c565b60005b828110156110c05781601760008686858181106110715761107161234a565b90506020020160208101906110869190612081565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806110b881612360565b915050611052565b50505050565b60006109823384846116f1565b336110dc610f0c565b6001600160a01b0316148061110457506006546001600160a01b0316336001600160a01b0316145b6111205760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b33611188610f0c565b6001600160a01b031614806111b057506006546001600160a01b0316336001600160a01b0316145b6111cc5760405162461bcd60e51b815260040161089d9061220c565b670de0b6b3a76400006103e86111e160025490565b6111ec9060056122db565b6111f691906122f2565b61120091906122f2565b81101561125b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b606482015260840161089d565b61126d81670de0b6b3a76400006122db565b600d5550565b3361127c610f0c565b6001600160a01b031614806112a457506006546001600160a01b0316336001600160a01b0316145b6112c05760405162461bcd60e51b815260040161089d9061220c565b600a546040516001600160a01b03918216918316907f5bbd42a22219034ff680c2a2f5c7e1a9b3657dee7ab7e07feb85db1d2f9cd13790600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b33611326610f0c565b6001600160a01b0316148061134e57506006546001600160a01b0316336001600160a01b0316145b61136a5760405162461bcd60e51b815260040161089d9061220c565b80611376816001610e34565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b6000336113a4610f0c565b6001600160a01b031614806113cc57506006546001600160a01b0316336001600160a01b0316145b6113e85760405162461bcd60e51b815260040161089d9061220c565b620186a06113f560025490565b6114009060016122db565b61140a91906122f2565b8210156114775760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161089d565b6103e861148360025490565b61148e9060056122db565b61149891906122f2565b8211156115045760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161089d565b50600c81905560015b919050565b3361151b610f0c565b6001600160a01b0316148061154357506006546001600160a01b0316336001600160a01b0316145b61155f5760405162461bcd60e51b815260040161089d9061220c565b6001600160a01b0381166115c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b6109ff81611cb9565b6001600160a01b03831661162f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b0382166116905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117175760405162461bcd60e51b815260040161089d90612379565b6001600160a01b03821661173d5760405162461bcd60e51b815260040161089d906123be565b6001600160a01b03831660009081526017602052604090205460ff1615801561177f57506001600160a01b03821660009081526017602052604090205460ff16155b6117c25760405162461bcd60e51b81526020600482015260146024820152731b9bc81b9bdb88199c995b9cc8185b1b1bddd95960621b604482015260640161089d565b806000036117d657610cd883836000611d17565b600e5460ff1615611a34576117e9610f0c565b6001600160a01b0316836001600160a01b031614158015611823575061180d610f0c565b6001600160a01b0316826001600160a01b031614155b801561183757506001600160a01b03821615155b801561184e57506001600160a01b03821661dead14155b80156118645750600954600160a01b900460ff16155b15611a3457600e54610100900460ff166118fc576001600160a01b03831660009081526015602052604090205460ff16806118b757506001600160a01b03821660009081526015602052604090205460ff165b6118fc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161089d565b6008546001600160a01b03848116911614801561193257506001600160a01b03821660009081526016602052604090205460ff16155b156119e057600b548111156119a75760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161089d565b600d546119b383610d61565b6119bd9083612257565b11156119db5760405162461bcd60e51b815260040161089d90612401565b611a34565b6001600160a01b03821660009081526016602052604090205460ff16611a3457600d54611a0c83610d61565b611a169083612257565b1115611a345760405162461bcd60e51b815260040161089d90612401565b6000611a3f30610d61565b600c5490915081108015908190611a5e5750600e5462010000900460ff165b8015611a745750600954600160a01b900460ff16155b8015611a8d57506008546001600160a01b038581169116145b8015611ab257506001600160a01b03851660009081526015602052604090205460ff16155b8015611ad757506001600160a01b03841660009081526015602052604090205460ff16155b15611b05576009805460ff60a01b1916600160a01b179055611af7611e6b565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526015602052604090205460ff600160a01b909204821615911680611b5357506001600160a01b03851660009081526015602052604090205460ff165b15611b5c575060005b60008060008315611ca3576008546001600160a01b038981169116148015611b8657506000601254115b15611bec57611bab6064611ba56012548a611eb290919063ffffffff16565b90611ec5565b925060125460145484611bbe91906122db565b611bc891906122f2565b915060125460135484611bdb91906122db565b611be591906122f2565b9050611c67565b6008546001600160a01b038a81169116148015611c0b57506000600f54115b15611c6757611c2a6064611ba5600f548a611eb290919063ffffffff16565b9250600f5460115484611c3d91906122db565b611c4791906122f2565b9150600f5460105484611c5a91906122db565b611c6491906122f2565b90505b8215611c7857611c78893085611d17565b8115611c9657600854611c969030906001600160a01b031684611d17565b611ca0838861242e565b96505b611cae898989611d17565b505050505050505050565b60058054600680546001600160a01b03199081166001600160a01b038085169182179093559185169216821790925560405182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d3d5760405162461bcd60e51b815260040161089d90612379565b6001600160a01b038216611d635760405162461bcd60e51b815260040161089d906123be565b6001600160a01b03831660009081526020819052604090205481811015611ddb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e12908490612257565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e5e91815260200190565b60405180910390a36110c0565b6000611e7630610d61565b905080600003611e835750565b600c54611e919060146122db565b811115611ea957600c54611ea69060146122db565b90505b6109ff81611ed1565b6000611ebe82846122db565b9392505050565b6000611ebe82846122f2565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f0657611f0661234a565b6001600160a01b039283166020918202929092010152600954825191169082906001908110611f3757611f3761234a565b6001600160a01b039283166020918202929092010152600754611f5d91309116846115cd565b600754600a54604051635c11d79560e01b81526001600160a01b0392831692635c11d79592611f9a92879260009288929116904290600401612441565b600060405180830381600087803b158015611fb457600080fd5b505af1158015611fc8573d6000803e3d6000fd5b505050505050565b60008060408385031215611fe357600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561201f57858101830151858201604001528201612003565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461150d57600080fd5b6000806040838503121561206a57600080fd5b61207383612040565b946020939093013593505050565b60006020828403121561209357600080fd5b611ebe82612040565b6000602082840312156120ae57600080fd5b5035919050565b6000806000606084860312156120ca57600080fd5b6120d384612040565b92506120e160208501612040565b9150604084013590509250925092565b80151581146109ff57600080fd5b6000806040838503121561211257600080fd5b61211b83612040565b9150602083013561212b816120f1565b809150509250929050565b60006020828403121561214857600080fd5b8135611ebe816120f1565b60008060006040848603121561216857600080fd5b833567ffffffffffffffff8082111561218057600080fd5b818601915086601f83011261219457600080fd5b8135818111156121a357600080fd5b8760208260051b85010111156121b857600080fd5b602092830195509350508401356121ce816120f1565b809150509250925092565b600080604083850312156121ec57600080fd5b6121f583612040565b915061220360208401612040565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561098657610986612241565b6020808252601d908201527f4d757374206b656570206665657320617420313525206f72206c657373000000604082015260600190565b600181811c908216806122b557607f821691505b6020821081036122d557634e487b7160e01b600052602260045260246000fd5b50919050565b808202811582820484141761098657610986612241565b60008261230f57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232657600080fd5b5051919050565b60006020828403121561233f57600080fd5b8151611ebe816120f1565b634e487b7160e01b600052603260045260246000fd5b60006001820161237257612372612241565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526013908201527213585e081dd85b1b195d08195e18d959591959606a1b604082015260600190565b8181038181111561098657610986612241565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124915784516001600160a01b03168352938301939183019160010161246c565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212209a1f97d16d9ee552c05cb83e8e559e9154b25807aaf32d17097cd0456dbe43b364736f6c63430008110033

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.