Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 81e692a

Browse files
committed
Fix typos
1 parent a2f5d20 commit 81e692a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

IPyth.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ 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, uint16 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.
@@ -32,7 +32,6 @@ interface IPyth {
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.

IPythAbi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
{
6161
"indexed": false,
6262
"internalType": "uint64",
63-
"name": "lastPublsihTime",
63+
"name": "lastPublishTime",
6464
"type": "uint64"
6565
},
6666
{

0 commit comments

Comments
 (0)