Feat/sign off tx visualization - #368
Merged
Merged
Conversation
- Added support for editing existing pending transactions in the transaction builder. - Introduced `editingTxId` in the TxBuilderState to track the transaction being edited. - Implemented `loadDraft` and `cancelEditing` methods in the transaction builder store. - Updated the transaction creation API to allow replacing pending transactions atomically. - Added validation to ensure that only compatible transactions can be loaded for editing. - Created new utility functions to derive blocked UTxO references from pending transactions. - Developed tests for the new transaction editing flow and utility functions. - Implemented UI components for loading and confirming transaction replacements.
- Introduced DraftVote type to represent governance votes in transaction drafts. - Enhanced TxDraft type to include governance votes. - Implemented vote rationale editor component for editing and uploading rationale for votes. - Added utility functions for mapping ballot titles and resolving proposal titles. - Created drep-context module to derive DRep identity for governance votes. - Developed rationale document building and uploading functions for CIP-100 compliance. - Added tests for new functionalities including vote context derivation and rationale handling.
- Implemented AddStakeDialog component for user to add staking actions. - Added AddVoteDialog component for user to cast votes on governance actions. - Enhanced transaction draft management with new functions for adding and removing staking certificates and votes. - Updated validation logic to prevent duplicate votes and staking certificates. - Introduced usePoolNames hook for resolving pool IDs to display names. - Modified UI components to support new staking and voting features, including buttons and dialogs. - Improved user experience with informative messages regarding staking and voting actions.
…rnance activity - Added new API endpoint `/api/governance/txGovernance` to fetch governance activities (votes and DRep certificates) per transaction using Koios `tx_info`. - Introduced helper functions in `koios.ts` for making GET and POST requests to Koios API. - Implemented logic to filter and normalize governance certificates and votes. - Joined proposal titles to votes for better context in the response. - Added rate limiting and input validation for the new endpoint. - Created a new hook `useTxGovernanceBadges` to fetch governance badges based on transaction hashes. - Added tests for the new API endpoint to ensure correct behavior and error handling. - Updated existing types and utility functions to support the new governance features.
…dresses into lane cards
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
No description provided.