pyth-crosschain/target_chains/sui/contracts/sources
optke3 d8c69a63d0
[sui 6/x] - Pyth unit tests (#757)
* state getters and setters, change Move.toml dependency to sui/integration_v2

* finish state.move

* add new line to pyth

* use deployer cap pattern for state module

* sui pyth

* update price feeds, dynamic object fields, Sui object PriceInfoObject

* register price info object with pyth state after creation

* sui governance

* some newlines

* error codes

* update and comment

* unit tests for pyth.move, add UpgradeCap to Pyth State (will be used for contract upgrades)

* updates

* test_get_update_fee test passes

* fix test_get_update_fee and test_update_price_feeds_corrupt_vaa

* test_update_price_feeds_invalid_data_source

* test_create_and_update_price_feeds

* test_create_and_update_price_feeds_success and test_create_and_update_price_feeds_price_info_object_not_found_failure

* test_update_cache

* update

* test_update_cache_old_update

* update_price_feeds_if_fresh

* comment
2023-04-30 15:46:09 -04:00
..
governance [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
batch_price_attestation.move [sui 5/x] - Sui clock, error codes, fee computation (#740) 2023-04-30 15:39:02 -04:00
data_source.move [sui 5/x] - Sui clock, error codes, fee computation (#740) 2023-04-30 15:39:02 -04:00
deserialize.move sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706) 2023-03-21 09:58:29 -05:00
event.move [sui 5/x] - Sui clock, error codes, fee computation (#740) 2023-04-30 15:39:02 -04:00
i64.move sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706) 2023-03-21 09:58:29 -05:00
price.move sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706) 2023-03-21 09:58:29 -05:00
price_feed.move [sui 3/x]: events, dynamic fields, `update_price_feed`, `PriceInfoObject` (#714) 2023-03-31 13:43:39 -05:00
price_identifier.move sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706) 2023-03-21 09:58:29 -05:00
price_info.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
price_status.move sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706) 2023-03-21 09:58:29 -05:00
pyth.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
set.move [sui 2/x]: `state`, `batch_price_attestation`, `set` (#710) 2023-03-31 10:10:10 -05:00
state.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00