Commit Graph

123 Commits

Author SHA1 Message Date
Dev Kalra 16ac58539e
[pyth-cosmwasm] sec review update (#649)
* remove owner

* address sec review feedback

* update storage for pricefeeds

* deprecate owner

* remove owner field
2023-03-03 20:11:15 +05:30
Jayant Krishnamurthy deb804617b
add an example for benchmarks (#647) 2023-03-01 12:34:32 -08:00
Jayant Krishnamurthy 66783e5ef1
add docs for audit (#645)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-03-01 08:29:12 -08:00
Jayant Krishnamurthy b9430aee81
[sdk] Add new SDK packages to lerna (#630) 2023-02-28 09:14:52 +01: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
Stanisław Drozd 8e11caa1ee
Bump wormhole rust crates to v2.14.8, remove rent adjustment (#601)
This change upgrades our wormhole dependency to the current latest
release. It introduces a fix in rent calculation logic, making Solitaire compatible with
PythNet. This lets us get rid of dedicated rent adjustment logic,
which we also remove in this change.
2023-02-20 11:06:57 +01:00
Yunhao Zhang 16caff1b04
[solana] Start to implement the solana receiver contract (#557)
* Start to implement the solana receiver contract

* Use "cargo run" instead of the compiled binary under target/debug

* Update cargo dependency

* Add "pyth-" prefix to crate names

* Remove the transfer step in cli which is only necessary for pythnet, not solana
2023-02-15 15:43:51 +00:00
Dev Kalra 40e42a5b21
[cosmwasm] pyth-sdk-cw update version v1.0.0 (#595)
* update version

* update contract version
2023-02-14 20:22:14 +05:30
Dev Kalra d95c9247a2
[cosmwasm] Release setup (#594)
* update comment

* add a workflow

* update contracts readme

* add readme to pyth-sdk-cw
2023-02-14 15:28:31 +05:30
Dev Kalra 6daeb88244
[cosmwasm] Update example contract (#593)
* consume pyth-sdk-cw

* use helper queriers

* expose UnixTimestamp

* add testing examples
2023-02-14 14:55:42 +05:30
Dev Kalra c59c00333a
add query helper functions (#587) 2023-02-13 22:50:38 +05:30
Dev Kalra 66a46dd488
add testing module (#585) 2023-02-13 22:05:58 +05:30
Dev Kalra 62083eb6d6
[cosmwasm] Move data structures to pyth-sdk-cw (#578)
* pyth-sdk-cw add data structures

* consume pyth-sdk-cw data structure

* pre commit hooks
2023-02-11 00:23:24 +05:30
Dev Kalra 7f991bbdbc
[cosmwasm] pyth-sdk-cw (#575)
* pyth-sdk-cw

* update contract to use pyth-sdk-cw

* update schema

* update tilt config

* pre commit hooks

* remove raw schema
2023-02-10 22:48:09 +05:30
Dev Kalra 138fbd924f
fix build.sh script (#574) 2023-02-10 00:15:16 +05:30
Ali Behjati 58505a21c8
[ethereum] Update truffle config (#552)
* [ethereum] Update truffle config

hdwallet package was updated in the PR bringing lerna to this repo.
In the new package the constructor arguments have changed. This PR updates that and adds a helper function to make the config more clear.

* Update truffle-config.js
2023-02-02 09:55:43 +01:00
Jayant Krishnamurthy 3b44d02828
[oracle-swap] Improve oracle-swap frontend (#544)
* stuff

* make this look better

* improving ux

* basic functionality works

* clean up appearance

* 3 seconds

* clean up code a bit

* blah

* change website title and favicon and fix useEffect warning

* actually change website title and fix useEffect warning

* update metadata

* trigger deployment

---------

Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
2023-01-31 11:00:09 -08: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
Daniel Chew 6fea30bdeb
fix evm example broken links (#543) 2023-01-29 21:54:10 +08:00
Ali Behjati fac47b5bef
[refactor] Move eth example to the target_chains (#535)
This happened because the PR was older than the restructure
2023-01-25 18:32:15 +01:00
Dev Kalra 8ad5c374bc
update to use cosmwasm release (#532) 2023-01-25 22:54:17 +05:30
Ali Behjati 70fd0a6c15
[wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534)
* Move p2w-sdk to wormhole_attester

* Update references to the sdk
2023-01-25 18:14:02 +01:00
Ali Behjati 084acdb57e
[refactor] Convert hyphen to underscore in the directory tree (#524)
* Move price-service to price_service

* Update references to price-service

* Rename target-chains to target_chains

* Update references to target-chains

* Rename tilt-devnet to tilt_devnet

* Update references to tilt-devnet

* Rename wormhole-attester to wormhole_attester

* Update references to wormhole-attester

* Rename multisig-wh-message-builder

* Update references to wh-msg-bldr

* Fix dockerfile issue

* Rename remove-executor to remote_executor

* Update references to remote-executor

* Rename xc-governance-sdk-js

* Update references to the governance sdk

* Move docker-images to docker_images

* Update references to docker-images
2023-01-24 19:06:22 +01:00