Reuse shared logic between Lockup and Flow through a new "SablierBase" interface/abstract #10
Labels
effort: high
Large or difficult task.
priority: 2
We will do our best to deal with this.
type: refactor
Change that neither fixes a bug nor adds a feature.
work: clear
Sense-categorize-respond. The relationship between cause and effect is clear.
The following functionality is duplicated across the
Lockup
and theFlow
repositories:aggregateAmount
collectFees
nextStreamId
recover
setGasTokenAddress
updateMetadata
Why not put it into a new shared abstract in this repo, @sablier-labs/evm?
And then, the interfaces for
ILockupNFTDescriptor
andIFlowNFTDescriptor
could be merged into a single interface, again part of this repository.Note: there's no need to rush this refactor into the current release if there's no time for it.
The text was updated successfully, but these errors were encountered: