Skip to content

Commit 41a0af9

Browse files
committed
docs: add return value descriptions for TWAP update function in Pyth contract
1 parent 1b01a7a commit 41a0af9

File tree

1 file changed

+3
-0
lines changed
  • target_chains/ethereum/contracts/contracts/pyth

1 file changed

+3
-0
lines changed

target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ abstract contract Pyth is
314314
private
315315
view
316316
returns (
317+
/// @return newOffset The next position in the update data after processing this TWAP update
318+
/// @return twapPriceInfo The extracted time-weighted average price information
319+
/// @return priceId The unique identifier for this price feed
317320
uint newOffset,
318321
PythStructs.TwapPriceInfo memory twapPriceInfo,
319322
bytes32 priceId

0 commit comments

Comments
 (0)