mirror of
https://github.com/zoo-apps/fund.git
synced 2026-10-30 14:57:02 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: zoo.fund - Excludes node_modules and build artifacts
22 lines
885 B
Solidity
22 lines
885 B
Solidity
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
pragma solidity >=0.8.22;
|
|
|
|
import {
|
|
IERC721Metadata
|
|
} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
|
|
|
|
/// @title ISablierV2NFTDescriptor
|
|
/// @notice This contract generates the URI describing the Sablier V2 stream NFTs.
|
|
/// @dev Inspired by Uniswap V3 Positions NFTs.
|
|
interface ISablierV2NFTDescriptor {
|
|
/// @notice Produces the URI describing a particular stream NFT.
|
|
/// @dev This is a data URI with the JSON contents directly inlined.
|
|
/// @param sablier The address of the Sablier contract the stream was created in.
|
|
/// @param streamId The ID of the stream for which to produce a description.
|
|
/// @return uri The URI of the ERC721-compliant metadata.
|
|
function tokenURI(
|
|
IERC721Metadata sablier,
|
|
uint256 streamId
|
|
) external view returns (string memory uri);
|
|
}
|