false
true
0

Contract Address Details

0x5E24d6bAA2c452CCEB05153834a9750581BB92c7

Token
AURA (AURA)
Creator
0xc363e7–cbd742 at 0x155cfd–49c612
Balance
1,226,229.836503224954156589 PLS ( )
Tokens
Fetching tokens...
Transactions
754 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
25969656
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
AURA




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




Optimization runs
1000000
EVM Version
shanghai




Verified at
2025-01-06T18:15:33.621335Z

Constructor Arguments

0x00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe0000000000000000000000000b0c2b195673ac5153f64d2311ca940794e982523000000000000000000000000c57228e9b719f179ee403efcc240ac7b33ab82a90000000000000000000000000000000000000000000000000000000000000004415552410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044155524100000000000000000000000000000000000000000000000000000000

Arg [0] (string) : AURA
Arg [1] (string) : AURA
Arg [2] (address) : 0xfb7103d7011dfa60c18c6961c5a38038d8048fe0
Arg [3] (address) : 0xb0c2b195673ac5153f64d2311ca940794e982523
Arg [4] (address) : 0xc57228e9b719f179ee403efcc240ac7b33ab82a9

              

contracts/AURA.sol

/*
 * @title AURA - Earn PLS
 * @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, burns some PLS, and yields rest of the fees in PLS
 *
 *    (   (  (  (     (   (( (   .  (   (    (( (   ((
 *    )\  )\ )\ )\    )\ (\())\   . )\  )\   ))\)\  ))\
 *   ((_)((_)(_)(_)  ((_))(_)(_)   ((_)((_)(((_)_()((_)))
 *   | _ \ | | | |  / __| __| |   / _ \| _ \_ _|   \ \| |
 *   |  _/ |_| | |__\__ \ _|| |__| (_) |   /| || - | .  |
 *   |_|  \___/|____|___/___|____|\___/|_|_\___|_|_|_|\_|
 *
 * Tokenomics (initial fees):
 *          Buy      Sell     Transfer
 * Yield    4.50%    4.50%    0.00%
 * Burn     0.50%    0.50%    0.00%
 * Burn PLS        (1/9th of Yield fee)
 * Burn INCOGNITO  (1/9th 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 AURA is Airdroppable, DSMath, ERC20, ERC20Permit, Ownable, Utils {
    using SafeERC20 for IERC20;

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

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

    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 = 0xF876BDf9D6403AA7D5bF7F523E8f440A841CC596; // RFX mainnet
    address private _accelAddr = 0xA223B2B3696410bc56968675389fb056B927789F; // Accelerator mainnet
    address[] public wallets;

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

    mapping(IUniswapV2Pair => uint256) 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 = 250000;
    uint24 public minWaitSec = 14400; // 4 hours

    uint32 public currIndex;

    uint64 private constant _MULTIPLIER = 1e18;

    uint96 private constant _YIELDX = 1e27;
    uint96 public minYield = 135 * 1e18;

    uint256 private _feeDues;
    uint256 private _lastUpdateTS;
    uint256 public launchBlock;
    uint256 public shareYieldRay;
    uint256 public totalPaid;
    uint256 public totalShares;
    uint256 public totalYield;
    uint256 public totalPLSBurnt;

    constructor(
        string memory name,
        string memory symbol,
        address devAddr1_,
        address devAddr2_,
        address lpAddr_
    ) ERC20(name, symbol) ERC20Permit(name) {
        _devAddr1 = devAddr1_;
        _devAddr2 = devAddr2_;
        _lpAddr = lpAddr_;
        IUniswapV2Factory factoryInst = IUniswapV2Factory(routerInst.factory());
        address plsLPAddr = factoryInst.createPair(
            address(this),
            routerInst.WPLS()
        );
        isMyLP[plsLPAddr] = true;
        plsV2LP = IUniswapV2Pair(plsLPAddr);
        lps.push(plsV2LP);
        lpBips[plsV2LP] = 10000;

        address plsxLPAddr = factoryInst.createPair(
            address(this),
            address(0x95B303987A60C71504D99Aa1b13B4DA07b0790ab)
        );
        isMyLP[plsxLPAddr] = true;
        IUniswapV2Pair plsxV2LP = IUniswapV2Pair(plsxLPAddr);
        lps.push(plsxV2LP);
        lpBips[plsxV2LP] = 10000;

        address incLPAddr = factoryInst.createPair(
            address(this),
            address(0x2fa878Ab3F87CC1C9737Fc071108F904c0B0C95d)
        );
        isMyLP[incLPAddr] = true;
        IUniswapV2Pair incV2LP = IUniswapV2Pair(incLPAddr);
        lps.push(incV2LP);
        lpBips[incV2LP] = 10000;

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

        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
    }

    receive() external payable {}

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

        try
            routerInst.swapExactETHForTokensSupportingFeeOnTransferTokens{
                value: tknAmt_
            }(0, path, _accelAddr, 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_) {
                (bool sent, ) = wallet_.call{value: amt}("");
                if (sent) {
                    walletI.yieldPaid += amt;
                }
            } else {
                _feeDues += amt;
            }
            totalPaid = totalPaid + amt;
            walletClaimTS[wallet_] = block.timestamp;
            walletI.yieldDebt = _getCummYield(share) + 1; // for rounding safety add 1
        }
    }

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

            if ((block.timestamp - _lastUpdateTS) > 1 days) {
                _lastUpdateTS = block.timestamp;
                uint256 length = lps.length;
                for (uint256 lpi = 0; lpi < length; lpi++) {
                    IUniswapV2Pair lpPair = lps[lpi];
                    uint256 multiple = 3; // 3X
                    if (lpPair == plsV2LP) {
                        multiple = 4; // 4X
                    }
                    uint256 bips = multiple * getLPYieldBips(lpPair);
                    lpBips[lpPair] = bips;
                }
            }

            totalShares = totalShares - shareOld + share_;
            walletI.share = share_;
            walletI.yieldDebt = _getCummYield(share_) + 1; // for rounding safety add 1
        }

        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[](2);
        path[0] = address(this);
        path[1] = routerInst.WPLS();

        uint256 balBefore = address(this).balance;
        _approve(address(this), address(routerInst), tknAmt_);

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

        uint256 newBal;
        uint256 balAfter = address(this).balance;

        if (balAfter > balBefore) {
            newBal = balAfter - balBefore;
        }
        if (newBal > 0) {
            uint256 lpToll = (newBal * fees[uint256(Fees.LPToll)]) / 100;
            (bool sent, ) = _lpAddr.call{value: (lpToll + _feeDues)}("");
            _feeDues = 0;
            newBal -= lpToll;

            uint256 devToll = (newBal * fees[uint256(Fees.DevToll)]) / 100;
            (sent, ) = _devAddr1.call{value: (devToll)}("");
            (sent, ) = _devAddr2.call{value: (devToll)}("");
            newBal -= (devToll * 2);

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

            uint256 burnAmt = (fees[uint256(Fees.BurnPLSFee)] * newBal) /
                fees[uint256(Fees.YieldFee)];
            (sent, ) = address(0x369).call{value: (burnAmt)}("");
            newBal -= burnAmt;

            totalPLSBurnt = totalPLSBurnt + 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;
            }
            if (!noFee[from_] && !noFee[to_]) {
                (uint256 burnFee, uint256 yieldFee) = _calcFees(
                    amt_,
                    isFromLP,
                    isToLP
                );

                if (burnFee > 0) {
                    super._transfer(from_, _accelAddr, 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 (uint256 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 = (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 start trading
    function startTrades() external onlyOwner {
        require(launchBlock == 0);
        launchBlock = block.number;
    }
}
        

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/@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/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/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/token/ERC20/IERC20.sol";
import "../@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import "../@openzeppelin/token/ERC20/utils/SafeERC20.sol";
import "../@openzeppelin/utils/Context.sol";

abstract contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeERC20 for IERC20;

    address _deployer;
    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_) {
        _deployer = msg.sender;
        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 recoverPLS() external {
        uint256 amt = address(this).balance;
        (bool sent, ) = _deployer.call{value: amt}("");
        require(sent);
    }

    /// @notice recover any trapped tokens, guard against recovering this token from contract
    function recoverTKN(address tokenAddr_, uint256 amt_) external {
        require(tokenAddr_ != address(this));
        IERC20 token = IERC20(tokenAddr_);
        uint256 balance = (token.balanceOf(address(this)));
        if (amt_ > balance) {
            amt_ = balance;
        }
        token.safeTransfer(_deployer, 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":"shanghai"}
              

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":"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":"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":"uint256","name":"lpYieldBips","internalType":"uint256"}],"name":"getLPYieldBips","inputs":[{"type":"address","name":"lpPair_","internalType":"contract IUniswapV2Pair"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getUnpaidYield","inputs":[{"type":"address","name":"wallet_","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":"uint256","name":"","internalType":"uint256"}],"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":"nonpayable","outputs":[],"name":"recoverPLS","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"recoverTKN","inputs":[{"type":"address","name":"tokenAddr_","internalType":"address"},{"type":"uint256","name":"amt_","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"routerInst","inputs":[]},{"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":"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":"totalPLSBurnt","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

0x61016060405260068054601260ff1990911681179091556011805473f876bdf9d6403aa7d5bf7f523e8f440a841cc5966001600160a01b031991821617909155815473a223b2b3696410bc56968675389fb056b927789f91161790556014805462ffff0019166201010017905561007860056001610b4f565b6001600160401b0381111561008f5761008f610b6e565b6040519080825280602002602001820160405280156100b8578160200160208202803683370190505b5080516100cd91601c91602090910190610a81565b50601d80547fffffffffffffff000000000000000000000000ffffffff000000000000000000167507518058bd45bc00000000000000384003d0900003e8179055348015610119575f5ffd5b5060405161517f38038061517f83398101604081905261013891610c45565b6040805180820190915260018152603160f81b60208201525f80546001600160a01b0319163317905585908190818760036101738382610d5e565b5060046101808282610d5e565b5061019091508390506007610913565b6101205261019f816008610913565b61014052815160208084019190912060e052815190820120610100524660a05261022b60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525061023e33610949565b600e80546001600160a01b038086166001600160a01b031992831617909255600f805485841690831617905560108054928416929091169190911790556040805163c45a015560e01b815290515f9173165c3410fc91ef562c50559f7d2289febed552d99163c45a0155916004808201926020929091908290030181865afa1580156102cc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f09190610e18565b90505f816001600160a01b031663c9c653963073165c3410fc91ef562c50559f7d2289febed552d96001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610353573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103779190610e18565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156103c1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e59190610e18565b6001600160a01b038181165f818152601760209081526040808320805460ff19166001908117909155600c80546001600160a01b031990811687178255600d805493840190555f51602061515f5f395f51905f529092018054909216909517905592548416825260159052818120612710905590516364e329cb60e11b81523060048201527395b303987a60c71504d99aa1b13b4da07b0790ab6024820152929350919084169063c9c65396906044016020604051808303815f875af11580156104b1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d59190610e18565b6001600160a01b038181165f818152601760209081526040808320805460ff19166001908117909155600d805491820190555f51602061515f5f395f51905f520180546001600160a01b03191690941790935560159052818120612710905590516364e329cb60e11b8152306004820152732fa878ab3f87cc1c9737fc071108f904c0b0c95d60248201529293508392909186169063c9c65396906044016020604051808303815f875af115801561058f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b39190610e18565b6001600160a01b0381165f818152601760209081526040808320805460ff19166001908117909155600d805491820190555f51602061515f5f395f51905f520180546001600160a01b031916851790559282526015905290812061271090559091508190603290601c908154811061062d5761062d610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506101c2601c6001600581111561067257610672610b3b565b8154811061068257610682610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506032601c600260058111156106c6576106c6610b3b565b815481106106d6576106d6610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506003601c6003600581111561071a5761071a610b3b565b8154811061072a5761072a610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506006601c6004600581111561076e5761076e610b3b565b8154811061077e5761077e610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506006601c6005808111156107c1576107c1610b3b565b815481106107d1576107d1610e38565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600160185f61081161094560201b60201c565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152601884528281208054861660019081179091557f91cc36e194a9ff5be286b914d0368dc86508ceecef9cf10391d0040ff4345fa1805487168217905560199094527fd2ac945fcc0096878c763e37d6929b78378c1a2defabde8ba7ee5ed1d6e7a5b280548616851790557f9319764bf259126f84bcc65bcc703730b1da249ad6151c5ceb1f15f315e67709805486168517905582812080548616851790559089168152208054909216179055610903336b033b2e3c9fd0803ce800000061099a565b5050505050505050505050610ea1565b5f60208351101561092e5761092783610a44565b905061093f565b816109398482610d5e565b5060ff90505b92915050565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166109db5760405162461bcd60e51b815260206004820152600360248201526226aa2d60e91b60448201526064015b60405180910390fd5b8060055f8282546109ec9190610b4f565b90915550506001600160a01b0382165f818152600260209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f5f829050601f81511115610a6e578260405163305a27a960e01b81526004016109d29190610e4c565b8051610a7982610e7e565b179392505050565b828054828255905f5260205f2090600f01601090048101928215610b17579160200282015f5b83821115610ae757835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302610aa7565b8015610b155782816101000a81549061ffff0219169055600201602081600101049283019260010302610ae7565b505b50610b23929150610b27565b5090565b5b80821115610b23575f8155600101610b28565b634e487b7160e01b5f52602160045260245ffd5b8082018082111561093f57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b5f5b83811015610b9c578181015183820152602001610b84565b50505f910152565b5f82601f830112610bb3575f5ffd5b81516001600160401b03811115610bcc57610bcc610b6e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610bfa57610bfa610b6e565b604052818152838201602001851015610c11575f5ffd5b610c22826020830160208701610b82565b949350505050565b80516001600160a01b0381168114610c40575f5ffd5b919050565b5f5f5f5f5f60a08688031215610c59575f5ffd5b85516001600160401b03811115610c6e575f5ffd5b610c7a88828901610ba4565b602088015190965090506001600160401b03811115610c97575f5ffd5b610ca388828901610ba4565b945050610cb260408701610c2a565b9250610cc060608701610c2a565b9150610cce60808701610c2a565b90509295509295909350565b600181811c90821680610cee57607f821691505b602082108103610d0c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d5957805f5260205f20601f840160051c81016020851015610d375750805b601f840160051c820191505b81811015610d56575f8155600101610d43565b50505b505050565b81516001600160401b03811115610d7757610d77610b6e565b610d8b81610d858454610cda565b84610d12565b6020601f821160018114610dbd575f8315610da65750848201515b5f19600385901b1c1916600184901b178455610d56565b5f84815260208120601f198516915b82811015610dec5787850151825560209485019460019092019101610dcc565b5084821015610e0957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610e28575f5ffd5b610e3182610c2a565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b602081525f8251806020840152610e6a816040850160208701610b82565b601f01601f19169190910160400192915050565b80516020808301519190811015610d0c575f1960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161426d610ef25f395f61115c01525f61113101525f611b0401525f611adc01525f611a3701525f611a6101525f611a8b015261426d5ff3fe608060405260043610610326575f3560e01c8063638a7099116101a7578063a1fb098e116100e7578063d00efb2f11610092578063dd62ed3e1161006d578063dd62ed3e14610a1e578063e0c9ffc614610a6f578063e7b0f66614610a8e578063f2fde38b14610aa3575f5ffd5b8063d00efb2f146109cb578063d505accf146109e0578063dcc15147146109ff575f5ffd5b8063aa7cddf5116100c2578063aa7cddf514610984578063ae2e9bcb14610999578063b0d3084c146109b7575f5ffd5b8063a1fb098e1461091b578063a457c2d714610946578063a9059cbb14610965575f5ffd5b80637ecebe00116101525780638b3ca6071161012d5780638b3ca607146108845780638da5cb5b1461089f57806395d89b41146108c9578063a146a55b146108dd575f5ffd5b80637ecebe0014610813578063821cb3401461083257806384b0196e1461085d575f5ffd5b8063715018a611610182578063715018a6146107cb5780637a6af78f146107df5780637ad71f72146107f4575f5ffd5b8063638a70991461074c5780636ddd17131461076b57806370a082311461078a575f5ffd5b80633a98ef39116102725780634b0432f21161021d578063501d815c116101f8578063501d815c146106bc57806356350ddb146106de5780635be60591146106f2578063631de5831461071e575f5ffd5b80634b0432f2146106005780634e2d4c8d14610639578063500e68e914610667575f5ffd5b8063406cf2291161024d578063406cf2291461056657806348fe22871461057c5780634acc79ed146105ce575f5ffd5b80633a98ef39146104da5780633d78d410146104ef5780633ed057001461051a575f5ffd5b806318160ddd116102d25780633644e515116102ad5780633644e5151461047457806338b7f4461461048857806339509351146104bb575f5ffd5b806318160ddd1461041557806323b872dd1461042a578063313ce56714610449575f5ffd5b806306fdde031161030257806306fdde03146103b6578063095ea7b3146103d757806315701301146103f6575f5ffd5b80622a20501461033157806301418205146103745780630236273914610397575f5ffd5b3661032d57005b5f5ffd5b34801561033c575f5ffd5b5061035f61034b366004613ac0565b60186020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561037f575f5ffd5b5061038960245481565b60405190815260200161036b565b3480156103a2575f5ffd5b506103896103b1366004613ac0565b610ac2565b3480156103c1575f5ffd5b506103ca610b30565b60405161036b9190613b4d565b3480156103e2575f5ffd5b5061035f6103f1366004613b5f565b610bbc565b348015610401575f5ffd5b50610389610410366004613ac0565b610bd5565b348015610420575f5ffd5b5061038960055481565b348015610435575f5ffd5b5061035f610444366004613b89565b610dac565b348015610454575f5ffd5b506006546104629060ff1681565b60405160ff909116815260200161036b565b34801561047f575f5ffd5b50610389610ec0565b348015610493575f5ffd5b506103897f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b3480156104c6575f5ffd5b5061035f6104d5366004613b5f565b610ece565b3480156104e5575f5ffd5b5061038960235481565b3480156104fa575f5ffd5b50610389610509366004613ac0565b601b6020525f908152604090205481565b348015610525575f5ffd5b5061054173165c3410fc91ef562c50559f7d2289febed552d981565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161036b565b348015610571575f5ffd5b5061057a610f19565b005b348015610587575f5ffd5b50601d546105b1906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161036b565b3480156105d9575f5ffd5b506105ed6105e8366004613bc7565b610f26565b60405161ffff909116815260200161036b565b34801561060b575f5ffd5b50601d54610625906601000000000000900462ffffff1681565b60405162ffffff909116815260200161036b565b348015610644575f5ffd5b5061035f610653366004613ac0565b60196020525f908152604090205460ff1681565b348015610672575f5ffd5b506106a1610681366004613ac0565b60166020525f908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161036b565b3480156106c7575f5ffd5b50601d54610625906301000000900462ffffff1681565b3480156106e9575f5ffd5b5061057a610f5b565b3480156106fd575f5ffd5b50600c546105419073ffffffffffffffffffffffffffffffffffffffff1681565b348015610729575f5ffd5b5061035f610738366004613ac0565b60176020525f908152604090205460ff1681565b348015610757575f5ffd5b5061057a610766366004613b5f565b610fc9565b348015610776575f5ffd5b5060145461035f9062010000900460ff1681565b348015610795575f5ffd5b506103896107a4366004613ac0565b73ffffffffffffffffffffffffffffffffffffffff165f9081526002602052604090205490565b3480156107d6575f5ffd5b5061057a6110b4565b3480156107ea575f5ffd5b5061038960255481565b3480156107ff575f5ffd5b5061054161080e366004613bc7565b6110c5565b34801561081e575f5ffd5b5061038961082d366004613ac0565b6110fa565b34801561083d575f5ffd5b5061038961084c366004613ac0565b60156020525f908152604090205481565b348015610868575f5ffd5b50610871611124565b60405161036b9796959493929190613bde565b34801561088f575f5ffd5b50601d546106259062ffffff1681565b3480156108aa575f5ffd5b50600b5473ffffffffffffffffffffffffffffffffffffffff16610541565b3480156108d4575f5ffd5b506103ca6111c7565b3480156108e8575f5ffd5b50601d54610906906901000000000000000000900463ffffffff1681565b60405163ffffffff909116815260200161036b565b348015610926575f5ffd5b50610389610935366004613ac0565b601a6020525f908152604090205481565b348015610951575f5ffd5b5061035f610960366004613b5f565b6111d4565b348015610970575f5ffd5b5061035f61097f366004613b5f565b611289565b34801561098f575f5ffd5b5061038960215481565b3480156109a4575f5ffd5b5060145461035f90610100900460ff1681565b3480156109c2575f5ffd5b5061057a611296565b3480156109d6575f5ffd5b5061038960205481565b3480156109eb575f5ffd5b5061057a6109fa366004613c9d565b6112b0565b348015610a0a575f5ffd5b50610541610a19366004613bc7565b61146c565b348015610a29575f5ffd5b50610389610a38366004613d0e565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b348015610a7a575f5ffd5b5061057a610a89366004613dea565b61147b565b348015610a99575f5ffd5b5061038960225481565b348015610aae575f5ffd5b5061057a610abd366004613ac0565b6114dd565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526016602052604081208054808303610af857505f9392505050565b5f610b0282611591565b6001840154909150808211610b1c57505f95945050505050565b610b268183613ee7565b9695505050505050565b60038054610b3d90613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6990613efa565b8015610bb45780601f10610b8b57610100808354040283529160200191610bb4565b820191905f5260205f20905b815481529060010190602001808311610b9757829003601f168201915b505050505081565b5f33610bc98185856115b8565b60019150505b92915050565b5f5f5f5f8473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610c22573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c469190613f62565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cef9190613fae565b73ffffffffffffffffffffffffffffffffffffffff1603610d1257819250610d16565b8092505b825f03610d2557505050919050565b5f8573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6f573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d939190613fc9565b905080610da261271086613fe0565b610b269190613ff7565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526001602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610ea95783811015610e72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8087165f90815260016020908152604080832093861683529290522084820390555b610eb486868661171f565b50600195945050505050565b5f610ec9611a1e565b905090565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610bc99082908690610f1490879061402f565b6115b8565b610f24336001611b54565b565b601c8181548110610f35575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b5f805460405147929173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d805f8114610fb3576040519150601f19603f3d011682016040523d82523d5f602084013e610fb8565b606091505b5050905080610fc5575f5ffd5b5050565b3073ffffffffffffffffffffffffffffffffffffffff831603610fea575f5ffd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015282905f9073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611056573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107a9190613fc9565b905080831115611088578092505b5f546110ae9073ffffffffffffffffffffffffffffffffffffffff848116911685611c94565b50505050565b6110bc611d26565b610f245f611da7565b601381815481106110d4575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260096020526040812054610bcf565b5f606080828080836111577f00000000000000000000000000000000000000000000000000000000000000006007611e1d565b6111827f00000000000000000000000000000000000000000000000000000000000000006008611e1d565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60048054610b3d90613efa565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a00000000000000000000000000000000000000000000000000000000006044820152606401610e69565b61127e82868684036115b8565b506001949350505050565b5f33610bc981858561171f565b61129e611d26565b602054156112aa575f5ffd5b43602055565b8342111561131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610e69565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886113488c611ec6565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f6113af82611efa565b90505f6113be82878787611f41565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610e69565b6114608a8a8a6115b8565b50505050505050505050565b600d81815481106110d4575f80fd5b5f5b81518110156114d0575f82828151811061149957611499614042565b602002602001015190506114c7815f01518260200151670de0b6b3a76400006114c29190613fe0565b611f69565b5060010161147d565b506114da33611fad565b50565b6114e5611d26565b73ffffffffffffffffffffffffffffffffffffffff8116611588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e69565b6114da81611da7565b6021545f906b033b2e3c9fd0803ce8000000906115ae9084613fe0565b610bcf9190613ff7565b73ffffffffffffffffffffffffffffffffffffffff8316611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff82166116b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61172984611fe6565b90505f61173584611fe6565b90506020545f036117af5773ffffffffffffffffffffffffffffffffffffffff85165f9081526018602052604090205460ff1680611797575073ffffffffffffffffffffffffffffffffffffffff84165f9081526018602052604090205460ff165b61179f575f5ffd5b6117aa85858561211a565b611a17565b305f90815260026020526040812054906117c88561231d565b6dffffffffffffffffffffffffffff169050601460029054906101000a900460ff1680156117f65750808210155b8015611805575060145460ff16155b801561182b5750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b1561188d57601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556118648161237b565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b73ffffffffffffffffffffffffffffffffffffffff87165f9081526018602052604090205460ff161580156118e7575073ffffffffffffffffffffffffffffffffffffffff86165f9081526018602052604090205460ff16155b15611957575f5f6118f98787876129ca565b9092509050811561193657601254611929908a9073ffffffffffffffffffffffffffffffffffffffff168461211a565b6119338288613ee7565b96505b80156119545761194789308361211a565b6119518188613ee7565b96505b50505b61196287878761211a565b601454610100900460ff16801561197c575060145460ff16155b1561199957601d54611999906301000000900462ffffff16612a7a565b73ffffffffffffffffffffffffffffffffffffffff87165f9081526019602052604090205460ff166119d9576119d7876119d289612bf2565b612d5e565b505b73ffffffffffffffffffffffffffffffffffffffff86165f9081526019602052604090205460ff16611a1457611a12866119d288612bf2565b505b50505b5050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016148015611a8357507f000000000000000000000000000000000000000000000000000000000000000046145b15611aad57507f000000000000000000000000000000000000000000000000000000000000000090565b610ec9604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b73ffffffffffffffffffffffffffffffffffffffff82165f90815260166020526040812080549091819003611b895750505050565b5f611b9385610ac2565b90508015611a17578315611c25575f8573ffffffffffffffffffffffffffffffffffffffff16826040515f6040518083038185875af1925050503d805f8114611bf7576040519150601f19603f3d011682016040523d82523d5f602084013e611bfc565b606091505b505090508015611c1f5781846002015f828254611c19919061402f565b90915550505b50611c3c565b80601e5f828254611c36919061402f565b90915550505b80602254611c4a919061402f565b60225573ffffffffffffffffffffffffffffffffffffffff85165f908152601a60205260409020429055611c7d82611591565b611c8890600161402f565b60018401555050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611d21908490612f3d565b505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314610f24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e69565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314611e3757611e308361304a565b9050610bcf565b818054611e4390613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6f90613efa565b8015611eba5780601f10611e9157610100808354040283529160200191611eba565b820191905f5260205f20905b815481529060010190602001808311611e9d57829003601f168201915b50505050509050610bcf565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526009602052604090208054600181018255905b50919050565b5f610bcf611f06611a1e565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b5f5f5f611f5087878787613087565b91509150611f5d8161316f565b5090505b949350505050565b611f7433838361211a565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526019602052604090205460ff16610fc557611d21826119d284612bf2565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526019602052604090205460ff166114da57610fc5816119d233612bf2565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361200c57505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526017602052604090205460ff166120ef575f5f61204384613321565b909250905073ffffffffffffffffffffffffffffffffffffffff8216301480612081575073ffffffffffffffffffffffffffffffffffffffff811630145b156120ec5773ffffffffffffffffffffffffffffffffffffffff84165f908152601760209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560199093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f9081526017602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff8316612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8216612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260026020526040902054818110156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41454200000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8085165f8181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061230f9086815260200190565b60405180910390a350505050565b601d54600c5473ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040812054909162ffffff16906123599190613ff7565b905081816dffffffffffffffffffffffffffff1611156123765750805b919050565b805f036123855750565b5f6064601c60048154811061239c5761239c614042565b5f91825260209091206010820401546123c591600f166002026101000a900461ffff1684613fe0565b6123cf9190613ff7565b305f9081526002602052604090205490915081101561245457305f9081526002602052604081208054839290612406908490613ee7565b909155505060105473ffffffffffffffffffffffffffffffffffffffff165f908152600260205260408120805483929061244190849061402f565b9091555061245190508183613ee7565b91505b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061248757612487614042565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561251e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125429190613fae565b8160018151811061255557612555614042565b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101524761259a3073165c3410fc91ef562c50559f7d2289febed552d9866115b8565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d99063791ac947906125f29087905f908790309042906004016140ec565b5f604051808303815f87803b158015612609575f5ffd5b505af192505050801561261a575060015b505f47828111156126325761262f8382613ee7565b91505b81156129c2575f6064601c60048154811061264f5761264f614042565b5f918252602090912060108204015461267891600f166002026101000a900461ffff1685613fe0565b6126829190613ff7565b601054601e549192505f9173ffffffffffffffffffffffffffffffffffffffff909116906126b0908461402f565b6040515f81818185875af1925050503d805f81146126e9576040519150601f19603f3d011682016040523d82523d5f602084013e6126ee565b606091505b50505f601e5590506127008285613ee7565b93505f6064601c60038154811061271957612719614042565b5f918252602090912060108204015461274291600f166002026101000a900461ffff1687613fe0565b61274c9190613ff7565b600e5460405191925073ffffffffffffffffffffffffffffffffffffffff169082905f81818185875af1925050503d805f81146127a4576040519150601f19603f3d011682016040523d82523d5f602084013e6127a9565b606091505b5050600f5460405191935073ffffffffffffffffffffffffffffffffffffffff169082905f81818185875af1925050503d805f8114612803576040519150601f19603f3d011682016040523d82523d5f602084013e612808565b606091505b509092506128199050816002613fe0565b6128239086613ee7565b94505f6064601c60058154811061283c5761283c614042565b5f918252602090912060108204015461286591600f166002026101000a900461ffff1688613fe0565b61286f9190613ff7565b905061287a8161339d565b6128848187613ee7565b95505f601c60018154811061289b5761289b614042565b5f918252602090912060108204015461ffff6002600f90931683026101000a90910416908890601c90815481106128d4576128d4614042565b905f5260205f2090601091828204019190066002029054906101000a900461ffff1661ffff166129049190613fe0565b61290e9190613ff7565b6040519091506103699082905f81818185875af1925050503d805f8114612950576040519150601f19603f3d011682016040523d82523d5f602084013e612955565b606091505b5090945061296590508188613ee7565b965080602554612975919061402f565b60255560245461298690889061402f565b6024556023546129a2886b033b2e3c9fd0803ce8000000613fe0565b6129ac9190613ff7565b6021546129b9919061402f565b60215550505050505b505050505050565b5f5f82806129d55750835b15612a7257612710601c5f815481106129f0576129f0614042565b5f9182526020909120601082040154612a1991600f166002026101000a900461ffff1687613fe0565b612a239190613ff7565b9150612710601c600181548110612a3c57612a3c614042565b5f9182526020909120601082040154612a6591600f166002026101000a900461ffff1687613fe0565b612a6f9190613ff7565b90505b935093915050565b6013545f819003612a89575050565b5f805a90505f5b8483108015612a9e57508381105b15611a1757601d546901000000000000000000900463ffffffff168411612ae857601d80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601d54601380545f926901000000000000000000900463ffffffff16908110612b1357612b13614042565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601990915260409091205490915060ff16612b82575f612b5c826119d284612bf2565b905080158015612b705750612b7082613549565b15612b8057612b80826001611b54565b505b601d80546901000000000000000000900463ffffffff16906009612ba583614134565b91906101000a81548163ffffffff021916908363ffffffff160217905550508180612bcf90614158565b9250505a612bdd9084613ee7565b612be7908561402f565b93505a925050612a90565b600d545f908190815b81811015612d275761271061ffff1660155f600d8481548110612c2057612c20614042565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805484908110612c6557612c65614042565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa158015612cdb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cff9190613fc9565b612d099190613fe0565b612d139190613ff7565b612d1d908461402f565b9250600101612bfb565b5081612d548573ffffffffffffffffffffffffffffffffffffffff165f9081526002602052604090205490565b611f61919061402f565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526016602052604081208054838114612f35578015612da257612d9d855f8611611b54565b600192505b835f03612db757612db2856135c8565b612e3f565b805f03612e3f576013805473ffffffffffffffffffffffffffffffffffffffff87165f818152601b60205260408120839055600183018455929092527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b62015180601f5442612e519190613ee7565b1115612efc5742601f55600d545f5b81811015612ef9575f600d8281548110612e7c57612e7c614042565b5f91825260209091200154600c5473ffffffffffffffffffffffffffffffffffffffff9182169250600391168203612eb2575060045b5f612ebc83610bd5565b612ec69083613fe0565b73ffffffffffffffffffffffffffffffffffffffff9093165f908152601560205260409020929092555050600101612e60565b50505b8381602354612f0b9190613ee7565b612f15919061402f565b602355838255612f2484611591565b612f2f90600161402f565b60018301555b505092915050565b5f612f9e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661374f9092919063ffffffff16565b905080515f1480612fbe575080806020019051810190612fbe919061418f565b611d21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610e69565b60605f6130568361375d565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156130bc57505f90506003613166565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561310d573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116613160575f60019250925050613166565b91505f90505b94509492505050565b5f8160048111156131825761318261406f565b0361318a5750565b600181600481111561319e5761319e61406f565b03613205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610e69565b60028160048111156132195761321961406f565b03613280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610e69565b60038160048111156132945761329461406f565b036114da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610e69565b5f5f61334d837f0dfe16810000000000000000000000000000000000000000000000000000000061379d565b915073ffffffffffffffffffffffffffffffffffffffff82161561339857613395837fd21220a70000000000000000000000000000000000000000000000000000000061379d565b90505b915091565b805f036133a75750565b6040805160028082526060820183525f9260208301908036833701905050905073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613424573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134489190613fae565b815f8151811061345a5761345a614042565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201015260115482519116908290600190811061349857613498614042565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526012546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d99263b6f9de95928692613517925f92889291169042906004016141ae565b5f604051808303818588803b15801561352e575f5ffd5b505af193505050508015613540575060015b15610fc5575050565b601d5473ffffffffffffffffffffffffffffffffffffffff82165f908152601a60205260408120549091429161358e916601000000000000900462ffffff169061402f565b108015610bcf5750601d546d010000000000000000000000000090046bffffffffffffffffffffffff166135c183610ac2565b1192915050565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601b60205260409020546013546135fb600182613ee7565b8210156136ba575f6013613610600184613ee7565b8154811061362057613620614042565b5f918252602090912001546013805473ffffffffffffffffffffffffffffffffffffffff909216925082918590811061365b5761365b614042565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601b909152604090208290555b60138054806136cb576136cb6141ef565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601b90935250506040812055565b6060611f6184845f856138ac565b5f60ff8216601f811115610bcf576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff87169161381f919061421c565b5f60405180830381855afa9150503d805f8114613857576040519150601f19603f3d011682016040523d82523d5f602084013e61385c565b606091505b509150915081158061386d57508051155b1561387c575f92505050610bcf565b80516020036138a257808060200190518101906138999190613fae565b92505050610bcf565b505f949350505050565b60608247101561393e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610e69565b5f5f8673ffffffffffffffffffffffffffffffffffffffff168587604051613966919061421c565b5f6040518083038185875af1925050503d805f81146139a0576040519150601f19603f3d011682016040523d82523d5f602084013e6139a5565b606091505b50915091506139b6878383876139c1565b979650505050505050565b60608315613a565782515f03613a4f5773ffffffffffffffffffffffffffffffffffffffff85163b613a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e69565b5081611f61565b611f618383815115613a6b5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e699190613b4d565b73ffffffffffffffffffffffffffffffffffffffff811681146114da575f5ffd5b5f60208284031215613ad0575f5ffd5b8135613adb81613a9f565b9392505050565b5f5b83811015613afc578181015183820152602001613ae4565b50505f910152565b5f8151808452613b1b816020860160208601613ae2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f613adb6020830184613b04565b5f5f60408385031215613b70575f5ffd5b8235613b7b81613a9f565b946020939093013593505050565b5f5f5f60608486031215613b9b575f5ffd5b8335613ba681613a9f565b92506020840135613bb681613a9f565b929592945050506040919091013590565b5f60208284031215613bd7575f5ffd5b5035919050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e060208201525f613c1860e0830189613b04565b8281036040840152613c2a8189613b04565b6060840188905273ffffffffffffffffffffffffffffffffffffffff8716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015613c8c578351835260209384019390920191600101613c6e565b50909b9a5050505050505050505050565b5f5f5f5f5f5f5f60e0888a031215613cb3575f5ffd5b8735613cbe81613a9f565b96506020880135613cce81613a9f565b95506040880135945060608801359350608088013560ff81168114613cf1575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215613d1f575f5ffd5b8235613d2a81613a9f565b91506020830135613d3a81613a9f565b809150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040805190810167ffffffffffffffff81118282101715613d9557613d95613d45565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613de257613de2613d45565b604052919050565b5f60208284031215613dfa575f5ffd5b813567ffffffffffffffff811115613e10575f5ffd5b8201601f81018413613e20575f5ffd5b803567ffffffffffffffff811115613e3a57613e3a613d45565b613e4960208260051b01613d9b565b8082825260208201915060208360061b850101925086831115613e6a575f5ffd5b6020840193505b82841015610b265760408488031215613e88575f5ffd5b613e90613d72565b8435613e9b81613a9f565b8152602085810135818301529083526040909401939190910190613e71565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81810381811115610bcf57610bcf613eba565b600181811c90821680613f0e57607f821691505b602082108103611ef4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b80516dffffffffffffffffffffffffffff81168114612376575f5ffd5b5f5f5f60608486031215613f74575f5ffd5b613f7d84613f45565b9250613f8b60208501613f45565b9150604084015163ffffffff81168114613fa3575f5ffd5b809150509250925092565b5f60208284031215613fbe575f5ffd5b8151613adb81613a9f565b5f60208284031215613fd9575f5ffd5b5051919050565b8082028115828204841417610bcf57610bcf613eba565b5f8261402a577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b80820180821115610bcf57610bcf613eba565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f8151808452602084019350602083015f5b828110156140e257815173ffffffffffffffffffffffffffffffffffffffff168652602095860195909101906001016140ae565b5093949350505050565b85815284602082015260a060408201525f61410a60a083018661409c565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b5f63ffffffff821663ffffffff810361414f5761414f613eba565b60010192915050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361418857614188613eba565b5060010190565b5f6020828403121561419f575f5ffd5b81518015158114613adb575f5ffd5b848152608060208201525f6141c6608083018661409c565b73ffffffffffffffffffffffffffffffffffffffff949094166040830152506060015292915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f825161422d818460208701613ae2565b919091019291505056fea264697066735822122089f3400c682b4eb345f8d0dcc334fd5a18a217931241f98f6a8efbb805b673b364736f6c634300081c0033d7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe0000000000000000000000000b0c2b195673ac5153f64d2311ca940794e982523000000000000000000000000c57228e9b719f179ee403efcc240ac7b33ab82a90000000000000000000000000000000000000000000000000000000000000004415552410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044155524100000000000000000000000000000000000000000000000000000000

Deployed ByteCode

0x608060405260043610610326575f3560e01c8063638a7099116101a7578063a1fb098e116100e7578063d00efb2f11610092578063dd62ed3e1161006d578063dd62ed3e14610a1e578063e0c9ffc614610a6f578063e7b0f66614610a8e578063f2fde38b14610aa3575f5ffd5b8063d00efb2f146109cb578063d505accf146109e0578063dcc15147146109ff575f5ffd5b8063aa7cddf5116100c2578063aa7cddf514610984578063ae2e9bcb14610999578063b0d3084c146109b7575f5ffd5b8063a1fb098e1461091b578063a457c2d714610946578063a9059cbb14610965575f5ffd5b80637ecebe00116101525780638b3ca6071161012d5780638b3ca607146108845780638da5cb5b1461089f57806395d89b41146108c9578063a146a55b146108dd575f5ffd5b80637ecebe0014610813578063821cb3401461083257806384b0196e1461085d575f5ffd5b8063715018a611610182578063715018a6146107cb5780637a6af78f146107df5780637ad71f72146107f4575f5ffd5b8063638a70991461074c5780636ddd17131461076b57806370a082311461078a575f5ffd5b80633a98ef39116102725780634b0432f21161021d578063501d815c116101f8578063501d815c146106bc57806356350ddb146106de5780635be60591146106f2578063631de5831461071e575f5ffd5b80634b0432f2146106005780634e2d4c8d14610639578063500e68e914610667575f5ffd5b8063406cf2291161024d578063406cf2291461056657806348fe22871461057c5780634acc79ed146105ce575f5ffd5b80633a98ef39146104da5780633d78d410146104ef5780633ed057001461051a575f5ffd5b806318160ddd116102d25780633644e515116102ad5780633644e5151461047457806338b7f4461461048857806339509351146104bb575f5ffd5b806318160ddd1461041557806323b872dd1461042a578063313ce56714610449575f5ffd5b806306fdde031161030257806306fdde03146103b6578063095ea7b3146103d757806315701301146103f6575f5ffd5b80622a20501461033157806301418205146103745780630236273914610397575f5ffd5b3661032d57005b5f5ffd5b34801561033c575f5ffd5b5061035f61034b366004613ac0565b60186020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561037f575f5ffd5b5061038960245481565b60405190815260200161036b565b3480156103a2575f5ffd5b506103896103b1366004613ac0565b610ac2565b3480156103c1575f5ffd5b506103ca610b30565b60405161036b9190613b4d565b3480156103e2575f5ffd5b5061035f6103f1366004613b5f565b610bbc565b348015610401575f5ffd5b50610389610410366004613ac0565b610bd5565b348015610420575f5ffd5b5061038960055481565b348015610435575f5ffd5b5061035f610444366004613b89565b610dac565b348015610454575f5ffd5b506006546104629060ff1681565b60405160ff909116815260200161036b565b34801561047f575f5ffd5b50610389610ec0565b348015610493575f5ffd5b506103897f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b3480156104c6575f5ffd5b5061035f6104d5366004613b5f565b610ece565b3480156104e5575f5ffd5b5061038960235481565b3480156104fa575f5ffd5b50610389610509366004613ac0565b601b6020525f908152604090205481565b348015610525575f5ffd5b5061054173165c3410fc91ef562c50559f7d2289febed552d981565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161036b565b348015610571575f5ffd5b5061057a610f19565b005b348015610587575f5ffd5b50601d546105b1906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161036b565b3480156105d9575f5ffd5b506105ed6105e8366004613bc7565b610f26565b60405161ffff909116815260200161036b565b34801561060b575f5ffd5b50601d54610625906601000000000000900462ffffff1681565b60405162ffffff909116815260200161036b565b348015610644575f5ffd5b5061035f610653366004613ac0565b60196020525f908152604090205460ff1681565b348015610672575f5ffd5b506106a1610681366004613ac0565b60166020525f908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161036b565b3480156106c7575f5ffd5b50601d54610625906301000000900462ffffff1681565b3480156106e9575f5ffd5b5061057a610f5b565b3480156106fd575f5ffd5b50600c546105419073ffffffffffffffffffffffffffffffffffffffff1681565b348015610729575f5ffd5b5061035f610738366004613ac0565b60176020525f908152604090205460ff1681565b348015610757575f5ffd5b5061057a610766366004613b5f565b610fc9565b348015610776575f5ffd5b5060145461035f9062010000900460ff1681565b348015610795575f5ffd5b506103896107a4366004613ac0565b73ffffffffffffffffffffffffffffffffffffffff165f9081526002602052604090205490565b3480156107d6575f5ffd5b5061057a6110b4565b3480156107ea575f5ffd5b5061038960255481565b3480156107ff575f5ffd5b5061054161080e366004613bc7565b6110c5565b34801561081e575f5ffd5b5061038961082d366004613ac0565b6110fa565b34801561083d575f5ffd5b5061038961084c366004613ac0565b60156020525f908152604090205481565b348015610868575f5ffd5b50610871611124565b60405161036b9796959493929190613bde565b34801561088f575f5ffd5b50601d546106259062ffffff1681565b3480156108aa575f5ffd5b50600b5473ffffffffffffffffffffffffffffffffffffffff16610541565b3480156108d4575f5ffd5b506103ca6111c7565b3480156108e8575f5ffd5b50601d54610906906901000000000000000000900463ffffffff1681565b60405163ffffffff909116815260200161036b565b348015610926575f5ffd5b50610389610935366004613ac0565b601a6020525f908152604090205481565b348015610951575f5ffd5b5061035f610960366004613b5f565b6111d4565b348015610970575f5ffd5b5061035f61097f366004613b5f565b611289565b34801561098f575f5ffd5b5061038960215481565b3480156109a4575f5ffd5b5060145461035f90610100900460ff1681565b3480156109c2575f5ffd5b5061057a611296565b3480156109d6575f5ffd5b5061038960205481565b3480156109eb575f5ffd5b5061057a6109fa366004613c9d565b6112b0565b348015610a0a575f5ffd5b50610541610a19366004613bc7565b61146c565b348015610a29575f5ffd5b50610389610a38366004613d0e565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b348015610a7a575f5ffd5b5061057a610a89366004613dea565b61147b565b348015610a99575f5ffd5b5061038960225481565b348015610aae575f5ffd5b5061057a610abd366004613ac0565b6114dd565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526016602052604081208054808303610af857505f9392505050565b5f610b0282611591565b6001840154909150808211610b1c57505f95945050505050565b610b268183613ee7565b9695505050505050565b60038054610b3d90613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6990613efa565b8015610bb45780601f10610b8b57610100808354040283529160200191610bb4565b820191905f5260205f20905b815481529060010190602001808311610b9757829003601f168201915b505050505081565b5f33610bc98185856115b8565b60019150505b92915050565b5f5f5f5f8473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610c22573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c469190613f62565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cef9190613fae565b73ffffffffffffffffffffffffffffffffffffffff1603610d1257819250610d16565b8092505b825f03610d2557505050919050565b5f8573ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6f573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d939190613fc9565b905080610da261271086613fe0565b610b269190613ff7565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526001602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610ea95783811015610e72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8087165f90815260016020908152604080832093861683529290522084820390555b610eb486868661171f565b50600195945050505050565b5f610ec9611a1e565b905090565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610bc99082908690610f1490879061402f565b6115b8565b610f24336001611b54565b565b601c8181548110610f35575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b5f805460405147929173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d805f8114610fb3576040519150601f19603f3d011682016040523d82523d5f602084013e610fb8565b606091505b5050905080610fc5575f5ffd5b5050565b3073ffffffffffffffffffffffffffffffffffffffff831603610fea575f5ffd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015282905f9073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611056573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107a9190613fc9565b905080831115611088578092505b5f546110ae9073ffffffffffffffffffffffffffffffffffffffff848116911685611c94565b50505050565b6110bc611d26565b610f245f611da7565b601381815481106110d4575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260096020526040812054610bcf565b5f606080828080836111577f41555241000000000000000000000000000000000000000000000000000000046007611e1d565b6111827f31000000000000000000000000000000000000000000000000000000000000016008611e1d565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60048054610b3d90613efa565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a00000000000000000000000000000000000000000000000000000000006044820152606401610e69565b61127e82868684036115b8565b506001949350505050565b5f33610bc981858561171f565b61129e611d26565b602054156112aa575f5ffd5b43602055565b8342111561131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610e69565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886113488c611ec6565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f6113af82611efa565b90505f6113be82878787611f41565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610e69565b6114608a8a8a6115b8565b50505050505050505050565b600d81815481106110d4575f80fd5b5f5b81518110156114d0575f82828151811061149957611499614042565b602002602001015190506114c7815f01518260200151670de0b6b3a76400006114c29190613fe0565b611f69565b5060010161147d565b506114da33611fad565b50565b6114e5611d26565b73ffffffffffffffffffffffffffffffffffffffff8116611588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e69565b6114da81611da7565b6021545f906b033b2e3c9fd0803ce8000000906115ae9084613fe0565b610bcf9190613ff7565b73ffffffffffffffffffffffffffffffffffffffff8316611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff82166116b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61172984611fe6565b90505f61173584611fe6565b90506020545f036117af5773ffffffffffffffffffffffffffffffffffffffff85165f9081526018602052604090205460ff1680611797575073ffffffffffffffffffffffffffffffffffffffff84165f9081526018602052604090205460ff165b61179f575f5ffd5b6117aa85858561211a565b611a17565b305f90815260026020526040812054906117c88561231d565b6dffffffffffffffffffffffffffff169050601460029054906101000a900460ff1680156117f65750808210155b8015611805575060145460ff16155b801561182b5750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b1561188d57601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556118648161237b565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b73ffffffffffffffffffffffffffffffffffffffff87165f9081526018602052604090205460ff161580156118e7575073ffffffffffffffffffffffffffffffffffffffff86165f9081526018602052604090205460ff16155b15611957575f5f6118f98787876129ca565b9092509050811561193657601254611929908a9073ffffffffffffffffffffffffffffffffffffffff168461211a565b6119338288613ee7565b96505b80156119545761194789308361211a565b6119518188613ee7565b96505b50505b61196287878761211a565b601454610100900460ff16801561197c575060145460ff16155b1561199957601d54611999906301000000900462ffffff16612a7a565b73ffffffffffffffffffffffffffffffffffffffff87165f9081526019602052604090205460ff166119d9576119d7876119d289612bf2565b612d5e565b505b73ffffffffffffffffffffffffffffffffffffffff86165f9081526019602052604090205460ff16611a1457611a12866119d288612bf2565b505b50505b5050505050565b5f3073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000005e24d6baa2c452cceb05153834a9750581bb92c716148015611a8357507f000000000000000000000000000000000000000000000000000000000000017146145b15611aad57507f99eb5c3da06881d120b93fd635f0919b17db6fcb1c20f140014533baef8b8dc190565b610ec9604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f36c1b71af36fe05a429ec53ba7890fb4e69582f66364001b69d077cce5b9161c918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b73ffffffffffffffffffffffffffffffffffffffff82165f90815260166020526040812080549091819003611b895750505050565b5f611b9385610ac2565b90508015611a17578315611c25575f8573ffffffffffffffffffffffffffffffffffffffff16826040515f6040518083038185875af1925050503d805f8114611bf7576040519150601f19603f3d011682016040523d82523d5f602084013e611bfc565b606091505b505090508015611c1f5781846002015f828254611c19919061402f565b90915550505b50611c3c565b80601e5f828254611c36919061402f565b90915550505b80602254611c4a919061402f565b60225573ffffffffffffffffffffffffffffffffffffffff85165f908152601a60205260409020429055611c7d82611591565b611c8890600161402f565b60018401555050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611d21908490612f3d565b505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314610f24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e69565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314611e3757611e308361304a565b9050610bcf565b818054611e4390613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6f90613efa565b8015611eba5780601f10611e9157610100808354040283529160200191611eba565b820191905f5260205f20905b815481529060010190602001808311611e9d57829003601f168201915b50505050509050610bcf565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526009602052604090208054600181018255905b50919050565b5f610bcf611f06611a1e565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b5f5f5f611f5087878787613087565b91509150611f5d8161316f565b5090505b949350505050565b611f7433838361211a565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526019602052604090205460ff16610fc557611d21826119d284612bf2565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526019602052604090205460ff166114da57610fc5816119d233612bf2565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361200c57505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526017602052604090205460ff166120ef575f5f61204384613321565b909250905073ffffffffffffffffffffffffffffffffffffffff8216301480612081575073ffffffffffffffffffffffffffffffffffffffff811630145b156120ec5773ffffffffffffffffffffffffffffffffffffffff84165f908152601760209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560199093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f9081526017602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff8316612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8216612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a4100000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260026020526040902054818110156122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41454200000000000000000000000000000000000000000000000000000000006044820152606401610e69565b73ffffffffffffffffffffffffffffffffffffffff8085165f8181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061230f9086815260200190565b60405180910390a350505050565b601d54600c5473ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040812054909162ffffff16906123599190613ff7565b905081816dffffffffffffffffffffffffffff1611156123765750805b919050565b805f036123855750565b5f6064601c60048154811061239c5761239c614042565b5f91825260209091206010820401546123c591600f166002026101000a900461ffff1684613fe0565b6123cf9190613ff7565b305f9081526002602052604090205490915081101561245457305f9081526002602052604081208054839290612406908490613ee7565b909155505060105473ffffffffffffffffffffffffffffffffffffffff165f908152600260205260408120805483929061244190849061402f565b9091555061245190508183613ee7565b91505b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061248757612487614042565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561251e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125429190613fae565b8160018151811061255557612555614042565b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101524761259a3073165c3410fc91ef562c50559f7d2289febed552d9866115b8565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d99063791ac947906125f29087905f908790309042906004016140ec565b5f604051808303815f87803b158015612609575f5ffd5b505af192505050801561261a575060015b505f47828111156126325761262f8382613ee7565b91505b81156129c2575f6064601c60048154811061264f5761264f614042565b5f918252602090912060108204015461267891600f166002026101000a900461ffff1685613fe0565b6126829190613ff7565b601054601e549192505f9173ffffffffffffffffffffffffffffffffffffffff909116906126b0908461402f565b6040515f81818185875af1925050503d805f81146126e9576040519150601f19603f3d011682016040523d82523d5f602084013e6126ee565b606091505b50505f601e5590506127008285613ee7565b93505f6064601c60038154811061271957612719614042565b5f918252602090912060108204015461274291600f166002026101000a900461ffff1687613fe0565b61274c9190613ff7565b600e5460405191925073ffffffffffffffffffffffffffffffffffffffff169082905f81818185875af1925050503d805f81146127a4576040519150601f19603f3d011682016040523d82523d5f602084013e6127a9565b606091505b5050600f5460405191935073ffffffffffffffffffffffffffffffffffffffff169082905f81818185875af1925050503d805f8114612803576040519150601f19603f3d011682016040523d82523d5f602084013e612808565b606091505b509092506128199050816002613fe0565b6128239086613ee7565b94505f6064601c60058154811061283c5761283c614042565b5f918252602090912060108204015461286591600f166002026101000a900461ffff1688613fe0565b61286f9190613ff7565b905061287a8161339d565b6128848187613ee7565b95505f601c60018154811061289b5761289b614042565b5f918252602090912060108204015461ffff6002600f90931683026101000a90910416908890601c90815481106128d4576128d4614042565b905f5260205f2090601091828204019190066002029054906101000a900461ffff1661ffff166129049190613fe0565b61290e9190613ff7565b6040519091506103699082905f81818185875af1925050503d805f8114612950576040519150601f19603f3d011682016040523d82523d5f602084013e612955565b606091505b5090945061296590508188613ee7565b965080602554612975919061402f565b60255560245461298690889061402f565b6024556023546129a2886b033b2e3c9fd0803ce8000000613fe0565b6129ac9190613ff7565b6021546129b9919061402f565b60215550505050505b505050505050565b5f5f82806129d55750835b15612a7257612710601c5f815481106129f0576129f0614042565b5f9182526020909120601082040154612a1991600f166002026101000a900461ffff1687613fe0565b612a239190613ff7565b9150612710601c600181548110612a3c57612a3c614042565b5f9182526020909120601082040154612a6591600f166002026101000a900461ffff1687613fe0565b612a6f9190613ff7565b90505b935093915050565b6013545f819003612a89575050565b5f805a90505f5b8483108015612a9e57508381105b15611a1757601d546901000000000000000000900463ffffffff168411612ae857601d80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601d54601380545f926901000000000000000000900463ffffffff16908110612b1357612b13614042565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601990915260409091205490915060ff16612b82575f612b5c826119d284612bf2565b905080158015612b705750612b7082613549565b15612b8057612b80826001611b54565b505b601d80546901000000000000000000900463ffffffff16906009612ba583614134565b91906101000a81548163ffffffff021916908363ffffffff160217905550508180612bcf90614158565b9250505a612bdd9084613ee7565b612be7908561402f565b93505a925050612a90565b600d545f908190815b81811015612d275761271061ffff1660155f600d8481548110612c2057612c20614042565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805484908110612c6557612c65614042565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa158015612cdb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cff9190613fc9565b612d099190613fe0565b612d139190613ff7565b612d1d908461402f565b9250600101612bfb565b5081612d548573ffffffffffffffffffffffffffffffffffffffff165f9081526002602052604090205490565b611f61919061402f565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526016602052604081208054838114612f35578015612da257612d9d855f8611611b54565b600192505b835f03612db757612db2856135c8565b612e3f565b805f03612e3f576013805473ffffffffffffffffffffffffffffffffffffffff87165f818152601b60205260408120839055600183018455929092527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b62015180601f5442612e519190613ee7565b1115612efc5742601f55600d545f5b81811015612ef9575f600d8281548110612e7c57612e7c614042565b5f91825260209091200154600c5473ffffffffffffffffffffffffffffffffffffffff9182169250600391168203612eb2575060045b5f612ebc83610bd5565b612ec69083613fe0565b73ffffffffffffffffffffffffffffffffffffffff9093165f908152601560205260409020929092555050600101612e60565b50505b8381602354612f0b9190613ee7565b612f15919061402f565b602355838255612f2484611591565b612f2f90600161402f565b60018301555b505092915050565b5f612f9e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661374f9092919063ffffffff16565b905080515f1480612fbe575080806020019051810190612fbe919061418f565b611d21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610e69565b60605f6130568361375d565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156130bc57505f90506003613166565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561310d573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116613160575f60019250925050613166565b91505f90505b94509492505050565b5f8160048111156131825761318261406f565b0361318a5750565b600181600481111561319e5761319e61406f565b03613205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610e69565b60028160048111156132195761321961406f565b03613280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610e69565b60038160048111156132945761329461406f565b036114da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610e69565b5f5f61334d837f0dfe16810000000000000000000000000000000000000000000000000000000061379d565b915073ffffffffffffffffffffffffffffffffffffffff82161561339857613395837fd21220a70000000000000000000000000000000000000000000000000000000061379d565b90505b915091565b805f036133a75750565b6040805160028082526060820183525f9260208301908036833701905050905073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613424573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134489190613fae565b815f8151811061345a5761345a614042565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201015260115482519116908290600190811061349857613498614042565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526012546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815273165c3410fc91ef562c50559f7d2289febed552d99263b6f9de95928692613517925f92889291169042906004016141ae565b5f604051808303818588803b15801561352e575f5ffd5b505af193505050508015613540575060015b15610fc5575050565b601d5473ffffffffffffffffffffffffffffffffffffffff82165f908152601a60205260408120549091429161358e916601000000000000900462ffffff169061402f565b108015610bcf5750601d546d010000000000000000000000000090046bffffffffffffffffffffffff166135c183610ac2565b1192915050565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601b60205260409020546013546135fb600182613ee7565b8210156136ba575f6013613610600184613ee7565b8154811061362057613620614042565b5f918252602090912001546013805473ffffffffffffffffffffffffffffffffffffffff909216925082918590811061365b5761365b614042565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601b909152604090208290555b60138054806136cb576136cb6141ef565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601b90935250506040812055565b6060611f6184845f856138ac565b5f60ff8216601f811115610bcf576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff87169161381f919061421c565b5f60405180830381855afa9150503d805f8114613857576040519150601f19603f3d011682016040523d82523d5f602084013e61385c565b606091505b509150915081158061386d57508051155b1561387c575f92505050610bcf565b80516020036138a257808060200190518101906138999190613fae565b92505050610bcf565b505f949350505050565b60608247101561393e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610e69565b5f5f8673ffffffffffffffffffffffffffffffffffffffff168587604051613966919061421c565b5f6040518083038185875af1925050503d805f81146139a0576040519150601f19603f3d011682016040523d82523d5f602084013e6139a5565b606091505b50915091506139b6878383876139c1565b979650505050505050565b60608315613a565782515f03613a4f5773ffffffffffffffffffffffffffffffffffffffff85163b613a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e69565b5081611f61565b611f618383815115613a6b5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e699190613b4d565b73ffffffffffffffffffffffffffffffffffffffff811681146114da575f5ffd5b5f60208284031215613ad0575f5ffd5b8135613adb81613a9f565b9392505050565b5f5b83811015613afc578181015183820152602001613ae4565b50505f910152565b5f8151808452613b1b816020860160208601613ae2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f613adb6020830184613b04565b5f5f60408385031215613b70575f5ffd5b8235613b7b81613a9f565b946020939093013593505050565b5f5f5f60608486031215613b9b575f5ffd5b8335613ba681613a9f565b92506020840135613bb681613a9f565b929592945050506040919091013590565b5f60208284031215613bd7575f5ffd5b5035919050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e060208201525f613c1860e0830189613b04565b8281036040840152613c2a8189613b04565b6060840188905273ffffffffffffffffffffffffffffffffffffffff8716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015613c8c578351835260209384019390920191600101613c6e565b50909b9a5050505050505050505050565b5f5f5f5f5f5f5f60e0888a031215613cb3575f5ffd5b8735613cbe81613a9f565b96506020880135613cce81613a9f565b95506040880135945060608801359350608088013560ff81168114613cf1575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215613d1f575f5ffd5b8235613d2a81613a9f565b91506020830135613d3a81613a9f565b809150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040805190810167ffffffffffffffff81118282101715613d9557613d95613d45565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613de257613de2613d45565b604052919050565b5f60208284031215613dfa575f5ffd5b813567ffffffffffffffff811115613e10575f5ffd5b8201601f81018413613e20575f5ffd5b803567ffffffffffffffff811115613e3a57613e3a613d45565b613e4960208260051b01613d9b565b8082825260208201915060208360061b850101925086831115613e6a575f5ffd5b6020840193505b82841015610b265760408488031215613e88575f5ffd5b613e90613d72565b8435613e9b81613a9f565b8152602085810135818301529083526040909401939190910190613e71565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81810381811115610bcf57610bcf613eba565b600181811c90821680613f0e57607f821691505b602082108103611ef4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b80516dffffffffffffffffffffffffffff81168114612376575f5ffd5b5f5f5f60608486031215613f74575f5ffd5b613f7d84613f45565b9250613f8b60208501613f45565b9150604084015163ffffffff81168114613fa3575f5ffd5b809150509250925092565b5f60208284031215613fbe575f5ffd5b8151613adb81613a9f565b5f60208284031215613fd9575f5ffd5b5051919050565b8082028115828204841417610bcf57610bcf613eba565b5f8261402a577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b80820180821115610bcf57610bcf613eba565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f8151808452602084019350602083015f5b828110156140e257815173ffffffffffffffffffffffffffffffffffffffff168652602095860195909101906001016140ae565b5093949350505050565b85815284602082015260a060408201525f61410a60a083018661409c565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b5f63ffffffff821663ffffffff810361414f5761414f613eba565b60010192915050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361418857614188613eba565b5060010190565b5f6020828403121561419f575f5ffd5b81518015158114613adb575f5ffd5b848152608060208201525f6141c6608083018661409c565b73ffffffffffffffffffffffffffffffffffffffff949094166040830152506060015292915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f825161422d818460208701613ae2565b919091019291505056fea264697066735822122089f3400c682b4eb345f8d0dcc334fd5a18a217931241f98f6a8efbb805b673b364736f6c634300081c0033