From 3d0bb36231964448c3e656e03fda8775b089744b Mon Sep 17 00:00:00 2001 From: Shawn Rizo Date: Tue, 10 Jun 2025 15:10:43 -0400 Subject: [PATCH] Edit: README.md Update Key Functions Section By Adding Events' --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 94bcbc3..5be8d4d 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,23 @@ The `Arbitrage` contract is the core of the FlashArbAI project. It implements th - `_amountOut`: Minimum amount of output tokens expected. - `_fee`: Pool fee for the swap. +### Events +```solidity +event TokensSwapped( + address indexed tokenIn, + address indexed tokenOut, + uint256 amountIn, + uint256 amountOut +); + +event ArbitrageExecuted( + address indexed tokenA, + address indexed tokenB, + uint256 profit, + uint256 gasUsed +); +``` + ## Setup Instructions ### Prerequisites