Skip to content

Implement MEV-aware arbitrage detection #195

Description

@Kevin737866

Description

Detect arbitrage opportunities while accounting for MEV (sandwich attacks, frontrunning) and only signal opportunities with net positive expected profit after MEV costs.

Acceptance Criteria

  • Profit calculation includes estimated MEV cost
  • MEV cost estimated from recent block history
  • Only opportunities with profit above MEV cost plus gas are signaled
  • Configurable MEV buffer percentage
  • MEV events for monitoring market conditions

Files to Modify

  • src/contracts/arbitrage.rs -- add MEV-aware detection
  • src/types/stablecoin.rs -- add MEVCost type
  • examples/ -- MEV-aware arbitrage example

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions