Replies: 1 comment
-
For some reason I have completely forgotten that we're using structs now 😅 Thus, it isn't possible to provide overloads that don't have the |
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
-
While writing the docs, I realized the UX of creating streams is tarnished by the requirement to import several data types from the
@sablier/v2-core
package. Thebroker
parameter is particularly problematic because, as a struct, it occupies quite a bit of screen space. I expect many users will prefer to leave it uninitialized (i.e. set zero values for the broker address and broker fee).It'd be nice to offer a broker-free overload for each of the create functions:
createWithDeltas
createWithDurations
createWithMilestones
createWithRange
Beta Was this translation helpful? Give feedback.
All reactions