Address Details
contract
0xE6Cd901A869432DF3e6B8f8b873A171C3eabB54b
- Contract Name
- StarNFTLogic
- Creator
- 0x7d6740–c9cfce at 0xc08ed2–9afdad
- 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
- 9044327
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- StarNFTLogic
- Optimization enabled
- false
- Compiler version
- v0.8.7+commit.e28d00a7
- EVM Version
- london
- Verified at
- 2022-08-19T06:12:14.792075Z
contracts/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; } interface IBonus { function getlockRatio() view external returns (uint256); function getlockAddress() view external returns (address); } 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; IBonus private Bonus; IStarNFT public starNFT; address public bonusAddr; uint256 public totalPrice; uint256 public fee; uint256[] private _allTokensId; mapping(uint256 => StarCate) public cateId; mapping(StarLevel => uint256[]) public starCate; mapping(StarLevel => LevelMethod) public levelMethod; mapping(uint256 => StarMeta) public starMeta; mapping (uint256 => uint256) public bonusToken; 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; Bonus = IBonus(bonusAddr); 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 indexLength = _allTokensId.length; uint256 _fee = _price.mul(fee).div(100); uint256 lockRatio = Bonus.getlockRatio(); starToken.transferFrom(_msgSender(), address(this), _price.sub(_fee.mul(lockRatio).div(100))); starToken.transferFrom(_msgSender(),Bonus.getlockAddress(), _fee.mul(lockRatio).div(100)); starToken.burnFrom(address(this), _price.sub(_fee)); starToken.transfer(bonusAddr, _fee.mul(_fee.mul(lockRatio).div(100))); 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)); uint256 amountBonus = _fee.mul(100 - lockRatio).div(100); if(indexLength > 0){ uint256 divAmountBonus = amountBonus.mul(1e12).div(indexLength); for(uint256 i = 0;i< indexLength;i++){ uint256 tokenId = _allTokensId[i]; uint256 UserBonusToken = bonusToken[tokenId]; bonusToken[tokenId] = divAmountBonus.div(1e12).add(UserBonusToken); } } _allTokensId.push(_starId); 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 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) internal view returns (uint256) { return starCate[_level].length; } function getRndCateIndex(StarLevel _level) view public returns (uint256) { uint256[] storage _cate = starCate[_level]; require(_cate.length > 0, "no cate"); uint256 _rndCateIndex; uint256 _rndCateIndex2; uint256 nonce; do { _rndCateIndex = uint256(keccak256(abi.encodePacked(block.coinbase, msg.sender, nonce, block.timestamp))) % (_cate.length -1); _rndCateIndex2 = uint256(keccak256(abi.encodePacked(block.coinbase, msg.sender, nonce, block.timestamp))) % (_cate.length -1) + 1; if (cateId[_cate[_rndCateIndex2]].maxUnit > cateId[_cate[_rndCateIndex2]].usedUnit){ _rndCateIndex = _rndCateIndex2; } 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 disposeBonusToke(uint256 _tokenId) view external returns (uint256) { return bonusToken[_tokenId]; } function getTokensId(uint256 _index) view public returns(uint256){ return _allTokensId[_index]; } function getAllTokenId() view external returns(uint256[] memory){ return _allTokensId; } function setBonusToke(uint256 _tokenId,uint256 _amountBonus) external { bonusToken[_tokenId] = _amountBonus; } function setStarNFT(address _starNFT) onlyOwner public { require(_starNFT != address(0), "address error"); starNFT = IStarNFT(_starNFT); } function setBonus(address _bonus) onlyOwner public { require(_bonus != address(0), "address error"); bonusAddr = _bonus; Bonus = IBonus(bonusAddr); } function setStarToken(address _starToken) onlyOwner public { require(_starToken != address(0), "address error"); starToken = IERC20Burnable(_starToken); } 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; } }
/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _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.1 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since 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() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
/_openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
/_openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (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.1 (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.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { __Context_init_unchained(); } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library 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.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
/_openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMathUpgradeable { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
/contracts/IStarNFT.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IStarNFT { function mint(address _owner, uint256 _cateId) external returns (uint256); function setCateURI(uint256 _cateId, string memory _cateUri) external; function massVerifyOwner(address owner, uint256[] memory _tokenIds) view external returns (bool); function massBurn(uint256[] memory _tokenIds) external; function setSale(bool _sale) external; function balanceOf(address owner) view external returns (uint256); function tokenOfOwnerByIndex(address owner,uint256 tokenid) view external returns (uint256); }
Contract ABI
[{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"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":"","internalType":"uint256"}],"name":"bonusToken","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"disposeBonusToke","inputs":[{"type":"uint256","name":"_tokenId","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":"fee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"getAllTokenId","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getRndCateIndex","inputs":[{"type":"uint8","name":"_level","internalType":"enum StarNFTLogic.StarLevel"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTokensId","inputs":[{"type":"uint256","name":"_index","internalType":"uint256"}]},{"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":"setBonus","inputs":[{"type":"address","name":"_bonus","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBonusToke","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_amountBonus","internalType":"uint256"}]},{"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":"nonpayable","outputs":[],"name":"setStarToken","inputs":[{"type":"address","name":"_starToken","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":"uint256","name":"","internalType":"uint256"}],"name":"totalPrice","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b50614218806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063b7ca51e811610097578063cf756fdf11610071578063cf756fdf146104d8578063dd6fd842146104f4578063ddca3f4314610524578063f2fde38b14610542576101a8565b8063b7ca51e81461045a578063c9f09b9c14610478578063ca7c15d4146104a8576101a8565b8063971276ae116100d3578063971276ae146103d15780639c2fc62314610404578063ab0d92dd14610420578063b0bf74e31461043e576101a8565b8063715018a614610373578063866285421461037d5780638da5cb5b146103b3576101a8565b80631d7cf6c611610166578063334d491d11610140578063334d491d146103015780634d85ca261461031d5780636b57d9bd1461033957806370dca97414610355576101a8565b80631d7cf6c6146102835780631e2f2912146102b35780632018ce8b146102cf576101a8565b80621917d7146101ad57806304764089146101dd578063069f2c0d146101fb5780631249c58b1461022b57806312dcff7a1461024957806313eaabb814610265575b600080fd5b6101c760048036038101906101c29190613188565b61055e565b6040516101d491906138ff565b60405180910390f35b6101e5610576565b6040516101f291906136c2565b60405180910390f35b61021560048036038101906102109190613038565b6105ce565b60405161022291906138ff565b60405180910390f35b6102336105ff565b60405161024091906138ff565b60405180910390f35b610263600480360381019061025e9190612eae565b610f81565b005b61026d611114565b60405161027a9190613617565b60405180910390f35b61029d60048036038101906102989190612f6f565b61113a565b6040516102aa91906138ff565b60405180910390f35b6102cd60048036038101906102c891906131e2565b611696565b005b6102e960048036038101906102e49190613188565b6116b2565b6040516102f89392919061394a565b60405180910390f35b61031b60048036038101906103169190612eae565b6116dc565b005b61033760048036038101906103329190613222565b61180c565b005b610353600480360381019061034e9190613078565b611947565b005b61035d611a5a565b60405161036a91906136ff565b60405180910390f35b61037b611a80565b005b6103976004803603810190610392919061300b565b611b08565b6040516103aa9796959493929190613981565b60405180910390f35b6103bb611b64565b6040516103c89190613617565b60405180910390f35b6103eb60048036038101906103e69190613188565b611b8e565b6040516103fb949392919061371a565b60405180910390f35b61041e60048036038101906104199190613105565b611bcb565b005b610428611da3565b60405161043591906138ff565b60405180910390f35b61045860048036038101906104539190612eae565b611da9565b005b610462611ed9565b60405161046f91906136e4565b60405180910390f35b610492600480360381019061048d9190613188565b611eff565b60405161049f91906138ff565b60405180910390f35b6104c260048036038101906104bd919061300b565b611f1c565b6040516104cf91906138ff565b60405180910390f35b6104f260048036038101906104ed9190612f08565b612150565b005b61050e60048036038101906105099190613188565b612244565b60405161051b91906138ff565b60405180910390f35b61052c61226c565b60405161053991906138ff565b60405180910390f35b61055c60048036038101906105579190612eae565b612272565b005b60716020528060005260406000206000915090505481565b6060606c8054806020026020016040519081016040528092919081815260200182805480156105c457602002820191906000526020600020905b8154815260200190600101908083116105b0575b5050505050905090565b606e60205281600052604060002081815481106105ea57600080fd5b90600052602060002001600091509150505481565b600080606e600080600281111561061957610618613e2e565b5b600281111561062b5761062a613e2e565b5b81526020019081526020016000206106436000611f1c565b8154811061065457610653613e5d565b5b906000526020600020015490506000606f600080600281111561067a57610679613e2e565b5b600281111561068c5761068b613e2e565b5b81526020019081526020016000209050600081600201549050600081116106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df906137ff565b60405180910390fd5b8160030160009054906101000a900460ff16801561070a575060008260040154115b156107555761075261074383600501546107358560040154866000015461236a90919063ffffffff16565b61238090919063ffffffff16565b8261239690919063ffffffff16565b90505b6000606c8054905090506000610789606461077b606b548661238090919063ffffffff16565b6123ac90919063ffffffff16565b90506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340ee7ce26040518163ffffffff1660e01b815260040160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d91906131b5565b9050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6108756123c2565b306108ae61089f6064610891888a61238090919063ffffffff16565b6123ac90919063ffffffff16565b896123ca90919063ffffffff16565b6040518463ffffffff1660e01b81526004016108cc93929190613632565b602060405180830381600087803b1580156108e657600080fd5b505af11580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e9190612fde565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6109656123c2565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638b6e15e56040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cd57600080fd5b505afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190612edb565b610a2b6064610a1d878961238090919063ffffffff16565b6123ac90919063ffffffff16565b6040518463ffffffff1660e01b8152600401610a4993929190613632565b602060405180830381600087803b158015610a6357600080fd5b505af1158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b9190612fde565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679030610aee85886123ca90919063ffffffff16565b6040518363ffffffff1660e01b8152600401610b0b929190613699565b600060405180830381600087803b158015610b2557600080fd5b505af1158015610b39573d6000803e3d6000fd5b50505050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bd6610bc76064610bb9878961238090919063ffffffff16565b6123ac90919063ffffffff16565b8661238090919063ffffffff16565b6040518363ffffffff1660e01b8152600401610bf3929190613699565b602060405180830381600087803b158015610c0d57600080fd5b505af1158015610c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c459190612fde565b506000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610c8e6123c2565b896040518363ffffffff1660e01b8152600401610cac929190613699565b602060405180830381600087803b158015610cc657600080fd5b505af1158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906131b5565b90506000606d6000898152602001908152602001600020600101549050604051806080016040528060006002811115610d3a57610d39613e2e565b5b8152602001898152602001878152602001828152506070600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690836002811115610d8d57610d8c613e2e565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606d60008a81526020019081526020016000206002016000828254610dda9190613ac7565b925050819055506001876000016000828254610df69190613ac7565b92505081905550610e37610e266064610e18848a61238090919063ffffffff16565b6123ac90919063ffffffff16565b606a5461239690919063ffffffff16565b606a819055506000610e716064610e63866064610e549190613ba8565b8861238090919063ffffffff16565b6123ac90919063ffffffff16565b90506000861115610f49576000610ea887610e9a64e8d4a510008561238090919063ffffffff16565b6123ac90919063ffffffff16565b905060005b87811015610f46576000606c8281548110610ecb57610eca613e5d565b5b90600052602060002001549050600060716000838152602001908152602001600020549050610f1a81610f0c64e8d4a51000876123ac90919063ffffffff16565b61239690919063ffffffff16565b607160008481526020019081526020016000208190555050508080610f3e90613d16565b915050610ead565b50505b606c83908060018154018082558091505060019003906000526020600020016000909190919091505582995050505050505050505090565b610f896123c2565b73ffffffffffffffffffffffffffffffffffffffff16610fa7611b64565b73ffffffffffffffffffffffffffffffffffffffff1614610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff49061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561106d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110649061377f565b60405180910390fd5b80606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600183600281111561115157611150613e2e565b5b61115b9190613ac7565b82600281111561116e5761116d613e2e565b5b146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a59061381f565b60405180910390fd5b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634f69b8626111f46123c2565b866040518363ffffffff1660e01b8152600401611212929190613669565b60206040518083038186803b15801561122a57600080fd5b505afa15801561123e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112629190612fde565b6112a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611298906138bf565b60405180910390fd5b6000806112af8585886123e0565b9150915060008214156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee9061375f565b60405180910390fd5b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d73026876040518263ffffffff1660e01b815260040161135291906136c2565b600060405180830381600087803b15801561136c57600080fd5b505af1158015611380573d6000803e3d6000fd5b505050508551606f600087600281111561139d5761139c613e2e565b5b60028111156113af576113ae613e2e565b5b815260200190815260200160002060010160008282546113cf9190613ac7565b925050819055506000606e60008660028111156113ef576113ee613e2e565b5b600281111561140157611400613e2e565b5b815260200190815260200160002061141886611f1c565b8154811061142957611428613e5d565b5b906000526020600020015490506000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1961147e6123c2565b846040518363ffffffff1660e01b815260040161149c929190613699565b602060405180830381600087803b1580156114b657600080fd5b505af11580156114ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ee91906131b5565b9050600061152e6064611520606d6000878152602001908152602001600020600101548761238090919063ffffffff16565b6123ac90919063ffffffff16565b9050604051806080016040528088600281111561154e5761154d613e2e565b5b8152602001848152602001868152602001828152506070600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360028111156115a1576115a0613e2e565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606d600085815260200190815260200160002060020160008282546115ee9190613ac7565b925050819055506001606f600089600281111561160e5761160d613e2e565b5b60028111156116205761161f613e2e565b5b815260200190815260200160002060000160008282546116409190613ac7565b925050819055506116816116706064611662848961238090919063ffffffff16565b6123ac90919063ffffffff16565b606a5461239690919063ffffffff16565b606a8190555081955050505050509392505050565b8060716000848152602001908152602001600020819055505050565b606d6020528060005260406000206000915090508060000154908060010154908060020154905083565b6116e46123c2565b73ffffffffffffffffffffffffffffffffffffffff16611702611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf9061377f565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118146123c2565b73ffffffffffffffffffffffffffffffffffffffff16611832611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f9061385f565b60405180910390fd5b6000606d60008681526020019081526020016000209050838160000181905550828160010181905550606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e86846040518363ffffffff1660e01b815260040161190e92919061391a565b600060405180830381600087803b15801561192857600080fd5b505af115801561193c573d6000803e3d6000fd5b505050505050505050565b61194f6123c2565b73ffffffffffffffffffffffffffffffffffffffff1661196d611b64565b73ffffffffffffffffffffffffffffffffffffffff16146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba9061385f565b60405180910390fd5b6000606f60008860028111156119dc576119db613e2e565b5b60028111156119ee576119ed613e2e565b5b81526020019081526020016000209050858160020181905550848160030160006101000a81548160ff021916908315150217905550838160040181905550828160050181905550818160060160006101000a81548160ff02191690831515021790555050505050505050565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a886123c2565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af39061385f565b60405180910390fd5b611b0660006127d5565b565b606f6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060040154908060050154908060060160009054906101000a900460ff16905087565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60706020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154905084565b611bd36123c2565b73ffffffffffffffffffffffffffffffffffffffff16611bf1611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e9061385f565b60405180910390fd5b611c51606561289b565b6000611c5d60656128b1565b905060405180606001604052808581526020018481526020016000815250606d6000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050606e6000866002811115611cc657611cc5613e2e565b5b6002811115611cd857611cd7613e2e565b5b8152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e82846040518363ffffffff1660e01b8152600401611d6a92919061391a565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b505050505050505050565b606a5481565b611db16123c2565b73ffffffffffffffffffffffffffffffffffffffff16611dcf611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c9061377f565b60405180910390fd5b80606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060716000838152602001908152602001600020549050919050565b600080606e6000846002811115611f3657611f35613e2e565b5b6002811115611f4857611f47613e2e565b5b815260200190815260200160002090506000818054905011611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f96906137df565b60405180910390fd5b60008060005b60018480549050611fb69190613ba8565b41338342604051602001611fcd94939291906135c9565b6040516020818303038152906040528051906020012060001c611ff09190613d9f565b925060018085805490506120049190613ba8565b4133844260405160200161201b94939291906135c9565b6040516020818303038152906040528051906020012060001c61203e9190613d9f565b6120489190613ac7565b9150606d600085848154811061206157612060613e5d565b5b9060005260206000200154815260200190815260200160002060020154606d600086858154811061209557612094613e5d565b5b906000526020600020015481526020019081526020016000206000015411156120bc578192505b606d60008585815481106120d3576120d2613e5d565b5b9060005260206000200154815260200190815260200160002060020154606d600086868154811061210757612106613e5d565b5b9060005260206000200154815260200190815260200160002060000154111561212f57612144565b808061213a90613d16565b9150506001611fa5575b82945050505050919050565b600060019054906101000a900460ff166121785760008054906101000a900460ff1615612181565b6121806128bf565b5b6121c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b79061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612210576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61221c858585856128d0565b801561223d5760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000606c828154811061225a57612259613e5d565b5b90600052602060002001549050919050565b606b5481565b61227a6123c2565b73ffffffffffffffffffffffffffffffffffffffff16612298611b64565b73ffffffffffffffffffffffffffffffffffffffff16146122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e59061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561235e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123559061379f565b60405180910390fd5b612367816127d5565b50565b600081836123789190613d9f565b905092915050565b6000818361238e9190613b4e565b905092915050565b600081836123a49190613ac7565b905092915050565b600081836123ba9190613b1d565b905092915050565b600033905090565b600081836123d89190613ba8565b905092915050565b6000806000606f60008660028111156123fc576123fb613e2e565b5b600281111561240e5761240d613e2e565b5b81526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815250509050600081604001519050816060015180156124af575060008260800151115b156124fa576124f76124e88360a001516124da856080015186600001516123ac90919063ffffffff16565b61238090919063ffffffff16565b8261239690919063ffffffff16565b90505b8085511461253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906138df565b60405180910390fd5b6000806000875167ffffffffffffffff81111561255d5761255c613e8c565b5b60405190808252806020026020018201604052801561258b5781602001602082028036833780820191505090505b50905060005b88518110156127ae578a60028111156125ad576125ac613e2e565b5b607060008b84815181106125c4576125c3613e5d565b5b6020026020010151815260200190815260200160002060000160009054906101000a900460ff1660028111156125fd576125fc613e2e565b5b1461263d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612634906137bf565b60405180910390fd5b612680607060008b848151811061265757612656613e5d565b5b60200260200101518152602001908152602001600020600201548461239690919063ffffffff16565b92506126c5607060008b848151811061269c5761269b613e5d565b5b60200260200101518152602001908152602001600020600301548561239690919063ffffffff16565b93508560c0015161274b5761270a82607060008c85815181106126eb576126ea613e5d565b5b60200260200101518152602001908152602001600020600101546129d4565b1561274a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127419061387f565b60405180910390fd5b5b607060008a838151811061276257612761613e5d565b5b602002602001015181526020019081526020016000206001015482828151811061278f5761278e613e5d565b5b60200260200101818152505080806127a690613d16565b915050612591565b50816127c48951856123ac90919063ffffffff16565b965096505050505050935093915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600081600001549050919050565b60006128ca30612a33565b15905090565b600060019054906101000a900460ff166128f85760008054906101000a900460ff1615612901565b6129006128bf565b5b612940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129379061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612990576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612998612a46565b6129a0612a97565b6129ac85858585612af8565b80156129cd5760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000808351905060005b81811015612a2657838582815181106129fa576129f9613e5d565b5b60200260200101511415612a1357600192505050612a2d565b8080612a1e90613d16565b9150506129de565b5060009150505b92915050565b600080823b905060008111915050919050565b600060019054906101000a900460ff16612a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8c9061389f565b60405180910390fd5b565b600060019054906101000a900460ff16612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add9061389f565b60405180910390fd5b612af6612af16123c2565b6127d5565b565b600060019054906101000a900460ff16612b205760008054906101000a900460ff1615612b29565b612b286128bf565b5b612b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5f9061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612bb8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b84606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606b819055508015612d065760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000612d20612d1b84613a15565b6139f0565b90508083825260208201905082856020860282011115612d4357612d42613ec0565b5b60005b85811015612d735781612d598882612e84565b845260208401935060208301925050600181019050612d46565b5050509392505050565b6000612d90612d8b84613a41565b6139f0565b905082815260208101848484011115612dac57612dab613ec5565b5b612db7848285613ca3565b509392505050565b600081359050612dce8161418d565b92915050565b600081519050612de38161418d565b92915050565b600082601f830112612dfe57612dfd613ebb565b5b8135612e0e848260208601612d0d565b91505092915050565b600081359050612e26816141a4565b92915050565b600081519050612e3b816141a4565b92915050565b600081359050612e50816141bb565b92915050565b600082601f830112612e6b57612e6a613ebb565b5b8135612e7b848260208601612d7d565b91505092915050565b600081359050612e93816141cb565b92915050565b600081519050612ea8816141cb565b92915050565b600060208284031215612ec457612ec3613ecf565b5b6000612ed284828501612dbf565b91505092915050565b600060208284031215612ef157612ef0613ecf565b5b6000612eff84828501612dd4565b91505092915050565b60008060008060808587031215612f2257612f21613ecf565b5b6000612f3087828801612dbf565b9450506020612f4187828801612dbf565b9350506040612f5287828801612dbf565b9250506060612f6387828801612e84565b91505092959194509250565b600080600060608486031215612f8857612f87613ecf565b5b600084013567ffffffffffffffff811115612fa657612fa5613eca565b5b612fb286828701612de9565b9350506020612fc386828701612e41565b9250506040612fd486828701612e41565b9150509250925092565b600060208284031215612ff457612ff3613ecf565b5b600061300284828501612e2c565b91505092915050565b60006020828403121561302157613020613ecf565b5b600061302f84828501612e41565b91505092915050565b6000806040838503121561304f5761304e613ecf565b5b600061305d85828601612e41565b925050602061306e85828601612e84565b9150509250929050565b60008060008060008060c0878903121561309557613094613ecf565b5b60006130a389828a01612e41565b96505060206130b489828a01612e84565b95505060406130c589828a01612e17565b94505060606130d689828a01612e84565b93505060806130e789828a01612e84565b92505060a06130f889828a01612e17565b9150509295509295509295565b6000806000806080858703121561311f5761311e613ecf565b5b600061312d87828801612e41565b945050602061313e87828801612e84565b935050604061314f87828801612e84565b925050606085013567ffffffffffffffff8111156131705761316f613eca565b5b61317c87828801612e56565b91505092959194509250565b60006020828403121561319e5761319d613ecf565b5b60006131ac84828501612e84565b91505092915050565b6000602082840312156131cb576131ca613ecf565b5b60006131d984828501612e99565b91505092915050565b600080604083850312156131f9576131f8613ecf565b5b600061320785828601612e84565b925050602061321885828601612e84565b9150509250929050565b6000806000806080858703121561323c5761323b613ecf565b5b600061324a87828801612e84565b945050602061325b87828801612e84565b935050604061326c87828801612e84565b925050606085013567ffffffffffffffff81111561328d5761328c613eca565b5b61329987828801612e56565b91505092959194509250565b60006132b18383613594565b60208301905092915050565b6132ce6132c982613bee565b613d71565b82525050565b6132dd81613bdc565b82525050565b6132f46132ef82613bdc565b613d5f565b82525050565b600061330582613a82565b61330f8185613aa5565b935061331a83613a72565b8060005b8381101561334b57815161333288826132a5565b975061333d83613a98565b92505060018101905061331e565b5085935050505092915050565b61336181613c00565b82525050565b61337081613c49565b82525050565b61337f81613c5b565b82525050565b61338e81613c6d565b82525050565b600061339f82613a8d565b6133a98185613ab6565b93506133b9818560208601613cb2565b6133c281613ed4565b840191505092915050565b60006133da600b83613ab6565b91506133e582613ef2565b602082019050919050565b60006133fd600d83613ab6565b915061340882613f1b565b602082019050919050565b6000613420602683613ab6565b915061342b82613f44565b604082019050919050565b6000613443600b83613ab6565b915061344e82613f93565b602082019050919050565b6000613466600783613ab6565b915061347182613fbc565b602082019050919050565b6000613489601183613ab6565b915061349482613fe5565b602082019050919050565b60006134ac601083613ab6565b91506134b78261400e565b602082019050919050565b60006134cf602e83613ab6565b91506134da82614037565b604082019050919050565b60006134f2602083613ab6565b91506134fd82614086565b602082019050919050565b6000613515601383613ab6565b9150613520826140af565b602082019050919050565b6000613538602b83613ab6565b9150613543826140d8565b604082019050919050565b600061355b600f83613ab6565b915061356682614127565b602082019050919050565b600061357e601283613ab6565b915061358982614150565b602082019050919050565b61359d81613c3f565b82525050565b6135ac81613c3f565b82525050565b6135c36135be82613c3f565b613d95565b82525050565b60006135d582876132bd565b6014820191506135e582866132e3565b6014820191506135f582856135b2565b60208201915061360582846135b2565b60208201915081905095945050505050565b600060208201905061362c60008301846132d4565b92915050565b600060608201905061364760008301866132d4565b61365460208301856132d4565b61366160408301846135a3565b949350505050565b600060408201905061367e60008301856132d4565b818103602083015261369081846132fa565b90509392505050565b60006040820190506136ae60008301856132d4565b6136bb60208301846135a3565b9392505050565b600060208201905081810360008301526136dc81846132fa565b905092915050565b60006020820190506136f96000830184613367565b92915050565b60006020820190506137146000830184613376565b92915050565b600060808201905061372f6000830187613385565b61373c60208301866135a3565b61374960408301856135a3565b61375660608301846135a3565b95945050505050565b60006020820190508181036000830152613778816133cd565b9050919050565b60006020820190508181036000830152613798816133f0565b9050919050565b600060208201905081810360008301526137b881613413565b9050919050565b600060208201905081810360008301526137d881613436565b9050919050565b600060208201905081810360008301526137f881613459565b9050919050565b600060208201905081810360008301526138188161347c565b9050919050565b600060208201905081810360008301526138388161349f565b9050919050565b60006020820190508181036000830152613858816134c2565b9050919050565b60006020820190508181036000830152613878816134e5565b9050919050565b6000602082019050818103600083015261389881613508565b9050919050565b600060208201905081810360008301526138b88161352b565b9050919050565b600060208201905081810360008301526138d88161354e565b9050919050565b600060208201905081810360008301526138f881613571565b9050919050565b600060208201905061391460008301846135a3565b92915050565b600060408201905061392f60008301856135a3565b81810360208301526139418184613394565b90509392505050565b600060608201905061395f60008301866135a3565b61396c60208301856135a3565b61397960408301846135a3565b949350505050565b600060e082019050613996600083018a6135a3565b6139a360208301896135a3565b6139b060408301886135a3565b6139bd6060830187613358565b6139ca60808301866135a3565b6139d760a08301856135a3565b6139e460c0830184613358565b98975050505050505050565b60006139fa613a0b565b9050613a068282613ce5565b919050565b6000604051905090565b600067ffffffffffffffff821115613a3057613a2f613e8c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a5c57613a5b613e8c565b5b613a6582613ed4565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613ad282613c3f565b9150613add83613c3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1257613b11613dd0565b5b828201905092915050565b6000613b2882613c3f565b9150613b3383613c3f565b925082613b4357613b42613dff565b5b828204905092915050565b6000613b5982613c3f565b9150613b6483613c3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9d57613b9c613dd0565b5b828202905092915050565b6000613bb382613c3f565b9150613bbe83613c3f565b925082821015613bd157613bd0613dd0565b5b828203905092915050565b6000613be782613c1f565b9050919050565b6000613bf982613c1f565b9050919050565b60008115159050919050565b6000819050613c1a82614179565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613c5482613c7f565b9050919050565b6000613c6682613c7f565b9050919050565b6000613c7882613c0c565b9050919050565b6000613c8a82613c91565b9050919050565b6000613c9c82613c1f565b9050919050565b82818337600083830152505050565b60005b83811015613cd0578082015181840152602081019050613cb5565b83811115613cdf576000848401525b50505050565b613cee82613ed4565b810181811067ffffffffffffffff82111715613d0d57613d0c613e8c565b5b80604052505050565b6000613d2182613c3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d5457613d53613dd0565b5b600182019050919050565b6000613d6a82613d83565b9050919050565b6000613d7c82613d83565b9050919050565b6000613d8e82613ee5565b9050919050565b6000819050919050565b6000613daa82613c3f565b9150613db583613c3f565b925082613dc557613dc4613dff565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f746f6b656e206572726f72000000000000000000000000000000000000000000600082015250565b7f61646472657373206572726f7200000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6572726f72206c6576656c000000000000000000000000000000000000000000600082015250565b7f6e6f206361746500000000000000000000000000000000000000000000000000600082015250565b7f6c6576656c207072696365206572726f72000000000000000000000000000000600082015250565b7f6d656c74206c6576656c206572726f7200000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d75737420626520756e69717565206361746500000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f6e6f7420796f757220746f6b656e730000000000000000000000000000000000600082015250565b7f746f6b656e20616d6f756e74206572726f720000000000000000000000000000600082015250565b6003811061418a57614189613e2e565b5b50565b61419681613bdc565b81146141a157600080fd5b50565b6141ad81613c00565b81146141b857600080fd5b50565b600381106141c857600080fd5b50565b6141d481613c3f565b81146141df57600080fd5b5056fea26469706673582212203eab6438746c39066a9f75bd2d3d7d0a39d75a40fc951b3c799991dcfdba3ec764736f6c63430008070033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063b7ca51e811610097578063cf756fdf11610071578063cf756fdf146104d8578063dd6fd842146104f4578063ddca3f4314610524578063f2fde38b14610542576101a8565b8063b7ca51e81461045a578063c9f09b9c14610478578063ca7c15d4146104a8576101a8565b8063971276ae116100d3578063971276ae146103d15780639c2fc62314610404578063ab0d92dd14610420578063b0bf74e31461043e576101a8565b8063715018a614610373578063866285421461037d5780638da5cb5b146103b3576101a8565b80631d7cf6c611610166578063334d491d11610140578063334d491d146103015780634d85ca261461031d5780636b57d9bd1461033957806370dca97414610355576101a8565b80631d7cf6c6146102835780631e2f2912146102b35780632018ce8b146102cf576101a8565b80621917d7146101ad57806304764089146101dd578063069f2c0d146101fb5780631249c58b1461022b57806312dcff7a1461024957806313eaabb814610265575b600080fd5b6101c760048036038101906101c29190613188565b61055e565b6040516101d491906138ff565b60405180910390f35b6101e5610576565b6040516101f291906136c2565b60405180910390f35b61021560048036038101906102109190613038565b6105ce565b60405161022291906138ff565b60405180910390f35b6102336105ff565b60405161024091906138ff565b60405180910390f35b610263600480360381019061025e9190612eae565b610f81565b005b61026d611114565b60405161027a9190613617565b60405180910390f35b61029d60048036038101906102989190612f6f565b61113a565b6040516102aa91906138ff565b60405180910390f35b6102cd60048036038101906102c891906131e2565b611696565b005b6102e960048036038101906102e49190613188565b6116b2565b6040516102f89392919061394a565b60405180910390f35b61031b60048036038101906103169190612eae565b6116dc565b005b61033760048036038101906103329190613222565b61180c565b005b610353600480360381019061034e9190613078565b611947565b005b61035d611a5a565b60405161036a91906136ff565b60405180910390f35b61037b611a80565b005b6103976004803603810190610392919061300b565b611b08565b6040516103aa9796959493929190613981565b60405180910390f35b6103bb611b64565b6040516103c89190613617565b60405180910390f35b6103eb60048036038101906103e69190613188565b611b8e565b6040516103fb949392919061371a565b60405180910390f35b61041e60048036038101906104199190613105565b611bcb565b005b610428611da3565b60405161043591906138ff565b60405180910390f35b61045860048036038101906104539190612eae565b611da9565b005b610462611ed9565b60405161046f91906136e4565b60405180910390f35b610492600480360381019061048d9190613188565b611eff565b60405161049f91906138ff565b60405180910390f35b6104c260048036038101906104bd919061300b565b611f1c565b6040516104cf91906138ff565b60405180910390f35b6104f260048036038101906104ed9190612f08565b612150565b005b61050e60048036038101906105099190613188565b612244565b60405161051b91906138ff565b60405180910390f35b61052c61226c565b60405161053991906138ff565b60405180910390f35b61055c60048036038101906105579190612eae565b612272565b005b60716020528060005260406000206000915090505481565b6060606c8054806020026020016040519081016040528092919081815260200182805480156105c457602002820191906000526020600020905b8154815260200190600101908083116105b0575b5050505050905090565b606e60205281600052604060002081815481106105ea57600080fd5b90600052602060002001600091509150505481565b600080606e600080600281111561061957610618613e2e565b5b600281111561062b5761062a613e2e565b5b81526020019081526020016000206106436000611f1c565b8154811061065457610653613e5d565b5b906000526020600020015490506000606f600080600281111561067a57610679613e2e565b5b600281111561068c5761068b613e2e565b5b81526020019081526020016000209050600081600201549050600081116106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df906137ff565b60405180910390fd5b8160030160009054906101000a900460ff16801561070a575060008260040154115b156107555761075261074383600501546107358560040154866000015461236a90919063ffffffff16565b61238090919063ffffffff16565b8261239690919063ffffffff16565b90505b6000606c8054905090506000610789606461077b606b548661238090919063ffffffff16565b6123ac90919063ffffffff16565b90506000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340ee7ce26040518163ffffffff1660e01b815260040160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d91906131b5565b9050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6108756123c2565b306108ae61089f6064610891888a61238090919063ffffffff16565b6123ac90919063ffffffff16565b896123ca90919063ffffffff16565b6040518463ffffffff1660e01b81526004016108cc93929190613632565b602060405180830381600087803b1580156108e657600080fd5b505af11580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e9190612fde565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd6109656123c2565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638b6e15e56040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cd57600080fd5b505afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190612edb565b610a2b6064610a1d878961238090919063ffffffff16565b6123ac90919063ffffffff16565b6040518463ffffffff1660e01b8152600401610a4993929190613632565b602060405180830381600087803b158015610a6357600080fd5b505af1158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b9190612fde565b50606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679030610aee85886123ca90919063ffffffff16565b6040518363ffffffff1660e01b8152600401610b0b929190613699565b600060405180830381600087803b158015610b2557600080fd5b505af1158015610b39573d6000803e3d6000fd5b50505050606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bd6610bc76064610bb9878961238090919063ffffffff16565b6123ac90919063ffffffff16565b8661238090919063ffffffff16565b6040518363ffffffff1660e01b8152600401610bf3929190613699565b602060405180830381600087803b158015610c0d57600080fd5b505af1158015610c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c459190612fde565b506000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610c8e6123c2565b896040518363ffffffff1660e01b8152600401610cac929190613699565b602060405180830381600087803b158015610cc657600080fd5b505af1158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906131b5565b90506000606d6000898152602001908152602001600020600101549050604051806080016040528060006002811115610d3a57610d39613e2e565b5b8152602001898152602001878152602001828152506070600084815260200190815260200160002060008201518160000160006101000a81548160ff02191690836002811115610d8d57610d8c613e2e565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606d60008a81526020019081526020016000206002016000828254610dda9190613ac7565b925050819055506001876000016000828254610df69190613ac7565b92505081905550610e37610e266064610e18848a61238090919063ffffffff16565b6123ac90919063ffffffff16565b606a5461239690919063ffffffff16565b606a819055506000610e716064610e63866064610e549190613ba8565b8861238090919063ffffffff16565b6123ac90919063ffffffff16565b90506000861115610f49576000610ea887610e9a64e8d4a510008561238090919063ffffffff16565b6123ac90919063ffffffff16565b905060005b87811015610f46576000606c8281548110610ecb57610eca613e5d565b5b90600052602060002001549050600060716000838152602001908152602001600020549050610f1a81610f0c64e8d4a51000876123ac90919063ffffffff16565b61239690919063ffffffff16565b607160008481526020019081526020016000208190555050508080610f3e90613d16565b915050610ead565b50505b606c83908060018154018082558091505060019003906000526020600020016000909190919091505582995050505050505050505090565b610f896123c2565b73ffffffffffffffffffffffffffffffffffffffff16610fa7611b64565b73ffffffffffffffffffffffffffffffffffffffff1614610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff49061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561106d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110649061377f565b60405180910390fd5b80606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600183600281111561115157611150613e2e565b5b61115b9190613ac7565b82600281111561116e5761116d613e2e565b5b146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a59061381f565b60405180910390fd5b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634f69b8626111f46123c2565b866040518363ffffffff1660e01b8152600401611212929190613669565b60206040518083038186803b15801561122a57600080fd5b505afa15801561123e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112629190612fde565b6112a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611298906138bf565b60405180910390fd5b6000806112af8585886123e0565b9150915060008214156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee9061375f565b60405180910390fd5b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1d73026876040518263ffffffff1660e01b815260040161135291906136c2565b600060405180830381600087803b15801561136c57600080fd5b505af1158015611380573d6000803e3d6000fd5b505050508551606f600087600281111561139d5761139c613e2e565b5b60028111156113af576113ae613e2e565b5b815260200190815260200160002060010160008282546113cf9190613ac7565b925050819055506000606e60008660028111156113ef576113ee613e2e565b5b600281111561140157611400613e2e565b5b815260200190815260200160002061141886611f1c565b8154811061142957611428613e5d565b5b906000526020600020015490506000606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1961147e6123c2565b846040518363ffffffff1660e01b815260040161149c929190613699565b602060405180830381600087803b1580156114b657600080fd5b505af11580156114ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ee91906131b5565b9050600061152e6064611520606d6000878152602001908152602001600020600101548761238090919063ffffffff16565b6123ac90919063ffffffff16565b9050604051806080016040528088600281111561154e5761154d613e2e565b5b8152602001848152602001868152602001828152506070600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360028111156115a1576115a0613e2e565b5b02179055506020820151816001015560408201518160020155606082015181600301559050506001606d600085815260200190815260200160002060020160008282546115ee9190613ac7565b925050819055506001606f600089600281111561160e5761160d613e2e565b5b60028111156116205761161f613e2e565b5b815260200190815260200160002060000160008282546116409190613ac7565b925050819055506116816116706064611662848961238090919063ffffffff16565b6123ac90919063ffffffff16565b606a5461239690919063ffffffff16565b606a8190555081955050505050509392505050565b8060716000848152602001908152602001600020819055505050565b606d6020528060005260406000206000915090508060000154908060010154908060020154905083565b6116e46123c2565b73ffffffffffffffffffffffffffffffffffffffff16611702611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf9061377f565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118146123c2565b73ffffffffffffffffffffffffffffffffffffffff16611832611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f9061385f565b60405180910390fd5b6000606d60008681526020019081526020016000209050838160000181905550828160010181905550606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e86846040518363ffffffff1660e01b815260040161190e92919061391a565b600060405180830381600087803b15801561192857600080fd5b505af115801561193c573d6000803e3d6000fd5b505050505050505050565b61194f6123c2565b73ffffffffffffffffffffffffffffffffffffffff1661196d611b64565b73ffffffffffffffffffffffffffffffffffffffff16146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba9061385f565b60405180910390fd5b6000606f60008860028111156119dc576119db613e2e565b5b60028111156119ee576119ed613e2e565b5b81526020019081526020016000209050858160020181905550848160030160006101000a81548160ff021916908315150217905550838160040181905550828160050181905550818160060160006101000a81548160ff02191690831515021790555050505050505050565b606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a886123c2565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af39061385f565b60405180910390fd5b611b0660006127d5565b565b606f6020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060040154908060050154908060060160009054906101000a900460ff16905087565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60706020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154905084565b611bd36123c2565b73ffffffffffffffffffffffffffffffffffffffff16611bf1611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e9061385f565b60405180910390fd5b611c51606561289b565b6000611c5d60656128b1565b905060405180606001604052808581526020018481526020016000815250606d6000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050606e6000866002811115611cc657611cc5613e2e565b5b6002811115611cd857611cd7613e2e565b5b8152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055606860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adc84d2e82846040518363ffffffff1660e01b8152600401611d6a92919061391a565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b505050505050505050565b606a5481565b611db16123c2565b73ffffffffffffffffffffffffffffffffffffffff16611dcf611b64565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c9061377f565b60405180910390fd5b80606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060716000838152602001908152602001600020549050919050565b600080606e6000846002811115611f3657611f35613e2e565b5b6002811115611f4857611f47613e2e565b5b815260200190815260200160002090506000818054905011611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f96906137df565b60405180910390fd5b60008060005b60018480549050611fb69190613ba8565b41338342604051602001611fcd94939291906135c9565b6040516020818303038152906040528051906020012060001c611ff09190613d9f565b925060018085805490506120049190613ba8565b4133844260405160200161201b94939291906135c9565b6040516020818303038152906040528051906020012060001c61203e9190613d9f565b6120489190613ac7565b9150606d600085848154811061206157612060613e5d565b5b9060005260206000200154815260200190815260200160002060020154606d600086858154811061209557612094613e5d565b5b906000526020600020015481526020019081526020016000206000015411156120bc578192505b606d60008585815481106120d3576120d2613e5d565b5b9060005260206000200154815260200190815260200160002060020154606d600086868154811061210757612106613e5d565b5b9060005260206000200154815260200190815260200160002060000154111561212f57612144565b808061213a90613d16565b9150506001611fa5575b82945050505050919050565b600060019054906101000a900460ff166121785760008054906101000a900460ff1615612181565b6121806128bf565b5b6121c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b79061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612210576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61221c858585856128d0565b801561223d5760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000606c828154811061225a57612259613e5d565b5b90600052602060002001549050919050565b606b5481565b61227a6123c2565b73ffffffffffffffffffffffffffffffffffffffff16612298611b64565b73ffffffffffffffffffffffffffffffffffffffff16146122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e59061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561235e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123559061379f565b60405180910390fd5b612367816127d5565b50565b600081836123789190613d9f565b905092915050565b6000818361238e9190613b4e565b905092915050565b600081836123a49190613ac7565b905092915050565b600081836123ba9190613b1d565b905092915050565b600033905090565b600081836123d89190613ba8565b905092915050565b6000806000606f60008660028111156123fc576123fb613e2e565b5b600281111561240e5761240d613e2e565b5b81526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815250509050600081604001519050816060015180156124af575060008260800151115b156124fa576124f76124e88360a001516124da856080015186600001516123ac90919063ffffffff16565b61238090919063ffffffff16565b8261239690919063ffffffff16565b90505b8085511461253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906138df565b60405180910390fd5b6000806000875167ffffffffffffffff81111561255d5761255c613e8c565b5b60405190808252806020026020018201604052801561258b5781602001602082028036833780820191505090505b50905060005b88518110156127ae578a60028111156125ad576125ac613e2e565b5b607060008b84815181106125c4576125c3613e5d565b5b6020026020010151815260200190815260200160002060000160009054906101000a900460ff1660028111156125fd576125fc613e2e565b5b1461263d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612634906137bf565b60405180910390fd5b612680607060008b848151811061265757612656613e5d565b5b60200260200101518152602001908152602001600020600201548461239690919063ffffffff16565b92506126c5607060008b848151811061269c5761269b613e5d565b5b60200260200101518152602001908152602001600020600301548561239690919063ffffffff16565b93508560c0015161274b5761270a82607060008c85815181106126eb576126ea613e5d565b5b60200260200101518152602001908152602001600020600101546129d4565b1561274a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127419061387f565b60405180910390fd5b5b607060008a838151811061276257612761613e5d565b5b602002602001015181526020019081526020016000206001015482828151811061278f5761278e613e5d565b5b60200260200101818152505080806127a690613d16565b915050612591565b50816127c48951856123ac90919063ffffffff16565b965096505050505050935093915050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600081600001549050919050565b60006128ca30612a33565b15905090565b600060019054906101000a900460ff166128f85760008054906101000a900460ff1615612901565b6129006128bf565b5b612940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129379061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612990576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612998612a46565b6129a0612a97565b6129ac85858585612af8565b80156129cd5760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000808351905060005b81811015612a2657838582815181106129fa576129f9613e5d565b5b60200260200101511415612a1357600192505050612a2d565b8080612a1e90613d16565b9150506129de565b5060009150505b92915050565b600080823b905060008111915050919050565b600060019054906101000a900460ff16612a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8c9061389f565b60405180910390fd5b565b600060019054906101000a900460ff16612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add9061389f565b60405180910390fd5b612af6612af16123c2565b6127d5565b565b600060019054906101000a900460ff16612b205760008054906101000a900460ff1615612b29565b612b286128bf565b5b612b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5f9061383f565b60405180910390fd5b60008060019054906101000a900460ff161590508015612bb8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b84606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606b819055508015612d065760008060016101000a81548160ff0219169083151502179055505b5050505050565b6000612d20612d1b84613a15565b6139f0565b90508083825260208201905082856020860282011115612d4357612d42613ec0565b5b60005b85811015612d735781612d598882612e84565b845260208401935060208301925050600181019050612d46565b5050509392505050565b6000612d90612d8b84613a41565b6139f0565b905082815260208101848484011115612dac57612dab613ec5565b5b612db7848285613ca3565b509392505050565b600081359050612dce8161418d565b92915050565b600081519050612de38161418d565b92915050565b600082601f830112612dfe57612dfd613ebb565b5b8135612e0e848260208601612d0d565b91505092915050565b600081359050612e26816141a4565b92915050565b600081519050612e3b816141a4565b92915050565b600081359050612e50816141bb565b92915050565b600082601f830112612e6b57612e6a613ebb565b5b8135612e7b848260208601612d7d565b91505092915050565b600081359050612e93816141cb565b92915050565b600081519050612ea8816141cb565b92915050565b600060208284031215612ec457612ec3613ecf565b5b6000612ed284828501612dbf565b91505092915050565b600060208284031215612ef157612ef0613ecf565b5b6000612eff84828501612dd4565b91505092915050565b60008060008060808587031215612f2257612f21613ecf565b5b6000612f3087828801612dbf565b9450506020612f4187828801612dbf565b9350506040612f5287828801612dbf565b9250506060612f6387828801612e84565b91505092959194509250565b600080600060608486031215612f8857612f87613ecf565b5b600084013567ffffffffffffffff811115612fa657612fa5613eca565b5b612fb286828701612de9565b9350506020612fc386828701612e41565b9250506040612fd486828701612e41565b9150509250925092565b600060208284031215612ff457612ff3613ecf565b5b600061300284828501612e2c565b91505092915050565b60006020828403121561302157613020613ecf565b5b600061302f84828501612e41565b91505092915050565b6000806040838503121561304f5761304e613ecf565b5b600061305d85828601612e41565b925050602061306e85828601612e84565b9150509250929050565b60008060008060008060c0878903121561309557613094613ecf565b5b60006130a389828a01612e41565b96505060206130b489828a01612e84565b95505060406130c589828a01612e17565b94505060606130d689828a01612e84565b93505060806130e789828a01612e84565b92505060a06130f889828a01612e17565b9150509295509295509295565b6000806000806080858703121561311f5761311e613ecf565b5b600061312d87828801612e41565b945050602061313e87828801612e84565b935050604061314f87828801612e84565b925050606085013567ffffffffffffffff8111156131705761316f613eca565b5b61317c87828801612e56565b91505092959194509250565b60006020828403121561319e5761319d613ecf565b5b60006131ac84828501612e84565b91505092915050565b6000602082840312156131cb576131ca613ecf565b5b60006131d984828501612e99565b91505092915050565b600080604083850312156131f9576131f8613ecf565b5b600061320785828601612e84565b925050602061321885828601612e84565b9150509250929050565b6000806000806080858703121561323c5761323b613ecf565b5b600061324a87828801612e84565b945050602061325b87828801612e84565b935050604061326c87828801612e84565b925050606085013567ffffffffffffffff81111561328d5761328c613eca565b5b61329987828801612e56565b91505092959194509250565b60006132b18383613594565b60208301905092915050565b6132ce6132c982613bee565b613d71565b82525050565b6132dd81613bdc565b82525050565b6132f46132ef82613bdc565b613d5f565b82525050565b600061330582613a82565b61330f8185613aa5565b935061331a83613a72565b8060005b8381101561334b57815161333288826132a5565b975061333d83613a98565b92505060018101905061331e565b5085935050505092915050565b61336181613c00565b82525050565b61337081613c49565b82525050565b61337f81613c5b565b82525050565b61338e81613c6d565b82525050565b600061339f82613a8d565b6133a98185613ab6565b93506133b9818560208601613cb2565b6133c281613ed4565b840191505092915050565b60006133da600b83613ab6565b91506133e582613ef2565b602082019050919050565b60006133fd600d83613ab6565b915061340882613f1b565b602082019050919050565b6000613420602683613ab6565b915061342b82613f44565b604082019050919050565b6000613443600b83613ab6565b915061344e82613f93565b602082019050919050565b6000613466600783613ab6565b915061347182613fbc565b602082019050919050565b6000613489601183613ab6565b915061349482613fe5565b602082019050919050565b60006134ac601083613ab6565b91506134b78261400e565b602082019050919050565b60006134cf602e83613ab6565b91506134da82614037565b604082019050919050565b60006134f2602083613ab6565b91506134fd82614086565b602082019050919050565b6000613515601383613ab6565b9150613520826140af565b602082019050919050565b6000613538602b83613ab6565b9150613543826140d8565b604082019050919050565b600061355b600f83613ab6565b915061356682614127565b602082019050919050565b600061357e601283613ab6565b915061358982614150565b602082019050919050565b61359d81613c3f565b82525050565b6135ac81613c3f565b82525050565b6135c36135be82613c3f565b613d95565b82525050565b60006135d582876132bd565b6014820191506135e582866132e3565b6014820191506135f582856135b2565b60208201915061360582846135b2565b60208201915081905095945050505050565b600060208201905061362c60008301846132d4565b92915050565b600060608201905061364760008301866132d4565b61365460208301856132d4565b61366160408301846135a3565b949350505050565b600060408201905061367e60008301856132d4565b818103602083015261369081846132fa565b90509392505050565b60006040820190506136ae60008301856132d4565b6136bb60208301846135a3565b9392505050565b600060208201905081810360008301526136dc81846132fa565b905092915050565b60006020820190506136f96000830184613367565b92915050565b60006020820190506137146000830184613376565b92915050565b600060808201905061372f6000830187613385565b61373c60208301866135a3565b61374960408301856135a3565b61375660608301846135a3565b95945050505050565b60006020820190508181036000830152613778816133cd565b9050919050565b60006020820190508181036000830152613798816133f0565b9050919050565b600060208201905081810360008301526137b881613413565b9050919050565b600060208201905081810360008301526137d881613436565b9050919050565b600060208201905081810360008301526137f881613459565b9050919050565b600060208201905081810360008301526138188161347c565b9050919050565b600060208201905081810360008301526138388161349f565b9050919050565b60006020820190508181036000830152613858816134c2565b9050919050565b60006020820190508181036000830152613878816134e5565b9050919050565b6000602082019050818103600083015261389881613508565b9050919050565b600060208201905081810360008301526138b88161352b565b9050919050565b600060208201905081810360008301526138d88161354e565b9050919050565b600060208201905081810360008301526138f881613571565b9050919050565b600060208201905061391460008301846135a3565b92915050565b600060408201905061392f60008301856135a3565b81810360208301526139418184613394565b90509392505050565b600060608201905061395f60008301866135a3565b61396c60208301856135a3565b61397960408301846135a3565b949350505050565b600060e082019050613996600083018a6135a3565b6139a360208301896135a3565b6139b060408301886135a3565b6139bd6060830187613358565b6139ca60808301866135a3565b6139d760a08301856135a3565b6139e460c0830184613358565b98975050505050505050565b60006139fa613a0b565b9050613a068282613ce5565b919050565b6000604051905090565b600067ffffffffffffffff821115613a3057613a2f613e8c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a5c57613a5b613e8c565b5b613a6582613ed4565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613ad282613c3f565b9150613add83613c3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1257613b11613dd0565b5b828201905092915050565b6000613b2882613c3f565b9150613b3383613c3f565b925082613b4357613b42613dff565b5b828204905092915050565b6000613b5982613c3f565b9150613b6483613c3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9d57613b9c613dd0565b5b828202905092915050565b6000613bb382613c3f565b9150613bbe83613c3f565b925082821015613bd157613bd0613dd0565b5b828203905092915050565b6000613be782613c1f565b9050919050565b6000613bf982613c1f565b9050919050565b60008115159050919050565b6000819050613c1a82614179565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613c5482613c7f565b9050919050565b6000613c6682613c7f565b9050919050565b6000613c7882613c0c565b9050919050565b6000613c8a82613c91565b9050919050565b6000613c9c82613c1f565b9050919050565b82818337600083830152505050565b60005b83811015613cd0578082015181840152602081019050613cb5565b83811115613cdf576000848401525b50505050565b613cee82613ed4565b810181811067ffffffffffffffff82111715613d0d57613d0c613e8c565b5b80604052505050565b6000613d2182613c3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d5457613d53613dd0565b5b600182019050919050565b6000613d6a82613d83565b9050919050565b6000613d7c82613d83565b9050919050565b6000613d8e82613ee5565b9050919050565b6000819050919050565b6000613daa82613c3f565b9150613db583613c3f565b925082613dc557613dc4613dff565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f746f6b656e206572726f72000000000000000000000000000000000000000000600082015250565b7f61646472657373206572726f7200000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6572726f72206c6576656c000000000000000000000000000000000000000000600082015250565b7f6e6f206361746500000000000000000000000000000000000000000000000000600082015250565b7f6c6576656c207072696365206572726f72000000000000000000000000000000600082015250565b7f6d656c74206c6576656c206572726f7200000000000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d75737420626520756e69717565206361746500000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f6e6f7420796f757220746f6b656e730000000000000000000000000000000000600082015250565b7f746f6b656e20616d6f756e74206572726f720000000000000000000000000000600082015250565b6003811061418a57614189613e2e565b5b50565b61419681613bdc565b81146141a157600080fd5b50565b6141ad81613c00565b81146141b857600080fd5b50565b600381106141c857600080fd5b50565b6141d481613c3f565b81146141df57600080fd5b5056fea26469706673582212203eab6438746c39066a9f75bd2d3d7d0a39d75a40fc951b3c799991dcfdba3ec764736f6c63430008070033