Skip to content

Conversation

0xRiz0
Copy link
Contributor

@0xRiz0 0xRiz0 commented Oct 3, 2025

Description

This PR enhances the TestArbitrage contract with full trade lifecycle tracking by introducing two new events:


✅ Added Events

TradeInitiated

Emitted at the start of an arbitrage attempt, providing complete context on routing and flash loan parameters.

event TradeInitiated(
    uint256 indexed tradeId,
    address indexed tokenIn,
    address indexed tokenOut,
    uint256 flashAmount,
    address router1,
    address router2,
    address initiator
);

@0xRiz0 0xRiz0 self-assigned this Oct 3, 2025
@0xRiz0 0xRiz0 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 3, 2025
@0xRiz0 0xRiz0 merged commit d15fa21 into main Oct 3, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant