false
true
0

Contract Address Details

0x55265C4acd3f5dAe9DAFD83F1888a0E4E397A9D0

Token
Magic Meme Money (MMM)
Creator
0x2d8a23–4e9928 at 0xf5de80–a5cce6
Balance
14,314.996511516329000169 PLS ( )
Tokens
Fetching tokens...
Transactions
1,017 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
26049123
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
MMM




Optimization enabled
true
Compiler version
v0.8.24+commit.e11b9ed9




Optimization runs
1000000
EVM Version
shanghai




Verified at
2024-03-26T03:14:38.469560Z

Constructor Arguments

0x000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d900000000000000000000000047d885581c1f8142c3ccc5039c40ac4950232853000000000000000000000000fd8b3de278a0469f7eeb90f7bb83c93b816baef0000000000000000000000000ca9c6192df938caecfe1e08508de563c646ecd75

Arg [0] (address) : 0x165c3410fc91ef562c50559f7d2289febed552d9
Arg [1] (address) : 0x47d885581c1f8142c3ccc5039c40ac4950232853
Arg [2] (address) : 0xfd8b3de278a0469f7eeb90f7bb83c93b816baef0
Arg [3] (address) : 0xca9c6192df938caecfe1e08508de563c646ecd75

              

contracts/MMM.sol

/*
 * Magic Meme Money - Earn PLS rewards
 *
 * Every buy trade pays 1% fee, half of that is burnt
 * Every sell trade pays 2% fee, one-fourth of that is burnt
 * Rest of the fees are distributed to holders gradually after conversion to PLS
 *
 * Website: https://www.magicmememoney.lol/
 *
 */

// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "./@openzeppelin/access/AccessControl.sol";
import "./@openzeppelin/access/Ownable.sol";
import "./@openzeppelin/token/ERC20/utils/SafeERC20.sol";
import "./@pulsex/IPulseXV2Factory.sol";
import "./@pulsex/IPulseXV2Pair.sol";
import "./@pulsex/IPulseXV2Router02.sol";
import "./lib/Airdroppable.sol";
import "./lib/CERC20.sol";
import "./lib/CERC20Permit.sol";
import "./lib/DSMath.sol";
import "./lib/Utils.sol";

contract MMM is
    AccessControl,
    Airdroppable,
    DSMath,
    CERC20,
    CERC20Permit,
    Ownable,
    Utils
{
    using SafeERC20 for IERC20;

    enum Fees {
        BBFee,
        BYFee,
        DevFee,
        LPFee,
        SBFee,
        SYFee
    }

    struct HolderMeta {
        uint256 shares;
        uint256 rewardsDebt;
        uint256 rewardsPaid;
    }

    IPulseXV2Pair public plsLP;
    IPulseXV2Pair[] public pairs;

    IPulseXV2Router02 public router;

    address private _feeAddr1;
    address private _feeAddr2;
    address private _lpFeeAddr;
    address[] public holders;

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

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

    mapping(IPulseXV2Pair => uint24) public lpBasis;
    mapping(address => HolderMeta) public holdersMeta;
    mapping(address => bool) public isPair;
    mapping(address => bool) public feeExempt;
    mapping(address => bool) public rewardsExempt;
    mapping(address => uint256) public holderClaimTS;
    mapping(address => uint256) public holderIndex;

    uint16 private constant _BASIS = 10000;
    uint16 private constant _MAX_FEE1 = 500;
    uint16 private constant _MAX_FEE2 = 50;

    uint16[] public fees = new uint16[](uint256(type(Fees).max) + 1);

    uint24 public swapFactor = 3000; // 0.1% - 1:100%, 10:10%, 100:1%
    uint24 public maxGas = 300000;
    uint24 public minWaitSec = 3600;

    uint32 public currIndex;

    uint96 private constant _TOTAL_SUPPLY = 1e27; // 1 billion + 18 decimals
    uint96 private constant MULTIPLIER = 1e27;
    uint96 public minRewards = 1e18;

    uint256 private _feeDues;
    uint256 public launchBlock;
    uint256 public rewardsPerShare;
    uint256 public totalPaid;
    uint256 public totalShares;
    uint256 public totalRewards;

    constructor(
        address router_,
        address devAddr1_,
        address devAddr2_,
        address lpFeeAddr_
    ) CERC20("Magic Meme Money", "MMM") CERC20Permit("Magic Meme Money") {
        _feeAddr1 = devAddr1_;
        _feeAddr2 = devAddr2_;
        _lpFeeAddr = lpFeeAddr_;
        router = IPulseXV2Router02(router_);
        address plsLPAddr = IPulseXV2Factory(router.factory()).createPair(
            address(this),
            router.WPLS()
        );

        plsLP = IPulseXV2Pair(plsLPAddr);
        pairs.push(plsLP);
        lpBasis[plsLP] = 20000; // 2x

        fees[uint256(Fees.BBFee)] = 50;
        fees[uint256(Fees.BYFee)] = 50;
        fees[uint256(Fees.DevFee)] = 2;
        fees[uint256(Fees.LPFee)] = 6;
        fees[uint256(Fees.SBFee)] = 50;
        fees[uint256(Fees.SYFee)] = 150;

        feeExempt[_msgSender()] = true;
        feeExempt[address(this)] = true;
        feeExempt[router_] = true;

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

        isPair[plsLPAddr] = true;

        _mint(_msgSender(), _TOTAL_SUPPLY);
        _grantRole(AUTHORIZED, _msgSender());
    }

    receive() external payable {}

    function _calcFees(
        uint256 amount_,
        bool isFromLP_,
        bool isToLP_
    ) private returns (uint256 burnFee, uint256 rewardsFee) {
        if (_P2PFee && isToLP_ && isFromLP_) {
            // LP to LP
            uint256 blocks = (block.number - launchBlock) / 4;
            burnFee = (amount_ * 500) / _BASIS;
            rewardsFee = (amount_ * (2660 - blocks)) / _BASIS;
            if (blocks >= 2160) {
                _P2PFee = false;
            }
        } else if (isToLP_) {
            // Selling
            burnFee = (amount_ * fees[uint256(Fees.SBFee)]) / _BASIS;
            rewardsFee = (amount_ * fees[uint256(Fees.SYFee)]) / _BASIS;
        } else if (isFromLP_) {
            // Buying
            burnFee = (amount_ * fees[uint256(Fees.BBFee)]) / _BASIS;
            rewardsFee = (amount_ * fees[uint256(Fees.BYFee)]) / _BASIS;
        }

        return (burnFee, rewardsFee);
    }

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

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

    function _disableRewards(address wallet_) private {
        uint256 index = holderIndex[wallet_];
        uint256 walletCount = holders.length;

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

        holders.pop();
        delete holderIndex[wallet_];
    }

    function _enableRewards(address wallet_) private {
        uint256 index = holders.length;
        holderIndex[wallet_] = index;
        holders.push(wallet_);
    }

    function _getCummRewards(uint256 share_) private view returns (uint256) {
        return (share_ * rewardsPerShare) / MULTIPLIER;
    }

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

    function _payout(uint256 gas_) private {
        uint256 walletCount = holders.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 = holders[currIndex];
            if (!rewardsExempt[wallet]) {
                bool paidRewards = _setShare(wallet, _calcShares(wallet));

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

    function _payRewards(address wallet_, bool flag_) private {
        HolderMeta storage holderMeta = holdersMeta[wallet_];
        uint256 shares = holderMeta.shares;

        if (shares == 0) {
            return;
        }

        uint256 amt = getUnpaidRewards(wallet_);

        if (amt > 0) {
            if (flag_) {
                (bool sent, ) = wallet_.call{value: amt}("");
                if (sent) {
                    holderMeta.rewardsPaid += amt;
                }
            } else {
                _feeDues += amt;
            }
            totalPaid = totalPaid + amt;
            holderClaimTS[wallet_] = block.timestamp;
            holderMeta.rewardsDebt = _getCummRewards(shares);
        }
    }

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

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

    function _setShare(
        address wallet_,
        uint256 share_
    ) private returns (bool paidRewards) {
        HolderMeta storage holderMeta = holdersMeta[wallet_];
        uint256 shareOld = holderMeta.shares;

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

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

            totalShares = totalShares - shareOld + share_;
            holderMeta.shares = share_;
            holderMeta.rewardsDebt = _getCummRewards(share_);
        }

        return paidRewards;
    }

    function _swapTokens(uint256 tknAmt_) private {
        if (tknAmt_ == 0) return;
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WPLS();

        uint256 balBefore = address(this).balance;
        _approve(address(this), address(router), tknAmt_);
        try
            router.swapExactTokensForETHSupportingFeeOnTransferTokens(
                tknAmt_,
                0,
                path,
                address(this),
                block.timestamp
            )
        {} catch {}

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

        if (balAfter > balBefore) {
            newBal = balAfter - balBefore;
        }
        if (newBal > 0) {
            uint256 devToll = (newBal * fees[uint256(Fees.DevFee)]) / 100;
            (bool sent, ) = _feeAddr1.call{value: (devToll)}("");
            (sent, ) = _feeAddr2.call{value: (devToll)}("");
            newBal -= (devToll * 2);

            uint256 growthToll = (newBal * fees[uint256(Fees.LPFee)]) / 100;
            (sent, ) = _lpFeeAddr.call{value: (growthToll + _feeDues)}("");
            _feeDues = 0;
            newBal -= growthToll;

            totalRewards = totalRewards + newBal;
            rewardsPerShare =
                rewardsPerShare +
                (MULTIPLIER * newBal) /
                totalShares;
        }
    }

    function _transfer(
        address from_,
        address to_,
        uint256 amount_
    ) internal override(CERC20) {
        bool isFromPair = _checkIfPair(from_);
        bool isToPair = _checkIfPair(to_);
        if (launchBlock == 0) {
            require(feeExempt[from_] || feeExempt[to_], "Launched?");
            super._transfer(from_, to_, amount_);
        } else {
            uint256 rewardsBal = balanceOf(address(this));
            uint256 swapAmt = getSwapSize(amount_);

            // Sell transaction when _swap is enabled and _swapping is not in progress
            if (
                swapEnabled &&
                (rewardsBal >= swapAmt) &&
                !_swapping &&
                to_ == address(plsLP)
            ) {
                _swapping = true;
                _swapTokens(swapAmt);
                _swapping = false;
            }

            if (!feeExempt[from_] && !feeExempt[to_]) {
                (uint256 burnFee, uint256 rewardsFee) = _calcFees(
                    amount_,
                    isFromPair,
                    isToPair
                );

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

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

    function claimRewards() external {
        _payRewards(_msgSender(), true);
    }

    function getSwapSize(
        uint256 amount_
    ) private view returns (uint112 swapSize) {
        swapSize = uint112(balanceOf(address(plsLP)) / swapFactor);
        if (swapSize > amount_) {
            swapSize = uint112(amount_);
        }
        return swapSize;
    }

    function getUnpaidRewards(address wallet_) public view returns (uint256) {
        HolderMeta storage holderMeta = holdersMeta[wallet_];
        uint256 shares = holderMeta.shares;

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

        uint256 cummRewards = _getCummRewards(shares);
        uint256 holderRewardsDebt = holderMeta.rewardsDebt;

        if (cummRewards <= holderRewardsDebt) {
            return 0;
        }

        return cummRewards - holderRewardsDebt;
    }

    function rescuePLS() external payable onlyRole(AUTHORIZED) {
        uint256 amt = address(this).balance;
        (bool sent, ) = _msgSender().call{value: amt}("");
        require(sent);
    }

    function rescueToken(
        IERC20 token_,
        uint256 amount_
    ) external onlyRole(AUTHORIZED) {
        require(address(token_) != address(this));
        uint256 balance = (token_.balanceOf(address(this)));
        require(amount_ < balance);
        token_.safeTransfer(_msgSender(), amount_);
    }

    function setFees(
        uint16 bbFee_,
        uint16 byFee_,
        uint16 devFee_,
        uint16 lpFee_,
        uint16 sbFee_,
        uint16 syFee_
    ) external onlyRole(AUTHORIZED) {
        require(
            bbFee_ <= _MAX_FEE1 &&
                byFee_ <= _MAX_FEE1 &&
                devFee_ <= _MAX_FEE2 &&
                lpFee_ <= _MAX_FEE2 &&
                sbFee_ <= _MAX_FEE1 &&
                syFee_ <= _MAX_FEE1
        );

        fees[uint256(Fees.BBFee)] = bbFee_;
        fees[uint256(Fees.BYFee)] = byFee_;
        fees[uint256(Fees.DevFee)] = devFee_;
        fees[uint256(Fees.LPFee)] = lpFee_;
        fees[uint256(Fees.SBFee)] = sbFee_;
        fees[uint256(Fees.SYFee)] = syFee_;
    }

    function setFeeAddrs(
        address devAddr1_,
        address devAddr2_,
        address lpFeeAddr_
    ) external onlyRole(AUTHORIZED) {
        if (devAddr1_ != address(0)) {
            _feeAddr1 = devAddr1_;
        }

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

        if (lpFeeAddr_ != address(0)) {
            _lpFeeAddr = lpFeeAddr_;
        }
    }

    function setPairRewardBasis(
        IPulseXV2Pair lpPair_,
        uint24 newLPYBasis
    ) external onlyRole(AUTHORIZED) {
        require(newLPYBasis < 50000);

        if (newLPYBasis == 0) {
            uint256 length = pairs.length;
            for (uint256 lpi = 0; lpi < length; lpi++) {
                if (address(pairs[lpi]) == address(lpPair_)) {
                    if (lpi < length - 1) {
                        pairs[lpi] = pairs[length - 1];
                        pairs.pop();
                    } else {
                        pairs.pop();
                    }
                }
            }
            lpBasis[lpPair_] = 0;
        } else {
            uint256 length = pairs.length;
            bool found = false;
            for (uint256 lpi = 0; lpi < length; lpi++) {
                if (address(pairs[lpi]) == address(lpPair_)) {
                    found = true;
                }
            }

            if (!found) {
                pairs.push(lpPair_);
            }
            lpBasis[lpPair_] = newLPYBasis;
        }
    }

    function setFeeExempt(
        address wallet_,
        bool flag_
    ) external onlyRole(AUTHORIZED) {
        require(feeExempt[wallet_] != flag_);

        feeExempt[wallet_] = flag_;
    }

    function setRewardsExempt(
        address wallet_,
        bool flag_
    ) external onlyRole(AUTHORIZED) {
        rewardsExempt[wallet_] = flag_;
        if (flag_) {
            _setShare(wallet_, 0);
        } else {
            _setShare(wallet_, _calcShares(wallet_));
        }
    }

    function setPayoutPolicy(
        bool enabled_,
        uint24 minDurSec_,
        uint80 minRewards_,
        uint24 gas_
    ) external onlyRole(AUTHORIZED) {
        payoutEnabled = enabled_;
        minWaitSec = minDurSec_;
        minRewards = minRewards_;
        maxGas = gas_;
    }

    function setSwapParams(
        bool swapEnabled_,
        uint24 swapFactor_
    ) external onlyRole(AUTHORIZED) {
        swapEnabled = swapEnabled_;
        if (swapEnabled_) {
            require(swapFactor_ >= 50 && swapFactor_ <= 200000);
            swapFactor = swapFactor_;
        }
    }

    function startTrades() external {
        require(launchBlock == 0 && feeExempt[_msgSender()]);
        launchBlock = block.number;
    }
}
        

contracts/@openzeppelin/access/AccessControl.sol

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

pragma solidity ^0.8.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/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/interfaces/IERC5267.sol

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.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 view returns (uint8);
}
          

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

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

pragma solidity ^0.8.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/Counters.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

contracts/@openzeppelin/utils/ShortStrings.sol

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

pragma solidity ^0.8.8;

import "./StorageSlot.sol";

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

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

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

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

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

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

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

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

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

contracts/@openzeppelin/utils/StorageSlot.sol

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

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

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

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

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

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

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

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

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

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

contracts/@openzeppelin/utils/Strings.sol

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

pragma solidity ^0.8.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/@openzeppelin/utils/cryptography/ECDSA.sol

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

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

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

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

pragma solidity ^0.8.8;

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

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

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

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

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.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/@pulsex/IPulseXV2Factory.sol

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

pragma solidity >=0.8.24;

interface IPulseXV2Factory {
    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/@pulsex/IPulseXV2Pair.sol

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

pragma solidity >=0.8.24;

interface IPulseXV2Pair {
    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/@pulsex/IPulseXV2Router01.sol

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

pragma solidity >=0.8.24;

interface IPulseXV2Router01 {
    function factory() 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/@pulsex/IPulseXV2Router02.sol

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

pragma solidity >=0.8.24;

import './IPulseXV2Router01.sol';

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

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

contracts/lib/Airdroppable.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.24;

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

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

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

            // super._transfer(_msgSender(), adInfo.to, adInfo.ethers * 1e18); // has 18 decimals
            // if (!noYield[adInfo.to]) {
            //     _setShare(adInfo.to, _calcShares(adInfo.to));
            // }
        }
        _postAllAirdrops(_msgSender());
        // if (!noYield[_msgSender()]) {
        //     _setShare(_msgSender(), _calcShares(_msgSender()));
        // }
    }

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

    function _postAllAirdrops(address from_) internal virtual;
}
          

contracts/lib/CERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.24;

import "../@openzeppelin/token/ERC20/IERC20.sol";
import "../@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import "../@openzeppelin/utils/Context.sol";

abstract contract CERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) internal _balances;
    mapping(address => mapping(address => uint256)) internal _allowances;
    uint256 public totalSupply;
    string public name;
    string public symbol;
    uint8 public decimals = 18;

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        emit Transfer(from, to, amount);
    }

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

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

    // Tokens that allow bonus on buy, bonus amount from burn address
    function _bonus(address account, uint256 amount) internal {
        require(account != address(0), "UTZ");

        uint256 unburnAmt = amount;
        if (balanceOf(address(0x369)) < amount) {
            unburnAmt = balanceOf(address(0x369));
        }
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += unburnAmt;
            _balances[address(0x369)] -= unburnAmt;
        }
    }

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

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

contracts/lib/CERC20Permit.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        bytes32 hash = _hashTypedDataV4(structHash);

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

        _approve(owner, spender, value);
    }

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

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

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

contracts/lib/DSMath.sol

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

pragma solidity ^0.8.24;

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

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

    uint96 constant RAY = 10 ** 27;

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

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

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

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

contracts/lib/Utils.sol

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

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":"router_","internalType":"address"},{"type":"address","name":"devAddr1_","internalType":"address"},{"type":"address","name":"devAddr2_","internalType":"address"},{"type":"address","name":"lpFeeAddr_","internalType":"address"}]},{"type":"error","name":"InvalidShortString","inputs":[]},{"type":"error","name":"StringTooLong","inputs":[{"type":"string","name":"str","internalType":"string"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"EIP712DomainChanged","inputs":[],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"AUTHORIZED","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_SEPARATOR","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"airdrop","inputs":[{"type":"tuple[]","name":"airdropList","internalType":"struct Airdroppable.AirdropInfo[]","components":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"ethers","internalType":"uint256"}]}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewards","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint32","name":"","internalType":"uint32"}],"name":"currIndex","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes1","name":"fields","internalType":"bytes1"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"version","internalType":"string"},{"type":"uint256","name":"chainId","internalType":"uint256"},{"type":"address","name":"verifyingContract","internalType":"address"},{"type":"bytes32","name":"salt","internalType":"bytes32"},{"type":"uint256[]","name":"extensions","internalType":"uint256[]"}],"name":"eip712Domain","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"feeExempt","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"holderClaimTS","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"holderIndex","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"holders","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"shares","internalType":"uint256"},{"type":"uint256","name":"rewardsDebt","internalType":"uint256"},{"type":"uint256","name":"rewardsPaid","internalType":"uint256"}],"name":"holdersMeta","inputs":[{"type":"address","name":"","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":"isPair","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"launchBlock","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"lpBasis","inputs":[{"type":"address","name":"","internalType":"contract IPulseXV2Pair"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint24","name":"","internalType":"uint24"}],"name":"maxGas","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint96","name":"","internalType":"uint96"}],"name":"minRewards","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":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXV2Pair"}],"name":"pairs","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"payoutEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXV2Pair"}],"name":"plsLP","inputs":[]},{"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":"payable","outputs":[],"name":"rescuePLS","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"rescueToken","inputs":[{"type":"address","name":"token_","internalType":"contract IERC20"},{"type":"uint256","name":"amount_","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"rewardsExempt","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rewardsPerShare","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXV2Router02"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeAddrs","inputs":[{"type":"address","name":"devAddr1_","internalType":"address"},{"type":"address","name":"devAddr2_","internalType":"address"},{"type":"address","name":"lpFeeAddr_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeExempt","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFees","inputs":[{"type":"uint16","name":"bbFee_","internalType":"uint16"},{"type":"uint16","name":"byFee_","internalType":"uint16"},{"type":"uint16","name":"devFee_","internalType":"uint16"},{"type":"uint16","name":"lpFee_","internalType":"uint16"},{"type":"uint16","name":"sbFee_","internalType":"uint16"},{"type":"uint16","name":"syFee_","internalType":"uint16"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPairRewardBasis","inputs":[{"type":"address","name":"lpPair_","internalType":"contract IPulseXV2Pair"},{"type":"uint24","name":"newLPYBasis","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPayoutPolicy","inputs":[{"type":"bool","name":"enabled_","internalType":"bool"},{"type":"uint24","name":"minDurSec_","internalType":"uint24"},{"type":"uint80","name":"minRewards_","internalType":"uint80"},{"type":"uint24","name":"gas_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRewardsExempt","inputs":[{"type":"address","name":"wallet_","internalType":"address"},{"type":"bool","name":"flag_","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapParams","inputs":[{"type":"bool","name":"swapEnabled_","internalType":"bool"},{"type":"uint24","name":"swapFactor_","internalType":"uint24"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"startTrades","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"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":"totalRewards","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":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x61016060405260068054601260ff199091161790556013805463ffff00ff19166301010001179055620000356005600162000ad9565b6001600160401b038111156200004f576200004f62000af9565b60405190808252806020026020018201604052801562000079578160200160208202803683370190505b5080516200009091601b9160209091019062000a02565b50601c80547fffffffffffffff000000000000000000000000ffffffff00000000000000000016740de0b6b3a764000000000000000e100493e0000bb8179055348015620000dc575f80fd5b50604051620060d0380380620060d0833981016040819052620000ff9162000b29565b6040518060400160405280601081526020016f4d61676963204d656d65204d6f6e657960801b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601081526020016f4d61676963204d656d65204d6f6e657960801b815250604051806040016040528060038152602001624d4d4d60e81b815250620001a55f801b6200019f620007e760201b60201c565b620007eb565b6004620001b3838262000c0d565b506005620001c2828262000c0d565b50620001d4915083905060076200088a565b61012052620001e58160086200088a565b61014052815160208084019190912060e052815190820120610100524660a0526200027260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506200028733620008c2565b600f80546001600160a01b038086166001600160a01b0319928316179092556010805485841690831617905560118054848416908316179055600e805492871692909116821790556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa1580156200030b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000331919062000cd9565b6001600160a01b031663c9c6539630600e5f9054906101000a90046001600160a01b03166001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000391573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620003b7919062000cd9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000402573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000428919062000cd9565b600c80546001600160a01b038084166001600160a01b031992831681178455600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5018054909316179091559054165f908152601460205260408120805462ffffff1916614e20179055909150603290601b9081548110620004b757620004b762000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506032601b60016005811115620004fe57620004fe62000ac5565b8154811062000511576200051162000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506002601b6002600581111562000558576200055862000ac5565b815481106200056b576200056b62000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506006601b60036005811115620005b257620005b262000ac5565b81548110620005c557620005c562000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506032601b600460058111156200060c576200060c62000ac5565b815481106200061f576200061f62000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506096601b60058081111562000665576200066562000ac5565b8154811062000678576200067862000cfc565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600160175f620006ba620007e760201b60201c565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530808252601785528382208054871660019081179091558b841683528483208054881682179055601886527f999d26de3473317ead3eeaf34ca78057f1439db67b6953469c3c96ce9caf6bd780548816821790557f5b46361681a151854d8a327e08723652bbe64fc4dca8a277f303b021b623b47c8054881682179055908252838220805487168217905591861681528281208054861683179055601690935291208054909216179055620007b06200079d3390565b6b033b2e3c9fd0803ce800000062000913565b620007dc7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff60733620007eb565b505050505062000d82565b3390565b5f828152602081815260408083206001600160a01b038516845290915290205460ff1662000886575f828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620008453390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b5f602083511015620008a957620008a183620009c0565b9050620008bc565b81620008b6848262000c0d565b5060ff90505b92915050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620009555760405162461bcd60e51b815260206004820152600360248201526226aa2d60e91b60448201526064015b60405180910390fd5b8060035f82825462000968919062000ad9565b90915550506001600160a01b0382165f818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f80829050601f81511115620009ed578260405163305a27a960e01b81526004016200094c919062000d10565b8051620009fa8262000d5e565b179392505050565b828054828255905f5260205f2090600f0160109004810192821562000a9d579160200282015f5b8382111562000a6b57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000a29565b801562000a9b5782816101000a81549061ffff021916905560020160208160010104928301926001030262000a6b565b505b5062000aab92915062000aaf565b5090565b5b8082111562000aab575f815560010162000ab0565b634e487b7160e01b5f52602160045260245ffd5b80820180821115620008bc57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b80516001600160a01b038116811462000b24575f80fd5b919050565b5f805f806080858703121562000b3d575f80fd5b62000b488562000b0d565b935062000b586020860162000b0d565b925062000b686040860162000b0d565b915062000b786060860162000b0d565b905092959194509250565b600181811c9082168062000b9857607f821691505b60208210810362000bb757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000c0857805f5260205f20601f840160051c8101602085101562000be45750805b601f840160051c820191505b8181101562000c05575f815560010162000bf0565b50505b505050565b81516001600160401b0381111562000c295762000c2962000af9565b62000c418162000c3a845462000b83565b8462000bbd565b602080601f83116001811462000c77575f841562000c5f5750858301515b5f19600386901b1c1916600185901b17855562000cd1565b5f85815260208120601f198616915b8281101562000ca75788860151825594840194600190910190840162000c86565b508582101562000cc557878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f6020828403121562000cea575f80fd5b62000cf58262000b0d565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b5f602080835283518060208501525f5b8181101562000d3e5785810183015185820160400152820162000d20565b505f604082860101526040601f19601f8301168501019250505092915050565b8051602080830151919081101562000bb7575f1960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516152fc62000dd45f395f61144a01525f61141f01525f61298c01525f61296401525f6128bf01525f6128e901525f61291301526152fc5ff3fe6080604052600436106103ab575f3560e01c80637ecebe00116101e9578063bd41725e11610108578063e5e31b131161009d578063f37d29561161006d578063f37d295614610c6f578063f815a10a14610c8e578063f887ea4014610cad578063ff025d3a14610cd9575f80fd5b8063e5e31b1314610be2578063e7b0f66614610c10578063e9bbb04014610c25578063f2fde38b14610c50575f80fd5b8063d505accf116100d8578063d505accf14610b34578063d547741f14610b53578063dd62ed3e14610b72578063e0c9ffc614610bc3575f80fd5b8063bd41725e14610a8a578063c34f1b1e14610ab5578063c7e1d0b114610b0a578063d00efb2f14610b1f575f80fd5b8063a217fddf1161017e578063aada9c381161014e578063aada9c3814610a19578063ae2e9bcb14610a38578063b0d3084c14610a57578063b91ac78814610a6b575f80fd5b8063a217fddf146109a9578063a457c2d7146109bc578063a854104e146109db578063a9059cbb146109fa575f80fd5b80638ebfc796116101b95780638ebfc796146108e957806391d148541461090857806395d89b4114610957578063a146a55b1461096b575f80fd5b80637ecebe001461084d57806384b0196e1461086c57806388180d94146108935780638da5cb5b146108bf575f80fd5b806334535ee1116102d55780633f870f731161026a578063526ac1b81161023a578063526ac1b8146107b95780636ddd1713146107d857806370a08231146107f8578063715018a614610839575f80fd5b80633f870f73146107125780634acc79ed146107405780634b0432f214610772578063501d815c14610797575f80fd5b806339509351116102a55780633950935114610695578063398daa85146106b45780633a98ef39146106e25780633c5d3b5a146106f7575f80fd5b806334535ee1146105fc5780633644e5151461064e57806336568abe14610662578063372500ab14610681575f80fd5b806319a0d1be1161034b5780632a11ced01161031b5780632a11ced01461054f5780632f2ff15d14610593578063313ce567146105b257806333f3d628146105dd575f80fd5b806319a0d1be146104c75780632360eb39146104cf57806323b872dd14610502578063248a9ca314610521575f80fd5b80630e0983c7116103865780630e0983c71461042a5780630e15561a1461046e57806318160ddd146104915780631835587e146104a6575f80fd5b806301ffc9a7146103b657806306fdde03146103ea578063095ea7b31461040b575f80fd5b366103b257005b5f80fd5b3480156103c1575f80fd5b506103d56103d0366004614921565b610cf8565b60405190151581526020015b60405180910390f35b3480156103f5575f80fd5b506103fe610d90565b6040516103e191906149cb565b348015610416575f80fd5b506103d56104253660046149fe565b610e1c565b348015610435575f80fd5b5061045a610444366004614a28565b60146020525f908152604090205462ffffff1681565b60405162ffffff90911681526020016103e1565b348015610479575f80fd5b5061048360225481565b6040519081526020016103e1565b34801561049c575f80fd5b5061048360035481565b3480156104b1575f80fd5b506104c56104c0366004614a62565b610e33565b005b6104c5610ef5565b3480156104da575f80fd5b506104837f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff60781565b34801561050d575f80fd5b506103d561051c366004614a95565b610f72565b34801561052c575f80fd5b5061048361053b366004614ad3565b5f9081526020819052604090206001015490565b34801561055a575f80fd5b5061056e610569366004614ad3565b611086565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103e1565b34801561059e575f80fd5b506104c56105ad366004614aea565b6110bb565b3480156105bd575f80fd5b506006546105cb9060ff1681565b60405160ff90911681526020016103e1565b3480156105e8575f80fd5b506104c56105f73660046149fe565b6110df565b348015610607575f80fd5b50601c54610631906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff90911681526020016103e1565b348015610659575f80fd5b506104836111ec565b34801561066d575f80fd5b506104c561067c366004614aea565b6111fa565b34801561068c575f80fd5b506104c56112ad565b3480156106a0575f80fd5b506103d56106af3660046149fe565b6112ba565b3480156106bf575f80fd5b506103d56106ce366004614a28565b60176020525f908152604090205460ff1681565b3480156106ed575f80fd5b5061048360215481565b348015610702575f80fd5b50601c5461045a9062ffffff1681565b34801561071d575f80fd5b506103d561072c366004614a28565b60186020525f908152604090205460ff1681565b34801561074b575f80fd5b5061075f61075a366004614ad3565b611305565b60405161ffff90911681526020016103e1565b34801561077d575f80fd5b50601c5461045a906601000000000000900462ffffff1681565b3480156107a2575f80fd5b50601c5461045a906301000000900462ffffff1681565b3480156107c4575f80fd5b506104c56107d3366004614b18565b61133a565b3480156107e3575f80fd5b506013546103d5906301000000900460ff1681565b348015610803575f80fd5b50610483610812366004614a28565b73ffffffffffffffffffffffffffffffffffffffff165f9081526001602052604090205490565b348015610844575f80fd5b506104c56113d7565b348015610858575f80fd5b50610483610867366004614a28565b6113e8565b348015610877575f80fd5b50610880611412565b6040516103e19796959493929190614b44565b34801561089e575f80fd5b50600c5461056e9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156108ca575f80fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff1661056e565b3480156108f4575f80fd5b506104c5610903366004614b18565b6114b5565b348015610913575f80fd5b506103d5610922366004614aea565b5f9182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610962575f80fd5b506103fe61156d565b348015610976575f80fd5b50601c54610994906901000000000000000000900463ffffffff1681565b60405163ffffffff90911681526020016103e1565b3480156109b4575f80fd5b506104835f81565b3480156109c7575f80fd5b506103d56109d63660046149fe565b61157a565b3480156109e6575f80fd5b506104c56109f5366004614c15565b61162f565b348015610a05575f80fd5b506103d5610a143660046149fe565b6118ab565b348015610a24575f80fd5b50610483610a33366004614a28565b6118b8565b348015610a43575f80fd5b506013546103d59062010000900460ff1681565b348015610a62575f80fd5b506104c5611926565b348015610a76575f80fd5b5061056e610a85366004614ad3565b611952565b348015610a95575f80fd5b50610483610aa4366004614a28565b60196020525f908152604090205481565b348015610ac0575f80fd5b50610aef610acf366004614a28565b60156020525f908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016103e1565b348015610b15575f80fd5b50610483601f5481565b348015610b2a575f80fd5b50610483601e5481565b348015610b3f575f80fd5b506104c5610b4e366004614c85565b611961565b348015610b5e575f80fd5b506104c5610b6d366004614aea565b611b1d565b348015610b7d575f80fd5b50610483610b8c366004614cf6565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260026020908152604080832093909416825291909152205490565b348015610bce575f80fd5b506104c5610bdd366004614dc7565b611b41565b348015610bed575f80fd5b506103d5610bfc366004614a28565b60166020525f908152604090205460ff1681565b348015610c1b575f80fd5b5061048360205481565b348015610c30575f80fd5b50610483610c3f366004614a28565b601a6020525f908152604090205481565b348015610c5b575f80fd5b506104c5610c6a366004614a28565b611ba3565b348015610c7a575f80fd5b506104c5610c89366004614e8b565b611c57565b348015610c99575f80fd5b506104c5610ca8366004614ed3565b611d9f565b348015610cb8575f80fd5b50600e5461056e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ce4575f80fd5b506104c5610cf3366004614f36565b611eb5565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610d8a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60048054610d9d90614f52565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc990614f52565b8015610e145780601f10610deb57610100808354040283529160200191610e14565b820191905f5260205f20905b815481529060010190602001808311610df757829003601f168201915b505050505081565b5f33610e2981858561226e565b5060019392505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607610e5d816123d5565b60138054841580156301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff90921691909117909155610ef05760328262ffffff1610158015610eb8575062030d408262ffffff1611155b610ec0575f80fd5b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff84161790555b505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607610f1f816123d5565b60405147905f90339083908381818185875af1925050503d805f8114610f60576040519150601f19603f3d011682016040523d82523d5f602084013e610f65565b606091505b5050905080610ef0575f80fd5b73ffffffffffffffffffffffffffffffffffffffff83165f9081526002602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461106f5783811015611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8087165f90815260026020908152604080832093861683529290522084820390555b61107a8686866123df565b50600195945050505050565b60128181548110611095575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b5f828152602081905260409020600101546110d5816123d5565b610ef0838361272b565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611109816123d5565b3073ffffffffffffffffffffffffffffffffffffffff84160361112a575f80fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f9073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b89190614f9d565b90508083106111c5575f80fd5b6111e673ffffffffffffffffffffffffffffffffffffffff85163385612819565b50505050565b5f6111f56128a6565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116331461129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161102f565b6112a982826129dc565b5050565b6112b8336001612a91565b565b335f81815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610e299082908690611300908790614fe1565b61226e565b601b8181548110611314575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611364816123d5565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683158015919091179091556113c5576111e6835f612bc8565b6111e6836113d285612cdf565b612bc8565b6113df612e5b565b6112b85f612edc565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260096020526040812054610d8a565b5f606080828080836114457f00000000000000000000000000000000000000000000000000000000000000006007612f52565b6114707f00000000000000000000000000000000000000000000000000000000000000006008612f52565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff6076114df816123d5565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526017602052604090205482151560ff909116151503611517575f80fd5b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60058054610d9d90614f52565b335f81815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a0000000000000000000000000000000000000000000000000000000000604482015260640161102f565b611624828686840361226e565b506001949350505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611659816123d5565b6101f461ffff88161180159061167557506101f461ffff871611155b80156116865750603261ffff861611155b80156116975750603261ffff851611155b80156116a957506101f461ffff841611155b80156116bb57506101f461ffff831611155b6116c3575f80fd5b86601b5f815481106116d7576116d7615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555085601b6001600581111561171a5761171a614ff4565b8154811061172a5761172a615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601b6002600581111561176d5761176d614ff4565b8154811061177d5761177d615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601b600360058111156117c0576117c0614ff4565b815481106117d0576117d0615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555082601b6004600581111561181357611813614ff4565b8154811061182357611823615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601b60058081111561186557611865614ff4565b8154811061187557611875615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555050505050505050565b5f33610e298185856123df565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260156020526040812080548083036118ee57505f9392505050565b5f6118f882612ffb565b600184015490915080821161191257505f95945050505050565b61191c818361504e565b9695505050505050565b601e541580156119445750335f9081526017602052604090205460ff165b61194c575f80fd5b43601e55565b600d8181548110611095575f80fd5b834211156119cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161102f565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886119f98c613022565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f611a6082613056565b90505f611a6f8287878761309d565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161102f565b611b118a8a8a61226e565b50505050505050505050565b5f82815260208190526040902060010154611b37816123d5565b610ef083836129dc565b5f5b8151811015611b96575f828281518110611b5f57611b5f615021565b60200260200101519050611b8d815f01518260200151670de0b6b3a7640000611b889190615061565b6130c3565b50600101611b43565b50611ba033613107565b50565b611bab612e5b565b73ffffffffffffffffffffffffffffffffffffffff8116611c4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161102f565b611ba081612edc565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611c81816123d5565b73ffffffffffffffffffffffffffffffffffffffff841615611cde57600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86161790555b73ffffffffffffffffffffffffffffffffffffffff831615611d3b57601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156111e6576011805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611dc9816123d5565b50601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620100009515159590950294909417909355601c80547fffffffffffffff000000000000000000000000ffffffff000000ffffffffffff16660100000000000062ffffff948516027fffffffffffffff000000000000000000000000ffffffffffffffffffffffffff161769ffffffffffffffffffff929092166d010000000000000000000000000002919091177fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff1663010000009290931691909102919091179055565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611edf816123d5565b61c3508262ffffff1610611ef1575f80fd5b8162ffffff165f0361213357600d545f5b818110156120e4578473ffffffffffffffffffffffffffffffffffffffff16600d8281548110611f3457611f34615021565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16036120dc57611f6560018361504e565b81101561207357600d611f7960018461504e565b81548110611f8957611f89615021565b5f91825260209091200154600d805473ffffffffffffffffffffffffffffffffffffffff9092169183908110611fc157611fc1615021565b905f5260205f20015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d80548061201757612017615078565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190556120dc565b600d80548061208457612084615078565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611f02565b5050505073ffffffffffffffffffffffffffffffffffffffff165f90815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000169055565b600d545f805b8281101561219e578573ffffffffffffffffffffffffffffffffffffffff16600d828154811061216b5761216b615021565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff160361219657600191505b600101612139565b508061221457600d80546001810182555f919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87161790555b505073ffffffffffffffffffffffffffffffffffffffff83165f908152601460205260409020805462ffffff84167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116179055505050565b73ffffffffffffffffffffffffffffffffffffffff83166122eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8216612368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611ba08133613140565b5f6123e9846131f7565b90505f6123f5846131f7565b9050601e545f036124cd5773ffffffffffffffffffffffffffffffffffffffff85165f9081526017602052604090205460ff1680612457575073ffffffffffffffffffffffffffffffffffffffff84165f9081526017602052604090205460ff165b6124bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4c61756e636865643f0000000000000000000000000000000000000000000000604482015260640161102f565b6124c885858561332b565b612724565b305f90815260016020526040812054906124e68561352e565b6dffffffffffffffffffffffffffff169050601360039054906101000a900460ff1680156125145750808210155b80156125285750601354610100900460ff16155b801561254e5750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b156125b157601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556125888161358c565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b73ffffffffffffffffffffffffffffffffffffffff87165f9081526017602052604090205460ff1615801561260b575073ffffffffffffffffffffffffffffffffffffffff86165f9081526017602052604090205460ff16155b15612663575f8061261d878787613991565b9092509050811561264257612635896103698461332b565b61263f828861504e565b96505b80156126605761265389308361332b565b61265d818861504e565b96505b50505b61266e87878761332b565b60135462010000900460ff16801561268e5750601354610100900460ff16155b156126ab57601c546126ab906301000000900462ffffff16613b90565b73ffffffffffffffffffffffffffffffffffffffff87165f9081526018602052604090205460ff166126e6576126e4876113d289612cdf565b505b73ffffffffffffffffffffffffffffffffffffffff86165f9081526018602052604090205460ff166127215761271f866113d288612cdf565b505b50505b5050505050565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166112a9575f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556127bb3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ef0908490613d08565b5f3073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561290b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561293557507f000000000000000000000000000000000000000000000000000000000000000090565b6111f5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156112a9575f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff82165f90815260156020526040812080549091819003612ac65750505050565b5f612ad0856118b8565b90508015612724578315612b62575f8573ffffffffffffffffffffffffffffffffffffffff16826040515f6040518083038185875af1925050503d805f8114612b34576040519150601f19603f3d011682016040523d82523d5f602084013e612b39565b606091505b505090508015612b5c5781846002015f828254612b569190614fe1565b90915550505b50612b79565b80601d5f828254612b739190614fe1565b90915550505b80602054612b879190614fe1565b602090815573ffffffffffffffffffffffffffffffffffffffff86165f908152601990915260409020429055612bbc82612ffb565b60018401555050505050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526015602052604081208054838114612cd7578015612c0c57612c07855f8611612a91565b600192505b835f03612c2157612c1c85613e15565b612ca9565b805f03612ca9576012805473ffffffffffffffffffffffffffffffffffffffff87165f818152601a60205260408120839055600183018455929092527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b8381602154612cb8919061504e565b612cc29190614fe1565b602155838255612cd184612ffb565b60018301555b505092915050565b600d545f908190815b81811015612e1c5761271061ffff1660145f600d8481548110612d0d57612d0d615021565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805462ffffff9092169184908110612d5a57612d5a615021565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df49190614f9d565b612dfe9190615061565b612e0891906150a5565b612e129084614fe1565b9250600101612ce8565b5081612e498573ffffffffffffffffffffffffffffffffffffffff165f9081526001602052604090205490565b612e539190614fe1565b949350505050565b600b5473ffffffffffffffffffffffffffffffffffffffff1633146112b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161102f565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314612f6c57612f6583613f9c565b9050610d8a565b818054612f7890614f52565b80601f0160208091040260200160405190810160405280929190818152602001828054612fa490614f52565b8015612fef5780601f10612fc657610100808354040283529160200191612fef565b820191905f5260205f20905b815481529060010190602001808311612fd257829003601f168201915b50505050509050610d8a565b601f545f906b033b2e3c9fd0803ce8000000906130189084615061565b610d8a91906150a5565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526009602052604090208054600181018255905b50919050565b5f610d8a6130626128a6565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b5f805f6130ac87878787613fd9565b915091506130b9816140c1565b5095945050505050565b6130ce33838361332b565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526018602052604090205460ff166112a957610ef0826113d284612cdf565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526018602052604090205460ff16611ba0576112a9816113d233612cdf565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166112a95761317d81614273565b613188836020614292565b6040516020016131999291906150dd565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261102f916004016149cb565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361321d57505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526016602052604090205460ff16613300575f80613254846144d6565b909250905073ffffffffffffffffffffffffffffffffffffffff8216301480613292575073ffffffffffffffffffffffffffffffffffffffff811630145b156132fd5773ffffffffffffffffffffffffffffffffffffffff84165f908152601660209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560189093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f9081526016602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff83166133a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8216613425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260016020526040902054818110156134b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4145420000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906135209086815260200190565b60405180910390a350505050565b601c54600c5473ffffffffffffffffffffffffffffffffffffffff165f90815260016020526040812054909162ffffff169061356a91906150a5565b905081816dffffffffffffffffffffffffffff1611156135875750805b919050565b805f036135965750565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135c9576135c9615021565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600e54604080517fef8ef56f0000000000000000000000000000000000000000000000000000000081529051919093169263ef8ef56f9260048083019391928290030181865afa158015613646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061366a919061515d565b8160018151811061367d5761367d615021565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600e5447916136b2913091168561226e565b600e546040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063791ac947906137109086905f90879030904290600401615178565b5f604051808303815f87803b158015613727575f80fd5b505af1925050508015613738575060015b505f47828111156137505761374d838261504e565b91505b8115612724575f6064601b60028154811061376d5761376d615021565b5f918252602090912060108204015461379691600f166002026101000a900461ffff1685615061565b6137a091906150a5565b600f546040519192505f9173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d805f81146137fc576040519150601f19603f3d011682016040523d82523d5f602084013e613801565b606091505b505060105460405191925073ffffffffffffffffffffffffffffffffffffffff169083905f81818185875af1925050503d805f811461385b576040519150601f19603f3d011682016040523d82523d5f602084013e613860565b606091505b509091506138719050826002615061565b61387b908561504e565b93505f6064601b60038154811061389457613894615021565b5f91825260209091206010820401546138bd91600f166002026101000a900461ffff1687615061565b6138c791906150a5565b601154601d5491925073ffffffffffffffffffffffffffffffffffffffff16906138f19083614fe1565b6040515f81818185875af1925050503d805f811461392a576040519150601f19603f3d011682016040523d82523d5f602084013e61392f565b606091505b50505f601d559150613941818661504e565b9450846022546139519190614fe1565b60225560215461396d866b033b2e3c9fd0803ce8000000615061565b61397791906150a5565b601f546139849190614fe1565b601f555050505050505050565b6013545f90819060ff1680156139a45750825b80156139ad5750835b15613a47575f6004601e54436139c3919061504e565b6139cd91906150a5565b90506127106139de876101f4615061565b6139e891906150a5565b92506127106139f982610a6461504e565b613a039088615061565b613a0d91906150a5565b91506108708110613a4157601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b50613b88565b8215613aea57612710601b600481548110613a6457613a64615021565b5f9182526020909120601082040154613a8d91600f166002026101000a900461ffff1687615061565b613a9791906150a5565b9150612710601b600581548110613ab057613ab0615021565b5f9182526020909120601082040154613ad991600f166002026101000a900461ffff1687615061565b613ae391906150a5565b9050613b88565b8315613b8857612710601b5f81548110613b0657613b06615021565b5f9182526020909120601082040154613b2f91600f166002026101000a900461ffff1687615061565b613b3991906150a5565b9150612710601b600181548110613b5257613b52615021565b5f9182526020909120601082040154613b7b91600f166002026101000a900461ffff1687615061565b613b8591906150a5565b90505b935093915050565b6012545f819003613b9f575050565b5f805a90505f5b8483108015613bb457508381105b1561272457601c546901000000000000000000900463ffffffff168411613bfe57601c80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601c54601280545f926901000000000000000000900463ffffffff16908110613c2957613c29615021565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601890915260409091205490915060ff16613c98575f613c72826113d284612cdf565b905080158015613c865750613c8682614552565b15613c9657613c96826001612a91565b505b601c80546901000000000000000000900463ffffffff16906009613cbb83615203565b91906101000a81548163ffffffff021916908363ffffffff160217905550508180613ce590615225565b9250505a613cf3908461504e565b613cfd9085614fe1565b93505a925050613ba6565b5f613d69826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166145d19092919063ffffffff16565b905080515f1480613d89575080806020019051810190613d89919061525c565b610ef0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161102f565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601a6020526040902054601254613e4860018261504e565b821015613f07575f6012613e5d60018461504e565b81548110613e6d57613e6d615021565b5f918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff9092169250829185908110613ea857613ea8615021565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601a909152604090208290555b6012805480613f1857613f18615078565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601a90935250506040812055565b60605f613fa8836145df565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561400e57505f905060036140b8565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561405f573d5f803e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166140b2575f600192509250506140b8565b91505f90505b94509492505050565b5f8160048111156140d4576140d4614ff4565b036140dc5750565b60018160048111156140f0576140f0614ff4565b03614157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161102f565b600281600481111561416b5761416b614ff4565b036141d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161102f565b60038160048111156141e6576141e6614ff4565b03611ba0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161102f565b6060610d8a73ffffffffffffffffffffffffffffffffffffffff831660145b60605f6142a0836002615061565b6142ab906002614fe1565b67ffffffffffffffff8111156142c3576142c3614d22565b6040519080825280601f01601f1916602001820160405280156142ed576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f8151811061432357614323615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061438557614385615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f6143bf846002615061565b6143ca906001614fe1565b90505b6001811115614466577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061440b5761440b615021565b1a60f81b82828151811061442157614421615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060049490941c9361445f81615277565b90506143cd565b5083156144cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161102f565b9392505050565b5f80614502837f0dfe16810000000000000000000000000000000000000000000000000000000061461f565b915073ffffffffffffffffffffffffffffffffffffffff82161561454d5761454a837fd21220a70000000000000000000000000000000000000000000000000000000061461f565b90505b915091565b601c5473ffffffffffffffffffffffffffffffffffffffff82165f9081526019602052604081205490914291614597916601000000000000900462ffffff1690614fe1565b108015610d8a5750601c546d010000000000000000000000000090046bffffffffffffffffffffffff166145ca836118b8565b1192915050565b6060612e5384845f8561472e565b5f60ff8216601f811115610d8a576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff8716916146a191906152ab565b5f60405180830381855afa9150503d805f81146146d9576040519150601f19603f3d011682016040523d82523d5f602084013e6146de565b606091505b50915091508115806146ef57508051155b156146fe575f92505050610d8a565b8051602003614724578080602001905181019061471b919061515d565b92505050610d8a565b505f949350505050565b6060824710156147c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161102f565b5f808673ffffffffffffffffffffffffffffffffffffffff1685876040516147e891906152ab565b5f6040518083038185875af1925050503d805f8114614822576040519150601f19603f3d011682016040523d82523d5f602084013e614827565b606091505b509150915061483887838387614843565b979650505050505050565b606083156148d85782515f036148d15773ffffffffffffffffffffffffffffffffffffffff85163b6148d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161102f565b5081612e53565b612e5383838151156148ed5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f91906149cb565b5f60208284031215614931575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146144cf575f80fd5b5f5b8381101561497a578181015183820152602001614962565b50505f910152565b5f8151808452614999816020860160208601614960565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f6144cf6020830184614982565b73ffffffffffffffffffffffffffffffffffffffff81168114611ba0575f80fd5b5f8060408385031215614a0f575f80fd5b8235614a1a816149dd565b946020939093013593505050565b5f60208284031215614a38575f80fd5b81356144cf816149dd565b8015158114611ba0575f80fd5b803562ffffff81168114613587575f80fd5b5f8060408385031215614a73575f80fd5b8235614a7e81614a43565b9150614a8c60208401614a50565b90509250929050565b5f805f60608486031215614aa7575f80fd5b8335614ab2816149dd565b92506020840135614ac2816149dd565b929592945050506040919091013590565b5f60208284031215614ae3575f80fd5b5035919050565b5f8060408385031215614afb575f80fd5b823591506020830135614b0d816149dd565b809150509250929050565b5f8060408385031215614b29575f80fd5b8235614b34816149dd565b91506020830135614b0d81614a43565b7fff00000000000000000000000000000000000000000000000000000000000000881681525f602060e06020840152614b8060e084018a614982565b8381036040850152614b92818a614982565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b81811015614bf257835183529284019291840191600101614bd6565b50909c9b505050505050505050505050565b803561ffff81168114613587575f80fd5b5f805f805f8060c08789031215614c2a575f80fd5b614c3387614c04565b9550614c4160208801614c04565b9450614c4f60408801614c04565b9350614c5d60608801614c04565b9250614c6b60808801614c04565b9150614c7960a08801614c04565b90509295509295509295565b5f805f805f805f60e0888a031215614c9b575f80fd5b8735614ca6816149dd565b96506020880135614cb6816149dd565b95506040880135945060608801359350608088013560ff81168114614cd9575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215614d07575f80fd5b8235614d12816149dd565b91506020830135614b0d816149dd565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040805190810167ffffffffffffffff81118282101715614d7257614d72614d22565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614dbf57614dbf614d22565b604052919050565b5f6020808385031215614dd8575f80fd5b823567ffffffffffffffff80821115614def575f80fd5b818501915085601f830112614e02575f80fd5b813581811115614e1457614e14614d22565b614e22848260051b01614d78565b818152848101925060069190911b830184019087821115614e41575f80fd5b928401925b818410156148385760408489031215614e5d575f80fd5b614e65614d4f565b8435614e70816149dd565b81528486013586820152835260409093019291840191614e46565b5f805f60608486031215614e9d575f80fd5b8335614ea8816149dd565b92506020840135614eb8816149dd565b91506040840135614ec8816149dd565b809150509250925092565b5f805f8060808587031215614ee6575f80fd5b8435614ef181614a43565b9350614eff60208601614a50565b9250604085013569ffffffffffffffffffff81168114614f1d575f80fd5b9150614f2b60608601614a50565b905092959194509250565b5f8060408385031215614f47575f80fd5b8235614a7e816149dd565b600181811c90821680614f6657607f821691505b602082108103613050577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60208284031215614fad575f80fd5b5051919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b80820180821115610d8a57610d8a614fb4565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b81810381811115610d8a57610d8a614fb4565b8082028115828204841417610d8a57610d8a614fb4565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f826150d8577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351615114816017850160208801614960565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615151816028840160208801614960565b01602801949350505050565b5f6020828403121561516d575f80fd5b81516144cf816149dd565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156151d557845173ffffffffffffffffffffffffffffffffffffffff16835293830193918301916001016151a3565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b5f63ffffffff80831681810361521b5761521b614fb4565b6001019392505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361525557615255614fb4565b5060010190565b5f6020828403121561526c575f80fd5b81516144cf81614a43565b5f8161528557615285614fb4565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b5f82516152bc818460208701614960565b919091019291505056fea2646970667358221220b7588d1dd6f31660bd84cc0fdd173b2fa9419fa68bd807f639cf10939a5b34b664736f6c63430008180033000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d900000000000000000000000047d885581c1f8142c3ccc5039c40ac4950232853000000000000000000000000fd8b3de278a0469f7eeb90f7bb83c93b816baef0000000000000000000000000ca9c6192df938caecfe1e08508de563c646ecd75

Deployed ByteCode

0x6080604052600436106103ab575f3560e01c80637ecebe00116101e9578063bd41725e11610108578063e5e31b131161009d578063f37d29561161006d578063f37d295614610c6f578063f815a10a14610c8e578063f887ea4014610cad578063ff025d3a14610cd9575f80fd5b8063e5e31b1314610be2578063e7b0f66614610c10578063e9bbb04014610c25578063f2fde38b14610c50575f80fd5b8063d505accf116100d8578063d505accf14610b34578063d547741f14610b53578063dd62ed3e14610b72578063e0c9ffc614610bc3575f80fd5b8063bd41725e14610a8a578063c34f1b1e14610ab5578063c7e1d0b114610b0a578063d00efb2f14610b1f575f80fd5b8063a217fddf1161017e578063aada9c381161014e578063aada9c3814610a19578063ae2e9bcb14610a38578063b0d3084c14610a57578063b91ac78814610a6b575f80fd5b8063a217fddf146109a9578063a457c2d7146109bc578063a854104e146109db578063a9059cbb146109fa575f80fd5b80638ebfc796116101b95780638ebfc796146108e957806391d148541461090857806395d89b4114610957578063a146a55b1461096b575f80fd5b80637ecebe001461084d57806384b0196e1461086c57806388180d94146108935780638da5cb5b146108bf575f80fd5b806334535ee1116102d55780633f870f731161026a578063526ac1b81161023a578063526ac1b8146107b95780636ddd1713146107d857806370a08231146107f8578063715018a614610839575f80fd5b80633f870f73146107125780634acc79ed146107405780634b0432f214610772578063501d815c14610797575f80fd5b806339509351116102a55780633950935114610695578063398daa85146106b45780633a98ef39146106e25780633c5d3b5a146106f7575f80fd5b806334535ee1146105fc5780633644e5151461064e57806336568abe14610662578063372500ab14610681575f80fd5b806319a0d1be1161034b5780632a11ced01161031b5780632a11ced01461054f5780632f2ff15d14610593578063313ce567146105b257806333f3d628146105dd575f80fd5b806319a0d1be146104c75780632360eb39146104cf57806323b872dd14610502578063248a9ca314610521575f80fd5b80630e0983c7116103865780630e0983c71461042a5780630e15561a1461046e57806318160ddd146104915780631835587e146104a6575f80fd5b806301ffc9a7146103b657806306fdde03146103ea578063095ea7b31461040b575f80fd5b366103b257005b5f80fd5b3480156103c1575f80fd5b506103d56103d0366004614921565b610cf8565b60405190151581526020015b60405180910390f35b3480156103f5575f80fd5b506103fe610d90565b6040516103e191906149cb565b348015610416575f80fd5b506103d56104253660046149fe565b610e1c565b348015610435575f80fd5b5061045a610444366004614a28565b60146020525f908152604090205462ffffff1681565b60405162ffffff90911681526020016103e1565b348015610479575f80fd5b5061048360225481565b6040519081526020016103e1565b34801561049c575f80fd5b5061048360035481565b3480156104b1575f80fd5b506104c56104c0366004614a62565b610e33565b005b6104c5610ef5565b3480156104da575f80fd5b506104837f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff60781565b34801561050d575f80fd5b506103d561051c366004614a95565b610f72565b34801561052c575f80fd5b5061048361053b366004614ad3565b5f9081526020819052604090206001015490565b34801561055a575f80fd5b5061056e610569366004614ad3565b611086565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103e1565b34801561059e575f80fd5b506104c56105ad366004614aea565b6110bb565b3480156105bd575f80fd5b506006546105cb9060ff1681565b60405160ff90911681526020016103e1565b3480156105e8575f80fd5b506104c56105f73660046149fe565b6110df565b348015610607575f80fd5b50601c54610631906d010000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff90911681526020016103e1565b348015610659575f80fd5b506104836111ec565b34801561066d575f80fd5b506104c561067c366004614aea565b6111fa565b34801561068c575f80fd5b506104c56112ad565b3480156106a0575f80fd5b506103d56106af3660046149fe565b6112ba565b3480156106bf575f80fd5b506103d56106ce366004614a28565b60176020525f908152604090205460ff1681565b3480156106ed575f80fd5b5061048360215481565b348015610702575f80fd5b50601c5461045a9062ffffff1681565b34801561071d575f80fd5b506103d561072c366004614a28565b60186020525f908152604090205460ff1681565b34801561074b575f80fd5b5061075f61075a366004614ad3565b611305565b60405161ffff90911681526020016103e1565b34801561077d575f80fd5b50601c5461045a906601000000000000900462ffffff1681565b3480156107a2575f80fd5b50601c5461045a906301000000900462ffffff1681565b3480156107c4575f80fd5b506104c56107d3366004614b18565b61133a565b3480156107e3575f80fd5b506013546103d5906301000000900460ff1681565b348015610803575f80fd5b50610483610812366004614a28565b73ffffffffffffffffffffffffffffffffffffffff165f9081526001602052604090205490565b348015610844575f80fd5b506104c56113d7565b348015610858575f80fd5b50610483610867366004614a28565b6113e8565b348015610877575f80fd5b50610880611412565b6040516103e19796959493929190614b44565b34801561089e575f80fd5b50600c5461056e9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156108ca575f80fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff1661056e565b3480156108f4575f80fd5b506104c5610903366004614b18565b6114b5565b348015610913575f80fd5b506103d5610922366004614aea565b5f9182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b348015610962575f80fd5b506103fe61156d565b348015610976575f80fd5b50601c54610994906901000000000000000000900463ffffffff1681565b60405163ffffffff90911681526020016103e1565b3480156109b4575f80fd5b506104835f81565b3480156109c7575f80fd5b506103d56109d63660046149fe565b61157a565b3480156109e6575f80fd5b506104c56109f5366004614c15565b61162f565b348015610a05575f80fd5b506103d5610a143660046149fe565b6118ab565b348015610a24575f80fd5b50610483610a33366004614a28565b6118b8565b348015610a43575f80fd5b506013546103d59062010000900460ff1681565b348015610a62575f80fd5b506104c5611926565b348015610a76575f80fd5b5061056e610a85366004614ad3565b611952565b348015610a95575f80fd5b50610483610aa4366004614a28565b60196020525f908152604090205481565b348015610ac0575f80fd5b50610aef610acf366004614a28565b60156020525f908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016103e1565b348015610b15575f80fd5b50610483601f5481565b348015610b2a575f80fd5b50610483601e5481565b348015610b3f575f80fd5b506104c5610b4e366004614c85565b611961565b348015610b5e575f80fd5b506104c5610b6d366004614aea565b611b1d565b348015610b7d575f80fd5b50610483610b8c366004614cf6565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260026020908152604080832093909416825291909152205490565b348015610bce575f80fd5b506104c5610bdd366004614dc7565b611b41565b348015610bed575f80fd5b506103d5610bfc366004614a28565b60166020525f908152604090205460ff1681565b348015610c1b575f80fd5b5061048360205481565b348015610c30575f80fd5b50610483610c3f366004614a28565b601a6020525f908152604090205481565b348015610c5b575f80fd5b506104c5610c6a366004614a28565b611ba3565b348015610c7a575f80fd5b506104c5610c89366004614e8b565b611c57565b348015610c99575f80fd5b506104c5610ca8366004614ed3565b611d9f565b348015610cb8575f80fd5b50600e5461056e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ce4575f80fd5b506104c5610cf3366004614f36565b611eb5565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610d8a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60048054610d9d90614f52565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc990614f52565b8015610e145780601f10610deb57610100808354040283529160200191610e14565b820191905f5260205f20905b815481529060010190602001808311610df757829003601f168201915b505050505081565b5f33610e2981858561226e565b5060019392505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607610e5d816123d5565b60138054841580156301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff90921691909117909155610ef05760328262ffffff1610158015610eb8575062030d408262ffffff1611155b610ec0575f80fd5b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff84161790555b505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607610f1f816123d5565b60405147905f90339083908381818185875af1925050503d805f8114610f60576040519150601f19603f3d011682016040523d82523d5f602084013e610f65565b606091505b5050905080610ef0575f80fd5b73ffffffffffffffffffffffffffffffffffffffff83165f9081526002602090815260408083203380855292528220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461106f5783811015611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f494100000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8087165f90815260026020908152604080832093861683529290522084820390555b61107a8686866123df565b50600195945050505050565b60128181548110611095575f80fd5b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b5f828152602081905260409020600101546110d5816123d5565b610ef0838361272b565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611109816123d5565b3073ffffffffffffffffffffffffffffffffffffffff84160361112a575f80fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f9073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b89190614f9d565b90508083106111c5575f80fd5b6111e673ffffffffffffffffffffffffffffffffffffffff85163385612819565b50505050565b5f6111f56128a6565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116331461129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161102f565b6112a982826129dc565b5050565b6112b8336001612a91565b565b335f81815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610e299082908690611300908790614fe1565b61226e565b601b8181548110611314575f80fd5b905f5260205f209060109182820401919006600202915054906101000a900461ffff1681565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611364816123d5565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683158015919091179091556113c5576111e6835f612bc8565b6111e6836113d285612cdf565b612bc8565b6113df612e5b565b6112b85f612edc565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260096020526040812054610d8a565b5f606080828080836114457f4d61676963204d656d65204d6f6e6579000000000000000000000000000000106007612f52565b6114707f31000000000000000000000000000000000000000000000000000000000000016008612f52565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff6076114df816123d5565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526017602052604090205482151560ff909116151503611517575f80fd5b5073ffffffffffffffffffffffffffffffffffffffff919091165f90815260176020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60058054610d9d90614f52565b335f81815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f41425a0000000000000000000000000000000000000000000000000000000000604482015260640161102f565b611624828686840361226e565b506001949350505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611659816123d5565b6101f461ffff88161180159061167557506101f461ffff871611155b80156116865750603261ffff861611155b80156116975750603261ffff851611155b80156116a957506101f461ffff841611155b80156116bb57506101f461ffff831611155b6116c3575f80fd5b86601b5f815481106116d7576116d7615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555085601b6001600581111561171a5761171a614ff4565b8154811061172a5761172a615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555084601b6002600581111561176d5761176d614ff4565b8154811061177d5761177d615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555083601b600360058111156117c0576117c0614ff4565b815481106117d0576117d0615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555082601b6004600581111561181357611813614ff4565b8154811061182357611823615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081601b60058081111561186557611865614ff4565b8154811061187557611875615021565b905f5260205f2090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555050505050505050565b5f33610e298185856123df565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260156020526040812080548083036118ee57505f9392505050565b5f6118f882612ffb565b600184015490915080821161191257505f95945050505050565b61191c818361504e565b9695505050505050565b601e541580156119445750335f9081526017602052604090205460ff165b61194c575f80fd5b43601e55565b600d8181548110611095575f80fd5b834211156119cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161102f565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886119f98c613022565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f611a6082613056565b90505f611a6f8287878761309d565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161102f565b611b118a8a8a61226e565b50505050505050505050565b5f82815260208190526040902060010154611b37816123d5565b610ef083836129dc565b5f5b8151811015611b96575f828281518110611b5f57611b5f615021565b60200260200101519050611b8d815f01518260200151670de0b6b3a7640000611b889190615061565b6130c3565b50600101611b43565b50611ba033613107565b50565b611bab612e5b565b73ffffffffffffffffffffffffffffffffffffffff8116611c4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161102f565b611ba081612edc565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611c81816123d5565b73ffffffffffffffffffffffffffffffffffffffff841615611cde57600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86161790555b73ffffffffffffffffffffffffffffffffffffffff831615611d3b57601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b73ffffffffffffffffffffffffffffffffffffffff8216156111e6576011805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550505050565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611dc9816123d5565b50601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620100009515159590950294909417909355601c80547fffffffffffffff000000000000000000000000ffffffff000000ffffffffffff16660100000000000062ffffff948516027fffffffffffffff000000000000000000000000ffffffffffffffffffffffffff161769ffffffffffffffffffff929092166d010000000000000000000000000002919091177fffffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffff1663010000009290931691909102919091179055565b7f50e75b23f8ec51bbcb044fe377457e835f3b5ccc7ebf69e80906452015dff607611edf816123d5565b61c3508262ffffff1610611ef1575f80fd5b8162ffffff165f0361213357600d545f5b818110156120e4578473ffffffffffffffffffffffffffffffffffffffff16600d8281548110611f3457611f34615021565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff16036120dc57611f6560018361504e565b81101561207357600d611f7960018461504e565b81548110611f8957611f89615021565b5f91825260209091200154600d805473ffffffffffffffffffffffffffffffffffffffff9092169183908110611fc157611fc1615021565b905f5260205f20015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d80548061201757612017615078565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190556120dc565b600d80548061208457612084615078565b5f8281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555b600101611f02565b5050505073ffffffffffffffffffffffffffffffffffffffff165f90815260146020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000169055565b600d545f805b8281101561219e578573ffffffffffffffffffffffffffffffffffffffff16600d828154811061216b5761216b615021565b5f9182526020909120015473ffffffffffffffffffffffffffffffffffffffff160361219657600191505b600101612139565b508061221457600d80546001810182555f919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87161790555b505073ffffffffffffffffffffffffffffffffffffffff83165f908152601460205260409020805462ffffff84167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116179055505050565b73ffffffffffffffffffffffffffffffffffffffff83166122eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8216612368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611ba08133613140565b5f6123e9846131f7565b90505f6123f5846131f7565b9050601e545f036124cd5773ffffffffffffffffffffffffffffffffffffffff85165f9081526017602052604090205460ff1680612457575073ffffffffffffffffffffffffffffffffffffffff84165f9081526017602052604090205460ff165b6124bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4c61756e636865643f0000000000000000000000000000000000000000000000604482015260640161102f565b6124c885858561332b565b612724565b305f90815260016020526040812054906124e68561352e565b6dffffffffffffffffffffffffffff169050601360039054906101000a900460ff1680156125145750808210155b80156125285750601354610100900460ff16155b801561254e5750600c5473ffffffffffffffffffffffffffffffffffffffff8781169116145b156125b157601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556125888161358c565b601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b73ffffffffffffffffffffffffffffffffffffffff87165f9081526017602052604090205460ff1615801561260b575073ffffffffffffffffffffffffffffffffffffffff86165f9081526017602052604090205460ff16155b15612663575f8061261d878787613991565b9092509050811561264257612635896103698461332b565b61263f828861504e565b96505b80156126605761265389308361332b565b61265d818861504e565b96505b50505b61266e87878761332b565b60135462010000900460ff16801561268e5750601354610100900460ff16155b156126ab57601c546126ab906301000000900462ffffff16613b90565b73ffffffffffffffffffffffffffffffffffffffff87165f9081526018602052604090205460ff166126e6576126e4876113d289612cdf565b505b73ffffffffffffffffffffffffffffffffffffffff86165f9081526018602052604090205460ff166127215761271f866113d288612cdf565b505b50505b5050505050565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166112a9575f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556127bb3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ef0908490613d08565b5f3073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000055265c4acd3f5dae9dafd83f1888a0e4e397a9d01614801561290b57507f000000000000000000000000000000000000000000000000000000000000017146145b1561293557507f298827533dd3043b82b01fb67954dd840898e531e8f923b05b14dcd6dac081b690565b6111f5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f55f515e92153218c4c3d5198af20b7de368b751908b246e5e5cdf13be2ff619b918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156112a9575f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b73ffffffffffffffffffffffffffffffffffffffff82165f90815260156020526040812080549091819003612ac65750505050565b5f612ad0856118b8565b90508015612724578315612b62575f8573ffffffffffffffffffffffffffffffffffffffff16826040515f6040518083038185875af1925050503d805f8114612b34576040519150601f19603f3d011682016040523d82523d5f602084013e612b39565b606091505b505090508015612b5c5781846002015f828254612b569190614fe1565b90915550505b50612b79565b80601d5f828254612b739190614fe1565b90915550505b80602054612b879190614fe1565b602090815573ffffffffffffffffffffffffffffffffffffffff86165f908152601990915260409020429055612bbc82612ffb565b60018401555050505050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526015602052604081208054838114612cd7578015612c0c57612c07855f8611612a91565b600192505b835f03612c2157612c1c85613e15565b612ca9565b805f03612ca9576012805473ffffffffffffffffffffffffffffffffffffffff87165f818152601a60205260408120839055600183018455929092527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b8381602154612cb8919061504e565b612cc29190614fe1565b602155838255612cd184612ffb565b60018301555b505092915050565b600d545f908190815b81811015612e1c5761271061ffff1660145f600d8481548110612d0d57612d0d615021565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054600d805462ffffff9092169184908110612d5a57612d5a615021565b5f918252602090912001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8981166004830152909116906370a0823190602401602060405180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df49190614f9d565b612dfe9190615061565b612e0891906150a5565b612e129084614fe1565b9250600101612ce8565b5081612e498573ffffffffffffffffffffffffffffffffffffffff165f9081526001602052604090205490565b612e539190614fe1565b949350505050565b600b5473ffffffffffffffffffffffffffffffffffffffff1633146112b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161102f565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314612f6c57612f6583613f9c565b9050610d8a565b818054612f7890614f52565b80601f0160208091040260200160405190810160405280929190818152602001828054612fa490614f52565b8015612fef5780601f10612fc657610100808354040283529160200191612fef565b820191905f5260205f20905b815481529060010190602001808311612fd257829003601f168201915b50505050509050610d8a565b601f545f906b033b2e3c9fd0803ce8000000906130189084615061565b610d8a91906150a5565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526009602052604090208054600181018255905b50919050565b5f610d8a6130626128a6565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b5f805f6130ac87878787613fd9565b915091506130b9816140c1565b5095945050505050565b6130ce33838361332b565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526018602052604090205460ff166112a957610ef0826113d284612cdf565b73ffffffffffffffffffffffffffffffffffffffff81165f9081526018602052604090205460ff16611ba0576112a9816113d233612cdf565b5f8281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166112a95761317d81614273565b613188836020614292565b6040516020016131999291906150dd565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261102f916004016149cb565b5f8173ffffffffffffffffffffffffffffffffffffffff163b5f0361321d57505f919050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526016602052604090205460ff16613300575f80613254846144d6565b909250905073ffffffffffffffffffffffffffffffffffffffff8216301480613292575073ffffffffffffffffffffffffffffffffffffffff811630145b156132fd5773ffffffffffffffffffffffffffffffffffffffff84165f908152601660209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00918216811790925560189093529220805490911690911790555b50505b5073ffffffffffffffffffffffffffffffffffffffff165f9081526016602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff83166133a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f465a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8216613425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f545a410000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff83165f90815260016020526040902054818110156134b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4145420000000000000000000000000000000000000000000000000000000000604482015260640161102f565b73ffffffffffffffffffffffffffffffffffffffff8085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906135209086815260200190565b60405180910390a350505050565b601c54600c5473ffffffffffffffffffffffffffffffffffffffff165f90815260016020526040812054909162ffffff169061356a91906150a5565b905081816dffffffffffffffffffffffffffff1611156135875750805b919050565b805f036135965750565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135c9576135c9615021565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600e54604080517fef8ef56f0000000000000000000000000000000000000000000000000000000081529051919093169263ef8ef56f9260048083019391928290030181865afa158015613646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061366a919061515d565b8160018151811061367d5761367d615021565b73ffffffffffffffffffffffffffffffffffffffff9283166020918202929092010152600e5447916136b2913091168561226e565b600e546040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063791ac947906137109086905f90879030904290600401615178565b5f604051808303815f87803b158015613727575f80fd5b505af1925050508015613738575060015b505f47828111156137505761374d838261504e565b91505b8115612724575f6064601b60028154811061376d5761376d615021565b5f918252602090912060108204015461379691600f166002026101000a900461ffff1685615061565b6137a091906150a5565b600f546040519192505f9173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d805f81146137fc576040519150601f19603f3d011682016040523d82523d5f602084013e613801565b606091505b505060105460405191925073ffffffffffffffffffffffffffffffffffffffff169083905f81818185875af1925050503d805f811461385b576040519150601f19603f3d011682016040523d82523d5f602084013e613860565b606091505b509091506138719050826002615061565b61387b908561504e565b93505f6064601b60038154811061389457613894615021565b5f91825260209091206010820401546138bd91600f166002026101000a900461ffff1687615061565b6138c791906150a5565b601154601d5491925073ffffffffffffffffffffffffffffffffffffffff16906138f19083614fe1565b6040515f81818185875af1925050503d805f811461392a576040519150601f19603f3d011682016040523d82523d5f602084013e61392f565b606091505b50505f601d559150613941818661504e565b9450846022546139519190614fe1565b60225560215461396d866b033b2e3c9fd0803ce8000000615061565b61397791906150a5565b601f546139849190614fe1565b601f555050505050505050565b6013545f90819060ff1680156139a45750825b80156139ad5750835b15613a47575f6004601e54436139c3919061504e565b6139cd91906150a5565b90506127106139de876101f4615061565b6139e891906150a5565b92506127106139f982610a6461504e565b613a039088615061565b613a0d91906150a5565b91506108708110613a4157601380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b50613b88565b8215613aea57612710601b600481548110613a6457613a64615021565b5f9182526020909120601082040154613a8d91600f166002026101000a900461ffff1687615061565b613a9791906150a5565b9150612710601b600581548110613ab057613ab0615021565b5f9182526020909120601082040154613ad991600f166002026101000a900461ffff1687615061565b613ae391906150a5565b9050613b88565b8315613b8857612710601b5f81548110613b0657613b06615021565b5f9182526020909120601082040154613b2f91600f166002026101000a900461ffff1687615061565b613b3991906150a5565b9150612710601b600181548110613b5257613b52615021565b5f9182526020909120601082040154613b7b91600f166002026101000a900461ffff1687615061565b613b8591906150a5565b90505b935093915050565b6012545f819003613b9f575050565b5f805a90505f5b8483108015613bb457508381105b1561272457601c546901000000000000000000900463ffffffff168411613bfe57601c80547fffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffff1690555b601c54601280545f926901000000000000000000900463ffffffff16908110613c2957613c29615021565b5f91825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16808352601890915260409091205490915060ff16613c98575f613c72826113d284612cdf565b905080158015613c865750613c8682614552565b15613c9657613c96826001612a91565b505b601c80546901000000000000000000900463ffffffff16906009613cbb83615203565b91906101000a81548163ffffffff021916908363ffffffff160217905550508180613ce590615225565b9250505a613cf3908461504e565b613cfd9085614fe1565b93505a925050613ba6565b5f613d69826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166145d19092919063ffffffff16565b905080515f1480613d89575080806020019051810190613d89919061525c565b610ef0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161102f565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601a6020526040902054601254613e4860018261504e565b821015613f07575f6012613e5d60018461504e565b81548110613e6d57613e6d615021565b5f918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff9092169250829185908110613ea857613ea8615021565b5f91825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152601a909152604090208290555b6012805480613f1857613f18615078565b5f828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff949094168152601a90935250506040812055565b60605f613fa8836145df565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561400e57505f905060036140b8565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561405f573d5f803e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166140b2575f600192509250506140b8565b91505f90505b94509492505050565b5f8160048111156140d4576140d4614ff4565b036140dc5750565b60018160048111156140f0576140f0614ff4565b03614157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161102f565b600281600481111561416b5761416b614ff4565b036141d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161102f565b60038160048111156141e6576141e6614ff4565b03611ba0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161102f565b6060610d8a73ffffffffffffffffffffffffffffffffffffffff831660145b60605f6142a0836002615061565b6142ab906002614fe1565b67ffffffffffffffff8111156142c3576142c3614d22565b6040519080825280601f01601f1916602001820160405280156142ed576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f8151811061432357614323615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061438557614385615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f6143bf846002615061565b6143ca906001614fe1565b90505b6001811115614466577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061440b5761440b615021565b1a60f81b82828151811061442157614421615021565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060049490941c9361445f81615277565b90506143cd565b5083156144cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161102f565b9392505050565b5f80614502837f0dfe16810000000000000000000000000000000000000000000000000000000061461f565b915073ffffffffffffffffffffffffffffffffffffffff82161561454d5761454a837fd21220a70000000000000000000000000000000000000000000000000000000061461f565b90505b915091565b601c5473ffffffffffffffffffffffffffffffffffffffff82165f9081526019602052604081205490914291614597916601000000000000900462ffffff1690614fe1565b108015610d8a5750601c546d010000000000000000000000000090046bffffffffffffffffffffffff166145ca836118b8565b1192915050565b6060612e5384845f8561472e565b5f60ff8216601f811115610d8a576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000851617905290515f918291829173ffffffffffffffffffffffffffffffffffffffff8716916146a191906152ab565b5f60405180830381855afa9150503d805f81146146d9576040519150601f19603f3d011682016040523d82523d5f602084013e6146de565b606091505b50915091508115806146ef57508051155b156146fe575f92505050610d8a565b8051602003614724578080602001905181019061471b919061515d565b92505050610d8a565b505f949350505050565b6060824710156147c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161102f565b5f808673ffffffffffffffffffffffffffffffffffffffff1685876040516147e891906152ab565b5f6040518083038185875af1925050503d805f8114614822576040519150601f19603f3d011682016040523d82523d5f602084013e614827565b606091505b509150915061483887838387614843565b979650505050505050565b606083156148d85782515f036148d15773ffffffffffffffffffffffffffffffffffffffff85163b6148d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161102f565b5081612e53565b612e5383838151156148ed5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f91906149cb565b5f60208284031215614931575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146144cf575f80fd5b5f5b8381101561497a578181015183820152602001614962565b50505f910152565b5f8151808452614999816020860160208601614960565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f6144cf6020830184614982565b73ffffffffffffffffffffffffffffffffffffffff81168114611ba0575f80fd5b5f8060408385031215614a0f575f80fd5b8235614a1a816149dd565b946020939093013593505050565b5f60208284031215614a38575f80fd5b81356144cf816149dd565b8015158114611ba0575f80fd5b803562ffffff81168114613587575f80fd5b5f8060408385031215614a73575f80fd5b8235614a7e81614a43565b9150614a8c60208401614a50565b90509250929050565b5f805f60608486031215614aa7575f80fd5b8335614ab2816149dd565b92506020840135614ac2816149dd565b929592945050506040919091013590565b5f60208284031215614ae3575f80fd5b5035919050565b5f8060408385031215614afb575f80fd5b823591506020830135614b0d816149dd565b809150509250929050565b5f8060408385031215614b29575f80fd5b8235614b34816149dd565b91506020830135614b0d81614a43565b7fff00000000000000000000000000000000000000000000000000000000000000881681525f602060e06020840152614b8060e084018a614982565b8381036040850152614b92818a614982565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b81811015614bf257835183529284019291840191600101614bd6565b50909c9b505050505050505050505050565b803561ffff81168114613587575f80fd5b5f805f805f8060c08789031215614c2a575f80fd5b614c3387614c04565b9550614c4160208801614c04565b9450614c4f60408801614c04565b9350614c5d60608801614c04565b9250614c6b60808801614c04565b9150614c7960a08801614c04565b90509295509295509295565b5f805f805f805f60e0888a031215614c9b575f80fd5b8735614ca6816149dd565b96506020880135614cb6816149dd565b95506040880135945060608801359350608088013560ff81168114614cd9575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215614d07575f80fd5b8235614d12816149dd565b91506020830135614b0d816149dd565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040805190810167ffffffffffffffff81118282101715614d7257614d72614d22565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614dbf57614dbf614d22565b604052919050565b5f6020808385031215614dd8575f80fd5b823567ffffffffffffffff80821115614def575f80fd5b818501915085601f830112614e02575f80fd5b813581811115614e1457614e14614d22565b614e22848260051b01614d78565b818152848101925060069190911b830184019087821115614e41575f80fd5b928401925b818410156148385760408489031215614e5d575f80fd5b614e65614d4f565b8435614e70816149dd565b81528486013586820152835260409093019291840191614e46565b5f805f60608486031215614e9d575f80fd5b8335614ea8816149dd565b92506020840135614eb8816149dd565b91506040840135614ec8816149dd565b809150509250925092565b5f805f8060808587031215614ee6575f80fd5b8435614ef181614a43565b9350614eff60208601614a50565b9250604085013569ffffffffffffffffffff81168114614f1d575f80fd5b9150614f2b60608601614a50565b905092959194509250565b5f8060408385031215614f47575f80fd5b8235614a7e816149dd565b600181811c90821680614f6657607f821691505b602082108103613050577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60208284031215614fad575f80fd5b5051919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b80820180821115610d8a57610d8a614fb4565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b81810381811115610d8a57610d8a614fb4565b8082028115828204841417610d8a57610d8a614fb4565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f826150d8577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351615114816017850160208801614960565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351615151816028840160208801614960565b01602801949350505050565b5f6020828403121561516d575f80fd5b81516144cf816149dd565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156151d557845173ffffffffffffffffffffffffffffffffffffffff16835293830193918301916001016151a3565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b5f63ffffffff80831681810361521b5761521b614fb4565b6001019392505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361525557615255614fb4565b5060010190565b5f6020828403121561526c575f80fd5b81516144cf81614a43565b5f8161528557615285614fb4565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b5f82516152bc818460208701614960565b919091019291505056fea2646970667358221220b7588d1dd6f31660bd84cc0fdd173b2fa9419fa68bd807f639cf10939a5b34b664736f6c63430008180033