Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,371 HH
Holders
275
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HunterHound
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; struct HunterHoundTraits { bool isHunter; uint alpha; uint metadataId; } uint constant MIN_ALPHA = 5; uint constant MAX_ALPHA = 8; contract HunterHound is ERC721Enumerable, Ownable { using Strings for uint256; // 111 a mapping from an address to whether or not it can mint / burn mapping(address => bool) public controllers; // save token traits mapping(uint256 => HunterHoundTraits) private tokenTraits; //the base url for metadata string baseUrl = "ipfs://QmVkCrCmvZEk3kuZDiSJXw25Urf3f93damrbRJLbDY5yT2/"; constructor() ERC721("HunterHound","HH") { } /** * set base URL for metadata */ function setBaseUrl(string calldata baseUrl_) external onlyOwner { baseUrl = baseUrl_; } /** * get token traits */ function getTokenTraits(uint256 tokenId) external view returns (HunterHoundTraits memory) { return tokenTraits[tokenId]; } /** * get multiple token traits */ function getTraitsByTokenIds(uint256[] calldata tokenIds) external view returns (HunterHoundTraits[] memory traits) { traits = new HunterHoundTraits[](tokenIds.length); for (uint256 i = 0; i < tokenIds.length; i++) { traits[i] = tokenTraits[tokenIds[i]]; } } /** * Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { HunterHoundTraits memory s = tokenTraits[tokenId]; return string(abi.encodePacked( baseUrl, s.isHunter ? 'Hunter' : 'Hound', '-', s.alpha.toString(), '/', s.isHunter ? 'Hunter' : 'Hound', '-', s.alpha.toString(), '-', s.metadataId.toString(), '.json' )); } /** * return holder's entire tokens */ function tokensByOwner(address owner) external view returns (uint256[] memory tokenIds, HunterHoundTraits[] memory traits) { uint totalCount = balanceOf(owner); tokenIds = new uint256[](totalCount); traits = new HunterHoundTraits[](totalCount); for (uint256 i = 0; i < totalCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); traits[i] = tokenTraits[tokenIds[i]]; } } /** * return token traits */ function isHunterAndAlphaByTokenId(uint256 tokenId) external view returns (bool, uint) { HunterHoundTraits memory traits = tokenTraits[tokenId]; return (traits.isHunter, traits.alpha); } /** * controller to mint a token */ function mintByController(address account, uint256 tokenId, HunterHoundTraits calldata traits) external { require(controllers[_msgSender()], "Only controllers can mint"); tokenTraits[tokenId] = traits; _safeMint(account, tokenId); } /** * controller to transfer a token */ function transferByController(address from, address to, uint256 tokenId) external { require(controllers[_msgSender()], "Only controllers can transfer"); _transfer(from, to, tokenId); } /** * enables an address to mint / burn * @param controller the address to enable */ function addController(address controller) external onlyOwner { controllers[controller] = true; } /** * disables an address from minting / burning * @param controller the address to disbale */ function removeController(address controller) external onlyOwner { controllers[controller] = false; } }
// SPDX-License-Identifier: MIT 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 IERC165 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.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 ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(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); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // 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; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.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 < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); 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); } } /** * @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 = ERC721.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 = ERC721.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(); } }
// SPDX-License-Identifier: MIT 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 IERC721Receiver { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.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 ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).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 = _owners[tokenId]; 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"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.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 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 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 _owners[tokenId] != 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 = ERC721.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; _owners[tokenId] = 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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[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(ERC721.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; _owners[tokenId] = 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(ERC721.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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenTraits","outputs":[{"components":[{"internalType":"bool","name":"isHunter","type":"bool"},{"internalType":"uint256","name":"alpha","type":"uint256"},{"internalType":"uint256","name":"metadataId","type":"uint256"}],"internalType":"struct HunterHoundTraits","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"getTraitsByTokenIds","outputs":[{"components":[{"internalType":"bool","name":"isHunter","type":"bool"},{"internalType":"uint256","name":"alpha","type":"uint256"},{"internalType":"uint256","name":"metadataId","type":"uint256"}],"internalType":"struct HunterHoundTraits[]","name":"traits","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isHunterAndAlphaByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"bool","name":"isHunter","type":"bool"},{"internalType":"uint256","name":"alpha","type":"uint256"},{"internalType":"uint256","name":"metadataId","type":"uint256"}],"internalType":"struct HunterHoundTraits","name":"traits","type":"tuple"}],"name":"mintByController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUrl_","type":"string"}],"name":"setBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensByOwner","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"components":[{"internalType":"bool","name":"isHunter","type":"bool"},{"internalType":"uint256","name":"alpha","type":"uint256"},{"internalType":"uint256","name":"metadataId","type":"uint256"}],"internalType":"struct HunterHoundTraits[]","name":"traits","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferByController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060600160405280603681526020016200488660369139600d908051906020019062000035929190620001d8565b503480156200004357600080fd5b506040518060400160405280600b81526020017f48756e746572486f756e640000000000000000000000000000000000000000008152506040518060400160405280600281526020017f48480000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c8929190620001d8565b508060019080519060200190620000e1929190620001d8565b50505062000104620000f86200010a60201b60201c565b6200011260201b60201c565b620002ed565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e690620002b7565b90600052602060002090601f0160209004810192826200020a576000855562000256565b82601f106200022557805160ff191683800117855562000256565b8280016001018555821562000256579182015b828111156200025557825182559160200191906001019062000238565b5b50905062000265919062000269565b5090565b5b80821115620002845760008160009055506001016200026a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002d057607f821691505b60208210811415620002e757620002e662000288565b5b50919050565b61458980620002fd6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063daddf03411610071578063daddf03414610564578063e985e9c514610594578063f2fde38b146105c4578063f6a74ed7146105e0576101cf565b8063b88d4fde146104cc578063c7c3268b146104e8578063c87b56dd14610504578063da8c229e14610534576101cf565b806394e8b461116100de57806394e8b4611461045a57806395d89b4114610476578063a22cb46514610494578063a7fc7a07146104b0576101cf565b8063715018a6146104025780638da5cb5b1461040c57806394e568471461042a576101cf565b806318160ddd1161017157806342842e0e1161014b57806342842e0e146103565780634f6ccce7146103725780636352211e146103a257806370a08231146103d2576101cf565b806318160ddd146102ec57806323b872dd1461030a5780632f745c5914610326576101cf565b8063081812fc116101ad578063081812fc14610253578063095ea7b31461028357806309d3df171461029f5780630d381a28146102bb576101cf565b806301ffc9a7146101d457806306fdde0314610204578063075927bf14610222575b600080fd5b6101ee60048036038101906101e99190612a83565b6105fc565b6040516101fb9190612acb565b60405180910390f35b61020c610676565b6040516102199190612b7f565b60405180910390f35b61023c60048036038101906102379190612bd7565b610708565b60405161024a929190612c13565b60405180910390f35b61026d60048036038101906102689190612bd7565b610770565b60405161027a9190612c7d565b60405180910390f35b61029d60048036038101906102989190612cc4565b6107f5565b005b6102b960048036038101906102b49190612d28565b61090d565b005b6102d560048036038101906102d09190612d7b565b6109d2565b6040516102e3929190612f66565b60405180910390f35b6102f4610b56565b6040516103019190612f9d565b60405180910390f35b610324600480360381019061031f9190612fb8565b610b63565b005b610340600480360381019061033b9190612cc4565b610bc3565b60405161034d9190612f9d565b60405180910390f35b610370600480360381019061036b9190612fb8565b610c68565b005b61038c60048036038101906103879190612bd7565b610c88565b6040516103999190612f9d565b60405180910390f35b6103bc60048036038101906103b79190612bd7565b610cf9565b6040516103c99190612c7d565b60405180910390f35b6103ec60048036038101906103e79190612d7b565b610dab565b6040516103f99190612f9d565b60405180910390f35b61040a610e63565b005b610414610eeb565b6040516104219190612c7d565b60405180910390f35b610444600480360381019061043f9190612bd7565b610f15565b604051610451919061304d565b60405180910390f35b610474600480360381019061046f9190612fb8565b610f71565b005b61047e611014565b60405161048b9190612b7f565b60405180910390f35b6104ae60048036038101906104a99190613094565b6110a6565b005b6104ca60048036038101906104c59190612d7b565b611227565b005b6104e660048036038101906104e19190613209565b6112fe565b005b61050260048036038101906104fd91906132ec565b611360565b005b61051e60048036038101906105199190612bd7565b6113f2565b60405161052b9190612b7f565b60405180910390f35b61054e60048036038101906105499190612d7b565b611590565b60405161055b9190612acb565b60405180910390f35b61057e6004803603810190610579919061338f565b6115b0565b60405161058b91906133dc565b60405180910390f35b6105ae60048036038101906105a991906133fe565b6116b7565b6040516105bb9190612acb565b60405180910390f35b6105de60048036038101906105d99190612d7b565b61174b565b005b6105fa60048036038101906105f59190612d7b565b611843565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066f575061066e8261191a565b5b9050919050565b6060600080546106859061346d565b80601f01602080910402602001604051908101604052809291908181526020018280546106b19061346d565b80156106fe5780601f106106d3576101008083540402835291602001916106fe565b820191906000526020600020905b8154815290600101906020018083116106e157829003601f168201915b5050505050905090565b6000806000600c60008581526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050806000015181602001519250925050915091565b600061077b826119fc565b6107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190613511565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080082610cf9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610871576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610868906135a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610890611a68565b73ffffffffffffffffffffffffffffffffffffffff1614806108bf57506108be816108b9611a68565b6116b7565b5b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613635565b60405180910390fd5b6109088383611a70565b505050565b600b6000610919611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610997906136a1565b60405180910390fd5b80600c600084815260200190815260200160002081816109c0919061385e565b9050506109cd8383611b29565b505050565b60608060006109e084610dab565b90508067ffffffffffffffff8111156109fc576109fb6130de565b5b604051908082528060200260200182016040528015610a2a5781602001602082028036833780820191505090505b5092508067ffffffffffffffff811115610a4757610a466130de565b5b604051908082528060200260200182016040528015610a8057816020015b610a6d612951565b815260200190600190039081610a655790505b50915060005b81811015610b4f57610a988582610bc3565b848281518110610aab57610aaa61386c565b5b602002602001018181525050600c6000858381518110610ace57610acd61386c565b5b602002602001015181526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481525050838281518110610b3157610b3061386c565b5b60200260200101819052508080610b47906138ca565b915050610a86565b5050915091565b6000600880549050905090565b610b74610b6e611a68565b82611b47565b610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90613985565b60405180910390fd5b610bbe838383611c25565b505050565b6000610bce83610dab565b8210610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0690613a17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c83838383604051806020016040528060008152506112fe565b505050565b6000610c92610b56565b8210610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90613aa9565b60405180910390fd5b60088281548110610ce757610ce661386c565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990613b3b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390613bcd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e6b611a68565b73ffffffffffffffffffffffffffffffffffffffff16610e89610eeb565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613c39565b60405180910390fd5b610ee96000611e81565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f1d612951565b600c60008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050919050565b600b6000610f7d611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb90613ca5565b60405180910390fd5b61100f838383611c25565b505050565b6060600180546110239061346d565b80601f016020809104026020016040519081016040528092919081815260200182805461104f9061346d565b801561109c5780601f106110715761010080835404028352916020019161109c565b820191906000526020600020905b81548152906001019060200180831161107f57829003601f168201915b5050505050905090565b6110ae611a68565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111390613d11565b60405180910390fd5b8060056000611129611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d6611a68565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121b9190612acb565b60405180910390a35050565b61122f611a68565b73ffffffffffffffffffffffffffffffffffffffff1661124d610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613c39565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61130f611309611a68565b83611b47565b61134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590613985565b60405180910390fd5b61135a84848484611f47565b50505050565b611368611a68565b73ffffffffffffffffffffffffffffffffffffffff16611386610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390613c39565b60405180910390fd5b8181600d91906113ed929190612974565b505050565b60606000600c60008481526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050600d816000015161148b576040518060400160405280600581526020017f486f756e640000000000000000000000000000000000000000000000000000008152506114c2565b6040518060400160405280600681526020017f48756e74657200000000000000000000000000000000000000000000000000008152505b6114cf8360200151611fa3565b8360000151611513576040518060400160405280600581526020017f486f756e6400000000000000000000000000000000000000000000000000000081525061154a565b6040518060400160405280600681526020017f48756e74657200000000000000000000000000000000000000000000000000008152505b6115578560200151611fa3565b6115648660400151611fa3565b60405160200161157996959493929190613ee5565b604051602081830303815290604052915050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60608282905067ffffffffffffffff8111156115cf576115ce6130de565b5b60405190808252806020026020018201604052801561160857816020015b6115f5612951565b8152602001906001900390816115ed5790505b50905060005b838390508110156116b057600c60008585848181106116305761162f61386c565b5b9050602002013581526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250508282815181106116925761169161386c565b5b602002602001018190525080806116a8906138ca565b91505061160e565b5092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611753611a68565b73ffffffffffffffffffffffffffffffffffffffff16611771610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90613c39565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e90613fe6565b60405180910390fd5b61184081611e81565b50565b61184b611a68565b73ffffffffffffffffffffffffffffffffffffffff16611869610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690613c39565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119f557506119f482612104565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ae383610cf9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b4382826040518060200160405280600081525061216e565b5050565b6000611b52826119fc565b611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890614078565b60405180910390fd5b6000611b9c83610cf9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c0b57508373ffffffffffffffffffffffffffffffffffffffff16611bf384610770565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c1c5750611c1b81856116b7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c4582610cf9565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c929061410a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d029061419c565b60405180910390fd5b611d168383836121c9565b611d21600082611a70565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7191906141bc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc891906141f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f52848484611c25565b611f5e848484846122dd565b611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f94906142b8565b60405180910390fd5b50505050565b60606000821415611feb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120ff565b600082905060005b6000821461201d578080612006906138ca565b915050600a826120169190614307565b9150611ff3565b60008167ffffffffffffffff811115612039576120386130de565b5b6040519080825280601f01601f19166020018201604052801561206b5781602001600182028036833780820191505090505b5090505b600085146120f85760018261208491906141bc565b9150600a856120939190614338565b603061209f91906141f0565b60f81b8183815181106120b5576120b461386c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120f19190614307565b945061206f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6121788383612465565b61218560008484846122dd565b6121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb906142b8565b60405180910390fd5b505050565b6121d4838383612633565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122175761221281612638565b612256565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612255576122548382612681565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229957612294816127ee565b6122d8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122d7576122d682826128bf565b5b5b505050565b60006122fe8473ffffffffffffffffffffffffffffffffffffffff1661293e565b15612458578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612327611a68565b8786866040518563ffffffff1660e01b815260040161234994939291906143be565b6020604051808303816000875af192505050801561238557506040513d601f19601f82011682018060405250810190612382919061441f565b60015b612408573d80600081146123b5576040519150601f19603f3d011682016040523d82523d6000602084013e6123ba565b606091505b50600081511415612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f7906142b8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061245d565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614498565b60405180910390fd5b6124de816119fc565b1561251e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590614504565b60405180910390fd5b61252a600083836121c9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461257a91906141f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161268e84610dab565b61269891906141bc565b905060006007600084815260200190815260200160002054905081811461277d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061280291906141bc565b90506000600960008481526020019081526020016000205490506000600883815481106128325761283161386c565b5b9060005260206000200154905080600883815481106128545761285361386c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128a3576128a2614524565b5b6001900381819060005260206000200160009055905550505050565b60006128ca83610dab565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b604051806060016040528060001515815260200160008152602001600081525090565b8280546129809061346d565b90600052602060002090601f0160209004810192826129a257600085556129e9565b82601f106129bb57803560ff19168380011785556129e9565b828001600101855582156129e9579182015b828111156129e85782358255916020019190600101906129cd565b5b5090506129f691906129fa565b5090565b5b80821115612a135760008160009055506001016129fb565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6081612a2b565b8114612a6b57600080fd5b50565b600081359050612a7d81612a57565b92915050565b600060208284031215612a9957612a98612a21565b5b6000612aa784828501612a6e565b91505092915050565b60008115159050919050565b612ac581612ab0565b82525050565b6000602082019050612ae06000830184612abc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b20578082015181840152602081019050612b05565b83811115612b2f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b5182612ae6565b612b5b8185612af1565b9350612b6b818560208601612b02565b612b7481612b35565b840191505092915050565b60006020820190508181036000830152612b998184612b46565b905092915050565b6000819050919050565b612bb481612ba1565b8114612bbf57600080fd5b50565b600081359050612bd181612bab565b92915050565b600060208284031215612bed57612bec612a21565b5b6000612bfb84828501612bc2565b91505092915050565b612c0d81612ba1565b82525050565b6000604082019050612c286000830185612abc565b612c356020830184612c04565b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c6782612c3c565b9050919050565b612c7781612c5c565b82525050565b6000602082019050612c926000830184612c6e565b92915050565b612ca181612c5c565b8114612cac57600080fd5b50565b600081359050612cbe81612c98565b92915050565b60008060408385031215612cdb57612cda612a21565b5b6000612ce985828601612caf565b9250506020612cfa85828601612bc2565b9150509250929050565b600080fd5b600060608284031215612d1f57612d1e612d04565b5b81905092915050565b600080600060a08486031215612d4157612d40612a21565b5b6000612d4f86828701612caf565b9350506020612d6086828701612bc2565b9250506040612d7186828701612d09565b9150509250925092565b600060208284031215612d9157612d90612a21565b5b6000612d9f84828501612caf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ddd81612ba1565b82525050565b6000612def8383612dd4565b60208301905092915050565b6000602082019050919050565b6000612e1382612da8565b612e1d8185612db3565b9350612e2883612dc4565b8060005b83811015612e59578151612e408882612de3565b9750612e4b83612dfb565b925050600181019050612e2c565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e9b81612ab0565b82525050565b606082016000820151612eb76000850182612e92565b506020820151612eca6020850182612dd4565b506040820151612edd6040850182612dd4565b50505050565b6000612eef8383612ea1565b60608301905092915050565b6000602082019050919050565b6000612f1382612e66565b612f1d8185612e71565b9350612f2883612e82565b8060005b83811015612f59578151612f408882612ee3565b9750612f4b83612efb565b925050600181019050612f2c565b5085935050505092915050565b60006040820190508181036000830152612f808185612e08565b90508181036020830152612f948184612f08565b90509392505050565b6000602082019050612fb26000830184612c04565b92915050565b600080600060608486031215612fd157612fd0612a21565b5b6000612fdf86828701612caf565b9350506020612ff086828701612caf565b925050604061300186828701612bc2565b9150509250925092565b6060820160008201516130216000850182612e92565b5060208201516130346020850182612dd4565b5060408201516130476040850182612dd4565b50505050565b6000606082019050613062600083018461300b565b92915050565b61307181612ab0565b811461307c57600080fd5b50565b60008135905061308e81613068565b92915050565b600080604083850312156130ab576130aa612a21565b5b60006130b985828601612caf565b92505060206130ca8582860161307f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61311682612b35565b810181811067ffffffffffffffff82111715613135576131346130de565b5b80604052505050565b6000613148612a17565b9050613154828261310d565b919050565b600067ffffffffffffffff821115613174576131736130de565b5b61317d82612b35565b9050602081019050919050565b82818337600083830152505050565b60006131ac6131a784613159565b61313e565b9050828152602081018484840111156131c8576131c76130d9565b5b6131d384828561318a565b509392505050565b600082601f8301126131f0576131ef6130d4565b5b8135613200848260208601613199565b91505092915050565b6000806000806080858703121561322357613222612a21565b5b600061323187828801612caf565b945050602061324287828801612caf565b935050604061325387828801612bc2565b925050606085013567ffffffffffffffff81111561327457613273612a26565b5b613280878288016131db565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126132ac576132ab6130d4565b5b8235905067ffffffffffffffff8111156132c9576132c861328c565b5b6020830191508360018202830111156132e5576132e4613291565b5b9250929050565b6000806020838503121561330357613302612a21565b5b600083013567ffffffffffffffff81111561332157613320612a26565b5b61332d85828601613296565b92509250509250929050565b60008083601f84011261334f5761334e6130d4565b5b8235905067ffffffffffffffff81111561336c5761336b61328c565b5b60208301915083602082028301111561338857613387613291565b5b9250929050565b600080602083850312156133a6576133a5612a21565b5b600083013567ffffffffffffffff8111156133c4576133c3612a26565b5b6133d085828601613339565b92509250509250929050565b600060208201905081810360008301526133f68184612f08565b905092915050565b6000806040838503121561341557613414612a21565b5b600061342385828601612caf565b925050602061343485828601612caf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061348557607f821691505b602082108114156134995761349861343e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006134fb602c83612af1565b91506135068261349f565b604082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061358d602183612af1565b915061359882613531565b604082019050919050565b600060208201905081810360008301526135bc81613580565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061361f603883612af1565b915061362a826135c3565b604082019050919050565b6000602082019050818103600083015261364e81613612565b9050919050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e7400000000000000600082015250565b600061368b601983612af1565b915061369682613655565b602082019050919050565b600060208201905081810360008301526136ba8161367e565b9050919050565b600081356136ce81613068565b80915050919050565b60008160001b9050919050565b600060ff6136f1846136d7565b9350801983169250808416831791505092915050565b600061371282612ab0565b9050919050565b6000819050919050565b61372c82613707565b61373f61373882613719565b83546136e4565b8255505050565b6000813561375381612bab565b80915050919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613788846136d7565b9350801983169250808416831791505092915050565b6000819050919050565b60006137c36137be6137b984612ba1565b61379e565b612ba1565b9050919050565b6000819050919050565b6137dd826137a8565b6137f06137e9826137ca565b835461375c565b8255505050565b600081016000830180613809816136c1565b90506138158184613723565b50505060018101602083018061382a81613746565b905061383681846137d4565b50505060028101604083018061384b81613746565b905061385781846137d4565b5050505050565b61386882826137f7565b5050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138d582612ba1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139085761390761389b565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061396f603183612af1565b915061397a82613913565b604082019050919050565b6000602082019050818103600083015261399e81613962565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613a01602b83612af1565b9150613a0c826139a5565b604082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613a93602c83612af1565b9150613a9e82613a37565b604082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613b25602983612af1565b9150613b3082613ac9565b604082019050919050565b60006020820190508181036000830152613b5481613b18565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613bb7602a83612af1565b9150613bc282613b5b565b604082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c23602083612af1565b9150613c2e82613bed565b602082019050919050565b60006020820190508181036000830152613c5281613c16565b9050919050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e207472616e73666572000000600082015250565b6000613c8f601d83612af1565b9150613c9a82613c59565b602082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613cfb601983612af1565b9150613d0682613cc5565b602082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d5e8161346d565b613d688186613d31565b94506001821660008114613d835760018114613d9457613dc7565b60ff19831686528186019350613dc7565b613d9d85613d3c565b60005b83811015613dbf57815481890152600182019150602081019050613da0565b838801955050505b50505092915050565b6000613ddb82612ae6565b613de58185613d31565b9350613df5818560208601612b02565b80840191505092915050565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e37600183613d31565b9150613e4282613e01565b600182019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e83600183613d31565b9150613e8e82613e4d565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613ecf600583613d31565b9150613eda82613e99565b600582019050919050565b6000613ef18289613d51565b9150613efd8288613dd0565b9150613f0882613e2a565b9150613f148287613dd0565b9150613f1f82613e76565b9150613f2b8286613dd0565b9150613f3682613e2a565b9150613f428285613dd0565b9150613f4d82613e2a565b9150613f598284613dd0565b9150613f6482613ec2565b9150819050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fd0602683612af1565b9150613fdb82613f74565b604082019050919050565b60006020820190508181036000830152613fff81613fc3565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614062602c83612af1565b915061406d82614006565b604082019050919050565b6000602082019050818103600083015261409181614055565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006140f4602983612af1565b91506140ff82614098565b604082019050919050565b60006020820190508181036000830152614123816140e7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614186602483612af1565b91506141918261412a565b604082019050919050565b600060208201905081810360008301526141b581614179565b9050919050565b60006141c782612ba1565b91506141d283612ba1565b9250828210156141e5576141e461389b565b5b828203905092915050565b60006141fb82612ba1565b915061420683612ba1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561423b5761423a61389b565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142a2603283612af1565b91506142ad82614246565b604082019050919050565b600060208201905081810360008301526142d181614295565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061431282612ba1565b915061431d83612ba1565b92508261432d5761432c6142d8565b5b828204905092915050565b600061434382612ba1565b915061434e83612ba1565b92508261435e5761435d6142d8565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061439082614369565b61439a8185614374565b93506143aa818560208601612b02565b6143b381612b35565b840191505092915050565b60006080820190506143d36000830187612c6e565b6143e06020830186612c6e565b6143ed6040830185612c04565b81810360608301526143ff8184614385565b905095945050505050565b60008151905061441981612a57565b92915050565b60006020828403121561443557614434612a21565b5b60006144438482850161440a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614482602083612af1565b915061448d8261444c565b602082019050919050565b600060208201905081810360008301526144b181614475565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144ee601c83612af1565b91506144f9826144b8565b602082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212208a921daf646eaed78bc332d5152e90b2c2b33d03efd7ade6030d74ae4ffe7fec64736f6c634300080a0033697066733a2f2f516d566b4372436d765a456b336b755a4469534a587732355572663366393364616d7262524a4c624459357954322f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063daddf03411610071578063daddf03414610564578063e985e9c514610594578063f2fde38b146105c4578063f6a74ed7146105e0576101cf565b8063b88d4fde146104cc578063c7c3268b146104e8578063c87b56dd14610504578063da8c229e14610534576101cf565b806394e8b461116100de57806394e8b4611461045a57806395d89b4114610476578063a22cb46514610494578063a7fc7a07146104b0576101cf565b8063715018a6146104025780638da5cb5b1461040c57806394e568471461042a576101cf565b806318160ddd1161017157806342842e0e1161014b57806342842e0e146103565780634f6ccce7146103725780636352211e146103a257806370a08231146103d2576101cf565b806318160ddd146102ec57806323b872dd1461030a5780632f745c5914610326576101cf565b8063081812fc116101ad578063081812fc14610253578063095ea7b31461028357806309d3df171461029f5780630d381a28146102bb576101cf565b806301ffc9a7146101d457806306fdde0314610204578063075927bf14610222575b600080fd5b6101ee60048036038101906101e99190612a83565b6105fc565b6040516101fb9190612acb565b60405180910390f35b61020c610676565b6040516102199190612b7f565b60405180910390f35b61023c60048036038101906102379190612bd7565b610708565b60405161024a929190612c13565b60405180910390f35b61026d60048036038101906102689190612bd7565b610770565b60405161027a9190612c7d565b60405180910390f35b61029d60048036038101906102989190612cc4565b6107f5565b005b6102b960048036038101906102b49190612d28565b61090d565b005b6102d560048036038101906102d09190612d7b565b6109d2565b6040516102e3929190612f66565b60405180910390f35b6102f4610b56565b6040516103019190612f9d565b60405180910390f35b610324600480360381019061031f9190612fb8565b610b63565b005b610340600480360381019061033b9190612cc4565b610bc3565b60405161034d9190612f9d565b60405180910390f35b610370600480360381019061036b9190612fb8565b610c68565b005b61038c60048036038101906103879190612bd7565b610c88565b6040516103999190612f9d565b60405180910390f35b6103bc60048036038101906103b79190612bd7565b610cf9565b6040516103c99190612c7d565b60405180910390f35b6103ec60048036038101906103e79190612d7b565b610dab565b6040516103f99190612f9d565b60405180910390f35b61040a610e63565b005b610414610eeb565b6040516104219190612c7d565b60405180910390f35b610444600480360381019061043f9190612bd7565b610f15565b604051610451919061304d565b60405180910390f35b610474600480360381019061046f9190612fb8565b610f71565b005b61047e611014565b60405161048b9190612b7f565b60405180910390f35b6104ae60048036038101906104a99190613094565b6110a6565b005b6104ca60048036038101906104c59190612d7b565b611227565b005b6104e660048036038101906104e19190613209565b6112fe565b005b61050260048036038101906104fd91906132ec565b611360565b005b61051e60048036038101906105199190612bd7565b6113f2565b60405161052b9190612b7f565b60405180910390f35b61054e60048036038101906105499190612d7b565b611590565b60405161055b9190612acb565b60405180910390f35b61057e6004803603810190610579919061338f565b6115b0565b60405161058b91906133dc565b60405180910390f35b6105ae60048036038101906105a991906133fe565b6116b7565b6040516105bb9190612acb565b60405180910390f35b6105de60048036038101906105d99190612d7b565b61174b565b005b6105fa60048036038101906105f59190612d7b565b611843565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066f575061066e8261191a565b5b9050919050565b6060600080546106859061346d565b80601f01602080910402602001604051908101604052809291908181526020018280546106b19061346d565b80156106fe5780601f106106d3576101008083540402835291602001916106fe565b820191906000526020600020905b8154815290600101906020018083116106e157829003601f168201915b5050505050905090565b6000806000600c60008581526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050806000015181602001519250925050915091565b600061077b826119fc565b6107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190613511565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080082610cf9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610871576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610868906135a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610890611a68565b73ffffffffffffffffffffffffffffffffffffffff1614806108bf57506108be816108b9611a68565b6116b7565b5b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613635565b60405180910390fd5b6109088383611a70565b505050565b600b6000610919611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610997906136a1565b60405180910390fd5b80600c600084815260200190815260200160002081816109c0919061385e565b9050506109cd8383611b29565b505050565b60608060006109e084610dab565b90508067ffffffffffffffff8111156109fc576109fb6130de565b5b604051908082528060200260200182016040528015610a2a5781602001602082028036833780820191505090505b5092508067ffffffffffffffff811115610a4757610a466130de565b5b604051908082528060200260200182016040528015610a8057816020015b610a6d612951565b815260200190600190039081610a655790505b50915060005b81811015610b4f57610a988582610bc3565b848281518110610aab57610aaa61386c565b5b602002602001018181525050600c6000858381518110610ace57610acd61386c565b5b602002602001015181526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481525050838281518110610b3157610b3061386c565b5b60200260200101819052508080610b47906138ca565b915050610a86565b5050915091565b6000600880549050905090565b610b74610b6e611a68565b82611b47565b610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90613985565b60405180910390fd5b610bbe838383611c25565b505050565b6000610bce83610dab565b8210610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0690613a17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c83838383604051806020016040528060008152506112fe565b505050565b6000610c92610b56565b8210610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90613aa9565b60405180910390fd5b60088281548110610ce757610ce661386c565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990613b3b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390613bcd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e6b611a68565b73ffffffffffffffffffffffffffffffffffffffff16610e89610eeb565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613c39565b60405180910390fd5b610ee96000611e81565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f1d612951565b600c60008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050919050565b600b6000610f7d611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb90613ca5565b60405180910390fd5b61100f838383611c25565b505050565b6060600180546110239061346d565b80601f016020809104026020016040519081016040528092919081815260200182805461104f9061346d565b801561109c5780601f106110715761010080835404028352916020019161109c565b820191906000526020600020905b81548152906001019060200180831161107f57829003601f168201915b5050505050905090565b6110ae611a68565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111390613d11565b60405180910390fd5b8060056000611129611a68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d6611a68565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121b9190612acb565b60405180910390a35050565b61122f611a68565b73ffffffffffffffffffffffffffffffffffffffff1661124d610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613c39565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61130f611309611a68565b83611b47565b61134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590613985565b60405180910390fd5b61135a84848484611f47565b50505050565b611368611a68565b73ffffffffffffffffffffffffffffffffffffffff16611386610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390613c39565b60405180910390fd5b8181600d91906113ed929190612974565b505050565b60606000600c60008481526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250509050600d816000015161148b576040518060400160405280600581526020017f486f756e640000000000000000000000000000000000000000000000000000008152506114c2565b6040518060400160405280600681526020017f48756e74657200000000000000000000000000000000000000000000000000008152505b6114cf8360200151611fa3565b8360000151611513576040518060400160405280600581526020017f486f756e6400000000000000000000000000000000000000000000000000000081525061154a565b6040518060400160405280600681526020017f48756e74657200000000000000000000000000000000000000000000000000008152505b6115578560200151611fa3565b6115648660400151611fa3565b60405160200161157996959493929190613ee5565b604051602081830303815290604052915050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60608282905067ffffffffffffffff8111156115cf576115ce6130de565b5b60405190808252806020026020018201604052801561160857816020015b6115f5612951565b8152602001906001900390816115ed5790505b50905060005b838390508110156116b057600c60008585848181106116305761162f61386c565b5b9050602002013581526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815250508282815181106116925761169161386c565b5b602002602001018190525080806116a8906138ca565b91505061160e565b5092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611753611a68565b73ffffffffffffffffffffffffffffffffffffffff16611771610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90613c39565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e90613fe6565b60405180910390fd5b61184081611e81565b50565b61184b611a68565b73ffffffffffffffffffffffffffffffffffffffff16611869610eeb565b73ffffffffffffffffffffffffffffffffffffffff16146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690613c39565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119f557506119f482612104565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ae383610cf9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b4382826040518060200160405280600081525061216e565b5050565b6000611b52826119fc565b611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890614078565b60405180910390fd5b6000611b9c83610cf9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c0b57508373ffffffffffffffffffffffffffffffffffffffff16611bf384610770565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c1c5750611c1b81856116b7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c4582610cf9565b73ffffffffffffffffffffffffffffffffffffffff1614611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c929061410a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d029061419c565b60405180910390fd5b611d168383836121c9565b611d21600082611a70565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7191906141bc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc891906141f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f52848484611c25565b611f5e848484846122dd565b611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f94906142b8565b60405180910390fd5b50505050565b60606000821415611feb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120ff565b600082905060005b6000821461201d578080612006906138ca565b915050600a826120169190614307565b9150611ff3565b60008167ffffffffffffffff811115612039576120386130de565b5b6040519080825280601f01601f19166020018201604052801561206b5781602001600182028036833780820191505090505b5090505b600085146120f85760018261208491906141bc565b9150600a856120939190614338565b603061209f91906141f0565b60f81b8183815181106120b5576120b461386c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120f19190614307565b945061206f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6121788383612465565b61218560008484846122dd565b6121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb906142b8565b60405180910390fd5b505050565b6121d4838383612633565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122175761221281612638565b612256565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612255576122548382612681565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229957612294816127ee565b6122d8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122d7576122d682826128bf565b5b5b505050565b60006122fe8473ffffffffffffffffffffffffffffffffffffffff1661293e565b15612458578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612327611a68565b8786866040518563ffffffff1660e01b815260040161234994939291906143be565b6020604051808303816000875af192505050801561238557506040513d601f19601f82011682018060405250810190612382919061441f565b60015b612408573d80600081146123b5576040519150601f19603f3d011682016040523d82523d6000602084013e6123ba565b606091505b50600081511415612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f7906142b8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061245d565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614498565b60405180910390fd5b6124de816119fc565b1561251e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590614504565b60405180910390fd5b61252a600083836121c9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461257a91906141f0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161268e84610dab565b61269891906141bc565b905060006007600084815260200190815260200160002054905081811461277d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061280291906141bc565b90506000600960008481526020019081526020016000205490506000600883815481106128325761283161386c565b5b9060005260206000200154905080600883815481106128545761285361386c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128a3576128a2614524565b5b6001900381819060005260206000200160009055905550505050565b60006128ca83610dab565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b604051806060016040528060001515815260200160008152602001600081525090565b8280546129809061346d565b90600052602060002090601f0160209004810192826129a257600085556129e9565b82601f106129bb57803560ff19168380011785556129e9565b828001600101855582156129e9579182015b828111156129e85782358255916020019190600101906129cd565b5b5090506129f691906129fa565b5090565b5b80821115612a135760008160009055506001016129fb565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6081612a2b565b8114612a6b57600080fd5b50565b600081359050612a7d81612a57565b92915050565b600060208284031215612a9957612a98612a21565b5b6000612aa784828501612a6e565b91505092915050565b60008115159050919050565b612ac581612ab0565b82525050565b6000602082019050612ae06000830184612abc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b20578082015181840152602081019050612b05565b83811115612b2f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b5182612ae6565b612b5b8185612af1565b9350612b6b818560208601612b02565b612b7481612b35565b840191505092915050565b60006020820190508181036000830152612b998184612b46565b905092915050565b6000819050919050565b612bb481612ba1565b8114612bbf57600080fd5b50565b600081359050612bd181612bab565b92915050565b600060208284031215612bed57612bec612a21565b5b6000612bfb84828501612bc2565b91505092915050565b612c0d81612ba1565b82525050565b6000604082019050612c286000830185612abc565b612c356020830184612c04565b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c6782612c3c565b9050919050565b612c7781612c5c565b82525050565b6000602082019050612c926000830184612c6e565b92915050565b612ca181612c5c565b8114612cac57600080fd5b50565b600081359050612cbe81612c98565b92915050565b60008060408385031215612cdb57612cda612a21565b5b6000612ce985828601612caf565b9250506020612cfa85828601612bc2565b9150509250929050565b600080fd5b600060608284031215612d1f57612d1e612d04565b5b81905092915050565b600080600060a08486031215612d4157612d40612a21565b5b6000612d4f86828701612caf565b9350506020612d6086828701612bc2565b9250506040612d7186828701612d09565b9150509250925092565b600060208284031215612d9157612d90612a21565b5b6000612d9f84828501612caf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ddd81612ba1565b82525050565b6000612def8383612dd4565b60208301905092915050565b6000602082019050919050565b6000612e1382612da8565b612e1d8185612db3565b9350612e2883612dc4565b8060005b83811015612e59578151612e408882612de3565b9750612e4b83612dfb565b925050600181019050612e2c565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e9b81612ab0565b82525050565b606082016000820151612eb76000850182612e92565b506020820151612eca6020850182612dd4565b506040820151612edd6040850182612dd4565b50505050565b6000612eef8383612ea1565b60608301905092915050565b6000602082019050919050565b6000612f1382612e66565b612f1d8185612e71565b9350612f2883612e82565b8060005b83811015612f59578151612f408882612ee3565b9750612f4b83612efb565b925050600181019050612f2c565b5085935050505092915050565b60006040820190508181036000830152612f808185612e08565b90508181036020830152612f948184612f08565b90509392505050565b6000602082019050612fb26000830184612c04565b92915050565b600080600060608486031215612fd157612fd0612a21565b5b6000612fdf86828701612caf565b9350506020612ff086828701612caf565b925050604061300186828701612bc2565b9150509250925092565b6060820160008201516130216000850182612e92565b5060208201516130346020850182612dd4565b5060408201516130476040850182612dd4565b50505050565b6000606082019050613062600083018461300b565b92915050565b61307181612ab0565b811461307c57600080fd5b50565b60008135905061308e81613068565b92915050565b600080604083850312156130ab576130aa612a21565b5b60006130b985828601612caf565b92505060206130ca8582860161307f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61311682612b35565b810181811067ffffffffffffffff82111715613135576131346130de565b5b80604052505050565b6000613148612a17565b9050613154828261310d565b919050565b600067ffffffffffffffff821115613174576131736130de565b5b61317d82612b35565b9050602081019050919050565b82818337600083830152505050565b60006131ac6131a784613159565b61313e565b9050828152602081018484840111156131c8576131c76130d9565b5b6131d384828561318a565b509392505050565b600082601f8301126131f0576131ef6130d4565b5b8135613200848260208601613199565b91505092915050565b6000806000806080858703121561322357613222612a21565b5b600061323187828801612caf565b945050602061324287828801612caf565b935050604061325387828801612bc2565b925050606085013567ffffffffffffffff81111561327457613273612a26565b5b613280878288016131db565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126132ac576132ab6130d4565b5b8235905067ffffffffffffffff8111156132c9576132c861328c565b5b6020830191508360018202830111156132e5576132e4613291565b5b9250929050565b6000806020838503121561330357613302612a21565b5b600083013567ffffffffffffffff81111561332157613320612a26565b5b61332d85828601613296565b92509250509250929050565b60008083601f84011261334f5761334e6130d4565b5b8235905067ffffffffffffffff81111561336c5761336b61328c565b5b60208301915083602082028301111561338857613387613291565b5b9250929050565b600080602083850312156133a6576133a5612a21565b5b600083013567ffffffffffffffff8111156133c4576133c3612a26565b5b6133d085828601613339565b92509250509250929050565b600060208201905081810360008301526133f68184612f08565b905092915050565b6000806040838503121561341557613414612a21565b5b600061342385828601612caf565b925050602061343485828601612caf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061348557607f821691505b602082108114156134995761349861343e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006134fb602c83612af1565b91506135068261349f565b604082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061358d602183612af1565b915061359882613531565b604082019050919050565b600060208201905081810360008301526135bc81613580565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061361f603883612af1565b915061362a826135c3565b604082019050919050565b6000602082019050818103600083015261364e81613612565b9050919050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e7400000000000000600082015250565b600061368b601983612af1565b915061369682613655565b602082019050919050565b600060208201905081810360008301526136ba8161367e565b9050919050565b600081356136ce81613068565b80915050919050565b60008160001b9050919050565b600060ff6136f1846136d7565b9350801983169250808416831791505092915050565b600061371282612ab0565b9050919050565b6000819050919050565b61372c82613707565b61373f61373882613719565b83546136e4565b8255505050565b6000813561375381612bab565b80915050919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613788846136d7565b9350801983169250808416831791505092915050565b6000819050919050565b60006137c36137be6137b984612ba1565b61379e565b612ba1565b9050919050565b6000819050919050565b6137dd826137a8565b6137f06137e9826137ca565b835461375c565b8255505050565b600081016000830180613809816136c1565b90506138158184613723565b50505060018101602083018061382a81613746565b905061383681846137d4565b50505060028101604083018061384b81613746565b905061385781846137d4565b5050505050565b61386882826137f7565b5050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138d582612ba1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139085761390761389b565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061396f603183612af1565b915061397a82613913565b604082019050919050565b6000602082019050818103600083015261399e81613962565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613a01602b83612af1565b9150613a0c826139a5565b604082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613a93602c83612af1565b9150613a9e82613a37565b604082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613b25602983612af1565b9150613b3082613ac9565b604082019050919050565b60006020820190508181036000830152613b5481613b18565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613bb7602a83612af1565b9150613bc282613b5b565b604082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c23602083612af1565b9150613c2e82613bed565b602082019050919050565b60006020820190508181036000830152613c5281613c16565b9050919050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e207472616e73666572000000600082015250565b6000613c8f601d83612af1565b9150613c9a82613c59565b602082019050919050565b60006020820190508181036000830152613cbe81613c82565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613cfb601983612af1565b9150613d0682613cc5565b602082019050919050565b60006020820190508181036000830152613d2a81613cee565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d5e8161346d565b613d688186613d31565b94506001821660008114613d835760018114613d9457613dc7565b60ff19831686528186019350613dc7565b613d9d85613d3c565b60005b83811015613dbf57815481890152600182019150602081019050613da0565b838801955050505b50505092915050565b6000613ddb82612ae6565b613de58185613d31565b9350613df5818560208601612b02565b80840191505092915050565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e37600183613d31565b9150613e4282613e01565b600182019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e83600183613d31565b9150613e8e82613e4d565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613ecf600583613d31565b9150613eda82613e99565b600582019050919050565b6000613ef18289613d51565b9150613efd8288613dd0565b9150613f0882613e2a565b9150613f148287613dd0565b9150613f1f82613e76565b9150613f2b8286613dd0565b9150613f3682613e2a565b9150613f428285613dd0565b9150613f4d82613e2a565b9150613f598284613dd0565b9150613f6482613ec2565b9150819050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fd0602683612af1565b9150613fdb82613f74565b604082019050919050565b60006020820190508181036000830152613fff81613fc3565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614062602c83612af1565b915061406d82614006565b604082019050919050565b6000602082019050818103600083015261409181614055565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006140f4602983612af1565b91506140ff82614098565b604082019050919050565b60006020820190508181036000830152614123816140e7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614186602483612af1565b91506141918261412a565b604082019050919050565b600060208201905081810360008301526141b581614179565b9050919050565b60006141c782612ba1565b91506141d283612ba1565b9250828210156141e5576141e461389b565b5b828203905092915050565b60006141fb82612ba1565b915061420683612ba1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561423b5761423a61389b565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142a2603283612af1565b91506142ad82614246565b604082019050919050565b600060208201905081810360008301526142d181614295565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061431282612ba1565b915061431d83612ba1565b92508261432d5761432c6142d8565b5b828204905092915050565b600061434382612ba1565b915061434e83612ba1565b92508261435e5761435d6142d8565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061439082614369565b61439a8185614374565b93506143aa818560208601612b02565b6143b381612b35565b840191505092915050565b60006080820190506143d36000830187612c6e565b6143e06020830186612c6e565b6143ed6040830185612c04565b81810360608301526143ff8184614385565b905095945050505050565b60008151905061441981612a57565b92915050565b60006020828403121561443557614434612a21565b5b60006144438482850161440a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614482602083612af1565b915061448d8261444c565b602082019050919050565b600060208201905081810360008301526144b181614475565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144ee601c83612af1565b91506144f9826144b8565b602082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212208a921daf646eaed78bc332d5152e90b2c2b33d03efd7ade6030d74ae4ffe7fec64736f6c634300080a0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.