feat: Add wallet activity feed, sync job, dividend distribution, and multi-sig pause (#811, #818, #832, #826) - #842
Merged
Conversation
|
@chiscookeke11 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
5 tasks
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 of Changes
Consolidated resolution for Issues #811, #818, #832, and #826 under a single PR.
1. Issue #811: Unified Chronological Wallet Activity Feed
GET /wallets/:address/activity?cursor=&limit=endpoint returning all on-chain events for a wallet.:address(returns 401 when missing or mismatched).{ id, type, keyId, creatorName, amount, timestamp, txHash }sorted newest first.[]when no events exist.2. Issue #818: Wallet Activity Sync Job for Transfers and Burns
ActivitySyncJobparsingkeys_transferredandkeys_burnedevents.keys_transferred(sendertransfer_out, recipienttransfer_in).keys_burned(burnerburn).txHash+actor+type.3. Issue #832: Dividend Distribution Endpoint
POST /creator/:keyId/dividendsrequiring key creator JWT authentication (403 for non-creators).totalAmount(422 if 0 or negative).DividendDistributionand calculated per-holderDividendClaimrecords.{ distributionId, totalAmount, holderCount, perKeyAmount }.4. Issue #826: Multi-Sig Pause Coordination
POST /admin/keys/:keyId/pause/proposerequiring admin JWT to initiate a pause proposal and emitpause_proposal_created.POST /admin/keys/:keyId/pause/approverequiring a different admin JWT; rejects proposing wallet with 403.trading_pausednotification.Linked Issues
Closes #811
Closes #818
Closes #832
Closes #826