false
true
0

Contract Address Details

0x73d8a4D01d658E565cF83068397FD39Baf386C48

Token
VRX (Vortex)
Creator
0x3eea09–197ac1 at 0x8b1df2–247583
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
5,344 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
26074396
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
VRX




Optimization enabled
true
Compiler version
v0.8.23+commit.f704f362




Optimization runs
1000000
EVM Version
shanghai




Verified at
2023-12-04T03:06:52.693496Z

Constructor Arguments

0x000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d900000000000000000000000095b303987a60c71504d99aa1b13b4da07b0790ab000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe000000000000000000000000043f11890f3d8ee704595eba88f52ee7d983b6907

Arg [0] (address) : 0x165c3410fc91ef562c50559f7d2289febed552d9
Arg [1] (address) : 0x95b303987a60c71504d99aa1b13b4da07b0790ab
Arg [2] (address) : 0xfb7103d7011dfa60c18c6961c5a38038d8048fe0
Arg [3] (address) : 0x43f11890f3d8ee704595eba88f52ee7d983b6907

              

contracts/VRX.sol

/*
 * @title TknX - Earn reflections in RWD tokens
 * @author Ra Murd <ramurd@pulselorian.com>
 * @notice https://pulselorian.com/
 * @notice https://t.me/ThePulselorian
 * @notice https://twitter.com/ThePulseLorian
 *
 * It's deflationary, burns portion of the fees, reflects rest of the fees in RWD tokens
 *
 *    (   (  (  (     (   (( (   .  (   (    (( (   ((
 *    )\  )\ )\ )\    )\ (\())\   . )\  )\   ))\)\  ))\
 *   ((_)((_)(_)(_)  ((_))(_)(_)   ((_)((_)(((_)_()((_)))
 *   | _ \ | | | |  / __| __| |   / _ \| _ \_ _|   \ \| |
 *   |  _/ |_| | |__\__ \ _|| |__| (_) |   /| || - | .  |
 *   |_|  \___/|____|___/___|____|\___/|_|_\___|_|_|_|\_|
 *
 * Tokenomics (initial fees):
 *          Buy      Sell     Transfer
 * Rfi      1.50%    2.50%    0.00%
 * Burn     0.50%    0.00%    0.00%
 *
 * Growth 0.1% (or 2.5% of reflection at conversion)
 *
 * SPDX-License-Identifier: MIT
 */

pragma solidity 0.8.23;

import "./@openzeppelin/access/AccessControl.sol";
import "./@openzeppelin/access/Ownable.sol";
import "./@openzeppelin/token/ERC20/ERC20.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/DSMath.sol";
import "./lib/Utils.sol";

contract VRX is DSMath, ERC20, Ownable, Utils, AccessControl {
    using SafeERC20 for IERC20;

    enum Fees {
        BuyRfiFee,
        BuyBurnFee,
        SellRfiFee,
        SellBurnFee,
        GrwthFee
    }

    struct WalletInfo {
        uint256 share;
        uint256 rewardDebt;
        uint256 rewardPaid;
    }

    address public constant burnAddr = address(0x369);

    bytes32 public constant GOVERN_ROLE = keccak256("GOVERN_ROLE");

    uint16 private constant _BIPS = 10000;
    uint16 private constant _MAX_FEE = 500;
    uint72 private constant _PER_SEC_LIMIT_CHANGE = 3 * 1e20; // 300 + 18 decimals
    uint96 private constant _BONUS_PER_SEC_RAY = 99999999683 * 1e16;
    uint96 private constant _REWARDX = 1e27;
    uint96 private constant _TOTAL_SUPPLY = 1e27; // 1 billion + 18 decimals

    IERC20 public RWD;
    IUniswapV2Pair public mainV2LP;
    IUniswapV2Pair[] public eligibleLPs;
    IUniswapV2Router02 public dexRouter;

    address[] public wallets;

    bool public enforceWalletTokenLimit = true;
    bool public payoutEnabled = true;
    bool public swapEnabled = true;

    mapping(address => WalletInfo) public walletInfo;
    mapping(address => bool) public isAMMPair;
    mapping(address => bool) public noFee;
    mapping(address => bool) public noRfi;
    mapping(address => uint256) public walletClaimTS;
    mapping(address => uint256) public walletIndex;

    uint16 public blocksToNextBonus = 30; // TODO change before launch
    uint16[] public fees = new uint16[](uint256(type(Fees).max) + 1);

    uint24 public lpRewardBips = 20000;
    uint24 public maxGas = 300000;
    uint24 public minWaitSec = 3600;
    uint24 public swapFactor = 1e5;
    uint32 public currIndex;
    uint96 public minReward = 1e18;

    uint256 public bonusAvailable;
    uint256 public bonusBlockNum;
    uint256 public shareRewardRay;
    uint256 public spareBonus;
    uint256 public totalPaid;
    uint256 public totalRfi;
    uint256 public totalShares;

    address private _feeAddr1;
    address private _feeAddr2;

    bool private _allLPsAllowConversion = false;
    bool private _swapping;

    mapping(address => bool) private _noAntiWhale;

    uint256 private _deployedTS;
    uint256 private _lastDistTS;
    uint256 private _maxWalletTokenLimit;

    event FeesUpdated(
        uint256 buyRfiFee,
        uint256 buyBurnFee,
        uint256 sellRfiFee,
        uint256 sellBurnFee,
        uint256 grwthFee
    );
    event PayoutPolicyChanged(uint256 minWait, uint256 minReward);
    event SwapFactorUpdated(uint256 newFactor);

    constructor(
        address dexRouter_,
        address rwd_,
        address feeAddr1_,
        address feeAddr2_
    ) ERC20("VRX", "Vortex") {
        _lastDistTS = block.timestamp;
        bonusBlockNum = block.number + blocksToNextBonus;
        _feeAddr1 = feeAddr1_;
        _feeAddr2 = feeAddr2_;
        RWD = IERC20(rwd_);
        dexRouter = IUniswapV2Router02(dexRouter_);
        address plsLPAddr = IUniswapV2Factory(dexRouter.factory()).createPair(
            address(this),
            dexRouter.WPLS()
        );
        mainV2LP = IUniswapV2Pair(plsLPAddr);
        eligibleLPs.push(mainV2LP);

        fees[uint256(Fees.BuyRfiFee)] = 150;
        fees[uint256(Fees.BuyBurnFee)] = 50;
        fees[uint256(Fees.SellRfiFee)] = 250;
        fees[uint256(Fees.SellBurnFee)] = 0;
        fees[uint256(Fees.GrwthFee)] = 250;

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

        noRfi[address(this)] = true;
        noRfi[burnAddr] = true;
        noRfi[plsLPAddr] = true;
        noRfi[address(0)] = true;

        _noAntiWhale[_msgSender()] = true;
        _noAntiWhale[feeAddr1_] = true;
        _noAntiWhale[feeAddr2_] = true;
        _noAntiWhale[dexRouter_] = true;
        _noAntiWhale[plsLPAddr] = true;

        isAMMPair[plsLPAddr] = true;

        _mint(_msgSender(), _TOTAL_SUPPLY);
        bonusAvailable = _TOTAL_SUPPLY / 10;

        _grantRole(GOVERN_ROLE, _msgSender());
        _deployedTS = block.timestamp;
    }

    receive() external payable {}

    function _calcFees(
        uint256 amt_,
        bool isFromAMM_,
        bool isToAMM_
    ) private view returns (uint256 burnFee, uint256 rfiFee) {
        if (isToAMM_) {
            // Selling
            burnFee = (amt_ * fees[uint256(Fees.SellBurnFee)]) / _BIPS;
            rfiFee = (amt_ * fees[uint256(Fees.SellRfiFee)]) / _BIPS;
        } else {
            if (isFromAMM_) {
                // Buying
                burnFee = (amt_ * fees[uint256(Fees.BuyBurnFee)]) / _BIPS;
                rfiFee = (amt_ * fees[uint256(Fees.BuyRfiFee)]) / _BIPS;
            }
        }

        return (burnFee, rfiFee);
    }

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

    function _checkIfAMMPair(address target_) private returns (bool isAPair) {
        if (target_.code.length == 0) return false;
        if (!isAMMPair[target_]) {
            (address token0, address token1) = Utils._getTokens(target_);
            if (token0 != address(0) && token1 != address(0)) {
                isAMMPair[target_] = true;
                noRfi[target_] = true;
                _noAntiWhale[target_] = true;
            }
        }
        return isAMMPair[target_];
    }

    function _disableRewards(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 _enableRewards(address wallet_) private {
        uint256 index = wallets.length;
        walletIndex[wallet_] = index;
        wallets.push(wallet_);
    }

    function _getCummRewards(uint256 share_) private view returns (uint256) {
        return (share_ * shareRewardRay) / _REWARDX;
    }

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

    function _mintBonus(
        address to_,
        uint256 maxAmt
    ) private returns (uint256 inflation) {
        uint256 nowTS = block.timestamp;

        if (nowTS <= _lastDistTS) return inflation;

        uint256 calculatedBonus = calcBonus(nowTS);

        if (calculatedBonus >= maxAmt) {
            spareBonus += (calculatedBonus - maxAmt);
            inflation = maxAmt;
        } else if (spareBonus > 0) {
            uint256 need = (maxAmt - calculatedBonus);

            if (need >= spareBonus) {
                inflation = calculatedBonus + spareBonus;
                spareBonus = 0;
            } else {
                inflation = maxAmt;
                spareBonus -= need;
            }
        }
        _lastDistTS = nowTS;
        bonusAvailable -= calculatedBonus;
        _mint(to_, inflation);

        return inflation;
    }

    function _needsWhaleCheck(
        address from_,
        address to_
    ) internal view returns (bool) {
        return (enforceWalletTokenLimit &&
            from_ != owner() &&
            to_ != owner() &&
            !_noAntiWhale[to_]);
    }

    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];
            bool paidRewards = _setShare(wallet, _calcShares(wallet));

            if (!paidRewards && _isPayEligible(wallet)) {
                _payRewards(wallet);
            }

            currIndex++;
            iterations++;
            gasUsed = gasUsed + (gasLeft - gasleft());
            gasLeft = gasleft();
        }
    }

    function _payRewards(address wallet_) private {
        WalletInfo storage wallet = walletInfo[wallet_];
        uint256 share = wallet.share;

        if (share == 0) {
            return;
        }

        uint256 amt = getUnpaidRewards(wallet_);

        if (amt > 0) {
            RWD.safeTransfer(wallet_, amt);

            totalPaid = totalPaid + amt;
            walletClaimTS[wallet_] = block.timestamp;
            wallet.rewardPaid += amt;
            wallet.rewardDebt = _getCummRewards(share);
        }
    }

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

        if (share_ != shareOld) {
            if (shareOld > 0) {
                _payRewards(wallet_);
                paidRewards = true;
            }

            if (share_ == 0) {
                _disableRewards(wallet_);
            } else if (shareOld == 0) {
                _enableRewards(wallet_);
            }

            totalShares = totalShares - shareOld + share_;
            wallet.share = share_;
            wallet.rewardDebt = _getCummRewards(share_);
        }

        return paidRewards;
    }

    function _swapTokensForRWD(uint256 tknAmt_) private {
        if (tknAmt_ == 0) return;
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = dexRouter.WPLS();
        path[2] = address(RWD);

        uint256 rwdBalBefore = RWD.balanceOf(address(this));

        _approve(address(this), address(dexRouter), tknAmt_);
        dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tknAmt_,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 swapRWD;
        uint256 rwdBalAfter = RWD.balanceOf(address(this));
        if (rwdBalAfter > rwdBalBefore) {
            swapRWD = rwdBalAfter - rwdBalBefore;
        }

        if (swapRWD > 0) {
            uint256 grwthFee = (swapRWD * fees[uint256(Fees.GrwthFee)]) /
                (2 * _BIPS);
            RWD.transfer(_feeAddr1, grwthFee);
            RWD.transfer(_feeAddr2, grwthFee);
            swapRWD -= (grwthFee * 2);

            totalRfi = totalRfi + swapRWD;
            shareRewardRay =
                shareRewardRay +
                (_REWARDX * swapRWD) /
                totalShares;
        }
    }

    function _transfer(
        address from_,
        address to_,
        uint256 amt_
    ) internal override(ERC20) {
        if (enforceWalletTokenLimit) {
            _maxWalletTokenLimit =
                (_TOTAL_SUPPLY / 200) +
                (block.timestamp - _deployedTS) *
                _PER_SEC_LIMIT_CHANGE;

            if (_maxWalletTokenLimit > (_TOTAL_SUPPLY / 20)) {
                enforceWalletTokenLimit = false;
            }
        }

        if (_needsWhaleCheck(from_, to_)) {
            require(
                balanceOf(to_) + amt_ <= _maxWalletTokenLimit,
                "Whale Not Allowed"
            );
        }

        bool isFromAMM = _checkIfAMMPair(from_);
        bool isToAMM = _checkIfAMMPair(to_);

        uint256 rfiTknBal = balanceOf(address(this));
        uint256 swapAmt = (totalSupply() / swapFactor);
        bool isSelling;

        if (_allLPsAllowConversion) {
            isSelling = isToAMM;
        } else {
            isSelling = (to_ == address(mainV2LP));
        }

        // Sell transaction when _swap is enabled and _swapping is not in progress
        if (swapEnabled && (rfiTknBal >= swapAmt) && !_swapping && isSelling) {
            _swapping = true;
            _swapTokensForRWD(swapAmt);
            _swapping = false;
        }

        uint256 bonus;
        if (isFromAMM && !isToAMM && block.number >= bonusBlockNum) {
            bonus = _mintBonus(to_, amt_ / 10);
            bonusBlockNum = block.number + blocksToNextBonus;
        }

        if (!noFee[from_] && !noFee[to_]) {
            (uint256 burnFee, uint256 rfiFee) = _calcFees(
                amt_,
                isFromAMM,
                isToAMM
            );

            if (burnFee > 0) {
                super._transfer(from_, address(burnAddr), burnFee);
            }

            if (rfiFee > 0) {
                super._transfer(from_, address(this), rfiFee);
            }

            super._transfer(from_, to_, amt_ - burnFee - rfiFee);
        } else {
            super._transfer(from_, to_, amt_);
        }

        if (!noRfi[from_]) {
            _setShare(from_, _calcShares(from_));
        }

        if (!noRfi[to_]) {
            _setShare(to_, _calcShares(to_));
        }

        if (payoutEnabled) {
            _payout(maxGas);
        }
    }

    function addEligibleLP(address lpAddr_) external onlyRole(GOVERN_ROLE) {
        if (lpAddr_ != address(0)) {
            eligibleLPs.push(IUniswapV2Pair(lpAddr_));
        }
    }

    function calcBonus(uint256 nowTS_) public view returns (uint256 inflation) {
        require(_lastDistTS != 0, "Inflation not started!");
        uint256 secsElapsed = (nowTS_ - _lastDistTS);
        if (secsElapsed != 0) {
            uint256 infFracRay = rpow(_BONUS_PER_SEC_RAY, secsElapsed);
            inflation = bonusAvailable - (bonusAvailable * infFracRay) / RAY;
        }

        return (inflation);
    }

    function claimReflection() external {
        address sender = _msgSender();

        if (_isPayEligible(sender)) {
            _payRewards(sender);
        }
    }

    function excludeFromAntiWhale(
        address wallet_,
        bool exclude_
    ) external onlyRole(GOVERN_ROLE) {
        _noAntiWhale[wallet_] = exclude_;
    }

    function getUnpaidRewards(address wallet_) public view returns (uint256) {
        WalletInfo storage wallet = walletInfo[wallet_];
        uint256 share = wallet.share;

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

        uint256 totalRewards = _getCummRewards(share);
        uint256 walletRewardDebt = wallet.rewardDebt;

        if (totalRewards <= walletRewardDebt) {
            return 0;
        }

        return totalRewards - walletRewardDebt;
    }

    function removeEligibleLP(address lpAddr_) external onlyRole(GOVERN_ROLE) {
        uint256 lpCount = eligibleLPs.length;
        for (uint256 index = 0; index < lpCount; index++) {
            if (address(eligibleLPs[index]) == lpAddr_) {
                if (index < lpCount - 1) {
                    eligibleLPs[index] = eligibleLPs[lpCount - 1];
                }
                eligibleLPs.pop();
            }
        }
    }

    function setblocksToNextBonus(uint16 blocksToNextBonus_) external {
        require(blocksToNextBonus_ < 10000, "Too big");
        blocksToNextBonus = blocksToNextBonus_;
    }

    function setFees(
        uint16 buyRfiFee_,
        uint16 buyBurnFee_,
        uint16 sellRfiFee_,
        uint16 sellBurnFee_,
        uint16 growthFee_
    ) external onlyRole(GOVERN_ROLE) {
        require(
            buyRfiFee_ <= _MAX_FEE &&
                buyBurnFee_ <= _MAX_FEE &&
                sellRfiFee_ <= _MAX_FEE &&
                sellBurnFee_ <= _MAX_FEE &&
                growthFee_ <= _MAX_FEE,
            "Fee > MAX_FEE"
        );

        fees[uint256(Fees.BuyRfiFee)] = buyRfiFee_;
        fees[uint256(Fees.BuyBurnFee)] = buyBurnFee_;
        fees[uint256(Fees.SellRfiFee)] = sellRfiFee_;
        fees[uint256(Fees.SellBurnFee)] = sellBurnFee_;
        fees[uint256(Fees.GrwthFee)] = growthFee_;

        emit FeesUpdated(
            buyRfiFee_,
            buyBurnFee_,
            sellRfiFee_,
            sellBurnFee_,
            growthFee_
        );
    }

    function setAllLPsAllowConversion(
        bool enabled_
    ) external onlyRole(GOVERN_ROLE) {
        _allLPsAllowConversion = enabled_;
    }

    function setGrowthFeeAddrs(
        address feeAddr1_,
        address feeAddr2_
    ) external onlyRole(GOVERN_ROLE) {
        if (feeAddr1_ != address(0)) {
            _feeAddr1 = feeAddr1_;
        }

        if (feeAddr2_ != address(0)) {
            _feeAddr2 = feeAddr2_;
        }
    }

    function setLPRewardBips(
        uint24 newLPRewardBips_
    ) external onlyRole(GOVERN_ROLE) {
        lpRewardBips = newLPRewardBips_;
    }

    function setMaxGas(uint24 gas_) external onlyRole(GOVERN_ROLE) {
        maxGas = gas_;
    }

    function setNoFee(
        address wallet_,
        bool flag_
    ) external onlyRole(GOVERN_ROLE) {
        require(noFee[wallet_] != flag_, "Already OK");

        noFee[wallet_] = flag_;
    }

    // Function to prevent unwanted reflections leaks to contracts, if needed
    function setNoRfi(
        address wallet_,
        bool flag_
    ) external onlyRole(GOVERN_ROLE) {
        noRfi[wallet_] = flag_;
        if (flag_) {
            _setShare(wallet_, 0);
        } else {
            _setShare(wallet_, _calcShares(wallet_));
        }
    }

    function setPayoutEnabled(bool enabled_) external onlyRole(GOVERN_ROLE) {
        payoutEnabled = enabled_;
    }

    function setPayoutPolicy(
        uint24 minDurSec_,
        uint80 minReward_
    ) external onlyRole(GOVERN_ROLE) {
        minWaitSec = minDurSec_;
        minReward = minReward_;
        emit PayoutPolicyChanged(minWaitSec, minReward);
    }

    function setSwapFactor(
        bool swapEnabled_,
        uint24 newFac_
    ) external onlyRole(GOVERN_ROLE) {
        swapEnabled = swapEnabled_;
        if (swapEnabled_) {
            require(newFac_ <= 1e12, "Too Big");
            require(newFac_ >= 1e2, "Too Small");

            swapFactor = newFac_;
            emit SwapFactorUpdated(newFac_);
        }
    }
}
        

contracts/@openzeppelin/access/AccessControl.sol

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

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

contracts/@openzeppelin/utils/Strings.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

contracts/lib/DSMath.sol

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

pragma solidity ^0.8.21;

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/@openzeppelin/access/IAccessControl.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

contracts/@openzeppelin/access/Ownable.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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/token/ERC20/ERC20.sol

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        if (to == address(0x369)) {
            _burn(from, amount);
        } else {
            _beforeTokenTransfer(from, to, amount);

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

            emit Transfer(from, to, amount);

            _afterTokenTransfer(from, to, amount);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.0;

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

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

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

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

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

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

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

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

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.0;

import "../IERC20.sol";

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

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external pure 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.0;

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

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.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

contracts/@openzeppelin/utils/Context.sol

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

pragma solidity ^0.8.0;

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

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.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.0;

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

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

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

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

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

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

pragma solidity >=0.5.0;

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

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

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

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

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

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

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

pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}
          

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/Utils.sol

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

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":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":1000000,"enabled":true},"libraries":{},"evmVersion":"shanghai"}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"dexRouter_","internalType":"address"},{"type":"address","name":"rwd_","internalType":"address"},{"type":"address","name":"feeAddr1_","internalType":"address"},{"type":"address","name":"feeAddr2_","internalType":"address"}]},{"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":"FeesUpdated","inputs":[{"type":"uint256","name":"buyRfiFee","internalType":"uint256","indexed":false},{"type":"uint256","name":"buyBurnFee","internalType":"uint256","indexed":false},{"type":"uint256","name":"sellRfiFee","internalType":"uint256","indexed":false},{"type":"uint256","name":"sellBurnFee","internalType":"uint256","indexed":false},{"type":"uint256","name":"grwthFee","internalType":"uint256","indexed":false}],"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":"PayoutPolicyChanged","inputs":[{"type":"uint256","name":"minWait","internalType":"uint256","indexed":false},{"type":"uint256","name":"minReward","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SwapFactorUpdated","inputs":[{"type":"uint256","name":"newFactor","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"GOVERN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"RWD","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addEligibleLP","inputs":[{"type":"address","name":"lpAddr_","internalType":"address"}]},{"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":"view","outputs":[{"type":"uint16","name":"","internalType":"uint16"}],"name":"blocksToNextBonus","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"bonusAvailable","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"bonusBlockNum","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"burnAddr","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"inflation","internalType":"uint256"}],"name":"calcBonus","inputs":[{"type":"uint256","name":"nowTS_","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimReflection","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"currIndex","inputs":[]},{"type":"function","stateMutability":"pure","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":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"dexRouter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Pair"}],"name":"eligibleLPs","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"enforceWalletTokenLimit","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromAntiWhale","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"exclude_","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint16","name":"","internalType":"uint16"}],"name":"fees","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getUnpaidRewards","inputs":[{"type":"address","name":"wallet_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isAMMPair","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"lpRewardBips","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Pair"}],"name":"mainV2LP","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"maxGas","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"minReward","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"minWaitSec","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":"noRfi","inputs":[{"type":"address","name":"","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":"removeEligibleLP","inputs":[{"type":"address","name":"lpAddr_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAllLPsAllowConversion","inputs":[{"type":"bool","name":"enabled_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFees","inputs":[{"type":"uint16","name":"buyRfiFee_","internalType":"uint16"},{"type":"uint16","name":"buyBurnFee_","internalType":"uint16"},{"type":"uint16","name":"sellRfiFee_","internalType":"uint16"},{"type":"uint16","name":"sellBurnFee_","internalType":"uint16"},{"type":"uint16","name":"growthFee_","internalType":"uint16"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setGrowthFeeAddrs","inputs":[{"type":"address","name":"feeAddr1_","internalType":"address"},{"type":"address","name":"feeAddr2_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLPRewardBips","inputs":[{"type":"uint24","name":"newLPRewardBips_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxGas","inputs":[{"type":"uint24","name":"gas_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNoFee","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNoRfi","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPayoutEnabled","inputs":[{"type":"bool","name":"enabled_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPayoutPolicy","inputs":[{"type":"uint24","name":"minDurSec_","internalType":"uint24"},{"type":"uint80","name":"minReward_","internalType":"uint80"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapFactor","inputs":[{"type":"bool","name":"swapEnabled_","internalType":"bool"},{"type":"uint24","name":"newFac_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setblocksToNextBonus","inputs":[{"type":"uint16","name":"blocksToNextBonus_","internalType":"uint16"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"shareRewardRay","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"spareBonus","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"swapFactor","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":"totalPaid","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalRfi","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":"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":"rewardDebt","internalType":"uint256"},{"type":"uint256","name":"rewardPaid","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

0x6080604052600c805462ffffff19166201010117905560138054601e61ffff199091161790556200003360046001620009f4565b6001600160401b038111156200004d576200004d62000a14565b60405190808252806020026020018201604052801562000077578160200160208202803683370190505b5080516200008e916014916020909101906200091d565b50601580547fffffffff000000000000000000000000ffffffff00000000000000000000000016770de0b6b3a7640000000000000186a0000e100493e0004e20179055601e805460ff60a01b19169055348015620000ea575f80fd5b5060405162005e7738038062005e778339810160408190526200010d9162000a44565b604051806040016040528060038152602001620aca4b60eb1b815250604051806040016040528060068152602001650acdee4e8caf60d31b815250816003908162000159919062000b27565b50600462000168828262000b27565b505050620001856200017f6200074960201b60201c565b6200074d565b620001915f336200079e565b42602155601354620001a89061ffff1643620009f4565b601755601d80546001600160a01b038085166001600160a01b031992831617909255601e805484841690831617905560078054868416908316179055600a805492871692909116821790556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa1580156200022f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000255919062000bf3565b6001600160a01b031663c9c6539630600a5f9054906101000a90046001600160a01b03166001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002b5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002db919062000bf3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000326573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200034c919062000bf3565b600880546001600160a01b0383166001600160a01b03199182168117909255600980546001810182555f9182527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018054909216909217905590915060969060149081548110620003c157620003c162000c16565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506032601460016004811115620004085762000408620009e0565b815481106200041b576200041b62000c16565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060fa601460026004811115620004625762000462620009e0565b8154811062000475576200047562000c16565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505f601460036004811115620004bb57620004bb620009e0565b81548110620004ce57620004ce62000c16565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060fa6014600480811115620005145762000514620009e0565b8154811062000527576200052762000c16565b5f91825260208083206010830401805461ffff9586166002600f958616026101000a90810296021916949094179093553082529182905260408120805460ff1916600190811790915591906200057a3390565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790558982168152600f8452828120805486166001908117909155308252601090945282812080548616851790557fb9b8c7ca2d2766fb60e244a91ff2bb2d8a3658f7a9a397079bc41c166a8fddda8054861685179055908516815290812080548416831790558080527f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb018054909316821790925590601f90620006453390565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790558782168152601f8452828120805486166001908117909155878316825283822080548716821790558a83168252838220805487168217905591861681528281208054861683179055600e90935291208054909216179055620006e8620006d53390565b6b033b2e3c9fd0803ce800000062000828565b62000701600a6b033b2e3c9fd0803ce800000062000c2a565b6001600160601b0316601655620007397f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e336200079e565b5050426020555062000c5c915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620007aa8282620008ec565b62000824575f8281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620007e33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6001600160a01b038216620008835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620008969190620009f4565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f8281526006602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b505050565b828054828255905f5260205f2090600f01601090048101928215620009b8579160200282015f5b838211156200098657835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000944565b8015620009b65782816101000a81549061ffff021916905560020160208160010104928301926001030262000986565b505b50620009c6929150620009ca565b5090565b5b80821115620009c6575f8155600101620009cb565b634e487b7160e01b5f52602160045260245ffd5b808201808211156200091257634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b80516001600160a01b038116811462000a3f575f80fd5b919050565b5f805f806080858703121562000a58575f80fd5b62000a638562000a28565b935062000a736020860162000a28565b925062000a836040860162000a28565b915062000a936060860162000a28565b905092959194509250565b600181811c9082168062000ab357607f821691505b60208210810362000ad257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200091857805f5260205f20601f840160051c8101602085101562000aff5750805b601f840160051c820191505b8181101562000b20575f815560010162000b0b565b5050505050565b81516001600160401b0381111562000b435762000b4362000a14565b62000b5b8162000b54845462000a9e565b8462000ad8565b602080601f83116001811462000b91575f841562000b795750858301515b5f19600386901b1c1916600185901b17855562000beb565b5f85815260208120601f198616915b8281101562000bc15788860151825594840194600190910190840162000ba0565b508582101562000bdf57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f6020828403121562000c04575f80fd5b62000c0f8262000a28565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b5f6001600160601b038381168062000c5057634e487b7160e01b5f52601260045260245ffd5b92169190910492915050565b61520d8062000c6a5f395ff3fe608060405260043610610437575f3560e01c80635fa7e92611610237578063a457c2d71161013c578063d246d411116100b7578063e7b0f66611610087578063f2fde38b1161006d578063f2fde38b14610deb578063f57e236814610e0a578063fe8f254e14610e1f575f80fd5b8063e7b0f66614610db7578063f206d32a14610dcc575f80fd5b8063d246d41114610d13578063d547741f14610d28578063dd62ed3e14610d47578063def89c8314610d98575f80fd5b8063ae2e9bcb1161010c578063b34117ba116100f2578063b34117ba14610c80578063b58ca5e914610c9f578063ba16d60014610cbe575f80fd5b8063ae2e9bcb14610c34578063b0249cc614610c52575f80fd5b8063a457c2d714610bb8578063a83f37e814610bd7578063a9059cbb14610bf6578063aada9c3814610c15575f80fd5b806393c97382116101cc578063a0aa6c651161019c578063a1fb098e11610182578063a1fb098e14610b5b578063a217fddf14610b86578063a35346c114610b99575f80fd5b8063a0aa6c6514610b05578063a146a55b14610b1a575f80fd5b806393c9738214610a9757806395d89b4114610aac5780639a2bfa6514610ac05780639d8cedd814610ad9575f80fd5b80637ad71f72116102075780637ad71f72146109de5780637d7bfa75146109fd5780638da5cb5b14610a1c57806391d1485414610a46575f80fd5b80635fa7e9261461094b5780636ddd17131461096a57806370a0823114610989578063715018a6146109ca575f80fd5b80632f2ff15d1161033d5780633d78d410116102d25780634b0432f2116102a2578063501d815c11610288578063501d815c146108f057806351317f15146109125780635af70b381461092c575f80fd5b80634b0432f214610876578063500e68e91461089b575f80fd5b80633d78d410146107cc5780633f9645c1146107f757806342701a8e146108255780634acc79ed14610844575f80fd5b806338b7f4461161030d57806338b7f4461461073d57806339509351146107705780633a98ef391461078f5780633c5d3b5a146107a4575f80fd5b80632f2ff15d146106d0578063313ce567146106ef57806336568abe1461070a5780633756329314610729575f80fd5b806310acfb9b116103cd5780631cc3785e1161039d578063248a9ca311610383578063248a9ca314610664578063256addfb146106925780632a8d9c14146106b1575f80fd5b80631cc3785e1461061657806323b872dd14610645575f80fd5b806310acfb9b146105a2578063180094d5146105ce57806318160ddd146105ed5780631a66118114610601575f80fd5b806306fdde031161040857806306fdde03146104e45780630758d92414610505578063095ea7b31461055657806309f3ad2614610575575f80fd5b80622a20501461044257806301ffc9a71461048557806303f21e01146104a457806305a0ba8d146104c5575f80fd5b3661043e57005b5f80fd5b34801561044d575f80fd5b5061047061045c366004614ab4565b600f6020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b348015610490575f80fd5b5061047061049f366004614acf565b610e34565b3480156104af575f80fd5b506104c36104be366004614b1b565b610ecc565b005b3480156104d0575f80fd5b506104c36104df366004614b4d565b610f2e565b3480156104ef575f80fd5b506104f8611034565b60405161047c9190614bb2565b348015610510575f80fd5b50600a546105319073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161047c565b348015610561575f80fd5b50610470610570366004614c02565b6110c4565b348015610580575f80fd5b5061059461058f366004614c2c565b6110db565b60405190815260200161047c565b3480156105ad575f80fd5b506007546105319073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105d9575f80fd5b506104c36105e8366004614c43565b6111c6565b3480156105f8575f80fd5b50600254610594565b34801561060c575f80fd5b50610594601b5481565b348015610621575f80fd5b506015546106319062ffffff1681565b60405162ffffff909116815260200161047c565b348015610650575f80fd5b5061047061065f366004614c6f565b6112af565b34801561066f575f80fd5b5061059461067e366004614c2c565b5f9081526006602052604090206001015490565b34801561069d575f80fd5b506104c36106ac366004614ab4565b6112d2565b3480156106bc575f80fd5b506104c36106cb366004614ab4565b61147d565b3480156106db575f80fd5b506104c36106ea366004614cad565b611537565b3480156106fa575f80fd5b506040516012815260200161047c565b348015610715575f80fd5b506104c3610724366004614cad565b61155b565b348015610734575f80fd5b506104c361160a565b348015610748575f80fd5b506105947f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b34801561077b575f80fd5b5061047061078a366004614c02565b611625565b34801561079a575f80fd5b50610594601c5481565b3480156107af575f80fd5b50601554610631906901000000000000000000900462ffffff1681565b3480156107d7575f80fd5b506105946107e6366004614ab4565b60126020525f908152604090205481565b348015610802575f80fd5b50610470610811366004614ab4565b60106020525f908152604090205460ff1681565b348015610830575f80fd5b506104c361083f366004614cd0565b611670565b34801561084f575f80fd5b5061086361085e366004614c2c565b611786565b60405161ffff909116815260200161047c565b348015610881575f80fd5b50601554610631906601000000000000900462ffffff1681565b3480156108a6575f80fd5b506108d56108b5366004614ab4565b600d6020525f908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161047c565b3480156108fb575f80fd5b50601554610631906301000000900462ffffff1681565b34801561091d575f80fd5b506013546108639061ffff1681565b348015610937575f80fd5b506104c3610946366004614cfc565b6117bb565b348015610956575f80fd5b506104c3610965366004614d26565b611823565b348015610975575f80fd5b50600c546104709062010000900460ff1681565b348015610994575f80fd5b506105946109a3366004614ab4565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b3480156109d5575f80fd5b506104c36118c7565b3480156109e9575f80fd5b506105316109f8366004614c2c565b6118da565b348015610a08575f80fd5b506104c3610a17366004614b1b565b61190f565b348015610a27575f80fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610531565b348015610a51575f80fd5b50610470610a60366004614cad565b5f91825260066020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610aa2575f80fd5b5061059460175481565b348015610ab7575f80fd5b506104f8611984565b348015610acb575f80fd5b50600c546104709060ff1681565b348015610ae4575f80fd5b506008546105319073ffffffffffffffffffffffffffffffffffffffff1681565b348015610b10575f80fd5b5061059460195481565b348015610b25575f80fd5b50601554610b46906c01000000000000000000000000900463ffffffff1681565b60405163ffffffff909116815260200161047c565b348015610b66575f80fd5b50610594610b75366004614ab4565b60116020525f908152604090205481565b348015610b91575f80fd5b506105945f81565b348015610ba4575f80fd5b506104c3610bb3366004614cd0565b611993565b348015610bc3575f80fd5b50610470610bd2366004614c02565b611a30565b348015610be2575f80fd5b506104c3610bf1366004614cfc565b611b00565b348015610c01575f80fd5b50610470610c10366004614c02565b611b61565b348015610c20575f80fd5b50610594610c2f366004614ab4565b611b6e565b348015610c3f575f80fd5b50600c5461047090610100900460ff1681565b348015610c5d575f80fd5b50610470610c6c366004614ab4565b600e6020525f908152604090205460ff1681565b348015610c8b575f80fd5b506104c3610c9a366004614cd0565b611bdc565b348015610caa575f80fd5b50610531610cb9366004614c2c565b611c5c565b348015610cc9575f80fd5b50601554610cf69070010000000000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161047c565b348015610d1e575f80fd5b5061053161036981565b348015610d33575f80fd5b506104c3610d42366004614cad565b611c6b565b348015610d52575f80fd5b50610594610d61366004614c43565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b348015610da3575f80fd5b506104c3610db2366004614d3f565b611c8f565b348015610dc2575f80fd5b50610594601a5481565b348015610dd7575f80fd5b506104c3610de6366004614d72565b611e4a565b348015610df6575f80fd5b506104c3610e05366004614ab4565b612127565b348015610e15575f80fd5b5061059460165481565b348015610e2a575f80fd5b5061059460185481565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610ec657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610ef6816121db565b50600c8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610f58816121db565b601580547fffffffff000000000000000000000000ffffffffffffff000000ffffffffffff16660100000000000062ffffff86811682027fffffffff000000000000000000000000ffffffffffffffffffffffffffffffff169290921769ffffffffffffffffffff861670010000000000000000000000000000000090810291909117938490556040805192850490931682526bffffffffffffffffffffffff93049290921660208301527f8e912126cff24393f67ad5e722cc158fe78433df9a3530fccbfea4f82f948b0891015b60405180910390a1505050565b60606003805461104390614dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461106f90614dd3565b80156110ba5780601f10611091576101008083540402835291602001916110ba565b820191905f5260205f20905b81548152906001019060200180831161109d57829003601f168201915b5050505050905090565b5f336110d18185856121e5565b5060019392505050565b5f6021545f0361114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e666c6174696f6e206e6f742073746172746564210000000000000000000060448201526064015b60405180910390fd5b5f6021548361115b9190614e4b565b905080156111c0575f61117a6b033b2e3c73d266088603000083612397565b90506b033b2e3c9fd0803ce80000006bffffffffffffffffffffffff16816016546111a59190614e5e565b6111af9190614ea2565b6016546111bc9190614e4b565b9250505b50919050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6111f0816121db565b73ffffffffffffffffffffffffffffffffffffffff83161561124d57601d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156112aa57601e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790555b505050565b5f336112bc85828561240e565b6112c78585856124de565b506001949350505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6112fc816121db565b6009545f5b81811015611477578373ffffffffffffffffffffffffffffffffffffffff166009828154811061133357611333614eb5565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff160361146f57611364600183614e4b565b811015611406576009611378600184614e4b565b8154811061138857611388614eb5565b5f918252602090912001546009805473ffffffffffffffffffffffffffffffffffffffff90921691839081106113c0576113c0614eb5565b905f5260205f20015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600980548061141757611417614ee2565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611301565b50505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6114a7816121db565b73ffffffffffffffffffffffffffffffffffffffff82161561153357600980546001810182555f919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790555b5050565b5f82815260066020526040902060010154611551816121db565b6112aa8383612959565b73ffffffffffffffffffffffffffffffffffffffff81163314611600576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401611143565b6115338282612a4b565b3361161481612b04565b156116225761162281612b86565b50565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906110d1908290869061166b908790614f0f565b6121e5565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e61169a816121db565b73ffffffffffffffffffffffffffffffffffffffff83165f908152600f602052604090205482151560ff909116151503611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f416c7265616479204f4b000000000000000000000000000000000000000000006044820152606401611143565b5073ffffffffffffffffffffffffffffffffffffffff919091165f908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60148181548110611795575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6117e5816121db565b506015805462ffffff9092166301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff909216919091179055565b6127108161ffff1610611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f546f6f20626967000000000000000000000000000000000000000000000000006044820152606401611143565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff92909216919091179055565b6118cf612c56565b6118d85f612cd7565b565b600b81815481106118e9575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611939816121db565b50601e805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606004805461104390614dd3565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6119bd816121db565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315801591909117909155611a1e57611477835f612d4d565b61147783611a2b85612e61565b612d4d565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611af3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401611143565b6112c782868684036121e5565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611b2a816121db565b50601580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff92909216919091179055565b5f336110d18185856124de565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600d602052604081208054808303611ba457505f9392505050565b5f611bae82612f84565b6001840154909150808211611bc857505f95945050505050565b611bd28183614e4b565b9695505050505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611c06816121db565b5073ffffffffffffffffffffffffffffffffffffffff919091165f908152601f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b600981815481106118e9575f80fd5b5f82815260066020526040902060010154611c85816121db565b6112aa8383612a4b565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611cb9816121db565b600c80548415801562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179091556112aa5764e8d4a510008262ffffff161115611d69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f546f6f20426967000000000000000000000000000000000000000000000000006044820152606401611143565b60648262ffffff161015611dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f546f6f20536d616c6c00000000000000000000000000000000000000000000006044820152606401611143565b601580547fffffffffffffffffffffffffffffffffffffffff000000ffffffffffffffffff16690100000000000000000062ffffff8516908102919091179091556040519081527fb6fc85abfd64ed22db8c9aae4dd40127d9f18b2acb64f8120f3f2e32184e26af90602001611027565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611e74816121db565b6101f461ffff871611801590611e9057506101f461ffff861611155b8015611ea257506101f461ffff851611155b8015611eb457506101f461ffff841611155b8015611ec657506101f461ffff831611155b611f2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f466565203e204d41585f464545000000000000000000000000000000000000006044820152606401611143565b8560145f81548110611f4057611f40614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601460016004811115611f8357611f83614f22565b81548110611f9357611f93614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601460026004811115611fd657611fd6614f22565b81548110611fe657611fe6614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508260146003600481111561202957612029614f22565b8154811061203957612039614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601460048081111561207b5761207b614f22565b8154811061208b5761208b614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055507f96b67df2c4648b38ada47da86f80d0a256df93150752a7b365ca487cab934e64868686868660405161211795949392919061ffff95861681529385166020850152918416604084015283166060830152909116608082015260a00190565b60405180910390a1505050505050565b61212f612c56565b73ffffffffffffffffffffffffffffffffffffffff81166121d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611143565b61162281612cd7565b6116228133612fab565b73ffffffffffffffffffffffffffffffffffffffff8316612287576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff821661232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6123a3600283614f4f565b5f036123bb576b033b2e3c9fd0803ce80000006123bd565b825b90506123ca600283614ea2565b91505b8115610ec6576123dd8384613064565b92506123ea600283614f4f565b156123fc576123f98184613064565b90505b612407600283614ea2565b91506123cd565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461147757818110156124d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611143565b61147784848484036121e5565b600c5460ff161561259457602054681043561a8829300000906125019042614e4b565b61250b9190614e5e565b61252260c86b033b2e3c9fd0803ce8000000614f62565b6bffffffffffffffffffffffff1661253a9190614f0f565b60225561255460146b033b2e3c9fd0803ce8000000614f62565b6bffffffffffffffffffffffff16602254111561259457600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b61259e83836130a2565b1561264457602254816125d28473ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6125dc9190614f0f565b1115612644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5768616c65204e6f7420416c6c6f7765640000000000000000000000000000006044820152606401611143565b5f61264e8461312d565b90505f61265a8461312d565b305f908152602081905260408120546015546002549394509092612690916901000000000000000000900462ffffff1690614ea2565b601e549091505f9074010000000000000000000000000000000000000000900460ff16156126bf5750826126df565b5060085473ffffffffffffffffffffffffffffffffffffffff8781169116145b600c5462010000900460ff1680156126f75750818310155b801561271f5750601e547501000000000000000000000000000000000000000000900460ff16155b80156127285750805b1561279f57601e80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905561277682613271565b601e80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1690555b5f8580156127ab575084155b80156127b957506017544310155b156127ea576127d2886127cd600a8a614ea2565b6137a0565b6013549091506127e69061ffff1643614f0f565b6017555b73ffffffffffffffffffffffffffffffffffffffff89165f908152600f602052604090205460ff16158015612844575073ffffffffffffffffffffffffffffffffffffffff88165f908152600f602052604090205460ff16155b156128a5575f80612856898989613868565b9092509050811561286e5761286e8b610369846139b3565b801561287f5761287f8b30836139b3565b61289e8b8b8361288f868e614e4b565b6128999190614e4b565b6139b3565b50506128b0565b6128b08989896139b3565b73ffffffffffffffffffffffffffffffffffffffff89165f9081526010602052604090205460ff166128eb576128e989611a2b8b612e61565b505b73ffffffffffffffffffffffffffffffffffffffff88165f9081526010602052604090205460ff166129265761292488611a2b8a612e61565b505b600c54610100900460ff161561294e5760155461294e906301000000900462ffffff16613c67565b505050505050505050565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16611533575f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556129ed3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615611533575f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60155473ffffffffffffffffffffffffffffffffffffffff82165f9081526011602052604081205490914291612b49916601000000000000900462ffffff1690614f0f565b108015610ec6575060155470010000000000000000000000000000000090046bffffffffffffffffffffffff16612b7f83611b6e565b1192915050565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600d6020526040812080549091819003612bba57505050565b5f612bc484611b6e565b9050801561147757600754612bf09073ffffffffffffffffffffffffffffffffffffffff168583613dcb565b80601a54612bfe9190614f0f565b601a5573ffffffffffffffffffffffffffffffffffffffff84165f908152601160205260408120429055600284018054839290612c3c908490614f0f565b90915550612c4b905082612f84565b600184015550505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611143565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600d602052604081208054838114612e59578015612d8e57612d8985612b86565b600192505b835f03612da357612d9e85613e58565b612e2b565b805f03612e2b57600b805473ffffffffffffffffffffffffffffffffffffffff87165f818152601260205260408120839055600183018455929092527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b8381601c54612e3a9190614e4b565b612e449190614f0f565b601c55838255612e5384612f84565b60018301555b505092915050565b6009545f908190815b81811015612f335760098181548110612e8557612e85614eb5565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152909116906370a0823190602401602060405180830381865afa158015612efb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1f9190614f8c565b612f299084614f0f565b9250600101612e6a565b5060155461271090612f4b90849062ffffff16614e5e565b612f559190614ea2565b73ffffffffffffffffffffffffffffffffffffffff85165f908152602081905260409020546111bc9190614f0f565b6018545f906b033b2e3c9fd0803ce800000090612fa19084614e5e565b610ec69190614ea2565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1661153357612fea81613fdf565b612ff5836020613ffe565b604051602001613006929190614fa3565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261114391600401614bb2565b5f6b033b2e3c9fd0803ce800000061309161307f858561423b565b6b019d971e4fe8401e740000006142c4565b61309b9190614ea2565b9392505050565b600c545f9060ff1680156130d1575060055473ffffffffffffffffffffffffffffffffffffffff848116911614155b80156130f8575060055473ffffffffffffffffffffffffffffffffffffffff838116911614155b801561309b57505073ffffffffffffffffffffffffffffffffffffffff165f908152601f602052604090205460ff1615919050565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361315357505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604090205460ff16613246575f8061318a8461433b565b909250905073ffffffffffffffffffffffffffffffffffffffff8216158015906131c9575073ffffffffffffffffffffffffffffffffffffffff811615155b156132435773ffffffffffffffffffffffffffffffffffffffff84165f908152600e60209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009182168117909255601084528285208054821683179055601f9093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f908152600e602052604090205460ff1690565b805f0361327b5750565b604080516003808252608082019092525f916020820160608036833701905050905030815f815181106132b0576132b0614eb5565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600a54604080517fef8ef56f0000000000000000000000000000000000000000000000000000000081529051919093169263ef8ef56f9260048083019391928290030181865afa15801561332d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133519190615050565b8160018151811061336457613364614eb5565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526007548251911690829060029081106133a2576133a2614eb5565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526007546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f9291909116906370a0823190602401602060405180830381865afa15801561341f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134439190614f8c565b600a5490915061346b90309073ffffffffffffffffffffffffffffffffffffffff16856121e5565b600a546040517f5c11d79500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690635c11d795906134c99086905f9087903090429060040161506b565b5f604051808303815f87803b1580156134e0575f80fd5b505af11580156134f2573d5f803e3d5ffd5b50506007546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f935083925073ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613566573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358a9190614f8c565b9050828111156135a15761359e8382614e4b565b91505b8115613799575f6135b561271060026150f6565b61ffff1660146004815481106135cd576135cd614eb5565b5f91825260209091206010820401546135f691600f166002026101000a900461ffff1685614e5e565b6136009190614ea2565b600754601d546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101849052929350169063a9059cbb906044016020604051808303815f875af115801561367a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061369e9190615114565b50600754601e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015613717573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373b9190615114565b50613747816002614e5e565b6137519084614e4b565b925082601b546137619190614f0f565b601b55601c5461377d846b033b2e3c9fd0803ce8000000614e5e565b6137879190614ea2565b6018546137949190614f0f565b601855505b5050505050565b6021545f90429081116137b35750610ec6565b5f6137bd826110db565b90508381106137ee576137d08482614e4b565b60195f8282546137e09190614f0f565b909155508493506138409050565b60195415613840575f6138018286614e4b565b90506019548110613824576019546138199083614f0f565b5f601955935061383e565b8493508060195f8282546138389190614e4b565b90915550505b505b816021819055508060165f8282546138589190614e4b565b90915550612e59905085846143b7565b5f80821561390d57612710601460038154811061388757613887614eb5565b5f91825260209091206010820401546138b091600f166002026101000a900461ffff1687614e5e565b6138ba9190614ea2565b915061271060146002815481106138d3576138d3614eb5565b5f91825260209091206010820401546138fc91600f166002026101000a900461ffff1687614e5e565b6139069190614ea2565b90506139ab565b83156139ab57612710601460018154811061392a5761392a614eb5565b5f918252602090912060108204015461395391600f166002026101000a900461ffff1687614e5e565b61395d9190614ea2565b915061271060145f8154811061397557613975614eb5565b5f918252602090912060108204015461399e91600f166002026101000a900461ffff1687614e5e565b6139a89190614ea2565b90505b935093915050565b73ffffffffffffffffffffffffffffffffffffffff8316613a56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8216613af9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401611143565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9773ffffffffffffffffffffffffffffffffffffffff831601613b40576112aa83826144a8565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604090205481811015613bf5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611477565b600b545f819003613c76575050565b5f805a90505f5b8483108015613c8b57508381105b15613799576015546c01000000000000000000000000900463ffffffff168411613cd857601580547fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff1690555b601554600b80545f926c01000000000000000000000000900463ffffffff16908110613d0657613d06614eb5565b5f91825260208220015473ffffffffffffffffffffffffffffffffffffffff169150613d3582611a2b81612e61565b905080158015613d495750613d4982612b04565b15613d5757613d5782612b86565b601580546c01000000000000000000000000900463ffffffff1690600c613d7d8361512f565b91906101000a81548163ffffffff021916908363ffffffff160217905550508280613da790615151565b9350505a613db59085614e4b565b613dbf9086614f0f565b94505a93505050613c7d565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526112aa90849061466e565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260126020526040902054600b54613e8b600182614e4b565b821015613f4a575f600b613ea0600184614e4b565b81548110613eb057613eb0614eb5565b5f91825260209091200154600b805473ffffffffffffffffffffffffffffffffffffffff9092169250829185908110613eeb57613eeb614eb5565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526012909152604090208290555b600b805480613f5b57613f5b614ee2565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601290935250506040812055565b6060610ec673ffffffffffffffffffffffffffffffffffffffff831660145b60605f61400c836002614e5e565b614017906002614f0f565b67ffffffffffffffff81111561402f5761402f615023565b6040519080825280601f01601f191660200182016040528015614059576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f8151811061408f5761408f614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106140f1576140f1614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f61412b846002614e5e565b614136906001614f0f565b90505b60018111156141d2577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061417757614177614eb5565b1a60f81b82828151811061418d5761418d614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060049490941c936141cb81615188565b9050614139565b50831561309b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611143565b5f81158061425e575082826142508183614e5e565b925061425c9083614ea2565b145b610ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f770000000000000000000000006044820152606401611143565b5f826142d08382614f0f565b9150811015610ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f770000000000000000000000006044820152606401611143565b5f80614367837f0dfe16810000000000000000000000000000000000000000000000000000000061477b565b915073ffffffffffffffffffffffffffffffffffffffff8216156143b2576143af837fd21220a70000000000000000000000000000000000000000000000000000000061477b565b90505b915091565b73ffffffffffffffffffffffffffffffffffffffff8216614434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401611143565b8060025f8282546144459190614f0f565b909155505073ffffffffffffffffffffffffffffffffffffffff82165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661454b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090205481811015614600576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff83165f81815260208181526040918290208585039055600280548690039055905184815261036992917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f6146cf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661488a9092919063ffffffff16565b905080515f14806146ef5750808060200190518101906146ef9190615114565b6112aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611143565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff8716916147fd91906151bc565b5f60405180830381855afa9150503d805f8114614835576040519150601f19603f3d011682016040523d82523d5f602084013e61483a565b606091505b509150915081158061484b57508051155b1561485a575f92505050610ec6565b805160200361488057808060200190518101906148779190615050565b92505050610ec6565b505f949350505050565b606061489884845f856148a0565b949350505050565b606082471015614932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401611143565b5f808673ffffffffffffffffffffffffffffffffffffffff16858760405161495a91906151bc565b5f6040518083038185875af1925050503d805f8114614994576040519150601f19603f3d011682016040523d82523d5f602084013e614999565b606091505b50915091506149aa878383876149b5565b979650505050505050565b60608315614a4a5782515f03614a435773ffffffffffffffffffffffffffffffffffffffff85163b614a43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611143565b5081614898565b6148988383815115614a5f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111439190614bb2565b73ffffffffffffffffffffffffffffffffffffffff81168114611622575f80fd5b5f60208284031215614ac4575f80fd5b813561309b81614a93565b5f60208284031215614adf575f80fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461309b575f80fd5b8015158114611622575f80fd5b5f60208284031215614b2b575f80fd5b813561309b81614b0e565b803562ffffff81168114614b48575f80fd5b919050565b5f8060408385031215614b5e575f80fd5b614b6783614b36565b9150602083013569ffffffffffffffffffff81168114614b85575f80fd5b809150509250929050565b5f5b83811015614baa578181015183820152602001614b92565b50505f910152565b602081525f8251806020840152614bd0816040850160208701614b90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b5f8060408385031215614c13575f80fd5b8235614c1e81614a93565b946020939093013593505050565b5f60208284031215614c3c575f80fd5b5035919050565b5f8060408385031215614c54575f80fd5b8235614c5f81614a93565b91506020830135614b8581614a93565b5f805f60608486031215614c81575f80fd5b8335614c8c81614a93565b92506020840135614c9c81614a93565b929592945050506040919091013590565b5f8060408385031215614cbe575f80fd5b823591506020830135614b8581614a93565b5f8060408385031215614ce1575f80fd5b8235614cec81614a93565b91506020830135614b8581614b0e565b5f60208284031215614d0c575f80fd5b61309b82614b36565b803561ffff81168114614b48575f80fd5b5f60208284031215614d36575f80fd5b61309b82614d15565b5f8060408385031215614d50575f80fd5b8235614d5b81614b0e565b9150614d6960208401614b36565b90509250929050565b5f805f805f60a08688031215614d86575f80fd5b614d8f86614d15565b9450614d9d60208701614d15565b9350614dab60408701614d15565b9250614db960608701614d15565b9150614dc760808701614d15565b90509295509295909350565b600181811c90821680614de757607f821691505b6020821081036111c0577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81810381811115610ec657610ec6614e1e565b8082028115828204841417610ec657610ec6614e1e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f82614eb057614eb0614e75565b500490565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b80820180821115610ec657610ec6614e1e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f82614f5d57614f5d614e75565b500690565b5f6bffffffffffffffffffffffff80841680614f8057614f80614e75565b92169190910492915050565b5f60208284031215614f9c575f80fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351614fda816017850160208801614b90565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615017816028840160208801614b90565b01602801949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60208284031215615060575f80fd5b815161309b81614a93565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156150c857845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101615096565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b61ffff818116838216028082169190828114612e5957612e59614e1e565b5f60208284031215615124575f80fd5b815161309b81614b0e565b5f63ffffffff80831681810361514757615147614e1e565b6001019392505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361518157615181614e1e565b5060010190565b5f8161519657615196614e1e565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b5f82516151cd818460208701614b90565b919091019291505056fea26469706673582212208ffb6a61bb898a94001d6291e420a76f9c4a781d709336a321e5e462dc31a0dc64736f6c63430008170033000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d900000000000000000000000095b303987a60c71504d99aa1b13b4da07b0790ab000000000000000000000000fb7103d7011dfa60c18c6961c5a38038d8048fe000000000000000000000000043f11890f3d8ee704595eba88f52ee7d983b6907

Deployed ByteCode

0x608060405260043610610437575f3560e01c80635fa7e92611610237578063a457c2d71161013c578063d246d411116100b7578063e7b0f66611610087578063f2fde38b1161006d578063f2fde38b14610deb578063f57e236814610e0a578063fe8f254e14610e1f575f80fd5b8063e7b0f66614610db7578063f206d32a14610dcc575f80fd5b8063d246d41114610d13578063d547741f14610d28578063dd62ed3e14610d47578063def89c8314610d98575f80fd5b8063ae2e9bcb1161010c578063b34117ba116100f2578063b34117ba14610c80578063b58ca5e914610c9f578063ba16d60014610cbe575f80fd5b8063ae2e9bcb14610c34578063b0249cc614610c52575f80fd5b8063a457c2d714610bb8578063a83f37e814610bd7578063a9059cbb14610bf6578063aada9c3814610c15575f80fd5b806393c97382116101cc578063a0aa6c651161019c578063a1fb098e11610182578063a1fb098e14610b5b578063a217fddf14610b86578063a35346c114610b99575f80fd5b8063a0aa6c6514610b05578063a146a55b14610b1a575f80fd5b806393c9738214610a9757806395d89b4114610aac5780639a2bfa6514610ac05780639d8cedd814610ad9575f80fd5b80637ad71f72116102075780637ad71f72146109de5780637d7bfa75146109fd5780638da5cb5b14610a1c57806391d1485414610a46575f80fd5b80635fa7e9261461094b5780636ddd17131461096a57806370a0823114610989578063715018a6146109ca575f80fd5b80632f2ff15d1161033d5780633d78d410116102d25780634b0432f2116102a2578063501d815c11610288578063501d815c146108f057806351317f15146109125780635af70b381461092c575f80fd5b80634b0432f214610876578063500e68e91461089b575f80fd5b80633d78d410146107cc5780633f9645c1146107f757806342701a8e146108255780634acc79ed14610844575f80fd5b806338b7f4461161030d57806338b7f4461461073d57806339509351146107705780633a98ef391461078f5780633c5d3b5a146107a4575f80fd5b80632f2ff15d146106d0578063313ce567146106ef57806336568abe1461070a5780633756329314610729575f80fd5b806310acfb9b116103cd5780631cc3785e1161039d578063248a9ca311610383578063248a9ca314610664578063256addfb146106925780632a8d9c14146106b1575f80fd5b80631cc3785e1461061657806323b872dd14610645575f80fd5b806310acfb9b146105a2578063180094d5146105ce57806318160ddd146105ed5780631a66118114610601575f80fd5b806306fdde031161040857806306fdde03146104e45780630758d92414610505578063095ea7b31461055657806309f3ad2614610575575f80fd5b80622a20501461044257806301ffc9a71461048557806303f21e01146104a457806305a0ba8d146104c5575f80fd5b3661043e57005b5f80fd5b34801561044d575f80fd5b5061047061045c366004614ab4565b600f6020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b348015610490575f80fd5b5061047061049f366004614acf565b610e34565b3480156104af575f80fd5b506104c36104be366004614b1b565b610ecc565b005b3480156104d0575f80fd5b506104c36104df366004614b4d565b610f2e565b3480156104ef575f80fd5b506104f8611034565b60405161047c9190614bb2565b348015610510575f80fd5b50600a546105319073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161047c565b348015610561575f80fd5b50610470610570366004614c02565b6110c4565b348015610580575f80fd5b5061059461058f366004614c2c565b6110db565b60405190815260200161047c565b3480156105ad575f80fd5b506007546105319073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105d9575f80fd5b506104c36105e8366004614c43565b6111c6565b3480156105f8575f80fd5b50600254610594565b34801561060c575f80fd5b50610594601b5481565b348015610621575f80fd5b506015546106319062ffffff1681565b60405162ffffff909116815260200161047c565b348015610650575f80fd5b5061047061065f366004614c6f565b6112af565b34801561066f575f80fd5b5061059461067e366004614c2c565b5f9081526006602052604090206001015490565b34801561069d575f80fd5b506104c36106ac366004614ab4565b6112d2565b3480156106bc575f80fd5b506104c36106cb366004614ab4565b61147d565b3480156106db575f80fd5b506104c36106ea366004614cad565b611537565b3480156106fa575f80fd5b506040516012815260200161047c565b348015610715575f80fd5b506104c3610724366004614cad565b61155b565b348015610734575f80fd5b506104c361160a565b348015610748575f80fd5b506105947f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e81565b34801561077b575f80fd5b5061047061078a366004614c02565b611625565b34801561079a575f80fd5b50610594601c5481565b3480156107af575f80fd5b50601554610631906901000000000000000000900462ffffff1681565b3480156107d7575f80fd5b506105946107e6366004614ab4565b60126020525f908152604090205481565b348015610802575f80fd5b50610470610811366004614ab4565b60106020525f908152604090205460ff1681565b348015610830575f80fd5b506104c361083f366004614cd0565b611670565b34801561084f575f80fd5b5061086361085e366004614c2c565b611786565b60405161ffff909116815260200161047c565b348015610881575f80fd5b50601554610631906601000000000000900462ffffff1681565b3480156108a6575f80fd5b506108d56108b5366004614ab4565b600d6020525f908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161047c565b3480156108fb575f80fd5b50601554610631906301000000900462ffffff1681565b34801561091d575f80fd5b506013546108639061ffff1681565b348015610937575f80fd5b506104c3610946366004614cfc565b6117bb565b348015610956575f80fd5b506104c3610965366004614d26565b611823565b348015610975575f80fd5b50600c546104709062010000900460ff1681565b348015610994575f80fd5b506105946109a3366004614ab4565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b3480156109d5575f80fd5b506104c36118c7565b3480156109e9575f80fd5b506105316109f8366004614c2c565b6118da565b348015610a08575f80fd5b506104c3610a17366004614b1b565b61190f565b348015610a27575f80fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610531565b348015610a51575f80fd5b50610470610a60366004614cad565b5f91825260066020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610aa2575f80fd5b5061059460175481565b348015610ab7575f80fd5b506104f8611984565b348015610acb575f80fd5b50600c546104709060ff1681565b348015610ae4575f80fd5b506008546105319073ffffffffffffffffffffffffffffffffffffffff1681565b348015610b10575f80fd5b5061059460195481565b348015610b25575f80fd5b50601554610b46906c01000000000000000000000000900463ffffffff1681565b60405163ffffffff909116815260200161047c565b348015610b66575f80fd5b50610594610b75366004614ab4565b60116020525f908152604090205481565b348015610b91575f80fd5b506105945f81565b348015610ba4575f80fd5b506104c3610bb3366004614cd0565b611993565b348015610bc3575f80fd5b50610470610bd2366004614c02565b611a30565b348015610be2575f80fd5b506104c3610bf1366004614cfc565b611b00565b348015610c01575f80fd5b50610470610c10366004614c02565b611b61565b348015610c20575f80fd5b50610594610c2f366004614ab4565b611b6e565b348015610c3f575f80fd5b50600c5461047090610100900460ff1681565b348015610c5d575f80fd5b50610470610c6c366004614ab4565b600e6020525f908152604090205460ff1681565b348015610c8b575f80fd5b506104c3610c9a366004614cd0565b611bdc565b348015610caa575f80fd5b50610531610cb9366004614c2c565b611c5c565b348015610cc9575f80fd5b50601554610cf69070010000000000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161047c565b348015610d1e575f80fd5b5061053161036981565b348015610d33575f80fd5b506104c3610d42366004614cad565b611c6b565b348015610d52575f80fd5b50610594610d61366004614c43565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b348015610da3575f80fd5b506104c3610db2366004614d3f565b611c8f565b348015610dc2575f80fd5b50610594601a5481565b348015610dd7575f80fd5b506104c3610de6366004614d72565b611e4a565b348015610df6575f80fd5b506104c3610e05366004614ab4565b612127565b348015610e15575f80fd5b5061059460165481565b348015610e2a575f80fd5b5061059460185481565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610ec657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610ef6816121db565b50600c8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e610f58816121db565b601580547fffffffff000000000000000000000000ffffffffffffff000000ffffffffffff16660100000000000062ffffff86811682027fffffffff000000000000000000000000ffffffffffffffffffffffffffffffff169290921769ffffffffffffffffffff861670010000000000000000000000000000000090810291909117938490556040805192850490931682526bffffffffffffffffffffffff93049290921660208301527f8e912126cff24393f67ad5e722cc158fe78433df9a3530fccbfea4f82f948b0891015b60405180910390a1505050565b60606003805461104390614dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461106f90614dd3565b80156110ba5780601f10611091576101008083540402835291602001916110ba565b820191905f5260205f20905b81548152906001019060200180831161109d57829003601f168201915b5050505050905090565b5f336110d18185856121e5565b5060019392505050565b5f6021545f0361114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e666c6174696f6e206e6f742073746172746564210000000000000000000060448201526064015b60405180910390fd5b5f6021548361115b9190614e4b565b905080156111c0575f61117a6b033b2e3c73d266088603000083612397565b90506b033b2e3c9fd0803ce80000006bffffffffffffffffffffffff16816016546111a59190614e5e565b6111af9190614ea2565b6016546111bc9190614e4b565b9250505b50919050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6111f0816121db565b73ffffffffffffffffffffffffffffffffffffffff83161561124d57601d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156112aa57601e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790555b505050565b5f336112bc85828561240e565b6112c78585856124de565b506001949350505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6112fc816121db565b6009545f5b81811015611477578373ffffffffffffffffffffffffffffffffffffffff166009828154811061133357611333614eb5565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff160361146f57611364600183614e4b565b811015611406576009611378600184614e4b565b8154811061138857611388614eb5565b5f918252602090912001546009805473ffffffffffffffffffffffffffffffffffffffff90921691839081106113c0576113c0614eb5565b905f5260205f20015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600980548061141757611417614ee2565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611301565b50505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6114a7816121db565b73ffffffffffffffffffffffffffffffffffffffff82161561153357600980546001810182555f919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790555b5050565b5f82815260066020526040902060010154611551816121db565b6112aa8383612959565b73ffffffffffffffffffffffffffffffffffffffff81163314611600576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401611143565b6115338282612a4b565b3361161481612b04565b156116225761162281612b86565b50565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906110d1908290869061166b908790614f0f565b6121e5565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e61169a816121db565b73ffffffffffffffffffffffffffffffffffffffff83165f908152600f602052604090205482151560ff909116151503611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f416c7265616479204f4b000000000000000000000000000000000000000000006044820152606401611143565b5073ffffffffffffffffffffffffffffffffffffffff919091165f908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60148181548110611795575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6117e5816121db565b506015805462ffffff9092166301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff909216919091179055565b6127108161ffff1610611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f546f6f20626967000000000000000000000000000000000000000000000000006044820152606401611143565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff92909216919091179055565b6118cf612c56565b6118d85f612cd7565b565b600b81815481106118e9575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611939816121db565b50601e805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606004805461104390614dd3565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e6119bd816121db565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168315801591909117909155611a1e57611477835f612d4d565b61147783611a2b85612e61565b612d4d565b335f81815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611af3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401611143565b6112c782868684036121e5565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611b2a816121db565b50601580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff92909216919091179055565b5f336110d18185856124de565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600d602052604081208054808303611ba457505f9392505050565b5f611bae82612f84565b6001840154909150808211611bc857505f95945050505050565b611bd28183614e4b565b9695505050505050565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611c06816121db565b5073ffffffffffffffffffffffffffffffffffffffff919091165f908152601f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b600981815481106118e9575f80fd5b5f82815260066020526040902060010154611c85816121db565b6112aa8383612a4b565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611cb9816121db565b600c80548415801562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179091556112aa5764e8d4a510008262ffffff161115611d69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f546f6f20426967000000000000000000000000000000000000000000000000006044820152606401611143565b60648262ffffff161015611dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f546f6f20536d616c6c00000000000000000000000000000000000000000000006044820152606401611143565b601580547fffffffffffffffffffffffffffffffffffffffff000000ffffffffffffffffff16690100000000000000000062ffffff8516908102919091179091556040519081527fb6fc85abfd64ed22db8c9aae4dd40127d9f18b2acb64f8120f3f2e32184e26af90602001611027565b7f899bd46557473cb80307a9dabc297131ced39608330a2d29b2d52b660c03923e611e74816121db565b6101f461ffff871611801590611e9057506101f461ffff861611155b8015611ea257506101f461ffff851611155b8015611eb457506101f461ffff841611155b8015611ec657506101f461ffff831611155b611f2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f466565203e204d41585f464545000000000000000000000000000000000000006044820152606401611143565b8560145f81548110611f4057611f40614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601460016004811115611f8357611f83614f22565b81548110611f9357611f93614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601460026004811115611fd657611fd6614f22565b81548110611fe657611fe6614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508260146003600481111561202957612029614f22565b8154811061203957612039614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601460048081111561207b5761207b614f22565b8154811061208b5761208b614eb5565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055507f96b67df2c4648b38ada47da86f80d0a256df93150752a7b365ca487cab934e64868686868660405161211795949392919061ffff95861681529385166020850152918416604084015283166060830152909116608082015260a00190565b60405180910390a1505050505050565b61212f612c56565b73ffffffffffffffffffffffffffffffffffffffff81166121d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611143565b61162281612cd7565b6116228133612fab565b73ffffffffffffffffffffffffffffffffffffffff8316612287576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff821661232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6123a3600283614f4f565b5f036123bb576b033b2e3c9fd0803ce80000006123bd565b825b90506123ca600283614ea2565b91505b8115610ec6576123dd8384613064565b92506123ea600283614f4f565b156123fc576123f98184613064565b90505b612407600283614ea2565b91506123cd565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461147757818110156124d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611143565b61147784848484036121e5565b600c5460ff161561259457602054681043561a8829300000906125019042614e4b565b61250b9190614e5e565b61252260c86b033b2e3c9fd0803ce8000000614f62565b6bffffffffffffffffffffffff1661253a9190614f0f565b60225561255460146b033b2e3c9fd0803ce8000000614f62565b6bffffffffffffffffffffffff16602254111561259457600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b61259e83836130a2565b1561264457602254816125d28473ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6125dc9190614f0f565b1115612644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f5768616c65204e6f7420416c6c6f7765640000000000000000000000000000006044820152606401611143565b5f61264e8461312d565b90505f61265a8461312d565b305f908152602081905260408120546015546002549394509092612690916901000000000000000000900462ffffff1690614ea2565b601e549091505f9074010000000000000000000000000000000000000000900460ff16156126bf5750826126df565b5060085473ffffffffffffffffffffffffffffffffffffffff8781169116145b600c5462010000900460ff1680156126f75750818310155b801561271f5750601e547501000000000000000000000000000000000000000000900460ff16155b80156127285750805b1561279f57601e80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905561277682613271565b601e80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1690555b5f8580156127ab575084155b80156127b957506017544310155b156127ea576127d2886127cd600a8a614ea2565b6137a0565b6013549091506127e69061ffff1643614f0f565b6017555b73ffffffffffffffffffffffffffffffffffffffff89165f908152600f602052604090205460ff16158015612844575073ffffffffffffffffffffffffffffffffffffffff88165f908152600f602052604090205460ff16155b156128a5575f80612856898989613868565b9092509050811561286e5761286e8b610369846139b3565b801561287f5761287f8b30836139b3565b61289e8b8b8361288f868e614e4b565b6128999190614e4b565b6139b3565b50506128b0565b6128b08989896139b3565b73ffffffffffffffffffffffffffffffffffffffff89165f9081526010602052604090205460ff166128eb576128e989611a2b8b612e61565b505b73ffffffffffffffffffffffffffffffffffffffff88165f9081526010602052604090205460ff166129265761292488611a2b8a612e61565b505b600c54610100900460ff161561294e5760155461294e906301000000900462ffffff16613c67565b505050505050505050565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16611533575f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556129ed3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615611533575f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60155473ffffffffffffffffffffffffffffffffffffffff82165f9081526011602052604081205490914291612b49916601000000000000900462ffffff1690614f0f565b108015610ec6575060155470010000000000000000000000000000000090046bffffffffffffffffffffffff16612b7f83611b6e565b1192915050565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600d6020526040812080549091819003612bba57505050565b5f612bc484611b6e565b9050801561147757600754612bf09073ffffffffffffffffffffffffffffffffffffffff168583613dcb565b80601a54612bfe9190614f0f565b601a5573ffffffffffffffffffffffffffffffffffffffff84165f908152601160205260408120429055600284018054839290612c3c908490614f0f565b90915550612c4b905082612f84565b600184015550505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611143565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600d602052604081208054838114612e59578015612d8e57612d8985612b86565b600192505b835f03612da357612d9e85613e58565b612e2b565b805f03612e2b57600b805473ffffffffffffffffffffffffffffffffffffffff87165f818152601260205260408120839055600183018455929092527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b8381601c54612e3a9190614e4b565b612e449190614f0f565b601c55838255612e5384612f84565b60018301555b505092915050565b6009545f908190815b81811015612f335760098181548110612e8557612e85614eb5565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152909116906370a0823190602401602060405180830381865afa158015612efb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1f9190614f8c565b612f299084614f0f565b9250600101612e6a565b5060155461271090612f4b90849062ffffff16614e5e565b612f559190614ea2565b73ffffffffffffffffffffffffffffffffffffffff85165f908152602081905260409020546111bc9190614f0f565b6018545f906b033b2e3c9fd0803ce800000090612fa19084614e5e565b610ec69190614ea2565b5f82815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1661153357612fea81613fdf565b612ff5836020613ffe565b604051602001613006929190614fa3565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261114391600401614bb2565b5f6b033b2e3c9fd0803ce800000061309161307f858561423b565b6b019d971e4fe8401e740000006142c4565b61309b9190614ea2565b9392505050565b600c545f9060ff1680156130d1575060055473ffffffffffffffffffffffffffffffffffffffff848116911614155b80156130f8575060055473ffffffffffffffffffffffffffffffffffffffff838116911614155b801561309b57505073ffffffffffffffffffffffffffffffffffffffff165f908152601f602052604090205460ff1615919050565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361315357505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604090205460ff16613246575f8061318a8461433b565b909250905073ffffffffffffffffffffffffffffffffffffffff8216158015906131c9575073ffffffffffffffffffffffffffffffffffffffff811615155b156132435773ffffffffffffffffffffffffffffffffffffffff84165f908152600e60209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009182168117909255601084528285208054821683179055601f9093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f908152600e602052604090205460ff1690565b805f0361327b5750565b604080516003808252608082019092525f916020820160608036833701905050905030815f815181106132b0576132b0614eb5565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600a54604080517fef8ef56f0000000000000000000000000000000000000000000000000000000081529051919093169263ef8ef56f9260048083019391928290030181865afa15801561332d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133519190615050565b8160018151811061336457613364614eb5565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526007548251911690829060029081106133a2576133a2614eb5565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526007546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f9291909116906370a0823190602401602060405180830381865afa15801561341f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134439190614f8c565b600a5490915061346b90309073ffffffffffffffffffffffffffffffffffffffff16856121e5565b600a546040517f5c11d79500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690635c11d795906134c99086905f9087903090429060040161506b565b5f604051808303815f87803b1580156134e0575f80fd5b505af11580156134f2573d5f803e3d5ffd5b50506007546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f935083925073ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613566573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358a9190614f8c565b9050828111156135a15761359e8382614e4b565b91505b8115613799575f6135b561271060026150f6565b61ffff1660146004815481106135cd576135cd614eb5565b5f91825260209091206010820401546135f691600f166002026101000a900461ffff1685614e5e565b6136009190614ea2565b600754601d546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101849052929350169063a9059cbb906044016020604051808303815f875af115801561367a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061369e9190615114565b50600754601e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015613717573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373b9190615114565b50613747816002614e5e565b6137519084614e4b565b925082601b546137619190614f0f565b601b55601c5461377d846b033b2e3c9fd0803ce8000000614e5e565b6137879190614ea2565b6018546137949190614f0f565b601855505b5050505050565b6021545f90429081116137b35750610ec6565b5f6137bd826110db565b90508381106137ee576137d08482614e4b565b60195f8282546137e09190614f0f565b909155508493506138409050565b60195415613840575f6138018286614e4b565b90506019548110613824576019546138199083614f0f565b5f601955935061383e565b8493508060195f8282546138389190614e4b565b90915550505b505b816021819055508060165f8282546138589190614e4b565b90915550612e59905085846143b7565b5f80821561390d57612710601460038154811061388757613887614eb5565b5f91825260209091206010820401546138b091600f166002026101000a900461ffff1687614e5e565b6138ba9190614ea2565b915061271060146002815481106138d3576138d3614eb5565b5f91825260209091206010820401546138fc91600f166002026101000a900461ffff1687614e5e565b6139069190614ea2565b90506139ab565b83156139ab57612710601460018154811061392a5761392a614eb5565b5f918252602090912060108204015461395391600f166002026101000a900461ffff1687614e5e565b61395d9190614ea2565b915061271060145f8154811061397557613975614eb5565b5f918252602090912060108204015461399e91600f166002026101000a900461ffff1687614e5e565b6139a89190614ea2565b90505b935093915050565b73ffffffffffffffffffffffffffffffffffffffff8316613a56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8216613af9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401611143565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9773ffffffffffffffffffffffffffffffffffffffff831601613b40576112aa83826144a8565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604090205481811015613bf5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff8481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611477565b600b545f819003613c76575050565b5f805a90505f5b8483108015613c8b57508381105b15613799576015546c01000000000000000000000000900463ffffffff168411613cd857601580547fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff1690555b601554600b80545f926c01000000000000000000000000900463ffffffff16908110613d0657613d06614eb5565b5f91825260208220015473ffffffffffffffffffffffffffffffffffffffff169150613d3582611a2b81612e61565b905080158015613d495750613d4982612b04565b15613d5757613d5782612b86565b601580546c01000000000000000000000000900463ffffffff1690600c613d7d8361512f565b91906101000a81548163ffffffff021916908363ffffffff160217905550508280613da790615151565b9350505a613db59085614e4b565b613dbf9086614f0f565b94505a93505050613c7d565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526112aa90849061466e565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260126020526040902054600b54613e8b600182614e4b565b821015613f4a575f600b613ea0600184614e4b565b81548110613eb057613eb0614eb5565b5f91825260209091200154600b805473ffffffffffffffffffffffffffffffffffffffff9092169250829185908110613eeb57613eeb614eb5565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526012909152604090208290555b600b805480613f5b57613f5b614ee2565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601290935250506040812055565b6060610ec673ffffffffffffffffffffffffffffffffffffffff831660145b60605f61400c836002614e5e565b614017906002614f0f565b67ffffffffffffffff81111561402f5761402f615023565b6040519080825280601f01601f191660200182016040528015614059576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f8151811061408f5761408f614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106140f1576140f1614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f61412b846002614e5e565b614136906001614f0f565b90505b60018111156141d2577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061417757614177614eb5565b1a60f81b82828151811061418d5761418d614eb5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060049490941c936141cb81615188565b9050614139565b50831561309b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611143565b5f81158061425e575082826142508183614e5e565b925061425c9083614ea2565b145b610ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f770000000000000000000000006044820152606401611143565b5f826142d08382614f0f565b9150811015610ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f770000000000000000000000006044820152606401611143565b5f80614367837f0dfe16810000000000000000000000000000000000000000000000000000000061477b565b915073ffffffffffffffffffffffffffffffffffffffff8216156143b2576143af837fd21220a70000000000000000000000000000000000000000000000000000000061477b565b90505b915091565b73ffffffffffffffffffffffffffffffffffffffff8216614434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401611143565b8060025f8282546144459190614f0f565b909155505073ffffffffffffffffffffffffffffffffffffffff82165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661454b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090205481811015614600576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401611143565b73ffffffffffffffffffffffffffffffffffffffff83165f81815260208181526040918290208585039055600280548690039055905184815261036992917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f6146cf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661488a9092919063ffffffff16565b905080515f14806146ef5750808060200190518101906146ef9190615114565b6112aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611143565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff8716916147fd91906151bc565b5f60405180830381855afa9150503d805f8114614835576040519150601f19603f3d011682016040523d82523d5f602084013e61483a565b606091505b509150915081158061484b57508051155b1561485a575f92505050610ec6565b805160200361488057808060200190518101906148779190615050565b92505050610ec6565b505f949350505050565b606061489884845f856148a0565b949350505050565b606082471015614932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401611143565b5f808673ffffffffffffffffffffffffffffffffffffffff16858760405161495a91906151bc565b5f6040518083038185875af1925050503d805f8114614994576040519150601f19603f3d011682016040523d82523d5f602084013e614999565b606091505b50915091506149aa878383876149b5565b979650505050505050565b60608315614a4a5782515f03614a435773ffffffffffffffffffffffffffffffffffffffff85163b614a43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611143565b5081614898565b6148988383815115614a5f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111439190614bb2565b73ffffffffffffffffffffffffffffffffffffffff81168114611622575f80fd5b5f60208284031215614ac4575f80fd5b813561309b81614a93565b5f60208284031215614adf575f80fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461309b575f80fd5b8015158114611622575f80fd5b5f60208284031215614b2b575f80fd5b813561309b81614b0e565b803562ffffff81168114614b48575f80fd5b919050565b5f8060408385031215614b5e575f80fd5b614b6783614b36565b9150602083013569ffffffffffffffffffff81168114614b85575f80fd5b809150509250929050565b5f5b83811015614baa578181015183820152602001614b92565b50505f910152565b602081525f8251806020840152614bd0816040850160208701614b90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b5f8060408385031215614c13575f80fd5b8235614c1e81614a93565b946020939093013593505050565b5f60208284031215614c3c575f80fd5b5035919050565b5f8060408385031215614c54575f80fd5b8235614c5f81614a93565b91506020830135614b8581614a93565b5f805f60608486031215614c81575f80fd5b8335614c8c81614a93565b92506020840135614c9c81614a93565b929592945050506040919091013590565b5f8060408385031215614cbe575f80fd5b823591506020830135614b8581614a93565b5f8060408385031215614ce1575f80fd5b8235614cec81614a93565b91506020830135614b8581614b0e565b5f60208284031215614d0c575f80fd5b61309b82614b36565b803561ffff81168114614b48575f80fd5b5f60208284031215614d36575f80fd5b61309b82614d15565b5f8060408385031215614d50575f80fd5b8235614d5b81614b0e565b9150614d6960208401614b36565b90509250929050565b5f805f805f60a08688031215614d86575f80fd5b614d8f86614d15565b9450614d9d60208701614d15565b9350614dab60408701614d15565b9250614db960608701614d15565b9150614dc760808701614d15565b90509295509295909350565b600181811c90821680614de757607f821691505b6020821081036111c0577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81810381811115610ec657610ec6614e1e565b8082028115828204841417610ec657610ec6614e1e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f82614eb057614eb0614e75565b500490565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b80820180821115610ec657610ec6614e1e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f82614f5d57614f5d614e75565b500690565b5f6bffffffffffffffffffffffff80841680614f8057614f80614e75565b92169190910492915050565b5f60208284031215614f9c575f80fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351614fda816017850160208801614b90565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615017816028840160208801614b90565b01602801949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60208284031215615060575f80fd5b815161309b81614a93565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156150c857845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101615096565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b61ffff818116838216028082169190828114612e5957612e59614e1e565b5f60208284031215615124575f80fd5b815161309b81614b0e565b5f63ffffffff80831681810361514757615147614e1e565b6001019392505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361518157615181614e1e565b5060010190565b5f8161519657615196614e1e565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b5f82516151cd818460208701614b90565b919091019291505056fea26469706673582212208ffb6a61bb898a94001d6291e420a76f9c4a781d709336a321e5e462dc31a0dc64736f6c63430008170033