Searcher Contract Integration
Last updated
Last updated
Solver deploys their Solver Contract that implements ISolverContract
The interactions between the Atlas Contract and the Solver Contract in the execution of MEV strategies are vital for successful transactions in the FastLane network. The process involves several key steps to ensure efficient and timely execution.
Payout Mechanism: The Solver Contract reimburses the Atlas Contract by returning the BidAmount
after the successful completion of a task.
Execution of MEV Strategies: Utilizing the solverOpData
, the Solver Contract deploys specific MEV strategies. This involves the internal execution of the solver()
function.
Initiation by Atlas: The Atlas Contract triggers the execution by calling the atlasSolverCall
function on the Solver Contract.
Bundle Submission:
The FastLane Auctioneer submits the victorious bundle directly to the validator via the Atlas Contract.
The FastLane Relay ensures the bundle is efficiently propagated to the FastLane Auctioneer.
Network Integration: The Solver submits its bundle to the FastLane Relay Network to facilitate the overall process.
Deployment of Contracts: To partake in this ecosystem, Solvers must deploy their own Solver Contracts, incorporating the ISolverContract
interface, to implement the necessary operations effectively.
Atlas is a specialized Execution Abstraction protocol created by FastLane Labs to streamline the deployment of application-specific backrun auction processes. It enhances transaction efficiency and optimizes value retention in blockchain systems.
Atlas Solver Execution - Core Flow:
Security First
Validates solver is bonded
Validate signature for solverOperation
Execution
Atlas calls solver through atlasSolverCall
Solver executes MEV strategy using calldata
Must implement atlasSolverCall
function
Payment
Solver must pay specified bidAmount
back to Atlas
Atlas will try each solver until bid is paid
For our sample solver contract, we suggest keeping the logic minimal. Implement an additional function to manage the MeV (Miner Extractable Value) strategy. Atlas will loop through each solver's solution, ordered by their bidAmount
.
Searcher can choose how they want to implement their solver contract.
1) Direct Method
Implement MEV strategy inside the contract which implements the ISolverContract
interface
2) Proxy Method
Implement MEV strategy external to the contract which implement the ISolverContract
interface