IFlowNFTDescriptor
This contract generates the URI describing the Sablier Flow stream NFTs.
Functions
tokenURI
Produces the URI describing a particular stream NFT.
Currently it returns the Sablier logo as an SVG. In the future, it will return an NFT SVG.
function tokenURI(IERC721Metadata sablierFlow, uint256 streamId) external view returns (string memory uri);
Parameters
Name | Type | Description |
---|---|---|
sablierFlow | IERC721Metadata | The address of the Sablier Flow the stream was created in. |
streamId | uint256 | The ID of the stream for which to produce a description. |
Returns
Name | Type | Description |
---|---|---|
uri | string | The URI of the ERC721-compliant metadata. |