Skip to content
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

Refactor streams creation into batching them by asset #2240

Conversation

mudrila
Copy link
Contributor

@mudrila mudrila commented Aug 13, 2024

This PR leverages batched stream creation and assembled multiple token approvals and linear stream creations into single pair of transaction, which are grouped by token address.

Since this branch is based off roles-0.2.0/asset-drawer (in order to avoid conflicts with dev build crash fix) - strongly advise to review #2238 first

@mudrila mudrila added enhancement New feature or request maintenance Keep the lights on labels Aug 13, 2024
@mudrila mudrila self-assigned this Aug 13, 2024
Copy link

netlify bot commented Aug 13, 2024

Deploy Preview for decent-interface-dev ready!

Name Link
🔨 Latest commit 1cf5c3a
🔍 Latest deploy log https://app.netlify.com/sites/decent-interface-dev/deploys/66bcaf56c94db20008a33bd2
😎 Deploy Preview https://deploy-preview-2240.app.dev.decentdao.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@adamgall adamgall changed the base branch from roles-0.2.0/streams to roles-0.2.0/asset-drawer August 14, 2024 04:05
@mudrila mudrila force-pushed the roles-0.2.0/batch-streams-creation-into-single-transaction branch from bac5378 to 9e96284 Compare August 14, 2024 13:18
@mudrila mudrila force-pushed the roles-0.2.0/batch-streams-creation-into-single-transaction branch from 9e96284 to 1cf5c3a Compare August 14, 2024 13:21
Copy link
Contributor

@Da-Colon Da-Colon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it. One comment.

src/hooks/streams/useCreateSablierStream.ts Show resolved Hide resolved
@mudrila mudrila merged commit f0b2d84 into roles-0.2.0/asset-drawer Aug 15, 2024
7 checks passed
@mudrila mudrila deleted the roles-0.2.0/batch-streams-creation-into-single-transaction branch August 15, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance Keep the lights on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants