Commit Graph

20 Commits

Author SHA1 Message Date
Tom Pointon 92bb656f93
Initial `pyth aptos` CLI (#410) 2022-12-12 14:06:26 +00:00
Ali Behjati d6e25d9209
Add pre-commit globally (#393)
* Add pre-commit globally

* Fix CI errors
2022-11-24 14:14:29 +01:00
Turbo-Gus 1a5b31f41a
test: use proper aptos addresses for tests (#384) 2022-11-09 21:54:58 +00:00
Turbo-Gus 0f42b66438
fix: use correct struct in update_cache_for_test (#382) 2022-11-09 08:37:03 +00:00
adirutwn c3f34a087a
[FEAT] Allow any contract to update the cache in test (#370)
* feat: allow public to update cache in test

* chore: change according to code review

* chore: rename func
2022-11-02 09:59:58 +00:00
guibescos a19cd93cd3
Update example to use APT pricefeed (#365)
* Update example

* Update address of example contract
2022-10-28 09:31:09 -05:00
guibescos 808e9392e3
Update address again (#357) 2022-10-18 20:45:09 -05:00
guibescos 0e49c8ea7b
Update example addresses (#354) 2022-10-18 11:25:54 -05:00
Tom Pointon 2c8efdba2a
Add link to on-demand and update fee docs (#347)
* Add link to update fees section

* Add link to on-demand docs

* Tweak wording
2022-10-16 11:50:38 +01:00
guibescos 4b37fda80c
Guibescos/aptos example 2 (#327)
* Add example

* Subfolder for my example

* Ready to merge

* Cleanup

* Gitignore right

* Renaming

* Named address reset

* Bump pyth-common-js

* Cleanup

* More cleanup

* Cleanup

* dev addresses

* Link to addresses

* Rename app

* Add link

* Fix

* refactor

* Renamed

* Rename

* Add import statement for Price

* Update to pass vaa to get_update_fee

* Update README

* Rename directory

* Comments

* Add recency check

* Format

* Cleanup, remove bad practices

* Better comments

* Get rid of recency check

* Update README
2022-10-13 11:48:57 -05:00
Tom Pointon 412ef5e221
Fix example to reflect breaking api change (#344) 2022-10-13 14:55:20 +01:00
Tom Pointon b820c78ac1
Add comment clarifying deployed addresses (#343) 2022-10-12 14:47:35 +01:00
Tom Pointon 86df3ef997
Make imports used for tests test only (#342) 2022-10-12 14:47:26 +01:00
Tom Pointon 13f2d481d5
Charge update fees per VAA submitted (#340)
* Charge update fees per VAA submitted

* Rename UpdateFee struct to BaseUpdateFee

* Update comment
2022-10-11 18:17:02 +01:00
Tom Pointon 124589da09
Only register account to receive coins if already unregistered (#336) 2022-10-10 17:13:15 +01:00
Tom Pointon 9d4a6b88c4
Ensure initialization data source emitter address and chain ids are the same length (#337) 2022-10-10 15:40:30 +01:00
Tom Pointon 207616d47c
Add explanatory comments (#335)
* Add explanatory comments

* Add second best practices link
2022-10-07 14:48:23 +01:00
Tom Pointon e97b3bd7cf
Add update_price_feeds_if_fresh_with_funder (#329) 2022-10-06 11:28:33 +01:00
Tom Pointon 5ff244941c
Add example Aptos contract (#325)
* Add example Aptos contract

* Remove unneeded dependencies

* Remove comment
2022-10-05 13:46:19 +01:00
Tom Pointon 51080bcf5f
Pyth Aptos Target Chain Contract (#291)
Initial pyth aptos contract
2022-10-04 14:59:34 +01:00