Address Details
contract
0x96EaD075F59dA8372401EC7F9a6A9EBD9BD6ed85
- Contract Name
- StarNFT
- Creator
- 0x7d6740–c9cfce at 0x75a7db–ccb377
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 0 Transactions
- Transfers
- 0 Transfers
- Gas Used
- Fetching gas used...
- Last Balance Update
- 8683874
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- StarNFT
- Optimization enabled
- false
- Compiler version
- v0.8.10+commit.fc410830
- EVM Version
- london
- Verified at
- 2023-01-28T19:49:48.550882Z
scripts/StarNFT.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/utils/StringsUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721EnumerableUpgradeable.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract StarNFT is Initializable, ContextUpgradeable, OwnableUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable, IERC721EnumerableUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; // auto increasement tokenids using CountersUpgradeable for CountersUpgradeable.Counter; CountersUpgradeable.Counter private tokenIds; // Token name string private _name; // Token symbol string private _symbol; // Token base uri string baseURI; // logic contract address logic; // Token struct struct Token { address owner; uint256 cateId; uint256 lastBlock; } // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; // Mapping from token ID to owner address mapping (uint256 => Token) public tokenInfo; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; // Mapping from cate to token uri mapping (uint256 => string) public cateUri; function initialize(string memory name_, string memory symbol_) public initializer { __ERC721_init(name_, symbol_); } /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = tokenInfo[tokenId].owner; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, cateUri[tokenInfo[tokenId].cateId])) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return baseURI; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } function mint(address owner, uint256 _cateId) public onlyLogic returns (uint256) { tokenIds.increment(); uint256 _tokenId = tokenIds.current(); _safeMint(owner, _tokenId); tokenInfo[_tokenId].cateId = _cateId; tokenInfo[_tokenId].lastBlock = block.number; return _tokenId; } function massVerifyOwner(address owner, uint256[] memory _tokenIds) view public returns (bool) { for (uint256 i = 0 ; i < _tokenIds.length; i ++) { if (ownerOf(_tokenIds[i]) != owner) return false; } return true; } function massBurn(uint256[] memory _tokenIds) public onlyLogic { for (uint256 i = 0 ; i < _tokenIds.length; i ++) { _burn(_tokenIds[i]); } } function setCateURI(uint256 _cateId, string memory _cateUri) public virtual onlyLogic { require(bytes(_cateUri).length > 0, "uri is empty"); cateUri[_cateId] = _cateUri; } function setLogic(address _logic) public virtual onlyOwner { require(address(0) != _logic); logic = _logic; } function setBaseURI(string memory _newBaseURI) public virtual onlyOwner { baseURI = _newBaseURI; } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenInfo[tokenId].owner != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; tokenInfo[tokenId].owner = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete tokenInfo[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; tokenInfo[tokenId].owner = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } modifier onlyLogic() { require(logic == _msgSender(), "ERC721: not allowed to access"); _; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } uint256[44] private __gap; }
/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
/_openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
/_openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
/_openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721EnumerableUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721EnumerableUpgradeable is IERC721Upgradeable { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
/_openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
/_openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
/_openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
Contract ABI
[{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"cateUri","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"massBurn","inputs":[{"type":"uint256[]","name":"_tokenIds","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"massVerifyOwner","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256[]","name":"_tokenIds","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mint","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"_cateId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_newBaseURI","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCateURI","inputs":[{"type":"uint256","name":"_cateId","internalType":"uint256"},{"type":"string","name":"_cateUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLogic","inputs":[{"type":"address","name":"_logic","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"cateId","internalType":"uint256"},{"type":"uint256","name":"lastBlock","internalType":"uint256"}],"name":"tokenInfo","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b5061447f806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063b1d7302611610097578063cc33c87511610071578063cc33c87514610513578063cd846f1114610545578063e985e9c514610575578063f2fde38b146105a5576101c4565b8063b1d73026146104ab578063b88d4fde146104c7578063c87b56dd146104e3576101c4565b80638da5cb5b116100d35780638da5cb5b1461043757806395d89b4114610455578063a22cb46514610473578063adc84d2e1461048f576101c4565b806370a08231146103e1578063715018a614610411578063718570001461041b576101c4565b806340c10f19116101665780634f69b862116101405780634f69b862146103355780634f6ccce71461036557806355f804b3146103955780636352211e146103b1576101c4565b806340c10f19146102cd57806342842e0e146102fd5780634cd88b7614610319576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd146102815780632f745c591461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612d13565b6105c1565b6040516101f09190612d5b565b60405180910390f35b6102016106a3565b60405161020e9190612e0f565b60405180910390f35b610231600480360381019061022c9190612e67565b610735565b60405161023e9190612ed5565b60405180910390f35b610261600480360381019061025c9190612f1c565b6107ba565b005b61026b6108d2565b6040516102789190612f6b565b60405180910390f35b61029b60048036038101906102969190612f86565b6108df565b005b6102b760048036038101906102b29190612f1c565b61093f565b6040516102c49190612f6b565b60405180910390f35b6102e760048036038101906102e29190612f1c565b6109e4565b6040516102f49190612f6b565b60405180910390f35b61031760048036038101906103129190612f86565b610adf565b005b610333600480360381019061032e919061310e565b610aff565b005b61034f600480360381019061034a919061324e565b610be4565b60405161035c9190612d5b565b60405180910390f35b61037f600480360381019061037a9190612e67565b610c73565b60405161038c9190612f6b565b60405180910390f35b6103af60048036038101906103aa91906132aa565b610ce4565b005b6103cb60048036038101906103c69190612e67565b610d7a565b6040516103d89190612ed5565b60405180910390f35b6103fb60048036038101906103f691906132f3565b610e2f565b6040516104089190612f6b565b60405180910390f35b610419610ee7565b005b610435600480360381019061043091906132f3565b610f6f565b005b61043f611069565b60405161044c9190612ed5565b60405180910390f35b61045d611093565b60405161046a9190612e0f565b60405180910390f35b61048d6004803603810190610488919061334c565b611125565b005b6104a960048036038101906104a4919061338c565b6112a6565b005b6104c560048036038101906104c091906133e8565b6113ad565b005b6104e160048036038101906104dc91906134d2565b61148a565b005b6104fd60048036038101906104f89190612e67565b6114ec565b60405161050a9190612e0f565b60405180910390f35b61052d60048036038101906105289190612e67565b6115b4565b60405161053c93929190613555565b60405180910390f35b61055f600480360381019061055a9190612e67565b6115fe565b60405161056c9190612e0f565b60405180910390f35b61058f600480360381019061058a919061358c565b61169e565b60405161059c9190612d5b565b60405180910390f35b6105bf60048036038101906105ba91906132f3565b611732565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061069c575061069b8261182a565b5b9050919050565b6060609880546106b2906135fb565b80601f01602080910402602001604051908101604052809291908181526020018280546106de906135fb565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b600061074082611894565b61077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061369f565b60405180910390fd5b60a2600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c582610d7a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d90613731565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610855611903565b73ffffffffffffffffffffffffffffffffffffffff16148061088457506108838161087e611903565b61169e565b5b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba906137c3565b60405180910390fd5b6108cd838361190b565b505050565b6000609e80549050905090565b6108f06108ea611903565b826119c4565b61092f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092690613855565b60405180910390fd5b61093a838383611aa2565b505050565b600061094a83610e2f565b821061098b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610982906138e7565b60405180910390fd5b609c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006109ee611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613953565b60405180910390fd5b610a876097611d01565b6000610a936097611d17565b9050610a9f8482611d25565b8260a06000838152602001908152602001600020600101819055504360a06000838152602001908152602001600020600201819055508091505092915050565b610afa8383836040518060200160405280600081525061148a565b505050565b600060019054906101000a900460ff1680610b25575060008054906101000a900460ff16155b610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015610bb4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610bbe8383611d43565b8015610bdf5760008060016101000a81548160ff0219169083151502179055505b505050565b600080600090505b8251811015610c67578373ffffffffffffffffffffffffffffffffffffffff16610c2f848381518110610c2257610c21613a05565b5b6020026020010151610d7a565b73ffffffffffffffffffffffffffffffffffffffff1614610c54576000915050610c6d565b8080610c5f90613a63565b915050610bec565b50600190505b92915050565b6000610c7d6108d2565b8210610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613b1e565b60405180910390fd5b609e8281548110610cd257610cd1613a05565b5b90600052602060002001549050919050565b610cec611903565b73ffffffffffffffffffffffffffffffffffffffff16610d0a611069565b73ffffffffffffffffffffffffffffffffffffffff1614610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790613b8a565b60405180910390fd5b80609a9080519060200190610d76929190612c04565b5050565b60008060a0600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1d90613c1c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9790613cae565b60405180910390fd5b60a160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eef611903565b73ffffffffffffffffffffffffffffffffffffffff16610f0d611069565b73ffffffffffffffffffffffffffffffffffffffff1614610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90613b8a565b60405180910390fd5b610f6d6000611e40565b565b610f77611903565b73ffffffffffffffffffffffffffffffffffffffff16610f95611069565b73ffffffffffffffffffffffffffffffffffffffff1614610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe290613b8a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16141561102557600080fd5b80609b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609980546110a2906135fb565b80601f01602080910402602001604051908101604052809291908181526020018280546110ce906135fb565b801561111b5780601f106110f05761010080835404028352916020019161111b565b820191906000526020600020905b8154815290600101906020018083116110fe57829003601f168201915b5050505050905090565b61112d611903565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119290613d1a565b60405180910390fd5b8060a360006111a8611903565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611255611903565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161129a9190612d5b565b60405180910390a35050565b6112ae611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490613953565b60405180910390fd5b6000815111611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890613d86565b60405180910390fd5b8060a4600084815260200190815260200160002090805190602001906113a8929190612c04565b505050565b6113b5611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613953565b60405180910390fd5b60005b81518110156114865761147382828151811061146657611465613a05565b5b6020026020010151611f06565b808061147e90613a63565b915050611447565b5050565b61149b611495611903565b836119c4565b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613855565b60405180910390fd5b6114e68484848461202e565b50505050565b60606114f782611894565b611536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152d90613e18565b60405180910390fd5b6000609a8054611545906135fb565b90501161156157604051806020016040528060008152506115ad565b609a60a4600060a0600086815260200190815260200160002060010154815260200190815260200160002060405160200161159d929190613ed7565b6040516020818303038152906040525b9050919050565b60a06020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b60a4602052806000526040600020600091509050805461161d906135fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611649906135fb565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505081565b600060a360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61173a611903565b73ffffffffffffffffffffffffffffffffffffffff16611758611069565b73ffffffffffffffffffffffffffffffffffffffff16146117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a590613b8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590613f6d565b60405180910390fd5b61182781611e40565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1660a0600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b8160a2600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661197e83610d7a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119cf82611894565b611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590613fff565b60405180910390fd5b6000611a1983610d7a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a8857508373ffffffffffffffffffffffffffffffffffffffff16611a7084610735565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a995750611a98818561169e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ac282610d7a565b73ffffffffffffffffffffffffffffffffffffffff1614611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90614091565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90614123565b60405180910390fd5b611b9383838361208a565b611b9e60008261190b565b600160a160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bee9190614143565b92505081905550600160a160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c459190614177565b925050819055508160a0600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611d3f828260405180602001604052806000815250612193565b5050565b600060019054906101000a900460ff1680611d69575060008054906101000a900460ff16155b611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611df8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611e006121ee565b611e086122c7565b611e106123b0565b611e1a8383612489565b8015611e3b5760008060016101000a81548160ff0219169083151502179055505b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611f1182610d7a565b9050611f1f8160008461208a565b611f2a60008361190b565b600160a160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7a9190614143565b9250508190555060a06000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160009055505081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612039848484611aa2565b61204584848484612592565b612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b9061423f565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120cd576120c88161271a565b61210c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461210b5761210a8382612763565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561214f5761214a816128d0565b61218e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461218d5761218c82826129a1565b5b5b505050565b61219d8383612a20565b6121aa6000848484612592565b6121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e09061423f565b60405180910390fd5b505050565b600060019054906101000a900460ff1680612214575060008054906101000a900460ff16155b612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a906139e5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156122a3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156122c45760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806122ed575060008054906101000a900460ff16155b61232c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612323906139e5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561237c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61238c612387611903565b611e40565b80156123ad5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806123d6575060008054906101000a900460ff16155b612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015612465576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156124865760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806124af575060008054906101000a900460ff16155b6124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906139e5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561253e576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260989080519060200190612554929190612c04565b50816099908051906020019061256b929190612c04565b50801561258d5760008060016101000a81548160ff0219169083151502179055505b505050565b60006125b38473ffffffffffffffffffffffffffffffffffffffff16612bf1565b1561270d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125dc611903565b8786866040518563ffffffff1660e01b81526004016125fe94939291906142b4565b6020604051808303816000875af192505050801561263a57506040513d601f19601f820116820180604052508101906126379190614315565b60015b6126bd573d806000811461266a576040519150601f19603f3d011682016040523d82523d6000602084013e61266f565b606091505b506000815114156126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac9061423f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612712565b600190505b949350505050565b609e80549050609f600083815260200190815260200160002081905550609e81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161277084610e2f565b61277a9190614143565b90506000609d600084815260200190815260200160002054905081811461285f576000609c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080609c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081609d600083815260200190815260200160002081905550505b609d600084815260200190815260200160002060009055609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001609e805490506128e49190614143565b90506000609f60008481526020019081526020016000205490506000609e838154811061291457612913613a05565b5b9060005260206000200154905080609e838154811061293657612935613a05565b5b906000526020600020018190555081609f600083815260200190815260200160002081905550609f600085815260200190815260200160002060009055609e80548061298557612984614342565b5b6001900381819060005260206000200160009055905550505050565b60006129ac83610e2f565b905081609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080609d600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a87906143bd565b60405180910390fd5b612a9981611894565b15612ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad090614429565b60405180910390fd5b612ae56000838361208a565b600160a160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b359190614177565b925050819055508160a0600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c10906135fb565b90600052602060002090601f016020900481019282612c325760008555612c79565b82601f10612c4b57805160ff1916838001178555612c79565b82800160010185558215612c79579182015b82811115612c78578251825591602001919060010190612c5d565b5b509050612c869190612c8a565b5090565b5b80821115612ca3576000816000905550600101612c8b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cf081612cbb565b8114612cfb57600080fd5b50565b600081359050612d0d81612ce7565b92915050565b600060208284031215612d2957612d28612cb1565b5b6000612d3784828501612cfe565b91505092915050565b60008115159050919050565b612d5581612d40565b82525050565b6000602082019050612d706000830184612d4c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612db0578082015181840152602081019050612d95565b83811115612dbf576000848401525b50505050565b6000601f19601f8301169050919050565b6000612de182612d76565b612deb8185612d81565b9350612dfb818560208601612d92565b612e0481612dc5565b840191505092915050565b60006020820190508181036000830152612e298184612dd6565b905092915050565b6000819050919050565b612e4481612e31565b8114612e4f57600080fd5b50565b600081359050612e6181612e3b565b92915050565b600060208284031215612e7d57612e7c612cb1565b5b6000612e8b84828501612e52565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ebf82612e94565b9050919050565b612ecf81612eb4565b82525050565b6000602082019050612eea6000830184612ec6565b92915050565b612ef981612eb4565b8114612f0457600080fd5b50565b600081359050612f1681612ef0565b92915050565b60008060408385031215612f3357612f32612cb1565b5b6000612f4185828601612f07565b9250506020612f5285828601612e52565b9150509250929050565b612f6581612e31565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600080600060608486031215612f9f57612f9e612cb1565b5b6000612fad86828701612f07565b9350506020612fbe86828701612f07565b9250506040612fcf86828701612e52565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301b82612dc5565b810181811067ffffffffffffffff8211171561303a57613039612fe3565b5b80604052505050565b600061304d612ca7565b90506130598282613012565b919050565b600067ffffffffffffffff82111561307957613078612fe3565b5b61308282612dc5565b9050602081019050919050565b82818337600083830152505050565b60006130b16130ac8461305e565b613043565b9050828152602081018484840111156130cd576130cc612fde565b5b6130d884828561308f565b509392505050565b600082601f8301126130f5576130f4612fd9565b5b813561310584826020860161309e565b91505092915050565b6000806040838503121561312557613124612cb1565b5b600083013567ffffffffffffffff81111561314357613142612cb6565b5b61314f858286016130e0565b925050602083013567ffffffffffffffff8111156131705761316f612cb6565b5b61317c858286016130e0565b9150509250929050565b600067ffffffffffffffff8211156131a1576131a0612fe3565b5b602082029050602081019050919050565b600080fd5b60006131ca6131c584613186565b613043565b905080838252602082019050602084028301858111156131ed576131ec6131b2565b5b835b8181101561321657806132028882612e52565b8452602084019350506020810190506131ef565b5050509392505050565b600082601f83011261323557613234612fd9565b5b81356132458482602086016131b7565b91505092915050565b6000806040838503121561326557613264612cb1565b5b600061327385828601612f07565b925050602083013567ffffffffffffffff81111561329457613293612cb6565b5b6132a085828601613220565b9150509250929050565b6000602082840312156132c0576132bf612cb1565b5b600082013567ffffffffffffffff8111156132de576132dd612cb6565b5b6132ea848285016130e0565b91505092915050565b60006020828403121561330957613308612cb1565b5b600061331784828501612f07565b91505092915050565b61332981612d40565b811461333457600080fd5b50565b60008135905061334681613320565b92915050565b6000806040838503121561336357613362612cb1565b5b600061337185828601612f07565b925050602061338285828601613337565b9150509250929050565b600080604083850312156133a3576133a2612cb1565b5b60006133b185828601612e52565b925050602083013567ffffffffffffffff8111156133d2576133d1612cb6565b5b6133de858286016130e0565b9150509250929050565b6000602082840312156133fe576133fd612cb1565b5b600082013567ffffffffffffffff81111561341c5761341b612cb6565b5b61342884828501613220565b91505092915050565b600067ffffffffffffffff82111561344c5761344b612fe3565b5b61345582612dc5565b9050602081019050919050565b600061347561347084613431565b613043565b90508281526020810184848401111561349157613490612fde565b5b61349c84828561308f565b509392505050565b600082601f8301126134b9576134b8612fd9565b5b81356134c9848260208601613462565b91505092915050565b600080600080608085870312156134ec576134eb612cb1565b5b60006134fa87828801612f07565b945050602061350b87828801612f07565b935050604061351c87828801612e52565b925050606085013567ffffffffffffffff81111561353d5761353c612cb6565b5b613549878288016134a4565b91505092959194509250565b600060608201905061356a6000830186612ec6565b6135776020830185612f5c565b6135846040830184612f5c565b949350505050565b600080604083850312156135a3576135a2612cb1565b5b60006135b185828601612f07565b92505060206135c285828601612f07565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061361357607f821691505b60208210811415613627576136266135cc565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613689602c83612d81565b91506136948261362d565b604082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061371b602183612d81565b9150613726826136bf565b604082019050919050565b6000602082019050818103600083015261374a8161370e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137ad603883612d81565b91506137b882613751565b604082019050919050565b600060208201905081810360008301526137dc816137a0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061383f603183612d81565b915061384a826137e3565b604082019050919050565b6000602082019050818103600083015261386e81613832565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006138d1602b83612d81565b91506138dc82613875565b604082019050919050565b60006020820190508181036000830152613900816138c4565b9050919050565b7f4552433732313a206e6f7420616c6c6f77656420746f20616363657373000000600082015250565b600061393d601d83612d81565b915061394882613907565b602082019050919050565b6000602082019050818103600083015261396c81613930565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006139cf602e83612d81565b91506139da82613973565b604082019050919050565b600060208201905081810360008301526139fe816139c2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a6e82612e31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aa157613aa0613a34565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613b08602c83612d81565b9150613b1382613aac565b604082019050919050565b60006020820190508181036000830152613b3781613afb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b74602083612d81565b9150613b7f82613b3e565b602082019050919050565b60006020820190508181036000830152613ba381613b67565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613c06602983612d81565b9150613c1182613baa565b604082019050919050565b60006020820190508181036000830152613c3581613bf9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613c98602a83612d81565b9150613ca382613c3c565b604082019050919050565b60006020820190508181036000830152613cc781613c8b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d04601983612d81565b9150613d0f82613cce565b602082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f75726920697320656d7074790000000000000000000000000000000000000000600082015250565b6000613d70600c83612d81565b9150613d7b82613d3a565b602082019050919050565b60006020820190508181036000830152613d9f81613d63565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e02602f83612d81565b9150613e0d82613da6565b604082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613e65816135fb565b613e6f8186613e38565b94506001821660008114613e8a5760018114613e9b57613ece565b60ff19831686528186019350613ece565b613ea485613e43565b60005b83811015613ec657815481890152600182019150602081019050613ea7565b838801955050505b50505092915050565b6000613ee38285613e58565b9150613eef8284613e58565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f57602683612d81565b9150613f6282613efb565b604082019050919050565b60006020820190508181036000830152613f8681613f4a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fe9602c83612d81565b9150613ff482613f8d565b604082019050919050565b6000602082019050818103600083015261401881613fdc565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061407b602983612d81565b91506140868261401f565b604082019050919050565b600060208201905081810360008301526140aa8161406e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061410d602483612d81565b9150614118826140b1565b604082019050919050565b6000602082019050818103600083015261413c81614100565b9050919050565b600061414e82612e31565b915061415983612e31565b92508282101561416c5761416b613a34565b5b828203905092915050565b600061418282612e31565b915061418d83612e31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141c2576141c1613a34565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614229603283612d81565b9150614234826141cd565b604082019050919050565b600060208201905081810360008301526142588161421c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142868261425f565b614290818561426a565b93506142a0818560208601612d92565b6142a981612dc5565b840191505092915050565b60006080820190506142c96000830187612ec6565b6142d66020830186612ec6565b6142e36040830185612f5c565b81810360608301526142f5818461427b565b905095945050505050565b60008151905061430f81612ce7565b92915050565b60006020828403121561432b5761432a612cb1565b5b600061433984828501614300565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006143a7602083612d81565b91506143b282614371565b602082019050919050565b600060208201905081810360008301526143d68161439a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614413601c83612d81565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b905091905056fea2646970667358221220ce4676e27aa0ec4f02b04d2207ad68eafe28fc86d03b13d33230059f7acb5a6a64736f6c634300080a0033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063b1d7302611610097578063cc33c87511610071578063cc33c87514610513578063cd846f1114610545578063e985e9c514610575578063f2fde38b146105a5576101c4565b8063b1d73026146104ab578063b88d4fde146104c7578063c87b56dd146104e3576101c4565b80638da5cb5b116100d35780638da5cb5b1461043757806395d89b4114610455578063a22cb46514610473578063adc84d2e1461048f576101c4565b806370a08231146103e1578063715018a614610411578063718570001461041b576101c4565b806340c10f19116101665780634f69b862116101405780634f69b862146103355780634f6ccce71461036557806355f804b3146103955780636352211e146103b1576101c4565b806340c10f19146102cd57806342842e0e146102fd5780634cd88b7614610319576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd146102815780632f745c591461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612d13565b6105c1565b6040516101f09190612d5b565b60405180910390f35b6102016106a3565b60405161020e9190612e0f565b60405180910390f35b610231600480360381019061022c9190612e67565b610735565b60405161023e9190612ed5565b60405180910390f35b610261600480360381019061025c9190612f1c565b6107ba565b005b61026b6108d2565b6040516102789190612f6b565b60405180910390f35b61029b60048036038101906102969190612f86565b6108df565b005b6102b760048036038101906102b29190612f1c565b61093f565b6040516102c49190612f6b565b60405180910390f35b6102e760048036038101906102e29190612f1c565b6109e4565b6040516102f49190612f6b565b60405180910390f35b61031760048036038101906103129190612f86565b610adf565b005b610333600480360381019061032e919061310e565b610aff565b005b61034f600480360381019061034a919061324e565b610be4565b60405161035c9190612d5b565b60405180910390f35b61037f600480360381019061037a9190612e67565b610c73565b60405161038c9190612f6b565b60405180910390f35b6103af60048036038101906103aa91906132aa565b610ce4565b005b6103cb60048036038101906103c69190612e67565b610d7a565b6040516103d89190612ed5565b60405180910390f35b6103fb60048036038101906103f691906132f3565b610e2f565b6040516104089190612f6b565b60405180910390f35b610419610ee7565b005b610435600480360381019061043091906132f3565b610f6f565b005b61043f611069565b60405161044c9190612ed5565b60405180910390f35b61045d611093565b60405161046a9190612e0f565b60405180910390f35b61048d6004803603810190610488919061334c565b611125565b005b6104a960048036038101906104a4919061338c565b6112a6565b005b6104c560048036038101906104c091906133e8565b6113ad565b005b6104e160048036038101906104dc91906134d2565b61148a565b005b6104fd60048036038101906104f89190612e67565b6114ec565b60405161050a9190612e0f565b60405180910390f35b61052d60048036038101906105289190612e67565b6115b4565b60405161053c93929190613555565b60405180910390f35b61055f600480360381019061055a9190612e67565b6115fe565b60405161056c9190612e0f565b60405180910390f35b61058f600480360381019061058a919061358c565b61169e565b60405161059c9190612d5b565b60405180910390f35b6105bf60048036038101906105ba91906132f3565b611732565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061069c575061069b8261182a565b5b9050919050565b6060609880546106b2906135fb565b80601f01602080910402602001604051908101604052809291908181526020018280546106de906135fb565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b600061074082611894565b61077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061369f565b60405180910390fd5b60a2600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c582610d7a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d90613731565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610855611903565b73ffffffffffffffffffffffffffffffffffffffff16148061088457506108838161087e611903565b61169e565b5b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba906137c3565b60405180910390fd5b6108cd838361190b565b505050565b6000609e80549050905090565b6108f06108ea611903565b826119c4565b61092f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092690613855565b60405180910390fd5b61093a838383611aa2565b505050565b600061094a83610e2f565b821061098b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610982906138e7565b60405180910390fd5b609c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006109ee611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613953565b60405180910390fd5b610a876097611d01565b6000610a936097611d17565b9050610a9f8482611d25565b8260a06000838152602001908152602001600020600101819055504360a06000838152602001908152602001600020600201819055508091505092915050565b610afa8383836040518060200160405280600081525061148a565b505050565b600060019054906101000a900460ff1680610b25575060008054906101000a900460ff16155b610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015610bb4576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610bbe8383611d43565b8015610bdf5760008060016101000a81548160ff0219169083151502179055505b505050565b600080600090505b8251811015610c67578373ffffffffffffffffffffffffffffffffffffffff16610c2f848381518110610c2257610c21613a05565b5b6020026020010151610d7a565b73ffffffffffffffffffffffffffffffffffffffff1614610c54576000915050610c6d565b8080610c5f90613a63565b915050610bec565b50600190505b92915050565b6000610c7d6108d2565b8210610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613b1e565b60405180910390fd5b609e8281548110610cd257610cd1613a05565b5b90600052602060002001549050919050565b610cec611903565b73ffffffffffffffffffffffffffffffffffffffff16610d0a611069565b73ffffffffffffffffffffffffffffffffffffffff1614610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790613b8a565b60405180910390fd5b80609a9080519060200190610d76929190612c04565b5050565b60008060a0600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1d90613c1c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9790613cae565b60405180910390fd5b60a160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eef611903565b73ffffffffffffffffffffffffffffffffffffffff16610f0d611069565b73ffffffffffffffffffffffffffffffffffffffff1614610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90613b8a565b60405180910390fd5b610f6d6000611e40565b565b610f77611903565b73ffffffffffffffffffffffffffffffffffffffff16610f95611069565b73ffffffffffffffffffffffffffffffffffffffff1614610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe290613b8a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16141561102557600080fd5b80609b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609980546110a2906135fb565b80601f01602080910402602001604051908101604052809291908181526020018280546110ce906135fb565b801561111b5780601f106110f05761010080835404028352916020019161111b565b820191906000526020600020905b8154815290600101906020018083116110fe57829003601f168201915b5050505050905090565b61112d611903565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119290613d1a565b60405180910390fd5b8060a360006111a8611903565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611255611903565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161129a9190612d5b565b60405180910390a35050565b6112ae611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490613953565b60405180910390fd5b6000815111611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890613d86565b60405180910390fd5b8060a4600084815260200190815260200160002090805190602001906113a8929190612c04565b505050565b6113b5611903565b73ffffffffffffffffffffffffffffffffffffffff16609b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613953565b60405180910390fd5b60005b81518110156114865761147382828151811061146657611465613a05565b5b6020026020010151611f06565b808061147e90613a63565b915050611447565b5050565b61149b611495611903565b836119c4565b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190613855565b60405180910390fd5b6114e68484848461202e565b50505050565b60606114f782611894565b611536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152d90613e18565b60405180910390fd5b6000609a8054611545906135fb565b90501161156157604051806020016040528060008152506115ad565b609a60a4600060a0600086815260200190815260200160002060010154815260200190815260200160002060405160200161159d929190613ed7565b6040516020818303038152906040525b9050919050565b60a06020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b60a4602052806000526040600020600091509050805461161d906135fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611649906135fb565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505081565b600060a360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61173a611903565b73ffffffffffffffffffffffffffffffffffffffff16611758611069565b73ffffffffffffffffffffffffffffffffffffffff16146117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a590613b8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590613f6d565b60405180910390fd5b61182781611e40565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1660a0600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b8160a2600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661197e83610d7a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119cf82611894565b611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590613fff565b60405180910390fd5b6000611a1983610d7a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a8857508373ffffffffffffffffffffffffffffffffffffffff16611a7084610735565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a995750611a98818561169e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ac282610d7a565b73ffffffffffffffffffffffffffffffffffffffff1614611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90614091565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90614123565b60405180910390fd5b611b9383838361208a565b611b9e60008261190b565b600160a160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bee9190614143565b92505081905550600160a160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c459190614177565b925050819055508160a0600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611d3f828260405180602001604052806000815250612193565b5050565b600060019054906101000a900460ff1680611d69575060008054906101000a900460ff16155b611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015611df8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611e006121ee565b611e086122c7565b611e106123b0565b611e1a8383612489565b8015611e3b5760008060016101000a81548160ff0219169083151502179055505b505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611f1182610d7a565b9050611f1f8160008461208a565b611f2a60008361190b565b600160a160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7a9190614143565b9250508190555060a06000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160009055505081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612039848484611aa2565b61204584848484612592565b612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b9061423f565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120cd576120c88161271a565b61210c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461210b5761210a8382612763565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561214f5761214a816128d0565b61218e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461218d5761218c82826129a1565b5b5b505050565b61219d8383612a20565b6121aa6000848484612592565b6121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e09061423f565b60405180910390fd5b505050565b600060019054906101000a900460ff1680612214575060008054906101000a900460ff16155b612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a906139e5565b60405180910390fd5b60008060019054906101000a900460ff1615905080156122a3576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156122c45760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806122ed575060008054906101000a900460ff16155b61232c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612323906139e5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561237c576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61238c612387611903565b611e40565b80156123ad5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806123d6575060008054906101000a900460ff16155b612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c906139e5565b60405180910390fd5b60008060019054906101000a900460ff161590508015612465576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156124865760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806124af575060008054906101000a900460ff16155b6124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906139e5565b60405180910390fd5b60008060019054906101000a900460ff16159050801561253e576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260989080519060200190612554929190612c04565b50816099908051906020019061256b929190612c04565b50801561258d5760008060016101000a81548160ff0219169083151502179055505b505050565b60006125b38473ffffffffffffffffffffffffffffffffffffffff16612bf1565b1561270d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125dc611903565b8786866040518563ffffffff1660e01b81526004016125fe94939291906142b4565b6020604051808303816000875af192505050801561263a57506040513d601f19601f820116820180604052508101906126379190614315565b60015b6126bd573d806000811461266a576040519150601f19603f3d011682016040523d82523d6000602084013e61266f565b606091505b506000815114156126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac9061423f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612712565b600190505b949350505050565b609e80549050609f600083815260200190815260200160002081905550609e81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161277084610e2f565b61277a9190614143565b90506000609d600084815260200190815260200160002054905081811461285f576000609c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080609c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081609d600083815260200190815260200160002081905550505b609d600084815260200190815260200160002060009055609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001609e805490506128e49190614143565b90506000609f60008481526020019081526020016000205490506000609e838154811061291457612913613a05565b5b9060005260206000200154905080609e838154811061293657612935613a05565b5b906000526020600020018190555081609f600083815260200190815260200160002081905550609f600085815260200190815260200160002060009055609e80548061298557612984614342565b5b6001900381819060005260206000200160009055905550505050565b60006129ac83610e2f565b905081609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080609d600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a87906143bd565b60405180910390fd5b612a9981611894565b15612ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad090614429565b60405180910390fd5b612ae56000838361208a565b600160a160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b359190614177565b925050819055508160a0600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c10906135fb565b90600052602060002090601f016020900481019282612c325760008555612c79565b82601f10612c4b57805160ff1916838001178555612c79565b82800160010185558215612c79579182015b82811115612c78578251825591602001919060010190612c5d565b5b509050612c869190612c8a565b5090565b5b80821115612ca3576000816000905550600101612c8b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cf081612cbb565b8114612cfb57600080fd5b50565b600081359050612d0d81612ce7565b92915050565b600060208284031215612d2957612d28612cb1565b5b6000612d3784828501612cfe565b91505092915050565b60008115159050919050565b612d5581612d40565b82525050565b6000602082019050612d706000830184612d4c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612db0578082015181840152602081019050612d95565b83811115612dbf576000848401525b50505050565b6000601f19601f8301169050919050565b6000612de182612d76565b612deb8185612d81565b9350612dfb818560208601612d92565b612e0481612dc5565b840191505092915050565b60006020820190508181036000830152612e298184612dd6565b905092915050565b6000819050919050565b612e4481612e31565b8114612e4f57600080fd5b50565b600081359050612e6181612e3b565b92915050565b600060208284031215612e7d57612e7c612cb1565b5b6000612e8b84828501612e52565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ebf82612e94565b9050919050565b612ecf81612eb4565b82525050565b6000602082019050612eea6000830184612ec6565b92915050565b612ef981612eb4565b8114612f0457600080fd5b50565b600081359050612f1681612ef0565b92915050565b60008060408385031215612f3357612f32612cb1565b5b6000612f4185828601612f07565b9250506020612f5285828601612e52565b9150509250929050565b612f6581612e31565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600080600060608486031215612f9f57612f9e612cb1565b5b6000612fad86828701612f07565b9350506020612fbe86828701612f07565b9250506040612fcf86828701612e52565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301b82612dc5565b810181811067ffffffffffffffff8211171561303a57613039612fe3565b5b80604052505050565b600061304d612ca7565b90506130598282613012565b919050565b600067ffffffffffffffff82111561307957613078612fe3565b5b61308282612dc5565b9050602081019050919050565b82818337600083830152505050565b60006130b16130ac8461305e565b613043565b9050828152602081018484840111156130cd576130cc612fde565b5b6130d884828561308f565b509392505050565b600082601f8301126130f5576130f4612fd9565b5b813561310584826020860161309e565b91505092915050565b6000806040838503121561312557613124612cb1565b5b600083013567ffffffffffffffff81111561314357613142612cb6565b5b61314f858286016130e0565b925050602083013567ffffffffffffffff8111156131705761316f612cb6565b5b61317c858286016130e0565b9150509250929050565b600067ffffffffffffffff8211156131a1576131a0612fe3565b5b602082029050602081019050919050565b600080fd5b60006131ca6131c584613186565b613043565b905080838252602082019050602084028301858111156131ed576131ec6131b2565b5b835b8181101561321657806132028882612e52565b8452602084019350506020810190506131ef565b5050509392505050565b600082601f83011261323557613234612fd9565b5b81356132458482602086016131b7565b91505092915050565b6000806040838503121561326557613264612cb1565b5b600061327385828601612f07565b925050602083013567ffffffffffffffff81111561329457613293612cb6565b5b6132a085828601613220565b9150509250929050565b6000602082840312156132c0576132bf612cb1565b5b600082013567ffffffffffffffff8111156132de576132dd612cb6565b5b6132ea848285016130e0565b91505092915050565b60006020828403121561330957613308612cb1565b5b600061331784828501612f07565b91505092915050565b61332981612d40565b811461333457600080fd5b50565b60008135905061334681613320565b92915050565b6000806040838503121561336357613362612cb1565b5b600061337185828601612f07565b925050602061338285828601613337565b9150509250929050565b600080604083850312156133a3576133a2612cb1565b5b60006133b185828601612e52565b925050602083013567ffffffffffffffff8111156133d2576133d1612cb6565b5b6133de858286016130e0565b9150509250929050565b6000602082840312156133fe576133fd612cb1565b5b600082013567ffffffffffffffff81111561341c5761341b612cb6565b5b61342884828501613220565b91505092915050565b600067ffffffffffffffff82111561344c5761344b612fe3565b5b61345582612dc5565b9050602081019050919050565b600061347561347084613431565b613043565b90508281526020810184848401111561349157613490612fde565b5b61349c84828561308f565b509392505050565b600082601f8301126134b9576134b8612fd9565b5b81356134c9848260208601613462565b91505092915050565b600080600080608085870312156134ec576134eb612cb1565b5b60006134fa87828801612f07565b945050602061350b87828801612f07565b935050604061351c87828801612e52565b925050606085013567ffffffffffffffff81111561353d5761353c612cb6565b5b613549878288016134a4565b91505092959194509250565b600060608201905061356a6000830186612ec6565b6135776020830185612f5c565b6135846040830184612f5c565b949350505050565b600080604083850312156135a3576135a2612cb1565b5b60006135b185828601612f07565b92505060206135c285828601612f07565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061361357607f821691505b60208210811415613627576136266135cc565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613689602c83612d81565b91506136948261362d565b604082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061371b602183612d81565b9150613726826136bf565b604082019050919050565b6000602082019050818103600083015261374a8161370e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137ad603883612d81565b91506137b882613751565b604082019050919050565b600060208201905081810360008301526137dc816137a0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061383f603183612d81565b915061384a826137e3565b604082019050919050565b6000602082019050818103600083015261386e81613832565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006138d1602b83612d81565b91506138dc82613875565b604082019050919050565b60006020820190508181036000830152613900816138c4565b9050919050565b7f4552433732313a206e6f7420616c6c6f77656420746f20616363657373000000600082015250565b600061393d601d83612d81565b915061394882613907565b602082019050919050565b6000602082019050818103600083015261396c81613930565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006139cf602e83612d81565b91506139da82613973565b604082019050919050565b600060208201905081810360008301526139fe816139c2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a6e82612e31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aa157613aa0613a34565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613b08602c83612d81565b9150613b1382613aac565b604082019050919050565b60006020820190508181036000830152613b3781613afb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b74602083612d81565b9150613b7f82613b3e565b602082019050919050565b60006020820190508181036000830152613ba381613b67565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613c06602983612d81565b9150613c1182613baa565b604082019050919050565b60006020820190508181036000830152613c3581613bf9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613c98602a83612d81565b9150613ca382613c3c565b604082019050919050565b60006020820190508181036000830152613cc781613c8b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d04601983612d81565b9150613d0f82613cce565b602082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f75726920697320656d7074790000000000000000000000000000000000000000600082015250565b6000613d70600c83612d81565b9150613d7b82613d3a565b602082019050919050565b60006020820190508181036000830152613d9f81613d63565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e02602f83612d81565b9150613e0d82613da6565b604082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613e65816135fb565b613e6f8186613e38565b94506001821660008114613e8a5760018114613e9b57613ece565b60ff19831686528186019350613ece565b613ea485613e43565b60005b83811015613ec657815481890152600182019150602081019050613ea7565b838801955050505b50505092915050565b6000613ee38285613e58565b9150613eef8284613e58565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f57602683612d81565b9150613f6282613efb565b604082019050919050565b60006020820190508181036000830152613f8681613f4a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fe9602c83612d81565b9150613ff482613f8d565b604082019050919050565b6000602082019050818103600083015261401881613fdc565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061407b602983612d81565b91506140868261401f565b604082019050919050565b600060208201905081810360008301526140aa8161406e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061410d602483612d81565b9150614118826140b1565b604082019050919050565b6000602082019050818103600083015261413c81614100565b9050919050565b600061414e82612e31565b915061415983612e31565b92508282101561416c5761416b613a34565b5b828203905092915050565b600061418282612e31565b915061418d83612e31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141c2576141c1613a34565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614229603283612d81565b9150614234826141cd565b604082019050919050565b600060208201905081810360008301526142588161421c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142868261425f565b614290818561426a565b93506142a0818560208601612d92565b6142a981612dc5565b840191505092915050565b60006080820190506142c96000830187612ec6565b6142d66020830186612ec6565b6142e36040830185612f5c565b81810360608301526142f5818461427b565b905095945050505050565b60008151905061430f81612ce7565b92915050565b60006020828403121561432b5761432a612cb1565b5b600061433984828501614300565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006143a7602083612d81565b91506143b282614371565b602082019050919050565b600060208201905081810360008301526143d68161439a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614413601c83612d81565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b905091905056fea2646970667358221220ce4676e27aa0ec4f02b04d2207ad68eafe28fc86d03b13d33230059f7acb5a6a64736f6c634300080a0033