-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sablier proposal builder #2233
Sablier proposal builder #2233
Conversation
✅ Deploy Preview for decent-interface-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@mudrila can we try to get this merged into
|
[PoC - DO NOT MERGE]
Sablier proposal builder
@adamgall I'm cool with merging this into |
Oh, ok, I think that's fine then. Will merge |
UPDATE
This PR is no longer relevant. Please do not use the "deploy preview" link in this PR for any kind of public blockchain actions. Use https://app.decentdao.org
In order to use
Tranched Sablier Stream Builder
- please visit DAO's Sablier proposal creation link.It should look like this:
https://deploy-preview-2233.app.dev.decentdao.org/proposals/new/sablier/metadata?dao=sep:0x7d0E8e93B5785CB4d5c76f65BB798B3d0a3e89Cb
For instance, for
Shutter Mainnet DAO
- the link will be following:https://deploy-preview-2233.app.dev.decentdao.org/proposals/new/sablier/metadata?dao=eth:0x36bD3044ab68f600f6d3e081056F34f2a58432c4
Fill in metadata - proposal title and description (markdown supported) and proceed to the next step - configuring streams.
You can create multiple streams, though note it only supports Tranched streams creation.
Paste in following information for each stream you would like to create:
withdraw
transaction through Sablier UI0
into very first tranche "Amount" field and desired duration of delay in seconds. Take into account that this duration will start only after executing proposal - so you'll need to account for proposal voting periodAfter configuring streams - proceed to submitting proposal. This should result in creating proposal with a set of transaction that will look like on the screenshot below
If you'll be creating multiple streams with the same token streamed - that should result in 2 transactions with correct amount for
approve
function and with proper amount of streams created forcreateWithDurationsLT
function.If you'll be creating multiple streams with different tokens streamed - that will result in multiple invocations of
approve
andcreateWithDurationsLT
, one per token respectively.Nevertheless functionality is tested on
Sepolia
- please, perform your own round of testing with desired number of streams, token to be streamed and streams configuration - then verify throughSablier
UI, that stream is created with proper parameters and distribution curve.Closes #2220