Skip to content

Commit

Permalink
refactor event
Browse files Browse the repository at this point in the history
  • Loading branch information
livingrockrises committed Nov 18, 2024
1 parent 9eca233 commit b612981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/interfaces/IBiconomyTokenPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface IBiconomyTokenPaymaster {
event RemovedFromTokenDirectory(address indexed tokenAddress);
event UpdatedNativeAssetOracle(IOracle indexed oldOracle, IOracle indexed newOracle);
event TokensSwappedAndRefilledEntryPoint(address indexed tokenAddress, uint256 indexed tokenAmount, uint256 indexed amountOut, address actor);
event TokenPriceUpdated(uint256 indexed currentPrice, uint256 indexed previousPrice, uint48 indexed cachedPriceTimestamp);
event TokenPriceUpdated(address indexed tokenAddress, uint256 indexed currentPrice, uint256 indexed previousPrice, uint48 cachedPriceTimestamp);
event SwappableTokensAdded(address[] indexed tokenAddresses);

function setSigner(address newVerifyingSigner) external payable;
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/BiconomyTokenPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ contract BiconomyTokenPaymaster is
}
cachedPrices[tokenAddress] = newPrice;
cachedPricesTimestamps[tokenAddress] = uint48(block.timestamp);
emit TokenPriceUpdated(newPrice, _cachedPrice, cachedPricesTimestamps[tokenAddress]);
emit TokenPriceUpdated(tokenAddress, newPrice, _cachedPrice, cachedPricesTimestamps[tokenAddress]);
return newPrice;
}

Expand Down

0 comments on commit b612981

Please sign in to comment.