sablier-labs / docs

Documentation and guides for Sablier
https://docs.sablier.com
GNU General Public License v3.0
15 stars 7 forks source link

Add examples in "Segments" guide #63

Open PaulRBerg opened 1 year ago

PaulRBerg commented 1 year ago

We need to add some code snippets in the Segments in which we show how different curves get generated from mathematical values.

PaulRBerg commented 1 year ago

@gavriliumircea what are the segment values used in the UI for the Exponential stream? Could you share them here, please?

PaulRBerg commented 1 year ago

The UI uses a segment value of 3 (i.e. 3e18) for the Exponential shape:

PaulRBerg commented 11 months ago

The code in the V2 sandbox might help with this:

https://github.com/sablier-labs/v2-sandbox