pyth-crosschain/governance/xc_admin/packages/xc_admin_frontend/pages
Mohammad Amin Khashkhashi Moghaddam f595d61ccd
Xc admin frontend refactor (#964)
* Remove fetching proposal internals on page load

Without the internals we can not show the verified/voted icons in the proposals page,
therefore we have to remove them

* Refactor squads creation based on wallet

Previously there was a logic to use a separate wallet for proposeSquads
but now it is removed and we can unify vote/propose squads

* Disable propose button if no action and show hint

* Expose refresh functionality on multisig proposals

* Fetch instructions within proposal and calculate voted/verified properties inside

* Extract WormholeInstructionView as a separate component

Moved some name mappings to pythContext so we don't need prop drilling

* Add support for parsing governance instructions + minor refactors

* Add ability to show / approve upgrade proposals

* fix buttons overflow

* Use the actual targetChainId instead of relying on the cluster context for instruction visualization

* Do not fetch the data again if the multisigCluster remains the same

---------

Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
2023-07-20 12:18:05 +02:00
..
_app.tsx [Xc_admin] hyphen to underscore (#545) 2023-01-31 15:36:56 -06:00
_document.tsx [Xc_admin] hyphen to underscore (#545) 2023-01-31 15:36:56 -06:00
index.tsx Xc admin frontend refactor (#964) 2023-07-20 12:18:05 +02:00