pyth-crosschain/target_chains/sui/contracts/sources/governance
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
..
contract_upgrade.move [sui 4/x] - governance modules, update to sui `0.29.0` (#732) 2023-04-28 15:28:09 -04:00
governance.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
governance_action.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
governance_instruction.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
set_data_sources.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
set_governance_data_source.move [sui 6/x] - Pyth unit tests (#757) 2023-04-30 15:46:09 -04:00
set_stale_price_threshold.move [sui 4/x] - governance modules, update to sui `0.29.0` (#732) 2023-04-28 15:28:09 -04:00
set_update_fee.move [sui 5/x] - Sui clock, error codes, fee computation (#740) 2023-04-30 15:39:02 -04:00