Skip to content

Reuse shared logic between Lockup and Flow through a new "SablierBase" interface/abstract #10

@PaulRBerg

Description

@PaulRBerg

The following functionality is duplicated across the Lockup and the Flow 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 and IFlowNFTDescriptor 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: highLarge or difficult task.priority: 2We will do our best to deal with this.type: refactorChange that neither fixes a bug nor adds a feature.work: complicatedSense-analyze-respond. The relationship between cause and effect requires analysis or expertise.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions