Commit Graph

109 Commits

Author SHA1 Message Date
Daniel Chew af77a2a987
[xc-admin] improve xc-admin-frontend UI/UX (#673)
* add expired status

* add proposal status filter

* allow proposals to be proposed from ops key

* check if ops keypair file exists

* update mappings

* fix UpdatePermissions

* trigger deployment

* fix precommit

* address comments

* use SECRETS_BASE_PATH

* fix path

* fix
2023-03-09 13:42:54 +09:00
guibescos cafb0eb4bc
Fix lerna command (#675) 2023-03-09 13:34:05 +09:00
guibescos 590d5b0414
[xc-admin-frontend] Stop reloading proposals when you connect a wallet (#670)
* Make wallet simpler

* Fix
2023-03-07 20:41:42 -06:00
guibescos 64255d4504
Fix build process (#672) 2023-03-07 19:23:23 -06:00
Daniel Chew 60b1a3688b
[xc-admin] enable publisher key and multisig signer key mapping when available (#663)
* enable publisher key and multisig signer key mapping when available

* fix permission/depermission button border radius

* address comments and add mapping filepath

* fix precommit error
2023-03-07 14:44:29 +09:00
Daniel Chew 55a8f85254
[xc-admin] add README to xc_admin_cli (#614) 2023-03-07 11:47:39 +09:00
guibescos 66a3856585
Extend readme (#665) 2023-03-06 16:54:44 -06:00
guibescos ee9ee50959
Remove comment, vaults have been created (#664) 2023-03-06 16:27:18 -06:00
guibescos 33d2ffc487
Do it (#661) 2023-03-03 17:31:54 -06:00
guibescos 081a8bc12a
Don't throw error if all VAAs were relayed (#660) 2023-03-03 16:41:23 -06:00
guibescos bd9c126247
Use proxy rpcs (#659) 2023-03-03 16:32:35 -06:00
guibescos a0db4266ba
Fix relaying (#658) 2023-03-03 15:42:37 -06:00
Daniel Chew 40bc1e67d0
[xc-admin] add Dockerfile for xc-admin-frontend (#656)
* add Dockerfile for xc-admin-frontend

* add newline

* add gh workflow to push xc-admin-frontend image

* Push on every commit to main

---------

Co-authored-by: Guillermo Bescos <gbescos@stanford.edu>
2023-03-03 13:23:45 -06:00
Daniel Chew 5c16987153
[xc-admin] delete product (#651)
* add delete product feature

* fix delete product bug

* refactor

* fix precommit
2023-03-03 13:17:58 +09:00
Daniel Chew c3ca23f3b6
remove duplicate publishers from json (#646) 2023-03-01 09:35:53 -06:00
Jayant Krishnamurthy b9430aee81
[sdk] Add new SDK packages to lerna (#630) 2023-02-28 09:14:52 +01:00
guibescos a549d535f8
[xc-admin] Output symbol when more than 32 publishers (#625)
* Make change

* Add check for duplicates

* Remove console log
2023-02-24 01:32:00 +01:00
Daniel Chew 8cb720c476
[xc-admin] add permission/depermission publisher keys for all asset types (#620) 2023-02-23 17:43:24 +09:00
guibescos 0abf0e2b6c
[xc-admin] Create multiple proposals if too many instructions (#621)
* Add code

* Remove console log
2023-02-23 09:42:05 +01:00
guibescos 20b18e291d
Batch transactions (#619) 2023-02-21 18:55:44 +01:00
guibescos b34ec4e882
[xc-admin] error if proposals have more than 255 instructions (#618)
* Make the change

* Revert other files

* Remove console log

* Fix typo

* Add new keyword
2023-02-21 10:50:54 -06:00
guibescos ecb0e174d4
[xc-admin] batch wormhole messages (#615)
* Add

* Cleanup

* Add unit test
2023-02-21 11:29:03 +01:00
guibescos 6f49dfbb4b
Display symbol for new price feeds (#616) 2023-02-21 12:42:38 +09:00
Daniel Chew 562a5cd0fa
make order of ixs deterministic when sending proposal (#613) 2023-02-20 16:51:56 +01:00
guibescos 58db641ddd
[xc-admin] Batch instructions (#612)
* Checkpoint

* Working

* Remove console log

* Restore send all

* Fix tests
2023-02-20 15:58:31 +01:00
Daniel Chew 4b008810e2
[xc-admin] improve approve/reject UX (#608)
* add spinner while approving/rejecting and update result in real time

* fix confirmed/rejected/cancelled section

* remove console.log

* update previous list of proposals to the most updated one after approving/rejecting

* fix precommit

* fix bug

* refactor
2023-02-18 09:07:47 +09:00
guibescos f015e9ed31
Delete publishers before adding (#610) 2023-02-17 14:27:33 +00:00
guibescos 0b35be7015
[xc-admin] Add activate (#609)
* Add activate

* Rebase

* Remove extra file

* Restore other part of code
2023-02-17 13:49:29 +00:00
guibescos 040169a196
[xc-admin] Forbid more than 32 pubs (#607)
* Ban 32 pubs

* Add period
2023-02-17 12:19:53 +00:00
guibescos 8a6e0e6e4b
[xc-admin-frontend] Some cleanup (#606)
* Some cleanup

* Fix

* Fix
2023-02-17 12:14:36 +00:00
Daniel Chew b2cae745c8
[xc-admin] improve UI/UX of xc-admin-frontend (#605)
* fetch all proposals instructions and pass to individual proposal row

* add new verified icon

* enable scroll to top when clicking on individual proposal

* split devnet/pythtest and mainnet-beta/pythnet proposals

* show symbols for product and price account when possible

* fix typo

* move getAllIxs to hook and remove verified for draft proposals
2023-02-17 14:05:21 +09:00
guibescos 10818699d4
Add USDC in xc-admin-cli (#604)
* Add USDC in xc-admin-cli

* Improve comment
2023-02-16 14:57:39 +00:00
guibescos 66a7d243ac
[xc-admin] Make execute ready green (#603)
* Make button green

* Darker green
2023-02-15 14:41:24 +00:00
Daniel Chew 950d65746f
fix bug where proposal sometimes doesnt load (#602) 2023-02-15 22:52:30 +09:00
guibescos aba0390495
Refactor (#599) 2023-02-15 12:13:51 +00:00
Daniel Chew 234cac4261
[xc-admin] make UI responsive (#597) 2023-02-15 21:02:51 +09:00
guibescos 0bc2601fe5
[xc-admin] Show rejected instead of cancelled (#600) 2023-02-15 08:43:41 +09:00
Daniel Chew e841989fa2
[xc-admin] remove unused tabs (#596) 2023-02-14 20:55:39 +09:00
guibescos e3831ec0f6
Display proposal cluster (#592) 2023-02-14 11:15:16 +00:00
guibescos 301fd95781
Restore approve (#591) 2023-02-14 11:15:04 +00:00
guibescos c7af4a0838
Crank changes (#588) 2023-02-14 11:14:32 +00:00
guibescos 6d806f78f6
[xc-admin] crank relayer needs to create price and product accounts (#589)
* Add code

* Revert
2023-02-14 11:14:08 +00:00
Daniel Chew f1ead1ca7a
[xc-admin] add verified/unverified tags for individual proposals (#584)
* fix urlsIndex not being reset to 0 when changing cluster

* fix proposals accept/reject buttons not centered when on mobile view

* add verified tag to individual proposals

* fix pre-commit error

* fix color scheme

* address comments
2023-02-14 13:32:18 +09:00
guibescos ca1a03b507
Add product in one step (#586) 2023-02-13 16:49:20 +00:00
guibescos e250049a90
[xc-admin] Enable proposal page for testnet and pythtest (#582)
* Enable proposal page

* Revert this file
2023-02-10 20:49:48 -06:00
guibescos 13e48bdd51
Renames (#581) 2023-02-10 20:12:15 -06:00
guibescos f3925b4447
[xc-admin] Crank : Improve error logging (#580)
* Improve error logging

* Rethrow
2023-02-10 16:21:49 -06:00
Daniel Chew 0e00fb0d4a
[xc-admin] add approve/reject/execute/cancel buttons (#576)
* add approve/reject/execute/cancel buttons

* fix useMultisig hook not returning correct isLoading value
2023-02-10 15:05:06 -06:00
Daniel Chew a478d9f8cc
[xc-admin] add proposals page (#570)
* add proposals page

* address feedback

* show program id for unknown ix

* unwrap wormhole ixs

* fix error

* address feedback

* address comments
2023-02-10 15:15:43 +09:00
guibescos 6fe551cd86
Add remote to general tab (#572) 2023-02-08 23:53:08 -06:00
Daniel Chew 881bf768fb
fix bug where add new price feed doesnt work (#571) 2023-02-09 13:55:07 +09:00
guibescos 747886a089
Xc admin/crank for creating accounts (#568)
* Crank can create accounts

* Cleanup

* Cleanup

* Cleanup

* Comment

* Done
2023-02-06 21:24:57 -06:00
Daniel Chew d331393c81
[xc-admin] add general tab (#551)
* add UpdateProductMetadata page

* add first iteration of general tab

* add more functions

* fix ModalContent to show diff

* add feature to add new price account

* ignore price account address in json when adding new price feeds

* ignore product address and price account address in json for new pricefeed

* address comments

* fix preview crashing

* Restore addresses

* fix error when no price account exists

* fix validation

---------

Co-authored-by: Guillermo Bescos Alapont <gbescos@stanford.edu>
2023-02-07 12:14:03 +09:00
guibescos fc08ec277e
[Xc-admin] ledger (#561)
* Add ledger support

* Checkpoint

* Checkpoint

* Package locK

* Console err
2023-02-03 12:07:15 -06:00
guibescos 8c57458c39
Remove code that checks duplicated (#563) 2023-02-03 09:16:18 +09:00
Daniel Chew f1c5aba31b
[xc_admin] add update product metadata (#550) 2023-02-03 07:28:06 +09:00
guibescos f4d18167cd
[xc-admin] Add dockerfile (#556)
* Add dockerfile

* Dockerfile for xc-admin

* Add dockerfile
2023-02-01 16:57:24 -06:00
Ali Behjati 481c61bc2c
[refactor] Improve typescript codebase (#553)
* Use base tsconfig

* Add lint check

* Fix tilt
2023-02-01 11:26:23 -06:00
guibescos 5cf1afbc2f
[Xc_admin] hyphen to underscore (#545)
* Checkpoint

* New package lock

* Trigger CI

* Trigger CI

* Typo

* Package update after rebase

* CI

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-01-31 15:36:56 -06:00