Selaa lähdekoodia

Update README.md

optke3 2 vuotta sitten
vanhempi
sitoutus
5c5a3326b1
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      target_chains/sui/README.md

+ 2 - 2
target_chains/sui/README.md

@@ -47,9 +47,9 @@ public fun create_price_infos_hot_potato(
 Use the hot potato price updates vector to update a price feed.
 
 Note that conventional Pyth price IDs are found [here](https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet).
-However, instead of passing in a Pyth price feed ID to update the price feed (which is what is conventionally done), one must pass in a `PriceInfoObject` ID instead.
+However, instead of passing in a Pyth price feed ID to update the price feed (which is what is done on other chains), one must pass in a `PriceInfoObject` ID instead.
 
-The `PriceInfoObject` IDs are stored in a map on-chain. We pulled them into local json files which can be found [here](./scripts/generated). The `PriceInfoObject` ID can also be queried on-chain by calling the `pyth::state::get_price_info_object_id` found in the Pyth package. See the common questions section below for more info.
+The `PriceInfoObject` IDs are distinct from Pyth price feed IDs, and are stored in a map on-chain (Pyth price feed ID => PriceInfoObject ID). We pulled this map into a local json file [here](./scripts/generated). The `PriceInfoObject` ID can also be queried on-chain by calling the `pyth::state::get_price_info_object_id` found in the Pyth package. See the common questions section below for more info.
 
 ```Rust
 public fun update_single_price_feed(