Flow NFTs
NFTs that are held by the sender and receiver of an active stream
Last updated
Was this helpful?
NFTs that are held by the sender and receiver of an active stream
Last updated
Was this helpful?
You can think of Flow NFTs as on-chain labels of the sender and receiver of a certain stream. They enhance the visibility of streams on-chain.
Flow NFTs are non-transferrable ERC721 tokens that are minted when a stream is opened and burned when closed.
Provide a visual representation of streams for display - akin to how Uniswap v3 NFTs allow you to view your LP positions on NFT market place galleries.
Allow for easy viewing of sender and receiver pertaining to stream creation/deletion transactions via block explorer and through minting/burning events - for example.
When a stream is started between two accounts, the Superfluid Protocol mints both the sender and receiver an NFT. The sender gets an Outflow NFT and the receiver gets an Inflow NFT.
When a stream is cancelled, both the sender and receiver's Flow NFTs are burned.
Flow NFTs are non-transferrable.
Each Super Token has its own distinct Inflow and Outflow NFT contracts.
For instance, if a fUSDCx stream is started to you and then a fDAIx stream is started to you on Mumbai testnet, the Inflow NFTs you receive will originate from separate contracts. The fUSDCx Inflow NFT address is here while the fDAIx address is here. They are not the same contract!
See the minting of Flow NFTs in action in this create-flow transaction.
Stream Sender: 0xbbf19110bf3c536b608877f1e02fdbd3cfac65a6
Stream Receiver: 0xc41876dab61de145093b6aa87417326b24ae4ecd
As you can see, through minting of the Flow NFTs, you can view on-chain who is sending and receiving the streams involved in a transaction.
The Flow NFT visuals will always show:
Monthly Flow Rate
Super Token being streamed
Sender (for Inflow NFTs) or Receiver (for Outflow NFTs)
Network, indicated by a small flag on the top right
Start day of stream, shown in small font on left edge
Generate Flow NFT SVGs and metadata using our Superfluid NFT API
Super Tokens hold two public immutable variables containing the Inflow and Outflow NFT addresses
Flow NFTs are ERC721s. On top of the ERC721 interface, these read functions they provide allow you to work with the stream data pertaining to the Flow NFTs.