Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
500 TDPT
Holders
340
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 TDPTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TopDogPortalizer
Compiler Version
v0.8.0+commit.c7dfd78e
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.0; import "./ITopDogBeachClub.sol"; import "./ISNAXToken.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; /** * @title TCBC contract v1 * @author @darkp0rt */ contract TopDogPortalizer is ERC721Enumerable, IERC721Receiver, Ownable, ReentrancyGuard { enum WhitelistedPortalizerStatus { Invalid, Unclaimed, Claimed } struct PortalizedDog { address portalizer; uint256 datePortalized; bool isSet; } uint256 private constant MAX_BURN = 500; uint256 private constant PREREG_MAX_BURN = 1; uint256 private constant PUBLIC_MAX_BURN = 3; string private _baseTokenURI; address private _tdbcAddress; address private _snaxAddress; bool private _publicPortalizationIsOpen = false; bool private _preRegPortalizationPeriodIsOpen = false; mapping (uint256 => PortalizedDog) private _doggosInPortal; mapping (address => uint256) private _walletPortalizationReservedSNAX; mapping (address => WhitelistedPortalizerStatus) private _whitelistedPortalizers; event DogPortalized(uint256 dogId); constructor ( string memory name, string memory symbol, string memory baseTokenURI, address tdbcAddress, address snaxAddress) ERC721(name, symbol) { _baseTokenURI = baseTokenURI; _tdbcAddress = tdbcAddress; _snaxAddress = snaxAddress; } function togglePublicPortalizationPeriod() external onlyOwner { require(_preRegPortalizationPeriodIsOpen, "Pre-reggers first"); _publicPortalizationIsOpen = !_publicPortalizationIsOpen; } function togglePreRegPortalizationPeriod() external onlyOwner { _preRegPortalizationPeriodIsOpen = !_preRegPortalizationPeriodIsOpen; } function publicPortalizationPeriodIsOpen() external view returns (bool status) { return _publicPortalizationIsOpen; } function preRegPortalizationPeriodIsOpen() external view returns (bool status) { return _preRegPortalizationPeriodIsOpen; } function setBaseTokenURI(string memory baseTokenURI) external onlyOwner { _baseTokenURI = baseTokenURI; } function addWhitelistedPortalizers(address[] memory whitelistedPortalizers) external onlyOwner { for (uint256 i = 0; i < whitelistedPortalizers.length; i++) { _whitelistedPortalizers[whitelistedPortalizers[i]] = WhitelistedPortalizerStatus.Unclaimed; } } function preRegPortalize(uint256[] memory doggos) external nonReentrant() { require(_preRegPortalizationPeriodIsOpen, "Portal is not open yet"); require((totalSupply() + doggos.length) <= MAX_BURN, "Portal is full"); require(_whitelistedPortalizers[msg.sender] != WhitelistedPortalizerStatus.Claimed, "You've already portalized doggos"); require(_whitelistedPortalizers[msg.sender] == WhitelistedPortalizerStatus.Unclaimed, "You are not whitelisted. Wait for public portalization."); require((balanceOf(msg.sender) + doggos.length) <= PREREG_MAX_BURN, "You can't portalize that many dogs"); _portalizeDoggos(doggos); _whitelistedPortalizers[msg.sender] = WhitelistedPortalizerStatus.Claimed; } function publicPortalize(uint256[] memory doggos) external nonReentrant() { require(_publicPortalizationIsOpen, "Portal is not open yet"); require((totalSupply() + doggos.length) <= MAX_BURN, "Portal is full"); require((balanceOf(msg.sender) + doggos.length) <= (PREREG_MAX_BURN + PUBLIC_MAX_BURN), "You can't portalize that many dogs"); _portalizeDoggos(doggos); } // called by the minting code if the dog tag mints a cat that can't be upgraded // ultra rare chance of this happening function returnGoodBoy(uint256 doggoId) external onlyOwner { require(_doggosInPortal[doggoId].isSet, "Dog has not been portalized"); address portalizer = _doggosInPortal[doggoId].portalizer; ITopDogBeachClub(_tdbcAddress).safeTransferFrom(address(this), portalizer, doggoId); delete _doggosInPortal[doggoId]; } // used to mint tags for Jayson and stolen doggos function unJoeify() external onlyOwner { _safeMint(0x03F58F0cc44Be4AbC68b2DF93C58514bb1196Dc3, 5500); _safeMint(0xAc05F9f58e873222CAE11661A29743371F6d1F6c, 3106); } function _portalizeDoggos(uint256[] memory doggos) private { for (uint256 i = 0; i < doggos.length; i++) { uint256 doggoId = doggos[i]; _portalizeDoggo(doggoId); } _reserveSNAXForDoggos(doggos); } // you evil bastards function _portalizeDoggo(uint256 doggoId) private { require(ITopDogBeachClub(_tdbcAddress).ownerOf(doggoId) == msg.sender, "You are not the owner of that doggo"); require(!_doggosInPortal[doggoId].isSet, "Dog has already been portalized"); ITopDogBeachClub(_tdbcAddress).safeTransferFrom(msg.sender, address(this), doggoId); // portal contract will hold doggo _doggosInPortal[doggoId] = PortalizedDog(msg.sender, block.timestamp, true); _safeMint(msg.sender, doggoId); } function _reserveSNAXForDoggos(uint256[] memory doggos) private { _walletPortalizationReservedSNAX[msg.sender] = ISNAXToken(_snaxAddress).totalAccumulated(doggos); } function getPortalizationDate(uint256 tokenId) external view returns (uint256) { return _doggosInPortal[tokenId].datePortalized; } function isDogPortalized(uint256 tokenId) external view returns (bool) { return _doggosInPortal[tokenId].isSet; } function snaxReserved(address wallet) external view returns (uint256) { return _walletPortalizationReservedSNAX[wallet]; } function isWhitelistedPortalizer(address wallet) external view returns (bool) { return _whitelistedPortalizers[wallet] != WhitelistedPortalizerStatus.Invalid; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
// 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; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; interface ITopDogBeachClub is IERC721Enumerable { function getBirthday(uint256 tokenId) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ISNAXToken is IERC20 { function totalAccumulated(uint256[] memory tokenIds) external view returns (uint256); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"tdbcAddress","type":"address"},{"internalType":"address","name":"snaxAddress","type":"address"}],"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":false,"internalType":"uint256","name":"dogId","type":"uint256"}],"name":"DogPortalized","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":"whitelistedPortalizers","type":"address[]"}],"name":"addWhitelistedPortalizers","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":"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":"getPortalizationDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isDogPortalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isWhitelistedPortalizer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":[],"name":"preRegPortalizationPeriodIsOpen","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"doggos","type":"uint256[]"}],"name":"preRegPortalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicPortalizationPeriodIsOpen","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"doggos","type":"uint256[]"}],"name":"publicPortalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"doggoId","type":"uint256"}],"name":"returnGoodBoy","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":"baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"snaxReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"togglePreRegPortalizationPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicPortalizationPeriod","outputs":[],"stateMutability":"nonpayable","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":[],"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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unJoeify","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600e60146101000a81548160ff0219169083151502179055506000600e60156101000a81548160ff0219169083151502179055503480156200004757600080fd5b50604051620055da380380620055da83398181016040528101906200006d919062000378565b84848160009080519060200190620000879291906200023f565b508060019080519060200190620000a09291906200023f565b505050620000c3620000b76200017160201b60201c565b6200017960201b60201c565b6001600b8190555082600c9080519060200190620000e39291906200023f565b5081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620005c4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024d9062000516565b90600052602060002090601f016020900481019282620002715760008555620002bd565b82601f106200028c57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bc5782518255916020019190600101906200029f565b5b509050620002cc9190620002d0565b5090565b5b80821115620002eb576000816000905550600101620002d1565b5090565b600062000306620003008462000479565b62000445565b9050828152602081018484840111156200031f57600080fd5b6200032c848285620004e0565b509392505050565b6000815190506200034581620005aa565b92915050565b600082601f8301126200035d57600080fd5b81516200036f848260208601620002ef565b91505092915050565b600080600080600060a086880312156200039157600080fd5b600086015167ffffffffffffffff811115620003ac57600080fd5b620003ba888289016200034b565b955050602086015167ffffffffffffffff811115620003d857600080fd5b620003e6888289016200034b565b945050604086015167ffffffffffffffff8111156200040457600080fd5b62000412888289016200034b565b9350506060620004258882890162000334565b9250506080620004388882890162000334565b9150509295509295909350565b6000604051905081810181811067ffffffffffffffff821117156200046f576200046e6200057b565b5b8060405250919050565b600067ffffffffffffffff8211156200049757620004966200057b565b5b601f19601f8301169050602081019050919050565b6000620004b982620004c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000500578082015181840152602081019050620004e3565b8381111562000510576000848401525b50505050565b600060028204905060018216806200052f57607f821691505b602082108114156200054657620005456200054c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005b581620004ac565b8114620005c157600080fd5b50565b61500680620005d46000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c8063649a149c1161011a57806397e9664c116100ad578063c87b56dd1161007c578063c87b56dd146105fb578063e381d46a1461062b578063e985e9c514610635578063f2fde38b14610665578063f5dbbbdf1461068157610206565b806397e9664c1461059b578063a22cb465146105a5578063a667d9c8146105c1578063b88d4fde146105df57610206565b806370a08231116100e957806370a0823114610525578063715018a6146105555780638da5cb5b1461055f57806395d89b411461057d57610206565b8063649a149c1461048b57806369251f82146104a75780636fbd4087146104d75780637005e9d1146104f557610206565b80632f745c591161019d5780634ba00fed1161016c5780634ba00fed146103c35780634f6ccce7146103df57806359dd283d1461040f5780635ee0c6031461042b5780636352211e1461045b57610206565b80632f745c591461033f57806330176e131461036f57806342842e0e1461038b57806344175527146103a757610206565b80630f073b27116101d95780630f073b27146102a5578063150b7a02146102d557806318160ddd1461030557806323b872dd1461032357610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613a7f565b61068b565b6040516102329190614732565b60405180910390f35b610243610705565b6040516102509190614768565b60405180910390f35b610273600480360381019061026e9190613b12565b610797565b6040516102809190614672565b60405180910390f35b6102a3600480360381019061029e91906139c1565b61081c565b005b6102bf60048036038101906102ba9190613b12565b610934565b6040516102cc9190614b0a565b60405180910390f35b6102ef60048036038101906102ea919061390a565b610954565b6040516102fc919061474d565b60405180910390f35b61030d610968565b60405161031a9190614b0a565b60405180910390f35b61033d600480360381019061033891906138bb565b610975565b005b610359600480360381019061035491906139c1565b6109d5565b6040516103669190614b0a565b60405180910390f35b61038960048036038101906103849190613ad1565b610a7a565b005b6103a560048036038101906103a091906138bb565b610b10565b005b6103c160048036038101906103bc91906139fd565b610b30565b005b6103dd60048036038101906103d89190613b12565b610c9d565b005b6103f960048036038101906103f49190613b12565b610ea5565b6040516104069190614b0a565b60405180910390f35b61042960048036038101906104249190613a3e565b610f3c565b005b6104456004803603810190610440919061382d565b611329565b6040516104529190614732565b60405180910390f35b61047560048036038101906104709190613b12565b6113f2565b6040516104829190614672565b60405180910390f35b6104a560048036038101906104a09190613a3e565b6114a4565b005b6104c160048036038101906104bc919061382d565b611611565b6040516104ce9190614b0a565b60405180910390f35b6104df61165a565b6040516104ec9190614732565b60405180910390f35b61050f600480360381019061050a9190613b12565b611671565b60405161051c9190614732565b60405180910390f35b61053f600480360381019061053a919061382d565b61169e565b60405161054c9190614b0a565b60405180910390f35b61055d611756565b005b6105676117de565b6040516105749190614672565b60405180910390f35b610585611808565b6040516105929190614768565b60405180910390f35b6105a361189a565b005b6105bf60048036038101906105ba9190613985565b611942565b005b6105c9611ac3565b6040516105d69190614732565b60405180910390f35b6105f960048036038101906105f4919061390a565b611ada565b005b61061560048036038101906106109190613b12565b611b3c565b6040516106229190614768565b60405180910390f35b610633611be3565b005b61064f600480360381019061064a919061387f565b611cda565b60405161065c9190614732565b60405180910390f35b61067f600480360381019061067a919061382d565b611d6e565b005b610689611e66565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106fe57506106fd82611f24565b5b9050919050565b60606000805461071490614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461074090614dfb565b801561078d5780601f106107625761010080835404028352916020019161078d565b820191906000526020600020905b81548152906001019060200180831161077057829003601f168201915b5050505050905090565b60006107a282612006565b6107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d8906149aa565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610827826113f2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f90614a4a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108b7612072565b73ffffffffffffffffffffffffffffffffffffffff1614806108e657506108e5816108e0612072565b611cda565b5b610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c906148ea565b60405180910390fd5b61092f838361207a565b505050565b6000600f6000838152602001908152602001600020600101549050919050565b600063150b7a0260e01b9050949350505050565b6000600880549050905090565b610986610980612072565b82612133565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc90614a6a565b60405180910390fd5b6109d0838383612211565b505050565b60006109e08361169e565b8210610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a189061478a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a82612072565b73ffffffffffffffffffffffffffffffffffffffff16610aa06117de565b73ffffffffffffffffffffffffffffffffffffffff1614610af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aed906149ca565b60405180910390fd5b80600c9080519060200190610b0c9291906134fb565b5050565b610b2b83838360405180602001604052806000815250611ada565b505050565b610b38612072565b73ffffffffffffffffffffffffffffffffffffffff16610b566117de565b73ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba3906149ca565b60405180910390fd5b60005b8151811015610c9957600160116000848481518110610bf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115610c81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055508080610c9190614e2d565b915050610baf565b5050565b610ca5612072565b73ffffffffffffffffffffffffffffffffffffffff16610cc36117de565b73ffffffffffffffffffffffffffffffffffffffff1614610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906149ca565b60405180910390fd5b600f600082815260200190815260200160002060020160009054906101000a900460ff16610d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7390614aea565b60405180910390fd5b6000600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b8152600401610e169392919061468d565b600060405180830381600087803b158015610e3057600080fd5b505af1158015610e44573d6000803e3d6000fd5b50505050600f6000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006101000a81549060ff021916905550505050565b6000610eaf610968565b8210610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614a8a565b60405180910390fd5b60088281548110610f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6002600b541415610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990614aaa565b60405180910390fd5b6002600b81905550600e60159054906101000a900460ff16610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614aca565b60405180910390fd5b6101f48151610fe6610968565b610ff09190614c8a565b1115611031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611028906148ca565b60405180910390fd5b60028081111561106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156110ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611130576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111279061484a565b60405180910390fd5b6001600281111561116a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156111ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461122f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112269061482a565b60405180910390fd5b6001815161123c3361169e565b6112469190614c8a565b1115611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e9061498a565b60405180910390fd5b6112908161246d565b6002601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115611319577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506001600b8190555050565b6000806002811115611364577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156113e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561149b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114929061492a565b60405180910390fd5b80915050919050565b6002600b5414156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614aaa565b60405180910390fd5b6002600b81905550600e60149054906101000a900460ff16611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614aca565b60405180910390fd5b6101f4815161154e610968565b6115589190614c8a565b1115611599576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611590906148ca565b60405180910390fd5b600360016115a79190614c8a565b81516115b23361169e565b6115bc9190614c8a565b11156115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f49061498a565b60405180910390fd5b6116068161246d565b6001600b8190555050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60159054906101000a900460ff16905090565b6000600f600083815260200190815260200160002060020160009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561170f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117069061490a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61175e612072565b73ffffffffffffffffffffffffffffffffffffffff1661177c6117de565b73ffffffffffffffffffffffffffffffffffffffff16146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906149ca565b60405180910390fd5b6117dc60006124e8565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461181790614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461184390614dfb565b80156118905780601f1061186557610100808354040283529160200191611890565b820191906000526020600020905b81548152906001019060200180831161187357829003601f168201915b5050505050905090565b6118a2612072565b73ffffffffffffffffffffffffffffffffffffffff166118c06117de565b73ffffffffffffffffffffffffffffffffffffffff1614611916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190d906149ca565b60405180910390fd5b600e60159054906101000a900460ff1615600e60156101000a81548160ff021916908315150217905550565b61194a612072565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119af9061488a565b60405180910390fd5b80600560006119c5612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a72612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab79190614732565b60405180910390a35050565b6000600e60149054906101000a900460ff16905090565b611aeb611ae5612072565b83612133565b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2190614a6a565b60405180910390fd5b611b36848484846125ae565b50505050565b6060611b4782612006565b611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90614a0a565b60405180910390fd5b6000611b9061260a565b90506000815111611bb05760405180602001604052806000815250611bdb565b80611bba8461269c565b604051602001611bcb92919061464e565b6040516020818303038152906040525b915050919050565b611beb612072565b73ffffffffffffffffffffffffffffffffffffffff16611c096117de565b73ffffffffffffffffffffffffffffffffffffffff1614611c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c56906149ca565b60405180910390fd5b600e60159054906101000a900460ff16611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca5906147ca565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d76612072565b73ffffffffffffffffffffffffffffffffffffffff16611d946117de565b73ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906149ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e51906147ea565b60405180910390fd5b611e63816124e8565b50565b611e6e612072565b73ffffffffffffffffffffffffffffffffffffffff16611e8c6117de565b73ffffffffffffffffffffffffffffffffffffffff1614611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed9906149ca565b60405180910390fd5b611f027303f58f0cc44be4abc68b2df93c58514bb1196dc361157c612849565b611f2273ac05f9f58e873222cae11661a29743371f6d1f6c610c22612849565b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fef57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fff5750611ffe82612867565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ed836113f2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061213e82612006565b61217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906148aa565b60405180910390fd5b6000612188836113f2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121f757508373ffffffffffffffffffffffffffffffffffffffff166121df84610797565b73ffffffffffffffffffffffffffffffffffffffff16145b8061220857506122078185611cda565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612231826113f2565b73ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906149ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ee9061486a565b60405180910390fd5b6123028383836128d1565b61230d60008261207a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190614d11565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b49190614c8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b81518110156124db5760008282815181106124b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506124c7816129e5565b5080806124d390614e2d565b915050612470565b506124e581612cba565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125b9848484612211565b6125c584848484612dab565b612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb906147aa565b60405180910390fd5b50505050565b6060600c805461261990614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461264590614dfb565b80156126925780601f1061266757610100808354040283529160200191612692565b820191906000526020600020905b81548152906001019060200180831161267557829003601f168201915b5050505050905090565b606060008214156126e4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612844565b600082905060005b600082146127165780806126ff90614e2d565b915050600a8261270f9190614ce0565b91506126ec565b60008167ffffffffffffffff811115612758577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561278a5781602001600182028036833780820191505090505b5090505b6000851461283d576001826127a39190614d11565b9150600a856127b29190614e76565b60306127be9190614c8a565b60f81b8183815181106127fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128369190614ce0565b945061278e565b8093505050505b919050565b612863828260405180602001604052806000815250612f42565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128dc838383612f9d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561291f5761291a81612fa2565b61295e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461295d5761295c8382612feb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129a15761299c81613158565b6129e0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129df576129de828261329b565b5b5b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401612a579190614b0a565b60206040518083038186803b158015612a6f57600080fd5b505afa158015612a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa79190613856565b73ffffffffffffffffffffffffffffffffffffffff1614612afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af490614a2a565b60405180910390fd5b600f600082815260200190815260200160002060020160009054906101000a900460ff1615612b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b589061494a565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401612bc09392919061468d565b600060405180830381600087803b158015612bda57600080fd5b505af1158015612bee573d6000803e3d6000fd5b5050505060405180606001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200142815260200160011515815250600f600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550905050612cb73382612849565b50565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fd86df6b826040518263ffffffff1660e01b8152600401612d159190614710565b60206040518083038186803b158015612d2d57600080fd5b505afa158015612d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d659190613b3b565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000612dcc8473ffffffffffffffffffffffffffffffffffffffff1661331a565b15612f35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df5612072565b8786866040518563ffffffff1660e01b8152600401612e1794939291906146c4565b602060405180830381600087803b158015612e3157600080fd5b505af1925050508015612e6257506040513d601f19601f82011682018060405250810190612e5f9190613aa8565b60015b612ee5573d8060008114612e92576040519150601f19603f3d011682016040523d82523d6000602084013e612e97565b606091505b50600081511415612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed4906147aa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f3a565b600190505b949350505050565b612f4c838361332d565b612f596000848484612dab565b612f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8f906147aa565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ff88461169e565b6130029190614d11565b90506000600760008481526020019081526020016000205490508181146130e7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061316c9190614d11565b90506000600960008481526020019081526020016000205490506000600883815481106131c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061320a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061327f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132a68361169e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133949061496a565b60405180910390fd5b6133a681612006565b156133e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dd9061480a565b60405180910390fd5b6133f2600083836128d1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134429190614c8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461350790614dfb565b90600052602060002090601f0160209004810192826135295760008555613570565b82601f1061354257805160ff1916838001178555613570565b82800160010185558215613570579182015b8281111561356f578251825591602001919060010190613554565b5b50905061357d9190613581565b5090565b5b8082111561359a576000816000905550600101613582565b5090565b60006135b16135ac84614b56565b614b25565b905080838252602082019050828560208602820111156135d057600080fd5b60005b8581101561360057816135e688826136f2565b8452602084019350602083019250506001810190506135d3565b5050509392505050565b600061361d61361884614b82565b614b25565b9050808382526020820190508285602086028201111561363c57600080fd5b60005b8581101561366c57816136528882613803565b84526020840193506020830192505060018101905061363f565b5050509392505050565b600061368961368484614bae565b614b25565b9050828152602081018484840111156136a157600080fd5b6136ac848285614db9565b509392505050565b60006136c76136c284614bde565b614b25565b9050828152602081018484840111156136df57600080fd5b6136ea848285614db9565b509392505050565b60008135905061370181614f74565b92915050565b60008151905061371681614f74565b92915050565b600082601f83011261372d57600080fd5b813561373d84826020860161359e565b91505092915050565b600082601f83011261375757600080fd5b813561376784826020860161360a565b91505092915050565b60008135905061377f81614f8b565b92915050565b60008135905061379481614fa2565b92915050565b6000815190506137a981614fa2565b92915050565b600082601f8301126137c057600080fd5b81356137d0848260208601613676565b91505092915050565b600082601f8301126137ea57600080fd5b81356137fa8482602086016136b4565b91505092915050565b60008135905061381281614fb9565b92915050565b60008151905061382781614fb9565b92915050565b60006020828403121561383f57600080fd5b600061384d848285016136f2565b91505092915050565b60006020828403121561386857600080fd5b600061387684828501613707565b91505092915050565b6000806040838503121561389257600080fd5b60006138a0858286016136f2565b92505060206138b1858286016136f2565b9150509250929050565b6000806000606084860312156138d057600080fd5b60006138de868287016136f2565b93505060206138ef868287016136f2565b925050604061390086828701613803565b9150509250925092565b6000806000806080858703121561392057600080fd5b600061392e878288016136f2565b945050602061393f878288016136f2565b935050604061395087828801613803565b925050606085013567ffffffffffffffff81111561396d57600080fd5b613979878288016137af565b91505092959194509250565b6000806040838503121561399857600080fd5b60006139a6858286016136f2565b92505060206139b785828601613770565b9150509250929050565b600080604083850312156139d457600080fd5b60006139e2858286016136f2565b92505060206139f385828601613803565b9150509250929050565b600060208284031215613a0f57600080fd5b600082013567ffffffffffffffff811115613a2957600080fd5b613a358482850161371c565b91505092915050565b600060208284031215613a5057600080fd5b600082013567ffffffffffffffff811115613a6a57600080fd5b613a7684828501613746565b91505092915050565b600060208284031215613a9157600080fd5b6000613a9f84828501613785565b91505092915050565b600060208284031215613aba57600080fd5b6000613ac88482850161379a565b91505092915050565b600060208284031215613ae357600080fd5b600082013567ffffffffffffffff811115613afd57600080fd5b613b09848285016137d9565b91505092915050565b600060208284031215613b2457600080fd5b6000613b3284828501613803565b91505092915050565b600060208284031215613b4d57600080fd5b6000613b5b84828501613818565b91505092915050565b6000613b708383614630565b60208301905092915050565b613b8581614d45565b82525050565b6000613b9682614c1e565b613ba08185614c4c565b9350613bab83614c0e565b8060005b83811015613bdc578151613bc38882613b64565b9750613bce83614c3f565b925050600181019050613baf565b5085935050505092915050565b613bf281614d57565b82525050565b613c0181614d63565b82525050565b6000613c1282614c29565b613c1c8185614c5d565b9350613c2c818560208601614dc8565b613c3581614f63565b840191505092915050565b6000613c4b82614c34565b613c558185614c6e565b9350613c65818560208601614dc8565b613c6e81614f63565b840191505092915050565b6000613c8482614c34565b613c8e8185614c7f565b9350613c9e818560208601614dc8565b80840191505092915050565b6000613cb7602b83614c6e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613d1d603283614c6e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613d83601183614c6e565b91507f5072652d726567676572732066697273740000000000000000000000000000006000830152602082019050919050565b6000613dc3602683614c6e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e29601c83614c6e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613e69603783614c6e565b91507f596f7520617265206e6f742077686974656c69737465642e205761697420666f60008301527f72207075626c696320706f7274616c697a6174696f6e2e0000000000000000006020830152604082019050919050565b6000613ecf602083614c6e565b91507f596f7527766520616c726561647920706f7274616c697a656420646f67676f736000830152602082019050919050565b6000613f0f602483614c6e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f75601983614c6e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613fb5602c83614c6e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061401b600e83614c6e565b91507f506f7274616c2069732066756c6c0000000000000000000000000000000000006000830152602082019050919050565b600061405b603883614c6e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006140c1602a83614c6e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614127602983614c6e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061418d601f83614c6e565b91507f446f672068617320616c7265616479206265656e20706f7274616c697a6564006000830152602082019050919050565b60006141cd602083614c6e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061420d602283614c6e565b91507f596f752063616e277420706f7274616c697a652074686174206d616e7920646f60008301527f67730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614273602c83614c6e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006142d9602083614c6e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614319602983614c6e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061437f602f83614c6e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006143e5602383614c6e565b91507f596f7520617265206e6f7420746865206f776e6572206f66207468617420646f60008301527f67676f00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061444b602183614c6e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144b1603183614c6e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614517602c83614c6e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061457d601f83614c6e565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006145bd601683614c6e565b91507f506f7274616c206973206e6f74206f70656e20796574000000000000000000006000830152602082019050919050565b60006145fd601b83614c6e565b91507f446f6720686173206e6f74206265656e20706f7274616c697a656400000000006000830152602082019050919050565b61463981614daf565b82525050565b61464881614daf565b82525050565b600061465a8285613c79565b91506146668284613c79565b91508190509392505050565b60006020820190506146876000830184613b7c565b92915050565b60006060820190506146a26000830186613b7c565b6146af6020830185613b7c565b6146bc604083018461463f565b949350505050565b60006080820190506146d96000830187613b7c565b6146e66020830186613b7c565b6146f3604083018561463f565b81810360608301526147058184613c07565b905095945050505050565b6000602082019050818103600083015261472a8184613b8b565b905092915050565b60006020820190506147476000830184613be9565b92915050565b60006020820190506147626000830184613bf8565b92915050565b600060208201905081810360008301526147828184613c40565b905092915050565b600060208201905081810360008301526147a381613caa565b9050919050565b600060208201905081810360008301526147c381613d10565b9050919050565b600060208201905081810360008301526147e381613d76565b9050919050565b6000602082019050818103600083015261480381613db6565b9050919050565b6000602082019050818103600083015261482381613e1c565b9050919050565b6000602082019050818103600083015261484381613e5c565b9050919050565b6000602082019050818103600083015261486381613ec2565b9050919050565b6000602082019050818103600083015261488381613f02565b9050919050565b600060208201905081810360008301526148a381613f68565b9050919050565b600060208201905081810360008301526148c381613fa8565b9050919050565b600060208201905081810360008301526148e38161400e565b9050919050565b600060208201905081810360008301526149038161404e565b9050919050565b60006020820190508181036000830152614923816140b4565b9050919050565b600060208201905081810360008301526149438161411a565b9050919050565b6000602082019050818103600083015261496381614180565b9050919050565b60006020820190508181036000830152614983816141c0565b9050919050565b600060208201905081810360008301526149a381614200565b9050919050565b600060208201905081810360008301526149c381614266565b9050919050565b600060208201905081810360008301526149e3816142cc565b9050919050565b60006020820190508181036000830152614a038161430c565b9050919050565b60006020820190508181036000830152614a2381614372565b9050919050565b60006020820190508181036000830152614a43816143d8565b9050919050565b60006020820190508181036000830152614a638161443e565b9050919050565b60006020820190508181036000830152614a83816144a4565b9050919050565b60006020820190508181036000830152614aa38161450a565b9050919050565b60006020820190508181036000830152614ac381614570565b9050919050565b60006020820190508181036000830152614ae3816145b0565b9050919050565b60006020820190508181036000830152614b03816145f0565b9050919050565b6000602082019050614b1f600083018461463f565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614b4c57614b4b614f34565b5b8060405250919050565b600067ffffffffffffffff821115614b7157614b70614f34565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b9d57614b9c614f34565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614bc957614bc8614f34565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614bf957614bf8614f34565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c9582614daf565b9150614ca083614daf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cd557614cd4614ea7565b5b828201905092915050565b6000614ceb82614daf565b9150614cf683614daf565b925082614d0657614d05614ed6565b5b828204905092915050565b6000614d1c82614daf565b9150614d2783614daf565b925082821015614d3a57614d39614ea7565b5b828203905092915050565b6000614d5082614d8f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614de6578082015181840152602081019050614dcb565b83811115614df5576000848401525b50505050565b60006002820490506001821680614e1357607f821691505b60208210811415614e2757614e26614f05565b5b50919050565b6000614e3882614daf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e6b57614e6a614ea7565b5b600182019050919050565b6000614e8182614daf565b9150614e8c83614daf565b925082614e9c57614e9b614ed6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614f7d81614d45565b8114614f8857600080fd5b50565b614f9481614d57565b8114614f9f57600080fd5b50565b614fab81614d63565b8114614fb657600080fd5b50565b614fc281614daf565b8114614fcd57600080fd5b5056fea26469706673582212203fdb90eb0109372c38d0442baa99c527dde332539f1a890944c75872bf6244de64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a260000000000000000000000008d00be75f403a0dac89f635c7d40728efbaf7a110000000000000000000000000000000000000000000000000000000000000010546f70446f67506f7274616c697a65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045444505400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f7461672f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c8063649a149c1161011a57806397e9664c116100ad578063c87b56dd1161007c578063c87b56dd146105fb578063e381d46a1461062b578063e985e9c514610635578063f2fde38b14610665578063f5dbbbdf1461068157610206565b806397e9664c1461059b578063a22cb465146105a5578063a667d9c8146105c1578063b88d4fde146105df57610206565b806370a08231116100e957806370a0823114610525578063715018a6146105555780638da5cb5b1461055f57806395d89b411461057d57610206565b8063649a149c1461048b57806369251f82146104a75780636fbd4087146104d75780637005e9d1146104f557610206565b80632f745c591161019d5780634ba00fed1161016c5780634ba00fed146103c35780634f6ccce7146103df57806359dd283d1461040f5780635ee0c6031461042b5780636352211e1461045b57610206565b80632f745c591461033f57806330176e131461036f57806342842e0e1461038b57806344175527146103a757610206565b80630f073b27116101d95780630f073b27146102a5578063150b7a02146102d557806318160ddd1461030557806323b872dd1461032357610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613a7f565b61068b565b6040516102329190614732565b60405180910390f35b610243610705565b6040516102509190614768565b60405180910390f35b610273600480360381019061026e9190613b12565b610797565b6040516102809190614672565b60405180910390f35b6102a3600480360381019061029e91906139c1565b61081c565b005b6102bf60048036038101906102ba9190613b12565b610934565b6040516102cc9190614b0a565b60405180910390f35b6102ef60048036038101906102ea919061390a565b610954565b6040516102fc919061474d565b60405180910390f35b61030d610968565b60405161031a9190614b0a565b60405180910390f35b61033d600480360381019061033891906138bb565b610975565b005b610359600480360381019061035491906139c1565b6109d5565b6040516103669190614b0a565b60405180910390f35b61038960048036038101906103849190613ad1565b610a7a565b005b6103a560048036038101906103a091906138bb565b610b10565b005b6103c160048036038101906103bc91906139fd565b610b30565b005b6103dd60048036038101906103d89190613b12565b610c9d565b005b6103f960048036038101906103f49190613b12565b610ea5565b6040516104069190614b0a565b60405180910390f35b61042960048036038101906104249190613a3e565b610f3c565b005b6104456004803603810190610440919061382d565b611329565b6040516104529190614732565b60405180910390f35b61047560048036038101906104709190613b12565b6113f2565b6040516104829190614672565b60405180910390f35b6104a560048036038101906104a09190613a3e565b6114a4565b005b6104c160048036038101906104bc919061382d565b611611565b6040516104ce9190614b0a565b60405180910390f35b6104df61165a565b6040516104ec9190614732565b60405180910390f35b61050f600480360381019061050a9190613b12565b611671565b60405161051c9190614732565b60405180910390f35b61053f600480360381019061053a919061382d565b61169e565b60405161054c9190614b0a565b60405180910390f35b61055d611756565b005b6105676117de565b6040516105749190614672565b60405180910390f35b610585611808565b6040516105929190614768565b60405180910390f35b6105a361189a565b005b6105bf60048036038101906105ba9190613985565b611942565b005b6105c9611ac3565b6040516105d69190614732565b60405180910390f35b6105f960048036038101906105f4919061390a565b611ada565b005b61061560048036038101906106109190613b12565b611b3c565b6040516106229190614768565b60405180910390f35b610633611be3565b005b61064f600480360381019061064a919061387f565b611cda565b60405161065c9190614732565b60405180910390f35b61067f600480360381019061067a919061382d565b611d6e565b005b610689611e66565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106fe57506106fd82611f24565b5b9050919050565b60606000805461071490614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461074090614dfb565b801561078d5780601f106107625761010080835404028352916020019161078d565b820191906000526020600020905b81548152906001019060200180831161077057829003601f168201915b5050505050905090565b60006107a282612006565b6107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d8906149aa565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610827826113f2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f90614a4a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108b7612072565b73ffffffffffffffffffffffffffffffffffffffff1614806108e657506108e5816108e0612072565b611cda565b5b610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c906148ea565b60405180910390fd5b61092f838361207a565b505050565b6000600f6000838152602001908152602001600020600101549050919050565b600063150b7a0260e01b9050949350505050565b6000600880549050905090565b610986610980612072565b82612133565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc90614a6a565b60405180910390fd5b6109d0838383612211565b505050565b60006109e08361169e565b8210610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a189061478a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a82612072565b73ffffffffffffffffffffffffffffffffffffffff16610aa06117de565b73ffffffffffffffffffffffffffffffffffffffff1614610af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aed906149ca565b60405180910390fd5b80600c9080519060200190610b0c9291906134fb565b5050565b610b2b83838360405180602001604052806000815250611ada565b505050565b610b38612072565b73ffffffffffffffffffffffffffffffffffffffff16610b566117de565b73ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba3906149ca565b60405180910390fd5b60005b8151811015610c9957600160116000848481518110610bf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115610c81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055508080610c9190614e2d565b915050610baf565b5050565b610ca5612072565b73ffffffffffffffffffffffffffffffffffffffff16610cc36117de565b73ffffffffffffffffffffffffffffffffffffffff1614610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906149ca565b60405180910390fd5b600f600082815260200190815260200160002060020160009054906101000a900460ff16610d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7390614aea565b60405180910390fd5b6000600f600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3083856040518463ffffffff1660e01b8152600401610e169392919061468d565b600060405180830381600087803b158015610e3057600080fd5b505af1158015610e44573d6000803e3d6000fd5b50505050600f6000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006101000a81549060ff021916905550505050565b6000610eaf610968565b8210610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614a8a565b60405180910390fd5b60088281548110610f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6002600b541415610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990614aaa565b60405180910390fd5b6002600b81905550600e60159054906101000a900460ff16610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614aca565b60405180910390fd5b6101f48151610fe6610968565b610ff09190614c8a565b1115611031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611028906148ca565b60405180910390fd5b60028081111561106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156110ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611130576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111279061484a565b60405180910390fd5b6001600281111561116a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156111ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461122f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112269061482a565b60405180910390fd5b6001815161123c3361169e565b6112469190614c8a565b1115611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e9061498a565b60405180910390fd5b6112908161246d565b6002601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115611319577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506001600b8190555050565b6000806002811115611364577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156113e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561149b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114929061492a565b60405180910390fd5b80915050919050565b6002600b5414156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614aaa565b60405180910390fd5b6002600b81905550600e60149054906101000a900460ff16611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614aca565b60405180910390fd5b6101f4815161154e610968565b6115589190614c8a565b1115611599576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611590906148ca565b60405180910390fd5b600360016115a79190614c8a565b81516115b23361169e565b6115bc9190614c8a565b11156115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f49061498a565b60405180910390fd5b6116068161246d565b6001600b8190555050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60159054906101000a900460ff16905090565b6000600f600083815260200190815260200160002060020160009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561170f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117069061490a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61175e612072565b73ffffffffffffffffffffffffffffffffffffffff1661177c6117de565b73ffffffffffffffffffffffffffffffffffffffff16146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906149ca565b60405180910390fd5b6117dc60006124e8565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461181790614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461184390614dfb565b80156118905780601f1061186557610100808354040283529160200191611890565b820191906000526020600020905b81548152906001019060200180831161187357829003601f168201915b5050505050905090565b6118a2612072565b73ffffffffffffffffffffffffffffffffffffffff166118c06117de565b73ffffffffffffffffffffffffffffffffffffffff1614611916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190d906149ca565b60405180910390fd5b600e60159054906101000a900460ff1615600e60156101000a81548160ff021916908315150217905550565b61194a612072565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119af9061488a565b60405180910390fd5b80600560006119c5612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a72612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab79190614732565b60405180910390a35050565b6000600e60149054906101000a900460ff16905090565b611aeb611ae5612072565b83612133565b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2190614a6a565b60405180910390fd5b611b36848484846125ae565b50505050565b6060611b4782612006565b611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90614a0a565b60405180910390fd5b6000611b9061260a565b90506000815111611bb05760405180602001604052806000815250611bdb565b80611bba8461269c565b604051602001611bcb92919061464e565b6040516020818303038152906040525b915050919050565b611beb612072565b73ffffffffffffffffffffffffffffffffffffffff16611c096117de565b73ffffffffffffffffffffffffffffffffffffffff1614611c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c56906149ca565b60405180910390fd5b600e60159054906101000a900460ff16611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca5906147ca565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d76612072565b73ffffffffffffffffffffffffffffffffffffffff16611d946117de565b73ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906149ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e51906147ea565b60405180910390fd5b611e63816124e8565b50565b611e6e612072565b73ffffffffffffffffffffffffffffffffffffffff16611e8c6117de565b73ffffffffffffffffffffffffffffffffffffffff1614611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed9906149ca565b60405180910390fd5b611f027303f58f0cc44be4abc68b2df93c58514bb1196dc361157c612849565b611f2273ac05f9f58e873222cae11661a29743371f6d1f6c610c22612849565b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fef57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fff5750611ffe82612867565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ed836113f2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061213e82612006565b61217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906148aa565b60405180910390fd5b6000612188836113f2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121f757508373ffffffffffffffffffffffffffffffffffffffff166121df84610797565b73ffffffffffffffffffffffffffffffffffffffff16145b8061220857506122078185611cda565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612231826113f2565b73ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906149ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ee9061486a565b60405180910390fd5b6123028383836128d1565b61230d60008261207a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190614d11565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b49190614c8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b81518110156124db5760008282815181106124b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506124c7816129e5565b5080806124d390614e2d565b915050612470565b506124e581612cba565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125b9848484612211565b6125c584848484612dab565b612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb906147aa565b60405180910390fd5b50505050565b6060600c805461261990614dfb565b80601f016020809104026020016040519081016040528092919081815260200182805461264590614dfb565b80156126925780601f1061266757610100808354040283529160200191612692565b820191906000526020600020905b81548152906001019060200180831161267557829003601f168201915b5050505050905090565b606060008214156126e4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612844565b600082905060005b600082146127165780806126ff90614e2d565b915050600a8261270f9190614ce0565b91506126ec565b60008167ffffffffffffffff811115612758577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561278a5781602001600182028036833780820191505090505b5090505b6000851461283d576001826127a39190614d11565b9150600a856127b29190614e76565b60306127be9190614c8a565b60f81b8183815181106127fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128369190614ce0565b945061278e565b8093505050505b919050565b612863828260405180602001604052806000815250612f42565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128dc838383612f9d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561291f5761291a81612fa2565b61295e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461295d5761295c8382612feb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129a15761299c81613158565b6129e0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129df576129de828261329b565b5b5b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401612a579190614b0a565b60206040518083038186803b158015612a6f57600080fd5b505afa158015612a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa79190613856565b73ffffffffffffffffffffffffffffffffffffffff1614612afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af490614a2a565b60405180910390fd5b600f600082815260200190815260200160002060020160009054906101000a900460ff1615612b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b589061494a565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401612bc09392919061468d565b600060405180830381600087803b158015612bda57600080fd5b505af1158015612bee573d6000803e3d6000fd5b5050505060405180606001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200142815260200160011515815250600f600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550905050612cb73382612849565b50565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fd86df6b826040518263ffffffff1660e01b8152600401612d159190614710565b60206040518083038186803b158015612d2d57600080fd5b505afa158015612d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d659190613b3b565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000612dcc8473ffffffffffffffffffffffffffffffffffffffff1661331a565b15612f35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df5612072565b8786866040518563ffffffff1660e01b8152600401612e1794939291906146c4565b602060405180830381600087803b158015612e3157600080fd5b505af1925050508015612e6257506040513d601f19601f82011682018060405250810190612e5f9190613aa8565b60015b612ee5573d8060008114612e92576040519150601f19603f3d011682016040523d82523d6000602084013e612e97565b606091505b50600081511415612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed4906147aa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f3a565b600190505b949350505050565b612f4c838361332d565b612f596000848484612dab565b612f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8f906147aa565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ff88461169e565b6130029190614d11565b90506000600760008481526020019081526020016000205490508181146130e7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061316c9190614d11565b90506000600960008481526020019081526020016000205490506000600883815481106131c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061320a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061327f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132a68361169e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133949061496a565b60405180910390fd5b6133a681612006565b156133e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dd9061480a565b60405180910390fd5b6133f2600083836128d1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134429190614c8a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461350790614dfb565b90600052602060002090601f0160209004810192826135295760008555613570565b82601f1061354257805160ff1916838001178555613570565b82800160010185558215613570579182015b8281111561356f578251825591602001919060010190613554565b5b50905061357d9190613581565b5090565b5b8082111561359a576000816000905550600101613582565b5090565b60006135b16135ac84614b56565b614b25565b905080838252602082019050828560208602820111156135d057600080fd5b60005b8581101561360057816135e688826136f2565b8452602084019350602083019250506001810190506135d3565b5050509392505050565b600061361d61361884614b82565b614b25565b9050808382526020820190508285602086028201111561363c57600080fd5b60005b8581101561366c57816136528882613803565b84526020840193506020830192505060018101905061363f565b5050509392505050565b600061368961368484614bae565b614b25565b9050828152602081018484840111156136a157600080fd5b6136ac848285614db9565b509392505050565b60006136c76136c284614bde565b614b25565b9050828152602081018484840111156136df57600080fd5b6136ea848285614db9565b509392505050565b60008135905061370181614f74565b92915050565b60008151905061371681614f74565b92915050565b600082601f83011261372d57600080fd5b813561373d84826020860161359e565b91505092915050565b600082601f83011261375757600080fd5b813561376784826020860161360a565b91505092915050565b60008135905061377f81614f8b565b92915050565b60008135905061379481614fa2565b92915050565b6000815190506137a981614fa2565b92915050565b600082601f8301126137c057600080fd5b81356137d0848260208601613676565b91505092915050565b600082601f8301126137ea57600080fd5b81356137fa8482602086016136b4565b91505092915050565b60008135905061381281614fb9565b92915050565b60008151905061382781614fb9565b92915050565b60006020828403121561383f57600080fd5b600061384d848285016136f2565b91505092915050565b60006020828403121561386857600080fd5b600061387684828501613707565b91505092915050565b6000806040838503121561389257600080fd5b60006138a0858286016136f2565b92505060206138b1858286016136f2565b9150509250929050565b6000806000606084860312156138d057600080fd5b60006138de868287016136f2565b93505060206138ef868287016136f2565b925050604061390086828701613803565b9150509250925092565b6000806000806080858703121561392057600080fd5b600061392e878288016136f2565b945050602061393f878288016136f2565b935050604061395087828801613803565b925050606085013567ffffffffffffffff81111561396d57600080fd5b613979878288016137af565b91505092959194509250565b6000806040838503121561399857600080fd5b60006139a6858286016136f2565b92505060206139b785828601613770565b9150509250929050565b600080604083850312156139d457600080fd5b60006139e2858286016136f2565b92505060206139f385828601613803565b9150509250929050565b600060208284031215613a0f57600080fd5b600082013567ffffffffffffffff811115613a2957600080fd5b613a358482850161371c565b91505092915050565b600060208284031215613a5057600080fd5b600082013567ffffffffffffffff811115613a6a57600080fd5b613a7684828501613746565b91505092915050565b600060208284031215613a9157600080fd5b6000613a9f84828501613785565b91505092915050565b600060208284031215613aba57600080fd5b6000613ac88482850161379a565b91505092915050565b600060208284031215613ae357600080fd5b600082013567ffffffffffffffff811115613afd57600080fd5b613b09848285016137d9565b91505092915050565b600060208284031215613b2457600080fd5b6000613b3284828501613803565b91505092915050565b600060208284031215613b4d57600080fd5b6000613b5b84828501613818565b91505092915050565b6000613b708383614630565b60208301905092915050565b613b8581614d45565b82525050565b6000613b9682614c1e565b613ba08185614c4c565b9350613bab83614c0e565b8060005b83811015613bdc578151613bc38882613b64565b9750613bce83614c3f565b925050600181019050613baf565b5085935050505092915050565b613bf281614d57565b82525050565b613c0181614d63565b82525050565b6000613c1282614c29565b613c1c8185614c5d565b9350613c2c818560208601614dc8565b613c3581614f63565b840191505092915050565b6000613c4b82614c34565b613c558185614c6e565b9350613c65818560208601614dc8565b613c6e81614f63565b840191505092915050565b6000613c8482614c34565b613c8e8185614c7f565b9350613c9e818560208601614dc8565b80840191505092915050565b6000613cb7602b83614c6e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613d1d603283614c6e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613d83601183614c6e565b91507f5072652d726567676572732066697273740000000000000000000000000000006000830152602082019050919050565b6000613dc3602683614c6e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e29601c83614c6e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613e69603783614c6e565b91507f596f7520617265206e6f742077686974656c69737465642e205761697420666f60008301527f72207075626c696320706f7274616c697a6174696f6e2e0000000000000000006020830152604082019050919050565b6000613ecf602083614c6e565b91507f596f7527766520616c726561647920706f7274616c697a656420646f67676f736000830152602082019050919050565b6000613f0f602483614c6e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f75601983614c6e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613fb5602c83614c6e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061401b600e83614c6e565b91507f506f7274616c2069732066756c6c0000000000000000000000000000000000006000830152602082019050919050565b600061405b603883614c6e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006140c1602a83614c6e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614127602983614c6e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061418d601f83614c6e565b91507f446f672068617320616c7265616479206265656e20706f7274616c697a6564006000830152602082019050919050565b60006141cd602083614c6e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061420d602283614c6e565b91507f596f752063616e277420706f7274616c697a652074686174206d616e7920646f60008301527f67730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614273602c83614c6e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006142d9602083614c6e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614319602983614c6e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061437f602f83614c6e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006143e5602383614c6e565b91507f596f7520617265206e6f7420746865206f776e6572206f66207468617420646f60008301527f67676f00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061444b602183614c6e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144b1603183614c6e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614517602c83614c6e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061457d601f83614c6e565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006145bd601683614c6e565b91507f506f7274616c206973206e6f74206f70656e20796574000000000000000000006000830152602082019050919050565b60006145fd601b83614c6e565b91507f446f6720686173206e6f74206265656e20706f7274616c697a656400000000006000830152602082019050919050565b61463981614daf565b82525050565b61464881614daf565b82525050565b600061465a8285613c79565b91506146668284613c79565b91508190509392505050565b60006020820190506146876000830184613b7c565b92915050565b60006060820190506146a26000830186613b7c565b6146af6020830185613b7c565b6146bc604083018461463f565b949350505050565b60006080820190506146d96000830187613b7c565b6146e66020830186613b7c565b6146f3604083018561463f565b81810360608301526147058184613c07565b905095945050505050565b6000602082019050818103600083015261472a8184613b8b565b905092915050565b60006020820190506147476000830184613be9565b92915050565b60006020820190506147626000830184613bf8565b92915050565b600060208201905081810360008301526147828184613c40565b905092915050565b600060208201905081810360008301526147a381613caa565b9050919050565b600060208201905081810360008301526147c381613d10565b9050919050565b600060208201905081810360008301526147e381613d76565b9050919050565b6000602082019050818103600083015261480381613db6565b9050919050565b6000602082019050818103600083015261482381613e1c565b9050919050565b6000602082019050818103600083015261484381613e5c565b9050919050565b6000602082019050818103600083015261486381613ec2565b9050919050565b6000602082019050818103600083015261488381613f02565b9050919050565b600060208201905081810360008301526148a381613f68565b9050919050565b600060208201905081810360008301526148c381613fa8565b9050919050565b600060208201905081810360008301526148e38161400e565b9050919050565b600060208201905081810360008301526149038161404e565b9050919050565b60006020820190508181036000830152614923816140b4565b9050919050565b600060208201905081810360008301526149438161411a565b9050919050565b6000602082019050818103600083015261496381614180565b9050919050565b60006020820190508181036000830152614983816141c0565b9050919050565b600060208201905081810360008301526149a381614200565b9050919050565b600060208201905081810360008301526149c381614266565b9050919050565b600060208201905081810360008301526149e3816142cc565b9050919050565b60006020820190508181036000830152614a038161430c565b9050919050565b60006020820190508181036000830152614a2381614372565b9050919050565b60006020820190508181036000830152614a43816143d8565b9050919050565b60006020820190508181036000830152614a638161443e565b9050919050565b60006020820190508181036000830152614a83816144a4565b9050919050565b60006020820190508181036000830152614aa38161450a565b9050919050565b60006020820190508181036000830152614ac381614570565b9050919050565b60006020820190508181036000830152614ae3816145b0565b9050919050565b60006020820190508181036000830152614b03816145f0565b9050919050565b6000602082019050614b1f600083018461463f565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614b4c57614b4b614f34565b5b8060405250919050565b600067ffffffffffffffff821115614b7157614b70614f34565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b9d57614b9c614f34565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614bc957614bc8614f34565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614bf957614bf8614f34565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c9582614daf565b9150614ca083614daf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cd557614cd4614ea7565b5b828201905092915050565b6000614ceb82614daf565b9150614cf683614daf565b925082614d0657614d05614ed6565b5b828204905092915050565b6000614d1c82614daf565b9150614d2783614daf565b925082821015614d3a57614d39614ea7565b5b828203905092915050565b6000614d5082614d8f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614de6578082015181840152602081019050614dcb565b83811115614df5576000848401525b50505050565b60006002820490506001821680614e1357607f821691505b60208210811415614e2757614e26614f05565b5b50919050565b6000614e3882614daf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e6b57614e6a614ea7565b5b600182019050919050565b6000614e8182614daf565b9150614e8c83614daf565b925082614e9c57614e9b614ed6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614f7d81614d45565b8114614f8857600080fd5b50565b614f9481614d57565b8114614f9f57600080fd5b50565b614fab81614d63565b8114614fb657600080fd5b50565b614fc281614daf565b8114614fcd57600080fd5b5056fea26469706673582212203fdb90eb0109372c38d0442baa99c527dde332539f1a890944c75872bf6244de64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a260000000000000000000000008d00be75f403a0dac89f635c7d40728efbaf7a110000000000000000000000000000000000000000000000000000000000000010546f70446f67506f7274616c697a65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045444505400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f7461672f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): TopDogPortalizer
Arg [1] : symbol (string): TDPT
Arg [2] : baseTokenURI (string): https://api.topdogbeachclub.com/tag/
Arg [3] : tdbcAddress (address): 0x6F0365ca2c1Dd63473F898A60f878A07e0f68A26
Arg [4] : snaxAddress (address): 0x8d00Be75F403A0dAC89F635c7d40728EFbaF7a11
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a26
Arg [4] : 0000000000000000000000008d00be75f403a0dac89f635c7d40728efbaf7a11
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [6] : 546f70446f67506f7274616c697a657200000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 5444505400000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [10] : 68747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f
Arg [11] : 7461672f00000000000000000000000000000000000000000000000000000000
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.