ETH Price: $3,077.71 (-1.40%)

Token

BarbieAlienDogeheimer (WORLDCOIN)
 

Overview

Max Total Supply

1,000,000,000 WORLDCOIN

Holders

158

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,083,426.974107446346905298 WORLDCOIN

Value
$0.00
0x44382a8c5e80C2B574b24Ba796d748f4386D26E0
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:
MemeCoin

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 17 : MemeCoin.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./interface/IUniswapV2Factory.sol";
import "./interface/IUniswapV2Router02.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract MemeCoin is Context, ERC20, ERC20Burnable, AccessControl {
    using Address for address payable;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    error ZeroAddress();
    error ForbiddenWithdrawalFromOwnContract();
    error InvalidValue();
    error UserIsAbuser();
    error UserIsNotAbuser();
    error TradingNotEnabled();
    error MaxTransactionAmountExceeded();
    error MaxWalletExceeded();

    uint256 public constant MAX_TOTAL_SUPPLY = 1000000000e18;

    bool private swapping;
    bool public swapEnabled = false;
    uint256 public swapTokensAtAmount;
    bool public tradingEnabled = false;

    uint256 public maxBuyTransaction;
    uint256 public maxSellTransaction;
    uint256 public maxWalletAmount;

    uint256 public liquidityFeeOnBuy;
    uint256 public liquidityFeeOnSell;

    uint256 public marketingFeeOnBuy;
    uint256 public marketingFeeOnSell;

    uint256 private _totalFeesOnBuy;
    uint256 private _totalFeesOnSell;

    uint256 public walletToWalletTransferFee;

    address public marketingWallet;

    mapping(address => bool) private _isAbuser;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedFromMaxTransaction;

    event MarketingWalletChanged(address marketingWallet);

    event AddedToAbusers(address[] users);
    event RemovedFromAbusers(address[] users);

    event TradingEnabled(bool enabled);
    event SwapEnabled(bool enabled);
    event UpdateSwapTokensAtAmount(uint256 swapTokensAtAmount);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 bnbReceived,
        uint256 tokensIntoLiqudity
    );
    event SwapAndSendMarketing(uint256 tokensSwapped, uint256 bnbSend);

    event UpdateMaxBuyTransaction(uint256 maxBuyTransaction);
    event UpdateMaxSellTransaction(uint256 maxSellTransaction);
    event UpdateMaxWalletAmount(uint256 maxWalletAmount);

    event ExcludedFromMaxTransaction(address user, bool isExcluded);
    event ExcludeFromFees(address user, bool isExcluded);

    event UpdateBuyFees(uint256 liquidityFeeOnBuy, uint256 marketingFeeOnBuy);
    event UpdateSellFees(
        uint256 liquidityFeeOnSell,
        uint256 marketingFeeOnSell
    );
    event UpdateWalletToWalletTransferFee(uint256 walletToWalletTransferFee);

    /**
     * @dev Initializes the contract with initial settings.
     * @param name_ The name of the token.
     * @param symbol_ The symbol of the token.
     * @param admin_ The address of the admin role.
     * @param router_ Address of the Uniswap V2 Router.
     * @param marketingWallet_ Address of the marketing wallet.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        address admin_,
        address router_,
        address marketingWallet_
    ) ERC20(name_, symbol_) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router_);
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _approve(address(this), address(_uniswapV2Router), type(uint256).max);

        marketingWallet = marketingWallet_;

        _isExcludedFromFees[admin_] = true;
        _isExcludedFromFees[address(0xdead)] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[marketingWallet_] = true;

        _isExcludedFromMaxTransaction[address(_uniswapV2Router)] = true;
        _isExcludedFromMaxTransaction[address(_uniswapV2Pair)] = true;
        _isExcludedFromMaxTransaction[address(0xdead)] = true;
        _isExcludedFromMaxTransaction[admin_] = true;
        _isExcludedFromMaxTransaction[address(this)] = true;
        _isExcludedFromMaxTransaction[marketingWallet_] = true;

        _mint(admin_, MAX_TOTAL_SUPPLY);

        _grantRole(DEFAULT_ADMIN_ROLE, admin_);
    }

    /**
     * @dev Fallback function to receive ETH from UniswapV2Router when swapping.
     */
    receive() external payable {}

    /**
     * @notice Sets the address of the marketing wallet.
     * @param _marketingWallet New address of the marketing wallet.
     */
    function setMarketingWallet(
        address _marketingWallet
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (_marketingWallet == address(0)) {
            revert ZeroAddress();
        }
        marketingWallet = _marketingWallet;

        emit MarketingWalletChanged(marketingWallet);
    }

    /**
     * @notice Enables or disables trading.
     * @param _enabled True to enable trading, false to disable.
     */
    function enableTrading(
        bool _enabled
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        tradingEnabled = _enabled;

        emit TradingEnabled(_enabled);
    }

    /**
     * @notice Exclude or include an address from fee calculations.
     * @param _user Address to be excluded or included.
     * @param _isExcluded True to exclude, false to include.
     */
    function excludeFromFees(
        address _user,
        bool _isExcluded
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _isExcludedFromFees[_user] = _isExcluded;

        emit ExcludeFromFees(_user, _isExcluded);
    }

    /**
     * @notice Update the fees applied to buying transactions.
     * @dev Only the admin role can call this function.
     * @param _liquidityFeeOnBuy New liquidity fee percentage on buy transactions.
     * @param _marketingFeeOnBuy New marketing fee percentage on buy transactions.
     */
    function updateBuyFees(
        uint256 _liquidityFeeOnBuy,
        uint256 _marketingFeeOnBuy
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        liquidityFeeOnBuy = _liquidityFeeOnBuy;
        marketingFeeOnBuy = _marketingFeeOnBuy;
        _totalFeesOnBuy = liquidityFeeOnBuy + marketingFeeOnBuy;

        emit UpdateBuyFees(liquidityFeeOnBuy, marketingFeeOnBuy);
    }

    /**
     * @notice Update the fees applied to selling transactions.
     * @dev Only the admin role can call this function.
     * @param _liquidityFeeOnSell New liquidity fee percentage on sell transactions.
     * @param _marketingFeeOnSell New marketing fee percentage on sell transactions.
     */
    function updateSellFees(
        uint256 _liquidityFeeOnSell,
        uint256 _marketingFeeOnSell
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        liquidityFeeOnSell = _liquidityFeeOnSell;
        marketingFeeOnSell = _marketingFeeOnSell;
        _totalFeesOnSell = liquidityFeeOnSell + marketingFeeOnSell;

        emit UpdateSellFees(liquidityFeeOnSell, marketingFeeOnSell);
    }

    /**
     * @notice Update the fee applied to wallet-to-wallet transfers.
     * @dev Only the admin role can call this function.
     * @param _walletToWalletTransferFee New fee percentage for wallet-to-wallet transfers.
     */
    function updateWalletToWalletTransferFee(
        uint256 _walletToWalletTransferFee
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        walletToWalletTransferFee = _walletToWalletTransferFee;

        emit UpdateWalletToWalletTransferFee(walletToWalletTransferFee);
    }

    /**
     * @notice Updates the ability to enable or disable token swapping on Uniswap.
     * @param _enabled A boolean value indicating whether token swapping is enabled or disabled.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to control token swapping.
     * Emits a SwapEnabled event to signal the change in token swapping status.
     */
    function updateSwapEnabled(
        bool _enabled
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        swapEnabled = _enabled;

        emit SwapEnabled(_enabled);
    }

    /**
     * @notice Updates the threshold amount of tokens required to trigger an automatic swap and liquidity addition.
     * @param _newAmount The new amount of tokens required for triggering swaps.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to update the swap threshold.
     * Emits an UpdateSwapTokensAtAmount event to signal the change in the swap threshold.
     */
    function updateSwapTokensAtAmount(
        uint256 _newAmount
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        swapTokensAtAmount = _newAmount;

        emit UpdateSwapTokensAtAmount(_newAmount);
    }

    /**
     * @notice Withdraws stuck tokens from the contract to the specified address.
     * @param _token The address of the token to be withdrawn.
     * @param _to The address to which the tokens will be transferred.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to withdraw tokens.
     * Emits no events as it is a utility function for managing stuck tokens.
     */
    function withdrawStuckTokens(
        address _token,
        address _to
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (_token == address(0)) {
            revert ZeroAddress();
        }
        if (_token == address(this)) {
            revert ForbiddenWithdrawalFromOwnContract();
        }
        uint256 balance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, balance);
    }

    /**
     * @notice Withdraws stuck BNB from the contract to the specified address.
     * @param _to The address to which the BNB will be transferred.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to withdraw BNB.
     * Emits no events as it is a utility function for managing stuck BNB.
     */
    function withdrawStuckBNB(
        address _to
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        payable(_to).sendValue(address(this).balance);
    }

    /**
     * @notice Adds addresses to the list of abusers.
     * @param _users An array of user addresses to be marked as abusers.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to add abusers.
     * Emits the AddedToAbusers event upon successful addition of abusers.
     */
    function addAbusers(
        address[] calldata _users
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _addAbusers(_users);
    }

    /**
     * @notice Removes addresses from the list of abusers.
     * @param _users An array of user addresses to be removed from the list of abusers.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to remove abusers.
     * Reverts if any user address is 0 or if the user is not marked as an abuser.
     * Emits the RemovedFromAbusers event upon successful removal of abusers.
     */
    function removeAbusers(
        address[] calldata _users
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        uint256 length = _users.length;

        for (uint256 i = 0; i < length; i++) {
            address user = _users[i];
            if (user == address(0)) {
                revert ZeroAddress();
            }
            if (_isAbuser[user] == false) {
                revert UserIsNotAbuser();
            }
            _isAbuser[user] = false;
        }

        emit RemovedFromAbusers(_users);
    }

    /**
     * @notice Excludes or includes an address from max transaction limit checks.
     * @param _user The user address to be excluded or included.
     * @param _isExcluded A boolean indicating whether the user should be excluded.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to manage max transaction exclusions.
     * Emits the ExcludedFromMaxTransaction event upon successful exclusion or inclusion.
     */
    function excludeFromMaxTransaction(
        address _user,
        bool _isExcluded
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _isExcludedFromMaxTransaction[_user] = _isExcluded;

        emit ExcludedFromMaxTransaction(_user, _isExcluded);
    }

    /**
     * @notice Updates the maximum allowed buy transaction amount.
     * @param _maxBuyTransaction The new maximum allowed buy transaction amount.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to update the buy transaction limit.
     * Emits the UpdateMaxBuyTransaction event upon successful update of the buy transaction limit.
     */
    function updateMaxBuyTransaction(
        uint256 _maxBuyTransaction
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxBuyTransaction = _maxBuyTransaction;

        emit UpdateMaxBuyTransaction(_maxBuyTransaction);
    }

    /**
     * @notice Updates the maximum allowed sell transaction amount.
     * @param _maxSellTransaction The new maximum allowed sell transaction amount.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to update the sell transaction limit.
     * Emits the UpdateMaxSellTransaction event upon successful update of the sell transaction limit.
     */
    function updateMaxSellTransaction(
        uint256 _maxSellTransaction
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxSellTransaction = _maxSellTransaction;

        emit UpdateMaxSellTransaction(_maxSellTransaction);
    }

    /**
     * @notice Updates the maximum allowed wallet balance.
     * @param _maxWalletAmount The new maximum allowed wallet balance.
     * @dev Only the contract owner with the DEFAULT_ADMIN_ROLE can call this function to update the max wallet balance.
     * Emits the UpdateMaxWalletAmount event upon successful update of the max wallet balance.
     */
    function updateMaxWalletAmount(
        uint256 _maxWalletAmount
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxWalletAmount = _maxWalletAmount;

        emit UpdateMaxWalletAmount(_maxWalletAmount);
    }

    /**
     * @notice Checks whether an address is excluded from max transaction limit checks.
     * @param _user The user address to check for exclusion.
     * @return A boolean indicating whether the address is excluded from max transaction limits.
     * @dev This function is publicly accessible and can be used to query the max transaction exclusion status of an address.
     */
    function isExcludedFromMaxTransaction(
        address _user
    ) public view returns (bool) {
        return _isExcludedFromMaxTransaction[_user];
    }

    /**
     * @notice Checks if an address is excluded from fees.
     * @param _user Address to be checked.
     * @return True if the address is excluded from fees, false otherwise.
     */
    function isExcludedFromFees(address _user) public view returns (bool) {
        return _isExcludedFromFees[_user];
    }

    /**
     * @notice Checks whether an address is marked as an abuser.
     * @param _user The user address to check for abuser status.
     * @return A boolean indicating whether the address is an abuser.
     * @dev This function is publicly accessible and can be used to query the abuser status of an address.
     */
    function isAbuser(address _user) public view returns (bool) {
        return _isAbuser[_user];
    }

    /**
     * @notice Adds addresses to the list of abusers.
     * @param _users An array of user addresses to be marked as abusers.
     * @dev This is a private utility function used internally to add addresses to the abusers list.
     * Reverts if any user address is 0 or if the user is already marked as an abuser.
     * Emits the AddedToAbusers event upon successful addition of abusers.
     */
    function _addAbusers(address[] memory _users) private {
        uint256 length = _users.length;

        for (uint256 i = 0; i < length; i++) {
            address user = _users[i];
            if (user == address(0)) {
                revert ZeroAddress();
            }
            if (_isAbuser[user] == true) {
                revert UserIsAbuser();
            }
            _isAbuser[user] = true;
        }

        emit AddedToAbusers(_users);
    }

    /**
     * @notice Internal function to perform token transfers with fee calculations and liquidity management.
     * @param from The address transferring tokens from.
     * @param to The address receiving tokens.
     * @param amount The amount of tokens being transferred.
     * @dev This function enforces various transfer conditions including maximum transaction limits, trading status,
     *      and abuser status. It also calculates and applies transfer fees, performs token swaps for liquidity
     *      and marketing, and enforces wallet-to-wallet transfer fees. This function is overridden from the parent
     *      ERC20 contract.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (from == address(0) || to == address(0)) {
            revert ZeroAddress();
        }
        if (amount == 0) {
            revert InvalidValue();
        }
        if (isAbuser(from) || isAbuser(to)) {
            revert UserIsAbuser();
        }

        // Check trading status and excluded fee status
        if (!isExcludedFromFees(from) && !isExcludedFromFees(to)) {
            if (!tradingEnabled) {
                revert TradingNotEnabled();
            }
        }

        // Check maximum transaction limits for buy and sell transfers

        //when buy
        if (from == uniswapV2Pair && !isExcludedFromMaxTransaction(to)) {
            if (amount > maxBuyTransaction) {
                revert MaxTransactionAmountExceeded();
            }

            if (amount + balanceOf(to) > maxWalletAmount) {
                revert MaxWalletExceeded();
            }
        }
        //when sell
        else if (to == uniswapV2Pair && !isExcludedFromMaxTransaction(from)) {
            if (amount > maxSellTransaction) {
                revert MaxTransactionAmountExceeded();
            }
        } else if (!isExcludedFromMaxTransaction(to)) {
            if (amount + balanceOf(to) > maxWalletAmount) {
                revert MaxWalletExceeded();
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance != 0 &&
            contractTokenBalance >= swapTokensAtAmount;

        // Check if token swaps for liquidity and marketing should occur
        if (
            canSwap &&
            !swapping &&
            to == uniswapV2Pair &&
            _totalFeesOnBuy + _totalFeesOnSell > 0
        ) {
            swapping = true;

            uint256 totalFee = _totalFeesOnBuy + _totalFeesOnSell;
            uint256 liquidityShare = liquidityFeeOnBuy + liquidityFeeOnSell;
            uint256 marketingShare = marketingFeeOnBuy + marketingFeeOnSell;

            if (liquidityShare > 0) {
                uint256 liquidityTokens = (contractTokenBalance *
                    liquidityShare) / totalFee;
                swapAndLiquify(liquidityTokens);
            }

            if (marketingShare > 0) {
                uint256 marketingTokens = (contractTokenBalance *
                    marketingShare) / totalFee;
                swapAndSendMarketing(marketingTokens);
            }

            swapping = false;
        }

        uint256 _totalFees;

        // Calculate and apply transfer fees
        if (isExcludedFromFees(from) || isExcludedFromFees(to) || swapping) {
            _totalFees = 0;
        } else if (from == uniswapV2Pair) {
            _totalFees = _totalFeesOnBuy;
        } else if (to == uniswapV2Pair) {
            _totalFees = _totalFeesOnSell;
        } else {
            _totalFees = walletToWalletTransferFee;
        }

        if (_totalFees > 0) {
            uint256 fees = (amount * _totalFees) / 100;
            amount = amount - fees;
            super._transfer(from, address(this), fees);
        }

        // Perform the actual token transfer
        super._transfer(from, to, amount);
    }

    /**
     * @notice Private function to swap tokens for ETH and add liquidity to the Uniswap V2 pair.
     * @param tokens The amount of tokens to be swapped and liquified.
     * @dev This function performs a token-to-ETH swap using Uniswap V2 router and then adds the resulting
     *      ETH and remaining tokens to the liquidity pool of the contract's Uniswap V2 pair.
     * Emits a SwapAndLiquify event with details of the swap and added liquidity.
     */
    function swapAndLiquify(uint256 tokens) private {
        uint256 half = tokens / 2;
        uint256 otherHalf = tokens - half;

        uint256 initialBalance = address(this).balance;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            half,
            0,
            path,
            address(this),
            block.timestamp
        );

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

        uniswapV2Router.addLiquidityETH{value: newBalance}(
            address(this),
            otherHalf,
            0,
            0,
            address(0xdead),
            block.timestamp
        );

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    /**
     * @notice Private function to swap tokens for ETH and send ETH to the marketing wallet.
     * @param tokenAmount The amount of tokens to be swapped and sent as ETH to the marketing wallet.
     * @dev This function performs a token-to-ETH swap using Uniswap V2 router and sends the resulting
     *      ETH to the specified marketing wallet address.
     * Emits a SwapAndSendMarketing event with details of the swap and ETH sent to the marketing wallet.
     */
    function swapAndSendMarketing(uint256 tokenAmount) private {
        uint256 initialBalance = address(this).balance;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

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

        payable(marketingWallet).sendValue(newBalance);

        emit SwapAndSendMarketing(tokenAmount, newBalance);
    }
}

File 2 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 17 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 8 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 12 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 13 of 17 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 14 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 15 of 17 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 16 of 17 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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

    function WETH() external pure returns (address);

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

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

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

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

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

File 17 of 17 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./IUniswapV2Router01.sol";

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

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

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"marketingWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ForbiddenWithdrawalFromOwnContract","type":"error"},{"inputs":[],"name":"InvalidValue","type":"error"},{"inputs":[],"name":"MaxTransactionAmountExceeded","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[],"name":"TradingNotEnabled","type":"error"},{"inputs":[],"name":"UserIsAbuser","type":"error"},{"inputs":[],"name":"UserIsNotAbuser","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"users","type":"address[]"}],"name":"AddedToAbusers","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketingWallet","type":"address"}],"name":"MarketingWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"users","type":"address[]"}],"name":"RemovedFromAbusers","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendMarketing","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeOnBuy","type":"uint256"}],"name":"UpdateBuyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxBuyTransaction","type":"uint256"}],"name":"UpdateMaxBuyTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSellTransaction","type":"uint256"}],"name":"UpdateMaxSellTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"UpdateMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnSell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeOnSell","type":"uint256"}],"name":"UpdateSellFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"UpdateSwapTokensAtAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"walletToWalletTransferFee","type":"uint256"}],"name":"UpdateWalletToWalletTransferFee","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addAbusers","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isAbuser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isExcludedFromMaxTransaction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"removeAbusers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"_liquidityFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeOnBuy","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyTransaction","type":"uint256"}],"name":"updateMaxBuyTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSellTransaction","type":"uint256"}],"name":"updateMaxSellTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFeeOnSell","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeOnSell","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletToWalletTransferFee","type":"uint256"}],"name":"updateWalletToWalletTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletToWalletTransferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckBNB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526007805460ff60a81b191690556009805460ff191690553480156200002857600080fd5b5060405162004195380380620041958339810160408190526200004b91620006c4565b848460036200005b8382620007f4565b5060046200006a8282620007f4565b50505060008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d99190620008c0565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000127573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014d9190620008c0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c19190620008c0565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000202308360001962000336565b601480546001600160a01b0319166001600160a01b038581169182179092558682166000818152601660209081526040808320805460ff1990811660019081179092557f290d80ce586bfe95e1ebf348e3ba109df813891ad867417e64d38c5a50473b57805482168317905530808652838620805483168417905587865283862080548316841790558a8916865260179094528285208054821683179055968816845281842080548816821790557f43fedf50e12e5c047fbe3576d03ab50250348e9a6030f531ab6d4ce10f5b03038054881682179055938352808320805487168517905590825280822080548616841790559281529190912080549092161790556200031c856b033b2e3c9fd0803ce800000062000462565b6200032960008662000526565b5050505050505062000907565b6001600160a01b0383166200039e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000395565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620004ba5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000395565b8060026000828254620004ce9190620008e5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b620005328282620005b5565b620005225760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200056c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200060a57600080fd5b81516001600160401b0380821115620006275762000627620005e2565b604051601f8301601f19908116603f01168101908282118183101715620006525762000652620005e2565b816040528381526020925086838588010111156200066f57600080fd5b600091505b8382101562000693578582018301518183018401529082019062000674565b600093810190920192909252949350505050565b80516001600160a01b0381168114620006bf57600080fd5b919050565b600080600080600060a08688031215620006dd57600080fd5b85516001600160401b0380821115620006f557600080fd5b6200070389838a01620005f8565b965060208801519150808211156200071a57600080fd5b506200072988828901620005f8565b9450506200073a60408701620006a7565b92506200074a60608701620006a7565b91506200075a60808701620006a7565b90509295509295909350565b600181811c908216806200077b57607f821691505b6020821081036200079c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005b057600081815260208120601f850160051c81016020861015620007cb5750805b601f850160051c820191505b81811015620007ec57828155600101620007d7565b505050505050565b81516001600160401b03811115620008105762000810620005e2565b620008288162000821845462000766565b84620007a2565b602080601f831160018114620008605760008415620008475750858301515b600019600386901b1c1916600185901b178555620007ec565b600085815260208120601f198616915b82811015620008915788860151825594840194600190910190840162000870565b5085821015620008b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008d357600080fd5b620008de82620006a7565b9392505050565b80820180821115620005dc57634e487b7160e01b600052601160045260246000fd5b61387e80620009176000396000f3fe6080604052600436106103595760003560e01c806366ca9b83116101bb578063a9059cbb116100f7578063d131fa1811610095578063dc4c7dbc1161006f578063dc4c7dbc14610a8e578063dd62ed3e14610aa4578063e2f4560514610af7578063f275f64b14610b0d57600080fd5b8063d131fa1814610a2e578063d257b34f14610a4e578063d547741f14610a6e57600080fd5b8063c0246668116100d1578063c0246668146109b8578063c18bc195146109d8578063c66d57a8146109f8578063d090e93014610a0e57600080fd5b8063a9059cbb14610962578063aa4bde2814610982578063b08a63aa1461099857600080fd5b806379cc679011610164578063924de9b71161013e578063924de9b7146108f857806395d89b4114610918578063a217fddf1461092d578063a457c2d71461094257600080fd5b806379cc67901461086f5780637b3c83b11461088f57806391d14854146108a557600080fd5b806370a082311161019557806370a08231146107df5780637571336a1461082257806375f0a8741461084257600080fd5b806366ca9b83146107765780636ddd171314610796578063702509fd146107c957600080fd5b8063313ce567116102955780634ada218b116102335780635d098b381161020d5780635d098b38146107005780635dc08315146107205780635fc2e5961461074057806364c98c441461075657600080fd5b80634ada218b1461065a5780634fbee1931461067457806356229296146106ba57600080fd5b8063395093511161026f57806339509351146105d75780633b13cc16146105f757806342966c681461060d57806349bd5a5e1461062d57600080fd5b8063313ce5671461057b57806333039d3d1461059757806336568abe146105b757600080fd5b806318d9ceae11610302578063248a9ca3116102dc578063248a9ca3146104f557806325b86edf146105255780632ce86fbf146105455780632f2ff15d1461055b57600080fd5b806318d9ceae1461046f5780632172ce29146104b557806323b872dd146104d557600080fd5b8063095ea7b311610333578063095ea7b3146103de5780631694505e146103fe57806318160ddd1461045057600080fd5b806301ffc9a71461036557806302dbd8f81461039a57806306fdde03146103bc57600080fd5b3661036057005b600080fd5b34801561037157600080fd5b506103856103803660046131af565b610b2d565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103ba6103b53660046131f1565b610bc6565b005b3480156103c857600080fd5b506103d1610c32565b6040516103919190613237565b3480156103ea57600080fd5b506103856103f93660046132aa565b610cc4565b34801561040a57600080fd5b5060065461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610391565b34801561045c57600080fd5b506002545b604051908152602001610391565b34801561047b57600080fd5b5061038561048a3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526017602052604090205460ff1690565b3480156104c157600080fd5b506103ba6104d03660046132d6565b610cdc565b3480156104e157600080fd5b506103856104f03660046132f3565b610d0b565b34801561050157600080fd5b50610461610510366004613334565b60009081526005602052604090206001015490565b34801561053157600080fd5b506103ba61054036600461334d565b610d2f565b34801561055157600080fd5b50610461600e5481565b34801561056757600080fd5b506103ba610576366004613386565b610f0b565b34801561058757600080fd5b5060405160128152602001610391565b3480156105a357600080fd5b506104616b033b2e3c9fd0803ce800000081565b3480156105c357600080fd5b506103ba6105d2366004613386565b610f35565b3480156105e357600080fd5b506103856105f23660046132aa565b610fe9565b34801561060357600080fd5b50610461600b5481565b34801561061957600080fd5b506103ba610628366004613334565b611035565b34801561063957600080fd5b5060075461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561066657600080fd5b506009546103859060ff1681565b34801561068057600080fd5b5061038561068f3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526016602052604090205460ff1690565b3480156106c657600080fd5b506103856106d53660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526015602052604090205460ff1690565b34801561070c57600080fd5b506103ba61071b3660046132d6565b611042565b34801561072c57600080fd5b506103ba61073b366004613334565b611115565b34801561074c57600080fd5b50610461600f5481565b34801561076257600080fd5b506103ba610771366004613334565b611155565b34801561078257600080fd5b506103ba6107913660046131f1565b611195565b3480156107a257600080fd5b50600754610385907501000000000000000000000000000000000000000000900460ff1681565b3480156107d557600080fd5b5061046160135481565b3480156107eb57600080fd5b506104616107fa3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561082e57600080fd5b506103ba61083d3660046133b9565b6111f4565b34801561084e57600080fd5b5060145461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561087b57600080fd5b506103ba61088a3660046132aa565b611286565b34801561089b57600080fd5b50610461600d5481565b3480156108b157600080fd5b506103856108c0366004613386565b600091825260056020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b34801561090457600080fd5b506103ba6109133660046133e7565b61129b565b34801561092457600080fd5b506103d1611320565b34801561093957600080fd5b50610461600081565b34801561094e57600080fd5b5061038561095d3660046132aa565b61132f565b34801561096e57600080fd5b5061038561097d3660046132aa565b611400565b34801561098e57600080fd5b50610461600c5481565b3480156109a457600080fd5b506103ba6109b3366004613404565b61140e565b3480156109c457600080fd5b506103ba6109d33660046133b9565b61159c565b3480156109e457600080fd5b506103ba6109f3366004613334565b61162e565b348015610a0457600080fd5b50610461600a5481565b348015610a1a57600080fd5b506103ba610a29366004613404565b61166e565b348015610a3a57600080fd5b506103ba610a49366004613334565b6116b5565b348015610a5a57600080fd5b506103ba610a69366004613334565b6116f5565b348015610a7a57600080fd5b506103ba610a89366004613386565b611735565b348015610a9a57600080fd5b5061046160105481565b348015610ab057600080fd5b50610461610abf36600461334d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610b0357600080fd5b5061046160085481565b348015610b1957600080fd5b506103ba610b283660046133e7565b61175a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610bc057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000610bd1816117c4565b600e8390556010829055610be582846134a8565b601255600e546010546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c692610c2592908252602082015260400190565b60405180910390a1505050565b606060038054610c41906134bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6d906134bb565b8015610cba5780601f10610c8f57610100808354040283529160200191610cba565b820191906000526020600020905b815481529060010190602001808311610c9d57829003601f168201915b5050505050905090565b600033610cd28185856117ce565b5060019392505050565b6000610ce7816117c4565b610d0773ffffffffffffffffffffffffffffffffffffffff831647611981565b5050565b600033610d19858285611adb565b610d24858585611bb2565b506001949350505050565b6000610d3a816117c4565b73ffffffffffffffffffffffffffffffffffffffff8316610d87576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff841603610dd6576040517fda3bd41900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e67919061350e565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613527565b5050505050565b600082815260056020526040902060010154610f26816117c4565b610f308383612272565b505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610fdf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610d078282612366565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610cd290829086906110309087906134a8565b6117ce565b61103f3382612421565b50565b600061104d816117c4565b73ffffffffffffffffffffffffffffffffffffffff821661109a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091556040519081527fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b906020015b60405180910390a15050565b6000611120816117c4565b600b8290556040518281527f39ab384c535b9c09d0c5aeda16ed9e72af81e4cc86b58ceb956a5d8d756a56ff90602001611109565b6000611160816117c4565b60138290556040518281527f925fa17eb1bbdac8e18750276099046910212e51b0d15da024f67ce9fb25cc9b90602001611109565b60006111a0816117c4565b600d839055600f8290556111b482846134a8565b601155600d54600f546040517fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc5092610c2592908252602082015260400190565b60006111ff816117c4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526017602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558251938452908301527f388758d239a7790471b273e3760fe65d6424024ca3adb4582f843cec8e71ba5e9101610c25565b611291823383611adb565b610d078282612421565b60006112a6816117c4565b600780548315157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061110990841515815260200190565b606060048054610c41906134bb565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156113f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610fd6565b610d2482868684036117ce565b600033610cd2818585611bb2565b6000611419816117c4565b8160005b8181101561155c57600085858381811061143957611439613544565b905060200201602081019061144e91906132d6565b905073ffffffffffffffffffffffffffffffffffffffff811661149d576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604081205460ff1615159003611500576040517f5ac0a7cf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690558061155481613573565b91505061141d565b507f3cf1804386c6af6bc1ca4bce8aa9a3800e20214a368563af1bc166f3d56fff5d848460405161158e9291906135ab565b60405180910390a150505050565b60006115a7816117c4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526016602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558251938452908301527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610c25565b6000611639816117c4565b600c8290556040518281527fca869b80d9857b4e591dfb87f841df783ee2d02361537f912d1db7c825ed50ee90602001611109565b6000611679816117c4565b610f308383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506125e592505050565b60006116c0816117c4565b600a8290556040518281527f8ef28fccbe1213d09784597b853a42a371ea438e44d053e564cf48d7476ddbac90602001611109565b6000611700816117c4565b60088290556040518281527fe82283d0f679a15d3811ecbaa8b6a8afb1b110e22daa33b359c37bcae5a11e4890602001611109565b600082815260056020526040902060010154611750816117c4565b610f308383612366565b6000611765816117c4565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315159081179091556040519081527fbeda7dca7bc1b3e80b871f4818129ec73b771581f803d553aeb3484098e5f65a90602001611109565b61103f8133612769565b73ffffffffffffffffffffffffffffffffffffffff8316611870576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8216611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b804710156119eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610fd6565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611a45576040519150601f19603f3d011682016040523d82523d6000602084013e611a4a565b606091505b5050905080610f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611bac5781811015611b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610fd6565b611bac84848484036117ce565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83161580611be9575073ffffffffffffffffffffffffffffffffffffffff8216155b15611c20576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611c5a576040517faa7feadc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526015602052604090205460ff1680611cb3575073ffffffffffffffffffffffffffffffffffffffff821660009081526015602052604090205460ff165b15611cea576040517f653e853500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16158015611d46575073ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16155b15611d875760095460ff16611d87576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075473ffffffffffffffffffffffffffffffffffffffff8481169116148015611dd7575073ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16155b15611e8857600a54811115611e18576040517f6384cb8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5473ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054611e4b90836134a8565b1115611e83576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fb1565b60075473ffffffffffffffffffffffffffffffffffffffff8381169116148015611ed8575073ffffffffffffffffffffffffffffffffffffffff831660009081526017602052604090205460ff16155b15611f1957600b54811115611e83576040517f6384cb8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16611fb157600c5473ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054611f7990836134a8565b1115611fb1576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b30600090815260208190526040812054908115801590611fd357506008548210155b9050808015611ffd575060075474010000000000000000000000000000000000000000900460ff16155b8015612023575060075473ffffffffffffffffffffffffffffffffffffffff8581169116145b801561203e5750600060125460115461203c91906134a8565b115b1561213e57600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055601254601154600091612094916134a8565b90506000600e54600d546120a891906134a8565b90506000601054600f546120bc91906134a8565b905081156120e8576000836120d18488613606565b6120db919061361d565b90506120e681612823565b505b8015612112576000836120fb8388613606565b612105919061361d565b905061211081612ae0565b505b5050600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055505b73ffffffffffffffffffffffffffffffffffffffff851660009081526016602052604081205460ff1680612197575073ffffffffffffffffffffffffffffffffffffffff851660009081526016602052604090205460ff165b806121bc575060075474010000000000000000000000000000000000000000900460ff165b156121c957506000612226565b60075473ffffffffffffffffffffffffffffffffffffffff908116908716036121f55750601154612226565b60075473ffffffffffffffffffffffffffffffffffffffff908116908616036122215750601254612226565b506013545b801561225f576000606461223a8387613606565b612244919061361d565b90506122508186613658565b945061225d873083612cd7565b505b61226a868686612cd7565b505050505050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610d0757600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556123083390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610d0757600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff82166124c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548181101561257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b805160005b8181101561273957600083828151811061260657612606613544565b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612676576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604090205460ff1615156001036126da576040517f653e853500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558061273181613573565b9150506125ea565b507f99c3dba41c5074277b39f1018478d78d2afdf74cde13d45a54519fd6fa6988f38260405161110991906136bc565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610d07576127a981612f46565b6127b4836020612f65565b6040516020016127c59291906136cf565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a0000000000000000000000000000000000000000000000000000000008252610fd691600401613237565b600061283060028361361d565b9050600061283e8284613658565b6040805160028082526060820183529293504792600092602083019080368337019050509050308160008151811061287857612878613544565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156128f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291b919061377f565b8160018151811061292e5761292e613544565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac9479061299a90879060009086903090429060040161379c565b600060405180830381600087803b1580156129b457600080fd5b505af11580156129c8573d6000803e3d6000fd5b50505050600082476129da9190613658565b6006546040517ff305d71900000000000000000000000000000000000000000000000000000000815230600482015260248101879052600060448201819052606482015261dead60848201524260a482015291925073ffffffffffffffffffffffffffffffffffffffff169063f305d71990839060c40160606040518083038185885af1158015612a6f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a9491906137e5565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b604080516002808252606082018352479260009291906020830190803683370190505090503081600081518110612b1957612b19613544565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc919061377f565b81600181518110612bcf57612bcf613544565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac94790612c3b90869060009086903090429060040161379c565b600060405180830381600087803b158015612c5557600080fd5b505af1158015612c69573d6000803e3d6000fd5b5050505060008247612c7b9190613658565b601454909150612ca19073ffffffffffffffffffffffffffffffffffffffff1682611981565b60408051858152602081018390527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e62999910161158e565b73ffffffffffffffffffffffffffffffffffffffff8316612d7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8216612e1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015612ed3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611bac565b6060610bc073ffffffffffffffffffffffffffffffffffffffff831660145b60606000612f74836002613606565b612f7f9060026134a8565b67ffffffffffffffff811115612f9757612f97613750565b6040519080825280601f01601f191660200182016040528015612fc1576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612ff857612ff8613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061305b5761305b613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000613097846002613606565b6130a29060016134a8565b90505b600181111561313f577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106130e3576130e3613544565b1a60f81b8282815181106130f9576130f9613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361313881613813565b90506130a5565b5083156131a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610fd6565b9392505050565b6000602082840312156131c157600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146131a857600080fd5b6000806040838503121561320457600080fd5b50508035926020909101359150565b60005b8381101561322e578181015183820152602001613216565b50506000910152565b6020815260008251806020840152613256816040850160208701613213565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461103f57600080fd5b600080604083850312156132bd57600080fd5b82356132c881613288565b946020939093013593505050565b6000602082840312156132e857600080fd5b81356131a881613288565b60008060006060848603121561330857600080fd5b833561331381613288565b9250602084013561332381613288565b929592945050506040919091013590565b60006020828403121561334657600080fd5b5035919050565b6000806040838503121561336057600080fd5b823561336b81613288565b9150602083013561337b81613288565b809150509250929050565b6000806040838503121561339957600080fd5b82359150602083013561337b81613288565b801515811461103f57600080fd5b600080604083850312156133cc57600080fd5b82356133d781613288565b9150602083013561337b816133ab565b6000602082840312156133f957600080fd5b81356131a8816133ab565b6000806020838503121561341757600080fd5b823567ffffffffffffffff8082111561342f57600080fd5b818501915085601f83011261344357600080fd5b81358181111561345257600080fd5b8660208260051b850101111561346757600080fd5b60209290920196919550909350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610bc057610bc0613479565b600181811c908216806134cf57607f821691505b602082108103613508577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561352057600080fd5b5051919050565b60006020828403121561353957600080fd5b81516131a8816133ab565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135a4576135a4613479565b5060010190565b60208082528181018390526000908460408401835b868110156135fb5782356135d381613288565b73ffffffffffffffffffffffffffffffffffffffff16825291830191908301906001016135c0565b509695505050505050565b8082028115828204841417610bc057610bc0613479565b600082613653577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610bc057610bc0613479565b600081518084526020808501945080840160005b838110156136b157815173ffffffffffffffffffffffffffffffffffffffff168752958201959082019060010161367f565b509495945050505050565b6020815260006131a8602083018461366b565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613707816017850160208801613213565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613744816028840160208801613213565b01602801949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561379157600080fd5b81516131a881613288565b85815284602082015260a0604082015260006137bb60a083018661366b565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b6000806000606084860312156137fa57600080fd5b8351925060208401519150604084015190509250925092565b60008161382257613822613479565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fea2646970667358221220ccfc04fd4a880cacda27908f586364b8e2f550b60e422e41c8f77094b0a0e8db64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000002183991423fd25f0b4d3167801fac259722ab7700000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000004dda5aea6956a2974e956dd6dfac5479fb4e47080000000000000000000000000000000000000000000000000000000000000015426172626965416c69656e446f67656865696d657200000000000000000000000000000000000000000000000000000000000000000000000000000000000009574f524c44434f494e0000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103595760003560e01c806366ca9b83116101bb578063a9059cbb116100f7578063d131fa1811610095578063dc4c7dbc1161006f578063dc4c7dbc14610a8e578063dd62ed3e14610aa4578063e2f4560514610af7578063f275f64b14610b0d57600080fd5b8063d131fa1814610a2e578063d257b34f14610a4e578063d547741f14610a6e57600080fd5b8063c0246668116100d1578063c0246668146109b8578063c18bc195146109d8578063c66d57a8146109f8578063d090e93014610a0e57600080fd5b8063a9059cbb14610962578063aa4bde2814610982578063b08a63aa1461099857600080fd5b806379cc679011610164578063924de9b71161013e578063924de9b7146108f857806395d89b4114610918578063a217fddf1461092d578063a457c2d71461094257600080fd5b806379cc67901461086f5780637b3c83b11461088f57806391d14854146108a557600080fd5b806370a082311161019557806370a08231146107df5780637571336a1461082257806375f0a8741461084257600080fd5b806366ca9b83146107765780636ddd171314610796578063702509fd146107c957600080fd5b8063313ce567116102955780634ada218b116102335780635d098b381161020d5780635d098b38146107005780635dc08315146107205780635fc2e5961461074057806364c98c441461075657600080fd5b80634ada218b1461065a5780634fbee1931461067457806356229296146106ba57600080fd5b8063395093511161026f57806339509351146105d75780633b13cc16146105f757806342966c681461060d57806349bd5a5e1461062d57600080fd5b8063313ce5671461057b57806333039d3d1461059757806336568abe146105b757600080fd5b806318d9ceae11610302578063248a9ca3116102dc578063248a9ca3146104f557806325b86edf146105255780632ce86fbf146105455780632f2ff15d1461055b57600080fd5b806318d9ceae1461046f5780632172ce29146104b557806323b872dd146104d557600080fd5b8063095ea7b311610333578063095ea7b3146103de5780631694505e146103fe57806318160ddd1461045057600080fd5b806301ffc9a71461036557806302dbd8f81461039a57806306fdde03146103bc57600080fd5b3661036057005b600080fd5b34801561037157600080fd5b506103856103803660046131af565b610b2d565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103ba6103b53660046131f1565b610bc6565b005b3480156103c857600080fd5b506103d1610c32565b6040516103919190613237565b3480156103ea57600080fd5b506103856103f93660046132aa565b610cc4565b34801561040a57600080fd5b5060065461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610391565b34801561045c57600080fd5b506002545b604051908152602001610391565b34801561047b57600080fd5b5061038561048a3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526017602052604090205460ff1690565b3480156104c157600080fd5b506103ba6104d03660046132d6565b610cdc565b3480156104e157600080fd5b506103856104f03660046132f3565b610d0b565b34801561050157600080fd5b50610461610510366004613334565b60009081526005602052604090206001015490565b34801561053157600080fd5b506103ba61054036600461334d565b610d2f565b34801561055157600080fd5b50610461600e5481565b34801561056757600080fd5b506103ba610576366004613386565b610f0b565b34801561058757600080fd5b5060405160128152602001610391565b3480156105a357600080fd5b506104616b033b2e3c9fd0803ce800000081565b3480156105c357600080fd5b506103ba6105d2366004613386565b610f35565b3480156105e357600080fd5b506103856105f23660046132aa565b610fe9565b34801561060357600080fd5b50610461600b5481565b34801561061957600080fd5b506103ba610628366004613334565b611035565b34801561063957600080fd5b5060075461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561066657600080fd5b506009546103859060ff1681565b34801561068057600080fd5b5061038561068f3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526016602052604090205460ff1690565b3480156106c657600080fd5b506103856106d53660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526015602052604090205460ff1690565b34801561070c57600080fd5b506103ba61071b3660046132d6565b611042565b34801561072c57600080fd5b506103ba61073b366004613334565b611115565b34801561074c57600080fd5b50610461600f5481565b34801561076257600080fd5b506103ba610771366004613334565b611155565b34801561078257600080fd5b506103ba6107913660046131f1565b611195565b3480156107a257600080fd5b50600754610385907501000000000000000000000000000000000000000000900460ff1681565b3480156107d557600080fd5b5061046160135481565b3480156107eb57600080fd5b506104616107fa3660046132d6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561082e57600080fd5b506103ba61083d3660046133b9565b6111f4565b34801561084e57600080fd5b5060145461042b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561087b57600080fd5b506103ba61088a3660046132aa565b611286565b34801561089b57600080fd5b50610461600d5481565b3480156108b157600080fd5b506103856108c0366004613386565b600091825260056020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b34801561090457600080fd5b506103ba6109133660046133e7565b61129b565b34801561092457600080fd5b506103d1611320565b34801561093957600080fd5b50610461600081565b34801561094e57600080fd5b5061038561095d3660046132aa565b61132f565b34801561096e57600080fd5b5061038561097d3660046132aa565b611400565b34801561098e57600080fd5b50610461600c5481565b3480156109a457600080fd5b506103ba6109b3366004613404565b61140e565b3480156109c457600080fd5b506103ba6109d33660046133b9565b61159c565b3480156109e457600080fd5b506103ba6109f3366004613334565b61162e565b348015610a0457600080fd5b50610461600a5481565b348015610a1a57600080fd5b506103ba610a29366004613404565b61166e565b348015610a3a57600080fd5b506103ba610a49366004613334565b6116b5565b348015610a5a57600080fd5b506103ba610a69366004613334565b6116f5565b348015610a7a57600080fd5b506103ba610a89366004613386565b611735565b348015610a9a57600080fd5b5061046160105481565b348015610ab057600080fd5b50610461610abf36600461334d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610b0357600080fd5b5061046160085481565b348015610b1957600080fd5b506103ba610b283660046133e7565b61175a565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610bc057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000610bd1816117c4565b600e8390556010829055610be582846134a8565b601255600e546010546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c692610c2592908252602082015260400190565b60405180910390a1505050565b606060038054610c41906134bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6d906134bb565b8015610cba5780601f10610c8f57610100808354040283529160200191610cba565b820191906000526020600020905b815481529060010190602001808311610c9d57829003601f168201915b5050505050905090565b600033610cd28185856117ce565b5060019392505050565b6000610ce7816117c4565b610d0773ffffffffffffffffffffffffffffffffffffffff831647611981565b5050565b600033610d19858285611adb565b610d24858585611bb2565b506001949350505050565b6000610d3a816117c4565b73ffffffffffffffffffffffffffffffffffffffff8316610d87576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff841603610dd6576040517fda3bd41900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e67919061350e565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613527565b5050505050565b600082815260056020526040902060010154610f26816117c4565b610f308383612272565b505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610fdf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610d078282612366565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610cd290829086906110309087906134a8565b6117ce565b61103f3382612421565b50565b600061104d816117c4565b73ffffffffffffffffffffffffffffffffffffffff821661109a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091556040519081527fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b906020015b60405180910390a15050565b6000611120816117c4565b600b8290556040518281527f39ab384c535b9c09d0c5aeda16ed9e72af81e4cc86b58ceb956a5d8d756a56ff90602001611109565b6000611160816117c4565b60138290556040518281527f925fa17eb1bbdac8e18750276099046910212e51b0d15da024f67ce9fb25cc9b90602001611109565b60006111a0816117c4565b600d839055600f8290556111b482846134a8565b601155600d54600f546040517fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc5092610c2592908252602082015260400190565b60006111ff816117c4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526017602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558251938452908301527f388758d239a7790471b273e3760fe65d6424024ca3adb4582f843cec8e71ba5e9101610c25565b611291823383611adb565b610d078282612421565b60006112a6816117c4565b600780548315157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061110990841515815260200190565b606060048054610c41906134bb565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156113f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610fd6565b610d2482868684036117ce565b600033610cd2818585611bb2565b6000611419816117c4565b8160005b8181101561155c57600085858381811061143957611439613544565b905060200201602081019061144e91906132d6565b905073ffffffffffffffffffffffffffffffffffffffff811661149d576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604081205460ff1615159003611500576040517f5ac0a7cf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690558061155481613573565b91505061141d565b507f3cf1804386c6af6bc1ca4bce8aa9a3800e20214a368563af1bc166f3d56fff5d848460405161158e9291906135ab565b60405180910390a150505050565b60006115a7816117c4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526016602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558251938452908301527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610c25565b6000611639816117c4565b600c8290556040518281527fca869b80d9857b4e591dfb87f841df783ee2d02361537f912d1db7c825ed50ee90602001611109565b6000611679816117c4565b610f308383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506125e592505050565b60006116c0816117c4565b600a8290556040518281527f8ef28fccbe1213d09784597b853a42a371ea438e44d053e564cf48d7476ddbac90602001611109565b6000611700816117c4565b60088290556040518281527fe82283d0f679a15d3811ecbaa8b6a8afb1b110e22daa33b359c37bcae5a11e4890602001611109565b600082815260056020526040902060010154611750816117c4565b610f308383612366565b6000611765816117c4565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315159081179091556040519081527fbeda7dca7bc1b3e80b871f4818129ec73b771581f803d553aeb3484098e5f65a90602001611109565b61103f8133612769565b73ffffffffffffffffffffffffffffffffffffffff8316611870576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8216611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b804710156119eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610fd6565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611a45576040519150601f19603f3d011682016040523d82523d6000602084013e611a4a565b606091505b5050905080610f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611bac5781811015611b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610fd6565b611bac84848484036117ce565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83161580611be9575073ffffffffffffffffffffffffffffffffffffffff8216155b15611c20576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611c5a576040517faa7feadc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526015602052604090205460ff1680611cb3575073ffffffffffffffffffffffffffffffffffffffff821660009081526015602052604090205460ff165b15611cea576040517f653e853500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526016602052604090205460ff16158015611d46575073ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16155b15611d875760095460ff16611d87576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075473ffffffffffffffffffffffffffffffffffffffff8481169116148015611dd7575073ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16155b15611e8857600a54811115611e18576040517f6384cb8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5473ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054611e4b90836134a8565b1115611e83576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fb1565b60075473ffffffffffffffffffffffffffffffffffffffff8381169116148015611ed8575073ffffffffffffffffffffffffffffffffffffffff831660009081526017602052604090205460ff16155b15611f1957600b54811115611e83576040517f6384cb8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526017602052604090205460ff16611fb157600c5473ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054611f7990836134a8565b1115611fb1576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b30600090815260208190526040812054908115801590611fd357506008548210155b9050808015611ffd575060075474010000000000000000000000000000000000000000900460ff16155b8015612023575060075473ffffffffffffffffffffffffffffffffffffffff8581169116145b801561203e5750600060125460115461203c91906134a8565b115b1561213e57600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055601254601154600091612094916134a8565b90506000600e54600d546120a891906134a8565b90506000601054600f546120bc91906134a8565b905081156120e8576000836120d18488613606565b6120db919061361d565b90506120e681612823565b505b8015612112576000836120fb8388613606565b612105919061361d565b905061211081612ae0565b505b5050600780547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055505b73ffffffffffffffffffffffffffffffffffffffff851660009081526016602052604081205460ff1680612197575073ffffffffffffffffffffffffffffffffffffffff851660009081526016602052604090205460ff165b806121bc575060075474010000000000000000000000000000000000000000900460ff165b156121c957506000612226565b60075473ffffffffffffffffffffffffffffffffffffffff908116908716036121f55750601154612226565b60075473ffffffffffffffffffffffffffffffffffffffff908116908616036122215750601254612226565b506013545b801561225f576000606461223a8387613606565b612244919061361d565b90506122508186613658565b945061225d873083612cd7565b505b61226a868686612cd7565b505050505050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610d0757600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556123083390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610d0757600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff82166124c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548181101561257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b805160005b8181101561273957600083828151811061260657612606613544565b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612676576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604090205460ff1615156001036126da576040517f653e853500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260156020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558061273181613573565b9150506125ea565b507f99c3dba41c5074277b39f1018478d78d2afdf74cde13d45a54519fd6fa6988f38260405161110991906136bc565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610d07576127a981612f46565b6127b4836020612f65565b6040516020016127c59291906136cf565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a0000000000000000000000000000000000000000000000000000000008252610fd691600401613237565b600061283060028361361d565b9050600061283e8284613658565b6040805160028082526060820183529293504792600092602083019080368337019050509050308160008151811061287857612878613544565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156128f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291b919061377f565b8160018151811061292e5761292e613544565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac9479061299a90879060009086903090429060040161379c565b600060405180830381600087803b1580156129b457600080fd5b505af11580156129c8573d6000803e3d6000fd5b50505050600082476129da9190613658565b6006546040517ff305d71900000000000000000000000000000000000000000000000000000000815230600482015260248101879052600060448201819052606482015261dead60848201524260a482015291925073ffffffffffffffffffffffffffffffffffffffff169063f305d71990839060c40160606040518083038185885af1158015612a6f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a9491906137e5565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b604080516002808252606082018352479260009291906020830190803683370190505090503081600081518110612b1957612b19613544565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc919061377f565b81600181518110612bcf57612bcf613544565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac94790612c3b90869060009086903090429060040161379c565b600060405180830381600087803b158015612c5557600080fd5b505af1158015612c69573d6000803e3d6000fd5b5050505060008247612c7b9190613658565b601454909150612ca19073ffffffffffffffffffffffffffffffffffffffff1682611981565b60408051858152602081018390527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e62999910161158e565b73ffffffffffffffffffffffffffffffffffffffff8316612d7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff8216612e1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015612ed3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610fd6565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611bac565b6060610bc073ffffffffffffffffffffffffffffffffffffffff831660145b60606000612f74836002613606565b612f7f9060026134a8565b67ffffffffffffffff811115612f9757612f97613750565b6040519080825280601f01601f191660200182016040528015612fc1576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612ff857612ff8613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061305b5761305b613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000613097846002613606565b6130a29060016134a8565b90505b600181111561313f577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106130e3576130e3613544565b1a60f81b8282815181106130f9576130f9613544565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361313881613813565b90506130a5565b5083156131a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610fd6565b9392505050565b6000602082840312156131c157600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146131a857600080fd5b6000806040838503121561320457600080fd5b50508035926020909101359150565b60005b8381101561322e578181015183820152602001613216565b50506000910152565b6020815260008251806020840152613256816040850160208701613213565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461103f57600080fd5b600080604083850312156132bd57600080fd5b82356132c881613288565b946020939093013593505050565b6000602082840312156132e857600080fd5b81356131a881613288565b60008060006060848603121561330857600080fd5b833561331381613288565b9250602084013561332381613288565b929592945050506040919091013590565b60006020828403121561334657600080fd5b5035919050565b6000806040838503121561336057600080fd5b823561336b81613288565b9150602083013561337b81613288565b809150509250929050565b6000806040838503121561339957600080fd5b82359150602083013561337b81613288565b801515811461103f57600080fd5b600080604083850312156133cc57600080fd5b82356133d781613288565b9150602083013561337b816133ab565b6000602082840312156133f957600080fd5b81356131a8816133ab565b6000806020838503121561341757600080fd5b823567ffffffffffffffff8082111561342f57600080fd5b818501915085601f83011261344357600080fd5b81358181111561345257600080fd5b8660208260051b850101111561346757600080fd5b60209290920196919550909350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610bc057610bc0613479565b600181811c908216806134cf57607f821691505b602082108103613508577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561352057600080fd5b5051919050565b60006020828403121561353957600080fd5b81516131a8816133ab565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135a4576135a4613479565b5060010190565b60208082528181018390526000908460408401835b868110156135fb5782356135d381613288565b73ffffffffffffffffffffffffffffffffffffffff16825291830191908301906001016135c0565b509695505050505050565b8082028115828204841417610bc057610bc0613479565b600082613653577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610bc057610bc0613479565b600081518084526020808501945080840160005b838110156136b157815173ffffffffffffffffffffffffffffffffffffffff168752958201959082019060010161367f565b509495945050505050565b6020815260006131a8602083018461366b565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613707816017850160208801613213565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613744816028840160208801613213565b01602801949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561379157600080fd5b81516131a881613288565b85815284602082015260a0604082015260006137bb60a083018661366b565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b6000806000606084860312156137fa57600080fd5b8351925060208401519150604084015190509250925092565b60008161382257613822613479565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fea2646970667358221220ccfc04fd4a880cacda27908f586364b8e2f550b60e422e41c8f77094b0a0e8db64736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000002183991423fd25f0b4d3167801fac259722ab7700000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000004dda5aea6956a2974e956dd6dfac5479fb4e47080000000000000000000000000000000000000000000000000000000000000015426172626965416c69656e446f67656865696d657200000000000000000000000000000000000000000000000000000000000000000000000000000000000009574f524c44434f494e0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): BarbieAlienDogeheimer
Arg [1] : symbol_ (string): WORLDCOIN
Arg [2] : admin_ (address): 0x2183991423fd25f0b4D3167801FAC259722AB770
Arg [3] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [4] : marketingWallet_ (address): 0x4Dda5aEA6956A2974e956dd6dFac5479fb4E4708

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000002183991423fd25f0b4d3167801fac259722ab770
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 0000000000000000000000004dda5aea6956a2974e956dd6dfac5479fb4e4708
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [6] : 426172626965416c69656e446f67656865696d65720000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 574f524c44434f494e0000000000000000000000000000000000000000000000


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.