Replies: 1 comment
-
Closing due to inactivity, will reopen if the NFTs pick up steam. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea
Yet another productive call with NFTFI today - we dived deep into the difficulties of accepting stream NFTs as collateral.
One idea that sprung up was to provide NFTFI with an on-chain helper for calculating the guaranteed minimum value that a stream will have at a particular date or range in the future. This, in turn, will create a sort of "floor price" for the NFT.
The context is offer bidding. On NFTFI, lenders post bids with a maximum expiration date of 7 days. The issue is that during the bidding window, the recipient may withdraw, and so the collateral value of the stream may end up lower than what had originally been estimated.
To mitigate this risk, the lender could floor the value of the collateral to the amount that will remain due to be streamed at a future point in time. In other words, the lender would assume the worst-case scenario whereby all streamed assets are withdrawn at the time when the bid is accepted.
Note: this would only work for non-cancelable streams.
Implementation
remainingAmountOf
function (or something along these lines) which would:sablier
,streamId
, andtimestamp
streamedAmountOf
calculations to a library in V2 Core so that V2 Periphery can reuse themBeta Was this translation helpful? Give feedback.
All reactions