Commit Graph

118 Commits

Author SHA1 Message Date
Jayant Krishnamurthy 25c1ac2c33
[xc-admin] Contract management tool (#885)
* cleanup

* blah

* gr

* stuff

* hm

* hmm

* wtf

* ah fix this

* ok finally it does something

* ok

* hrm

* hrm

* blah

* blah
2023-06-15 07:17:20 -07:00
guibescos e1377e5627
[Xc admin cli] add and remove members (#887)
* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* Comment

* Comment
2023-06-15 13:08:14 +01:00
Ali Behjati 75abeb1553
[price-service] Add minSymbols check to liveness (#882) 2023-06-13 14:40:34 +02:00
Ali Behjati 7dea578416
[xc-server] Reliability improvements (#875)
* [xc-server] Bugfix and improvements

* Address review comments
2023-06-11 14:58:36 +02:00
Ali Behjati 95ca9d1d92
[xc-admin] Add message buffer instructions (#869)
* [xc-admin] Add message buffer instructions

* Use coral-xyz/anchor

* Address feedbacks

* Address feedbacks
2023-06-09 19:56:40 +02:00
Ali Behjati 183081cc20
Expose pythnet message buffer idls (#865) 2023-06-09 14:10:28 +02:00
Ali Behjati bdc3fede24
[eth] Deploy to Kava (#859)
* [eth] Deploy to Kava

* [eth] Bump sdk/js package version

* [eth] Fix pre-commit
2023-06-07 15:29:03 +02:00
Daniel Chew f99f23c416
update price service sdk (#849)
* update price service sdk

* bump version

* fix test

* include slot

* bump price-service-client version

* bump all that uses price-service-client

* bump all that uses price-service-client
2023-05-29 20:18:29 +09:00
guibescos ddc0b48118
[Xc admin] frontend to use server (#832)
* Import axios

* Switch to axios

* Fix

* Error handling
2023-05-23 10:32:48 -05:00
Thomaz Leite ef6c9519be Bump price-service version 2023-05-22 10:08:05 -03:00
Thomaz Leite f1492ae3d5 Use native code for validating VAAs 2023-05-22 10:08:05 -03:00
Dev Kalra 1c529dd486
[price-pusher] sui (#825)
* sui pusher

* cache mapping

* typo

* remove comment

* add mainnet config

* update readme

* bump version
2023-05-20 00:05:34 +05:30
Ali Behjati e283b15d20
[price-service] Improve vaa validation (#814)
* [price-service/server] Improve Vaa Validation

* [price-service/server] Improve performance

* Update wormhole guardian version
2023-05-17 20:20:17 +02:00
guibescos e243e6734b
[Xc admin] proposer server (#816)
* Proposer server

* Add package-lock.json

* Add rpc as enviornment variables
2023-05-16 13:15:08 -05:00
Dev Kalra 3b03f9eddc
[cosmwasm] instantiate contracts on multiple chains (#799)
* instantiate contracts on multiple chains

* deploy to neurtron

* function not being used anymore

* rename file dir

* better logs

* wormhole guardian upgrade

* set default wormhole contract

* add all to stages to one file

* add extended chain config

* bug fix

* juno deployment

* removed unused parameter

* resolve bug add comments

* typo

* rename to vaa mainnet

* comment

* remove T

* hardcode checksum

* update download method comment

* update package-lock

* update package-json
2023-05-16 13:13:43 +05:30
Dev Kalra 3fc996d6f9
[price-pusher] support for aptos (#815)
* aptos price listener

* price pusher aptos

* add comment

* update package lock

* remove eslint disable comments

* bump version

* npm i at root

* update readme

* address feedback

* update readme

* json fix
2023-05-15 21:14:28 +05:30
Ali Behjati 1dbc592836
[eth] Fix oracle-swap example frontend bugs (#813)
* [eth] Fix oracle-swap example frontend bugs

* [eth] Fix build warnings

* remove test

* add passWithNoTests to amm example

---------

Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
2023-05-11 12:53:50 +02:00
Ali Behjati 1d59e9052b
[tilt] Fix issues (#801) 2023-05-05 15:31:57 +02:00
Dev Kalra 079828f8ac
Wormhole stub (#789)
* add

* add sei to wormhole chains

* add wormhole code to the repo

* add lib to gitignore

* cosmwasm bug fix

* add tmp to gitignore

* no need for simulation

* add wormhole deployment stuff

* better comments

* resolve build errors

* trying a fix

* fix

* rename compiled code

* address feedback

* remove gitignore

* sei deployment

* complete sentences

* address comments
2023-05-03 20:48:00 +05:30
Ali Behjati f94dceb1bc
[eth] Add Pyth Accumulator (#776)
This PR adds the support WormholeMerkle accumulator message to the ethereum contract while still supporting the old message format. The code is not optimized yet and with more optimizations we can achieve a better gas usage. Currently based on the gas benchmark below it has a 18% improvement with a single price feed. Although the cost of updating 5 feeds in the same batch is higher than the current approach but in reality the chances that all 5 feeds be in the same batch is very low.
2023-05-03 16:08:53 +02:00
guibescos facc2b6ff3
Pin axios (#787) 2023-05-01 08:45:06 -05:00
guibescos 3e5600508b
Fix axios bug by downgrading, bump all dependents (#786) 2023-04-28 10:19:40 -05:00
guibescos f5d11c248d
Rename init price (#755)
* Rename init price

* Set exponent
2023-04-10 20:30:58 -05:00
Ali Behjati 85b9c80e2a
[eth] Add Canto mainnet (#751)
* [eth] Add Canto mainnet

This deployment also enables contract rewards on canto. Since the
changed code is only specific to the Canto network and is used only
in initialization, only the diff is added as a file.

* Remove ds store

* Add some doc to deploying.md
2023-04-07 17:49:01 +02:00
Ali Behjati 71da520647
[eth] Deploy to Conflux eSpace (#748) 2023-04-07 16:23:20 +02:00
guibescos e476199c2c
[xc-admin] Add pythtest-crosschain (#749)
* Add pythtest-crosschain

* Restore urls
2023-04-06 17:48:54 -05:00
Ali Behjati 2db5a26752
[eth] Deploy to testnet Mantle (#742) 2023-04-04 13:34:32 +02:00
Ali Behjati 111b0fa09f
[eth] Deploy to meter (#731)
* [eth] Deploy to meter testnet

* Add mainnet
2023-03-31 18:51:18 +02:00
Cinque McFarlane-Blake 38a8c2831a
[evm] Deploy on Canto Testnet (#725)
* [evm] Deploy on Canto Testnet

* Redeploy

* Address feedbacks

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-03-29 19:15:08 +02:00
Ali Behjati 272f11aac2
[eth] Redeploy shimmer testnet (#724) 2023-03-28 10:11:56 +02:00
guibescos 8e8fcf133b
[xc-admin] Introduce the new UPGRADE_OPS_KEY (#716)
* Do it

* Cleanup
2023-03-23 17:03:27 -05:00
Jayant Krishnamurthy c45664c951
[evm] Polygon ZKEVM deployment (#711)
* gr

* doc

* add zkevm deployment

* gr

* zkevm deployment

* add zkevm testnet
2023-03-22 13:04:47 -07:00
Jayant Krishnamurthy e995a2b89e
Add CI workflow to publish javascript packages (#707)
* workflows

* try private

* private

* more private

* update files

* fix workflow

* hm

* hm

* bump version

* bump version

* another bump

* text

* update readme

* update package lock
2023-03-21 12:25:30 -07:00
Jayant Krishnamurthy 9fef120b1f
[sdk] Move Solidity sdk into this repo (#674)
* fix dependencies

* wtf

* remove redundant pre-commit

* some sort of lerna issue

* fix dockerfile
2023-03-20 12:25:28 -07:00
guibescos d06c10502d
[evm] Verifying shimmer_testnet and neon_devnet with hardhat (#703)
* Add shimmer testnet and neon_devnet

* zksync comment

* Add verify
2023-03-17 09:47:59 -05:00
Ali Behjati fc0de28b86
[eth] Update zksync goerli after network reset (#697) 2023-03-16 09:36:13 +01:00
Dev Kalra 94032fa521
[price-pusher] Injective error handling (#696)
* add few errors check in injective

* update injective sdk version to fix error

* bump version
2023-03-15 19:43:24 +05:30
guibescos 156fb23f24
[evm] deploy neon devnet (#693)
* add evmos_testnet deployment files

* fix precommit

* Deploy to neon

* Precommit

* Add to evm-js

* Fix precommit

---------

Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
2023-03-14 22:48:46 -05:00
Daniel Chew de0096efd4
[eth] add evmos mainnet (#686)
* add evmos mainnet

* add evmos to sdk
2023-03-14 18:12:49 +09:00
Daniel Chew 533181cc80
[eth] add evmos testnet (#683)
* add evmos_testnet deployment files

* fix precommit

* fix precommit

* bump
2023-03-14 14:11:23 +09:00
Ali Behjati 085f08055a
[eth] Add zksync mainnet (#682)
* [eth] Add zksync mainnet

Also adds verify url for shimmer testnet

* Bump client version

* Update dummy value
2023-03-13 09:12:46 +01:00
Ali Behjati 3d8215edc2
[price-pusher] Add nonce for evm + refactor (#679)
* [price-pusher] Add nonce for evm + refactor

* Rename cooldown-duration to pushing-frequency

* Update readme
2023-03-09 16:38:30 +01:00
Ali Behjati 1771a8a98a
[eth] Add new testnets (#669)
- Add chiado (gnosis testnet) and shimmer testnet
- Add chiado and shimmer_testnet and base_goerli addr to js sdk
2023-03-08 10:01:05 +01:00
Dev Kalra 53c965481a
[price-pusher] update docker files (#654)
* update docker files

* update package .json

* remove nc

* updated price pusher package name
2023-03-03 13:53:43 +05:30
Ali Behjati 35a2fb61b0
[price-pusher] Bug fix on revert and crash (#652) 2023-03-02 17:05:30 +01:00
Dev Kalra 6bd4e2d3b8
[price-pusher] refactor index page (#636)
* refactor index page

* remove pythcontractaddr

* address comments

* bug fix
2023-02-28 15:07:38 +05:30
Jayant Krishnamurthy b9430aee81
[sdk] Add new SDK packages to lerna (#630) 2023-02-28 09:14:52 +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
Jayant Krishnamurthy bbe10ba553
[sdk] Move JS sdks into this repo (#611)
* move files to subdir and js sdk here

* update pointer

* fix move

* delete lib

* fix this

* gitignore

* aptos sdk

* gitignore

* terra js

* gitignore

* move price pusher

* add lib to gitignore

* move examples

* fix workflow

* gr

* contracts

* hm

* fix

* gr

* grrr

* fix dockerfile

* wtf

* fix
2023-02-22 13:44:42 -08: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 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 ca1a03b507
Add product in one step (#586) 2023-02-13 16:49:20 +00:00
guibescos 69bafc74c1
Commit package-lock from previous PR (#579) 2023-02-10 15:46:51 -06:00
Ali Behjati 981d62c933
[price_service/server] Improve vaa counter metric (#573)
* [price_service/server] Improve vaa counter metric

* Bump the version

* Update comment

* Update comment again
2023-02-09 18:13:30 +01:00
Ali Behjati 611b240fe8
[lerna] Update the lock after price server upgrade (#569) 2023-02-07 16:00:06 +01: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 56e5ed8c1d
[prettier] Prettier sync (#562)
* Prettier

* Pin prettier

* Revert chagne
2023-02-03 14:09:34 +01:00
Daniel Chew f1c5aba31b
[xc_admin] add update product metadata (#550) 2023-02-03 07:28:06 +09:00
guibescos e49fc3a13d
Update package lock (#558) 2023-02-01 16:57:16 -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
Ali Behjati 4c5d0d5e1b
[refactor] Add global lerna (#546)
* Move lerna to the top

* Set version to independent

Packages are versioned independently

* Update packages and the lock

* Add build cache and better reference

* Add lerna docker base

* Add wormhole_attester sdk and some minor impr

* Update tsconfig to fix outDir impact by composite

* Update eth package

* Update p2w to use solidity-sdk

* Change xc-admin CI to lerna CI action

* Add more packages to the list + bugfixes

* Update dockerfiles to have tilt working

* Format the code

* Fix some issues

* Fix the change of usePyth.ts

* lerna build fix

* Fix foundry
2023-01-31 17:09:31 +01:00
Ali Behjati 3b358eec39
[refactor] Remove package-lock.json in the root (#533) 2023-01-25 18:31:38 +01:00
Daniel Chew 88d8039c36
[xc-admin] add feature to send proposal to update permissions (#498)
* fix wallet hydration error

* update package-lock.json

* add edit feature

* [wip] sqds proposal

* [wip] fix multisig hook

* checkpoint

* update UI

* fix error

* refactor

* make Modal reusable

* address comments
2023-01-22 23:26:53 +09:00
Evan Gray 57919f6675 bridge_ui: pin sdk, fix imports
Change-Id: I5231b81423705af5866ee8b2e8647ea7cf469153
2021-12-10 17:22:26 +00:00
Chase Moran 05425a96df examples: native swap
Change-Id: Ia7bf98bac2b4a0daa5541f09a9c9e4b1e2d56bba

examples: rest_relayer, add support for all chains

Change-Id: Idbcf48f4c891383e16a9f1f460d6e02aa3149a48
2021-12-08 14:51:19 +00:00
Hendrik Hofstadt d4fab1190c chore: restructure for monorepo 2020-07-28 12:39:38 +02:00
Hendrik Hofstadt 82d07db5e6 initial commit 2020-07-26 18:04:45 +02:00