Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
203 RF
Holders
89
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RFLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Richieandfamous
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Richieandfamous is ERC721A, ERC2981, Ownable, ReentrancyGuard { enum MintPhase { PreSale, Sale, PostSale } uint256 public constant RESERVES = 111; uint256 public constant MAX_SUPPLY = 5555; string private _baseTokenURI; string private _contractURI; address public _proxyRegistryAddress; address payable private immutable _wallet; MintPhase private _mintPhase = MintPhase.PreSale; constructor( string memory baseTokenURI_, string memory contractURI_, address payable wallet_, address proxyRegistryAddress_ ) ERC721A("Richieandfamous", "RF") { _baseTokenURI = baseTokenURI_; _contractURI = contractURI_; _wallet = wallet_; _proxyRegistryAddress = proxyRegistryAddress_; _setDefaultRoyalty(wallet_, 1000); } ////////////////////////////////////////////////////////////////// // CORE FUNCTIONS // ////////////////////////////////////////////////////////////////// function contractURI() public view returns (string memory) { return _contractURI; } function setBaseURI(string memory baseTokenURI_) public onlyOwner { _baseTokenURI = baseTokenURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { string memory tokenUri = super.tokenURI(tokenId); return bytes(tokenUri).length > 0 ? string(abi.encodePacked(tokenUri, ".json")) : ""; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } ////////////////////////////////////////////////////////////////// // RESERVE TOKENS // ////////////////////////////////////////////////////////////////// function collectReserves() public onlyOwner { require(_mintPhase == MintPhase.PreSale, "Sale already open"); require(totalSupply() == 0, "Reserves already collected"); _mint(owner(), RESERVES); } ////////////////////////////////////////////////////////////////// // SALE // ////////////////////////////////////////////////////////////////// modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function canMint(address account) public view returns (bool) { return _numberMinted(account) == 0; } function setMintPhase(MintPhase phase) external onlyOwner { _mintPhase = phase; } function mintPhase() public view returns (MintPhase) { return _mintPhase; } function mint() public payable callerIsUser { require(_mintPhase == MintPhase.Sale, "Sale not open"); require(totalSupply() + 1 <= MAX_SUPPLY, "Exceeds max supply"); require(canMint(_msgSender()), "Already minted"); _mint(_msgSender(), 1); } ////////////////////////////////////////////////////////////////// // POST SALE MANAGEMENT // ////////////////////////////////////////////////////////////////// function withdraw() public nonReentrant { _wallet.transfer(address(this).balance); } function wallet() public view returns (address) { return _wallet; } ////////////////////////////////////////////////////////////////// // OpenSea // ////////////////////////////////////////////////////////////////// function setOpenSeaProxyRegistryAddress(address proxyRegistryAddress_) external onlyOwner { _proxyRegistryAddress = proxyRegistryAddress_; } function isApprovedForAll(address _owner, address operator) public view virtual override returns (bool) { if (_proxyRegistryAddress != address(0)) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(_proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator) { return true; } } return super.isApprovedForAll(_owner, operator); } ////////////////////////////////////////////////////////////////// // ERC165 // ////////////////////////////////////////////////////////////////// function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return interfaceId == type(Ownable).interfaceId || super.supportsInterface(interfaceId); } } contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) 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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface 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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 { _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 { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); }
{ "evmVersion": "berlin", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 10000 }, "remappings": [], "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"address payable","name":"wallet_","type":"address"},{"internalType":"address","name":"proxyRegistryAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"account","type":"address"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"enum Richieandfamous.MintPhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Richieandfamous.MintPhase","name":"phase","type":"uint8"}],"name":"setMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress_","type":"address"}],"name":"setOpenSeaProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234156200001057600080fd5b62003256803803620000228162000121565b818382398181019250608081840312156200003c57600080fd5b805191506001600160401b03808311156200005657600080fd5b620000648484840162000154565b92506020820151818111156200007957600080fd5b620000878582850162000154565b9450505060408101516200009b81620001e9565b60608201519150620000ad82620001e9565b620000bb8282868662000670565b5050505060405161291c80620008fa83396080518281816103ec01526117aa01528082f35b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156200011b576200011b620000e0565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200014c576200014c620000e0565b604052919050565b600082601f8301126200016657600080fd5b81516001600160401b03811115620001825762000182620000e0565b602062000198601f8301601f1916820162000121565b8281528582848701011115620001ad57600080fd5b60005b83811015620001cd578581018301518282018401528201620001b0565b83811115620001df5760008385840101525b5095945050505050565b6001600160a01b0381168114620001ff57600080fd5b50565b600181811c908216806200021757607f821691505b602082108114156200023957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8111156200029b576002600090815260008051602062003216833981519152601f840160051c81016020851015620002765750805b601f840160051c820191505b81811015620002975782815560010162000282565b5050505b5050565b601f8111156200029b57600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81016020851015620002765750601f830160051c81019081811015620002975782815560010162000282565b601f8111156200029b57600c60009081527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7601f840160051c81016020851015620002765750601f830160051c81019081811015620002975782815560010162000282565b601f8111156200029b57600d600090815260008051602062003236833981519152601f840160051c81016020851015620002765750601f830160051c81019081811015620002975782815560010162000282565b80516001600160401b03811115620003d957620003d9620000e0565b620003f181620003eb60035462000202565b6200029f565b602080601f8311600181146200042a5760008415620004105750848301515b8460011b6000198660031b1c198216176003555062000297565b6003600052601f1984167fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b60005b82811015620004795787860151825594840194600190910190840162000458565b5085821015620004985786850151600019600388901b60f8161c191681555b5050505050600190811b0160035550565b80516001600160401b03811115620004c557620004c5620000e0565b620004dd81620004d7600c5462000202565b62000304565b602080601f831160018114620005165760008415620004fc5750848301515b600019600386901b1c1916600185901b17600c5562000297565b600c600052601f1984167fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c760005b82811015620005655787860151825594840194600190910190840162000544565b5085821015620005845786850151600019600388901b60f8161c191681555b5050505050600190811b01600c5550565b80516001600160401b03811115620005b157620005b1620000e0565b620005c981620005c3600d5462000202565b62000369565b602080601f831160018114620006025760008415620005e85750848301515b600019600386901b1c1916600185901b17600d5562000297565b600d600052601f1984166000805160206200323683398151915260005b8281101562000640578786015182559484019460019091019084016200061f565b50858210156200065f5786850151600019600388901b60f8161c191681555b5050505050600190811b01600d5550565b6200067a620000f6565b600f815260206e526963686965616e6466616d6f757360881b81830152620006a1620000f6565b6002815261292360f11b8282015282516001600160401b03811115620006cb57620006cb620000e0565b620006e381620006dd60025462000202565b6200023f565b82601f8211600181146200071a5760008315620007005750858201515b600019600385901b1c1916600184901b1760025562000784565b6002600052601f1983166000805160206200321683398151915260005b82811015620007585788850151825593870193600190910190870162000737565b5084821015620007775787840151600019600387901b60f8161c191681555b505060018360011b016002555b5050506200079281620003bd565b505050620007a06001600055565b620007ab3362000819565b620007b66001600b55565b620007c9600e805460ff60a01b19169055565b620007d481620004a9565b620007df8262000595565b6080839052600e80546001600160a01b0319166001600160a01b038616179055620008136001600160a01b03841662000864565b50505050565b600a5460018060a01b0380831660018060a01b0319831617600a55828183167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3505050565b6001600160a01b03811680620008b95760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606481fd5b604080519081016001600160401b0381118282101715620008de57620008de620000e0565b6040528181526103e8602090910152607d60a31b176008555056fe6040608081526004361061060a576000803560e01c6301ffc9a7811461016e5763029877b681146101bc576306fdde0381146101dc5763081812fc8114610208576308abf026811461023657630922f9c581146102515763095ea7b3811461026f57631249c58b8114610293576317881cbf81146102a4576318160ddd81146102cd576323b872dd81146102f757632a55205a811461031d576331c07bbf811461035a576332cb6b0c811461037557633ccfd60b8114610394576342842e0e81146103af5763521eb27381146103cd576355f804b3811461041357636352211e811461042e576370a0823181146104495763715018a68114610464576389cd503a811461047f57638da5cb5b81146104ab576395d89b4181146104d75763a22cb46581146104f25763b88d4fde811461050f5763c2ba474481146105375763c87b56dd81146105835763e8a3d485811461059e5763e985e9c581146105b95763f2fde38b81146105ec57610607565b3415610178578182fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff806101b76101ad6101a836610641565b611959565b151560805260a090565b016080f35b34156101c6578182fd5b6101cf36610667565b6101d76112b4565b818351f35b34156101e6578182fd5b6101ef36610667565b6101f7610d96565b83518061020483836106d5565b0381f35b3415610212578182fd5b61022361021e366106ef565b611e98565b83516001600160a01b0382168152602081f35b3415610240578182fd5b6101d761024c36610720565b6117ed565b341561025b578182fd5b61026436610667565b8251606f8152602081f35b3415610279578182fd5b61028236610740565b61028c8183611d9e565b5050818351f35b61029c36610667565b6101d7611491565b34156102ae578182fd5b6102b736610667565b60ff600e5460a01c16835180610204838361076c565b34156102d7578182fd5b6102e036610667565b6000546001546000199103015b8351818152602081f35b3415610301578182fd5b61030a366107ad565b6103158183856123fa565b505050818351f35b3415610327578182fd5b610330366107ec565b61033a8183610c93565b86516001600160a01b038316815260208101829052909350909150604081f35b3415610364578182fd5b6101d76103703661080e565b6113f9565b341561037f578182fd5b61038836610667565b82516115b38152602081f35b341561039e578182fd5b6103a736610667565b6101d761171d565b34156103b9578182fd5b6103c2366107ad565b610315818385611fb2565b34156103d7578182fd5b6103e036610667565b82516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152602081f35b341561041d578182fd5b6101d761042936610962565b610f49565b3415610438578182fd5b610223610444366106ef565b611aad565b3415610453578182fd5b6102ed61045f36610720565b611a52565b341561046e578182fd5b61047736610667565b6101d7610afa565b3415610489578182fd5b61049236610667565b600e5483516001600160a01b0390911680825290602081f35b34156104b5578182fd5b6104be36610667565b600a5483516001600160a01b0390911680825290602081f35b34156104e1578182fd5b6104ea36610667565b6101f7610e5d565b34156104fc578182fd5b610505366109af565b61028c8183611eee565b3415610519578182fd5b610522366109eb565b61052e81838587611fe4565b50505050818351f35b3415610541578182fd5b61057761054d36610720565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff161590565b83518115158152602081f35b341561058d578182fd5b6101f7610599366106ef565b6110df565b34156105a8578182fd5b6105b136610667565b6101f7610ed3565b34156105c3578182fd5b6105cc36610a67565b6105d68183611853565b9150508351806102048383901515815260200190565b34156105f6578182fd5b6101d761060236610720565b610b66565b50505b50600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461063e57600080fd5b50565b600060206003198301121561065557600080fd5b60043561066181610610565b92915050565b60006003198201121561063e57600080fd5b60005b8381101561069457818101518382015260200161067c565b838111156106a3576000848401525b50505050565b600081518084526106c1816020860160208601610679565b601f01601f19169290920160200192915050565b6020815260006106e860208301846106a9565b9392505050565b600060206003198301121561070357600080fd5b505060043590565b6001600160a01b038116811461063e57600080fd5b600060206003198301121561073457600080fd5b6004356106618161070b565b60008060406003198401121561075557600080fd5b6004356107618161070b565b936024359350915050565b60208101600383106107a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060006060600319850112156107c457600080fd5b6004356107d08161070b565b92506024356107de8161070b565b929492935050604435919050565b60008060406003198401121561080157600080fd5b5050600435916024359150565b600060206003198301121561082257600080fd5b6004356003811061066157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810181811067ffffffffffffffff8211171561088157610881610832565b60405250565b6060810181811067ffffffffffffffff8211171561088157610881610832565b6020810181811067ffffffffffffffff8211171561088157610881610832565b601f19601f830116810181811067ffffffffffffffff821117156108ed576108ed610832565b6040525050565b600067ffffffffffffffff82111561090e5761090e610832565b50601f01601f191660200190565b6000610927836108f4565b60405161093482826108c7565b80925084815285858501111561094957600080fd5b8484602083013760006020868301015250509392505050565b600060206003198301121561097657600080fd5b60043567ffffffffffffffff81111561098e57600080fd5b82602382011261099d57600080fd5b6106e88382600401356024840161091c565b6000806040600319840112156109c457600080fd5b6004356109d08161070b565b915060243580151581146109e357600080fd5b919391925050565b600080600080608060031986011215610a0357600080fd5b600435610a0f8161070b565b9350602435610a1d8161070b565b9250604435915060643567ffffffffffffffff811115610a3c57600080fd5b856023820112610a4b57600080fd5b610a5d8682600401356024840161091c565b9150509193509193565b600080604060031984011215610a7c57600080fd5b600435610a888161070b565b91506024356109e38161070b565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606481fd5b600a546001600160a01b038116610b12338214610a96565b7fffffffffffffffffffffffff00000000000000000000000000000000000000008216600a556000817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a35050565b600a546001600160a01b03808216610b7f338214610a96565b9083169081610c0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608481fd5b817fffffffffffffffffffffffff0000000000000000000000000000000000000000841617600a5583817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b806000525060096020526000806040600020604051610cb181610861565b90546001600160a01b0380821680845260a09290921c6020840152829180610cf7576040519250610ce183610861565b60085482811684528060a01c6020850152508293505b5050506bffffffffffffffffffffffff602082015116846000190481118515151615610d2557610d25610c64565b81516001600160a01b031693506127108186020492505050915091565b600181811c90821680610d5657607f821691505b60208210811415610d90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b604051600254600090610da881610d42565b80845260018281168015610dc35760018114610df657610e49565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084166020870152604086019450610e49565b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace60005b84811015610e405781546020828a0101528382019150602081019050610e1f565b87016020019550505b50505050610e59828203836108c7565b5090565b604051600354600090610e6f81610d42565b80845260018281168015610dc35760018114610e8a57610e49565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600084811015610e405781546020828a0101528382019150602081019050610e1f565b604051600d54600090610ee581610d42565b80845260018281168015610dc35760018114610f0057610e49565b600d6000527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5600084811015610e405781546020828a0101528382019150602081019050610e1f565b6001600160a01b03600a5416610f60338214610a96565b50805167ffffffffffffffff811115610f7b57610f7b610832565b610f8f81610f8a600c54610d42565b611044565b602080601f831160018114610fc55760008415610fac5750848301515b8460011b6000198660031b1c19821617600c555061103d565b600c600052601f1984167fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c760005b8281101561101257878601518255948401946001909101908401610ff3565b50858210156110305786850151600019600388901b60f8161c191681555b505060018460011b01600c555b5050505050565b601f8111156110a8576000600c81527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7601f840160051c810160208510156110895750805b601f840160051c820191505b8181101561103d57828155600101611095565b5050565b60006040516110ba816108a7565b60008152919050565b600081516110d5818560208601610679565b9290920192915050565b60006110ea82612031565b611119576040517fa14c4b50000000000000000000000000000000000000000000000000000000008152600481fd5b6040516000600c5461112a81610d42565b808452600182811680156111455760018114611178576111cb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841660208701526040860194506111cb565b600c6000527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c760005b848110156111c25781546020828a01015283820191506020810190506111a1565b87016020019550505b505050506111db828203836108c7565b50805115156000816000811461122b576111f486611c8d565b6040518061120e61120860208401896110c3565b846110c3565b039150601f198201815261122282826108c7565b92506112369050565b6112336110ac565b91505b508051158015935060009250839061129f576040518061128561125c60208401866110c3565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b03601f198101825261129781836108c7565b5092506112aa565b6112a76110ac565b92505b5090949350505050565b6001600160a01b03600a54166112cb338214610a96565b60ff600e5460a01c166003811061130b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8015611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f53616c6520616c7265616479206f70656e0000000000000000000000000000006044820152606481fd5b5061138c61138660005460015490036000190190565b15611395565b61063e81612068565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f526573657276657320616c726561647920636f6c6c65637465640000000000006044820152606481fd5b6001600160a01b03600a5416611410338214610a96565b5060038110611448577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e5474ff00000000000000000000000000000000000000008260a01b167fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff821617600e555050565b3332146114f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606481fd5b60ff600e5460a01c1660038110611537577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6115436001821461159d565b5061156b6115b361156461155f60005460015490036000190190565b611601565b1115611655565b336000908152600560205260409081902054611592911c67ffffffffffffffff16156116b9565b61159b336122b4565b565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f53616c65206e6f74206f70656e000000000000000000000000000000000000006044820152606481fd5b60007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe82111561163357611633610c64565b5060010190565b600081196030111561164e5761164e610c64565b5060300190565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152606481fd5b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606481fd5b6002600b541415611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606481fd5b6002600b554760008161179957506108fc5b600080600080856001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686f16117d8576117d86117e1565b50506001600b55565b6040513d6000823e3d81fd5b6001600160a01b0380600a5416611805338214610a96565b508082167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e555050565b60006020828403121561184857600080fd5b81516106e88161070b565b60006001600160a01b0380611870600e546001600160a01b031690565b16801561190c57803b61188257600080fd5b6040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602081602481855afa806118cd576118cd6117e1565b600081156118ee576118df3d846108c7565b6118eb3d840184611836565b90505b848816858216141561190857600195505050505050610661565b5050505b50506106e861195284611933856001600160a01b0316600090815260076020526040902090565b6001600160a01b03821660005280602052505060006040600020905090565b5460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f0e083076000000000000000000000000000000000000000000000000000000008114806106e8577f2a55205a00000000000000000000000000000000000000000000000000000000821480611a4a577f80ac58cd00000000000000000000000000000000000000000000000000000000831480611a1b57507f5b5e139f0000000000000000000000000000000000000000000000000000000083145b8081611a4657507f01ffc9a70000000000000000000000000000000000000000000000000000000084145b9150505b949350505050565b60006001600160a01b03821680611a8e576040517f8f4eb604000000000000000000000000000000000000000000000000000000008152600481fd5b60009081526005602052604090205467ffffffffffffffff1692915050565b60006001600160a01b03611ac083611b2d565b511692915050565b6000604051611ad681610887565b6000808252602082018190526040820152919050565b6000604051611afa81610887565b91546001600160a01b038116835260a081901c67ffffffffffffffff16602084015260e01c60ff16151560408301525090565b6000611b37611ac8565b9050816001838111611c0457600054841015611c04576000848152600460205260409020611b6990611aec565b611aec565b611b7d611b796040830151151590565b1590565b15611c02576001600160a01b03611b9b82516001600160a01b031690565b1615611ba957949350505050565b8115611c025760001983019250611bce611b6484600090815260046020526040902090565b611bee611be282516001600160a01b031690565b6001600160a01b031690565b15611bfc5795945050505050565b50611ba9565b505b50506040517fdf2d9b42000000000000000000000000000000000000000000000000000000008152600481fd5b60006001821015611c4457611c44610c64565b506000190190565b600081518310611c85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b500160200190565b600081611cd057604051611ca081610861565b600181527f3000000000000000000000000000000000000000000000000000000000000000602082015292915050565b816000805b8215611cfb57600019811415611ced57611ced610c64565b600a90920491600101611cd5565b611d04816108f4565b9250604051611d1384826108c7565b818152601f19611d22836108f4565b013660208301375b8515611d9557611d3982611c31565b9150600a9350611d7e611d56611d5086890661163a565b60ff1690565b60f81b7fff000000000000000000000000000000000000000000000000000000000000001690565b831a611d8a8383611c4c565b538386049550611d2a565b95945050505050565b6001600160a01b0380611db084611b2d565b5116808284161415611de7576040517f943f7b8c000000000000000000000000000000000000000000000000000000008152600481fd5b803314611e2957611df83382611853565b611e295760405191507fcfb3b942000000000000000000000000000000000000000000000000000000008252600482fd5b600084815260066020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385161790558383827f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a450505050565b6000611ea382612031565b611ed2576040517fcf4700e4000000000000000000000000000000000000000000000000000000008152600481fd5b506000908152600660205260409020546001600160a01b031690565b336001600160a01b0382161415611f2a576040517fb06307db000000000000000000000000000000000000000000000000000000008152600481fd5b3360009081526007602090815260408083206001600160a01b038516845290915290208215157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541660ff8216811783555060405191508082525081337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31602084a3505050565b6040516020810181811067ffffffffffffffff82111715611fd557611fd5610832565b604052600081526106a3818585855b611fef8383836123fa565b813b156106a357612002848484846127de565b6106a3576040517fd1a57ed6000000000000000000000000000000000000000000000000000000008152600481fd5b600081600111158015612045575060005482105b8081156106e85750505060009081526004602052604090205460e01c60ff161590565b600080546001600160a01b0383166120a5576040517f2e076300000000000000000000000000000000000000000000000000000000008152600481fd5b6001600160a01b038316600090815260056020526040902061211b6120e56120d5835467ffffffffffffffff1690565b606f0167ffffffffffffffff1690565b82547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff91909116178255565b506001600160a01b038316600090815260056020526040902061219061214f6120d5835460401c67ffffffffffffffff1690565b82547fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff1660409190911b6fffffffffffffffff000000000000000016178255565b506121df836121aa83600090815260046020526040902090565b6001600160a01b0382167fffffffffffffffffffffffff00000000000000000000000000000000000000008254161781555050565b61225167ffffffffffffffff421661220283600090815260046020526040902090565b80547bffffffffffffffff00000000000000000000000000000000000000008360a01b167fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff8216178255505050565b80606f820191506001806040515b82156122aa578161227657848410612276576122aa565b828401938692508088847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8186a45061225f565b5050509091555050565b600080546001600160a01b0383166122f1576040517f2e076300000000000000000000000000000000000000000000000000000000008152600481fd5b6001600160a01b03831660009081526005602052604090206123316120e5612321835467ffffffffffffffff1690565b60010167ffffffffffffffff1690565b506001600160a01b038316600090815260056020526040902061236561214f612321835460401c67ffffffffffffffff1690565b5061237f836121aa83600090815260046020526040902090565b6123a267ffffffffffffffff421661220283600090815260046020526040902090565b8060018083019250806040515b82156122aa57816123c6578484106123c6576122aa565b828401938692508088847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8186a4506123af565b61240383611b2d565b80516001600160a01b03166001600160a01b03808416808284161461244d576040517fa1148100000000000000000000000000000000000000000000000000000000008152600481fd5b3314915081612463576124603385611853565b91505b818261247a5733612476611be289611e98565b1490505b806124ac5760405192507f59c896be000000000000000000000000000000000000000000000000000000008352600483fd5b508085166124e15760405191507fea553b34000000000000000000000000000000000000000000000000000000008252600482fd5b50506124ed82856126e4565b6001600160a01b038216600090815260056020526040902061252e6120e561251d835467ffffffffffffffff1690565b6000190167ffffffffffffffff1690565b506001600160a01b038316600090815260056020526040902061255f6120e5612321835467ffffffffffffffff1690565b50600084815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03851617815580547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff164260a01b7bffffffffffffffff0000000000000000000000000000000000000000161781555060018401600081815260046020526040902061260f611be282546001600160a01b031690565b6126b25760005482146126b25780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385161781556126b2612665602085015167ffffffffffffffff1690565b82547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff1660a09190911b7bffffffffffffffff000000000000000000000000000000000000000016178255565b5050508282827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4505050565b80600052600660205260406000207fffffffffffffffffffffffff0000000000000000000000000000000000000000815416815550806000837f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a45050565b60006020828403121561275a57600080fd5b81516106e881610610565b60006001600160a01b0380841683528085166020840152508460408301526080606083015261279760808301876106a9565b9695505050505050565b60003d80156127d6573d6127b4816108f4565b6040516127c182826108c7565b8281528094503d6000602083013e5050505090565b606091505090565b60006001600160a01b038316803b6127f557600080fd5b6040517f150b7a0200000000000000000000000000000000000000000000000000000000808252602082836128308b8b8a3360048a01612765565b03846000875af192506000831561285a5761284b3d846108c7565b6128573d840184612748565b90505b831580156128aa5761286a6127a1565b935083518015600081146128a3576040517fd1a57ed6000000000000000000000000000000000000000000000000000000008152600481fd5b8186602001fd5b507fffffffff0000000000000000000000000000000000000000000000000000000016149250611a4a91505056fea3646970667358221220004cfaf2cc0ca32465c1ebd53e5bb123c3dcad489187c55904dedd7325c39b306c6578706572696d656e74616cf564736f6c63430008090041405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5aced7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000007d00fe2df1c47b0854eca118993120a66b5096b6000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569616b796e347666787878637276706c6734737677756533673432747a367670667674696c363537656d656675716f683368706c752f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f626166796265696367336337727a6f336a63736b716d6633776f766a34633673687867677a6867346c697033347363616a35343532686f636b3475000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6040608081526004361061060a576000803560e01c6301ffc9a7811461016e5763029877b681146101bc576306fdde0381146101dc5763081812fc8114610208576308abf026811461023657630922f9c581146102515763095ea7b3811461026f57631249c58b8114610293576317881cbf81146102a4576318160ddd81146102cd576323b872dd81146102f757632a55205a811461031d576331c07bbf811461035a576332cb6b0c811461037557633ccfd60b8114610394576342842e0e81146103af5763521eb27381146103cd576355f804b3811461041357636352211e811461042e576370a0823181146104495763715018a68114610464576389cd503a811461047f57638da5cb5b81146104ab576395d89b4181146104d75763a22cb46581146104f25763b88d4fde811461050f5763c2ba474481146105375763c87b56dd81146105835763e8a3d485811461059e5763e985e9c581146105b95763f2fde38b81146105ec57610607565b3415610178578182fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff806101b76101ad6101a836610641565b611959565b151560805260a090565b016080f35b34156101c6578182fd5b6101cf36610667565b6101d76112b4565b818351f35b34156101e6578182fd5b6101ef36610667565b6101f7610d96565b83518061020483836106d5565b0381f35b3415610212578182fd5b61022361021e366106ef565b611e98565b83516001600160a01b0382168152602081f35b3415610240578182fd5b6101d761024c36610720565b6117ed565b341561025b578182fd5b61026436610667565b8251606f8152602081f35b3415610279578182fd5b61028236610740565b61028c8183611d9e565b5050818351f35b61029c36610667565b6101d7611491565b34156102ae578182fd5b6102b736610667565b60ff600e5460a01c16835180610204838361076c565b34156102d7578182fd5b6102e036610667565b6000546001546000199103015b8351818152602081f35b3415610301578182fd5b61030a366107ad565b6103158183856123fa565b505050818351f35b3415610327578182fd5b610330366107ec565b61033a8183610c93565b86516001600160a01b038316815260208101829052909350909150604081f35b3415610364578182fd5b6101d76103703661080e565b6113f9565b341561037f578182fd5b61038836610667565b82516115b38152602081f35b341561039e578182fd5b6103a736610667565b6101d761171d565b34156103b9578182fd5b6103c2366107ad565b610315818385611fb2565b34156103d7578182fd5b6103e036610667565b82516001600160a01b037f0000000000000000000000007d00fe2df1c47b0854eca118993120a66b5096b6168152602081f35b341561041d578182fd5b6101d761042936610962565b610f49565b3415610438578182fd5b610223610444366106ef565b611aad565b3415610453578182fd5b6102ed61045f36610720565b611a52565b341561046e578182fd5b61047736610667565b6101d7610afa565b3415610489578182fd5b61049236610667565b600e5483516001600160a01b0390911680825290602081f35b34156104b5578182fd5b6104be36610667565b600a5483516001600160a01b0390911680825290602081f35b34156104e1578182fd5b6104ea36610667565b6101f7610e5d565b34156104fc578182fd5b610505366109af565b61028c8183611eee565b3415610519578182fd5b610522366109eb565b61052e81838587611fe4565b50505050818351f35b3415610541578182fd5b61057761054d36610720565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff161590565b83518115158152602081f35b341561058d578182fd5b6101f7610599366106ef565b6110df565b34156105a8578182fd5b6105b136610667565b6101f7610ed3565b34156105c3578182fd5b6105cc36610a67565b6105d68183611853565b9150508351806102048383901515815260200190565b34156105f6578182fd5b6101d761060236610720565b610b66565b50505b50600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461063e57600080fd5b50565b600060206003198301121561065557600080fd5b60043561066181610610565b92915050565b60006003198201121561063e57600080fd5b60005b8381101561069457818101518382015260200161067c565b838111156106a3576000848401525b50505050565b600081518084526106c1816020860160208601610679565b601f01601f19169290920160200192915050565b6020815260006106e860208301846106a9565b9392505050565b600060206003198301121561070357600080fd5b505060043590565b6001600160a01b038116811461063e57600080fd5b600060206003198301121561073457600080fd5b6004356106618161070b565b60008060406003198401121561075557600080fd5b6004356107618161070b565b936024359350915050565b60208101600383106107a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060006060600319850112156107c457600080fd5b6004356107d08161070b565b92506024356107de8161070b565b929492935050604435919050565b60008060406003198401121561080157600080fd5b5050600435916024359150565b600060206003198301121561082257600080fd5b6004356003811061066157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810181811067ffffffffffffffff8211171561088157610881610832565b60405250565b6060810181811067ffffffffffffffff8211171561088157610881610832565b6020810181811067ffffffffffffffff8211171561088157610881610832565b601f19601f830116810181811067ffffffffffffffff821117156108ed576108ed610832565b6040525050565b600067ffffffffffffffff82111561090e5761090e610832565b50601f01601f191660200190565b6000610927836108f4565b60405161093482826108c7565b80925084815285858501111561094957600080fd5b8484602083013760006020868301015250509392505050565b600060206003198301121561097657600080fd5b60043567ffffffffffffffff81111561098e57600080fd5b82602382011261099d57600080fd5b6106e88382600401356024840161091c565b6000806040600319840112156109c457600080fd5b6004356109d08161070b565b915060243580151581146109e357600080fd5b919391925050565b600080600080608060031986011215610a0357600080fd5b600435610a0f8161070b565b9350602435610a1d8161070b565b9250604435915060643567ffffffffffffffff811115610a3c57600080fd5b856023820112610a4b57600080fd5b610a5d8682600401356024840161091c565b9150509193509193565b600080604060031984011215610a7c57600080fd5b600435610a888161070b565b91506024356109e38161070b565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606481fd5b600a546001600160a01b038116610b12338214610a96565b7fffffffffffffffffffffffff00000000000000000000000000000000000000008216600a556000817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a35050565b600a546001600160a01b03808216610b7f338214610a96565b9083169081610c0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608481fd5b817fffffffffffffffffffffffff0000000000000000000000000000000000000000841617600a5583817f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b806000525060096020526000806040600020604051610cb181610861565b90546001600160a01b0380821680845260a09290921c6020840152829180610cf7576040519250610ce183610861565b60085482811684528060a01c6020850152508293505b5050506bffffffffffffffffffffffff602082015116846000190481118515151615610d2557610d25610c64565b81516001600160a01b031693506127108186020492505050915091565b600181811c90821680610d5657607f821691505b60208210811415610d90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b604051600254600090610da881610d42565b80845260018281168015610dc35760018114610df657610e49565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084166020870152604086019450610e49565b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace60005b84811015610e405781546020828a0101528382019150602081019050610e1f565b87016020019550505b50505050610e59828203836108c7565b5090565b604051600354600090610e6f81610d42565b80845260018281168015610dc35760018114610e8a57610e49565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600084811015610e405781546020828a0101528382019150602081019050610e1f565b604051600d54600090610ee581610d42565b80845260018281168015610dc35760018114610f0057610e49565b600d6000527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5600084811015610e405781546020828a0101528382019150602081019050610e1f565b6001600160a01b03600a5416610f60338214610a96565b50805167ffffffffffffffff811115610f7b57610f7b610832565b610f8f81610f8a600c54610d42565b611044565b602080601f831160018114610fc55760008415610fac5750848301515b8460011b6000198660031b1c19821617600c555061103d565b600c600052601f1984167fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c760005b8281101561101257878601518255948401946001909101908401610ff3565b50858210156110305786850151600019600388901b60f8161c191681555b505060018460011b01600c555b5050505050565b601f8111156110a8576000600c81527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7601f840160051c810160208510156110895750805b601f840160051c820191505b8181101561103d57828155600101611095565b5050565b60006040516110ba816108a7565b60008152919050565b600081516110d5818560208601610679565b9290920192915050565b60006110ea82612031565b611119576040517fa14c4b50000000000000000000000000000000000000000000000000000000008152600481fd5b6040516000600c5461112a81610d42565b808452600182811680156111455760018114611178576111cb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841660208701526040860194506111cb565b600c6000527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c760005b848110156111c25781546020828a01015283820191506020810190506111a1565b87016020019550505b505050506111db828203836108c7565b50805115156000816000811461122b576111f486611c8d565b6040518061120e61120860208401896110c3565b846110c3565b039150601f198201815261122282826108c7565b92506112369050565b6112336110ac565b91505b508051158015935060009250839061129f576040518061128561125c60208401866110c3565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b03601f198101825261129781836108c7565b5092506112aa565b6112a76110ac565b92505b5090949350505050565b6001600160a01b03600a54166112cb338214610a96565b60ff600e5460a01c166003811061130b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8015611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f53616c6520616c7265616479206f70656e0000000000000000000000000000006044820152606481fd5b5061138c61138660005460015490036000190190565b15611395565b61063e81612068565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f526573657276657320616c726561647920636f6c6c65637465640000000000006044820152606481fd5b6001600160a01b03600a5416611410338214610a96565b5060038110611448577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e5474ff00000000000000000000000000000000000000008260a01b167fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff821617600e555050565b3332146114f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606481fd5b60ff600e5460a01c1660038110611537577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6115436001821461159d565b5061156b6115b361156461155f60005460015490036000190190565b611601565b1115611655565b336000908152600560205260409081902054611592911c67ffffffffffffffff16156116b9565b61159b336122b4565b565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f53616c65206e6f74206f70656e000000000000000000000000000000000000006044820152606481fd5b60007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe82111561163357611633610c64565b5060010190565b600081196030111561164e5761164e610c64565b5060300190565b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152606481fd5b8061063e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606481fd5b6002600b541415611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606481fd5b6002600b554760008161179957506108fc5b600080600080856001600160a01b037f0000000000000000000000007d00fe2df1c47b0854eca118993120a66b5096b61686f16117d8576117d86117e1565b50506001600b55565b6040513d6000823e3d81fd5b6001600160a01b0380600a5416611805338214610a96565b508082167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e555050565b60006020828403121561184857600080fd5b81516106e88161070b565b60006001600160a01b0380611870600e546001600160a01b031690565b16801561190c57803b61188257600080fd5b6040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602081602481855afa806118cd576118cd6117e1565b600081156118ee576118df3d846108c7565b6118eb3d840184611836565b90505b848816858216141561190857600195505050505050610661565b5050505b50506106e861195284611933856001600160a01b0316600090815260076020526040902090565b6001600160a01b03821660005280602052505060006040600020905090565b5460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f0e083076000000000000000000000000000000000000000000000000000000008114806106e8577f2a55205a00000000000000000000000000000000000000000000000000000000821480611a4a577f80ac58cd00000000000000000000000000000000000000000000000000000000831480611a1b57507f5b5e139f0000000000000000000000000000000000000000000000000000000083145b8081611a4657507f01ffc9a70000000000000000000000000000000000000000000000000000000084145b9150505b949350505050565b60006001600160a01b03821680611a8e576040517f8f4eb604000000000000000000000000000000000000000000000000000000008152600481fd5b60009081526005602052604090205467ffffffffffffffff1692915050565b60006001600160a01b03611ac083611b2d565b511692915050565b6000604051611ad681610887565b6000808252602082018190526040820152919050565b6000604051611afa81610887565b91546001600160a01b038116835260a081901c67ffffffffffffffff16602084015260e01c60ff16151560408301525090565b6000611b37611ac8565b9050816001838111611c0457600054841015611c04576000848152600460205260409020611b6990611aec565b611aec565b611b7d611b796040830151151590565b1590565b15611c02576001600160a01b03611b9b82516001600160a01b031690565b1615611ba957949350505050565b8115611c025760001983019250611bce611b6484600090815260046020526040902090565b611bee611be282516001600160a01b031690565b6001600160a01b031690565b15611bfc5795945050505050565b50611ba9565b505b50506040517fdf2d9b42000000000000000000000000000000000000000000000000000000008152600481fd5b60006001821015611c4457611c44610c64565b506000190190565b600081518310611c85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b500160200190565b600081611cd057604051611ca081610861565b600181527f3000000000000000000000000000000000000000000000000000000000000000602082015292915050565b816000805b8215611cfb57600019811415611ced57611ced610c64565b600a90920491600101611cd5565b611d04816108f4565b9250604051611d1384826108c7565b818152601f19611d22836108f4565b013660208301375b8515611d9557611d3982611c31565b9150600a9350611d7e611d56611d5086890661163a565b60ff1690565b60f81b7fff000000000000000000000000000000000000000000000000000000000000001690565b831a611d8a8383611c4c565b538386049550611d2a565b95945050505050565b6001600160a01b0380611db084611b2d565b5116808284161415611de7576040517f943f7b8c000000000000000000000000000000000000000000000000000000008152600481fd5b803314611e2957611df83382611853565b611e295760405191507fcfb3b942000000000000000000000000000000000000000000000000000000008252600482fd5b600084815260066020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385161790558383827f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a450505050565b6000611ea382612031565b611ed2576040517fcf4700e4000000000000000000000000000000000000000000000000000000008152600481fd5b506000908152600660205260409020546001600160a01b031690565b336001600160a01b0382161415611f2a576040517fb06307db000000000000000000000000000000000000000000000000000000008152600481fd5b3360009081526007602090815260408083206001600160a01b038516845290915290208215157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541660ff8216811783555060405191508082525081337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31602084a3505050565b6040516020810181811067ffffffffffffffff82111715611fd557611fd5610832565b604052600081526106a3818585855b611fef8383836123fa565b813b156106a357612002848484846127de565b6106a3576040517fd1a57ed6000000000000000000000000000000000000000000000000000000008152600481fd5b600081600111158015612045575060005482105b8081156106e85750505060009081526004602052604090205460e01c60ff161590565b600080546001600160a01b0383166120a5576040517f2e076300000000000000000000000000000000000000000000000000000000008152600481fd5b6001600160a01b038316600090815260056020526040902061211b6120e56120d5835467ffffffffffffffff1690565b606f0167ffffffffffffffff1690565b82547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff91909116178255565b506001600160a01b038316600090815260056020526040902061219061214f6120d5835460401c67ffffffffffffffff1690565b82547fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff1660409190911b6fffffffffffffffff000000000000000016178255565b506121df836121aa83600090815260046020526040902090565b6001600160a01b0382167fffffffffffffffffffffffff00000000000000000000000000000000000000008254161781555050565b61225167ffffffffffffffff421661220283600090815260046020526040902090565b80547bffffffffffffffff00000000000000000000000000000000000000008360a01b167fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff8216178255505050565b80606f820191506001806040515b82156122aa578161227657848410612276576122aa565b828401938692508088847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8186a45061225f565b5050509091555050565b600080546001600160a01b0383166122f1576040517f2e076300000000000000000000000000000000000000000000000000000000008152600481fd5b6001600160a01b03831660009081526005602052604090206123316120e5612321835467ffffffffffffffff1690565b60010167ffffffffffffffff1690565b506001600160a01b038316600090815260056020526040902061236561214f612321835460401c67ffffffffffffffff1690565b5061237f836121aa83600090815260046020526040902090565b6123a267ffffffffffffffff421661220283600090815260046020526040902090565b8060018083019250806040515b82156122aa57816123c6578484106123c6576122aa565b828401938692508088847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8186a4506123af565b61240383611b2d565b80516001600160a01b03166001600160a01b03808416808284161461244d576040517fa1148100000000000000000000000000000000000000000000000000000000008152600481fd5b3314915081612463576124603385611853565b91505b818261247a5733612476611be289611e98565b1490505b806124ac5760405192507f59c896be000000000000000000000000000000000000000000000000000000008352600483fd5b508085166124e15760405191507fea553b34000000000000000000000000000000000000000000000000000000008252600482fd5b50506124ed82856126e4565b6001600160a01b038216600090815260056020526040902061252e6120e561251d835467ffffffffffffffff1690565b6000190167ffffffffffffffff1690565b506001600160a01b038316600090815260056020526040902061255f6120e5612321835467ffffffffffffffff1690565b50600084815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03851617815580547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff164260a01b7bffffffffffffffff0000000000000000000000000000000000000000161781555060018401600081815260046020526040902061260f611be282546001600160a01b031690565b6126b25760005482146126b25780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385161781556126b2612665602085015167ffffffffffffffff1690565b82547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff1660a09190911b7bffffffffffffffff000000000000000000000000000000000000000016178255565b5050508282827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4505050565b80600052600660205260406000207fffffffffffffffffffffffff0000000000000000000000000000000000000000815416815550806000837f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a45050565b60006020828403121561275a57600080fd5b81516106e881610610565b60006001600160a01b0380841683528085166020840152508460408301526080606083015261279760808301876106a9565b9695505050505050565b60003d80156127d6573d6127b4816108f4565b6040516127c182826108c7565b8281528094503d6000602083013e5050505090565b606091505090565b60006001600160a01b038316803b6127f557600080fd5b6040517f150b7a0200000000000000000000000000000000000000000000000000000000808252602082836128308b8b8a3360048a01612765565b03846000875af192506000831561285a5761284b3d846108c7565b6128573d840184612748565b90505b831580156128aa5761286a6127a1565b935083518015600081146128a3576040517fd1a57ed6000000000000000000000000000000000000000000000000000000008152600481fd5b8186602001fd5b507fffffffff0000000000000000000000000000000000000000000000000000000016149250611a4a91505056fea3646970667358221220004cfaf2cc0ca32465c1ebd53e5bb123c3dcad489187c55904dedd7325c39b306c6578706572696d656e74616cf564736f6c63430008090041
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000007d00fe2df1c47b0854eca118993120a66b5096b6000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569616b796e347666787878637276706c6734737677756533673432747a367670667674696c363537656d656675716f683368706c752f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f626166796265696367336337727a6f336a63736b716d6633776f766a34633673687867677a6867346c697033347363616a35343532686f636b3475000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI_ (string): ipfs://bafybeiakyn4vfxxxcrvplg4svwue3g42tz6vpfvtil657emefuqoh3hplu/
Arg [1] : contractURI_ (string): ipfs://bafybeicg3c7rzo3jcskqmf3wovj4c6shxggzhg4lip34scaj5452hock4u
Arg [2] : wallet_ (address): 0x7D00fE2Df1C47B0854ECA118993120A66B5096b6
Arg [3] : proxyRegistryAddress_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000007d00fe2df1c47b0854eca118993120a66b5096b6
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [5] : 697066733a2f2f62616679626569616b796e347666787878637276706c673473
Arg [6] : 7677756533673432747a367670667674696c363537656d656675716f68336870
Arg [7] : 6c752f0000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [9] : 697066733a2f2f626166796265696367336337727a6f336a63736b716d663377
Arg [10] : 6f766a34633673687867677a6867346c697033347363616a35343532686f636b
Arg [11] : 3475000000000000000000000000000000000000000000000000000000000000
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.