false
true
0

Contract Address Details

0x9B3B6b8fF7434e9ec2b6D3B032b98152CCF4D266

Token
$INCOGNITO ($INCOGNITO)
Creator
0xc363e7–cbd742 at 0x118ec1–d03f6a
Balance
890,001.899130050556788627 PLS ( )
Tokens
Fetching tokens...
Transactions
97,501 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
25929905
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
INCOGNITO




Optimization enabled
true
Compiler version
v0.8.28+commit.7893614a




Optimization runs
1000000
EVM Version
paris




Verified at
2024-11-28T17:37:11.847752Z

Constructor Arguments

0x00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe0000000000000000000000000f66acd0cf50e406196c42a010de46228e4081fed000000000000000000000000c57228e9b719f179ee403efcc240ac7b33ab82a9000000000000000000000000000000000000000000000000000000000000000a24494e434f474e49544f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a24494e434f474e49544f00000000000000000000000000000000000000000000

Arg [0] (string) : $INCOGNITO
Arg [1] (string) : $INCOGNITO
Arg [2] (address) : 0xfb7103d7011dfa60c18c6961c5a38038d8048fe0
Arg [3] (address) : 0xf66acd0cf50e406196c42a010de46228e4081fed
Arg [4] (address) : 0xc57228e9b719f179ee403efcc240ac7b33ab82a9

              

contracts/INCOGNITO.sol

/*
 * @title $INCOGNITO - Earn Incentive (INC) tokens
 * @author Ra Murd <ramurd@pulselorian.com>
 * @notice https://pulselorian.com/
 * @notice https://t.me/ThePulselorian
 * @notice https://twitter.com/ThePulseLorian
 *
 * It's deflationary, burns portion of the fees, yields rest of the fees in INC tokens
 *
 *    (   (  (  (     (   (( (   .  (   (    (( (   ((
 *    )\  )\ )\ )\    )\ (\())\   . )\  )\   ))\)\  ))\
 *   ((_)((_)(_)(_)  ((_))(_)(_)   ((_)((_)(((_)_()((_)))
 *   | _ \ | | | |  / __| __| |   / _ \| _ \_ _|   \ \| |
 *   |  _/ |_| | |__\__ \ _|| |__| (_) |   /| || - | .  |
 *   |_|  \___/|____|___/___|____|\___/|_|_\___|_|_|_|\_|
 *
 * Tokenomics (initial fees):
 *          Buy      Sell     Transfer
 * Yield    4.50%    4.50%    0.00%
 * Burn     0.50%    0.50%    0.00%
 * BurnINC  (1/6th of Yield fee)
 *
 * SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.28;

import "./@openzeppelin/access/Ownable.sol";
import "./@openzeppelin/token/ERC20/utils/SafeERC20.sol";
import "./@uniswap/v2-core/interfaces/IUniswapV2Factory.sol";
import "./@uniswap/v2-core/interfaces/IUniswapV2Pair.sol";
import "./@uniswap/v2-periphery/interfaces/IUniswapV2Router02.sol";
import "./lib/Airdroppable.sol";
import "./lib/DSMath.sol";
import "./lib/ERC20.sol";
import "./lib/ERC20Permit.sol";
import "./lib/Utils.sol";

contract INCOGNITO is Airdroppable, DSMath, ERC20, ERC20Permit, Ownable, Utils {
    using SafeERC20 for IERC20;

    enum Fees {
        BurnFee,
        YieldFee,
        BurnINCFee,
        DevToll,
        LPToll,
        TknToll
    }

    struct WalletInfo {
        uint256 share;
        uint256 yieldDebt;
        uint256 yieldPaid;
    }

    IERC20 public immutable rwdInst =
        IERC20(0x2fa878Ab3F87CC1C9737Fc071108F904c0B0C95d); // INC
    IUniswapV2Pair public plsV2LP;
    IUniswapV2Pair[] public lps;
    IUniswapV2Router02 public constant routerInst =
        IUniswapV2Router02(0x165C3410fC91EF562C50559f7d2289fEbed552d9); // V2 PulseX Router

    address private _devAddr1;
    address private _devAddr2;
    address private _lpAddr;
    address _tknAddr = 0xc1b4EfB8086a4a366712C851b1E3DB035eCC0532; // IncX mainnet

    address[] public wallets;

    bool private _swapping;
    bool public payoutEnabled = true;
    bool public swapEnabled = true;

    mapping(IUniswapV2Pair => uint24) public lpBips;
    mapping(address => WalletInfo) public walletInfo;
    mapping(address => bool) public isMyLP;
    mapping(address => bool) public noFee;
    mapping(address => bool) public noYield;
    mapping(address => uint256) public walletClaimTS;
    mapping(address => uint256) public walletIndex;

    uint16 private constant _BIPS = 10000;
    uint16 private constant _MAX_FEE = 500;
    uint16 private constant _MAX_TOLL = 10;
    uint16[] public fees = new uint16[](uint256(type(Fees).max) + 1);

    uint24 public lpFactor = 1000; // 0.033% - 1=100%, 100=1%, 1000=0.1%
    uint24 public maxGas = 200000;
    uint24 public minWaitSec = 43200; // 12 hours

    uint32 public currIndex;

    uint64 private constant _MULTIPLIER = 1e18;

    uint96 private constant _YIELDX = 1e27;
    uint96 public minYield = 483 * 1e13; // 0.00483 INC has 18 decimals

    uint256 private _feeDues;
    uint256 public launchBlock;
    uint256 public shareYieldRay;
    uint256 public totalPaid;
    uint256 public totalShares;
    uint256 public totalYield;
    uint256 public totalINCBurnt;

    constructor(
        string memory name,
        string memory symbol,
        address devAddr1_,
        address devAddr2_,
        address lpAddr_
    )
        ERC20(name, symbol)
        ERC20Permit(name)
    {
        _devAddr1 = devAddr1_;
        _devAddr2 = devAddr2_;
        _lpAddr = lpAddr_;
        address plsLPAddr = IUniswapV2Factory(routerInst.factory()).createPair(
            address(this),
            routerInst.WPLS()
        );

        plsV2LP = IUniswapV2Pair(plsLPAddr);
        isMyLP[plsLPAddr] = true;
        lps.push(plsV2LP);
        lpBips[plsV2LP] = 20000; // 2x

        fees[uint256(Fees.BurnFee)] = 50; // 0.5%
        fees[uint256(Fees.YieldFee)] = 450; // 4.5%
        fees[uint256(Fees.BurnINCFee)] = 75; // 1/6th
        fees[uint256(Fees.DevToll)] = 3; // 0.135%
        fees[uint256(Fees.LPToll)] = 6;
        fees[uint256(Fees.TknToll)] = 5;

        noFee[_msgSender()] = true;
        noFee[address(this)] = true;
        noFee[address(routerInst)] = true;

        noYield[address(0)] = true;
        noYield[address(0x369)] = true;
        noYield[address(this)] = true;
        noYield[plsLPAddr] = true;

        _mint(_msgSender(), 1e27); // 1 billion * 1e18
        _grantRole(GOVERN_ROLE, _msgSender());
    }

    receive() external payable {}

    function _buyTkn(uint256 tknAmt_) private {
        if (tknAmt_ == 0) return;
        address[] memory path = new address[](3);
        path[0] = address(rwdInst);
        path[1] = routerInst.WPLS();
        path[2] = _tknAddr;

        rwdInst.approve(address(routerInst), tknAmt_);
        try
            routerInst.swapExactTokensForTokensSupportingFeeOnTransferTokens(
                tknAmt_,
                0,
                path,
                address(0x369),
                block.timestamp
            )
        {} catch {}
    }

    function _calcFees(
        uint256 amt_,
        bool isFromLP_,
        bool isToLP_
    ) private view returns (uint256 burnFee, uint256 yieldFee) {
        if (isToLP_ || isFromLP_) {
            burnFee = (amt_ * fees[uint256(Fees.BurnFee)]) / _BIPS;
            yieldFee = (amt_ * fees[uint256(Fees.YieldFee)]) / _BIPS;
        }

        return (burnFee, yieldFee);
    }

    function _calcShares(
        address target_
    ) private view returns (uint256 shares) {
        uint256 lpShares;
        uint256 lpCount = lps.length;
        for (uint256 index = 0; index < lpCount; index++) {
            lpShares += ((lps[index].balanceOf(target_) * lpBips[lps[index]]) /
                _BIPS);
        }
        return balanceOf(target_) + lpShares;
    }

    function _checkIfMyLP(address target_) private returns (bool) {
        if (target_.code.length == 0) return false;
        if (!isMyLP[target_]) {
            (address token0, address token1) = Utils._getTokens(target_);
            if (token0 == address(this) || token1 == address(this)) {
                isMyLP[target_] = true;
                noYield[target_] = true;
            }
        }
        return isMyLP[target_];
    }

    function _disableYield(address wallet_) private {
        uint256 index = walletIndex[wallet_];
        uint256 walletCount = wallets.length;

        if (index < walletCount - 1) {
            address lastWallet = wallets[walletCount - 1];
            wallets[index] = lastWallet;
            walletIndex[lastWallet] = index;
        }

        wallets.pop();
        delete walletIndex[wallet_];
    }

    function _enableYield(address wallet_) private {
        uint256 index = wallets.length;
        walletIndex[wallet_] = index;
        wallets.push(wallet_);
    }

    function _getCummYield(uint256 share_) private view returns (uint256) {
        return (share_ * shareYieldRay) / _YIELDX;
    }

    function _isPayEligible(address wallet_) private view returns (bool) {
        return
            (walletClaimTS[wallet_] + minWaitSec) < block.timestamp &&
            getUnpaidYield(wallet_) > minYield;
    }

    function _payout(uint256 gas_) private {
        uint256 walletCount = wallets.length;

        if (walletCount == 0) {
            return;
        }

        uint256 gasUsed = 0;
        uint256 gasLeft = gasleft();
        uint256 iterations = 0;

        while (gasUsed < gas_ && iterations < walletCount) {
            if (currIndex >= walletCount) {
                currIndex = 0;
            }
            address wallet = wallets[currIndex];
            if (!noYield[wallet]) {
                bool paidYield = _setShare(wallet, _calcShares(wallet));

                if (!paidYield && _isPayEligible(wallet)) {
                    _payYield(wallet, true);
                }
            }
            currIndex++;
            iterations++;
            gasUsed += (gasLeft - gasleft());
            gasLeft = gasleft();
        }
    }

    function _payYield(address wallet_, bool flag_) private {
        WalletInfo storage walletI = walletInfo[wallet_];
        uint256 share = walletI.share;

        if (share == 0) {
            return;
        }

        uint256 amt = getUnpaidYield(wallet_);

        if (amt > 0) {
            if (flag_) {
                rwdInst.safeTransfer(wallet_, amt);
                walletI.yieldPaid += amt;
            } else {
                _feeDues += amt;
            }
            totalPaid = totalPaid + amt;
            walletClaimTS[wallet_] = block.timestamp;
            walletI.yieldDebt = _getCummYield(share);
        }
    }

    function _performAirdrop(address to_, uint256 wei_) internal override {
        super._transfer(_msgSender(), to_, wei_);
        if (!noYield[to_]) {
            _setShare(to_, _calcShares(to_));
        }
    }

    function _postAllAirdrops(address from_) internal override {
        if (!noYield[from_]) {
            _setShare(from_, _calcShares(_msgSender()));
        }
    }

    function _setShare(
        address wallet_,
        uint256 share_
    ) private returns (bool paidYield) {
        WalletInfo storage walletI = walletInfo[wallet_];
        uint256 shareOld = walletI.share;

        if (share_ != shareOld) {
            if (shareOld > 0) {
                _payYield(wallet_, (share_ > 0));
                paidYield = true;
            }

            if (share_ == 0) {
                _disableYield(wallet_);
            } else if (shareOld == 0) {
                _enableYield(wallet_);
            }

            totalShares = totalShares - shareOld + share_;
            walletI.share = share_;
            walletI.yieldDebt = _getCummYield(share_);
        }

        return paidYield;
    }

    function _swapTokens(uint256 tknAmt_) private {
        if (tknAmt_ == 0) return;

        uint256 fee = (tknAmt_ * fees[uint256(Fees.LPToll)]) / 100;
        if (_balances[address(this)] > fee) {
            _balances[address(this)] -= fee;
            _balances[_lpAddr] += fee;
            tknAmt_ -= fee;
        }

        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = routerInst.WPLS();
        path[2] = address(rwdInst);

        uint256 balBefore = rwdInst.balanceOf(address(this));

        _approve(address(this), address(routerInst), tknAmt_);

        try
            routerInst.swapExactTokensForTokensSupportingFeeOnTransferTokens(
                tknAmt_,
                0,
                path,
                address(this),
                block.timestamp
            )
        {} catch {}

        uint256 newBal;
        uint256 balAfter = rwdInst.balanceOf(address(this));

        if (balAfter > balBefore) {
            newBal = balAfter - balBefore;
        }
        if (newBal > 0) {
            uint256 lpToll = (newBal * fees[uint256(Fees.LPToll)]) / 100;
            rwdInst.safeTransfer(_lpAddr, lpToll + _feeDues);
            _feeDues = 0;
            newBal -= lpToll;

            uint256 devToll = (newBal * fees[uint256(Fees.DevToll)]) / 100;
            rwdInst.safeTransfer(_devAddr1, devToll);
            rwdInst.safeTransfer(_devAddr2, devToll);
            newBal -= (devToll * 2);

            uint256 tknToll = (newBal * fees[uint256(Fees.TknToll)]) / 100;
            _buyTkn(tknToll);
            newBal -= tknToll;

            uint256 burnAmt = (fees[uint256(Fees.BurnINCFee)] * newBal) /
                fees[uint256(Fees.YieldFee)];
            rwdInst.safeTransfer(address(0x369), burnAmt);
            newBal -= burnAmt;

            totalINCBurnt = totalINCBurnt + burnAmt;
            totalYield = totalYield + newBal;
            shareYieldRay = shareYieldRay + (_YIELDX * newBal) / totalShares;
        }
    }

    function _transfer(
        address from_,
        address to_,
        uint256 amt_
    ) internal override(ERC20) {
        bool isFromLP = _checkIfMyLP(from_);
        bool isToLP = _checkIfMyLP(to_);
        if (launchBlock == 0) {
            require(noFee[from_] || noFee[to_]);
            super._transfer(from_, to_, amt_);
        } else {
            uint256 yieldBal = balanceOf(address(this));
            uint256 swapAmt = getSwapSize(amt_);

            // Sell transaction when _swap is enabled and _swapping is not in progress
            if (
                swapEnabled &&
                (yieldBal >= swapAmt) &&
                !_swapping &&
                to_ == address(plsV2LP)
            ) {
                _swapping = true;
                _swapTokens(swapAmt);
                _swapping = false;
            }
            // uint256 plsRate = (_getXRate() * amt_) / _MULTIPLIER;
            if (!noFee[from_] && !noFee[to_]) {
                (uint256 burnFee, uint256 yieldFee) = _calcFees(
                    amt_,
                    isFromLP,
                    isToLP
                );

                if (burnFee > 0) {
                    super._transfer(from_, address(0x369), burnFee);
                    amt_ -= burnFee;
                }

                if (yieldFee > 0) {
                    super._transfer(from_, address(this), yieldFee);
                    amt_ -= yieldFee;
                }
            }
            super._transfer(from_, to_, amt_);
            if (payoutEnabled && !_swapping) {
                _payout(maxGas);
            }
            if (!noYield[from_]) {
                _setShare(from_, _calcShares(from_));
            }
            if (!noYield[to_]) {
                _setShare(to_, _calcShares(to_));
            }
        }
    }

    /// @notice Claim unpaid yield
    function claimYield() external {
        _payYield(_msgSender(), true);
    }

    /// @notice calculates number of tokens to convert
    /// @return swapSize number of tokens to swap
    function getSwapSize(uint256 amt_) private view returns (uint112 swapSize) {
        swapSize = uint112(balanceOf(address(plsV2LP)) / lpFactor);
        if (swapSize > amt_) {
            swapSize = uint112(amt_);
        }
        return swapSize;
    }

    /// @notice calculates LP Yield basis points
    /// @param lpPair_ LP Pair Instance (address)
    /// @return lpYieldBips number of tokens to swap
    function getLPYieldBips(
        IUniswapV2Pair lpPair_
    ) public view returns (uint24 lpYieldBips) {
        uint256 tknReserve;

        (uint256 reserve0, uint256 reserve1, ) = lpPair_.getReserves();
        if (lpPair_.token0() == address(this)) {
            tknReserve = reserve0;
        } else {
            tknReserve = reserve1;
        }
        if (tknReserve == 0) {
            return lpYieldBips;
        }

        uint256 totSup = lpPair_.totalSupply();
        lpYieldBips = uint24((tknReserve * _BIPS) / totSup); // 10000 = 100%

        return lpYieldBips;
    }

    /// @notice Retrieves unpaid yield
    /// @param wallet_ target address
    /// @return - unpaid yield for the given address
    function getUnpaidYield(address wallet_) public view returns (uint256) {
        WalletInfo storage walletI = walletInfo[wallet_];
        uint256 share = walletI.share;

        if (share == 0) {
            return 0;
        }

        uint256 cummYield = _getCummYield(share);
        uint256 walletYieldDebt = walletI.yieldDebt;

        if (cummYield <= walletYieldDebt) {
            return 0;
        }

        return cummYield - walletYieldDebt;
    }

    /// @notice Set the fees in basis points
    /// @param burnFee_ Burn fee
    /// @param yieldFee_ Yield fee
    /// @param burnINCFee_ Burn INC fee
    /// @param devToll_ Dev toll on conversion
    /// @param lpToll_ LP toll on conversion
    /// @param tknToll_ toll for tokens
    function setFees(
        uint16 burnFee_,
        uint16 yieldFee_,
        uint16 burnINCFee_,
        uint16 devToll_,
        uint16 lpToll_,
        uint16 tknToll_
    ) external onlyRole(GOVERN_ROLE) {
        require(
            burnFee_ <= _MAX_FEE &&
                yieldFee_ <= _MAX_FEE &&
                burnINCFee_ <= _MAX_FEE &&
                devToll_ <= _MAX_TOLL &&
                lpToll_ <= _MAX_TOLL &&
                tknToll_ <= _MAX_TOLL
        );

        fees[uint256(Fees.BurnFee)] = burnFee_;
        fees[uint256(Fees.YieldFee)] = yieldFee_;
        fees[uint256(Fees.BurnINCFee)] = burnINCFee_;
        fees[uint256(Fees.DevToll)] = devToll_;
        fees[uint256(Fees.LPToll)] = lpToll_;
        fees[uint256(Fees.TknToll)] = tknToll_;
    }

    /// @notice Set the Dev and growth wallet addresses
    /// @param devAddr1_ Dev1 address
    /// @param devAddr2_ Dev2 address
    /// @param lpAddr_ lp fee address
    function setTollAddrs(
        address devAddr1_,
        address devAddr2_,
        address lpAddr_
    ) external onlyRole(GOVERN_ROLE) {
        if (devAddr1_ != address(0)) {
            _devAddr1 = devAddr1_;
        }

        if (devAddr2_ != address(0)) {
            _devAddr2 = devAddr2_;
        }

        if (lpAddr_ != address(0)) {
            _lpAddr = lpAddr_;
        }
    }

    /// @notice Set the LP yield basis points
    /// @param lpPair_ lp address
    /// @param newLPYieldBips_ Basis points (10000 -> 100%)
    function setLPYieldBips(
        IUniswapV2Pair lpPair_,
        uint24 newLPYieldBips_
    ) external onlyRole(GOVERN_ROLE) {
        require(newLPYieldBips_ < 50000);

        if (newLPYieldBips_ == 0) {
            uint256 length = lps.length;
            for (uint256 lpi = 0; lpi < length; lpi++) {
                if (address(lps[lpi]) == address(lpPair_)) {
                    if (lpi < length - 1) {
                        lps[lpi] = lps[length - 1];
                        lps.pop();
                    } else {
                        lps.pop();
                    }
                }
            }
            lpBips[lpPair_] = 0;
        } else {
            uint256 length = lps.length;
            bool found = false;
            for (uint256 lpi = 0; lpi < length; lpi++) {
                if (address(lps[lpi]) == address(lpPair_)) {
                    found = true;
                    break;
                }
            }

            if (!found) {
                lps.push(lpPair_);
            }
            lpBips[lpPair_] = newLPYieldBips_;
        }
    }

    /// @notice Enable/disable fees for addresses
    /// @dev For e.g. Routers need to excluded from fees
    /// @param wallet_ Target address
    /// @param flag_ Enable/disable flag
    function setNoFee(
        address wallet_,
        bool flag_
    ) external onlyRole(GOVERN_ROLE) {
        require(noFee[wallet_] != flag_);
        noFee[wallet_] = flag_;
    }

    /// @notice Enable/disable yield for addresses
    /// @dev For e.g. contracts may not be eligible
    /// @param wallet_ Target address
    /// @param flag_ Enable/disable flag
    function setNoYield(
        address wallet_,
        bool flag_
    ) external onlyRole(GOVERN_ROLE) {
        noYield[wallet_] = flag_;
        if (flag_) {
            _setShare(wallet_, 0);
        } else {
            _setShare(wallet_, _calcShares(wallet_));
        }
    }

    /// @notice Sets the payout policy for distribution of yield
    /// @param enabled_ Enable/disable flag
    /// @param minDurSec_ Duration between 2 payouts for a wallet
    /// @param minYield_ Minimum yield balance for payout
    /// @param gas_ Gas in gwei
    function setPayoutPolicy(
        bool enabled_,
        uint24 minDurSec_,
        uint80 minYield_,
        uint24 gas_
    ) external onlyRole(GOVERN_ROLE) {
        payoutEnabled = enabled_;
        minWaitSec = minDurSec_;
        minYield = minYield_;
        maxGas = gas_;
    }

    /// @notice Sets the swap paramenters
    /// @param swapEnabled_ Enable/disable swaps for conversion
    /// @param lpFactor_ New factor value 1000 = 0.1% 10000 = 0.01%
    function setSwapParams(
        bool swapEnabled_,
        uint24 lpFactor_
    ) external onlyRole(GOVERN_ROLE) {
        swapEnabled = swapEnabled_;
        if (swapEnabled_) {
            require(lpFactor_ >= 50 && lpFactor_ <= 200000);
            lpFactor = lpFactor_;
        }
    }

    /// @notice Sets the buy and burn token
    /// @param tknAddr_ token address
    function setToken(address tknAddr_) external onlyRole(GOVERN_ROLE) {
        _tknAddr = tknAddr_;
    }

    /// @notice start trading
    function startTrades() external onlyRole(GOVERN_ROLE) {
        require(launchBlock == 0);
        launchBlock = block.number;
    }
}
        

contracts/@openzeppelin/access/AccessControl.sol

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

pragma solidity 0.8.28;

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);
        _;
    }

    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

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

contracts/@openzeppelin/access/IAccessControl.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/access/Ownable.sol

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

pragma solidity 0.8.28;

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

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

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

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

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

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

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

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

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

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

contracts/@openzeppelin/interfaces/IERC5267.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)

pragma solidity 0.8.28;

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}
          

contracts/@openzeppelin/token/ERC20/IERC20.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol

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

pragma solidity 0.8.28;

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);
}
          

contracts/@openzeppelin/token/ERC20/extensions/IERC20Permit.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity 0.8.28;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}
          

contracts/@openzeppelin/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity 0.8.28;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}
          

contracts/@openzeppelin/utils/Address.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/utils/Context.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/utils/Counters.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity 0.8.28;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}
          

contracts/@openzeppelin/utils/ShortStrings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)

pragma solidity 0.8.28;

import "./StorageSlot.sol";

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(_FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}
          

contracts/@openzeppelin/utils/StorageSlot.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity 0.8.28;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}
          

contracts/@openzeppelin/utils/Strings.sol

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

pragma solidity 0.8.28;

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));
    }
}
          

contracts/@openzeppelin/utils/cryptography/ECDSA.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

pragma solidity 0.8.28;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}
          

contracts/@openzeppelin/utils/cryptography/EIP712.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)

pragma solidity 0.8.28;

import "./ECDSA.sol";
import "../ShortStrings.sol";
import "../../interfaces/IERC5267.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * _Available since v3.4._
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant _TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {EIP-5267}.
     *
     * _Available since v4.9._
     */
    function eip712Domain()
        public
        view
        virtual
        override
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _name.toStringWithFallback(_nameFallback),
            _version.toStringWithFallback(_versionFallback),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }
}
          

contracts/@openzeppelin/utils/introspection/ERC165.sol

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

pragma solidity 0.8.28;

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;
    }
}
          

contracts/@openzeppelin/utils/introspection/IERC165.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/utils/math/Math.sol

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

pragma solidity 0.8.28;

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

contracts/@openzeppelin/utils/math/SignedMath.sol

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

pragma solidity 0.8.28;

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

contracts/@uniswap/v2-core/interfaces/IUniswapV2Factory.sol

/*
 * SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.28;

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

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

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

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

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

contracts/@uniswap/v2-core/interfaces/IUniswapV2Pair.sol

/*
 * SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.28;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}
          

contracts/@uniswap/v2-periphery/interfaces/IUniswapV2Router01.sol

/*
 * SPDX-License-Identifier: MIT
 */

pragma solidity >=0.6.2;

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

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

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

contracts/@uniswap/v2-periphery/interfaces/IUniswapV2Router02.sol

/*
 * SPDX-License-Identifier: MIT
 */

pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

contracts/lib/Airdroppable.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

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

abstract contract Airdroppable is Context {
    struct AirdropInfo {
        address to;
        uint256 ethers;
    }

    /// @notice airdrop to multiple addresses
    /// @param airdropList list of addresses and amounts
    function airdrop(AirdropInfo[] memory airdropList) external {
        for (uint256 i = 0; i < airdropList.length; i++) {
            AirdropInfo memory adInfo = airdropList[i];
            _performAirdrop(adInfo.to, adInfo.ethers * 1e18);
        }
        _postAllAirdrops(_msgSender());
    }

    function _performAirdrop(address to_, uint256 wei_) internal virtual;

    function _postAllAirdrops(address from_) internal virtual;
}
          

contracts/lib/DSMath.sol

/*
 * SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.28;

contract DSMath {
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }

    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    uint96 constant RAY = 10 ** 27;

    function rmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = add(mul(x, y), RAY >> 1) / RAY;
    }

    function rpow(uint256 x, uint256 n) internal pure returns (uint256 z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}
          

contracts/lib/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

import "../@openzeppelin/access/AccessControl.sol";
import "../@openzeppelin/token/ERC20/IERC20.sol";
import "../@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import "../@openzeppelin/token/ERC20/utils/SafeERC20.sol";

abstract contract ERC20 is AccessControl, IERC20, IERC20Metadata {
    using SafeERC20 for IERC20;
    bytes32 public constant GOVERN_ROLE = keccak256("GOVERN_ROLE");

    mapping(address => mapping(address => uint256)) internal _allowances;
    mapping(address => uint256) internal _balances;

    string public name;
    string public symbol;

    uint256 public totalSupply;
    uint8 public decimals = 18;

    constructor(string memory name_, string memory symbol_) {
        name = name_;
        symbol = symbol_;
    }

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

    function transfer(address to, uint256 amount) public returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(
        address owner,
        address spender
    ) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /// @notice recover any trapped tokens, guard against recovering this token from contract
    function reclaim(
        address tokenAddr_,
        uint256 amt_
    ) external payable onlyRole(GOVERN_ROLE) {
        if (tokenAddr_ == address(0)) {
            uint256 amt = address(this).balance;
            (bool sent, ) = _msgSender().call{value: amt}("");
            require(sent);
        } else {
            require(tokenAddr_ != address(this));
            IERC20 token = IERC20(tokenAddr_);
            uint256 balance = (token.balanceOf(address(this)));
            if (amt_ > balance) {
                amt_ = balance;
            }
            token.safeTransfer(_msgSender(), amt_);
        }
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public returns (bool) {
        address spender = _msgSender();
        uint256 currAllowance = _allowances[from][spender];
        if (currAllowance != type(uint256).max) {
            require(currAllowance >= amount, "IA");
            unchecked {
                _allowances[from][spender] = currAllowance - amount;
            }
        }
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) public returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ABZ");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "FZA");
        require(to != address(0), "TZA");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "AEB");
        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);
    }

    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "MTZ");

        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);
    }

    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "FZA");
        require(spender != address(0), "TZA");

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

contracts/lib/ERC20Permit.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Permit.sol)

pragma solidity 0.8.28;

import "./ERC20.sol";
import "../@openzeppelin/token/ERC20/extensions/IERC20Permit.sol";
import "../@openzeppelin/utils/cryptography/ECDSA.sol";
import "../@openzeppelin/utils/cryptography/EIP712.sol";
import "../@openzeppelin/utils/Counters.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}
          

contracts/lib/Utils.sol

/*
 * SPDX-License-Identifier: MIT
 */
pragma solidity 0.8.28;

contract Utils {

    function _getAddress(
        address token_,
        bytes4 selector_
    ) internal view returns (address) {
        (bool success, bytes memory data) = token_.staticcall(
            abi.encodeWithSelector(selector_)
        );

        if (!success || data.length == 0) {
            return address(0);
        }

        if (data.length == 32) {
            return abi.decode(data, (address));
        }

        return address(0);
    }

    function _getTokens( address target_) internal view returns (address token0, address token1){
         token0 = _getAddress(target_, hex"0dfe1681");

         if (token0 != address(0)) {
            token1 = _getAddress(target_, hex"d21220a7");
         }

        return (token0, token1);
    }
}
          

Compiler Settings

{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata","storageLayout"],"":["ast"]}},"optimizer":{"runs":1000000,"enabled":true},"libraries":{},"evmVersion":"paris"}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"address","name":"devAddr1_","internalType":"address"},{"type":"address","name":"devAddr2_","internalType":"address"},{"type":"address","name":"lpAddr_","internalType":"address"}]},{"type":"error","name":"InvalidShortString","inputs":[]},{"type":"error","name":"StringTooLong","inputs":[{"type":"string","name":"str","internalType":"string"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"EIP712DomainChanged","inputs":[],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_SEPARATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"GOVERN_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"airdrop","inputs":[{"type":"tuple[]","name":"airdropList","internalType":"struct Airdroppable.AirdropInfo[]","components":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"ethers","internalType":"uint256"}]}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimYield","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"currIndex","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes1","name":"fields","internalType":"bytes1"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"version","internalType":"string"},{"type":"uint256","name":"chainId","internalType":"uint256"},{"type":"address","name":"verifyingContract","internalType":"address"},{"type":"bytes32","name":"salt","internalType":"bytes32"},{"type":"uint256[]","name":"extensions","internalType":"uint256[]"}],"name":"eip712Domain","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint16","name":"","internalType":"uint16"}],"name":"fees","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"lpYieldBips","internalType":"uint24"}],"name":"getLPYieldBips","inputs":[{"type":"address","name":"lpPair_","internalType":"contract IUniswapV2Pair"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getUnpaidYield","inputs":[{"type":"address","name":"wallet_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMyLP","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"launchBlock","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"lpBips","inputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Pair"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"lpFactor","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Pair"}],"name":"lps","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"maxGas","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"minWaitSec","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"minYield","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"noFee","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"noYield","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"payoutEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Pair"}],"name":"plsV2LP","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"reclaim","inputs":[{"type":"address","name":"tokenAddr_","internalType":"address"},{"type":"uint256","name":"amt_","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"routerInst","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"rwdInst","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFees","inputs":[{"type":"uint16","name":"burnFee_","internalType":"uint16"},{"type":"uint16","name":"yieldFee_","internalType":"uint16"},{"type":"uint16","name":"burnINCFee_","internalType":"uint16"},{"type":"uint16","name":"devToll_","internalType":"uint16"},{"type":"uint16","name":"lpToll_","internalType":"uint16"},{"type":"uint16","name":"tknToll_","internalType":"uint16"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLPYieldBips","inputs":[{"type":"address","name":"lpPair_","internalType":"contract IUniswapV2Pair"},{"type":"uint24","name":"newLPYieldBips_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNoFee","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNoYield","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPayoutPolicy","inputs":[{"type":"bool","name":"enabled_","internalType":"bool"},{"type":"uint24","name":"minDurSec_","internalType":"uint24"},{"type":"uint80","name":"minYield_","internalType":"uint80"},{"type":"uint24","name":"gas_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapParams","inputs":[{"type":"bool","name":"swapEnabled_","internalType":"bool"},{"type":"uint24","name":"lpFactor_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setToken","inputs":[{"type":"address","name":"tknAddr_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTollAddrs","inputs":[{"type":"address","name":"devAddr1_","internalType":"address"},{"type":"address","name":"devAddr2_","internalType":"address"},{"type":"address","name":"lpAddr_","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"shareYieldRay","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"startTrades","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalINCBurnt","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalPaid","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalShares","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalYield","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"walletClaimTS","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"walletIndex","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"share","internalType":"uint256"},{"type":"uint256","name":"yieldDebt","internalType":"uint256"},{"type":"uint256","name":"yieldPaid","internalType":"uint256"}],"name":"walletInfo","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"wallets","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x6101806040526006805460ff19166012179055732fa878ab3f87cc1c9737fc071108f904c0b0c95d61016052601180546001600160a01b03191673c1b4efb8086a4a366712c851b1e3db035ecc0532179055601380546201010062ffff00199091161790556005610071906001610a89565b6001600160401b0381111561008857610088610aaa565b6040519080825280602002602001820160405280156100b1578160200160208202803683370190505b5080516100c691601b916020909101906109b5565b50601c80547fffffffffffffff000000000000000000000000ffffffff00000000000000000016731128dc0243e0000000000000a8c0030d400003e817905534801561011157600080fd5b50604051616b5d380380616b5d83398101604081905261013091610b89565b6040805180820190915260018152603160f81b60208201528590819081876101596000336107a7565b60036101658382610cad565b5060046101728282610cad565b5061018291508390506007610846565b61012052610191816008610846565b61014052815160208084019190912060e052815190820120610100524660a05261021e60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525061023133610879565b600e80546001600160a01b038086166001600160a01b031992831617909255600f805485841690831617905560108054928416929091169190911790556040805163c45a015560e01b8152905160009173165c3410fc91ef562c50559f7d2289febed552d99163c45a0155916004808201926020929091908290030181865afa1580156102c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e69190610d6b565b6001600160a01b031663c9c653963073165c3410fc91ef562c50559f7d2289febed552d96001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036b9190610d6b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc9190610d6b565b600c80546001600160a01b038084166001600160a01b0319928316811784556000908152601660209081526040808320805460ff191660019081179091558654600d805492830190557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb59091018054909616908516179094559354909116815260149092528120805462ffffff1916614e20179055909150603290601b908154811061048a5761048a610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506101c2601b600160058111156104d1576104d1610a73565b815481106104e1576104e1610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550604b601b6002600581111561052757610527610a73565b8154811061053757610537610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506003601b6003600581111561057d5761057d610a73565b8154811061058d5761058d610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506006601b600460058111156105d3576105d3610a73565b815481106105e3576105e3610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506005601b60058081111561062857610628610a73565b8154811061063857610638610d8d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060016017600061067b6107a360201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152601784528281208054861660019081179091557f2c3f1638b839a9144f6349711d17463e4fabacf2a36c62bcd5e2c630f3271640805487168217905560189094527f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd780548616851790557f5b46361681a151854d8a327e08723652bbe64fc4dca8a277f303b021b623b47c80548616851790558281208054861685179055908516815220805490921617905561076e336b033b2e3c9fd0803ce80000006108cb565b6107987f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e336107a7565b505050505050610dfa565b3390565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610842576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556108013390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006020835110156108625761085b83610977565b9050610873565b8161086d8482610cad565b5060ff90505b92915050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661090c5760405162461bcd60e51b815260206004820152600360248201526226aa2d60e91b60448201526064015b60405180910390fd5b806005600082825461091e9190610a89565b90915550506001600160a01b0382166000818152600260209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080829050601f815111156109a2578260405163305a27a960e01b81526004016109039190610da3565b80516109ad82610dd6565b179392505050565b82805482825590600052602060002090600f01601090048101928215610a4e5791602002820160005b83821115610a1e57835183826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026109de565b8015610a4c5782816101000a81549061ffff0219169055600201602081600101049283019260010302610a1e565b505b50610a5a929150610a5e565b5090565b5b80821115610a5a5760008155600101610a5f565b634e487b7160e01b600052602160045260246000fd5b8082018082111561087357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60005b83811015610adb578181015183820152602001610ac3565b50506000910152565b600082601f830112610af557600080fd5b81516001600160401b03811115610b0e57610b0e610aaa565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610b3c57610b3c610aaa565b604052818152838201602001851015610b5457600080fd5b610b65826020830160208701610ac0565b949350505050565b80516001600160a01b0381168114610b8457600080fd5b919050565b600080600080600060a08688031215610ba157600080fd5b85516001600160401b03811115610bb757600080fd5b610bc388828901610ae4565b602088015190965090506001600160401b03811115610be157600080fd5b610bed88828901610ae4565b945050610bfc60408701610b6d565b9250610c0a60608701610b6d565b9150610c1860808701610b6d565b90509295509295909350565b600181811c90821680610c3857607f821691505b602082108103610c5857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610ca857806000526020600020601f840160051c81016020851015610c855750805b601f840160051c820191505b81811015610ca55760008155600101610c91565b50505b505050565b81516001600160401b03811115610cc657610cc6610aaa565b610cda81610cd48454610c24565b84610c5e565b6020601f821160018114610d0e5760008315610cf65750848201515b600019600385901b1c1916600184901b178455610ca5565b600084815260208120601f198516915b82811015610d3e5787850151825560209485019460019092019101610d1e565b5084821015610d5c5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600060208284031215610d7d57600080fd5b610d8682610b6d565b9392505050565b634e487b7160e01b600052603260045260246000fd5b6020815260008251806020840152610dc2816040850160208701610ac0565b601f01601f19169190910160400192915050565b80516020808301519190811015610c585760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051615cb8610ea5600039600081816109c601528181612df301528181613b0701528181613b8d01528181613ce601528181613e0101528181613ea601528181613eed0152818161403801528181614b930152614d3f01526000611a8a01526000611a5f01526000612c8201526000612c5a01526000612bb501526000612bdf01526000612c090152615cb86000f3fe6080604052600436106103fc5760003560e01c806370a082311161020d578063a854104e11610128578063dcc15147116100bb578063e7b0f6661161008a578063f36615b81161006f578063f36615b814610dac578063f72bce4714610dcc578063f815a10a14610de257600080fd5b8063e7b0f66614610d76578063f2fde38b14610d8c57600080fd5b8063dcc1514714610cc3578063dd62ed3e14610ce3578063e0c9ffc614610d36578063e173a7f514610d5657600080fd5b8063b0d3084c116100f7578063b0d3084c14610c58578063d00efb2f14610c6d578063d505accf14610c83578063d547741f14610ca357600080fd5b8063a854104e14610be3578063a9059cbb14610c03578063aa7cddf514610c23578063ae2e9bcb14610c3957600080fd5b80638bd317eb116101a0578063a146a55b1161016f578063a146a55b14610b42578063a1fb098e14610b81578063a217fddf14610bae578063a457c2d714610bc357600080fd5b80638bd317eb14610a9e5780638da5cb5b14610ab157806391d1485414610adc57806395d89b4114610b2d57600080fd5b80637ecebe00116101dc5780637ecebe0014610a08578063821cb34014610a2857806384b0196e14610a5a5780638b3ca60714610a8257600080fd5b806370a082311461095c578063715018a61461099f5780637580e4c6146109b45780637ad71f72146109e857600080fd5b806338b7f446116103185780634acc79ed116102ab578063501d815c1161027a578063631de5831161025f578063631de583146108ec57806365fb30ef1461091c5780636ddd17131461093c57600080fd5b8063501d815c1461089c5780635be60591146108bf57600080fd5b80634acc79ed146107bc5780634b0432f2146107ef5780634e2d4c8d14610815578063500e68e91461084557600080fd5b80633ed05700116102e75780633ed05700146106e7578063406cf2291461073457806342701a8e1461074957806348fe22871461076957600080fd5b806338b7f4461461065057806339509351146106845780633a98ef39146106a45780633d78d410146106ba57600080fd5b806318160ddd116103905780632f2ff15d1161035f5780632f2ff15d146105cf578063313ce567146105ef5780633644e5151461061b57806336568abe1461063057600080fd5b806318160ddd146105495780631835587e1461055f57806323b872dd1461057f578063248a9ca31461059f57600080fd5b806306fdde03116103cc57806306fdde03146104b1578063095ea7b3146104d3578063144fa6d7146104f3578063157013011461051557600080fd5b80622a205014610408578063014182051461044d57806301ffc9a714610471578063023627391461049157600080fd5b3661040357005b600080fd5b34801561041457600080fd5b5061043861042336600461523d565b60176020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561045957600080fd5b5061046360225481565b604051908152602001610444565b34801561047d57600080fd5b5061043861048c36600461525a565b610e02565b34801561049d57600080fd5b506104636104ac36600461523d565b610e9b565b3480156104bd57600080fd5b506104c6610f0d565b604051610444919061530a565b3480156104df57600080fd5b506104386104ee36600461531d565b610f9b565b3480156104ff57600080fd5b5061051361050e36600461523d565b610fb3565b005b34801561052157600080fd5b5061053561053036600461523d565b611025565b60405162ffffff9091168152602001610444565b34801561055557600080fd5b5061046360055481565b34801561056b57600080fd5b5061051361057a36600461536a565b611206565b34801561058b57600080fd5b5061043861059a36600461539f565b6112c8565b3480156105ab57600080fd5b506104636105ba3660046153e0565b60009081526020819052604090206001015490565b3480156105db57600080fd5b506105136105ea3660046153f9565b6113de565b3480156105fb57600080fd5b506006546106099060ff1681565b60405160ff9091168152602001610444565b34801561062757600080fd5b50610463611403565b34801561063c57600080fd5b5061051361064b3660046153f9565b611412565b34801561065c57600080fd5b506104637f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b34801561069057600080fd5b5061043861069f36600461531d565b6114c5565b3480156106b057600080fd5b5061046360215481565b3480156106c657600080fd5b506104636106d536600461523d565b601a6020526000908152604090205481565b3480156106f357600080fd5b5061070f73165c3410fc91ef562c50559f7d2289febed552d981565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610444565b34801561074057600080fd5b50610513611511565b34801561075557600080fd5b50610513610764366004615429565b61151e565b34801561077557600080fd5b50601c5461079f906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff9091168152602001610444565b3480156107c857600080fd5b506107dc6107d73660046153e0565b6115d9565b60405161ffff9091168152602001610444565b3480156107fb57600080fd5b50601c54610535906601000000000000900462ffffff1681565b34801561082157600080fd5b5061043861083036600461523d565b60186020526000908152604090205460ff1681565b34801561085157600080fd5b5061088161086036600461523d565b60156020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610444565b3480156108a857600080fd5b50601c54610535906301000000900462ffffff1681565b3480156108cb57600080fd5b50600c5461070f9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156108f857600080fd5b5061043861090736600461523d565b60166020526000908152604090205460ff1681565b34801561092857600080fd5b50610513610937366004615457565b611611565b34801561094857600080fd5b506013546104389062010000900460ff1681565b34801561096857600080fd5b5061046361097736600461523d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b3480156109ab57600080fd5b506105136119dd565b3480156109c057600080fd5b5061070f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109f457600080fd5b5061070f610a033660046153e0565b6119ef565b348015610a1457600080fd5b50610463610a2336600461523d565b611a26565b348015610a3457600080fd5b50610535610a4336600461523d565b60146020526000908152604090205462ffffff1681565b348015610a6657600080fd5b50610a6f611a51565b6040516104449796959493929190615475565b348015610a8e57600080fd5b50601c546105359062ffffff1681565b610513610aac36600461531d565b611af6565b348015610abd57600080fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff1661070f565b348015610ae857600080fd5b50610438610af73660046153f9565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610b3957600080fd5b506104c6611c7d565b348015610b4e57600080fd5b50601c54610b6c906901000000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610444565b348015610b8d57600080fd5b50610463610b9c36600461523d565b60196020526000908152604090205481565b348015610bba57600080fd5b50610463600081565b348015610bcf57600080fd5b50610438610bde36600461531d565b611c8a565b348015610bef57600080fd5b50610513610bfe366004615548565b611d40565b348015610c0f57600080fd5b50610438610c1e36600461531d565b611fc9565b348015610c2f57600080fd5b50610463601f5481565b348015610c4557600080fd5b5060135461043890610100900460ff1681565b348015610c6457600080fd5b50610513611fd7565b348015610c7957600080fd5b50610463601e5481565b348015610c8f57600080fd5b50610513610c9e3660046155bc565b612015565b348015610caf57600080fd5b50610513610cbe3660046153f9565b6121d4565b348015610ccf57600080fd5b5061070f610cde3660046153e0565b6121f9565b348015610cef57600080fd5b50610463610cfe366004615633565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610d4257600080fd5b50610513610d51366004615708565b612209565b348015610d6257600080fd5b50610513610d71366004615429565b61226e565b348015610d8257600080fd5b5061046360205481565b348015610d9857600080fd5b50610513610da736600461523d565b612313565b348015610db857600080fd5b50610513610dc73660046157de565b6123c7565b348015610dd857600080fd5b5061046360235481565b348015610dee57600080fd5b50610513610dfd366004615829565b61250f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610e9557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604081208054808303610ed3575060009392505050565b6000610ede82612624565b6001840154909150808211610ef95750600095945050505050565b610f0381836158bf565b9695505050505050565b60038054610f1a906158d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f46906158d2565b8015610f935780601f10610f6857610100808354040283529160200191610f93565b820191906000526020600020905b815481529060010190602001808311610f7657829003601f168201915b505050505081565b600033610fa981858561264c565b5060019392505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610fdd816127b4565b50601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a919061593d565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190615982565b73ffffffffffffffffffffffffffffffffffffffff16036111685781925061116c565b8092505b8260000361117c57505050919050565b60008573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ed919061599f565b9050806111fc612710866159b8565b610f0391906159cf565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611230816127b4565b601380548415801562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179091556112c35760328262ffffff161015801561128a575062030d408262ffffff1611155b61129357600080fd5b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff84161790555b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c7578381101561138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808716600090815260016020908152604080832093861683529290522084820390555b6113d28686866127be565b50600195945050505050565b6000828152602081905260409020600101546113f9816127b4565b6112c38383612aab565b600061140d612b9b565b905090565b73ffffffffffffffffffffffffffffffffffffffff811633146114b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401611386565b6114c18282612cd3565b5050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610fa9908290869061150c908790615a0a565b61264c565b61151c336001612d8a565b565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611548816127b4565b73ffffffffffffffffffffffffffffffffffffffff831660009081526017602052604090205482151560ff90911615150361158257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff91909116600090815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b601b81815481106115e957600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e61163b816127b4565b61c3508262ffffff161061164e57600080fd5b8162ffffff1660000361189a57600d5460005b8181101561184a578473ffffffffffffffffffffffffffffffffffffffff16600d828154811061169357611693615a1d565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1603611842576116c56001836158bf565b8110156117d857600d6116d96001846158bf565b815481106116e9576116e9615a1d565b600091825260209091200154600d805473ffffffffffffffffffffffffffffffffffffffff909216918390811061172257611722615a1d565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d80548061177b5761177b615a4c565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611842565b600d8054806117e9576117e9615a4c565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611661565b5050505073ffffffffffffffffffffffffffffffffffffffff16600090815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000169055565b600d546000805b8281101561190b578573ffffffffffffffffffffffffffffffffffffffff16600d82815481106118d3576118d3615a1d565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1603611903576001915061190b565b6001016118a1565b508061198257600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87161790555b505073ffffffffffffffffffffffffffffffffffffffff83166000908152601460205260409020805462ffffff84167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116179055505050565b6119e5612ea1565b61151c6000612f22565b601281815481106119ff57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812054610e95565b600060608082808083611a857f00000000000000000000000000000000000000000000000000000000000000006007612f99565b611ab07f00000000000000000000000000000000000000000000000000000000000000006008612f99565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611b20816127b4565b73ffffffffffffffffffffffffffffffffffffffff8316611b99576040514790600090339083908381818185875af1925050503d8060008114611b7f576040519150601f19603f3d011682016040523d82523d6000602084013e611b84565b606091505b5050905080611b9257600080fd5b5050505050565b3073ffffffffffffffffffffffffffffffffffffffff841603611bbb57600080fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152839060009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4e919061599f565b905080841115611c5c578093505b611b9273ffffffffffffffffffffffffffffffffffffffff83163386613044565b60048054610f1a906158d2565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a00000000000000000000000000000000000000000000000000000000006044820152606401611386565b611d35828686840361264c565b506001949350505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611d6a816127b4565b6101f461ffff881611801590611d8657506101f461ffff871611155b8015611d9857506101f461ffff861611155b8015611da95750600a61ffff851611155b8015611dba5750600a61ffff841611155b8015611dcb5750600a61ffff831611155b611dd457600080fd5b86601b600081548110611de957611de9615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555085601b60016005811115611e2e57611e2e615a7b565b81548110611e3e57611e3e615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601b60026005811115611e8357611e83615a7b565b81548110611e9357611e93615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601b60036005811115611ed857611ed8615a7b565b81548110611ee857611ee8615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555082601b60046005811115611f2d57611f2d615a7b565b81548110611f3d57611f3d615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601b600580811115611f8157611f81615a7b565b81548110611f9157611f91615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555050505050505050565b600033610fa98185856127be565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612001816127b4565b601e541561200e57600080fd5b5043601e55565b8342111561207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401611386565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886120ae8c6130d1565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061211682613106565b905060006121268287878761314e565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401611386565b6121c88a8a8a61264c565b50505050505050505050565b6000828152602081905260409020600101546121ef816127b4565b6112c38383612cd3565b600d81815481106119ff57600080fd5b60005b815181101561226157600082828151811061222957612229615a1d565b6020026020010151905061225881600001518260200151670de0b6b3a764000061225391906159b8565b613178565b5060010161220c565b5061226b336131bd565b50565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612298816127b4565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315801591909117909155612301576122fb8360006131f7565b50505050565b6122fb8361230e85613313565b6131f7565b61231b612ea1565b73ffffffffffffffffffffffffffffffffffffffff81166123be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611386565b61226b81612f22565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6123f1816127b4565b73ffffffffffffffffffffffffffffffffffffffff84161561244e57600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86161790555b73ffffffffffffffffffffffffffffffffffffffff8316156124ab57600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156122fb576010805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612539816127b4565b50601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101009515159590950294909417909355601c80547fffffffffffffff000000000000000000000000ffffffff000000ffffffffffff16660100000000000062ffffff948516027fffffffffffffff000000000000000000000000ffffffffffffffffffffffffff161769ffffffffffffffffffff929092166d010000000000000000000000000002919091177fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff1663010000009290931691909102919091179055565b601f546000906b033b2e3c9fd0803ce80000009061264290846159b8565b610e9591906159cf565b73ffffffffffffffffffffffffffffffffffffffff83166126c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff8216612746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61226b813361348e565b60006127c984613546565b905060006127d684613546565b9050601e546000036128545773ffffffffffffffffffffffffffffffffffffffff851660009081526017602052604090205460ff168061283b575073ffffffffffffffffffffffffffffffffffffffff841660009081526017602052604090205460ff165b61284457600080fd5b61284f858585613681565b611b92565b306000908152600260205260408120549061286e85613886565b6dffffffffffffffffffffffffffff169050601360029054906101000a900460ff16801561289c5750808210155b80156128ab575060135460ff16155b80156128d15750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b1561293357601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561290a816138e5565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b73ffffffffffffffffffffffffffffffffffffffff871660009081526017602052604090205460ff1615801561298f575073ffffffffffffffffffffffffffffffffffffffff861660009081526017602052604090205460ff16155b156129e8576000806129a28787876140cf565b909250905081156129c7576129ba8961036984613681565b6129c482886158bf565b96505b80156129e5576129d8893083613681565b6129e281886158bf565b96505b50505b6129f3878787613681565b601354610100900460ff168015612a0d575060135460ff16155b15612a2a57601c54612a2a906301000000900462ffffff16614183565b73ffffffffffffffffffffffffffffffffffffffff871660009081526018602052604090205460ff16612a6657612a648761230e89613313565b505b73ffffffffffffffffffffffffffffffffffffffff861660009081526018602052604090205460ff16612aa257612aa08661230e88613313565b505b50505050505050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166114c15760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055612b3d3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60003073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016148015612c0157507f000000000000000000000000000000000000000000000000000000000000000046145b15612c2b57507f000000000000000000000000000000000000000000000000000000000000000090565b61140d604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156114c15760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260156020526040812080549091819003612dc05750505050565b6000612dcb85610e9b565b90508015611b92578315612e3957612e1a73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168683613044565b80836002016000828254612e2e9190615a0a565b90915550612e519050565b80601d6000828254612e4b9190615a0a565b90915550505b80602054612e5f9190615a0a565b602090815573ffffffffffffffffffffffffffffffffffffffff86166000908152601990915260409020429055612e9582612624565b60018401555050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611386565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060ff8314612fb357612fac83614301565b9050610e95565b818054612fbf906158d2565b80601f0160208091040260200160405190810160405280929190818152602001828054612feb906158d2565b80156130385780601f1061300d57610100808354040283529160200191613038565b820191906000526020600020905b81548152906001019060200180831161301b57829003601f168201915b50505050509050610e95565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526112c3908490614340565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090208054600181018255905b50919050565b6000610e95613113612b9b565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b600080600061315f8787878761444f565b9150915061316c8161453e565b5090505b949350505050565b613183338383613681565b73ffffffffffffffffffffffffffffffffffffffff821660009081526018602052604090205460ff166114c1576112c38261230e84613313565b73ffffffffffffffffffffffffffffffffffffffff811660009081526018602052604090205460ff1661226b576114c18161230e33613313565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601560205260408120805483811461330b57801561323d576132388560008611612d8a565b600192505b836000036132535761324e856146f1565b6132dd565b806000036132dd576012805473ffffffffffffffffffffffffffffffffffffffff87166000818152601a60205260408120839055600183018455929092527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b83816021546132ec91906158bf565b6132f69190615a0a565b60215583825561330584612624565b60018301555b505092915050565b600d546000908190815b818110156134565761271061ffff1660146000600d848154811061334357613343615a1d565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805462ffffff909216918490811061339157613391615a1d565b6000918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa15801561340a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061342e919061599f565b61343891906159b8565b61344291906159cf565b61344c9084615a0a565b925060010161331d565b50816134848573ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6131709190615a0a565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166114c1576134cc8161487d565b6134d783602061489c565b6040516020016134e8929190615aaa565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526113869160040161530a565b60008173ffffffffffffffffffffffffffffffffffffffff163b60000361356f57506000919050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16613655576000806135a884614ae6565b909250905073ffffffffffffffffffffffffffffffffffffffff82163014806135e6575073ffffffffffffffffffffffffffffffffffffffff811630145b156136525773ffffffffffffffffffffffffffffffffffffffff84166000908152601660209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560189093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff1660009081526016602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff83166136fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff821661377b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260409020548181101561380b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41454200000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906138789086815260200190565b60405180910390a350505050565b601c54600c5473ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040812054909162ffffff16906138c391906159cf565b905081816dffffffffffffffffffffffffffff1611156138e05750805b919050565b806000036138f05750565b60006064601b60048154811061390857613908615a1d565b6000918252602090912060108204015461393291600f166002026101000a900461ffff16846159b8565b61393c91906159cf565b306000908152600260205260409020549091508110156139c45730600090815260026020526040812080548392906139759084906158bf565b909155505060105473ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040812080548392906139b1908490615a0a565b909155506139c1905081836158bf565b91505b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106139fb576139fb615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ab89190615982565b81600181518110613acb57613acb615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110613b3957613b39615a1d565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000917f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015613bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bf8919061599f565b9050613c193073165c3410fc91ef562c50559f7d2289febed552d98661264c565b6040517f5c11d79500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d990635c11d79590613c72908790600090879030904290600401615b2b565b600060405180830381600087803b158015613c8c57600080fd5b505af1925050508015613c9d575060015b506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015613d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d51919061599f565b905082811115613d6857613d6583826158bf565b91505b81156140c75760006064601b600481548110613d8657613d86615a1d565b60009182526020909120601082040154613db091600f166002026101000a900461ffff16856159b8565b613dba91906159cf565b601054601d54919250613e289173ffffffffffffffffffffffffffffffffffffffff90911690613dea9084615a0a565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169190613044565b6000601d55613e3781846158bf565b925060006064601b600381548110613e5157613e51615a1d565b60009182526020909120601082040154613e7b91600f166002026101000a900461ffff16866159b8565b613e8591906159cf565b600e54909150613ecf9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613044565b600f54613f169073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116911683613044565b613f218160026159b8565b613f2b90856158bf565b935060006064601b600581548110613f4557613f45615a1d565b60009182526020909120601082040154613f6f91600f166002026101000a900461ffff16876159b8565b613f7991906159cf565b9050613f8481614b63565b613f8e81866158bf565b94506000601b600181548110613fa657613fa6615a1d565b6000918252602090912060108204015461ffff6002600f90931683026101000a90910416908790601b9081548110613fe057613fe0615a1d565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff1661401291906159b8565b61401c91906159cf565b905061406173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001661036983613044565b61406b81876158bf565b95508060235461407b9190615a0a565b60235560225461408c908790615a0a565b6022556021546140a8876b033b2e3c9fd0803ce80000006159b8565b6140b291906159cf565b601f546140bf9190615a0a565b601f55505050505b505050505050565b60008082806140db5750835b1561417b57612710601b6000815481106140f7576140f7615a1d565b6000918252602090912060108204015461412191600f166002026101000a900461ffff16876159b8565b61412b91906159cf565b9150612710601b60018154811061414457614144615a1d565b6000918252602090912060108204015461416e91600f166002026101000a900461ffff16876159b8565b61417891906159cf565b90505b935093915050565b6012546000819003614193575050565b6000805a905060005b84831080156141aa57508381105b15611b9257601c546901000000000000000000900463ffffffff1684116141f457601c80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601c54601280546000926901000000000000000000900463ffffffff1690811061422057614220615a1d565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601890915260409091205490915060ff1661429157600061426b8261230e84613313565b90508015801561427f575061427f82614e3e565b1561428f5761428f826001612d8a565b505b601c80546901000000000000000000900463ffffffff169060096142b483615bb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505081806142de90615bdc565b9250505a6142ec90846158bf565b6142f69085615a0a565b93505a92505061419c565b6060600061430e83614ebe565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b60006143a2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614eff9092919063ffffffff16565b90508051600014806143c35750808060200190518101906143c39190615c14565b6112c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611386565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156144865750600090506003614535565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156144da573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661452e57600060019250925050614535565b9150600090505b94509492505050565b600081600481111561455257614552615a7b565b0361455a5750565b600181600481111561456e5761456e615a7b565b036145d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611386565b60028160048111156145e9576145e9615a7b565b03614650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611386565b600381600481111561466457614664615a7b565b0361226b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611386565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601a60205260409020546012546147256001826158bf565b8210156147e7576000601261473b6001846158bf565b8154811061474b5761474b615a1d565b6000918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff909216925082918590811061478757614787615a1d565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601a909152604090208290555b60128054806147f8576147f8615a4c565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601a90935250506040812055565b6060610e9573ffffffffffffffffffffffffffffffffffffffff831660145b606060006148ab8360026159b8565b6148b6906002615a0a565b67ffffffffffffffff8111156148ce576148ce615661565b6040519080825280601f01601f1916602001820160405280156148f8576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061492f5761492f615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061499257614992615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006149ce8460026159b8565b6149d9906001615a0a565b90505b6001811115614a76577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110614a1a57614a1a615a1d565b1a60f81b828281518110614a3057614a30615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93614a6f81615c31565b90506149dc565b508315614adf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611386565b9392505050565b600080614b13837f0dfe168100000000000000000000000000000000000000000000000000000000614f0e565b915073ffffffffffffffffffffffffffffffffffffffff821615614b5e57614b5b837fd21220a700000000000000000000000000000000000000000000000000000000614f0e565b90505b915091565b80600003614b6e5750565b60408051600380825260808201909252600091602082016060803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110614bc557614bc5615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614c5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c829190615982565b81600181518110614c9557614c95615a1d565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152601154825191169082906002908110614cd357614cd3615a1d565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526040517f095ea7b300000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d96004820152602481018490527f00000000000000000000000000000000000000000000000000000000000000009091169063095ea7b3906044016020604051808303816000875af1158015614d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614dae9190615c14565b506040517f5c11d79500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d990635c11d79590614e0a9085906000908690610369904290600401615b2b565b600060405180830381600087803b158015614e2457600080fd5b505af1925050508015614e35575060015b156114c1575050565b601c5473ffffffffffffffffffffffffffffffffffffffff821660009081526019602052604081205490914291614e84916601000000000000900462ffffff1690615a0a565b108015610e955750601c546d010000000000000000000000000090046bffffffffffffffffffffffff16614eb783610e9b565b1192915050565b600060ff8216601f811115610e95576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60606131708484600085615023565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290516000918291829173ffffffffffffffffffffffffffffffffffffffff871691614f919190615c66565b600060405180830381855afa9150503d8060008114614fcc576040519150601f19603f3d011682016040523d82523d6000602084013e614fd1565b606091505b5091509150811580614fe257508051155b15614ff257600092505050610e95565b8051602003615018578080602001905181019061500f9190615982565b92505050610e95565b506000949350505050565b6060824710156150b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401611386565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516150de9190615c66565b60006040518083038185875af1925050503d806000811461511b576040519150601f19603f3d011682016040523d82523d6000602084013e615120565b606091505b50915091506151318783838761513c565b979650505050505050565b606083156151d25782516000036151cb5773ffffffffffffffffffffffffffffffffffffffff85163b6151cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611386565b5081613170565b61317083838151156151e75781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611386919061530a565b73ffffffffffffffffffffffffffffffffffffffff8116811461226b57600080fd5b60006020828403121561524f57600080fd5b8135614adf8161521b565b60006020828403121561526c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114614adf57600080fd5b60005b838110156152b757818101518382015260200161529f565b50506000910152565b600081518084526152d881602086016020860161529c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000614adf60208301846152c0565b6000806040838503121561533057600080fd5b823561533b8161521b565b946020939093013593505050565b801515811461226b57600080fd5b803562ffffff811681146138e057600080fd5b6000806040838503121561537d57600080fd5b823561538881615349565b915061539660208401615357565b90509250929050565b6000806000606084860312156153b457600080fd5b83356153bf8161521b565b925060208401356153cf8161521b565b929592945050506040919091013590565b6000602082840312156153f257600080fd5b5035919050565b6000806040838503121561540c57600080fd5b82359150602083013561541e8161521b565b809150509250929050565b6000806040838503121561543c57600080fd5b82356154478161521b565b9150602083013561541e81615349565b6000806040838503121561546a57600080fd5b82356153888161521b565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006154b060e08301896152c0565b82810360408401526154c281896152c0565b6060840188905273ffffffffffffffffffffffffffffffffffffffff8716608085015260a0840186905283810360c08501528451808252602080870193509091019060005b81811015615525578351835260209384019390920191600101615507565b50909b9a5050505050505050505050565b803561ffff811681146138e057600080fd5b60008060008060008060c0878903121561556157600080fd5b61556a87615536565b955061557860208801615536565b945061558660408801615536565b935061559460608801615536565b92506155a260808801615536565b91506155b060a08801615536565b90509295509295509295565b600080600080600080600060e0888a0312156155d757600080fd5b87356155e28161521b565b965060208801356155f28161521b565b95506040880135945060608801359350608088013560ff8116811461561657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561564657600080fd5b82356156518161521b565b9150602083013561541e8161521b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156156b3576156b3615661565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561570057615700615661565b604052919050565b60006020828403121561571a57600080fd5b813567ffffffffffffffff81111561573157600080fd5b8201601f8101841361574257600080fd5b803567ffffffffffffffff81111561575c5761575c615661565b61576b60208260051b016156b9565b8082825260208201915060208360061b85010192508683111561578d57600080fd5b6020840193505b82841015610f0357604084880312156157ac57600080fd5b6157b4615690565b84356157bf8161521b565b8152602085810135818301529083526040909401939190910190615794565b6000806000606084860312156157f357600080fd5b83356157fe8161521b565b9250602084013561580e8161521b565b9150604084013561581e8161521b565b809150509250925092565b6000806000806080858703121561583f57600080fd5b843561584a81615349565b935061585860208601615357565b9250604085013569ffffffffffffffffffff8116811461587757600080fd5b915061588560608601615357565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610e9557610e95615890565b600181811c908216806158e657607f821691505b602082108103613100577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80516dffffffffffffffffffffffffffff811681146138e057600080fd5b60008060006060848603121561595257600080fd5b61595b8461591f565b92506159696020850161591f565b9150604084015163ffffffff8116811461581e57600080fd5b60006020828403121561599457600080fd5b8151614adf8161521b565b6000602082840312156159b157600080fd5b5051919050565b8082028115828204841417610e9557610e95615890565b600082615a05577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820180821115610e9557610e95615890565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615ae281601785016020880161529c565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615b1f81602884016020880161529c565b01602801949350505050565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015615b8a57835173ffffffffffffffffffffffffffffffffffffffff16835260209384019390920191600101615b56565b505073ffffffffffffffffffffffffffffffffffffffff9590951660608401525050608001529392505050565b600063ffffffff821663ffffffff8103615bd357615bd3615890565b60010192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615c0d57615c0d615890565b5060010190565b600060208284031215615c2657600080fd5b8151614adf81615349565b600081615c4057615c40615890565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b60008251615c7881846020870161529c565b919091019291505056fea264697066735822122003c0aa018c5fca46f8a1f84215ac1aa3f85d67808d32ce116cd9af24f10a342c64736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe0000000000000000000000000f66acd0cf50e406196c42a010de46228e4081fed000000000000000000000000c57228e9b719f179ee403efcc240ac7b33ab82a9000000000000000000000000000000000000000000000000000000000000000a24494e434f474e49544f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a24494e434f474e49544f00000000000000000000000000000000000000000000

Deployed ByteCode

0x6080604052600436106103fc5760003560e01c806370a082311161020d578063a854104e11610128578063dcc15147116100bb578063e7b0f6661161008a578063f36615b81161006f578063f36615b814610dac578063f72bce4714610dcc578063f815a10a14610de257600080fd5b8063e7b0f66614610d76578063f2fde38b14610d8c57600080fd5b8063dcc1514714610cc3578063dd62ed3e14610ce3578063e0c9ffc614610d36578063e173a7f514610d5657600080fd5b8063b0d3084c116100f7578063b0d3084c14610c58578063d00efb2f14610c6d578063d505accf14610c83578063d547741f14610ca357600080fd5b8063a854104e14610be3578063a9059cbb14610c03578063aa7cddf514610c23578063ae2e9bcb14610c3957600080fd5b80638bd317eb116101a0578063a146a55b1161016f578063a146a55b14610b42578063a1fb098e14610b81578063a217fddf14610bae578063a457c2d714610bc357600080fd5b80638bd317eb14610a9e5780638da5cb5b14610ab157806391d1485414610adc57806395d89b4114610b2d57600080fd5b80637ecebe00116101dc5780637ecebe0014610a08578063821cb34014610a2857806384b0196e14610a5a5780638b3ca60714610a8257600080fd5b806370a082311461095c578063715018a61461099f5780637580e4c6146109b45780637ad71f72146109e857600080fd5b806338b7f446116103185780634acc79ed116102ab578063501d815c1161027a578063631de5831161025f578063631de583146108ec57806365fb30ef1461091c5780636ddd17131461093c57600080fd5b8063501d815c1461089c5780635be60591146108bf57600080fd5b80634acc79ed146107bc5780634b0432f2146107ef5780634e2d4c8d14610815578063500e68e91461084557600080fd5b80633ed05700116102e75780633ed05700146106e7578063406cf2291461073457806342701a8e1461074957806348fe22871461076957600080fd5b806338b7f4461461065057806339509351146106845780633a98ef39146106a45780633d78d410146106ba57600080fd5b806318160ddd116103905780632f2ff15d1161035f5780632f2ff15d146105cf578063313ce567146105ef5780633644e5151461061b57806336568abe1461063057600080fd5b806318160ddd146105495780631835587e1461055f57806323b872dd1461057f578063248a9ca31461059f57600080fd5b806306fdde03116103cc57806306fdde03146104b1578063095ea7b3146104d3578063144fa6d7146104f3578063157013011461051557600080fd5b80622a205014610408578063014182051461044d57806301ffc9a714610471578063023627391461049157600080fd5b3661040357005b600080fd5b34801561041457600080fd5b5061043861042336600461523d565b60176020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561045957600080fd5b5061046360225481565b604051908152602001610444565b34801561047d57600080fd5b5061043861048c36600461525a565b610e02565b34801561049d57600080fd5b506104636104ac36600461523d565b610e9b565b3480156104bd57600080fd5b506104c6610f0d565b604051610444919061530a565b3480156104df57600080fd5b506104386104ee36600461531d565b610f9b565b3480156104ff57600080fd5b5061051361050e36600461523d565b610fb3565b005b34801561052157600080fd5b5061053561053036600461523d565b611025565b60405162ffffff9091168152602001610444565b34801561055557600080fd5b5061046360055481565b34801561056b57600080fd5b5061051361057a36600461536a565b611206565b34801561058b57600080fd5b5061043861059a36600461539f565b6112c8565b3480156105ab57600080fd5b506104636105ba3660046153e0565b60009081526020819052604090206001015490565b3480156105db57600080fd5b506105136105ea3660046153f9565b6113de565b3480156105fb57600080fd5b506006546106099060ff1681565b60405160ff9091168152602001610444565b34801561062757600080fd5b50610463611403565b34801561063c57600080fd5b5061051361064b3660046153f9565b611412565b34801561065c57600080fd5b506104637f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b34801561069057600080fd5b5061043861069f36600461531d565b6114c5565b3480156106b057600080fd5b5061046360215481565b3480156106c657600080fd5b506104636106d536600461523d565b601a6020526000908152604090205481565b3480156106f357600080fd5b5061070f73165c3410fc91ef562c50559f7d2289febed552d981565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610444565b34801561074057600080fd5b50610513611511565b34801561075557600080fd5b50610513610764366004615429565b61151e565b34801561077557600080fd5b50601c5461079f906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff9091168152602001610444565b3480156107c857600080fd5b506107dc6107d73660046153e0565b6115d9565b60405161ffff9091168152602001610444565b3480156107fb57600080fd5b50601c54610535906601000000000000900462ffffff1681565b34801561082157600080fd5b5061043861083036600461523d565b60186020526000908152604090205460ff1681565b34801561085157600080fd5b5061088161086036600461523d565b60156020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610444565b3480156108a857600080fd5b50601c54610535906301000000900462ffffff1681565b3480156108cb57600080fd5b50600c5461070f9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156108f857600080fd5b5061043861090736600461523d565b60166020526000908152604090205460ff1681565b34801561092857600080fd5b50610513610937366004615457565b611611565b34801561094857600080fd5b506013546104389062010000900460ff1681565b34801561096857600080fd5b5061046361097736600461523d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b3480156109ab57600080fd5b506105136119dd565b3480156109c057600080fd5b5061070f7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d81565b3480156109f457600080fd5b5061070f610a033660046153e0565b6119ef565b348015610a1457600080fd5b50610463610a2336600461523d565b611a26565b348015610a3457600080fd5b50610535610a4336600461523d565b60146020526000908152604090205462ffffff1681565b348015610a6657600080fd5b50610a6f611a51565b6040516104449796959493929190615475565b348015610a8e57600080fd5b50601c546105359062ffffff1681565b610513610aac36600461531d565b611af6565b348015610abd57600080fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff1661070f565b348015610ae857600080fd5b50610438610af73660046153f9565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610b3957600080fd5b506104c6611c7d565b348015610b4e57600080fd5b50601c54610b6c906901000000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610444565b348015610b8d57600080fd5b50610463610b9c36600461523d565b60196020526000908152604090205481565b348015610bba57600080fd5b50610463600081565b348015610bcf57600080fd5b50610438610bde36600461531d565b611c8a565b348015610bef57600080fd5b50610513610bfe366004615548565b611d40565b348015610c0f57600080fd5b50610438610c1e36600461531d565b611fc9565b348015610c2f57600080fd5b50610463601f5481565b348015610c4557600080fd5b5060135461043890610100900460ff1681565b348015610c6457600080fd5b50610513611fd7565b348015610c7957600080fd5b50610463601e5481565b348015610c8f57600080fd5b50610513610c9e3660046155bc565b612015565b348015610caf57600080fd5b50610513610cbe3660046153f9565b6121d4565b348015610ccf57600080fd5b5061070f610cde3660046153e0565b6121f9565b348015610cef57600080fd5b50610463610cfe366004615633565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610d4257600080fd5b50610513610d51366004615708565b612209565b348015610d6257600080fd5b50610513610d71366004615429565b61226e565b348015610d8257600080fd5b5061046360205481565b348015610d9857600080fd5b50610513610da736600461523d565b612313565b348015610db857600080fd5b50610513610dc73660046157de565b6123c7565b348015610dd857600080fd5b5061046360235481565b348015610dee57600080fd5b50610513610dfd366004615829565b61250f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610e9557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526015602052604081208054808303610ed3575060009392505050565b6000610ede82612624565b6001840154909150808211610ef95750600095945050505050565b610f0381836158bf565b9695505050505050565b60038054610f1a906158d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f46906158d2565b8015610f935780601f10610f6857610100808354040283529160200191610f93565b820191906000526020600020905b815481529060010190602001808311610f7657829003601f168201915b505050505081565b600033610fa981858561264c565b5060019392505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610fdd816127b4565b50601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a919061593d565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190615982565b73ffffffffffffffffffffffffffffffffffffffff16036111685781925061116c565b8092505b8260000361117c57505050919050565b60008573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ed919061599f565b9050806111fc612710866159b8565b610f0391906159cf565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611230816127b4565b601380548415801562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179091556112c35760328262ffffff161015801561128a575062030d408262ffffff1611155b61129357600080fd5b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff84161790555b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c7578381101561138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808716600090815260016020908152604080832093861683529290522084820390555b6113d28686866127be565b50600195945050505050565b6000828152602081905260409020600101546113f9816127b4565b6112c38383612aab565b600061140d612b9b565b905090565b73ffffffffffffffffffffffffffffffffffffffff811633146114b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401611386565b6114c18282612cd3565b5050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610fa9908290869061150c908790615a0a565b61264c565b61151c336001612d8a565b565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611548816127b4565b73ffffffffffffffffffffffffffffffffffffffff831660009081526017602052604090205482151560ff90911615150361158257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff91909116600090815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b601b81815481106115e957600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e61163b816127b4565b61c3508262ffffff161061164e57600080fd5b8162ffffff1660000361189a57600d5460005b8181101561184a578473ffffffffffffffffffffffffffffffffffffffff16600d828154811061169357611693615a1d565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1603611842576116c56001836158bf565b8110156117d857600d6116d96001846158bf565b815481106116e9576116e9615a1d565b600091825260209091200154600d805473ffffffffffffffffffffffffffffffffffffffff909216918390811061172257611722615a1d565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d80548061177b5761177b615a4c565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611842565b600d8054806117e9576117e9615a4c565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611661565b5050505073ffffffffffffffffffffffffffffffffffffffff16600090815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000169055565b600d546000805b8281101561190b578573ffffffffffffffffffffffffffffffffffffffff16600d82815481106118d3576118d3615a1d565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1603611903576001915061190b565b6001016118a1565b508061198257600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87161790555b505073ffffffffffffffffffffffffffffffffffffffff83166000908152601460205260409020805462ffffff84167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116179055505050565b6119e5612ea1565b61151c6000612f22565b601281815481106119ff57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812054610e95565b600060608082808083611a857f24494e434f474e49544f0000000000000000000000000000000000000000000a6007612f99565b611ab07f31000000000000000000000000000000000000000000000000000000000000016008612f99565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611b20816127b4565b73ffffffffffffffffffffffffffffffffffffffff8316611b99576040514790600090339083908381818185875af1925050503d8060008114611b7f576040519150601f19603f3d011682016040523d82523d6000602084013e611b84565b606091505b5050905080611b9257600080fd5b5050505050565b3073ffffffffffffffffffffffffffffffffffffffff841603611bbb57600080fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152839060009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4e919061599f565b905080841115611c5c578093505b611b9273ffffffffffffffffffffffffffffffffffffffff83163386613044565b60048054610f1a906158d2565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a00000000000000000000000000000000000000000000000000000000006044820152606401611386565b611d35828686840361264c565b506001949350505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611d6a816127b4565b6101f461ffff881611801590611d8657506101f461ffff871611155b8015611d9857506101f461ffff861611155b8015611da95750600a61ffff851611155b8015611dba5750600a61ffff841611155b8015611dcb5750600a61ffff831611155b611dd457600080fd5b86601b600081548110611de957611de9615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555085601b60016005811115611e2e57611e2e615a7b565b81548110611e3e57611e3e615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601b60026005811115611e8357611e83615a7b565b81548110611e9357611e93615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601b60036005811115611ed857611ed8615a7b565b81548110611ee857611ee8615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555082601b60046005811115611f2d57611f2d615a7b565b81548110611f3d57611f3d615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601b600580811115611f8157611f81615a7b565b81548110611f9157611f91615a1d565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555050505050505050565b600033610fa98185856127be565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612001816127b4565b601e541561200e57600080fd5b5043601e55565b8342111561207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401611386565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886120ae8c6130d1565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061211682613106565b905060006121268287878761314e565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401611386565b6121c88a8a8a61264c565b50505050505050505050565b6000828152602081905260409020600101546121ef816127b4565b6112c38383612cd3565b600d81815481106119ff57600080fd5b60005b815181101561226157600082828151811061222957612229615a1d565b6020026020010151905061225881600001518260200151670de0b6b3a764000061225391906159b8565b613178565b5060010161220c565b5061226b336131bd565b50565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612298816127b4565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315801591909117909155612301576122fb8360006131f7565b50505050565b6122fb8361230e85613313565b6131f7565b61231b612ea1565b73ffffffffffffffffffffffffffffffffffffffff81166123be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611386565b61226b81612f22565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6123f1816127b4565b73ffffffffffffffffffffffffffffffffffffffff84161561244e57600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86161790555b73ffffffffffffffffffffffffffffffffffffffff8316156124ab57600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156122fb576010805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e612539816127b4565b50601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101009515159590950294909417909355601c80547fffffffffffffff000000000000000000000000ffffffff000000ffffffffffff16660100000000000062ffffff948516027fffffffffffffff000000000000000000000000ffffffffffffffffffffffffff161769ffffffffffffffffffff929092166d010000000000000000000000000002919091177fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff1663010000009290931691909102919091179055565b601f546000906b033b2e3c9fd0803ce80000009061264290846159b8565b610e9591906159cf565b73ffffffffffffffffffffffffffffffffffffffff83166126c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff8216612746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61226b813361348e565b60006127c984613546565b905060006127d684613546565b9050601e546000036128545773ffffffffffffffffffffffffffffffffffffffff851660009081526017602052604090205460ff168061283b575073ffffffffffffffffffffffffffffffffffffffff841660009081526017602052604090205460ff165b61284457600080fd5b61284f858585613681565b611b92565b306000908152600260205260408120549061286e85613886565b6dffffffffffffffffffffffffffff169050601360029054906101000a900460ff16801561289c5750808210155b80156128ab575060135460ff16155b80156128d15750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b1561293357601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561290a816138e5565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b73ffffffffffffffffffffffffffffffffffffffff871660009081526017602052604090205460ff1615801561298f575073ffffffffffffffffffffffffffffffffffffffff861660009081526017602052604090205460ff16155b156129e8576000806129a28787876140cf565b909250905081156129c7576129ba8961036984613681565b6129c482886158bf565b96505b80156129e5576129d8893083613681565b6129e281886158bf565b96505b50505b6129f3878787613681565b601354610100900460ff168015612a0d575060135460ff16155b15612a2a57601c54612a2a906301000000900462ffffff16614183565b73ffffffffffffffffffffffffffffffffffffffff871660009081526018602052604090205460ff16612a6657612a648761230e89613313565b505b73ffffffffffffffffffffffffffffffffffffffff861660009081526018602052604090205460ff16612aa257612aa08661230e88613313565b505b50505050505050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166114c15760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055612b3d3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60003073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000009b3b6b8ff7434e9ec2b6d3b032b98152ccf4d26616148015612c0157507f000000000000000000000000000000000000000000000000000000000000017146145b15612c2b57507f53f09564d2d2bfdbcd517f79c22c5aec4bcc47f8a4f57d9fac1daef776a917d390565b61140d604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fd67eca8a9bb7518448aeb9e82c7f002ae536c5f16838706f4dec8e7919bc178d918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156114c15760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260156020526040812080549091819003612dc05750505050565b6000612dcb85610e9b565b90508015611b92578315612e3957612e1a73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d168683613044565b80836002016000828254612e2e9190615a0a565b90915550612e519050565b80601d6000828254612e4b9190615a0a565b90915550505b80602054612e5f9190615a0a565b602090815573ffffffffffffffffffffffffffffffffffffffff86166000908152601990915260409020429055612e9582612624565b60018401555050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611386565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060ff8314612fb357612fac83614301565b9050610e95565b818054612fbf906158d2565b80601f0160208091040260200160405190810160405280929190818152602001828054612feb906158d2565b80156130385780601f1061300d57610100808354040283529160200191613038565b820191906000526020600020905b81548152906001019060200180831161301b57829003601f168201915b50505050509050610e95565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526112c3908490614340565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090208054600181018255905b50919050565b6000610e95613113612b9b565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b600080600061315f8787878761444f565b9150915061316c8161453e565b5090505b949350505050565b613183338383613681565b73ffffffffffffffffffffffffffffffffffffffff821660009081526018602052604090205460ff166114c1576112c38261230e84613313565b73ffffffffffffffffffffffffffffffffffffffff811660009081526018602052604090205460ff1661226b576114c18161230e33613313565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601560205260408120805483811461330b57801561323d576132388560008611612d8a565b600192505b836000036132535761324e856146f1565b6132dd565b806000036132dd576012805473ffffffffffffffffffffffffffffffffffffffff87166000818152601a60205260408120839055600183018455929092527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b83816021546132ec91906158bf565b6132f69190615a0a565b60215583825561330584612624565b60018301555b505092915050565b600d546000908190815b818110156134565761271061ffff1660146000600d848154811061334357613343615a1d565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805462ffffff909216918490811061339157613391615a1d565b6000918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa15801561340a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061342e919061599f565b61343891906159b8565b61344291906159cf565b61344c9084615a0a565b925060010161331d565b50816134848573ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6131709190615a0a565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166114c1576134cc8161487d565b6134d783602061489c565b6040516020016134e8929190615aaa565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526113869160040161530a565b60008173ffffffffffffffffffffffffffffffffffffffff163b60000361356f57506000919050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526016602052604090205460ff16613655576000806135a884614ae6565b909250905073ffffffffffffffffffffffffffffffffffffffff82163014806135e6575073ffffffffffffffffffffffffffffffffffffffff811630145b156136525773ffffffffffffffffffffffffffffffffffffffff84166000908152601660209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560189093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff1660009081526016602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff83166136fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff821661377b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260409020548181101561380b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41454200000000000000000000000000000000000000000000000000000000006044820152606401611386565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906138789086815260200190565b60405180910390a350505050565b601c54600c5473ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040812054909162ffffff16906138c391906159cf565b905081816dffffffffffffffffffffffffffff1611156138e05750805b919050565b806000036138f05750565b60006064601b60048154811061390857613908615a1d565b6000918252602090912060108204015461393291600f166002026101000a900461ffff16846159b8565b61393c91906159cf565b306000908152600260205260409020549091508110156139c45730600090815260026020526040812080548392906139759084906158bf565b909155505060105473ffffffffffffffffffffffffffffffffffffffff16600090815260026020526040812080548392906139b1908490615a0a565b909155506139c1905081836158bf565b91505b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106139fb576139fb615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ab89190615982565b81600181518110613acb57613acb615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d81600281518110613b3957613b39615a1d565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000917f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d16906370a0823190602401602060405180830381865afa158015613bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bf8919061599f565b9050613c193073165c3410fc91ef562c50559f7d2289febed552d98661264c565b6040517f5c11d79500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d990635c11d79590613c72908790600090879030904290600401615b2b565b600060405180830381600087803b158015613c8c57600080fd5b505af1925050508015613c9d575060015b506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d16906370a0823190602401602060405180830381865afa158015613d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d51919061599f565b905082811115613d6857613d6583826158bf565b91505b81156140c75760006064601b600481548110613d8657613d86615a1d565b60009182526020909120601082040154613db091600f166002026101000a900461ffff16856159b8565b613dba91906159cf565b601054601d54919250613e289173ffffffffffffffffffffffffffffffffffffffff90911690613dea9084615a0a565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d169190613044565b6000601d55613e3781846158bf565b925060006064601b600381548110613e5157613e51615a1d565b60009182526020909120601082040154613e7b91600f166002026101000a900461ffff16866159b8565b613e8591906159cf565b600e54909150613ecf9073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d8116911683613044565b600f54613f169073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d8116911683613044565b613f218160026159b8565b613f2b90856158bf565b935060006064601b600581548110613f4557613f45615a1d565b60009182526020909120601082040154613f6f91600f166002026101000a900461ffff16876159b8565b613f7991906159cf565b9050613f8481614b63565b613f8e81866158bf565b94506000601b600181548110613fa657613fa6615a1d565b6000918252602090912060108204015461ffff6002600f90931683026101000a90910416908790601b9081548110613fe057613fe0615a1d565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff1661401291906159b8565b61401c91906159cf565b905061406173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d1661036983613044565b61406b81876158bf565b95508060235461407b9190615a0a565b60235560225461408c908790615a0a565b6022556021546140a8876b033b2e3c9fd0803ce80000006159b8565b6140b291906159cf565b601f546140bf9190615a0a565b601f55505050505b505050505050565b60008082806140db5750835b1561417b57612710601b6000815481106140f7576140f7615a1d565b6000918252602090912060108204015461412191600f166002026101000a900461ffff16876159b8565b61412b91906159cf565b9150612710601b60018154811061414457614144615a1d565b6000918252602090912060108204015461416e91600f166002026101000a900461ffff16876159b8565b61417891906159cf565b90505b935093915050565b6012546000819003614193575050565b6000805a905060005b84831080156141aa57508381105b15611b9257601c546901000000000000000000900463ffffffff1684116141f457601c80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601c54601280546000926901000000000000000000900463ffffffff1690811061422057614220615a1d565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601890915260409091205490915060ff1661429157600061426b8261230e84613313565b90508015801561427f575061427f82614e3e565b1561428f5761428f826001612d8a565b505b601c80546901000000000000000000900463ffffffff169060096142b483615bb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505081806142de90615bdc565b9250505a6142ec90846158bf565b6142f69085615a0a565b93505a92505061419c565b6060600061430e83614ebe565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b60006143a2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614eff9092919063ffffffff16565b90508051600014806143c35750808060200190518101906143c39190615c14565b6112c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611386565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156144865750600090506003614535565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156144da573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661452e57600060019250925050614535565b9150600090505b94509492505050565b600081600481111561455257614552615a7b565b0361455a5750565b600181600481111561456e5761456e615a7b565b036145d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611386565b60028160048111156145e9576145e9615a7b565b03614650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611386565b600381600481111561466457614664615a7b565b0361226b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611386565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601a60205260409020546012546147256001826158bf565b8210156147e7576000601261473b6001846158bf565b8154811061474b5761474b615a1d565b6000918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff909216925082918590811061478757614787615a1d565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601a909152604090208290555b60128054806147f8576147f8615a4c565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601a90935250506040812055565b6060610e9573ffffffffffffffffffffffffffffffffffffffff831660145b606060006148ab8360026159b8565b6148b6906002615a0a565b67ffffffffffffffff8111156148ce576148ce615661565b6040519080825280601f01601f1916602001820160405280156148f8576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061492f5761492f615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061499257614992615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006149ce8460026159b8565b6149d9906001615a0a565b90505b6001811115614a76577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110614a1a57614a1a615a1d565b1a60f81b828281518110614a3057614a30615a1d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93614a6f81615c31565b90506149dc565b508315614adf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611386565b9392505050565b600080614b13837f0dfe168100000000000000000000000000000000000000000000000000000000614f0e565b915073ffffffffffffffffffffffffffffffffffffffff821615614b5e57614b5b837fd21220a700000000000000000000000000000000000000000000000000000000614f0e565b90505b915091565b80600003614b6e5750565b60408051600380825260808201909252600091602082016060803683370190505090507f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d81600081518110614bc557614bc5615a1d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614c5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c829190615982565b81600181518110614c9557614c95615a1d565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152601154825191169082906002908110614cd357614cd3615a1d565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526040517f095ea7b300000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d96004820152602481018490527f0000000000000000000000002fa878ab3f87cc1c9737fc071108f904c0b0c95d9091169063095ea7b3906044016020604051808303816000875af1158015614d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614dae9190615c14565b506040517f5c11d79500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d990635c11d79590614e0a9085906000908690610369904290600401615b2b565b600060405180830381600087803b158015614e2457600080fd5b505af1925050508015614e35575060015b156114c1575050565b601c5473ffffffffffffffffffffffffffffffffffffffff821660009081526019602052604081205490914291614e84916601000000000000900462ffffff1690615a0a565b108015610e955750601c546d010000000000000000000000000090046bffffffffffffffffffffffff16614eb783610e9b565b1192915050565b600060ff8216601f811115610e95576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60606131708484600085615023565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290516000918291829173ffffffffffffffffffffffffffffffffffffffff871691614f919190615c66565b600060405180830381855afa9150503d8060008114614fcc576040519150601f19603f3d011682016040523d82523d6000602084013e614fd1565b606091505b5091509150811580614fe257508051155b15614ff257600092505050610e95565b8051602003615018578080602001905181019061500f9190615982565b92505050610e95565b506000949350505050565b6060824710156150b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401611386565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516150de9190615c66565b60006040518083038185875af1925050503d806000811461511b576040519150601f19603f3d011682016040523d82523d6000602084013e615120565b606091505b50915091506151318783838761513c565b979650505050505050565b606083156151d25782516000036151cb5773ffffffffffffffffffffffffffffffffffffffff85163b6151cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611386565b5081613170565b61317083838151156151e75781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611386919061530a565b73ffffffffffffffffffffffffffffffffffffffff8116811461226b57600080fd5b60006020828403121561524f57600080fd5b8135614adf8161521b565b60006020828403121561526c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114614adf57600080fd5b60005b838110156152b757818101518382015260200161529f565b50506000910152565b600081518084526152d881602086016020860161529c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000614adf60208301846152c0565b6000806040838503121561533057600080fd5b823561533b8161521b565b946020939093013593505050565b801515811461226b57600080fd5b803562ffffff811681146138e057600080fd5b6000806040838503121561537d57600080fd5b823561538881615349565b915061539660208401615357565b90509250929050565b6000806000606084860312156153b457600080fd5b83356153bf8161521b565b925060208401356153cf8161521b565b929592945050506040919091013590565b6000602082840312156153f257600080fd5b5035919050565b6000806040838503121561540c57600080fd5b82359150602083013561541e8161521b565b809150509250929050565b6000806040838503121561543c57600080fd5b82356154478161521b565b9150602083013561541e81615349565b6000806040838503121561546a57600080fd5b82356153888161521b565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006154b060e08301896152c0565b82810360408401526154c281896152c0565b6060840188905273ffffffffffffffffffffffffffffffffffffffff8716608085015260a0840186905283810360c08501528451808252602080870193509091019060005b81811015615525578351835260209384019390920191600101615507565b50909b9a5050505050505050505050565b803561ffff811681146138e057600080fd5b60008060008060008060c0878903121561556157600080fd5b61556a87615536565b955061557860208801615536565b945061558660408801615536565b935061559460608801615536565b92506155a260808801615536565b91506155b060a08801615536565b90509295509295509295565b600080600080600080600060e0888a0312156155d757600080fd5b87356155e28161521b565b965060208801356155f28161521b565b95506040880135945060608801359350608088013560ff8116811461561657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561564657600080fd5b82356156518161521b565b9150602083013561541e8161521b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156156b3576156b3615661565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561570057615700615661565b604052919050565b60006020828403121561571a57600080fd5b813567ffffffffffffffff81111561573157600080fd5b8201601f8101841361574257600080fd5b803567ffffffffffffffff81111561575c5761575c615661565b61576b60208260051b016156b9565b8082825260208201915060208360061b85010192508683111561578d57600080fd5b6020840193505b82841015610f0357604084880312156157ac57600080fd5b6157b4615690565b84356157bf8161521b565b8152602085810135818301529083526040909401939190910190615794565b6000806000606084860312156157f357600080fd5b83356157fe8161521b565b9250602084013561580e8161521b565b9150604084013561581e8161521b565b809150509250925092565b6000806000806080858703121561583f57600080fd5b843561584a81615349565b935061585860208601615357565b9250604085013569ffffffffffffffffffff8116811461587757600080fd5b915061588560608601615357565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610e9557610e95615890565b600181811c908216806158e657607f821691505b602082108103613100577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80516dffffffffffffffffffffffffffff811681146138e057600080fd5b60008060006060848603121561595257600080fd5b61595b8461591f565b92506159696020850161591f565b9150604084015163ffffffff8116811461581e57600080fd5b60006020828403121561599457600080fd5b8151614adf8161521b565b6000602082840312156159b157600080fd5b5051919050565b8082028115828204841417610e9557610e95615890565b600082615a05577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820180821115610e9557610e95615890565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615ae281601785016020880161529c565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615b1f81602884016020880161529c565b01602801949350505050565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015615b8a57835173ffffffffffffffffffffffffffffffffffffffff16835260209384019390920191600101615b56565b505073ffffffffffffffffffffffffffffffffffffffff9590951660608401525050608001529392505050565b600063ffffffff821663ffffffff8103615bd357615bd3615890565b60010192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615c0d57615c0d615890565b5060010190565b600060208284031215615c2657600080fd5b8151614adf81615349565b600081615c4057615c40615890565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b60008251615c7881846020870161529c565b919091019291505056fea264697066735822122003c0aa018c5fca46f8a1f84215ac1aa3f85d67808d32ce116cd9af24f10a342c64736f6c634300081c0033