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

Abehjati/add fee to ipyth #19

Merged
merged 8 commits into from
Jul 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update docs
  • Loading branch information
ali-behjati committed Jul 20, 2022
commit 04d9ca5eff0a18c3b68874e5592038c15072292e
6 changes: 3 additions & 3 deletions IPyth.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ interface IPyth {
event BatchPriceFeedUpdate(int8 chainId, uint64 sequenceNumber, uint batchSize, uint freshPricesInBatch);

/// @dev Emitted when a call to `updatePriceFeeds` is processed successfully.
/// @param sender Sender of this call (`msg.sender`).
/// @param sender Sender of the call (`msg.sender`).
/// @param batchCount Number of batches that this function processed.
/// @param requiredFee Required amount of fee for updating the prices.
/// @param paidFee The amount of fee that the sender payed for updating the prices.
/// @param paidFee The amount of fee that the sender paid for updating the prices.
event UpdatePriceFeeds(address indexed sender, uint batchCount, uint requiredFee, uint paidFee);


Expand Down Expand Up @@ -62,6 +62,6 @@ interface IPyth {

/// @notice Returns the minimum required fee to update an array of price updates.
/// @param updateDataSize Number of price updates.
/// @return feeAmount the minimum required fee in Wei.
/// @return feeAmount The minimum required fee in Wei.
function getMinUpdateFee(uint updateDataSize) external view returns (uint feeAmount);
}