Skip to content

Commit 8e9e2d0

Browse files
authored
Update update-single-price-feed.mdx
1 parent ea45314 commit 8e9e2d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pages/sui/update-single-price-feed.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Reverts if the required fee is not paid, or the `update_data` is incorrectly sig
2525

2626
| Argument | Input | Description |
2727
| ---------------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
28-
| <Arg required={true} type="vector<vector<u8>>">update_data</Arg> | <Input id="update_data" format={InputFormats.ByteArray} /> | The price update data for the contract to verify. |
29-
| <Arg required={true} type="Coin<AptosCoin>">fee</Arg> | <Input id="fee" format={InputFormats.BigInt}/> | The update fee in octa. This fee is transferred to the Pyth contract as an effect of the transaction. |
30-
28+
| <Arg required={true} type="&PythState">pyth_state</Arg> | <Input id="pyth_state" format={InputFormats.ByteArray} /> | The Pyth state object. |
29+
| <Arg required={true} type=" HotPotatoVector<PriceInfo>,">price_updates</Arg> | <Input id="price_updates" format={InputFormats.BigInt}/> | vector of authenticated price updates |
30+
| <Arg required={true} type=" &mut PriceInfoObject">price_info_object</Arg> | <Input id="price_info_object" format={InputFormats.BigInt}/> | PriceInfoObject is a shared Sui object containing the price feed to be updated. |
31+
| <Arg required={true} type=" Coin<SUI>">fee</Arg> | <Input id="fee" format={InputFormats.BigInt}/> | Fee coins. |
32+
| <Arg required={true} type=" &Clock">clock</Arg> | <Input id="clock" format={InputFormats.BigInt}/> | clock is a Sui shared object used to tell time and record timestamps |
3133
</div>
3234

3335
<Examples>

0 commit comments

Comments
 (0)