false
true
0

Contract Address Details

0x58831E7b0cC885740443f0499F5C32580870ec18

Contract Name
Manager
Creator
0xe90c5c–ef45fa at 0x8128f1–5152c1
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
25873093
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
Manager




Optimization enabled
true
Compiler version
v0.8.17+commit.8df45f5f




Optimization runs
200
EVM Version
default




Verified at
2023-08-14T14:04:05.038874Z

contracts/Manager.sol

/* SPDX-License-Identifier: UNLICENSED */

pragma solidity ^0.8.7;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";

interface NFT {
    function addAirdrop(address to, uint256 quantity) external;

    function totalSupply() external view returns (uint256);

    function mint(
        address to,
        string memory nodeName,
        uint256 tier,
        uint256 value
    ) external;

    function ownerOf(uint256 tokenId) external view returns (address);

    function subValue(uint256 id, uint256 rewards) external;

    function updateValue(uint256 id, uint256 rewards) external;

    function updateRealValue(uint256 id, uint256 rewards) external;

    function balanceOf(address owner) external view returns (uint256);

    function tokenOfOwnerByIndex(
        address owner,
        uint256 index
    ) external view returns (uint256);

    function updateClaimTimestamp(uint256 id) external;

    function updateName(uint256 id, string memory nodeName) external;

    function updateTotalClaimed(uint256 id, uint256 rewards) external;

    function players(
        address user
    ) external view returns (uint256, uint256, uint256);

    function _nodes(
        uint256 id
    )
        external
        view
        returns (
            uint256,
            string memory,
            uint8,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        );
}

abstract contract ManageableUpgradeable is OwnableUpgradeable {
    mapping(address => bool) private _managers;
    event ManagerAdded(address indexed manager_);
    event ManagerRemoved(address indexed manager_);

    function managers(address manager_) public view virtual returns (bool) {
        return _managers[manager_];
    }

    modifier onlyManager() {
        require(_managers[_msgSender()], "Manageable: caller is not the owner");
        _;
    }

    function removeManager(address manager_) public virtual onlyOwner {
        _managers[manager_] = false;
        emit ManagerRemoved(manager_);
    }

    function addManager(address manager_) public virtual onlyOwner {
        require(
            manager_ != address(0),
            "Manageable: new owner is the zero address"
        );
        _managers[manager_] = true;
        emit ManagerAdded(manager_);
    }
}

interface ITeams {
    function getReferrer(address) external view returns (address);

    function addRewards(address user, uint256 amount) external;
}

contract Manager is Initializable, OwnableUpgradeable, ManageableUpgradeable {
    NFT public NFT_CONTRACT;
    IERC20 public TOKEN_CONTRACT;
    ITeams public TEAMS_CONTRACT;
    address public POOL;

    uint256 public startingPrice;

    struct Fees {
        uint8 create;
        uint8 compound;
        uint8 claim;
    }

    Fees public fees;

    struct FeesDistribution {
        uint8 rewards;
        uint8 upline;
    }

    FeesDistribution public createFeesDistribution;

    FeesDistribution public claimFeesDistribution;

    FeesDistribution public compoundFeesDistribution;

    uint256 public maxDeposit;
    uint256 public maxPayout;

    mapping(address => bool) public isBlacklisted;

    uint256 public maxROI;

    uint256 public cutOffTime;

    IERC20 public X_TOKEN_CONTRACT;

    function initialize(
        address TOKEN_CONTRACT_,
        address POOL_,
        address X_TOKEN_CONTRACT_
    ) public initializer {
        __Ownable_init();
        TOKEN_CONTRACT = IERC20(TOKEN_CONTRACT_);
        POOL = POOL_;
        X_TOKEN_CONTRACT = IERC20(X_TOKEN_CONTRACT_);

        startingPrice = 10e18;

        fees = Fees({create: 10, compound: 5, claim: 10});

        createFeesDistribution = FeesDistribution({rewards: 20, upline: 80});

        claimFeesDistribution = FeesDistribution({rewards: 100, upline: 0});

        compoundFeesDistribution = FeesDistribution({rewards: 20, upline: 80});

        maxDeposit = 10000e18;
        maxPayout = 365000e18;
        maxROI = 36500;
        cutOffTime = 604800;
    }

    function updateTokenContract(address value) public onlyOwner {
        TOKEN_CONTRACT = IERC20(value);
    }

    function updateXTokenContract(address value) public onlyOwner {
        X_TOKEN_CONTRACT = IERC20(value);
    }

    function updateNftContract(address value) public onlyOwner {
        addManager(value);
        NFT_CONTRACT = NFT(value);
    }

    function updateTeamsContract(address value) public onlyOwner {
        addManager(value);
        TEAMS_CONTRACT = ITeams(value);
    }

    function updatePool(address value) public onlyOwner {
        POOL = value;
    }

    function updateMaxDeposit(uint256 value) public onlyOwner {
        maxDeposit = value;
    }

    function updateMaxPayout(uint256 value) public onlyOwner {
        maxPayout = value;
    }

    function updateMaxROI(uint256 value) public onlyOwner {
        maxROI = value;
    }

    function currentPrice() public view returns (uint256) {
        return startingPrice;
    }

    function mintNode(string memory nodeName, uint256 amount) public {
        require(amount >= currentPrice(), "MINT: Amount too low");
        require(amount <= maxDeposit, "MINT: Amount too high");

        TOKEN_CONTRACT.transferFrom(_msgSender(), POOL, amount);
        uint256 fees_ = (amount * fees.create) / 100;
        amount -= fees_;
        address ref = TEAMS_CONTRACT.getReferrer(_msgSender());
        TEAMS_CONTRACT.addRewards(
            ref,
            (fees_ * createFeesDistribution.upline) / 100
        );
        NFT_CONTRACT.mint(_msgSender(), nodeName, 0, amount);
    }

    function mintNodeX(string memory nodeName, uint256 amount) public {
        require(amount >= currentPrice(), "MINT: Amount too low");
        require(amount <= maxDeposit, "MINT: Amount too high");

        X_TOKEN_CONTRACT.transferFrom(_msgSender(), POOL, amount);
        uint256 fees_ = (amount * fees.create) / 100;
        amount -= fees_;
        address ref = TEAMS_CONTRACT.getReferrer(_msgSender());
        TEAMS_CONTRACT.addRewards(
            ref,
            (fees_ * createFeesDistribution.upline) / 100
        );
        NFT_CONTRACT.mint(_msgSender(), nodeName, 0, amount);
    }

    function depositMore(uint256 id, uint256 amount) public {
        require(
            NFT_CONTRACT.ownerOf(id) == _msgSender(),
            "CLAIMALL: Not your NFT"
        );
        compound(id);
        (, , , , uint256 value, , , ) = NFT_CONTRACT._nodes(id);
        require(value + amount <= maxDeposit, "DEPOSITMORE: Amount too high");

        TOKEN_CONTRACT.transferFrom(_msgSender(), POOL, amount);

        uint256 fees_ = (amount * fees.create) / 100;
        amount -= fees_;

        if (createFeesDistribution.upline > 0) {
            address ref = TEAMS_CONTRACT.getReferrer(_msgSender());
            TEAMS_CONTRACT.addRewards(
                ref,
                (fees_ * createFeesDistribution.upline) / 100
            );
        }

        NFT_CONTRACT.updateRealValue(id, amount);
        NFT_CONTRACT.updateValue(id, amount);
    }

    function availableRewards(uint256 id) public view returns (uint256) {
        (
            ,
            ,
            uint8 tier,
            ,
            uint256 value,
            uint256 totalClaimed,
            ,
            uint256 claimTimestamp
        ) = NFT_CONTRACT._nodes(id);
        uint256 secondsElapsed = block.timestamp - claimTimestamp > cutOffTime
            ? cutOffTime
            : block.timestamp - claimTimestamp;
        uint256 rewards = (value * secondsElapsed * 100) / 86400 / 10000;
        if (totalClaimed + rewards > maxPayout) {
            rewards = maxPayout < totalClaimed ? 0 : maxPayout - totalClaimed;
        }
        if (totalClaimed + rewards > (value * maxROI) / 100) {
            rewards = (value * maxROI) / 100 < totalClaimed
                ? 0
                : (value * maxROI) / 100 - totalClaimed;
        }
        return rewards;
    }

    function availableRewardsOfUser(
        address user
    ) public view returns (uint256) {
        uint256 balance = NFT_CONTRACT.balanceOf(user);
        if (balance == 0) return 0;
        uint256 sum = 0;
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = NFT_CONTRACT.tokenOfOwnerByIndex(user, i);
            sum += availableRewards(id);
        }
        return sum;
    }

    function _claimRewards(
        uint256 id,
        address recipient,
        bool skipFees
    ) private {
        if (!managers(_msgSender())) {
            require(
                NFT_CONTRACT.ownerOf(id) == _msgSender(),
                "CLAIMALL: Not your NFT"
            );
        }
        uint256 rewards_ = availableRewards(id);
        require(rewards_ > 0, "CLAIM: No rewards available yet");
        NFT_CONTRACT.updateClaimTimestamp(id);
        uint256 fees_ = 0;
        if (!skipFees) {
            fees_ = (rewards_ * fees.claim) / 100;

            if (claimFeesDistribution.upline > 0) {
                address ref = TEAMS_CONTRACT.getReferrer(_msgSender());
                TEAMS_CONTRACT.addRewards(
                    ref,
                    (fees_ * claimFeesDistribution.upline) / 100
                );
            }
        }
        NFT_CONTRACT.subValue(id, rewards_);
        NFT_CONTRACT.updateTotalClaimed(id, rewards_);
        TOKEN_CONTRACT.transferFrom(POOL, recipient, rewards_ - fees_);
    }

    function claimRewards(uint256 id) public {
        require(
            NFT_CONTRACT.balanceOf(_msgSender()) > 0,
            "CLAIMALL: You don't own a NFT"
        );
        _claimRewards(id, _msgSender(), false);
    }

    function claimRewards() public {
        uint256 balance = NFT_CONTRACT.balanceOf(_msgSender());
        require(balance > 0, "CLAIMALL: You don't own a NFT");
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = NFT_CONTRACT.tokenOfOwnerByIndex(_msgSender(), i);
            _claimRewards(id, _msgSender(), false);
        }
    }

    function claimRewardsHelper(
        uint256 id,
        address recipient,
        bool skipFees
    ) public onlyManager {
        _claimRewards(id, recipient, skipFees);
    }

    function claimRewardsHelper(
        address user,
        address recipient,
        bool skipFees
    ) public onlyManager {
        uint256 balance = NFT_CONTRACT.balanceOf(user);
        require(balance > 0, "CLAIMALL: You don't own a NFT");
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = NFT_CONTRACT.tokenOfOwnerByIndex(user, i);
            _claimRewards(id, recipient, skipFees);
        }
    }

    function compoundHelper(
        uint256 id,
        uint256 externalRewards,
        address user
    ) public onlyManager {
        require(NFT_CONTRACT.ownerOf(id) == user, "CH: Not your NFT");
        uint256 rewards_ = availableRewards(id);
        require(rewards_ > 0, "CH: No rewards available yet");
        _compound(id, rewards_, user);
        (, , , , uint256 value, , , ) = NFT_CONTRACT._nodes(id);
        require(value + externalRewards <= maxDeposit, "CH: Amount too high");
        NFT_CONTRACT.updateValue(id, externalRewards);
    }

    function _compound(uint256 id, uint256 rewards_, address user) internal {
        require(NFT_CONTRACT.ownerOf(id) == user, "COMPOUND: Not your NFT");
        (, , , , uint256 value, , , ) = NFT_CONTRACT._nodes(id);
        address ref = TEAMS_CONTRACT.getReferrer(user);
        uint256 fees_ = (rewards_ * fees.compound) / 100;
        rewards_ -= fees_;
        if (compoundFeesDistribution.upline > 0) {
            TEAMS_CONTRACT.addRewards(
                ref,
                (fees_ * compoundFeesDistribution.upline) / 100
            );
        }
        require(value + rewards_ <= maxDeposit, "COMPOUND: Amount too high");
        NFT_CONTRACT.updateClaimTimestamp(id);
        NFT_CONTRACT.updateTotalClaimed(id, rewards_);
        TEAMS_CONTRACT.addRewards(
            ref,
            (fees_ * createFeesDistribution.upline) / 100
        );
        NFT_CONTRACT.updateValue(id, rewards_);
    }

    function compound(uint256 id) public {
        require(
            NFT_CONTRACT.balanceOf(_msgSender()) > 0,
            "COMPOUND: You don't own a NFT"
        );
        uint256 rewards_ = availableRewards(id);
        require(rewards_ > 0, "COMPOUND: No rewards available yet");
        _compound(id, rewards_, _msgSender());
    }

    function compoundAll() public {
        uint256 balance = NFT_CONTRACT.balanceOf(_msgSender());
        require(balance > 0, "COMPOUNDALL: You don't own a NFT");
        for (uint256 i = 0; i < balance; i++) {
            uint256 id = NFT_CONTRACT.tokenOfOwnerByIndex(_msgSender(), i);
            uint256 rewards_ = availableRewards(id);
            if (rewards_ > 0) {
                _compound(id, rewards_, _msgSender());
            }
        }
    }

    // function compoundAllToSpecific(uint256 toId) public {
    //     uint256 balance = NFT_CONTRACT.balanceOf(_msgSender());
    //     require(balance > 0, "CTS: You don't own a NFT");
    //     require(
    //         NFT_CONTRACT.ownerOf(toId) == _msgSender(),
    //         "CTS: Not your NFT"
    //     );
    //     uint256 sum = 0;
    //     for (uint256 i = 0; i < balance; i++) {
    //         uint256 id = NFT_CONTRACT.tokenOfOwnerByIndex(_msgSender(), i);
    //         uint256 rewards_ = availableRewards(id);
    //         if (rewards_ > 0) {
    //             NFT_CONTRACT.updateClaimTimestamp(id);
    //         }
    //     }
    //     uint256 fees_ = (sum * fees.compound) / 100;
    //     NFT_CONTRACT.updateValue(toId, sum - fees_);
    // }

    function updateName(uint256 id, string memory name) public {
        require(
            NFT_CONTRACT.ownerOf(id) == _msgSender(),
            "CLAIMALL: Not your NFT"
        );
        NFT_CONTRACT.updateName(id, name);
    }

    function aidrop(uint256 quantity, address[] memory receivers) public {
        TOKEN_CONTRACT.transferFrom(_msgSender(), POOL, quantity);
        NFT_CONTRACT.addAirdrop(_msgSender(), quantity);

        uint256 fees_ = (quantity * fees.create) / 100;
        quantity -= fees_;

        for (uint256 i = 0; i < receivers.length; i++) {
            TEAMS_CONTRACT.addRewards(
                receivers[i],
                quantity / receivers.length
            );
        }
    }

    function getNetDeposit(address user) public view returns (int256) {
        (
            uint256 totalDeposit,
            uint256 totalAirdrop,
            uint256 totalClaimed
        ) = NFT_CONTRACT.players(user);
        return
            int256(totalDeposit) + int256(totalAirdrop) - int256(totalClaimed);
    }

    /***********************************|
  |         Owner Functions           |
  |__________________________________*/

    function setStartingPrice(uint256 value) public onlyOwner {
        startingPrice = value;
    }

    function setIsBlacklisted(address user, bool value) public onlyOwner {
        isBlacklisted[user] = value;
    }

    function setFees(
        uint8 create_,
        uint8 compound_,
        uint8 claim_
    ) public onlyOwner {
        fees = Fees({create: create_, compound: compound_, claim: claim_});
    }

    function setCreateFeesDistribution(
        uint8 rewards_,
        uint8 upline_
    ) public onlyOwner {
        createFeesDistribution = FeesDistribution({
            rewards: rewards_,
            upline: upline_
        });
    }

    function setClaimFeesDistribution(
        uint8 rewards_,
        uint8 upline_
    ) public onlyOwner {
        claimFeesDistribution = FeesDistribution({
            rewards: rewards_,
            upline: upline_
        });
    }

    function setCompoundFeesDistribution(
        uint8 rewards_,
        uint8 upline_
    ) public onlyOwner {
        compoundFeesDistribution = FeesDistribution({
            rewards: rewards_,
            upline: upline_
        });
    }

    function setCutOffTime(uint256 value) public onlyOwner {
        cutOffTime = value;
    }

    function withdrawNative() public onlyOwner {
        (bool sent, ) = payable(owner()).call{
            value: (payable(address(this))).balance
        }("");
        require(sent, "Failed to send Ether to growth");
    }

    function withdrawNativeTwo() public onlyOwner {
        payable(owner()).transfer((payable(address(this))).balance);
    }

    uint256[49] private __gap;
}
        

@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

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

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}
          

@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}
          

@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     * ====
     *
     * [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://diligence.consensys.net/posts/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.5.11/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 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);
        }
    }
}
          

@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

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

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}
          

@openzeppelin/contracts/interfaces/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";
          

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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);
}
          

Compiler Settings

{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
              

Contract ABI

[{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract NFT"}],"name":"NFT_CONTRACT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"POOL","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ITeams"}],"name":"TEAMS_CONTRACT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"TOKEN_CONTRACT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"X_TOKEN_CONTRACT","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addManager","inputs":[{"type":"address","name":"manager_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"aidrop","inputs":[{"type":"uint256","name":"quantity","internalType":"uint256"},{"type":"address[]","name":"receivers","internalType":"address[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"availableRewards","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"availableRewardsOfUser","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"rewards","internalType":"uint8"},{"type":"uint8","name":"upline","internalType":"uint8"}],"name":"claimFeesDistribution","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewards","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewards","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewardsHelper","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"address","name":"recipient","internalType":"address"},{"type":"bool","name":"skipFees","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewardsHelper","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"bool","name":"skipFees","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"compound","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"compoundAll","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"rewards","internalType":"uint8"},{"type":"uint8","name":"upline","internalType":"uint8"}],"name":"compoundFeesDistribution","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"compoundHelper","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"externalRewards","internalType":"uint256"},{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"rewards","internalType":"uint8"},{"type":"uint8","name":"upline","internalType":"uint8"}],"name":"createFeesDistribution","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"currentPrice","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"cutOffTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"depositMore","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"create","internalType":"uint8"},{"type":"uint8","name":"compound","internalType":"uint8"},{"type":"uint8","name":"claim","internalType":"uint8"}],"name":"fees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"int256","name":"","internalType":"int256"}],"name":"getNetDeposit","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"TOKEN_CONTRACT_","internalType":"address"},{"type":"address","name":"POOL_","internalType":"address"},{"type":"address","name":"X_TOKEN_CONTRACT_","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isBlacklisted","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"managers","inputs":[{"type":"address","name":"manager_","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxDeposit","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxPayout","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxROI","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintNode","inputs":[{"type":"string","name":"nodeName","internalType":"string"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintNodeX","inputs":[{"type":"string","name":"nodeName","internalType":"string"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeManager","inputs":[{"type":"address","name":"manager_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setClaimFeesDistribution","inputs":[{"type":"uint8","name":"rewards_","internalType":"uint8"},{"type":"uint8","name":"upline_","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCompoundFeesDistribution","inputs":[{"type":"uint8","name":"rewards_","internalType":"uint8"},{"type":"uint8","name":"upline_","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCreateFeesDistribution","inputs":[{"type":"uint8","name":"rewards_","internalType":"uint8"},{"type":"uint8","name":"upline_","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCutOffTime","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFees","inputs":[{"type":"uint8","name":"create_","internalType":"uint8"},{"type":"uint8","name":"compound_","internalType":"uint8"},{"type":"uint8","name":"claim_","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setIsBlacklisted","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStartingPrice","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"startingPrice","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMaxDeposit","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMaxPayout","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateMaxROI","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateName","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"string","name":"name","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateNftContract","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updatePool","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateTeamsContract","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateTokenContract","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateXTokenContract","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawNative","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawNativeTwo","inputs":[]},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","indexed":false}],"anonymous":false},{"type":"event","name":"ManagerAdded","inputs":[{"type":"address","name":"manager_","indexed":true}],"anonymous":false},{"type":"event","name":"ManagerRemoved","inputs":[{"type":"address","name":"manager_","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","indexed":true},{"type":"address","name":"newOwner","indexed":true}],"anonymous":false}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b5061375c806100206000396000f3fe608060405234801561001057600080fd5b506004361061035d5760003560e01c8063834ce6fe116101d3578063b5b0e63a11610104578063ede701c7116100a2578063f6794fdb1161007c578063f6794fdb14610736578063f81fa2e714610749578063fdff9b4d1461075c578063fe575a871461079857600080fd5b8063ede701c714610708578063eebf5b0c1461071b578063f2fde38b1461072357600080fd5b8063c0c53b8b116100de578063c0c53b8b146106d0578063ca1162ef146106e3578063d6fbf202146106f6578063e0176de8146106ff57600080fd5b8063b5b0e63a14610697578063b95241fa146106aa578063bc3a1d41146106bd57600080fd5b80639b05ddb311610171578063a0e384921161014b578063a0e384921461064b578063aa5f7e261461065e578063abf4fcd314610671578063ac18de431461068457600080fd5b80639b05ddb3146106285780639d1b464a146106305780639f0a5c1b1461063857600080fd5b80638da5cb5b116101ad5780638da5cb5b146105ad57806392e67c06146105be578063989ced26146105d15780639af1d35a146105e457600080fd5b8063834ce6fe146105715780638694f1d21461058457806387c487871461059a57600080fd5b80634eab48dd116102ad57806361c02efb1161024b5780637535d246116102255780637535d2461461052557806378c186cc146105385780637b46c54f1461054b5780637b8011fb1461055e57600080fd5b806361c02efb146104f7578063715018a61461050a57806371e579d31461051257600080fd5b806352b984601161028757806352b98460146104bf57806353e76f2c146104c85780635ddc4b21146104db5780636083e59a146104ee57600080fd5b80634eab48dd1461049b5780634f4e9ae6146104a457806350431ce4146104b757600080fd5b806322735dd51161031a57806336339388116102f4578063363393881461045a578063372500ab1461046d5780633c6ea397146104755780634ad17db21461048857600080fd5b806322735dd5146104215780632d06177a146104345780632ec3495a1461044757600080fd5b80630962ef79146103625780630f73b4f414610377578063125182b01461038a57806312fe405e146103bf5780631b905aea146103d55780631fda9a02146103f6575b600080fd5b610375610370366004612ed8565b6107bb565b005b610375610385366004612ed8565b61086e565b606e546103a09060ff8082169161010090041682565b6040805160ff9384168152929091166020830152015b60405180910390f35b606d546103a09060ff8082169161010090041682565b6103e86103e3366004612f06565b61087b565b6040519081526020016103b6565b606654610409906001600160a01b031681565b6040516001600160a01b0390911681526020016103b6565b61037561042f366004612ed8565b610915565b610375610442366004612f06565b610922565b610375610455366004612fef565b6109de565b606754610409906001600160a01b031681565b610375610c9c565b610375610483366004613043565b610ddd565b606854610409906001600160a01b031681565b6103e860735481565b6103756104b236600461307c565b610e1d565b610375610fe5565b6103e860725481565b6103756104d636600461313a565b6110ab565b6103756104e9366004613043565b6111ab565b6103e8606f5481565b6103e8610505366004612ed8565b6111eb565b61037561138b565b607454610409906001600160a01b031681565b606954610409906001600160a01b031681565b610375610546366004612ed8565b61139f565b610375610559366004612f06565b6113ac565b61037561056c366004613043565b6113d6565b61037561057f366004612f06565b611416565b606c546103a09060ff8082169161010090041682565b6103756105a8366004613181565b611449565b6033546001600160a01b0316610409565b6103756105cc366004612f06565b6116d2565b6103756105df366004612f06565b611705565b606b546106049060ff808216916101008104821691620100009091041683565b6040805160ff948516815292841660208401529216918101919091526060016103b6565b61037561172f565b606a546103e8565b610375610646366004612ed8565b6118b2565b6103756106593660046131c8565b6118bf565b61037561066c366004612ed8565b6118f2565b61037561067f3660046131f6565b611a2f565b610375610692366004612f06565b611a6e565b6103756106a536600461322d565b611abf565b6103756106b8366004612ed8565b611c25565b6103756106cb366004612fef565b611c32565b6103756106de36600461325d565b611cdc565b6103e86106f1366004612f06565b611ef5565b6103e8606a5481565b6103e860705481565b610375610716366004612f06565b61202d565b610375612057565b610375610731366004612f06565b6120a3565b61037561074436600461329d565b612119565b6103756107573660046132dd565b61216e565b61078861076a366004612f06565b6001600160a01b031660009081526065602052604090205460ff1690565b60405190151581526020016103b6565b6107886107a6366004612f06565b60716020526000908152604090205460ff1681565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083891906132ff565b1161085e5760405162461bcd60e51b815260040161085590613318565b60405180910390fd5b61086b81335b6000612550565b50565b610876612944565b606a55565b60665460405163e2eb41ff60e01b81526001600160a01b038381166004830152600092839283928392169063e2eb41ff90602401606060405180830381865afa1580156108cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f0919061334f565b91945092509050806109028385613393565b61090c91906133bb565b95945050505050565b61091d612944565b607055565b61092a612944565b6001600160a01b0381166109925760405162461bcd60e51b815260206004820152602960248201527f4d616e61676561626c653a206e6577206f776e657220697320746865207a65726044820152686f206164647265737360b81b6064820152608401610855565b6001600160a01b038116600081815260656020526040808220805460ff19166001179055517f3b4a40cccf2058c593542587329dd385be4f0b588db5471fbd9598e56dd7093a9190a250565b606a54811015610a275760405162461bcd60e51b81526020600482015260146024820152734d494e543a20416d6f756e7420746f6f206c6f7760601b6044820152606401610855565b606f54811115610a715760405162461bcd60e51b815260206004820152601560248201527409a929ca8744082dadeeadce840e8dede40d0d2ced605b1b6044820152606401610855565b6074546001600160a01b03166323b872dd335b6069546040516001600160e01b031960e085901b168152610ab492916001600160a01b03169086906004016133e2565b6020604051808303816000875af1158015610ad3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af79190613406565b50606b54600090606490610b0e9060ff1684613423565b610b189190613440565b9050610b248183613462565b6068549092506000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba49190613475565b606854606c549192506001600160a01b03169063a9fc507b908390606490610bd490610100900460ff1687613423565b610bde9190613440565b6040518363ffffffff1660e01b8152600401610bfb929190613492565b600060405180830381600087803b158015610c1557600080fd5b505af1158015610c29573d6000803e3d6000fd5b505060665460405163252ee1d560e11b81526001600160a01b039091169250634a5dc3aa9150610c64903390889060009089906004016134fb565b600060405180830381600087803b158015610c7e57600080fd5b505af1158015610c92573d6000803e3d6000fd5b5050505050505050565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1991906132ff565b905060008111610d3b5760405162461bcd60e51b815260040161085590613318565b60005b81811015610dd957606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990610d799033908690600401613492565b602060405180830381865afa158015610d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dba91906132ff565b9050610dc68133610864565b5080610dd181613532565b915050610d3e565b5050565b610de5612944565b6040805180820190915260ff928316808252919092166020909201829052606e805461ffff1916909117610100909202919091179055565b6067546001600160a01b03166323b872dd336069546040516001600160e01b031960e085901b168152610e5f92916001600160a01b03169087906004016133e2565b6020604051808303816000875af1158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190613406565b506066546001600160a01b03166363665f2e33846040518363ffffffff1660e01b8152600401610ed3929190613492565b600060405180830381600087803b158015610eed57600080fd5b505af1158015610f01573d6000803e3d6000fd5b5050606b546000925060649150610f1b9060ff1685613423565b610f259190613440565b9050610f318184613462565b925060005b8251811015610fdf5760685483516001600160a01b039091169063a9fc507b90859084908110610f6857610f6861354b565b6020026020010151855187610f7d9190613440565b6040518363ffffffff1660e01b8152600401610f9a929190613492565b600060405180830381600087803b158015610fb457600080fd5b505af1158015610fc8573d6000803e3d6000fd5b505050508080610fd790613532565b915050610f36565b50505050565b610fed612944565b60006110016033546001600160a01b031690565b6001600160a01b0316306001600160a01b03163160405160006040518083038185875af1925050503d8060008114611055576040519150601f19603f3d011682016040523d82523d6000602084013e61105a565b606091505b505090508061086b5760405162461bcd60e51b815260206004820152601e60248201527f4661696c656420746f2073656e6420457468657220746f2067726f77746800006044820152606401610855565b336066546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d9190613475565b6001600160a01b0316146111435760405162461bcd60e51b815260040161085590613561565b6066546040516314f9dbcb60e21b81526001600160a01b03909116906353e76f2c906111759085908590600401613591565b600060405180830381600087803b15801561118f57600080fd5b505af11580156111a3573d6000803e3d6000fd5b505050505050565b6111b3612944565b6040805180820190915260ff928316808252919092166020909201829052606c805461ffff1916909117610100909202919091179055565b606654604051632e7d754b60e01b81526004810183905260009182918291829182916001600160a01b031690632e7d754b90602401600060405180830381865afa15801561123d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126591908101906135c2565b975050965096505095505050600060735482426112829190613462565b11611296576112918242613462565b61129a565b6073545b90506000612710620151806112af8488613423565b6112ba906064613423565b6112c49190613440565b6112ce9190613440565b6070549091506112de8286613685565b111561130657836070541061130057836070546112fb9190613462565b611303565b60005b90505b6064607254866113169190613423565b6113209190613440565b61132a8286613685565b111561138057836064607254876113419190613423565b61134b9190613440565b1061137a57836064607254876113619190613423565b61136b9190613440565b6113759190613462565b61137d565b60005b90505b979650505050505050565b611393612944565b61139d600061299e565b565b6113a7612944565b607355565b6113b4612944565b606980546001600160a01b0319166001600160a01b0392909216919091179055565b6113de612944565b6040805180820190915260ff928316808252919092166020909201829052606d805461ffff1916909117610100909202919091179055565b61141e612944565b61142781610922565b606880546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526065602052604090205460ff166114785760405162461bcd60e51b815260040161085590613698565b6066546040516331a9108f60e11b8152600481018590526001600160a01b03838116921690636352211e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190613475565b6001600160a01b0316146115305760405162461bcd60e51b815260206004820152601060248201526f10d20e88139bdd081e5bdd5c8813919560821b6044820152606401610855565b600061153b846111eb565b90506000811161158d5760405162461bcd60e51b815260206004820152601c60248201527f43483a204e6f207265776172647320617661696c61626c6520796574000000006044820152606401610855565b6115988482846129f0565b606654604051632e7d754b60e01b8152600481018690526000916001600160a01b031690632e7d754b90602401600060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261160a91908101906135c2565b505050945050505050606f5484826116229190613685565b11156116665760405162461bcd60e51b815260206004820152601360248201527208690744082dadeeadce840e8dede40d0d2ced606b1b6044820152606401610855565b606654604051632da8041360e11b815260048101879052602481018690526001600160a01b0390911690635b50082690604401600060405180830381600087803b1580156116b357600080fd5b505af11580156116c7573d6000803e3d6000fd5b505050505050505050565b6116da612944565b6116e381610922565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b61170d612944565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac91906132ff565b9050600081116117fe5760405162461bcd60e51b815260206004820181905260248201527f434f4d504f554e44414c4c3a20596f7520646f6e2774206f776e2061204e46546044820152606401610855565b60005b81811015610dd957606654604051632f745c5960e01b81526000916001600160a01b031690632f745c599061183c9033908690600401613492565b602060405180830381865afa158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d91906132ff565b9050600061188a826111eb565b9050801561189d5761189d8282336129f0565b505080806118aa90613532565b915050611801565b6118ba612944565b606f55565b6118c7612944565b6001600160a01b03919091166000908152607160205260409020805460ff1916911515919091179055565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa15801561194b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196f91906132ff565b116119bc5760405162461bcd60e51b815260206004820152601d60248201527f434f4d504f554e443a20596f7520646f6e2774206f776e2061204e46540000006044820152606401610855565b60006119c7826111eb565b905060008111611a245760405162461bcd60e51b815260206004820152602260248201527f434f4d504f554e443a204e6f207265776172647320617661696c61626c652079604482015261195d60f21b6064820152608401610855565b610dd98282336129f0565b3360009081526065602052604090205460ff16611a5e5760405162461bcd60e51b815260040161085590613698565b611a69838383612550565b505050565b611a76612944565b6001600160a01b038116600081815260656020526040808220805460ff19169055517fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd319190a250565b3360009081526065602052604090205460ff16611aee5760405162461bcd60e51b815260040161085590613698565b6066546040516370a0823160e01b81526001600160a01b03858116600483015260009216906370a0823190602401602060405180830381865afa158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d91906132ff565b905060008111611b7f5760405162461bcd60e51b815260040161085590613318565b60005b81811015611c1e57606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990611bbd9089908690600401613492565b602060405180830381865afa158015611bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfe91906132ff565b9050611c0b818686612550565b5080611c1681613532565b915050611b82565b5050505050565b611c2d612944565b607255565b606a54811015611c7b5760405162461bcd60e51b81526020600482015260146024820152734d494e543a20416d6f756e7420746f6f206c6f7760601b6044820152606401610855565b606f54811115611cc55760405162461bcd60e51b815260206004820152601560248201527409a929ca8744082dadeeadce840e8dede40d0d2ced605b1b6044820152606401610855565b6067546001600160a01b03166323b872dd33610a84565b600054610100900460ff1615808015611cfc5750600054600160ff909116105b80611d165750303b158015611d16575060005460ff166001145b611d795760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610855565b6000805460ff191660011790558015611d9c576000805461ff0019166101001790555b611da4612e7e565b606780546001600160a01b038087166001600160a01b031992831617909255606980548684169083161790556074805492851692909116919091179055678ac7230489e80000606a5560408051606081018252600a808252600560208084019190915291830152606b8054620a050a62ffffff199091161790558151808301835260148082526050918301829052606c805461501461ffff199182168117909255855180870187526064808252600091870191909152606d80548316909117905585518087019096529185529390920152606e8054909116909117905569021e19e0c9bab2400000606f55694d4ab08cc31e6a200000607055618e9460725562093a806073558015610fdf576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6066546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401602060405180830381865afa158015611f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6791906132ff565b905080600003611f7a5750600092915050565b6000805b8281101561202557606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990611fb99089908690600401613492565b602060405180830381865afa158015611fd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffa91906132ff565b9050612005816111eb565b61200f9084613685565b925050808061201d90613532565b915050611f7e565b509392505050565b612035612944565b607480546001600160a01b0319166001600160a01b0392909216919091179055565b61205f612944565b6033546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f1935050505015801561086b573d6000803e3d6000fd5b6120ab612944565b6001600160a01b0381166121105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b61086b8161299e565b612121612944565b6040805160608101825260ff94851680825293851660208201819052929094169301839052606b805461ffff19169092176101009091021762ff0000191662010000909202919091179055565b336066546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156121bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e09190613475565b6001600160a01b0316146122065760405162461bcd60e51b815260040161085590613561565b61220f826118f2565b606654604051632e7d754b60e01b8152600481018490526000916001600160a01b031690632e7d754b90602401600060405180830381865afa158015612259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261228191908101906135c2565b505050945050505050606f5482826122999190613685565b11156122e75760405162461bcd60e51b815260206004820152601c60248201527f4445504f5349544d4f52453a20416d6f756e7420746f6f2068696768000000006044820152606401610855565b6067546001600160a01b03166323b872dd336069546040516001600160e01b031960e085901b16815261232992916001600160a01b03169087906004016133e2565b6020604051808303816000875af1158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613406565b50606b546000906064906123839060ff1685613423565b61238d9190613440565b90506123998184613462565b606c54909350610100900460ff16156124b4576068546000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124299190613475565b606854606c549192506001600160a01b03169063a9fc507b90839060649061245990610100900460ff1687613423565b6124639190613440565b6040518363ffffffff1660e01b8152600401612480929190613492565b600060405180830381600087803b15801561249a57600080fd5b505af11580156124ae573d6000803e3d6000fd5b50505050505b6066546040516203acc960ee1b815260048101869052602481018590526001600160a01b039091169063eb32400090604401600060405180830381600087803b15801561250057600080fd5b505af1158015612514573d6000803e3d6000fd5b5050606654604051632da8041360e11b815260048101889052602481018790526001600160a01b039091169250635b5008269150604401610c64565b6125593361076a565b6125f557336066546040516331a9108f60e11b8152600481018690526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf9190613475565b6001600160a01b0316146125f55760405162461bcd60e51b815260040161085590613561565b6000612600846111eb565b9050600081116126525760405162461bcd60e51b815260206004820152601f60248201527f434c41494d3a204e6f207265776172647320617661696c61626c6520796574006044820152606401610855565b606654604051634b26edd960e11b8152600481018690526001600160a01b039091169063964ddbb290602401600060405180830381600087803b15801561269857600080fd5b505af11580156126ac573d6000803e3d6000fd5b505050506000826127f557606b546064906126d09062010000900460ff1684613423565b6126da9190613440565b606d54909150610100900460ff16156127f5576068546000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276a9190613475565b606854606d549192506001600160a01b03169063a9fc507b90839060649061279a90610100900460ff1687613423565b6127a49190613440565b6040518363ffffffff1660e01b81526004016127c1929190613492565b600060405180830381600087803b1580156127db57600080fd5b505af11580156127ef573d6000803e3d6000fd5b50505050505b6066546040516345c2860d60e01b815260048101879052602481018490526001600160a01b03909116906345c2860d90604401600060405180830381600087803b15801561284257600080fd5b505af1158015612856573d6000803e3d6000fd5b505060665460405163db57795960e01b815260048101899052602481018690526001600160a01b03909116925063db5779599150604401600060405180830381600087803b1580156128a757600080fd5b505af11580156128bb573d6000803e3d6000fd5b50506067546069546001600160a01b0391821693506323b872dd925016866128e38587613462565b6040518463ffffffff1660e01b8152600401612901939291906133e2565b6020604051808303816000875af1158015612920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a39190613406565b6033546001600160a01b0316331461139d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610855565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6066546040516331a9108f60e11b8152600481018590526001600160a01b03838116921690636352211e90602401602060405180830381865afa158015612a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a5f9190613475565b6001600160a01b031614612aae5760405162461bcd60e51b815260206004820152601660248201527510d3d35413d553910e88139bdd081e5bdd5c8813919560521b6044820152606401610855565b606654604051632e7d754b60e01b8152600481018590526000916001600160a01b031690632e7d754b90602401600060405180830381865afa158015612af8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b2091908101906135c2565b5050606854604051634a9fefc760e01b81526001600160a01b038a811660048301529398506000975092169450634a9fefc79350506024019050602060405180830381865afa158015612b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9b9190613475565b606b54909150600090606490612bb990610100900460ff1687613423565b612bc39190613440565b9050612bcf8186613462565b606e54909550610100900460ff1615612c6b57606854606e546001600160a01b039091169063a9fc507b908490606490612c1190610100900460ff1686613423565b612c1b9190613440565b6040518363ffffffff1660e01b8152600401612c38929190613492565b600060405180830381600087803b158015612c5257600080fd5b505af1158015612c66573d6000803e3d6000fd5b505050505b606f54612c788685613685565b1115612cc65760405162461bcd60e51b815260206004820152601960248201527f434f4d504f554e443a20416d6f756e7420746f6f2068696768000000000000006044820152606401610855565b606654604051634b26edd960e11b8152600481018890526001600160a01b039091169063964ddbb290602401600060405180830381600087803b158015612d0c57600080fd5b505af1158015612d20573d6000803e3d6000fd5b505060665460405163db57795960e01b8152600481018a9052602481018990526001600160a01b03909116925063db5779599150604401600060405180830381600087803b158015612d7157600080fd5b505af1158015612d85573d6000803e3d6000fd5b5050606854606c546001600160a01b03909116925063a9fc507b91508490606490612db890610100900460ff1686613423565b612dc29190613440565b6040518363ffffffff1660e01b8152600401612ddf929190613492565b600060405180830381600087803b158015612df957600080fd5b505af1158015612e0d573d6000803e3d6000fd5b5050606654604051632da8041360e11b8152600481018a9052602481018990526001600160a01b039091169250635b5008269150604401600060405180830381600087803b158015612e5e57600080fd5b505af1158015612e72573d6000803e3d6000fd5b50505050505050505050565b600054610100900460ff16612ea55760405162461bcd60e51b8152600401610855906136db565b61139d600054610100900460ff16612ecf5760405162461bcd60e51b8152600401610855906136db565b61139d3361299e565b600060208284031215612eea57600080fd5b5035919050565b6001600160a01b038116811461086b57600080fd5b600060208284031215612f1857600080fd5b8135612f2381612ef1565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f6957612f69612f2a565b604052919050565b600067ffffffffffffffff821115612f8b57612f8b612f2a565b50601f01601f191660200190565b600082601f830112612faa57600080fd5b8135612fbd612fb882612f71565b612f40565b818152846020838601011115612fd257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561300257600080fd5b823567ffffffffffffffff81111561301957600080fd5b61302585828601612f99565b95602094909401359450505050565b60ff8116811461086b57600080fd5b6000806040838503121561305657600080fd5b823561306181613034565b9150602083013561307181613034565b809150509250929050565b6000806040838503121561308f57600080fd5b8235915060208084013567ffffffffffffffff808211156130af57600080fd5b818601915086601f8301126130c357600080fd5b8135818111156130d5576130d5612f2a565b8060051b91506130e6848301612f40565b818152918301840191848101908984111561310057600080fd5b938501935b8385101561312a578435925061311a83612ef1565b8282529385019390850190613105565b8096505050505050509250929050565b6000806040838503121561314d57600080fd5b82359150602083013567ffffffffffffffff81111561316b57600080fd5b61317785828601612f99565b9150509250929050565b60008060006060848603121561319657600080fd5b833592506020840135915060408401356131af81612ef1565b809150509250925092565b801515811461086b57600080fd5b600080604083850312156131db57600080fd5b82356131e681612ef1565b91506020830135613071816131ba565b60008060006060848603121561320b57600080fd5b83359250602084013561321d81612ef1565b915060408401356131af816131ba565b60008060006060848603121561324257600080fd5b833561324d81612ef1565b9250602084013561321d81612ef1565b60008060006060848603121561327257600080fd5b833561327d81612ef1565b9250602084013561328d81612ef1565b915060408401356131af81612ef1565b6000806000606084860312156132b257600080fd5b83356132bd81613034565b925060208401356132cd81613034565b915060408401356131af81613034565b600080604083850312156132f057600080fd5b50508035926020909101359150565b60006020828403121561331157600080fd5b5051919050565b6020808252601d908201527f434c41494d414c4c3a20596f7520646f6e2774206f776e2061204e4654000000604082015260600190565b60008060006060848603121561336457600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b80820182811260008312801582168215821617156133b3576133b361337d565b505092915050565b81810360008312801583831316838312821617156133db576133db61337d565b5092915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561341857600080fd5b8151612f23816131ba565b808202811582820484141761343a5761343a61337d565b92915050565b60008261345d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561343a5761343a61337d565b60006020828403121561348757600080fd5b8151612f2381612ef1565b6001600160a01b03929092168252602082015260400190565b60005b838110156134c65781810151838201526020016134ae565b50506000910152565b600081518084526134e78160208601602086016134ab565b601f01601f19169290920160200192915050565b6001600160a01b038516815260806020820181905260009061351f908301866134cf565b6040830194909452506060015292915050565b6000600182016135445761354461337d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526016908201527510d31052535053130e88139bdd081e5bdd5c8813919560521b604082015260600190565b8281526040602082015260006135aa60408301846134cf565b949350505050565b80516135bd81613034565b919050565b600080600080600080600080610100898b0312156135df57600080fd5b88519750602089015167ffffffffffffffff8111156135fd57600080fd5b8901601f81018b1361360e57600080fd5b805161361c612fb882612f71565b8181528c602083850101111561363157600080fd5b6136428260208301602086016134ab565b985061365391505060408a016135b2565b9550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b8082018082111561343a5761343a61337d565b60208082526023908201527f4d616e61676561626c653a2063616c6c6572206973206e6f7420746865206f776040820152623732b960e91b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212200c23554aa85eda2f4432091e00c932d8b23b25274bf8995dc4da195a873103dd64736f6c63430008110033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061035d5760003560e01c8063834ce6fe116101d3578063b5b0e63a11610104578063ede701c7116100a2578063f6794fdb1161007c578063f6794fdb14610736578063f81fa2e714610749578063fdff9b4d1461075c578063fe575a871461079857600080fd5b8063ede701c714610708578063eebf5b0c1461071b578063f2fde38b1461072357600080fd5b8063c0c53b8b116100de578063c0c53b8b146106d0578063ca1162ef146106e3578063d6fbf202146106f6578063e0176de8146106ff57600080fd5b8063b5b0e63a14610697578063b95241fa146106aa578063bc3a1d41146106bd57600080fd5b80639b05ddb311610171578063a0e384921161014b578063a0e384921461064b578063aa5f7e261461065e578063abf4fcd314610671578063ac18de431461068457600080fd5b80639b05ddb3146106285780639d1b464a146106305780639f0a5c1b1461063857600080fd5b80638da5cb5b116101ad5780638da5cb5b146105ad57806392e67c06146105be578063989ced26146105d15780639af1d35a146105e457600080fd5b8063834ce6fe146105715780638694f1d21461058457806387c487871461059a57600080fd5b80634eab48dd116102ad57806361c02efb1161024b5780637535d246116102255780637535d2461461052557806378c186cc146105385780637b46c54f1461054b5780637b8011fb1461055e57600080fd5b806361c02efb146104f7578063715018a61461050a57806371e579d31461051257600080fd5b806352b984601161028757806352b98460146104bf57806353e76f2c146104c85780635ddc4b21146104db5780636083e59a146104ee57600080fd5b80634eab48dd1461049b5780634f4e9ae6146104a457806350431ce4146104b757600080fd5b806322735dd51161031a57806336339388116102f4578063363393881461045a578063372500ab1461046d5780633c6ea397146104755780634ad17db21461048857600080fd5b806322735dd5146104215780632d06177a146104345780632ec3495a1461044757600080fd5b80630962ef79146103625780630f73b4f414610377578063125182b01461038a57806312fe405e146103bf5780631b905aea146103d55780631fda9a02146103f6575b600080fd5b610375610370366004612ed8565b6107bb565b005b610375610385366004612ed8565b61086e565b606e546103a09060ff8082169161010090041682565b6040805160ff9384168152929091166020830152015b60405180910390f35b606d546103a09060ff8082169161010090041682565b6103e86103e3366004612f06565b61087b565b6040519081526020016103b6565b606654610409906001600160a01b031681565b6040516001600160a01b0390911681526020016103b6565b61037561042f366004612ed8565b610915565b610375610442366004612f06565b610922565b610375610455366004612fef565b6109de565b606754610409906001600160a01b031681565b610375610c9c565b610375610483366004613043565b610ddd565b606854610409906001600160a01b031681565b6103e860735481565b6103756104b236600461307c565b610e1d565b610375610fe5565b6103e860725481565b6103756104d636600461313a565b6110ab565b6103756104e9366004613043565b6111ab565b6103e8606f5481565b6103e8610505366004612ed8565b6111eb565b61037561138b565b607454610409906001600160a01b031681565b606954610409906001600160a01b031681565b610375610546366004612ed8565b61139f565b610375610559366004612f06565b6113ac565b61037561056c366004613043565b6113d6565b61037561057f366004612f06565b611416565b606c546103a09060ff8082169161010090041682565b6103756105a8366004613181565b611449565b6033546001600160a01b0316610409565b6103756105cc366004612f06565b6116d2565b6103756105df366004612f06565b611705565b606b546106049060ff808216916101008104821691620100009091041683565b6040805160ff948516815292841660208401529216918101919091526060016103b6565b61037561172f565b606a546103e8565b610375610646366004612ed8565b6118b2565b6103756106593660046131c8565b6118bf565b61037561066c366004612ed8565b6118f2565b61037561067f3660046131f6565b611a2f565b610375610692366004612f06565b611a6e565b6103756106a536600461322d565b611abf565b6103756106b8366004612ed8565b611c25565b6103756106cb366004612fef565b611c32565b6103756106de36600461325d565b611cdc565b6103e86106f1366004612f06565b611ef5565b6103e8606a5481565b6103e860705481565b610375610716366004612f06565b61202d565b610375612057565b610375610731366004612f06565b6120a3565b61037561074436600461329d565b612119565b6103756107573660046132dd565b61216e565b61078861076a366004612f06565b6001600160a01b031660009081526065602052604090205460ff1690565b60405190151581526020016103b6565b6107886107a6366004612f06565b60716020526000908152604090205460ff1681565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083891906132ff565b1161085e5760405162461bcd60e51b815260040161085590613318565b60405180910390fd5b61086b81335b6000612550565b50565b610876612944565b606a55565b60665460405163e2eb41ff60e01b81526001600160a01b038381166004830152600092839283928392169063e2eb41ff90602401606060405180830381865afa1580156108cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f0919061334f565b91945092509050806109028385613393565b61090c91906133bb565b95945050505050565b61091d612944565b607055565b61092a612944565b6001600160a01b0381166109925760405162461bcd60e51b815260206004820152602960248201527f4d616e61676561626c653a206e6577206f776e657220697320746865207a65726044820152686f206164647265737360b81b6064820152608401610855565b6001600160a01b038116600081815260656020526040808220805460ff19166001179055517f3b4a40cccf2058c593542587329dd385be4f0b588db5471fbd9598e56dd7093a9190a250565b606a54811015610a275760405162461bcd60e51b81526020600482015260146024820152734d494e543a20416d6f756e7420746f6f206c6f7760601b6044820152606401610855565b606f54811115610a715760405162461bcd60e51b815260206004820152601560248201527409a929ca8744082dadeeadce840e8dede40d0d2ced605b1b6044820152606401610855565b6074546001600160a01b03166323b872dd335b6069546040516001600160e01b031960e085901b168152610ab492916001600160a01b03169086906004016133e2565b6020604051808303816000875af1158015610ad3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af79190613406565b50606b54600090606490610b0e9060ff1684613423565b610b189190613440565b9050610b248183613462565b6068549092506000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba49190613475565b606854606c549192506001600160a01b03169063a9fc507b908390606490610bd490610100900460ff1687613423565b610bde9190613440565b6040518363ffffffff1660e01b8152600401610bfb929190613492565b600060405180830381600087803b158015610c1557600080fd5b505af1158015610c29573d6000803e3d6000fd5b505060665460405163252ee1d560e11b81526001600160a01b039091169250634a5dc3aa9150610c64903390889060009089906004016134fb565b600060405180830381600087803b158015610c7e57600080fd5b505af1158015610c92573d6000803e3d6000fd5b5050505050505050565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1991906132ff565b905060008111610d3b5760405162461bcd60e51b815260040161085590613318565b60005b81811015610dd957606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990610d799033908690600401613492565b602060405180830381865afa158015610d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dba91906132ff565b9050610dc68133610864565b5080610dd181613532565b915050610d3e565b5050565b610de5612944565b6040805180820190915260ff928316808252919092166020909201829052606e805461ffff1916909117610100909202919091179055565b6067546001600160a01b03166323b872dd336069546040516001600160e01b031960e085901b168152610e5f92916001600160a01b03169087906004016133e2565b6020604051808303816000875af1158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190613406565b506066546001600160a01b03166363665f2e33846040518363ffffffff1660e01b8152600401610ed3929190613492565b600060405180830381600087803b158015610eed57600080fd5b505af1158015610f01573d6000803e3d6000fd5b5050606b546000925060649150610f1b9060ff1685613423565b610f259190613440565b9050610f318184613462565b925060005b8251811015610fdf5760685483516001600160a01b039091169063a9fc507b90859084908110610f6857610f6861354b565b6020026020010151855187610f7d9190613440565b6040518363ffffffff1660e01b8152600401610f9a929190613492565b600060405180830381600087803b158015610fb457600080fd5b505af1158015610fc8573d6000803e3d6000fd5b505050508080610fd790613532565b915050610f36565b50505050565b610fed612944565b60006110016033546001600160a01b031690565b6001600160a01b0316306001600160a01b03163160405160006040518083038185875af1925050503d8060008114611055576040519150601f19603f3d011682016040523d82523d6000602084013e61105a565b606091505b505090508061086b5760405162461bcd60e51b815260206004820152601e60248201527f4661696c656420746f2073656e6420457468657220746f2067726f77746800006044820152606401610855565b336066546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d9190613475565b6001600160a01b0316146111435760405162461bcd60e51b815260040161085590613561565b6066546040516314f9dbcb60e21b81526001600160a01b03909116906353e76f2c906111759085908590600401613591565b600060405180830381600087803b15801561118f57600080fd5b505af11580156111a3573d6000803e3d6000fd5b505050505050565b6111b3612944565b6040805180820190915260ff928316808252919092166020909201829052606c805461ffff1916909117610100909202919091179055565b606654604051632e7d754b60e01b81526004810183905260009182918291829182916001600160a01b031690632e7d754b90602401600060405180830381865afa15801561123d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126591908101906135c2565b975050965096505095505050600060735482426112829190613462565b11611296576112918242613462565b61129a565b6073545b90506000612710620151806112af8488613423565b6112ba906064613423565b6112c49190613440565b6112ce9190613440565b6070549091506112de8286613685565b111561130657836070541061130057836070546112fb9190613462565b611303565b60005b90505b6064607254866113169190613423565b6113209190613440565b61132a8286613685565b111561138057836064607254876113419190613423565b61134b9190613440565b1061137a57836064607254876113619190613423565b61136b9190613440565b6113759190613462565b61137d565b60005b90505b979650505050505050565b611393612944565b61139d600061299e565b565b6113a7612944565b607355565b6113b4612944565b606980546001600160a01b0319166001600160a01b0392909216919091179055565b6113de612944565b6040805180820190915260ff928316808252919092166020909201829052606d805461ffff1916909117610100909202919091179055565b61141e612944565b61142781610922565b606880546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526065602052604090205460ff166114785760405162461bcd60e51b815260040161085590613698565b6066546040516331a9108f60e11b8152600481018590526001600160a01b03838116921690636352211e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190613475565b6001600160a01b0316146115305760405162461bcd60e51b815260206004820152601060248201526f10d20e88139bdd081e5bdd5c8813919560821b6044820152606401610855565b600061153b846111eb565b90506000811161158d5760405162461bcd60e51b815260206004820152601c60248201527f43483a204e6f207265776172647320617661696c61626c6520796574000000006044820152606401610855565b6115988482846129f0565b606654604051632e7d754b60e01b8152600481018690526000916001600160a01b031690632e7d754b90602401600060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261160a91908101906135c2565b505050945050505050606f5484826116229190613685565b11156116665760405162461bcd60e51b815260206004820152601360248201527208690744082dadeeadce840e8dede40d0d2ced606b1b6044820152606401610855565b606654604051632da8041360e11b815260048101879052602481018690526001600160a01b0390911690635b50082690604401600060405180830381600087803b1580156116b357600080fd5b505af11580156116c7573d6000803e3d6000fd5b505050505050505050565b6116da612944565b6116e381610922565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b61170d612944565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac91906132ff565b9050600081116117fe5760405162461bcd60e51b815260206004820181905260248201527f434f4d504f554e44414c4c3a20596f7520646f6e2774206f776e2061204e46546044820152606401610855565b60005b81811015610dd957606654604051632f745c5960e01b81526000916001600160a01b031690632f745c599061183c9033908690600401613492565b602060405180830381865afa158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d91906132ff565b9050600061188a826111eb565b9050801561189d5761189d8282336129f0565b505080806118aa90613532565b915050611801565b6118ba612944565b606f55565b6118c7612944565b6001600160a01b03919091166000908152607160205260409020805460ff1916911515919091179055565b6066546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa15801561194b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196f91906132ff565b116119bc5760405162461bcd60e51b815260206004820152601d60248201527f434f4d504f554e443a20596f7520646f6e2774206f776e2061204e46540000006044820152606401610855565b60006119c7826111eb565b905060008111611a245760405162461bcd60e51b815260206004820152602260248201527f434f4d504f554e443a204e6f207265776172647320617661696c61626c652079604482015261195d60f21b6064820152608401610855565b610dd98282336129f0565b3360009081526065602052604090205460ff16611a5e5760405162461bcd60e51b815260040161085590613698565b611a69838383612550565b505050565b611a76612944565b6001600160a01b038116600081815260656020526040808220805460ff19169055517fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd319190a250565b3360009081526065602052604090205460ff16611aee5760405162461bcd60e51b815260040161085590613698565b6066546040516370a0823160e01b81526001600160a01b03858116600483015260009216906370a0823190602401602060405180830381865afa158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d91906132ff565b905060008111611b7f5760405162461bcd60e51b815260040161085590613318565b60005b81811015611c1e57606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990611bbd9089908690600401613492565b602060405180830381865afa158015611bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfe91906132ff565b9050611c0b818686612550565b5080611c1681613532565b915050611b82565b5050505050565b611c2d612944565b607255565b606a54811015611c7b5760405162461bcd60e51b81526020600482015260146024820152734d494e543a20416d6f756e7420746f6f206c6f7760601b6044820152606401610855565b606f54811115611cc55760405162461bcd60e51b815260206004820152601560248201527409a929ca8744082dadeeadce840e8dede40d0d2ced605b1b6044820152606401610855565b6067546001600160a01b03166323b872dd33610a84565b600054610100900460ff1615808015611cfc5750600054600160ff909116105b80611d165750303b158015611d16575060005460ff166001145b611d795760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610855565b6000805460ff191660011790558015611d9c576000805461ff0019166101001790555b611da4612e7e565b606780546001600160a01b038087166001600160a01b031992831617909255606980548684169083161790556074805492851692909116919091179055678ac7230489e80000606a5560408051606081018252600a808252600560208084019190915291830152606b8054620a050a62ffffff199091161790558151808301835260148082526050918301829052606c805461501461ffff199182168117909255855180870187526064808252600091870191909152606d80548316909117905585518087019096529185529390920152606e8054909116909117905569021e19e0c9bab2400000606f55694d4ab08cc31e6a200000607055618e9460725562093a806073558015610fdf576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6066546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401602060405180830381865afa158015611f43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6791906132ff565b905080600003611f7a5750600092915050565b6000805b8281101561202557606654604051632f745c5960e01b81526000916001600160a01b031690632f745c5990611fb99089908690600401613492565b602060405180830381865afa158015611fd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffa91906132ff565b9050612005816111eb565b61200f9084613685565b925050808061201d90613532565b915050611f7e565b509392505050565b612035612944565b607480546001600160a01b0319166001600160a01b0392909216919091179055565b61205f612944565b6033546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f1935050505015801561086b573d6000803e3d6000fd5b6120ab612944565b6001600160a01b0381166121105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b61086b8161299e565b612121612944565b6040805160608101825260ff94851680825293851660208201819052929094169301839052606b805461ffff19169092176101009091021762ff0000191662010000909202919091179055565b336066546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156121bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e09190613475565b6001600160a01b0316146122065760405162461bcd60e51b815260040161085590613561565b61220f826118f2565b606654604051632e7d754b60e01b8152600481018490526000916001600160a01b031690632e7d754b90602401600060405180830381865afa158015612259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261228191908101906135c2565b505050945050505050606f5482826122999190613685565b11156122e75760405162461bcd60e51b815260206004820152601c60248201527f4445504f5349544d4f52453a20416d6f756e7420746f6f2068696768000000006044820152606401610855565b6067546001600160a01b03166323b872dd336069546040516001600160e01b031960e085901b16815261232992916001600160a01b03169087906004016133e2565b6020604051808303816000875af1158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613406565b50606b546000906064906123839060ff1685613423565b61238d9190613440565b90506123998184613462565b606c54909350610100900460ff16156124b4576068546000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124299190613475565b606854606c549192506001600160a01b03169063a9fc507b90839060649061245990610100900460ff1687613423565b6124639190613440565b6040518363ffffffff1660e01b8152600401612480929190613492565b600060405180830381600087803b15801561249a57600080fd5b505af11580156124ae573d6000803e3d6000fd5b50505050505b6066546040516203acc960ee1b815260048101869052602481018590526001600160a01b039091169063eb32400090604401600060405180830381600087803b15801561250057600080fd5b505af1158015612514573d6000803e3d6000fd5b5050606654604051632da8041360e11b815260048101889052602481018790526001600160a01b039091169250635b5008269150604401610c64565b6125593361076a565b6125f557336066546040516331a9108f60e11b8152600481018690526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf9190613475565b6001600160a01b0316146125f55760405162461bcd60e51b815260040161085590613561565b6000612600846111eb565b9050600081116126525760405162461bcd60e51b815260206004820152601f60248201527f434c41494d3a204e6f207265776172647320617661696c61626c6520796574006044820152606401610855565b606654604051634b26edd960e11b8152600481018690526001600160a01b039091169063964ddbb290602401600060405180830381600087803b15801561269857600080fd5b505af11580156126ac573d6000803e3d6000fd5b505050506000826127f557606b546064906126d09062010000900460ff1684613423565b6126da9190613440565b606d54909150610100900460ff16156127f5576068546000906001600160a01b0316634a9fefc7336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276a9190613475565b606854606d549192506001600160a01b03169063a9fc507b90839060649061279a90610100900460ff1687613423565b6127a49190613440565b6040518363ffffffff1660e01b81526004016127c1929190613492565b600060405180830381600087803b1580156127db57600080fd5b505af11580156127ef573d6000803e3d6000fd5b50505050505b6066546040516345c2860d60e01b815260048101879052602481018490526001600160a01b03909116906345c2860d90604401600060405180830381600087803b15801561284257600080fd5b505af1158015612856573d6000803e3d6000fd5b505060665460405163db57795960e01b815260048101899052602481018690526001600160a01b03909116925063db5779599150604401600060405180830381600087803b1580156128a757600080fd5b505af11580156128bb573d6000803e3d6000fd5b50506067546069546001600160a01b0391821693506323b872dd925016866128e38587613462565b6040518463ffffffff1660e01b8152600401612901939291906133e2565b6020604051808303816000875af1158015612920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a39190613406565b6033546001600160a01b0316331461139d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610855565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6066546040516331a9108f60e11b8152600481018590526001600160a01b03838116921690636352211e90602401602060405180830381865afa158015612a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a5f9190613475565b6001600160a01b031614612aae5760405162461bcd60e51b815260206004820152601660248201527510d3d35413d553910e88139bdd081e5bdd5c8813919560521b6044820152606401610855565b606654604051632e7d754b60e01b8152600481018590526000916001600160a01b031690632e7d754b90602401600060405180830381865afa158015612af8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b2091908101906135c2565b5050606854604051634a9fefc760e01b81526001600160a01b038a811660048301529398506000975092169450634a9fefc79350506024019050602060405180830381865afa158015612b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9b9190613475565b606b54909150600090606490612bb990610100900460ff1687613423565b612bc39190613440565b9050612bcf8186613462565b606e54909550610100900460ff1615612c6b57606854606e546001600160a01b039091169063a9fc507b908490606490612c1190610100900460ff1686613423565b612c1b9190613440565b6040518363ffffffff1660e01b8152600401612c38929190613492565b600060405180830381600087803b158015612c5257600080fd5b505af1158015612c66573d6000803e3d6000fd5b505050505b606f54612c788685613685565b1115612cc65760405162461bcd60e51b815260206004820152601960248201527f434f4d504f554e443a20416d6f756e7420746f6f2068696768000000000000006044820152606401610855565b606654604051634b26edd960e11b8152600481018890526001600160a01b039091169063964ddbb290602401600060405180830381600087803b158015612d0c57600080fd5b505af1158015612d20573d6000803e3d6000fd5b505060665460405163db57795960e01b8152600481018a9052602481018990526001600160a01b03909116925063db5779599150604401600060405180830381600087803b158015612d7157600080fd5b505af1158015612d85573d6000803e3d6000fd5b5050606854606c546001600160a01b03909116925063a9fc507b91508490606490612db890610100900460ff1686613423565b612dc29190613440565b6040518363ffffffff1660e01b8152600401612ddf929190613492565b600060405180830381600087803b158015612df957600080fd5b505af1158015612e0d573d6000803e3d6000fd5b5050606654604051632da8041360e11b8152600481018a9052602481018990526001600160a01b039091169250635b5008269150604401600060405180830381600087803b158015612e5e57600080fd5b505af1158015612e72573d6000803e3d6000fd5b50505050505050505050565b600054610100900460ff16612ea55760405162461bcd60e51b8152600401610855906136db565b61139d600054610100900460ff16612ecf5760405162461bcd60e51b8152600401610855906136db565b61139d3361299e565b600060208284031215612eea57600080fd5b5035919050565b6001600160a01b038116811461086b57600080fd5b600060208284031215612f1857600080fd5b8135612f2381612ef1565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f6957612f69612f2a565b604052919050565b600067ffffffffffffffff821115612f8b57612f8b612f2a565b50601f01601f191660200190565b600082601f830112612faa57600080fd5b8135612fbd612fb882612f71565b612f40565b818152846020838601011115612fd257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561300257600080fd5b823567ffffffffffffffff81111561301957600080fd5b61302585828601612f99565b95602094909401359450505050565b60ff8116811461086b57600080fd5b6000806040838503121561305657600080fd5b823561306181613034565b9150602083013561307181613034565b809150509250929050565b6000806040838503121561308f57600080fd5b8235915060208084013567ffffffffffffffff808211156130af57600080fd5b818601915086601f8301126130c357600080fd5b8135818111156130d5576130d5612f2a565b8060051b91506130e6848301612f40565b818152918301840191848101908984111561310057600080fd5b938501935b8385101561312a578435925061311a83612ef1565b8282529385019390850190613105565b8096505050505050509250929050565b6000806040838503121561314d57600080fd5b82359150602083013567ffffffffffffffff81111561316b57600080fd5b61317785828601612f99565b9150509250929050565b60008060006060848603121561319657600080fd5b833592506020840135915060408401356131af81612ef1565b809150509250925092565b801515811461086b57600080fd5b600080604083850312156131db57600080fd5b82356131e681612ef1565b91506020830135613071816131ba565b60008060006060848603121561320b57600080fd5b83359250602084013561321d81612ef1565b915060408401356131af816131ba565b60008060006060848603121561324257600080fd5b833561324d81612ef1565b9250602084013561321d81612ef1565b60008060006060848603121561327257600080fd5b833561327d81612ef1565b9250602084013561328d81612ef1565b915060408401356131af81612ef1565b6000806000606084860312156132b257600080fd5b83356132bd81613034565b925060208401356132cd81613034565b915060408401356131af81613034565b600080604083850312156132f057600080fd5b50508035926020909101359150565b60006020828403121561331157600080fd5b5051919050565b6020808252601d908201527f434c41494d414c4c3a20596f7520646f6e2774206f776e2061204e4654000000604082015260600190565b60008060006060848603121561336457600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b80820182811260008312801582168215821617156133b3576133b361337d565b505092915050565b81810360008312801583831316838312821617156133db576133db61337d565b5092915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020828403121561341857600080fd5b8151612f23816131ba565b808202811582820484141761343a5761343a61337d565b92915050565b60008261345d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561343a5761343a61337d565b60006020828403121561348757600080fd5b8151612f2381612ef1565b6001600160a01b03929092168252602082015260400190565b60005b838110156134c65781810151838201526020016134ae565b50506000910152565b600081518084526134e78160208601602086016134ab565b601f01601f19169290920160200192915050565b6001600160a01b038516815260806020820181905260009061351f908301866134cf565b6040830194909452506060015292915050565b6000600182016135445761354461337d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526016908201527510d31052535053130e88139bdd081e5bdd5c8813919560521b604082015260600190565b8281526040602082015260006135aa60408301846134cf565b949350505050565b80516135bd81613034565b919050565b600080600080600080600080610100898b0312156135df57600080fd5b88519750602089015167ffffffffffffffff8111156135fd57600080fd5b8901601f81018b1361360e57600080fd5b805161361c612fb882612f71565b8181528c602083850101111561363157600080fd5b6136428260208301602086016134ab565b985061365391505060408a016135b2565b9550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b8082018082111561343a5761343a61337d565b60208082526023908201527f4d616e61676561626c653a2063616c6c6572206973206e6f7420746865206f776040820152623732b960e91b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212200c23554aa85eda2f4432091e00c932d8b23b25274bf8995dc4da195a873103dd64736f6c63430008110033