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

postOpsCall

function postOpsCall(bool solved, bytes data) external payable

allocateValueCall

function allocateValueCall(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)

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)

preOpsDelegated

function preOpsDelegated() external view returns (bool delegated)

userDelegated

function userDelegated() external view returns (bool delegated)

allocatingDelegated

function allocatingDelegated() external view returns (bool delegated)

verificationDelegated

function verificationDelegated() external view returns (bool delegated)

CALL_CONFIG

function CALL_CONFIG() external view returns (uint32)

transferGovernance

function transferGovernance(address newGovernance) external

acceptGovernance

function acceptGovernance() external