Address Details
contract

0x587E3FBb5aae9DaF1C3D513fDBBBa7F3E232332b

Contract Name
Bonus
Creator
0x7d6740–c9cfce at 0xae1eaa–687d08
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
8929305
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Bonus




Optimization enabled
false
Compiler version
v0.8.7+commit.e28d00a7




EVM Version
london




Verified at
2023-02-01T12:23:59.693814Z

contracts/Bonus.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "./IStarNFT.sol";

interface INFTLogic {
    function starMeta(uint256 _tokenId) view external returns (uint8, uint256, uint256, uint256);
    function totalPrice() view external returns (uint256);
    function fee() view external returns (uint256);
}

contract Bonus is ContextUpgradeable, OwnableUpgradeable {

    using SafeMathUpgradeable for uint256;
    IERC20Upgradeable public starToken;
    IERC721Upgradeable public starNFT;
    INFTLogic public NFTLogic;

    IStarNFT public StarNFT1;
    address public _starToken;
    address public lockAddr;
    uint256 public lockRatio;
    uint256 public bonusWithdrawn;
    uint256 public lockWithdrawn;

    mapping(uint256 => uint256) public tokenWithdraw;

    function initialize(address _starToken, address _lock, uint256 _lockRatio) public initializer {
        __bonus_init(_starToken, _lock, _lockRatio);
    }

    function __bonus_init(address _starToken, address _lock, uint256 _lockRatio) internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
        __bonus_init_unchained(_starToken, _lock, _lockRatio);
    }

    function __bonus_init_unchained(address _starToken, address _lock, uint256 _lockRatio) internal initializer {
        require(_lockRatio < 10000, 'ratio error');
        starToken = IERC20Upgradeable(_starToken);
        lockAddr = _lock;
        lockRatio = _lockRatio;
    }

    function setLockRatio(uint256 _newRatio) onlyOwner public {
        require(_newRatio < 10000, 'ratio error');
        lockRatio = _newRatio;
    }

    function setStarNFTAddress(address _StarNFT) public {
        StarNFT1 = IStarNFT(_StarNFT);
    }

    function lockWithdraw(uint256 _amount) onlyLockUser public {
        require(_amount > 0, "amount error");
        uint256 _balance = starToken.balanceOf(address(this));
        uint256 _availLock = _balance.add(lockWithdrawn).add(bonusWithdrawn).mul(lockRatio).div(10000).sub(lockWithdrawn);
        require(_amount <= _availLock, 'amount error');
        lockWithdrawn = lockWithdrawn.add(_amount);
        starToken.transfer(_msgSender(), _amount);
    }

    function _getBonus(uint256 _tokenId) view public returns (uint256) {
        (, , uint256 _price, ) = NFTLogic.starMeta(_tokenId);
        uint256 fee = NFTLogic.fee();
        uint256 _fee = _price.mul(fee).div(100);
        uint256 lockAmount = _fee.mul(lockRatio).div(100);
        uint256 bonunsAmount = _fee - lockAmount;
        return fee;
    }

    function allWithdrawal(address owner) public{
        uint256 _amount = 0;
        for (uint256 i = 0 ; i < StarNFT1.balanceOf(owner); i ++){
            uint256 _tokenId = StarNFT1.tokenOfOwnerByIndex(owner,i);
            uint256 _number = _getBonus(_tokenId);
            bonusWithdrawn = bonusWithdrawn.add(_amount);
            tokenWithdraw[_tokenId] = tokenWithdraw[_tokenId].add(_amount);
            _amount += _number;
        }
        starToken.transfer(_msgSender(), _amount);
    }

    function getAllWithdrawal(address owner) public view returns(uint256){
        uint256 _amount = 0;
        for (uint256 i = 0 ; i < StarNFT1.balanceOf(owner); i ++) {
            uint256 _tokenId = StarNFT1.tokenOfOwnerByIndex(owner,i);
            _amount += _getBonus(_tokenId);
        }
        return _amount;
    }

    function bonusWithdraw(uint256 _tokenId) public{
        require(_msgSender() == starNFT.ownerOf(_tokenId), "not your token");
        uint256 _amount =  _getBonus(_tokenId);
        require(_amount > 0, "no bonus");
        bonusWithdrawn = bonusWithdrawn.add(_amount);
        tokenWithdraw[_tokenId] = tokenWithdraw[_tokenId].add(_amount);
        starToken.transfer(_msgSender(), _amount);
    }

    function setTokenWithdraw(uint256 _tokenId,uint256 _amount) external{
        tokenWithdraw[_tokenId] = tokenWithdraw[_tokenId].add(_amount);
    }

    function setBonusWithdrawn(uint256 _amount) external{
        bonusWithdrawn = bonusWithdrawn.add(_amount);
    }

    function getBonus(uint256 _tokenId) view external returns (uint256) {
        return _getBonus(_tokenId);
    }

    function setLock(address _addr) onlyOwner public {
        require(address(0) != _addr, 'lock address error');
        lockAddr = _addr;
    }

    function setNFT(address _addr) onlyOwner public {
        require(address(0) != _addr, 'NFT address error');
        starNFT = IERC721Upgradeable(_addr);
    }

    function setNFTLogic(address _addr) onlyOwner public {
        require(address(0) != _addr, 'NFT address error');
        NFTLogic = INFTLogic(_addr);
    }

    modifier onlyLockUser() {
        require(_msgSender() == lockAddr, 'no permission');
        _;
    }
}
        

/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
    uint256[49] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

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

pragma solidity ^0.8.0;

/**
 * @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 a proxied contract can't have 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.
 *
 * 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 initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

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

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

/_openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165Upgradeable.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}
          

/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 initializer {
        __Context_init_unchained();
    }

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol

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

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
          

/contracts/IStarNFT.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IStarNFT {
    function mint(address _owner, uint256 _cateId) external returns (uint256);
    function setCateURI(uint256 _cateId, string memory _cateUri) external;
    function massVerifyOwner(address owner, uint256[] memory _tokenIds) view external returns (bool);
    function massBurn(uint256[] memory _tokenIds) external;
    function setSale(bool _sale) external;
    function balanceOf(address owner) view external returns (uint256);
    function tokenOfOwnerByIndex(address owner,uint256 tokenid) view external returns (uint256);
}
          

Contract ABI

[{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract INFTLogic"}],"name":"NFTLogic","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IStarNFT"}],"name":"StarNFT1","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_getBonus","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_starToken","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"allWithdrawal","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"bonusWithdraw","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"bonusWithdrawn","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getAllWithdrawal","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getBonus","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"_starToken","internalType":"address"},{"type":"address","name":"_lock","internalType":"address"},{"type":"uint256","name":"_lockRatio","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"lockAddr","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lockRatio","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lockWithdraw","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lockWithdrawn","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBonusWithdrawn","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLock","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLockRatio","inputs":[{"type":"uint256","name":"_newRatio","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNFT","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNFTLogic","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStarNFTAddress","inputs":[{"type":"address","name":"_StarNFT","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenWithdraw","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC721Upgradeable"}],"name":"starNFT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20Upgradeable"}],"name":"starToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenWithdraw","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b506129f5806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806395a0af47116100f9578063d7e751ff11610097578063dc07e9fc11610071578063dc07e9fc14610482578063e7bd7191146104a0578063f2fde38b146104bc578063f56e9c66146104d8576101a9565b8063d7e751ff14610418578063d9fc0e7f14610448578063da117df814610466576101a9565b8063b7ca51e8116100d3578063b7ca51e814610390578063bcb47005146103ae578063c861f243146103cc578063c9fd9823146103fc576101a9565b806395a0af471461033a5780639c3709ea14610356578063a32088d414610374576101a9565b806357fe507a116101665780637666fc88116101405780637666fc88146102b05780637de61382146102ce5780637fdab94e146102fe5780638da5cb5b1461031c576101a9565b806357fe507a1461026c57806370dca97414610288578063715018a6146102a6576101a9565b8063085a4f15146101ae5780630f8a8a54146101ca5780631794bb3c146101e85780631f6f7be51461020457806337ef75c8146102205780634aa66b281461023c575b600080fd5b6101c860048036038101906101c39190612026565b6104f4565b005b6101d2610800565b6040516101df91906124cf565b60405180910390f35b61020260048036038101906101fd9190611fa6565b610806565b005b61021e60048036038101906102199190611f4c565b6108ed565b005b61023a60048036038101906102359190611f4c565b610931565b005b61025660048036038101906102519190612026565b610a61565b60405161026391906124cf565b60405180910390f35b61028660048036038101906102819190612080565b610a73565b005b610290610ab4565b60405161029d919061233e565b60405180910390f35b6102ae610ada565b005b6102b8610b62565b6040516102c59190612374565b60405180910390f35b6102e860048036038101906102e39190611f4c565b610b88565b6040516102f591906124cf565b60405180910390f35b610306610d29565b60405161031391906122df565b60405180910390f35b610324610d4f565b60405161033191906122df565b60405180910390f35b610354600480360381019061034f9190612026565b610d79565b005b61035e610d97565b60405161036b91906124cf565b60405180910390f35b61038e60048036038101906103899190611f4c565b610d9d565b005b610398610ecd565b6040516103a59190612323565b60405180910390f35b6103b6610ef3565b6040516103c39190612359565b60405180910390f35b6103e660048036038101906103e19190612026565b610f19565b6040516103f391906124cf565b60405180910390f35b61041660048036038101906104119190612026565b6110e3565b005b610432600480360381019061042d9190612026565b611365565b60405161043f91906124cf565b60405180910390f35b61045061137d565b60405161045d91906124cf565b60405180910390f35b610480600480360381019061047b9190611f4c565b611383565b005b61048a61162e565b60405161049791906122df565b60405180910390f35b6104ba60048036038101906104b59190612026565b611654565b005b6104d660048036038101906104d19190611f4c565b61171e565b005b6104f260048036038101906104ed9190611f4c565b611816565b005b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610535611946565b73ffffffffffffffffffffffffffffffffffffffff161461058b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610582906123cf565b60405180910390fd5b600081116105ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c59061246f565b60405180910390fd5b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161062b91906122df565b60206040518083038186803b15801561064357600080fd5b505afa158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b9190612053565b905060006106e4606d546106d66127106106c8606b546106ba606c546106ac606d548b61194e90919063ffffffff16565b61194e90919063ffffffff16565b61196490919063ffffffff16565b61197a90919063ffffffff16565b61199090919063ffffffff16565b905080831115610729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107209061246f565b60405180910390fd5b61073e83606d5461194e90919063ffffffff16565b606d81905550606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61078a611946565b856040518363ffffffff1660e01b81526004016107a89291906122fa565b602060405180830381600087803b1580156107c257600080fd5b505af11580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190611ff9565b50505050565b606d5481565b600060019054906101000a900460ff168061082c575060008054906101000a900460ff16155b61086b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108629061244f565b60405180910390fd5b60008060019054906101000a900460ff1615905080156108bb576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6108c68484846119a6565b80156108e75760008060016101000a81548160ff0219169083151502179055505b50505050565b80606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610939611946565b73ffffffffffffffffffffffffffffffffffffffff16610957610d4f565b73ffffffffffffffffffffffffffffffffffffffff16146109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a49061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a149061238f565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610a6c82610f19565b9050919050565b610a9981606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e6000848152602001908152602001600020819055505050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ae2611946565b73ffffffffffffffffffffffffffffffffffffffff16610b00610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614610b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4d9061248f565b60405180910390fd5b610b606000611a9d565b565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000905060005b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610bed91906122df565b60206040518083038186803b158015610c0557600080fd5b505afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612053565b811015610d1f576000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b8152600401610ca39291906122fa565b60206040518083038186803b158015610cbb57600080fd5b505afa158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf39190612053565b9050610cfe81610f19565b83610d0991906124fb565b9250508080610d17906126d1565b915050610b92565b5080915050919050565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d8e81606c5461194e90919063ffffffff16565b606c8190555050565b606b5481565b610da5611946565b73ffffffffffffffffffffffffffffffffffffffff16610dc3610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e109061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e80906123ef565b60405180910390fd5b80606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663971276ae846040518263ffffffff1660e01b8152600401610f7791906124cf565b60806040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc791906120c0565b50925050506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561103657600080fd5b505afa15801561104a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106e9190612053565b90506000611098606461108a848661196490919063ffffffff16565b61197a90919063ffffffff16565b905060006110c460646110b6606b548561196490919063ffffffff16565b61197a90919063ffffffff16565b9050600081836110d491906125dc565b90508395505050505050919050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e826040518263ffffffff1660e01b815260040161113e91906124cf565b60206040518083038186803b15801561115657600080fd5b505afa15801561116a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118e9190611f79565b73ffffffffffffffffffffffffffffffffffffffff166111ac611946565b73ffffffffffffffffffffffffffffffffffffffff1614611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f99061240f565b60405180910390fd5b600061120d82610f19565b905060008111611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906124af565b60405180910390fd5b61126781606c5461194e90919063ffffffff16565b606c8190555061129381606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e600084815260200190815260200160002081905550606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6112f0611946565b836040518363ffffffff1660e01b815260040161130e9291906122fa565b602060405180830381600087803b15801561132857600080fd5b505af115801561133c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113609190611ff9565b505050565b606e6020528060005260406000206000915090505481565b606c5481565b6000805b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016113e291906122df565b60206040518083038186803b1580156113fa57600080fd5b505afa15801561140e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114329190612053565b811015611572576000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5985846040518363ffffffff1660e01b81526004016114989291906122fa565b60206040518083038186803b1580156114b057600080fd5b505afa1580156114c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e89190612053565b905060006114f582610f19565b905061150c84606c5461194e90919063ffffffff16565b606c8190555061153884606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e600084815260200190815260200160002081905550808461155b91906124fb565b93505050808061156a906126d1565b915050611387565b50606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6115b9611946565b836040518363ffffffff1660e01b81526004016115d79291906122fa565b602060405180830381600087803b1580156115f157600080fd5b505af1158015611605573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116299190611ff9565b505050565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61165c611946565b73ffffffffffffffffffffffffffffffffffffffff1661167a610d4f565b73ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c79061248f565b60405180910390fd5b6127108110611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b9061242f565b60405180910390fd5b80606b8190555050565b611726611946565b73ffffffffffffffffffffffffffffffffffffffff16611744610d4f565b73ffffffffffffffffffffffffffffffffffffffff161461179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117919061248f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561180a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611801906123af565b60405180910390fd5b61181381611a9d565b50565b61181e611946565b73ffffffffffffffffffffffffffffffffffffffff1661183c610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614611892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118899061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f99061238f565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000818361195c91906124fb565b905092915050565b600081836119729190612582565b905092915050565b600081836119889190612551565b905092915050565b6000818361199e91906125dc565b905092915050565b600060019054906101000a900460ff16806119cc575060008054906101000a900460ff16155b611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a029061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611a5b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611a63611b63565b611a6b611c3c565b611a76848484611d25565b8015611a975760008060016101000a81548160ff0219169083151502179055505b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1680611b89575060008054906101000a900460ff16155b611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf9061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611c18576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015611c395760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611c62575060008054906101000a900460ff16155b611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c989061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611cf1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d01611cfc611946565b611a9d565b8015611d225760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611d4b575060008054906101000a900460ff16155b611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d819061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611dda576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6127108210611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e159061242f565b60405180910390fd5b83606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606b819055508015611ec85760008060016101000a81548160ff0219169083151502179055505b50505050565b600081359050611edd81612963565b92915050565b600081519050611ef281612963565b92915050565b600081519050611f078161297a565b92915050565b600081359050611f1c81612991565b92915050565b600081519050611f3181612991565b92915050565b600081519050611f46816129a8565b92915050565b600060208284031215611f6257611f61612778565b5b6000611f7084828501611ece565b91505092915050565b600060208284031215611f8f57611f8e612778565b5b6000611f9d84828501611ee3565b91505092915050565b600080600060608486031215611fbf57611fbe612778565b5b6000611fcd86828701611ece565b9350506020611fde86828701611ece565b9250506040611fef86828701611f0d565b9150509250925092565b60006020828403121561200f5761200e612778565b5b600061201d84828501611ef8565b91505092915050565b60006020828403121561203c5761203b612778565b5b600061204a84828501611f0d565b91505092915050565b60006020828403121561206957612068612778565b5b600061207784828501611f22565b91505092915050565b6000806040838503121561209757612096612778565b5b60006120a585828601611f0d565b92505060206120b685828601611f0d565b9150509250929050565b600080600080608085870312156120da576120d9612778565b5b60006120e887828801611f37565b94505060206120f987828801611f22565b935050604061210a87828801611f22565b925050606061211b87828801611f22565b91505092959194509250565b61213081612610565b82525050565b61213f81612665565b82525050565b61214e81612677565b82525050565b61215d81612689565b82525050565b61216c8161269b565b82525050565b600061217f6011836124ea565b915061218a8261277d565b602082019050919050565b60006121a26026836124ea565b91506121ad826127a6565b604082019050919050565b60006121c5600d836124ea565b91506121d0826127f5565b602082019050919050565b60006121e86012836124ea565b91506121f38261281e565b602082019050919050565b600061220b600e836124ea565b915061221682612847565b602082019050919050565b600061222e600b836124ea565b915061223982612870565b602082019050919050565b6000612251602e836124ea565b915061225c82612899565b604082019050919050565b6000612274600c836124ea565b915061227f826128e8565b602082019050919050565b60006122976020836124ea565b91506122a282612911565b602082019050919050565b60006122ba6008836124ea565b91506122c58261293a565b602082019050919050565b6122d98161264e565b82525050565b60006020820190506122f46000830184612127565b92915050565b600060408201905061230f6000830185612127565b61231c60208301846122d0565b9392505050565b60006020820190506123386000830184612136565b92915050565b60006020820190506123536000830184612145565b92915050565b600060208201905061236e6000830184612154565b92915050565b60006020820190506123896000830184612163565b92915050565b600060208201905081810360008301526123a881612172565b9050919050565b600060208201905081810360008301526123c881612195565b9050919050565b600060208201905081810360008301526123e8816121b8565b9050919050565b60006020820190508181036000830152612408816121db565b9050919050565b60006020820190508181036000830152612428816121fe565b9050919050565b6000602082019050818103600083015261244881612221565b9050919050565b6000602082019050818103600083015261246881612244565b9050919050565b6000602082019050818103600083015261248881612267565b9050919050565b600060208201905081810360008301526124a88161228a565b9050919050565b600060208201905081810360008301526124c8816122ad565b9050919050565b60006020820190506124e460008301846122d0565b92915050565b600082825260208201905092915050565b60006125068261264e565b91506125118361264e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125465761254561271a565b5b828201905092915050565b600061255c8261264e565b91506125678361264e565b92508261257757612576612749565b5b828204905092915050565b600061258d8261264e565b91506125988361264e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125d1576125d061271a565b5b828202905092915050565b60006125e78261264e565b91506125f28361264e565b9250828210156126055761260461271a565b5b828203905092915050565b600061261b8261262e565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612670826126ad565b9050919050565b6000612682826126ad565b9050919050565b6000612694826126ad565b9050919050565b60006126a6826126ad565b9050919050565b60006126b8826126bf565b9050919050565b60006126ca8261262e565b9050919050565b60006126dc8261264e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561270f5761270e61271a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4e46542061646472657373206572726f72000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f207065726d697373696f6e00000000000000000000000000000000000000600082015250565b7f6c6f636b2061646472657373206572726f720000000000000000000000000000600082015250565b7f6e6f7420796f757220746f6b656e000000000000000000000000000000000000600082015250565b7f726174696f206572726f72000000000000000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f616d6f756e74206572726f720000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6e6f20626f6e7573000000000000000000000000000000000000000000000000600082015250565b61296c81612610565b811461297757600080fd5b50565b61298381612622565b811461298e57600080fd5b50565b61299a8161264e565b81146129a557600080fd5b50565b6129b181612658565b81146129bc57600080fd5b5056fea26469706673582212205bc8bbf8ecf098ce61dadd39cd1bca27e15676eb072fa29b64475acc42cda38464736f6c63430008070033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806395a0af47116100f9578063d7e751ff11610097578063dc07e9fc11610071578063dc07e9fc14610482578063e7bd7191146104a0578063f2fde38b146104bc578063f56e9c66146104d8576101a9565b8063d7e751ff14610418578063d9fc0e7f14610448578063da117df814610466576101a9565b8063b7ca51e8116100d3578063b7ca51e814610390578063bcb47005146103ae578063c861f243146103cc578063c9fd9823146103fc576101a9565b806395a0af471461033a5780639c3709ea14610356578063a32088d414610374576101a9565b806357fe507a116101665780637666fc88116101405780637666fc88146102b05780637de61382146102ce5780637fdab94e146102fe5780638da5cb5b1461031c576101a9565b806357fe507a1461026c57806370dca97414610288578063715018a6146102a6576101a9565b8063085a4f15146101ae5780630f8a8a54146101ca5780631794bb3c146101e85780631f6f7be51461020457806337ef75c8146102205780634aa66b281461023c575b600080fd5b6101c860048036038101906101c39190612026565b6104f4565b005b6101d2610800565b6040516101df91906124cf565b60405180910390f35b61020260048036038101906101fd9190611fa6565b610806565b005b61021e60048036038101906102199190611f4c565b6108ed565b005b61023a60048036038101906102359190611f4c565b610931565b005b61025660048036038101906102519190612026565b610a61565b60405161026391906124cf565b60405180910390f35b61028660048036038101906102819190612080565b610a73565b005b610290610ab4565b60405161029d919061233e565b60405180910390f35b6102ae610ada565b005b6102b8610b62565b6040516102c59190612374565b60405180910390f35b6102e860048036038101906102e39190611f4c565b610b88565b6040516102f591906124cf565b60405180910390f35b610306610d29565b60405161031391906122df565b60405180910390f35b610324610d4f565b60405161033191906122df565b60405180910390f35b610354600480360381019061034f9190612026565b610d79565b005b61035e610d97565b60405161036b91906124cf565b60405180910390f35b61038e60048036038101906103899190611f4c565b610d9d565b005b610398610ecd565b6040516103a59190612323565b60405180910390f35b6103b6610ef3565b6040516103c39190612359565b60405180910390f35b6103e660048036038101906103e19190612026565b610f19565b6040516103f391906124cf565b60405180910390f35b61041660048036038101906104119190612026565b6110e3565b005b610432600480360381019061042d9190612026565b611365565b60405161043f91906124cf565b60405180910390f35b61045061137d565b60405161045d91906124cf565b60405180910390f35b610480600480360381019061047b9190611f4c565b611383565b005b61048a61162e565b60405161049791906122df565b60405180910390f35b6104ba60048036038101906104b59190612026565b611654565b005b6104d660048036038101906104d19190611f4c565b61171e565b005b6104f260048036038101906104ed9190611f4c565b611816565b005b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610535611946565b73ffffffffffffffffffffffffffffffffffffffff161461058b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610582906123cf565b60405180910390fd5b600081116105ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c59061246f565b60405180910390fd5b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161062b91906122df565b60206040518083038186803b15801561064357600080fd5b505afa158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b9190612053565b905060006106e4606d546106d66127106106c8606b546106ba606c546106ac606d548b61194e90919063ffffffff16565b61194e90919063ffffffff16565b61196490919063ffffffff16565b61197a90919063ffffffff16565b61199090919063ffffffff16565b905080831115610729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107209061246f565b60405180910390fd5b61073e83606d5461194e90919063ffffffff16565b606d81905550606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61078a611946565b856040518363ffffffff1660e01b81526004016107a89291906122fa565b602060405180830381600087803b1580156107c257600080fd5b505af11580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190611ff9565b50505050565b606d5481565b600060019054906101000a900460ff168061082c575060008054906101000a900460ff16155b61086b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108629061244f565b60405180910390fd5b60008060019054906101000a900460ff1615905080156108bb576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6108c68484846119a6565b80156108e75760008060016101000a81548160ff0219169083151502179055505b50505050565b80606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610939611946565b73ffffffffffffffffffffffffffffffffffffffff16610957610d4f565b73ffffffffffffffffffffffffffffffffffffffff16146109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a49061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a149061238f565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610a6c82610f19565b9050919050565b610a9981606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e6000848152602001908152602001600020819055505050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ae2611946565b73ffffffffffffffffffffffffffffffffffffffff16610b00610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614610b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4d9061248f565b60405180910390fd5b610b606000611a9d565b565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000905060005b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610bed91906122df565b60206040518083038186803b158015610c0557600080fd5b505afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612053565b811015610d1f576000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b8152600401610ca39291906122fa565b60206040518083038186803b158015610cbb57600080fd5b505afa158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf39190612053565b9050610cfe81610f19565b83610d0991906124fb565b9250508080610d17906126d1565b915050610b92565b5080915050919050565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d8e81606c5461194e90919063ffffffff16565b606c8190555050565b606b5481565b610da5611946565b73ffffffffffffffffffffffffffffffffffffffff16610dc3610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e109061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e80906123ef565b60405180910390fd5b80606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663971276ae846040518263ffffffff1660e01b8152600401610f7791906124cf565b60806040518083038186803b158015610f8f57600080fd5b505afa158015610fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc791906120c0565b50925050506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff1660e01b815260040160206040518083038186803b15801561103657600080fd5b505afa15801561104a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106e9190612053565b90506000611098606461108a848661196490919063ffffffff16565b61197a90919063ffffffff16565b905060006110c460646110b6606b548561196490919063ffffffff16565b61197a90919063ffffffff16565b9050600081836110d491906125dc565b90508395505050505050919050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e826040518263ffffffff1660e01b815260040161113e91906124cf565b60206040518083038186803b15801561115657600080fd5b505afa15801561116a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118e9190611f79565b73ffffffffffffffffffffffffffffffffffffffff166111ac611946565b73ffffffffffffffffffffffffffffffffffffffff1614611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f99061240f565b60405180910390fd5b600061120d82610f19565b905060008111611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906124af565b60405180910390fd5b61126781606c5461194e90919063ffffffff16565b606c8190555061129381606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e600084815260200190815260200160002081905550606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6112f0611946565b836040518363ffffffff1660e01b815260040161130e9291906122fa565b602060405180830381600087803b15801561132857600080fd5b505af115801561133c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113609190611ff9565b505050565b606e6020528060005260406000206000915090505481565b606c5481565b6000805b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016113e291906122df565b60206040518083038186803b1580156113fa57600080fd5b505afa15801561140e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114329190612053565b811015611572576000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5985846040518363ffffffff1660e01b81526004016114989291906122fa565b60206040518083038186803b1580156114b057600080fd5b505afa1580156114c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e89190612053565b905060006114f582610f19565b905061150c84606c5461194e90919063ffffffff16565b606c8190555061153884606e60008581526020019081526020016000205461194e90919063ffffffff16565b606e600084815260200190815260200160002081905550808461155b91906124fb565b93505050808061156a906126d1565b915050611387565b50606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6115b9611946565b836040518363ffffffff1660e01b81526004016115d79291906122fa565b602060405180830381600087803b1580156115f157600080fd5b505af1158015611605573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116299190611ff9565b505050565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61165c611946565b73ffffffffffffffffffffffffffffffffffffffff1661167a610d4f565b73ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c79061248f565b60405180910390fd5b6127108110611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b9061242f565b60405180910390fd5b80606b8190555050565b611726611946565b73ffffffffffffffffffffffffffffffffffffffff16611744610d4f565b73ffffffffffffffffffffffffffffffffffffffff161461179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117919061248f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561180a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611801906123af565b60405180910390fd5b61181381611a9d565b50565b61181e611946565b73ffffffffffffffffffffffffffffffffffffffff1661183c610d4f565b73ffffffffffffffffffffffffffffffffffffffff1614611892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118899061248f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f99061238f565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000818361195c91906124fb565b905092915050565b600081836119729190612582565b905092915050565b600081836119889190612551565b905092915050565b6000818361199e91906125dc565b905092915050565b600060019054906101000a900460ff16806119cc575060008054906101000a900460ff16155b611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a029061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611a5b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611a63611b63565b611a6b611c3c565b611a76848484611d25565b8015611a975760008060016101000a81548160ff0219169083151502179055505b50505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1680611b89575060008054906101000a900460ff16155b611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf9061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611c18576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015611c395760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611c62575060008054906101000a900460ff16155b611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c989061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611cf1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611d01611cfc611946565b611a9d565b8015611d225760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611d4b575060008054906101000a900460ff16155b611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d819061244f565b60405180910390fd5b60008060019054906101000a900460ff161590508015611dda576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6127108210611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e159061242f565b60405180910390fd5b83606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606b819055508015611ec85760008060016101000a81548160ff0219169083151502179055505b50505050565b600081359050611edd81612963565b92915050565b600081519050611ef281612963565b92915050565b600081519050611f078161297a565b92915050565b600081359050611f1c81612991565b92915050565b600081519050611f3181612991565b92915050565b600081519050611f46816129a8565b92915050565b600060208284031215611f6257611f61612778565b5b6000611f7084828501611ece565b91505092915050565b600060208284031215611f8f57611f8e612778565b5b6000611f9d84828501611ee3565b91505092915050565b600080600060608486031215611fbf57611fbe612778565b5b6000611fcd86828701611ece565b9350506020611fde86828701611ece565b9250506040611fef86828701611f0d565b9150509250925092565b60006020828403121561200f5761200e612778565b5b600061201d84828501611ef8565b91505092915050565b60006020828403121561203c5761203b612778565b5b600061204a84828501611f0d565b91505092915050565b60006020828403121561206957612068612778565b5b600061207784828501611f22565b91505092915050565b6000806040838503121561209757612096612778565b5b60006120a585828601611f0d565b92505060206120b685828601611f0d565b9150509250929050565b600080600080608085870312156120da576120d9612778565b5b60006120e887828801611f37565b94505060206120f987828801611f22565b935050604061210a87828801611f22565b925050606061211b87828801611f22565b91505092959194509250565b61213081612610565b82525050565b61213f81612665565b82525050565b61214e81612677565b82525050565b61215d81612689565b82525050565b61216c8161269b565b82525050565b600061217f6011836124ea565b915061218a8261277d565b602082019050919050565b60006121a26026836124ea565b91506121ad826127a6565b604082019050919050565b60006121c5600d836124ea565b91506121d0826127f5565b602082019050919050565b60006121e86012836124ea565b91506121f38261281e565b602082019050919050565b600061220b600e836124ea565b915061221682612847565b602082019050919050565b600061222e600b836124ea565b915061223982612870565b602082019050919050565b6000612251602e836124ea565b915061225c82612899565b604082019050919050565b6000612274600c836124ea565b915061227f826128e8565b602082019050919050565b60006122976020836124ea565b91506122a282612911565b602082019050919050565b60006122ba6008836124ea565b91506122c58261293a565b602082019050919050565b6122d98161264e565b82525050565b60006020820190506122f46000830184612127565b92915050565b600060408201905061230f6000830185612127565b61231c60208301846122d0565b9392505050565b60006020820190506123386000830184612136565b92915050565b60006020820190506123536000830184612145565b92915050565b600060208201905061236e6000830184612154565b92915050565b60006020820190506123896000830184612163565b92915050565b600060208201905081810360008301526123a881612172565b9050919050565b600060208201905081810360008301526123c881612195565b9050919050565b600060208201905081810360008301526123e8816121b8565b9050919050565b60006020820190508181036000830152612408816121db565b9050919050565b60006020820190508181036000830152612428816121fe565b9050919050565b6000602082019050818103600083015261244881612221565b9050919050565b6000602082019050818103600083015261246881612244565b9050919050565b6000602082019050818103600083015261248881612267565b9050919050565b600060208201905081810360008301526124a88161228a565b9050919050565b600060208201905081810360008301526124c8816122ad565b9050919050565b60006020820190506124e460008301846122d0565b92915050565b600082825260208201905092915050565b60006125068261264e565b91506125118361264e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125465761254561271a565b5b828201905092915050565b600061255c8261264e565b91506125678361264e565b92508261257757612576612749565b5b828204905092915050565b600061258d8261264e565b91506125988361264e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125d1576125d061271a565b5b828202905092915050565b60006125e78261264e565b91506125f28361264e565b9250828210156126055761260461271a565b5b828203905092915050565b600061261b8261262e565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612670826126ad565b9050919050565b6000612682826126ad565b9050919050565b6000612694826126ad565b9050919050565b60006126a6826126ad565b9050919050565b60006126b8826126bf565b9050919050565b60006126ca8261262e565b9050919050565b60006126dc8261264e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561270f5761270e61271a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4e46542061646472657373206572726f72000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f207065726d697373696f6e00000000000000000000000000000000000000600082015250565b7f6c6f636b2061646472657373206572726f720000000000000000000000000000600082015250565b7f6e6f7420796f757220746f6b656e000000000000000000000000000000000000600082015250565b7f726174696f206572726f72000000000000000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f616d6f756e74206572726f720000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6e6f20626f6e7573000000000000000000000000000000000000000000000000600082015250565b61296c81612610565b811461297757600080fd5b50565b61298381612622565b811461298e57600080fd5b50565b61299a8161264e565b81146129a557600080fd5b50565b6129b181612658565b81146129bc57600080fd5b5056fea26469706673582212205bc8bbf8ecf098ce61dadd39cd1bca27e15676eb072fa29b64475acc42cda38464736f6c63430008070033