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
Name | Type | Description |
---|---|---|
solverOpFrom | address | The address initiating the solver operation. |
executionEnvironment | address | The address of the Execution Environment. |
bidToken | address | The token used for bidding. |
bidAmount | uint256 | The amount of tokens bid. |
solverOpData | bytes | The data associated with the solver operation. |
extraReturnData | bytes | Additional data to return after execution. |
payable | - | Ether sent with the call (if any). |