@@ -182,6 +182,68 @@ abstract contract SpokePool is
182182 event PausedDeposits (bool isPaused );
183183 event PausedFills (bool isPaused );
184184
185+ /// EVENTS BELOW ARE DEPRECATED AND EXIST FOR BACKWARDS COMPATIBILITY ONLY.
186+ /// @custom:audit FOLLOWING EVENT TO BE DEPRECATED
187+ event FundsDeposited (
188+ uint256 amount ,
189+ uint256 originChainId ,
190+ uint256 indexed destinationChainId ,
191+ int64 relayerFeePct ,
192+ uint32 indexed depositId ,
193+ uint32 quoteTimestamp ,
194+ address originToken ,
195+ address recipient ,
196+ address indexed depositor ,
197+ bytes message
198+ );
199+ /// @custom:audit FOLLOWING EVENT TO BE DEPRECATED
200+ event RequestedSpeedUpDeposit (
201+ int64 newRelayerFeePct ,
202+ uint32 indexed depositId ,
203+ address indexed depositor ,
204+ address updatedRecipient ,
205+ bytes updatedMessage ,
206+ bytes depositorSignature
207+ );
208+ /// @custom:audit FOLLOWING EVENT TO BE DEPRECATED
209+ event FilledRelay (
210+ uint256 amount ,
211+ uint256 totalFilledAmount ,
212+ uint256 fillAmount ,
213+ uint256 repaymentChainId ,
214+ uint256 indexed originChainId ,
215+ uint256 destinationChainId ,
216+ int64 relayerFeePct ,
217+ int64 realizedLpFeePct ,
218+ uint32 indexed depositId ,
219+ address destinationToken ,
220+ address relayer ,
221+ address indexed depositor ,
222+ address recipient ,
223+ bytes message ,
224+ RelayExecutionInfo updatableRelayData
225+ );
226+ /**
227+ * @notice Packs together information to include in FilledRelay event.
228+ * @dev This struct is emitted as opposed to its constituent parameters due to the limit on number of
229+ * parameters in an event.
230+ * @param recipient Recipient of the relayed funds.
231+ * @param message Message included in the relay.
232+ * @param relayerFeePct Relayer fee pct used for this relay.
233+ * @param isSlowRelay Whether this is a slow relay.
234+ * @param payoutAdjustmentPct Adjustment to the payout amount.
235+ */
236+ /// @custom:audit FOLLOWING STRUCT TO BE DEPRECATED
237+ struct RelayExecutionInfo {
238+ address recipient;
239+ bytes message;
240+ int64 relayerFeePct;
241+ bool isSlowRelay;
242+ int256 payoutAdjustmentPct;
243+ }
244+
245+ /// EVENTS ABOVE ARE DEPRECATED AND EXIST FOR BACKWARDS COMPATIBILITY ONLY.
246+
185247 /**
186248 * @notice Construct the SpokePool. Normally, logic contracts used in upgradeable proxies shouldn't
187249 * have constructors since the following code will be executed within the logic contract's state, not the
0 commit comments