@@ -13,26 +13,25 @@ interface IPyth {
1313 /// @param chainId ID of the source chain that the batch price update containing this price.
1414 /// This value comes from Wormhole, and you can find the corresponding chains at https://docs.wormholenetwork.com/wormhole/contracts.
1515 /// @param sequenceNumber Sequence number of the batch price update containing this price.
16- /// @param lastPublsihTime Publish time of the previously stored price.
16+ /// @param lastPublishTime Publish time of the previously stored price.
1717 /// @param publishTime Publish time of the given price update.
1818 /// @param price Current price of the given price update.
1919 /// @param conf Current confidence interval of the given price update.
20- event PriceFeedUpdate (bytes32 indexed id , bool indexed fresh , int8 chainId , uint64 sequenceNumber , uint64 lastPublsihTime , uint64 publishTime , int64 price , uint64 conf );
20+ event PriceFeedUpdate (bytes32 indexed id , bool indexed fresh , uint16 chainId , uint64 sequenceNumber , uint64 lastPublishTime , uint64 publishTime , int64 price , uint64 conf );
2121
2222 /// @dev Emitted when a batch price update is processed successfully.
2323 /// @param chainId ID of the source chain that the batch price update comes from.
2424 /// @param sequenceNumber Sequence number of the batch price update.
2525 /// @param batchSize Number of prices within the batch price update.
2626 /// @param freshPricesInBatch Number of prices that were more recent and were stored.
27- event BatchPriceFeedUpdate (int8 chainId , uint64 sequenceNumber , uint batchSize , uint freshPricesInBatch );
27+ event BatchPriceFeedUpdate (uint16 chainId , uint64 sequenceNumber , uint batchSize , uint freshPricesInBatch );
2828
2929 /// @dev Emitted when a call to `updatePriceFeeds` is processed successfully.
3030 /// @param sender Sender of the call (`msg.sender`).
3131 /// @param batchCount Number of batches that this function processed.
3232 /// @param fee Amount of paid fee for updating the prices.
3333 event UpdatePriceFeeds (address indexed sender , uint batchCount , uint fee );
3434
35-
3635 /// @notice Returns the current price and confidence interval.
3736 /// @dev Reverts if the current price is not available.
3837 /// @param id The Pyth Price Feed ID of which to fetch the current price and confidence interval.
0 commit comments