feat: add GDA pool management pages and pool member connection#199
Merged
feat: add GDA pool management pages and pool member connection#199
Conversation
Allow users to connect disconnected pool members via the GDA's tryConnectPoolFor function called through Host.callAgreement. Adds GDA agreement addresses per network, minimal ABIs, transaction status overlay on member avatars, and post-tx isMemberConnected verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Make flow splitter and flow council cards fully clickable, navigating to the view/voting page. Fix PoolConnectionButton missing fs-lg class to match Edit and View button text size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove fs-lg from flow splitter Edit/View buttons and PoolConnectionButton to match flow council styling. Change flow splitter pool cards from rounded-5 to rounded-4 to match the Create card. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Uses Host.batchCall to connect all disconnected pool members in a single transaction. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…onnect All or tryConnectPoolFor Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add /pools route for viewing and managing any Superfluid GDA distribution pool by address. Includes landing page with on-chain validation, detail view with PoolGraph/OpenFlow/InstantDistribution, and admin page with batch updateMemberUnits via host.batchCall. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… name magic number Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace shallow-copy-then-mutate pattern with .map() to create new objects for modified entries. Also replace splice-during-iteration in CSV upload with .filter(). Applies to both pool-admin and flow-splitters admin pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… text Add comment explaining why handleConnectAll skips post-tx member verification (N RPC calls, slot exhaustion is rare). Simplify redundant Connect All button text ternary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
Author
|
@tnrdd I checked and cleaned this one up. Ready for review. The new Superfluid SDK will be integrated separately. |
tnrdd
reviewed
Mar 22, 2026
| } | ||
| poolDistributors(first: 1000, where: { flowRate_not: "0" }) { | ||
| account { | ||
| id |
Contributor
There was a problem hiding this comment.
Typo: unitsTrasnferability → unitsTransferability (missing the i).
tnrdd
reviewed
Mar 22, 2026
| () => | ||
| membersEntry | ||
| .map((memberEntry) => | ||
| isNumber(memberEntry.units) ? Number(memberEntry.units) : 0, |
Contributor
There was a problem hiding this comment.
This async IIFE wraps purely synchronous code — it can be a plain function body.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/poolslisting, detail, and admin views for managing GDA distribution pools with pool member tables, flow rate configuration, and instant distributionstryConnectPoolForbutton on flow splitter pool graph nodes, batch "Connect All" on pool nodes with status overlays, automatic chain switching, and wallet connect modal for unauthenticated usersTest plan
/poolslisting page loads and displays GDA pools🤖 Generated with Claude Code