ETH Price: $2,967.20 (+2.29%)
Gas: 1 Gwei

Token

TopCatBeachClub (TCBC)
 

Overview

Max Total Supply

6,883 TCBC

Holders

2,031

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
11 TCBC
0xcc46f3c48c1f66f6b2d0710385618da93e4cc6c7
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to the Top Dog Beach Club! A unique NFT experience, pushing the boundaries of community and club membership. Access the Beach Club via the website to rename your dogs and give them a backstory, win prizes in our play-to-earn GameZone.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TopCatBeachClub

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : TopCatBeachClub.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ITopDogBeachClub.sol";
import "./ITopDogPortalizer.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 TopCatBeachClub is ERC721Enumerable, IERC721Receiver, Ownable, ReentrancyGuard {
    uint256 private constant MAX_CATS = 8000;
    uint256 private constant DEV_CATS = 100;

    string public TCBC_PROVENANCE;
    address private _tdbcAddress;
    address private _tdptAddress;
    string private _baseTokenURI;
    bool private _claimPeriodIsOpen = false;
    bool private _canReserve = true;
    mapping (uint256 => uint256) private _catBirthdays;

    constructor (string memory name,
        string memory symbol,
        string memory baseTokenURI,
        address tdbcAddress,
        address tdptAddress) ERC721(name, symbol)
    {
        _baseTokenURI = baseTokenURI;
        _tdbcAddress = tdbcAddress;
        _tdptAddress = tdptAddress;
    }

    function toggleClaimPeriod() external onlyOwner {
        _claimPeriodIsOpen = !_claimPeriodIsOpen;
    }

    function claimPeriodIsOpen() external view returns (bool status) {
        return _claimPeriodIsOpen;
    }

    /*
    * A SHA256 hash representing all cats. Will be set once the mint period has ended
    */
    function setProvenanceHash(string memory provenanceHash) external onlyOwner {
        TCBC_PROVENANCE = provenanceHash;
    }

    function setBaseTokenURI(string memory baseTokenURI) external onlyOwner {
        _baseTokenURI = baseTokenURI;
    }

    /*
    * Message Jakub "I heard you like chicken" on Discord
    */
    function stepThroughThePortal(uint256[] memory claimIds) external nonReentrant() {
        require(_claimPeriodIsOpen, "Claim period is not open");
        
        for (uint256 i = 0; i < claimIds.length; i++) {
            uint256 tokenId = claimIds[i];
            require(ITopDogBeachClub(_tdbcAddress).ownerOf(tokenId) == msg.sender || ITopDogPortalizer(_tdptAddress).ownerOf(tokenId) == msg.sender, "Claimant is not the owner");

            _mintCat(msg.sender, tokenId);
        }
    }

    /*
    * Called once by the dev team to mint unclaimed cats after the claim period ends. Used for giveaways, marketing, etc.
    */
    function reserve(uint256[] memory tokenIds) external onlyOwner {
        require(block.timestamp > 1633903200, "Not yet");
        require(!_claimPeriodIsOpen, "Claim is still open..?");
        require(_canReserve, "Already called");
        require(tokenIds.length <= DEV_CATS, "Too many cats");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            _mintCat(msg.sender, tokenIds[i]);
        }

        _canReserve = false;
    }

    /*
    * 🔥 🔥 🔥 
    */
    function burn(uint256 tokenId) external {
        require(_isApprovedOrOwner(msg.sender, tokenId), "Caller is not owner nor approved");
        _burn(tokenId);
    }

    /**
     * @notice Returns a list of all tokenIds assigned to an address - used by the TDBC website
     * Taken from https://ethereum.stackexchange.com/questions/54959/list-erc721-tokens-owned-by-a-user-on-a-web-page
     * @param user get tokens of a given user
     */
    function tokensOfOwner(address user) external view returns (uint256[] memory ownerTokens) {
        uint256 tokenCount = balanceOf(user);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory output = new uint256[](tokenCount);

            for (uint256 index = 0; index < tokenCount; index++) {
                output[index] = tokenOfOwnerByIndex(user, index);
            }
            
            return output;
        }
    }

    /*
     * I hope you bought cake?
    */
    function getBirthday(uint256 tokenId) external view returns (uint256) {
        return _catBirthdays[tokenId];
    }

    function _mintCat(address owner, uint256 tokenId) private {
        require(totalSupply() + 1 <= MAX_CATS, "Mint would exceed max supply of cats");

        _safeMint(owner, tokenId);
        _catBirthdays[tokenId] = block.timestamp;
    }

    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;
    }
}

File 2 of 16 : IERC165.sol
// 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);
}

File 3 of 16 : ERC165.sol
// 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;
    }
}

File 4 of 16 : Strings.sol
// 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);
    }
}

File 5 of 16 : Context.sol
// 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;
    }
}

File 6 of 16 : Address.sol
// 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);
            }
        }
    }
}

File 7 of 16 : IERC721Metadata.sol
// 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);
}

File 8 of 16 : IERC721Enumerable.sol
// 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);
}

File 9 of 16 : ERC721Enumerable.sol
// 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();
    }
}

File 10 of 16 : IERC721Receiver.sol
// 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);
}

File 11 of 16 : IERC721.sol
// 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;
}

File 12 of 16 : ERC721.sol
// 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 {}
}

File 13 of 16 : ReentrancyGuard.sol
// 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;
    }
}

File 14 of 16 : Ownable.sol
// 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);
    }
}

File 15 of 16 : ITopDogPortalizer.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

interface ITopDogPortalizer is IERC721Enumerable {}

File 16 of 16 : ITopDogBeachClub.sol
// 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);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"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":"tdptAddress","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":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":[],"name":"TCBC_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPeriodIsOpen","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBirthday","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":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"reserve","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":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"claimIds","type":"uint256[]"}],"name":"stepThroughThePortal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleClaimPeriod","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":[{"internalType":"address","name":"user","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"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"}]

60806040526000601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055503480156200004757600080fd5b5060405162004cba38038062004cba83398181016040528101906200006d919062000378565b84848160009080519060200190620000879291906200023f565b508060019080519060200190620000a09291906200023f565b505050620000c3620000b76200017160201b60201c565b6200017960201b60201c565b6001600b8190555082600f9080519060200190620000e39291906200023f565b5081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620005c4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024d9062000516565b90600052602060002090601f016020900481019282620002715760008555620002bd565b82601f106200028c57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bc5782518255916020019190600101906200029f565b5b509050620002cc9190620002d0565b5090565b5b80821115620002eb576000816000905550600101620002d1565b5090565b600062000306620003008462000479565b62000445565b9050828152602081018484840111156200031f57600080fd5b6200032c848285620004e0565b509392505050565b6000815190506200034581620005aa565b92915050565b600082601f8301126200035d57600080fd5b81516200036f848260208601620002ef565b91505092915050565b600080600080600060a086880312156200039157600080fd5b600086015167ffffffffffffffff811115620003ac57600080fd5b620003ba888289016200034b565b955050602086015167ffffffffffffffff811115620003d857600080fd5b620003e6888289016200034b565b945050604086015167ffffffffffffffff8111156200040457600080fd5b62000412888289016200034b565b9350506060620004258882890162000334565b9250506080620004388882890162000334565b9150509295509295909350565b6000604051905081810181811067ffffffffffffffff821117156200046f576200046e6200057b565b5b8060405250919050565b600067ffffffffffffffff8211156200049757620004966200057b565b5b601f19601f8301169050602081019050919050565b6000620004b982620004c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000500578082015181840152602081019050620004e3565b8381111562000510576000848401525b50505050565b600060028204905060018216806200052f57607f821691505b602082108114156200054657620005456200054c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005b581620004ac565b8114620005c157600080fd5b50565b6146e680620005d46000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce71161010457806395d89b41116100a2578063c8d2524c11610071578063c8d2524c14610551578063cec6e2de14610581578063e985e9c51461059f578063f2fde38b146105cf576101da565b806395d89b41146104cb578063a22cb465146104e9578063b88d4fde14610505578063c87b56dd14610521576101da565b8063715018a6116100de578063715018a61461045557806381cfde251461045f5780638462151c1461047d5780638da5cb5b146104ad576101da565b80634f6ccce7146103c55780636352211e146103f557806370a0823114610425576101da565b806318160ddd1161017c57806330176e131161014b57806330176e131461035557806342842e0e1461037157806342966c681461038d57806348856e76146103a9576101da565b806318160ddd146102cf5780631949c177146102ed57806323b872dd146103095780632f745c5914610325576101da565b8063095ea7b3116101b8578063095ea7b31461025d5780631096952314610279578063150b7a02146102955780631775d6fd146102c5576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190613297565b6105eb565b6040516102069190613e5e565b60405180910390f35b610217610665565b6040516102249190613e94565b60405180910390f35b6102476004803603810190610242919061332a565b6106f7565b6040516102549190613dd5565b60405180910390f35b6102776004803603810190610272919061321a565b61077c565b005b610293600480360381019061028e91906132e9565b610894565b005b6102af60048036038101906102aa9190613163565b61092a565b6040516102bc9190613e79565b60405180910390f35b6102cd61093e565b005b6102d76109e6565b6040516102e49190614216565b60405180910390f35b61030760048036038101906103029190613256565b6109f3565b005b610323600480360381019061031e9190613114565b610c21565b005b61033f600480360381019061033a919061321a565b610c81565b60405161034c9190614216565b60405180910390f35b61036f600480360381019061036a91906132e9565b610d26565b005b61038b60048036038101906103869190613114565b610dbc565b005b6103a760048036038101906103a2919061332a565b610ddc565b005b6103c360048036038101906103be9190613256565b610e31565b005b6103df60048036038101906103da919061332a565b611141565b6040516103ec9190614216565b60405180910390f35b61040f600480360381019061040a919061332a565b6111d8565b60405161041c9190613dd5565b60405180910390f35b61043f600480360381019061043a9190613086565b61128a565b60405161044c9190614216565b60405180910390f35b61045d611342565b005b6104676113ca565b6040516104749190613e5e565b60405180910390f35b61049760048036038101906104929190613086565b6113e1565b6040516104a49190613e3c565b60405180910390f35b6104b561155d565b6040516104c29190613dd5565b60405180910390f35b6104d3611587565b6040516104e09190613e94565b60405180910390f35b61050360048036038101906104fe91906131de565b611619565b005b61051f600480360381019061051a9190613163565b61179a565b005b61053b6004803603810190610536919061332a565b6117fc565b6040516105489190613e94565b60405180910390f35b61056b6004803603810190610566919061332a565b6118a3565b6040516105789190614216565b60405180910390f35b6105896118c0565b6040516105969190613e94565b60405180910390f35b6105b960048036038101906105b491906130d8565b61194e565b6040516105c69190613e5e565b60405180910390f35b6105e960048036038101906105e49190613086565b6119e2565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065e575061065d82611ada565b5b9050919050565b606060008054610674906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546106a0906144db565b80156106ed5780601f106106c2576101008083540402835291602001916106ed565b820191906000526020600020905b8154815290600101906020018083116106d057829003601f168201915b5050505050905090565b600061070282611bbc565b610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890614056565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610787826111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ef906140f6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610817611c28565b73ffffffffffffffffffffffffffffffffffffffff161480610846575061084581610840611c28565b61194e565b5b610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c90613fd6565b60405180910390fd5b61088f8383611c30565b505050565b61089c611c28565b73ffffffffffffffffffffffffffffffffffffffff166108ba61155d565b73ffffffffffffffffffffffffffffffffffffffff1614610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790614096565b60405180910390fd5b80600c9080519060200190610926929190612dff565b5050565b600063150b7a0260e01b9050949350505050565b610946611c28565b73ffffffffffffffffffffffffffffffffffffffff1661096461155d565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b190614096565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600880549050905090565b6109fb611c28565b73ffffffffffffffffffffffffffffffffffffffff16610a1961155d565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690614096565b60405180910390fd5b63616362604211610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90613f56565b60405180910390fd5b601060009054906101000a900460ff1615610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc906141f6565b60405180910390fd5b601060019054906101000a900460ff16610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b906141b6565b60405180910390fd5b606481511115610b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9090614176565b60405180910390fd5b60005b8151811015610c0257610bef33838381518110610be2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611ce9565b8080610bfa9061450d565b915050610b9c565b506000601060016101000a81548160ff02191690831515021790555050565b610c32610c2c611c28565b82611d67565b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6890614156565b60405180910390fd5b610c7c838383611e45565b505050565b6000610c8c8361128a565b8210610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490613ed6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d2e611c28565b73ffffffffffffffffffffffffffffffffffffffff16610d4c61155d565b73ffffffffffffffffffffffffffffffffffffffff1614610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990614096565b60405180910390fd5b80600f9080519060200190610db8929190612dff565b5050565b610dd78383836040518060200160405280600081525061179a565b505050565b610de63382611d67565b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90614136565b60405180910390fd5b610e2e816120a1565b50565b6002600b541415610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e906141d6565b60405180910390fd5b6002600b81905550601060009054906101000a900460ff16610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590614116565b60405180910390fd5b60005b8151811015611135576000828281518110610f15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f919190614216565b60206040518083038186803b158015610fa957600080fd5b505afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe191906130af565b73ffffffffffffffffffffffffffffffffffffffff1614806110d857503373ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016110709190614216565b60206040518083038186803b15801561108857600080fd5b505afa15801561109c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c091906130af565b73ffffffffffffffffffffffffffffffffffffffff16145b611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614076565b60405180910390fd5b6111213382611ce9565b50808061112d9061450d565b915050610ed1565b506001600b8190555050565b600061114b6109e6565b821061118c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118390614196565b60405180910390fd5b600882815481106111c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614016565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290613ff6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61134a611c28565b73ffffffffffffffffffffffffffffffffffffffff1661136861155d565b73ffffffffffffffffffffffffffffffffffffffff16146113be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b590614096565b60405180910390fd5b6113c860006121b2565b565b6000601060009054906101000a900460ff16905090565b606060006113ee8361128a565b9050600081141561147157600067ffffffffffffffff81111561143a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114685781602001602082028036833780820191505090505b50915050611558565b60008167ffffffffffffffff8111156114b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114e15781602001602082028036833780820191505090505b50905060005b82811015611551576114f98582610c81565b828281518110611532577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806115499061450d565b9150506114e7565b5080925050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611596906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546115c2906144db565b801561160f5780601f106115e45761010080835404028352916020019161160f565b820191906000526020600020905b8154815290600101906020018083116115f257829003601f168201915b5050505050905090565b611621611c28565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561168f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168690613f96565b60405180910390fd5b806005600061169c611c28565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611749611c28565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161178e9190613e5e565b60405180910390a35050565b6117ab6117a5611c28565b83611d67565b6117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614156565b60405180910390fd5b6117f684848484612278565b50505050565b606061180782611bbc565b611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906140d6565b60405180910390fd5b60006118506122d4565b90506000815111611870576040518060200160405280600081525061189b565b8061187a84612366565b60405160200161188b929190613db1565b6040516020818303038152906040525b915050919050565b600060116000838152602001908152602001600020549050919050565b600c80546118cd906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546118f9906144db565b80156119465780601f1061191b57610100808354040283529160200191611946565b820191906000526020600020905b81548152906001019060200180831161192957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119ea611c28565b73ffffffffffffffffffffffffffffffffffffffff16611a0861155d565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590614096565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590613f16565b60405180910390fd5b611ad7816121b2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bb55750611bb482612513565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ca3836111d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f406001611cf66109e6565b611d00919061436a565b1115611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3890613eb6565b60405180910390fd5b611d4b828261257d565b4260116000838152602001908152602001600020819055505050565b6000611d7282611bbc565b611db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da890613fb6565b60405180910390fd5b6000611dbc836111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e2b57508373ffffffffffffffffffffffffffffffffffffffff16611e13846106f7565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e3c5750611e3b818561194e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e65826111d8565b73ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb2906140b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613f76565b60405180910390fd5b611f3683838361259b565b611f41600082611c30565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f9191906143f1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe8919061436a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006120ac826111d8565b90506120ba8160008461259b565b6120c5600083611c30565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211591906143f1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612283848484611e45565b61228f848484846126af565b6122ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c590613ef6565b60405180910390fd5b50505050565b6060600f80546122e3906144db565b80601f016020809104026020016040519081016040528092919081815260200182805461230f906144db565b801561235c5780601f106123315761010080835404028352916020019161235c565b820191906000526020600020905b81548152906001019060200180831161233f57829003601f168201915b5050505050905090565b606060008214156123ae576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061250e565b600082905060005b600082146123e05780806123c99061450d565b915050600a826123d991906143c0565b91506123b6565b60008167ffffffffffffffff811115612422577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124545781602001600182028036833780820191505090505b5090505b600085146125075760018261246d91906143f1565b9150600a8561247c9190614556565b6030612488919061436a565b60f81b8183815181106124c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561250091906143c0565b9450612458565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612597828260405180602001604052806000815250612846565b5050565b6125a68383836128a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125e9576125e4816128a6565b612628565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146126275761262683826128ef565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561266b5761266681612a5c565b6126aa565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126a9576126a88282612b9f565b5b5b505050565b60006126d08473ffffffffffffffffffffffffffffffffffffffff16612c1e565b15612839578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126f9611c28565b8786866040518563ffffffff1660e01b815260040161271b9493929190613df0565b602060405180830381600087803b15801561273557600080fd5b505af192505050801561276657506040513d601f19601f8201168201806040525081019061276391906132c0565b60015b6127e9573d8060008114612796576040519150601f19603f3d011682016040523d82523d6000602084013e61279b565b606091505b506000815114156127e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d890613ef6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061283e565b600190505b949350505050565b6128508383612c31565b61285d60008484846126af565b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390613ef6565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128fc8461128a565b61290691906143f1565b90506000600760008481526020019081526020016000205490508181146129eb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a7091906143f1565b9050600060096000848152602001908152602001600020549050600060088381548110612ac6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612baa8361128a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9890614036565b60405180910390fd5b612caa81611bbc565b15612cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce190613f36565b60405180910390fd5b612cf66000838361259b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d46919061436a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612e0b906144db565b90600052602060002090601f016020900481019282612e2d5760008555612e74565b82601f10612e4657805160ff1916838001178555612e74565b82800160010185558215612e74579182015b82811115612e73578251825591602001919060010190612e58565b5b509050612e819190612e85565b5090565b5b80821115612e9e576000816000905550600101612e86565b5090565b6000612eb5612eb084614262565b614231565b90508083825260208201905082856020860282011115612ed457600080fd5b60005b85811015612f045781612eea8882613071565b845260208401935060208301925050600181019050612ed7565b5050509392505050565b6000612f21612f1c8461428e565b614231565b905082815260208101848484011115612f3957600080fd5b612f44848285614499565b509392505050565b6000612f5f612f5a846142be565b614231565b905082815260208101848484011115612f7757600080fd5b612f82848285614499565b509392505050565b600081359050612f9981614654565b92915050565b600081519050612fae81614654565b92915050565b600082601f830112612fc557600080fd5b8135612fd5848260208601612ea2565b91505092915050565b600081359050612fed8161466b565b92915050565b60008135905061300281614682565b92915050565b60008151905061301781614682565b92915050565b600082601f83011261302e57600080fd5b813561303e848260208601612f0e565b91505092915050565b600082601f83011261305857600080fd5b8135613068848260208601612f4c565b91505092915050565b60008135905061308081614699565b92915050565b60006020828403121561309857600080fd5b60006130a684828501612f8a565b91505092915050565b6000602082840312156130c157600080fd5b60006130cf84828501612f9f565b91505092915050565b600080604083850312156130eb57600080fd5b60006130f985828601612f8a565b925050602061310a85828601612f8a565b9150509250929050565b60008060006060848603121561312957600080fd5b600061313786828701612f8a565b935050602061314886828701612f8a565b925050604061315986828701613071565b9150509250925092565b6000806000806080858703121561317957600080fd5b600061318787828801612f8a565b945050602061319887828801612f8a565b93505060406131a987828801613071565b925050606085013567ffffffffffffffff8111156131c657600080fd5b6131d28782880161301d565b91505092959194509250565b600080604083850312156131f157600080fd5b60006131ff85828601612f8a565b925050602061321085828601612fde565b9150509250929050565b6000806040838503121561322d57600080fd5b600061323b85828601612f8a565b925050602061324c85828601613071565b9150509250929050565b60006020828403121561326857600080fd5b600082013567ffffffffffffffff81111561328257600080fd5b61328e84828501612fb4565b91505092915050565b6000602082840312156132a957600080fd5b60006132b784828501612ff3565b91505092915050565b6000602082840312156132d257600080fd5b60006132e084828501613008565b91505092915050565b6000602082840312156132fb57600080fd5b600082013567ffffffffffffffff81111561331557600080fd5b61332184828501613047565b91505092915050565b60006020828403121561333c57600080fd5b600061334a84828501613071565b91505092915050565b600061335f8383613d93565b60208301905092915050565b61337481614425565b82525050565b6000613385826142fe565b61338f818561432c565b935061339a836142ee565b8060005b838110156133cb5781516133b28882613353565b97506133bd8361431f565b92505060018101905061339e565b5085935050505092915050565b6133e181614437565b82525050565b6133f081614443565b82525050565b600061340182614309565b61340b818561433d565b935061341b8185602086016144a8565b61342481614643565b840191505092915050565b600061343a82614314565b613444818561434e565b93506134548185602086016144a8565b61345d81614643565b840191505092915050565b600061347382614314565b61347d818561435f565b935061348d8185602086016144a8565b80840191505092915050565b60006134a660248361434e565b91507f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008301527f63617473000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061350c602b8361434e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061357260328361434e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006135d860268361434e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061363e601c8361434e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061367e60078361434e565b91507f4e6f7420796574000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006136be60248361434e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061372460198361434e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613764602c8361434e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137ca60388361434e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613830602a8361434e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061389660298361434e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138fc60208361434e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061393c602c8361434e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006139a260198361434e565b91507f436c61696d616e74206973206e6f7420746865206f776e6572000000000000006000830152602082019050919050565b60006139e260208361434e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a2260298361434e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a88602f8361434e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613aee60218361434e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b5460188361434e565b91507f436c61696d20706572696f64206973206e6f74206f70656e00000000000000006000830152602082019050919050565b6000613b9460208361434e565b91507f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646000830152602082019050919050565b6000613bd460318361434e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613c3a600d8361434e565b91507f546f6f206d616e792063617473000000000000000000000000000000000000006000830152602082019050919050565b6000613c7a602c8361434e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613ce0600e8361434e565b91507f416c72656164792063616c6c65640000000000000000000000000000000000006000830152602082019050919050565b6000613d20601f8361434e565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613d6060168361434e565b91507f436c61696d206973207374696c6c206f70656e2e2e3f000000000000000000006000830152602082019050919050565b613d9c8161448f565b82525050565b613dab8161448f565b82525050565b6000613dbd8285613468565b9150613dc98284613468565b91508190509392505050565b6000602082019050613dea600083018461336b565b92915050565b6000608082019050613e05600083018761336b565b613e12602083018661336b565b613e1f6040830185613da2565b8181036060830152613e3181846133f6565b905095945050505050565b60006020820190508181036000830152613e56818461337a565b905092915050565b6000602082019050613e7360008301846133d8565b92915050565b6000602082019050613e8e60008301846133e7565b92915050565b60006020820190508181036000830152613eae818461342f565b905092915050565b60006020820190508181036000830152613ecf81613499565b9050919050565b60006020820190508181036000830152613eef816134ff565b9050919050565b60006020820190508181036000830152613f0f81613565565b9050919050565b60006020820190508181036000830152613f2f816135cb565b9050919050565b60006020820190508181036000830152613f4f81613631565b9050919050565b60006020820190508181036000830152613f6f81613671565b9050919050565b60006020820190508181036000830152613f8f816136b1565b9050919050565b60006020820190508181036000830152613faf81613717565b9050919050565b60006020820190508181036000830152613fcf81613757565b9050919050565b60006020820190508181036000830152613fef816137bd565b9050919050565b6000602082019050818103600083015261400f81613823565b9050919050565b6000602082019050818103600083015261402f81613889565b9050919050565b6000602082019050818103600083015261404f816138ef565b9050919050565b6000602082019050818103600083015261406f8161392f565b9050919050565b6000602082019050818103600083015261408f81613995565b9050919050565b600060208201905081810360008301526140af816139d5565b9050919050565b600060208201905081810360008301526140cf81613a15565b9050919050565b600060208201905081810360008301526140ef81613a7b565b9050919050565b6000602082019050818103600083015261410f81613ae1565b9050919050565b6000602082019050818103600083015261412f81613b47565b9050919050565b6000602082019050818103600083015261414f81613b87565b9050919050565b6000602082019050818103600083015261416f81613bc7565b9050919050565b6000602082019050818103600083015261418f81613c2d565b9050919050565b600060208201905081810360008301526141af81613c6d565b9050919050565b600060208201905081810360008301526141cf81613cd3565b9050919050565b600060208201905081810360008301526141ef81613d13565b9050919050565b6000602082019050818103600083015261420f81613d53565b9050919050565b600060208201905061422b6000830184613da2565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561425857614257614614565b5b8060405250919050565b600067ffffffffffffffff82111561427d5761427c614614565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142a9576142a8614614565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156142d9576142d8614614565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143758261448f565b91506143808361448f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143b5576143b4614587565b5b828201905092915050565b60006143cb8261448f565b91506143d68361448f565b9250826143e6576143e56145b6565b5b828204905092915050565b60006143fc8261448f565b91506144078361448f565b92508282101561441a57614419614587565b5b828203905092915050565b60006144308261446f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144c65780820151818401526020810190506144ab565b838111156144d5576000848401525b50505050565b600060028204905060018216806144f357607f821691505b60208210811415614507576145066145e5565b5b50919050565b60006145188261448f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561454b5761454a614587565b5b600182019050919050565b60006145618261448f565b915061456c8361448f565b92508261457c5761457b6145b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61465d81614425565b811461466857600080fd5b50565b61467481614437565b811461467f57600080fd5b50565b61468b81614443565b811461469657600080fd5b50565b6146a28161448f565b81146146ad57600080fd5b5056fea2646970667358221220fbc577286174e39f11467a21014c00d7754eb9ee3d1822417495af9c47d0f7ca64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a26000000000000000000000000968e955d6768f4265d6f69a3b98dbcb62ca2897d000000000000000000000000000000000000000000000000000000000000000f546f704361744265616368436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045443424300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f6361742f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce71161010457806395d89b41116100a2578063c8d2524c11610071578063c8d2524c14610551578063cec6e2de14610581578063e985e9c51461059f578063f2fde38b146105cf576101da565b806395d89b41146104cb578063a22cb465146104e9578063b88d4fde14610505578063c87b56dd14610521576101da565b8063715018a6116100de578063715018a61461045557806381cfde251461045f5780638462151c1461047d5780638da5cb5b146104ad576101da565b80634f6ccce7146103c55780636352211e146103f557806370a0823114610425576101da565b806318160ddd1161017c57806330176e131161014b57806330176e131461035557806342842e0e1461037157806342966c681461038d57806348856e76146103a9576101da565b806318160ddd146102cf5780631949c177146102ed57806323b872dd146103095780632f745c5914610325576101da565b8063095ea7b3116101b8578063095ea7b31461025d5780631096952314610279578063150b7a02146102955780631775d6fd146102c5576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190613297565b6105eb565b6040516102069190613e5e565b60405180910390f35b610217610665565b6040516102249190613e94565b60405180910390f35b6102476004803603810190610242919061332a565b6106f7565b6040516102549190613dd5565b60405180910390f35b6102776004803603810190610272919061321a565b61077c565b005b610293600480360381019061028e91906132e9565b610894565b005b6102af60048036038101906102aa9190613163565b61092a565b6040516102bc9190613e79565b60405180910390f35b6102cd61093e565b005b6102d76109e6565b6040516102e49190614216565b60405180910390f35b61030760048036038101906103029190613256565b6109f3565b005b610323600480360381019061031e9190613114565b610c21565b005b61033f600480360381019061033a919061321a565b610c81565b60405161034c9190614216565b60405180910390f35b61036f600480360381019061036a91906132e9565b610d26565b005b61038b60048036038101906103869190613114565b610dbc565b005b6103a760048036038101906103a2919061332a565b610ddc565b005b6103c360048036038101906103be9190613256565b610e31565b005b6103df60048036038101906103da919061332a565b611141565b6040516103ec9190614216565b60405180910390f35b61040f600480360381019061040a919061332a565b6111d8565b60405161041c9190613dd5565b60405180910390f35b61043f600480360381019061043a9190613086565b61128a565b60405161044c9190614216565b60405180910390f35b61045d611342565b005b6104676113ca565b6040516104749190613e5e565b60405180910390f35b61049760048036038101906104929190613086565b6113e1565b6040516104a49190613e3c565b60405180910390f35b6104b561155d565b6040516104c29190613dd5565b60405180910390f35b6104d3611587565b6040516104e09190613e94565b60405180910390f35b61050360048036038101906104fe91906131de565b611619565b005b61051f600480360381019061051a9190613163565b61179a565b005b61053b6004803603810190610536919061332a565b6117fc565b6040516105489190613e94565b60405180910390f35b61056b6004803603810190610566919061332a565b6118a3565b6040516105789190614216565b60405180910390f35b6105896118c0565b6040516105969190613e94565b60405180910390f35b6105b960048036038101906105b491906130d8565b61194e565b6040516105c69190613e5e565b60405180910390f35b6105e960048036038101906105e49190613086565b6119e2565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065e575061065d82611ada565b5b9050919050565b606060008054610674906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546106a0906144db565b80156106ed5780601f106106c2576101008083540402835291602001916106ed565b820191906000526020600020905b8154815290600101906020018083116106d057829003601f168201915b5050505050905090565b600061070282611bbc565b610741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073890614056565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610787826111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ef906140f6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610817611c28565b73ffffffffffffffffffffffffffffffffffffffff161480610846575061084581610840611c28565b61194e565b5b610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c90613fd6565b60405180910390fd5b61088f8383611c30565b505050565b61089c611c28565b73ffffffffffffffffffffffffffffffffffffffff166108ba61155d565b73ffffffffffffffffffffffffffffffffffffffff1614610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790614096565b60405180910390fd5b80600c9080519060200190610926929190612dff565b5050565b600063150b7a0260e01b9050949350505050565b610946611c28565b73ffffffffffffffffffffffffffffffffffffffff1661096461155d565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b190614096565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600880549050905090565b6109fb611c28565b73ffffffffffffffffffffffffffffffffffffffff16610a1961155d565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690614096565b60405180910390fd5b63616362604211610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90613f56565b60405180910390fd5b601060009054906101000a900460ff1615610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc906141f6565b60405180910390fd5b601060019054906101000a900460ff16610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b906141b6565b60405180910390fd5b606481511115610b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9090614176565b60405180910390fd5b60005b8151811015610c0257610bef33838381518110610be2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611ce9565b8080610bfa9061450d565b915050610b9c565b506000601060016101000a81548160ff02191690831515021790555050565b610c32610c2c611c28565b82611d67565b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6890614156565b60405180910390fd5b610c7c838383611e45565b505050565b6000610c8c8361128a565b8210610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490613ed6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d2e611c28565b73ffffffffffffffffffffffffffffffffffffffff16610d4c61155d565b73ffffffffffffffffffffffffffffffffffffffff1614610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990614096565b60405180910390fd5b80600f9080519060200190610db8929190612dff565b5050565b610dd78383836040518060200160405280600081525061179a565b505050565b610de63382611d67565b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90614136565b60405180910390fd5b610e2e816120a1565b50565b6002600b541415610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e906141d6565b60405180910390fd5b6002600b81905550601060009054906101000a900460ff16610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590614116565b60405180910390fd5b60005b8151811015611135576000828281518110610f15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f919190614216565b60206040518083038186803b158015610fa957600080fd5b505afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe191906130af565b73ffffffffffffffffffffffffffffffffffffffff1614806110d857503373ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016110709190614216565b60206040518083038186803b15801561108857600080fd5b505afa15801561109c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c091906130af565b73ffffffffffffffffffffffffffffffffffffffff16145b611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614076565b60405180910390fd5b6111213382611ce9565b50808061112d9061450d565b915050610ed1565b506001600b8190555050565b600061114b6109e6565b821061118c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118390614196565b60405180910390fd5b600882815481106111c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614016565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290613ff6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61134a611c28565b73ffffffffffffffffffffffffffffffffffffffff1661136861155d565b73ffffffffffffffffffffffffffffffffffffffff16146113be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b590614096565b60405180910390fd5b6113c860006121b2565b565b6000601060009054906101000a900460ff16905090565b606060006113ee8361128a565b9050600081141561147157600067ffffffffffffffff81111561143a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114685781602001602082028036833780820191505090505b50915050611558565b60008167ffffffffffffffff8111156114b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114e15781602001602082028036833780820191505090505b50905060005b82811015611551576114f98582610c81565b828281518110611532577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806115499061450d565b9150506114e7565b5080925050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611596906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546115c2906144db565b801561160f5780601f106115e45761010080835404028352916020019161160f565b820191906000526020600020905b8154815290600101906020018083116115f257829003601f168201915b5050505050905090565b611621611c28565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561168f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168690613f96565b60405180910390fd5b806005600061169c611c28565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611749611c28565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161178e9190613e5e565b60405180910390a35050565b6117ab6117a5611c28565b83611d67565b6117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614156565b60405180910390fd5b6117f684848484612278565b50505050565b606061180782611bbc565b611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906140d6565b60405180910390fd5b60006118506122d4565b90506000815111611870576040518060200160405280600081525061189b565b8061187a84612366565b60405160200161188b929190613db1565b6040516020818303038152906040525b915050919050565b600060116000838152602001908152602001600020549050919050565b600c80546118cd906144db565b80601f01602080910402602001604051908101604052809291908181526020018280546118f9906144db565b80156119465780601f1061191b57610100808354040283529160200191611946565b820191906000526020600020905b81548152906001019060200180831161192957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119ea611c28565b73ffffffffffffffffffffffffffffffffffffffff16611a0861155d565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590614096565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590613f16565b60405180910390fd5b611ad7816121b2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bb55750611bb482612513565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ca3836111d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f406001611cf66109e6565b611d00919061436a565b1115611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3890613eb6565b60405180910390fd5b611d4b828261257d565b4260116000838152602001908152602001600020819055505050565b6000611d7282611bbc565b611db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da890613fb6565b60405180910390fd5b6000611dbc836111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e2b57508373ffffffffffffffffffffffffffffffffffffffff16611e13846106f7565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e3c5750611e3b818561194e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e65826111d8565b73ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb2906140b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613f76565b60405180910390fd5b611f3683838361259b565b611f41600082611c30565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f9191906143f1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe8919061436a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006120ac826111d8565b90506120ba8160008461259b565b6120c5600083611c30565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211591906143f1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612283848484611e45565b61228f848484846126af565b6122ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c590613ef6565b60405180910390fd5b50505050565b6060600f80546122e3906144db565b80601f016020809104026020016040519081016040528092919081815260200182805461230f906144db565b801561235c5780601f106123315761010080835404028352916020019161235c565b820191906000526020600020905b81548152906001019060200180831161233f57829003601f168201915b5050505050905090565b606060008214156123ae576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061250e565b600082905060005b600082146123e05780806123c99061450d565b915050600a826123d991906143c0565b91506123b6565b60008167ffffffffffffffff811115612422577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124545781602001600182028036833780820191505090505b5090505b600085146125075760018261246d91906143f1565b9150600a8561247c9190614556565b6030612488919061436a565b60f81b8183815181106124c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561250091906143c0565b9450612458565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612597828260405180602001604052806000815250612846565b5050565b6125a68383836128a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125e9576125e4816128a6565b612628565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146126275761262683826128ef565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561266b5761266681612a5c565b6126aa565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126a9576126a88282612b9f565b5b5b505050565b60006126d08473ffffffffffffffffffffffffffffffffffffffff16612c1e565b15612839578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126f9611c28565b8786866040518563ffffffff1660e01b815260040161271b9493929190613df0565b602060405180830381600087803b15801561273557600080fd5b505af192505050801561276657506040513d601f19601f8201168201806040525081019061276391906132c0565b60015b6127e9573d8060008114612796576040519150601f19603f3d011682016040523d82523d6000602084013e61279b565b606091505b506000815114156127e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d890613ef6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061283e565b600190505b949350505050565b6128508383612c31565b61285d60008484846126af565b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390613ef6565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128fc8461128a565b61290691906143f1565b90506000600760008481526020019081526020016000205490508181146129eb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a7091906143f1565b9050600060096000848152602001908152602001600020549050600060088381548110612ac6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612baa8361128a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9890614036565b60405180910390fd5b612caa81611bbc565b15612cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce190613f36565b60405180910390fd5b612cf66000838361259b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d46919061436a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612e0b906144db565b90600052602060002090601f016020900481019282612e2d5760008555612e74565b82601f10612e4657805160ff1916838001178555612e74565b82800160010185558215612e74579182015b82811115612e73578251825591602001919060010190612e58565b5b509050612e819190612e85565b5090565b5b80821115612e9e576000816000905550600101612e86565b5090565b6000612eb5612eb084614262565b614231565b90508083825260208201905082856020860282011115612ed457600080fd5b60005b85811015612f045781612eea8882613071565b845260208401935060208301925050600181019050612ed7565b5050509392505050565b6000612f21612f1c8461428e565b614231565b905082815260208101848484011115612f3957600080fd5b612f44848285614499565b509392505050565b6000612f5f612f5a846142be565b614231565b905082815260208101848484011115612f7757600080fd5b612f82848285614499565b509392505050565b600081359050612f9981614654565b92915050565b600081519050612fae81614654565b92915050565b600082601f830112612fc557600080fd5b8135612fd5848260208601612ea2565b91505092915050565b600081359050612fed8161466b565b92915050565b60008135905061300281614682565b92915050565b60008151905061301781614682565b92915050565b600082601f83011261302e57600080fd5b813561303e848260208601612f0e565b91505092915050565b600082601f83011261305857600080fd5b8135613068848260208601612f4c565b91505092915050565b60008135905061308081614699565b92915050565b60006020828403121561309857600080fd5b60006130a684828501612f8a565b91505092915050565b6000602082840312156130c157600080fd5b60006130cf84828501612f9f565b91505092915050565b600080604083850312156130eb57600080fd5b60006130f985828601612f8a565b925050602061310a85828601612f8a565b9150509250929050565b60008060006060848603121561312957600080fd5b600061313786828701612f8a565b935050602061314886828701612f8a565b925050604061315986828701613071565b9150509250925092565b6000806000806080858703121561317957600080fd5b600061318787828801612f8a565b945050602061319887828801612f8a565b93505060406131a987828801613071565b925050606085013567ffffffffffffffff8111156131c657600080fd5b6131d28782880161301d565b91505092959194509250565b600080604083850312156131f157600080fd5b60006131ff85828601612f8a565b925050602061321085828601612fde565b9150509250929050565b6000806040838503121561322d57600080fd5b600061323b85828601612f8a565b925050602061324c85828601613071565b9150509250929050565b60006020828403121561326857600080fd5b600082013567ffffffffffffffff81111561328257600080fd5b61328e84828501612fb4565b91505092915050565b6000602082840312156132a957600080fd5b60006132b784828501612ff3565b91505092915050565b6000602082840312156132d257600080fd5b60006132e084828501613008565b91505092915050565b6000602082840312156132fb57600080fd5b600082013567ffffffffffffffff81111561331557600080fd5b61332184828501613047565b91505092915050565b60006020828403121561333c57600080fd5b600061334a84828501613071565b91505092915050565b600061335f8383613d93565b60208301905092915050565b61337481614425565b82525050565b6000613385826142fe565b61338f818561432c565b935061339a836142ee565b8060005b838110156133cb5781516133b28882613353565b97506133bd8361431f565b92505060018101905061339e565b5085935050505092915050565b6133e181614437565b82525050565b6133f081614443565b82525050565b600061340182614309565b61340b818561433d565b935061341b8185602086016144a8565b61342481614643565b840191505092915050565b600061343a82614314565b613444818561434e565b93506134548185602086016144a8565b61345d81614643565b840191505092915050565b600061347382614314565b61347d818561435f565b935061348d8185602086016144a8565b80840191505092915050565b60006134a660248361434e565b91507f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008301527f63617473000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061350c602b8361434e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061357260328361434e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006135d860268361434e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061363e601c8361434e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061367e60078361434e565b91507f4e6f7420796574000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006136be60248361434e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061372460198361434e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613764602c8361434e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137ca60388361434e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613830602a8361434e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061389660298361434e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138fc60208361434e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061393c602c8361434e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006139a260198361434e565b91507f436c61696d616e74206973206e6f7420746865206f776e6572000000000000006000830152602082019050919050565b60006139e260208361434e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a2260298361434e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a88602f8361434e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613aee60218361434e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b5460188361434e565b91507f436c61696d20706572696f64206973206e6f74206f70656e00000000000000006000830152602082019050919050565b6000613b9460208361434e565b91507f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646000830152602082019050919050565b6000613bd460318361434e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613c3a600d8361434e565b91507f546f6f206d616e792063617473000000000000000000000000000000000000006000830152602082019050919050565b6000613c7a602c8361434e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613ce0600e8361434e565b91507f416c72656164792063616c6c65640000000000000000000000000000000000006000830152602082019050919050565b6000613d20601f8361434e565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613d6060168361434e565b91507f436c61696d206973207374696c6c206f70656e2e2e3f000000000000000000006000830152602082019050919050565b613d9c8161448f565b82525050565b613dab8161448f565b82525050565b6000613dbd8285613468565b9150613dc98284613468565b91508190509392505050565b6000602082019050613dea600083018461336b565b92915050565b6000608082019050613e05600083018761336b565b613e12602083018661336b565b613e1f6040830185613da2565b8181036060830152613e3181846133f6565b905095945050505050565b60006020820190508181036000830152613e56818461337a565b905092915050565b6000602082019050613e7360008301846133d8565b92915050565b6000602082019050613e8e60008301846133e7565b92915050565b60006020820190508181036000830152613eae818461342f565b905092915050565b60006020820190508181036000830152613ecf81613499565b9050919050565b60006020820190508181036000830152613eef816134ff565b9050919050565b60006020820190508181036000830152613f0f81613565565b9050919050565b60006020820190508181036000830152613f2f816135cb565b9050919050565b60006020820190508181036000830152613f4f81613631565b9050919050565b60006020820190508181036000830152613f6f81613671565b9050919050565b60006020820190508181036000830152613f8f816136b1565b9050919050565b60006020820190508181036000830152613faf81613717565b9050919050565b60006020820190508181036000830152613fcf81613757565b9050919050565b60006020820190508181036000830152613fef816137bd565b9050919050565b6000602082019050818103600083015261400f81613823565b9050919050565b6000602082019050818103600083015261402f81613889565b9050919050565b6000602082019050818103600083015261404f816138ef565b9050919050565b6000602082019050818103600083015261406f8161392f565b9050919050565b6000602082019050818103600083015261408f81613995565b9050919050565b600060208201905081810360008301526140af816139d5565b9050919050565b600060208201905081810360008301526140cf81613a15565b9050919050565b600060208201905081810360008301526140ef81613a7b565b9050919050565b6000602082019050818103600083015261410f81613ae1565b9050919050565b6000602082019050818103600083015261412f81613b47565b9050919050565b6000602082019050818103600083015261414f81613b87565b9050919050565b6000602082019050818103600083015261416f81613bc7565b9050919050565b6000602082019050818103600083015261418f81613c2d565b9050919050565b600060208201905081810360008301526141af81613c6d565b9050919050565b600060208201905081810360008301526141cf81613cd3565b9050919050565b600060208201905081810360008301526141ef81613d13565b9050919050565b6000602082019050818103600083015261420f81613d53565b9050919050565b600060208201905061422b6000830184613da2565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561425857614257614614565b5b8060405250919050565b600067ffffffffffffffff82111561427d5761427c614614565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142a9576142a8614614565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156142d9576142d8614614565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143758261448f565b91506143808361448f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143b5576143b4614587565b5b828201905092915050565b60006143cb8261448f565b91506143d68361448f565b9250826143e6576143e56145b6565b5b828204905092915050565b60006143fc8261448f565b91506144078361448f565b92508282101561441a57614419614587565b5b828203905092915050565b60006144308261446f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144c65780820151818401526020810190506144ab565b838111156144d5576000848401525b50505050565b600060028204905060018216806144f357607f821691505b60208210811415614507576145066145e5565b5b50919050565b60006145188261448f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561454b5761454a614587565b5b600182019050919050565b60006145618261448f565b915061456c8361448f565b92508261457c5761457b6145b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61465d81614425565b811461466857600080fd5b50565b61467481614437565b811461467f57600080fd5b50565b61468b81614443565b811461469657600080fd5b50565b6146a28161448f565b81146146ad57600080fd5b5056fea2646970667358221220fbc577286174e39f11467a21014c00d7754eb9ee3d1822417495af9c47d0f7ca64736f6c63430008000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a26000000000000000000000000968e955d6768f4265d6f69a3b98dbcb62ca2897d000000000000000000000000000000000000000000000000000000000000000f546f704361744265616368436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045443424300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f6361742f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): TopCatBeachClub
Arg [1] : symbol (string): TCBC
Arg [2] : baseTokenURI (string): https://api.topdogbeachclub.com/cat/
Arg [3] : tdbcAddress (address): 0x6F0365ca2c1Dd63473F898A60f878A07e0f68A26
Arg [4] : tdptAddress (address): 0x968E955D6768f4265d6F69a3B98dBCB62cA2897d

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000006f0365ca2c1dd63473f898a60f878a07e0f68a26
Arg [4] : 000000000000000000000000968e955d6768f4265d6f69a3b98dbcb62ca2897d
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [6] : 546f704361744265616368436c75620000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 5443424300000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [10] : 68747470733a2f2f6170692e746f70646f676265616368636c75622e636f6d2f
Arg [11] : 6361742f00000000000000000000000000000000000000000000000000000000


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.