sablier-labs / v2-core

⏳ Core smart contracts of the Sablier V2 token distribution protocol
https://sablier.com
Other
314 stars 48 forks source link

Getter that aggregates the withdrawable amount across all streams #663

Open PaulRBerg opened 1 year ago

PaulRBerg commented 1 year ago

It may be useful for simplifying our Snapshot strategies.

See this.

Implementing https://github.com/sablier-labs/v2-core/issues/644 would be a prerequisite.

razgraf commented 10 months ago

Shouldn't this feature reside in a periphery?

PaulRBerg commented 10 months ago

It's not the way it was conceptualized in this issue - it has to be in the Core because the goal is to take a user address as an input and a token and obtain the withdrawable amount for that combo.

This feature requires a reverse mapping (á la https://github.com/sablier-labs/v2-core/issues/644), but we've never gotten to implement that, so .. this issue remains idle for the time being.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 182 days with no activity. Leave a comment or remove the "stale" label, otherwise this will be closed in 14 days.

PaulRBerg commented 4 months ago

Let's keep open