Skip to main content

ISolverContract

The ISolverContract interface defines the functions that solvers must implement to interact with the Atlas Protocol. It enables solvers to submit their solutions for user operations.

Functions

atlasSolverCall

function atlasSolverCall(
address solverOpFrom,
address executionEnvironment,
address bidToken,
uint256 bidAmount,
bytes calldata solverOpData,
bytes calldata extraReturnData
) external payable;

Submits a solver's solution to the Atlas Protocol.

Parameters

NameTypeDescription
solverOpFromaddressThe address initiating the solver operation.
executionEnvironmentaddressThe address of the Execution Environment.
bidTokenaddressThe token used for bidding.
bidAmountuint256The amount of tokens bid.
solverOpDatabytesThe data associated with the solver operation.
extraReturnDatabytesAdditional data to return after execution.
payable-Ether sent with the call (if any).