diff --git a/contracts/interfaces/IBiconomyTokenPaymaster.sol b/contracts/interfaces/IBiconomyTokenPaymaster.sol index 0902b7b..2671488 100644 --- a/contracts/interfaces/IBiconomyTokenPaymaster.sol +++ b/contracts/interfaces/IBiconomyTokenPaymaster.sol @@ -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; diff --git a/contracts/token/BiconomyTokenPaymaster.sol b/contracts/token/BiconomyTokenPaymaster.sol index ae35eff..4a861e1 100644 --- a/contracts/token/BiconomyTokenPaymaster.sol +++ b/contracts/token/BiconomyTokenPaymaster.sol @@ -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; }