Address Details
contract
0x29dE0A6BA56bd65FF5f0F50007f42dB82d074421
- Contract Name
- StarNFTLogic
- Creator
- 0x7d6740–c9cfce at 0x445c4c–cb051f
- 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
- Fetching transactions...
- Transfers
- Fetching transfers...
- Gas Used
- Fetching gas used...
- Last Balance Update
- 8732386
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- StarNFTLogic
- Optimization enabled
- false
- Compiler version
- v0.8.10+commit.fc410830
- EVM Version
- london
- Verified at
- 2022-08-21T17:11:29.408461Z
scripts/StarNFTLogic.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.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 "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "./IStarNFT.sol"; interface IERC20Burnable is IERC20Upgradeable { function burnFrom(address account, uint256 amount) external; } contract StarNFTLogic is ContextUpgradeable, OwnableUpgradeable { using SafeERC20Upgradeable for IERC20Upgradeable; using SafeMathUpgradeable for uint256; using CountersUpgradeable for CountersUpgradeable.Counter; CountersUpgradeable.Counter private cateIds; struct StarCate { uint256 maxUnit; uint256 multiple; uint256 usedUnit; } struct StarMeta { StarLevel level; uint256 cateId; uint256 price; uint256 multiple; } struct LevelMethod { uint256 usedUnit; uint256 burned; uint256 price; bool isInc; uint256 base; uint256 step; bool isUnique; } enum StarLevel { COMMON, SPECIAL, EXCLUSIVE } IERC20Burnable public starToken; IStarNFT public starNFT; address public bonusAddr; uint256 public totalPrice; uint256 fee; mapping(uint256 => StarCate) public cateId; mapping(StarLevel => uint256[]) public starCate; mapping(StarLevel => LevelMethod) public levelMethod; mapping(uint256 => StarMeta) public starMeta; function initialize(address _starToken, address _bonus, address _starNFT, uint256 _fee) public initializer { __starNFTLogic_init(_starToken, _bonus, _starNFT, _fee); } function __starNFTLogic_init(address _starToken, address _bonus, address _starNFT, uint256 _fee) internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); __starNFTLogic_init_unchained(_starToken, _bonus, _starNFT, _fee); } function __starNFTLogic_init_unchained(address _starToken, address _bonus, address _starNFT, uint256 _fee) internal initializer { starToken = IERC20Burnable(_starToken); starNFT = IStarNFT(_starNFT); bonusAddr = _bonus; fee = _fee; } //mint function function mint() public returns (uint256) { uint256 _cateId = starCate[StarLevel.COMMON][getRndCateIndex(StarLevel.COMMON)]; LevelMethod storage _levelMethod = levelMethod[StarLevel.COMMON]; uint256 _price = _levelMethod.price; require(_price > 0, "level price error"); if (_levelMethod.isInc && _levelMethod.base > 0) { _price = _price.add(_levelMethod.usedUnit.mod(_levelMethod.base).mul(_levelMethod.step)); } uint256 _fee = _price.mul(fee).div(100); starToken.transferFrom(_msgSender(), address(this), _price); starToken.burnFrom(address(this), _price.sub(_fee)); starToken.transfer(bonusAddr, _fee); uint256 _starId = starNFT.mint(_msgSender(), _cateId); uint256 _multi = cateId[_cateId].multiple; starMeta[_starId] = StarMeta(StarLevel.COMMON, _cateId, _price, _multi); cateId[_cateId].usedUnit += 1; _levelMethod.usedUnit += 1; totalPrice = totalPrice.add(_price.mul(_multi).div(100)); return _starId; } function melt(uint256[] memory _tokenIds, StarLevel _from, StarLevel _to) public returns (uint256) { require(uint256(_to) == uint256(_from) + 1, "melt level error"); require(starNFT.massVerifyOwner(_msgSender(), _tokenIds), "not your tokens"); (uint256 _price, uint256 _multiple) = verifyTokens(_from, _to, _tokenIds); require(_price != 0, "token error"); starNFT.massBurn(_tokenIds); levelMethod[_from].burned += _tokenIds.length; uint256 _cateId = starCate[_to][getRndCateIndex(_to)]; uint256 _starId = starNFT.mint(_msgSender(), _cateId); uint256 _multi = _multiple.mul(cateId[_cateId].multiple).div(100); starMeta[_starId] = StarMeta(_to, _cateId, _price, _multi); cateId[_cateId].usedUnit += 1; levelMethod[_to].usedUnit += 1; totalPrice = totalPrice.add(_price.mul(_multi).div(100)); return _starId; } function test(StarLevel _newLevel,uint256[] memory _tokenIds) view public returns(bool){ uint256[] memory _cateIds = new uint256[](_tokenIds.length); bool status = indexOf(_cateIds, starMeta[_tokenIds[0]].cateId); return status; } function indexOf(uint256[] memory A, uint256 a) internal pure returns (bool) { uint256 length = A.length; for (uint256 i = 0; i < length; i++) { if (A[i] == a) { return true; } } return false; } function verifyTokens(StarLevel _level, StarLevel _newLevel, uint256[] memory _tokenIds) view internal returns (uint256, uint256) { LevelMethod memory _levelMethod = levelMethod[_newLevel]; uint256 _price = _levelMethod.price; if (_levelMethod.isInc && _levelMethod.base > 0) { _price = _price.add(_levelMethod.usedUnit.div(_levelMethod.base).mul(_levelMethod.step)); } require(_tokenIds.length == _price, "token amount error"); uint256 multiple; uint256 price; uint256[] memory _cateIds = new uint256[](_tokenIds.length); for (uint256 i = 0; i < _tokenIds.length; i ++) { require(starMeta[_tokenIds[i]].level == _level, "error level"); price = price.add(starMeta[_tokenIds[i]].price); multiple = multiple.add(starMeta[_tokenIds[i]].multiple); if (_levelMethod.isUnique) { require(!indexOf(_cateIds, starMeta[_tokenIds[i]].cateId), "must be unique cate"); } _cateIds[i] = starMeta[_tokenIds[i]].cateId; } return (price, multiple.div(_tokenIds.length)); } function getCateLength(StarLevel _level) public view returns (uint256) { return starCate[_level].length; } function getRndCateIndex(StarLevel _level) internal view returns (uint256) { uint256[] storage _cate = starCate[_level]; require(_cate.length > 0, "no cate"); uint256 _rndCateIndex; uint256 nonce; do { _rndCateIndex = uint256(keccak256(abi.encodePacked(block.coinbase, msg.sender, nonce, block.timestamp))) % (_cate.length -1) + 1; if (cateId[_cate[_rndCateIndex]].maxUnit > cateId[_cate[_rndCateIndex]].usedUnit) break; nonce ++; } while (true); return _rndCateIndex; } function addCate(StarLevel _level, uint256 _maxUnit, uint256 _multiple, string memory _cateUri) onlyOwner public { cateIds.increment(); uint256 _cateId = cateIds.current(); cateId[_cateId] = StarCate(_maxUnit, _multiple, 0); starCate[_level].push(_cateId); starNFT.setCateURI(_cateId, _cateUri); } function editCate(uint256 _cateId, uint256 _maxUnit, uint256 _multiple, string memory _cateUri) onlyOwner public { StarCate storage _cate = cateId[_cateId]; _cate.maxUnit = _maxUnit; _cate.multiple = _multiple; starNFT.setCateURI(_cateId, _cateUri); } function setLevelMethod(StarLevel _level, uint256 _price, bool _isInc, uint256 _base, uint256 _step, bool _isUnique) onlyOwner public { LevelMethod storage _levelMethod = levelMethod[_level]; _levelMethod.price = _price; _levelMethod.isInc = _isInc; _levelMethod.base = _base; _levelMethod.step = _step; _levelMethod.isUnique = _isUnique; } function setStarNFT(address _starNFT) onlyOwner public { require(_starNFT != address(0), "address error"); starNFT = IStarNFT(_starNFT); } }
/_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.0 (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/ERC20/utils/SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; import "../../../utils/AddressUpgradeable.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20Upgradeable { using AddressUpgradeable for address; function safeTransfer( IERC20Upgradeable token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20Upgradeable token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20Upgradeable token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
/_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/AddressUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 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.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/CountersUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
/_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.0 (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; } } }
/scripts/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":"nonpayable","outputs":[],"name":"addCate","inputs":[{"type":"uint8","name":"_level","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint256","name":"_maxUnit","internalType":"uint256"},{"type":"uint256","name":"_multiple","internalType":"uint256"},{"type":"string","name":"_cateUri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"bonusAddr","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"maxUnit","internalType":"uint256"},{"type":"uint256","name":"multiple","internalType":"uint256"},{"type":"uint256","name":"usedUnit","internalType":"uint256"}],"name":"cateId","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"editCate","inputs":[{"type":"uint256","name":"_cateId","internalType":"uint256"},{"type":"uint256","name":"_maxUnit","internalType":"uint256"},{"type":"uint256","name":"_multiple","internalType":"uint256"},{"type":"string","name":"_cateUri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCateLength","inputs":[{"type":"uint8","name":"_level","internalType":"enum StarNFTLogic.StarLevel"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"_starToken","internalType":"address"},{"type":"address","name":"_bonus","internalType":"address"},{"type":"address","name":"_starNFT","internalType":"address"},{"type":"uint256","name":"_fee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"usedUnit","internalType":"uint256"},{"type":"uint256","name":"burned","internalType":"uint256"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"bool","name":"isInc","internalType":"bool"},{"type":"uint256","name":"base","internalType":"uint256"},{"type":"uint256","name":"step","internalType":"uint256"},{"type":"bool","name":"isUnique","internalType":"bool"}],"name":"levelMethod","inputs":[{"type":"uint8","name":"","internalType":"enum StarNFTLogic.StarLevel"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"melt","inputs":[{"type":"uint256[]","name":"_tokenIds","internalType":"uint256[]"},{"type":"uint8","name":"_from","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint8","name":"_to","internalType":"enum StarNFTLogic.StarLevel"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mint","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":"setLevelMethod","inputs":[{"type":"uint8","name":"_level","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint256","name":"_price","internalType":"uint256"},{"type":"bool","name":"_isInc","internalType":"bool"},{"type":"uint256","name":"_base","internalType":"uint256"},{"type":"uint256","name":"_step","internalType":"uint256"},{"type":"bool","name":"_isUnique","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStarNFT","inputs":[{"type":"address","name":"_starNFT","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"starCate","inputs":[{"type":"uint8","name":"","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"level","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint256","name":"cateId","internalType":"uint256"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"uint256","name":"multiple","internalType":"uint256"}],"name":"starMeta","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IStarNFT"}],"name":"starNFT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20Burnable"}],"name":"starToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"test","inputs":[{"type":"uint8","name":"_newLevel","internalType":"enum StarNFTLogic.StarLevel"},{"type":"uint256[]","name":"_tokenIds","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalPrice","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b506138f0806100206000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806382668f20116100ad578063ab0d92dd11610071578063ab0d92dd14610362578063b0bf74e314610380578063b7ca51e81461039c578063cf756fdf146103ba578063f2fde38b146103d65761012c565b806382668f201461028f57806386628542146102bf5780638da5cb5b146102f5578063971276ae146103135780639c2fc623146103465761012c565b80634d85ca26116100f45780634d85ca26146101ff5780636b57d9bd1461021b5780636fa0feb91461023757806370dca97414610267578063715018a6146102855761012c565b8063069f2c0d146101315780631249c58b1461016157806313eaabb81461017f5780631d7cf6c61461019d5780632018ce8b146101cd575b600080fd5b61014b600480360381019061014691906124de565b6103f2565b604051610158919061252d565b60405180910390f35b610169610423565b604051610176919061252d565b60405180910390f35b6101876109a7565b6040516101949190612589565b60405180910390f35b6101b760048036038101906101b291906126fd565b6109cd565b6040516101c4919061252d565b60405180910390f35b6101e760048036038101906101e2919061276c565b610f0b565b6040516101f693929190612799565b60405180910390f35b61021960048036038101906102149190612885565b610f35565b005b61023560048036038101906102309190612940565b611070565b005b610251600480360381019061024c91906129cd565b611183565b60405161025e919061252d565b60405180910390f35b61026f6111c7565b60405161027c9190612a59565b60405180910390f35b61028d6111ed565b005b6102a960048036038101906102a49190612a74565b611275565b6040516102b69190612adf565b60405180910390f35b6102d960048036038101906102d491906129cd565b61130e565b6040516102ec9796959493929190612afa565b60405180910390f35b6102fd61136a565b60405161030a9190612589565b60405180910390f35b61032d6004803603810190610328919061276c565b611394565b60405161033d9493929190612be0565b60405180910390f35b610360600480360381019061035b9190612c25565b6113d1565b005b61036a6115a9565b604051610377919061252d565b60405180910390f35b61039a60048036038101906103959190612cd4565b6115af565b005b6103a46116df565b6040516103b19190612d22565b60405180910390f35b6103d460048036038101906103cf9190612d3d565b611705565b005b6103f060048036038101906103eb9190612cd4565b6117ee565b005b606c602052816000526040600020818154811061040e57600080fd5b90600052602060002001600091509150505481565b600080606c600080600281111561043d5761043c612b69565b5b600281111561044f5761044e612b69565b5b815260200190815260200160002061046760006118e6565b8154811061047857610477612da4565b5b906000526020600020015490506000606d600080600281111561049e5761049d612b69565b5b60028111156104b0576104af612b69565b5b815260200190815260200160002090506000816002015490506000811161050c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050390612e30565b60405180910390fd5b8160030160009054906101000a900460ff16801561052e575060008260040154115b1561057957610576610567836005015461055985600401548660000154611a5890919063ffffffff16565b611a6e90919063ffffffff16565b82611a8490919063ffffffff16565b90505b60006105a36064610595606a5485611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b9050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6105eb611ab0565b30856040518463ffffffff1660e01b815260040161060b93929190612e50565b6020604051808303816000875af115801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190612e9c565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790306106a18486611ab890919063ffffffff16565b6040518363ffffffff1660e01b81526004016106be929190612ec9565b600060405180830381600087803b1580156106d857600080fd5b505af11580156106ec573d6000803e3d6000fd5b50505050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161076f929190612ec9565b6020604051808303816000875af115801561078e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b29190612e9c565b506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f196107fb611ab0565b876040518363ffffffff1660e01b8152600401610819929190612ec9565b6020604051808303816000875af1158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190612f07565b90506000606b600087815260200190815260200160002060010154905060405180608001604052806000600281111561089857610897612b69565b5b815260200187815260200185815260200182815250606e600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360028111156108eb576108ea612b69565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606b600088815260200190815260200160002060020160008282546109389190612f63565b9250508190555060018560000160008282546109549190612f63565b9250508190555061099561098460646109768488611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b606954611a8490919063ffffffff16565b60698190555081965050505050505090565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060018360028111156109e4576109e3612b69565b5b6109ee9190612f63565b826002811115610a0157610a00612b69565b5b14610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613005565b60405180910390fd5b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634f69b862610a87611ab0565b866040518363ffffffff1660e01b8152600401610aa59291906130e3565b602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190612e9c565b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c9061315f565b60405180910390fd5b600080610b33858588611ace565b915091506000821415610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b72906131cb565b60405180910390fd5b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d73026876040518263ffffffff1660e01b8152600401610bd691906131eb565b600060405180830381600087803b158015610bf057600080fd5b505af1158015610c04573d6000803e3d6000fd5b505050508551606d6000876002811115610c2157610c20612b69565b5b6002811115610c3357610c32612b69565b5b81526020019081526020016000206001016000828254610c539190612f63565b925050819055506000606c6000866002811115610c7357610c72612b69565b5b6002811115610c8557610c84612b69565b5b8152602001908152602001600020610c9c866118e6565b81548110610cad57610cac612da4565b5b906000526020600020015490506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610d02611ab0565b846040518363ffffffff1660e01b8152600401610d20929190612ec9565b6020604051808303816000875af1158015610d3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d639190612f07565b90506000610da36064610d95606b60008781526020019081526020016000206001015487611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b90506040518060800160405280886002811115610dc357610dc2612b69565b5b815260200184815260200186815260200182815250606e600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690836002811115610e1657610e15612b69565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606b60008581526020019081526020016000206002016000828254610e639190612f63565b925050819055506001606d6000896002811115610e8357610e82612b69565b5b6002811115610e9557610e94612b69565b5b81526020019081526020016000206000016000828254610eb59190612f63565b92505081905550610ef6610ee56064610ed78489611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b606954611a8490919063ffffffff16565b60698190555081955050505050509392505050565b606b6020528060005260406000206000915090508060000154908060010154908060020154905083565b610f3d611ab0565b73ffffffffffffffffffffffffffffffffffffffff16610f5b61136a565b73ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613259565b60405180910390fd5b6000606b60008681526020019081526020016000209050838160000181905550828160010181905550606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e86846040518363ffffffff1660e01b81526004016110379291906132f0565b600060405180830381600087803b15801561105157600080fd5b505af1158015611065573d6000803e3d6000fd5b505050505050505050565b611078611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661109661136a565b73ffffffffffffffffffffffffffffffffffffffff16146110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e390613259565b60405180910390fd5b6000606d600088600281111561110557611104612b69565b5b600281111561111757611116612b69565b5b81526020019081526020016000209050858160020181905550848160030160006101000a81548160ff021916908315150217905550838160040181905550828160050181905550818160060160006101000a81548160ff02191690831515021790555050505050505050565b6000606c600083600281111561119c5761119b612b69565b5b60028111156111ae576111ad612b69565b5b8152602001908152602001600020805490509050919050565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111f5611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661121361136a565b73ffffffffffffffffffffffffffffffffffffffff1614611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613259565b60405180910390fd5b6112736000611ec4565b565b600080825167ffffffffffffffff811115611293576112926125ba565b5b6040519080825280602002602001820160405280156112c15781602001602082028036833780820191505090505b509050600061130182606e6000876000815181106112e2576112e1612da4565b5b6020026020010151815260200190815260200160002060010154611f8a565b9050809250505092915050565b606d6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060040154908060050154908060060160009054906101000a900460ff16905087565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606e6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154905084565b6113d9611ab0565b73ffffffffffffffffffffffffffffffffffffffff166113f761136a565b73ffffffffffffffffffffffffffffffffffffffff161461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490613259565b60405180910390fd5b6114576065611fe9565b60006114636065611fff565b905060405180606001604052808581526020018481526020016000815250606b6000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050606c60008660028111156114cc576114cb612b69565b5b60028111156114de576114dd612b69565b5b8152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e82846040518363ffffffff1660e01b81526004016115709291906132f0565b600060405180830381600087803b15801561158a57600080fd5b505af115801561159e573d6000803e3d6000fd5b505050505050505050565b60695481565b6115b7611ab0565b73ffffffffffffffffffffffffffffffffffffffff166115d561136a565b73ffffffffffffffffffffffffffffffffffffffff161461162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162290613259565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116929061336c565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900460ff168061172b575060008054906101000a900460ff16155b61176a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611761906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156117ba576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6117c68585858561200d565b80156117e75760008060016101000a81548160ff0219169083151502179055505b5050505050565b6117f6611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661181461136a565b73ffffffffffffffffffffffffffffffffffffffff161461186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190613259565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190613490565b60405180910390fd5b6118e381611ec4565b50565b600080606c6000846002811115611900576118ff612b69565b5b600281111561191257611911612b69565b5b815260200190815260200160002090506000818054905011611969576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611960906134fc565b60405180910390fd5b6000805b600180848054905061197f919061351c565b4133844260405160200161199694939291906135f4565b6040516020818303038152906040528051906020012060001c6119b99190613671565b6119c39190612f63565b9150606b60008484815481106119dc576119db612da4565b5b9060005260206000200154815260200190815260200160002060020154606b6000858581548110611a1057611a0f612da4565b5b90600052602060002001548152602001908152602001600020600001541115611a3857611a4d565b8080611a43906136a2565b915050600161196d575b819350505050919050565b60008183611a669190613671565b905092915050565b60008183611a7c91906136eb565b905092915050565b60008183611a929190612f63565b905092915050565b60008183611aa89190613745565b905092915050565b600033905090565b60008183611ac6919061351c565b905092915050565b6000806000606d6000866002811115611aea57611ae9612b69565b5b6002811115611afc57611afb612b69565b5b81526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581525050905060008160400151905081606001518015611b9d575060008260800151115b15611be857611be5611bd68360a00151611bc885608001518660000151611a9a90919063ffffffff16565b611a6e90919063ffffffff16565b82611a8490919063ffffffff16565b90505b80855114611c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c22906137c2565b60405180910390fd5b6000806000875167ffffffffffffffff811115611c4b57611c4a6125ba565b5b604051908082528060200260200182016040528015611c795781602001602082028036833780820191505090505b50905060005b8851811015611e9d578a6002811115611c9b57611c9a612b69565b5b606e60008b8481518110611cb257611cb1612da4565b5b6020026020010151815260200190815260200160002060000160009054906101000a900460ff166002811115611ceb57611cea612b69565b5b14611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d229061382e565b60405180910390fd5b611d6e606e60008b8481518110611d4557611d44612da4565b5b602002602001015181526020019081526020016000206002015484611a8490919063ffffffff16565b9250611db3606e60008b8481518110611d8a57611d89612da4565b5b602002602001015181526020019081526020016000206003015485611a8490919063ffffffff16565b93508560c0015115611e3a57611df982606e60008c8581518110611dda57611dd9612da4565b5b6020026020010151815260200190815260200160002060010154611f8a565b15611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061389a565b60405180910390fd5b5b606e60008a8381518110611e5157611e50612da4565b5b6020026020010151815260200190815260200160002060010154828281518110611e7e57611e7d612da4565b5b6020026020010181815250508080611e95906136a2565b915050611c7f565b5081611eb3895185611a9a90919063ffffffff16565b965096505050505050935093915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808351905060005b81811015611fdc5783858281518110611fb057611faf612da4565b5b60200260200101511415611fc957600192505050611fe3565b8080611fd4906136a2565b915050611f94565b5060009150505b92915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600060019054906101000a900460ff1680612033575060008054906101000a900460ff16155b612072576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612069906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156120c2576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6120ca612106565b6120d26121df565b6120de858585856122c8565b80156120ff5760008060016101000a81548160ff0219169083151502179055505b5050505050565b600060019054906101000a900460ff168061212c575060008054906101000a900460ff16155b61216b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612162906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156121bb576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156121dc5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612205575060008054906101000a900460ff16155b612244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223b906133fe565b60405180910390fd5b60008060019054906101000a900460ff161590508015612294576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6122a461229f611ab0565b611ec4565b80156122c55760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806122ee575060008054906101000a900460ff16155b61232d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612324906133fe565b60405180910390fd5b60008060019054906101000a900460ff16159050801561237d576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b84606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606a8190555080156124685760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000604051905090565b600080fd5b600080fd5b6003811061249057600080fd5b50565b6000813590506124a281612483565b92915050565b6000819050919050565b6124bb816124a8565b81146124c657600080fd5b50565b6000813590506124d8816124b2565b92915050565b600080604083850312156124f5576124f4612479565b5b600061250385828601612493565b9250506020612514858286016124c9565b9150509250929050565b612527816124a8565b82525050565b6000602082019050612542600083018461251e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061257382612548565b9050919050565b61258381612568565b82525050565b600060208201905061259e600083018461257a565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6125f2826125a9565b810181811067ffffffffffffffff82111715612611576126106125ba565b5b80604052505050565b600061262461246f565b905061263082826125e9565b919050565b600067ffffffffffffffff8211156126505761264f6125ba565b5b602082029050602081019050919050565b600080fd5b600061267961267484612635565b61261a565b9050808382526020820190506020840283018581111561269c5761269b612661565b5b835b818110156126c557806126b188826124c9565b84526020840193505060208101905061269e565b5050509392505050565b600082601f8301126126e4576126e36125a4565b5b81356126f4848260208601612666565b91505092915050565b60008060006060848603121561271657612715612479565b5b600084013567ffffffffffffffff8111156127345761273361247e565b5b612740868287016126cf565b935050602061275186828701612493565b925050604061276286828701612493565b9150509250925092565b60006020828403121561278257612781612479565b5b6000612790848285016124c9565b91505092915050565b60006060820190506127ae600083018661251e565b6127bb602083018561251e565b6127c8604083018461251e565b949350505050565b600080fd5b600067ffffffffffffffff8211156127f0576127ef6125ba565b5b6127f9826125a9565b9050602081019050919050565b82818337600083830152505050565b6000612828612823846127d5565b61261a565b905082815260208101848484011115612844576128436127d0565b5b61284f848285612806565b509392505050565b600082601f83011261286c5761286b6125a4565b5b813561287c848260208601612815565b91505092915050565b6000806000806080858703121561289f5761289e612479565b5b60006128ad878288016124c9565b94505060206128be878288016124c9565b93505060406128cf878288016124c9565b925050606085013567ffffffffffffffff8111156128f0576128ef61247e565b5b6128fc87828801612857565b91505092959194509250565b60008115159050919050565b61291d81612908565b811461292857600080fd5b50565b60008135905061293a81612914565b92915050565b60008060008060008060c0878903121561295d5761295c612479565b5b600061296b89828a01612493565b965050602061297c89828a016124c9565b955050604061298d89828a0161292b565b945050606061299e89828a016124c9565b93505060806129af89828a016124c9565b92505060a06129c089828a0161292b565b9150509295509295509295565b6000602082840312156129e3576129e2612479565b5b60006129f184828501612493565b91505092915050565b6000819050919050565b6000612a1f612a1a612a1584612548565b6129fa565b612548565b9050919050565b6000612a3182612a04565b9050919050565b6000612a4382612a26565b9050919050565b612a5381612a38565b82525050565b6000602082019050612a6e6000830184612a4a565b92915050565b60008060408385031215612a8b57612a8a612479565b5b6000612a9985828601612493565b925050602083013567ffffffffffffffff811115612aba57612ab961247e565b5b612ac6858286016126cf565b9150509250929050565b612ad981612908565b82525050565b6000602082019050612af46000830184612ad0565b92915050565b600060e082019050612b0f600083018a61251e565b612b1c602083018961251e565b612b29604083018861251e565b612b366060830187612ad0565b612b43608083018661251e565b612b5060a083018561251e565b612b5d60c0830184612ad0565b98975050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110612ba957612ba8612b69565b5b50565b6000819050612bba82612b98565b919050565b6000612bca82612bac565b9050919050565b612bda81612bbf565b82525050565b6000608082019050612bf56000830187612bd1565b612c02602083018661251e565b612c0f604083018561251e565b612c1c606083018461251e565b95945050505050565b60008060008060808587031215612c3f57612c3e612479565b5b6000612c4d87828801612493565b9450506020612c5e878288016124c9565b9350506040612c6f878288016124c9565b925050606085013567ffffffffffffffff811115612c9057612c8f61247e565b5b612c9c87828801612857565b91505092959194509250565b612cb181612568565b8114612cbc57600080fd5b50565b600081359050612cce81612ca8565b92915050565b600060208284031215612cea57612ce9612479565b5b6000612cf884828501612cbf565b91505092915050565b6000612d0c82612a26565b9050919050565b612d1c81612d01565b82525050565b6000602082019050612d376000830184612d13565b92915050565b60008060008060808587031215612d5757612d56612479565b5b6000612d6587828801612cbf565b9450506020612d7687828801612cbf565b9350506040612d8787828801612cbf565b9250506060612d98878288016124c9565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082825260208201905092915050565b7f6c6576656c207072696365206572726f72000000000000000000000000000000600082015250565b6000612e1a601183612dd3565b9150612e2582612de4565b602082019050919050565b60006020820190508181036000830152612e4981612e0d565b9050919050565b6000606082019050612e65600083018661257a565b612e72602083018561257a565b612e7f604083018461251e565b949350505050565b600081519050612e9681612914565b92915050565b600060208284031215612eb257612eb1612479565b5b6000612ec084828501612e87565b91505092915050565b6000604082019050612ede600083018561257a565b612eeb602083018461251e565b9392505050565b600081519050612f01816124b2565b92915050565b600060208284031215612f1d57612f1c612479565b5b6000612f2b84828501612ef2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f6e826124a8565b9150612f79836124a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612fae57612fad612f34565b5b828201905092915050565b7f6d656c74206c6576656c206572726f7200000000000000000000000000000000600082015250565b6000612fef601083612dd3565b9150612ffa82612fb9565b602082019050919050565b6000602082019050818103600083015261301e81612fe2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61305a816124a8565b82525050565b600061306c8383613051565b60208301905092915050565b6000602082019050919050565b600061309082613025565b61309a8185613030565b93506130a583613041565b8060005b838110156130d65781516130bd8882613060565b97506130c883613078565b9250506001810190506130a9565b5085935050505092915050565b60006040820190506130f8600083018561257a565b818103602083015261310a8184613085565b90509392505050565b7f6e6f7420796f757220746f6b656e730000000000000000000000000000000000600082015250565b6000613149600f83612dd3565b915061315482613113565b602082019050919050565b600060208201905081810360008301526131788161313c565b9050919050565b7f746f6b656e206572726f72000000000000000000000000000000000000000000600082015250565b60006131b5600b83612dd3565b91506131c08261317f565b602082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b600060208201905081810360008301526132058184613085565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613243602083612dd3565b915061324e8261320d565b602082019050919050565b6000602082019050818103600083015261327281613236565b9050919050565b600081519050919050565b60005b838110156132a2578082015181840152602081019050613287565b838111156132b1576000848401525b50505050565b60006132c282613279565b6132cc8185612dd3565b93506132dc818560208601613284565b6132e5816125a9565b840191505092915050565b6000604082019050613305600083018561251e565b818103602083015261331781846132b7565b90509392505050565b7f61646472657373206572726f7200000000000000000000000000000000000000600082015250565b6000613356600d83612dd3565b915061336182613320565b602082019050919050565b6000602082019050818103600083015261338581613349565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006133e8602e83612dd3565b91506133f38261338c565b604082019050919050565b60006020820190508181036000830152613417816133db565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061347a602683612dd3565b91506134858261341e565b604082019050919050565b600060208201905081810360008301526134a98161346d565b9050919050565b7f6e6f206361746500000000000000000000000000000000000000000000000000600082015250565b60006134e6600783612dd3565b91506134f1826134b0565b602082019050919050565b60006020820190508181036000830152613515816134d9565b9050919050565b6000613527826124a8565b9150613532836124a8565b92508282101561354557613544612f34565b5b828203905092915050565b600061355b82612548565b9050919050565b60008160601b9050919050565b600061357a82613562565b9050919050565b600061358c8261356f565b9050919050565b6135a461359f82613550565b613581565b82525050565b60006135b58261356f565b9050919050565b6135cd6135c882612568565b6135aa565b82525050565b6000819050919050565b6135ee6135e9826124a8565b6135d3565b82525050565b60006136008287613593565b60148201915061361082866135bc565b60148201915061362082856135dd565b60208201915061363082846135dd565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061367c826124a8565b9150613687836124a8565b92508261369757613696613642565b5b828206905092915050565b60006136ad826124a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136e0576136df612f34565b5b600182019050919050565b60006136f6826124a8565b9150613701836124a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561373a57613739612f34565b5b828202905092915050565b6000613750826124a8565b915061375b836124a8565b92508261376b5761376a613642565b5b828204905092915050565b7f746f6b656e20616d6f756e74206572726f720000000000000000000000000000600082015250565b60006137ac601283612dd3565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b7f6572726f72206c6576656c000000000000000000000000000000000000000000600082015250565b6000613818600b83612dd3565b9150613823826137e2565b602082019050919050565b600060208201905081810360008301526138478161380b565b9050919050565b7f6d75737420626520756e69717565206361746500000000000000000000000000600082015250565b6000613884601383612dd3565b915061388f8261384e565b602082019050919050565b600060208201905081810360008301526138b381613877565b905091905056fea26469706673582212201ca1e6f5dc1d52469320ce5ef0d433a557330257534f2dd60706da3d8e6f9cf764736f6c634300080a0033
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806382668f20116100ad578063ab0d92dd11610071578063ab0d92dd14610362578063b0bf74e314610380578063b7ca51e81461039c578063cf756fdf146103ba578063f2fde38b146103d65761012c565b806382668f201461028f57806386628542146102bf5780638da5cb5b146102f5578063971276ae146103135780639c2fc623146103465761012c565b80634d85ca26116100f45780634d85ca26146101ff5780636b57d9bd1461021b5780636fa0feb91461023757806370dca97414610267578063715018a6146102855761012c565b8063069f2c0d146101315780631249c58b1461016157806313eaabb81461017f5780631d7cf6c61461019d5780632018ce8b146101cd575b600080fd5b61014b600480360381019061014691906124de565b6103f2565b604051610158919061252d565b60405180910390f35b610169610423565b604051610176919061252d565b60405180910390f35b6101876109a7565b6040516101949190612589565b60405180910390f35b6101b760048036038101906101b291906126fd565b6109cd565b6040516101c4919061252d565b60405180910390f35b6101e760048036038101906101e2919061276c565b610f0b565b6040516101f693929190612799565b60405180910390f35b61021960048036038101906102149190612885565b610f35565b005b61023560048036038101906102309190612940565b611070565b005b610251600480360381019061024c91906129cd565b611183565b60405161025e919061252d565b60405180910390f35b61026f6111c7565b60405161027c9190612a59565b60405180910390f35b61028d6111ed565b005b6102a960048036038101906102a49190612a74565b611275565b6040516102b69190612adf565b60405180910390f35b6102d960048036038101906102d491906129cd565b61130e565b6040516102ec9796959493929190612afa565b60405180910390f35b6102fd61136a565b60405161030a9190612589565b60405180910390f35b61032d6004803603810190610328919061276c565b611394565b60405161033d9493929190612be0565b60405180910390f35b610360600480360381019061035b9190612c25565b6113d1565b005b61036a6115a9565b604051610377919061252d565b60405180910390f35b61039a60048036038101906103959190612cd4565b6115af565b005b6103a46116df565b6040516103b19190612d22565b60405180910390f35b6103d460048036038101906103cf9190612d3d565b611705565b005b6103f060048036038101906103eb9190612cd4565b6117ee565b005b606c602052816000526040600020818154811061040e57600080fd5b90600052602060002001600091509150505481565b600080606c600080600281111561043d5761043c612b69565b5b600281111561044f5761044e612b69565b5b815260200190815260200160002061046760006118e6565b8154811061047857610477612da4565b5b906000526020600020015490506000606d600080600281111561049e5761049d612b69565b5b60028111156104b0576104af612b69565b5b815260200190815260200160002090506000816002015490506000811161050c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050390612e30565b60405180910390fd5b8160030160009054906101000a900460ff16801561052e575060008260040154115b1561057957610576610567836005015461055985600401548660000154611a5890919063ffffffff16565b611a6e90919063ffffffff16565b82611a8490919063ffffffff16565b90505b60006105a36064610595606a5485611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b9050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6105eb611ab0565b30856040518463ffffffff1660e01b815260040161060b93929190612e50565b6020604051808303816000875af115801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190612e9c565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790306106a18486611ab890919063ffffffff16565b6040518363ffffffff1660e01b81526004016106be929190612ec9565b600060405180830381600087803b1580156106d857600080fd5b505af11580156106ec573d6000803e3d6000fd5b50505050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161076f929190612ec9565b6020604051808303816000875af115801561078e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b29190612e9c565b506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f196107fb611ab0565b876040518363ffffffff1660e01b8152600401610819929190612ec9565b6020604051808303816000875af1158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190612f07565b90506000606b600087815260200190815260200160002060010154905060405180608001604052806000600281111561089857610897612b69565b5b815260200187815260200185815260200182815250606e600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360028111156108eb576108ea612b69565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606b600088815260200190815260200160002060020160008282546109389190612f63565b9250508190555060018560000160008282546109549190612f63565b9250508190555061099561098460646109768488611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b606954611a8490919063ffffffff16565b60698190555081965050505050505090565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060018360028111156109e4576109e3612b69565b5b6109ee9190612f63565b826002811115610a0157610a00612b69565b5b14610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613005565b60405180910390fd5b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634f69b862610a87611ab0565b866040518363ffffffff1660e01b8152600401610aa59291906130e3565b602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190612e9c565b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c9061315f565b60405180910390fd5b600080610b33858588611ace565b915091506000821415610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b72906131cb565b60405180910390fd5b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d73026876040518263ffffffff1660e01b8152600401610bd691906131eb565b600060405180830381600087803b158015610bf057600080fd5b505af1158015610c04573d6000803e3d6000fd5b505050508551606d6000876002811115610c2157610c20612b69565b5b6002811115610c3357610c32612b69565b5b81526020019081526020016000206001016000828254610c539190612f63565b925050819055506000606c6000866002811115610c7357610c72612b69565b5b6002811115610c8557610c84612b69565b5b8152602001908152602001600020610c9c866118e6565b81548110610cad57610cac612da4565b5b906000526020600020015490506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610d02611ab0565b846040518363ffffffff1660e01b8152600401610d20929190612ec9565b6020604051808303816000875af1158015610d3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d639190612f07565b90506000610da36064610d95606b60008781526020019081526020016000206001015487611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b90506040518060800160405280886002811115610dc357610dc2612b69565b5b815260200184815260200186815260200182815250606e600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690836002811115610e1657610e15612b69565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606b60008581526020019081526020016000206002016000828254610e639190612f63565b925050819055506001606d6000896002811115610e8357610e82612b69565b5b6002811115610e9557610e94612b69565b5b81526020019081526020016000206000016000828254610eb59190612f63565b92505081905550610ef6610ee56064610ed78489611a6e90919063ffffffff16565b611a9a90919063ffffffff16565b606954611a8490919063ffffffff16565b60698190555081955050505050509392505050565b606b6020528060005260406000206000915090508060000154908060010154908060020154905083565b610f3d611ab0565b73ffffffffffffffffffffffffffffffffffffffff16610f5b61136a565b73ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613259565b60405180910390fd5b6000606b60008681526020019081526020016000209050838160000181905550828160010181905550606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e86846040518363ffffffff1660e01b81526004016110379291906132f0565b600060405180830381600087803b15801561105157600080fd5b505af1158015611065573d6000803e3d6000fd5b505050505050505050565b611078611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661109661136a565b73ffffffffffffffffffffffffffffffffffffffff16146110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e390613259565b60405180910390fd5b6000606d600088600281111561110557611104612b69565b5b600281111561111757611116612b69565b5b81526020019081526020016000209050858160020181905550848160030160006101000a81548160ff021916908315150217905550838160040181905550828160050181905550818160060160006101000a81548160ff02191690831515021790555050505050505050565b6000606c600083600281111561119c5761119b612b69565b5b60028111156111ae576111ad612b69565b5b8152602001908152602001600020805490509050919050565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111f5611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661121361136a565b73ffffffffffffffffffffffffffffffffffffffff1614611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613259565b60405180910390fd5b6112736000611ec4565b565b600080825167ffffffffffffffff811115611293576112926125ba565b5b6040519080825280602002602001820160405280156112c15781602001602082028036833780820191505090505b509050600061130182606e6000876000815181106112e2576112e1612da4565b5b6020026020010151815260200190815260200160002060010154611f8a565b9050809250505092915050565b606d6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060040154908060050154908060060160009054906101000a900460ff16905087565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606e6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154905084565b6113d9611ab0565b73ffffffffffffffffffffffffffffffffffffffff166113f761136a565b73ffffffffffffffffffffffffffffffffffffffff161461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490613259565b60405180910390fd5b6114576065611fe9565b60006114636065611fff565b905060405180606001604052808581526020018481526020016000815250606b6000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050606c60008660028111156114cc576114cb612b69565b5b60028111156114de576114dd612b69565b5b8152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e82846040518363ffffffff1660e01b81526004016115709291906132f0565b600060405180830381600087803b15801561158a57600080fd5b505af115801561159e573d6000803e3d6000fd5b505050505050505050565b60695481565b6115b7611ab0565b73ffffffffffffffffffffffffffffffffffffffff166115d561136a565b73ffffffffffffffffffffffffffffffffffffffff161461162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162290613259565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116929061336c565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900460ff168061172b575060008054906101000a900460ff16155b61176a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611761906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156117ba576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6117c68585858561200d565b80156117e75760008060016101000a81548160ff0219169083151502179055505b5050505050565b6117f6611ab0565b73ffffffffffffffffffffffffffffffffffffffff1661181461136a565b73ffffffffffffffffffffffffffffffffffffffff161461186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190613259565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190613490565b60405180910390fd5b6118e381611ec4565b50565b600080606c6000846002811115611900576118ff612b69565b5b600281111561191257611911612b69565b5b815260200190815260200160002090506000818054905011611969576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611960906134fc565b60405180910390fd5b6000805b600180848054905061197f919061351c565b4133844260405160200161199694939291906135f4565b6040516020818303038152906040528051906020012060001c6119b99190613671565b6119c39190612f63565b9150606b60008484815481106119dc576119db612da4565b5b9060005260206000200154815260200190815260200160002060020154606b6000858581548110611a1057611a0f612da4565b5b90600052602060002001548152602001908152602001600020600001541115611a3857611a4d565b8080611a43906136a2565b915050600161196d575b819350505050919050565b60008183611a669190613671565b905092915050565b60008183611a7c91906136eb565b905092915050565b60008183611a929190612f63565b905092915050565b60008183611aa89190613745565b905092915050565b600033905090565b60008183611ac6919061351c565b905092915050565b6000806000606d6000866002811115611aea57611ae9612b69565b5b6002811115611afc57611afb612b69565b5b81526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581525050905060008160400151905081606001518015611b9d575060008260800151115b15611be857611be5611bd68360a00151611bc885608001518660000151611a9a90919063ffffffff16565b611a6e90919063ffffffff16565b82611a8490919063ffffffff16565b90505b80855114611c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c22906137c2565b60405180910390fd5b6000806000875167ffffffffffffffff811115611c4b57611c4a6125ba565b5b604051908082528060200260200182016040528015611c795781602001602082028036833780820191505090505b50905060005b8851811015611e9d578a6002811115611c9b57611c9a612b69565b5b606e60008b8481518110611cb257611cb1612da4565b5b6020026020010151815260200190815260200160002060000160009054906101000a900460ff166002811115611ceb57611cea612b69565b5b14611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d229061382e565b60405180910390fd5b611d6e606e60008b8481518110611d4557611d44612da4565b5b602002602001015181526020019081526020016000206002015484611a8490919063ffffffff16565b9250611db3606e60008b8481518110611d8a57611d89612da4565b5b602002602001015181526020019081526020016000206003015485611a8490919063ffffffff16565b93508560c0015115611e3a57611df982606e60008c8581518110611dda57611dd9612da4565b5b6020026020010151815260200190815260200160002060010154611f8a565b15611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061389a565b60405180910390fd5b5b606e60008a8381518110611e5157611e50612da4565b5b6020026020010151815260200190815260200160002060010154828281518110611e7e57611e7d612da4565b5b6020026020010181815250508080611e95906136a2565b915050611c7f565b5081611eb3895185611a9a90919063ffffffff16565b965096505050505050935093915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808351905060005b81811015611fdc5783858281518110611fb057611faf612da4565b5b60200260200101511415611fc957600192505050611fe3565b8080611fd4906136a2565b915050611f94565b5060009150505b92915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600060019054906101000a900460ff1680612033575060008054906101000a900460ff16155b612072576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612069906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156120c2576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6120ca612106565b6120d26121df565b6120de858585856122c8565b80156120ff5760008060016101000a81548160ff0219169083151502179055505b5050505050565b600060019054906101000a900460ff168061212c575060008054906101000a900460ff16155b61216b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612162906133fe565b60405180910390fd5b60008060019054906101000a900460ff1615905080156121bb576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156121dc5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612205575060008054906101000a900460ff16155b612244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223b906133fe565b60405180910390fd5b60008060019054906101000a900460ff161590508015612294576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6122a461229f611ab0565b611ec4565b80156122c55760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806122ee575060008054906101000a900460ff16155b61232d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612324906133fe565b60405180910390fd5b60008060019054906101000a900460ff16159050801561237d576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b84606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606a8190555080156124685760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000604051905090565b600080fd5b600080fd5b6003811061249057600080fd5b50565b6000813590506124a281612483565b92915050565b6000819050919050565b6124bb816124a8565b81146124c657600080fd5b50565b6000813590506124d8816124b2565b92915050565b600080604083850312156124f5576124f4612479565b5b600061250385828601612493565b9250506020612514858286016124c9565b9150509250929050565b612527816124a8565b82525050565b6000602082019050612542600083018461251e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061257382612548565b9050919050565b61258381612568565b82525050565b600060208201905061259e600083018461257a565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6125f2826125a9565b810181811067ffffffffffffffff82111715612611576126106125ba565b5b80604052505050565b600061262461246f565b905061263082826125e9565b919050565b600067ffffffffffffffff8211156126505761264f6125ba565b5b602082029050602081019050919050565b600080fd5b600061267961267484612635565b61261a565b9050808382526020820190506020840283018581111561269c5761269b612661565b5b835b818110156126c557806126b188826124c9565b84526020840193505060208101905061269e565b5050509392505050565b600082601f8301126126e4576126e36125a4565b5b81356126f4848260208601612666565b91505092915050565b60008060006060848603121561271657612715612479565b5b600084013567ffffffffffffffff8111156127345761273361247e565b5b612740868287016126cf565b935050602061275186828701612493565b925050604061276286828701612493565b9150509250925092565b60006020828403121561278257612781612479565b5b6000612790848285016124c9565b91505092915050565b60006060820190506127ae600083018661251e565b6127bb602083018561251e565b6127c8604083018461251e565b949350505050565b600080fd5b600067ffffffffffffffff8211156127f0576127ef6125ba565b5b6127f9826125a9565b9050602081019050919050565b82818337600083830152505050565b6000612828612823846127d5565b61261a565b905082815260208101848484011115612844576128436127d0565b5b61284f848285612806565b509392505050565b600082601f83011261286c5761286b6125a4565b5b813561287c848260208601612815565b91505092915050565b6000806000806080858703121561289f5761289e612479565b5b60006128ad878288016124c9565b94505060206128be878288016124c9565b93505060406128cf878288016124c9565b925050606085013567ffffffffffffffff8111156128f0576128ef61247e565b5b6128fc87828801612857565b91505092959194509250565b60008115159050919050565b61291d81612908565b811461292857600080fd5b50565b60008135905061293a81612914565b92915050565b60008060008060008060c0878903121561295d5761295c612479565b5b600061296b89828a01612493565b965050602061297c89828a016124c9565b955050604061298d89828a0161292b565b945050606061299e89828a016124c9565b93505060806129af89828a016124c9565b92505060a06129c089828a0161292b565b9150509295509295509295565b6000602082840312156129e3576129e2612479565b5b60006129f184828501612493565b91505092915050565b6000819050919050565b6000612a1f612a1a612a1584612548565b6129fa565b612548565b9050919050565b6000612a3182612a04565b9050919050565b6000612a4382612a26565b9050919050565b612a5381612a38565b82525050565b6000602082019050612a6e6000830184612a4a565b92915050565b60008060408385031215612a8b57612a8a612479565b5b6000612a9985828601612493565b925050602083013567ffffffffffffffff811115612aba57612ab961247e565b5b612ac6858286016126cf565b9150509250929050565b612ad981612908565b82525050565b6000602082019050612af46000830184612ad0565b92915050565b600060e082019050612b0f600083018a61251e565b612b1c602083018961251e565b612b29604083018861251e565b612b366060830187612ad0565b612b43608083018661251e565b612b5060a083018561251e565b612b5d60c0830184612ad0565b98975050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110612ba957612ba8612b69565b5b50565b6000819050612bba82612b98565b919050565b6000612bca82612bac565b9050919050565b612bda81612bbf565b82525050565b6000608082019050612bf56000830187612bd1565b612c02602083018661251e565b612c0f604083018561251e565b612c1c606083018461251e565b95945050505050565b60008060008060808587031215612c3f57612c3e612479565b5b6000612c4d87828801612493565b9450506020612c5e878288016124c9565b9350506040612c6f878288016124c9565b925050606085013567ffffffffffffffff811115612c9057612c8f61247e565b5b612c9c87828801612857565b91505092959194509250565b612cb181612568565b8114612cbc57600080fd5b50565b600081359050612cce81612ca8565b92915050565b600060208284031215612cea57612ce9612479565b5b6000612cf884828501612cbf565b91505092915050565b6000612d0c82612a26565b9050919050565b612d1c81612d01565b82525050565b6000602082019050612d376000830184612d13565b92915050565b60008060008060808587031215612d5757612d56612479565b5b6000612d6587828801612cbf565b9450506020612d7687828801612cbf565b9350506040612d8787828801612cbf565b9250506060612d98878288016124c9565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082825260208201905092915050565b7f6c6576656c207072696365206572726f72000000000000000000000000000000600082015250565b6000612e1a601183612dd3565b9150612e2582612de4565b602082019050919050565b60006020820190508181036000830152612e4981612e0d565b9050919050565b6000606082019050612e65600083018661257a565b612e72602083018561257a565b612e7f604083018461251e565b949350505050565b600081519050612e9681612914565b92915050565b600060208284031215612eb257612eb1612479565b5b6000612ec084828501612e87565b91505092915050565b6000604082019050612ede600083018561257a565b612eeb602083018461251e565b9392505050565b600081519050612f01816124b2565b92915050565b600060208284031215612f1d57612f1c612479565b5b6000612f2b84828501612ef2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f6e826124a8565b9150612f79836124a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612fae57612fad612f34565b5b828201905092915050565b7f6d656c74206c6576656c206572726f7200000000000000000000000000000000600082015250565b6000612fef601083612dd3565b9150612ffa82612fb9565b602082019050919050565b6000602082019050818103600083015261301e81612fe2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61305a816124a8565b82525050565b600061306c8383613051565b60208301905092915050565b6000602082019050919050565b600061309082613025565b61309a8185613030565b93506130a583613041565b8060005b838110156130d65781516130bd8882613060565b97506130c883613078565b9250506001810190506130a9565b5085935050505092915050565b60006040820190506130f8600083018561257a565b818103602083015261310a8184613085565b90509392505050565b7f6e6f7420796f757220746f6b656e730000000000000000000000000000000000600082015250565b6000613149600f83612dd3565b915061315482613113565b602082019050919050565b600060208201905081810360008301526131788161313c565b9050919050565b7f746f6b656e206572726f72000000000000000000000000000000000000000000600082015250565b60006131b5600b83612dd3565b91506131c08261317f565b602082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b600060208201905081810360008301526132058184613085565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613243602083612dd3565b915061324e8261320d565b602082019050919050565b6000602082019050818103600083015261327281613236565b9050919050565b600081519050919050565b60005b838110156132a2578082015181840152602081019050613287565b838111156132b1576000848401525b50505050565b60006132c282613279565b6132cc8185612dd3565b93506132dc818560208601613284565b6132e5816125a9565b840191505092915050565b6000604082019050613305600083018561251e565b818103602083015261331781846132b7565b90509392505050565b7f61646472657373206572726f7200000000000000000000000000000000000000600082015250565b6000613356600d83612dd3565b915061336182613320565b602082019050919050565b6000602082019050818103600083015261338581613349565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006133e8602e83612dd3565b91506133f38261338c565b604082019050919050565b60006020820190508181036000830152613417816133db565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061347a602683612dd3565b91506134858261341e565b604082019050919050565b600060208201905081810360008301526134a98161346d565b9050919050565b7f6e6f206361746500000000000000000000000000000000000000000000000000600082015250565b60006134e6600783612dd3565b91506134f1826134b0565b602082019050919050565b60006020820190508181036000830152613515816134d9565b9050919050565b6000613527826124a8565b9150613532836124a8565b92508282101561354557613544612f34565b5b828203905092915050565b600061355b82612548565b9050919050565b60008160601b9050919050565b600061357a82613562565b9050919050565b600061358c8261356f565b9050919050565b6135a461359f82613550565b613581565b82525050565b60006135b58261356f565b9050919050565b6135cd6135c882612568565b6135aa565b82525050565b6000819050919050565b6135ee6135e9826124a8565b6135d3565b82525050565b60006136008287613593565b60148201915061361082866135bc565b60148201915061362082856135dd565b60208201915061363082846135dd565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061367c826124a8565b9150613687836124a8565b92508261369757613696613642565b5b828206905092915050565b60006136ad826124a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136e0576136df612f34565b5b600182019050919050565b60006136f6826124a8565b9150613701836124a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561373a57613739612f34565b5b828202905092915050565b6000613750826124a8565b915061375b836124a8565b92508261376b5761376a613642565b5b828204905092915050565b7f746f6b656e20616d6f756e74206572726f720000000000000000000000000000600082015250565b60006137ac601283612dd3565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b7f6572726f72206c6576656c000000000000000000000000000000000000000000600082015250565b6000613818600b83612dd3565b9150613823826137e2565b602082019050919050565b600060208201905081810360008301526138478161380b565b9050919050565b7f6d75737420626520756e69717565206361746500000000000000000000000000600082015250565b6000613884601383612dd3565b915061388f8261384e565b602082019050919050565b600060208201905081810360008301526138b381613877565b905091905056fea26469706673582212201ca1e6f5dc1d52469320ce5ef0d433a557330257534f2dd60706da3d8e6f9cf764736f6c634300080a0033