Skip to main content

Solidity API

IDAppControl

preOpsCall

function preOpsCall(struct UserOperation userOp) external payable returns (bytes)

preSolverCall

function preSolverCall(struct SolverOperation solverOp, bytes returnData) external payable

postSolverCall

function postSolverCall(struct SolverOperation solverOp, bytes returnData) external payable

allocateValueCall

function allocateValueCall(bool solved, address bidToken, uint256 bidAmount, bytes data) external

getDAppConfig

function getDAppConfig(struct UserOperation userOp) external view returns (struct DAppConfig dConfig)

getCallConfig

function getCallConfig() external view returns (struct CallConfig callConfig)

CALL_CONFIG

function CALL_CONFIG() external view returns (uint32)

getSolverGasLimit

function getSolverGasLimit() external view returns (uint32)

getDAppGasLimit

function getDAppGasLimit() external view returns (uint32)

getBidFormat

function getBidFormat(struct UserOperation userOp) external view returns (address bidToken)

getBidValue

function getBidValue(struct SolverOperation solverOp) external view returns (uint256)

getDAppSignatory

function getDAppSignatory() external view returns (address governanceAddress)

requireSequentialUserNonces

function requireSequentialUserNonces() external view returns (bool isSequential)

requireSequentialDAppNonces

function requireSequentialDAppNonces() external view returns (bool isSequential)

userDelegated

function userDelegated() external view returns (bool delegated)

transferGovernance

function transferGovernance(address newGovernance) external

acceptGovernance

function acceptGovernance() external