Skip to main content

Solidity API

IAtlasVerification​

validateCalls​

function validateCalls(struct DAppConfig dConfig, struct UserOperation userOp, struct SolverOperation[] solverOps, struct DAppOperation dAppOp, uint256 metacallGasLeft, uint256 msgValue, address msgSender, bool isSimulation) external returns (uint256 allSolversGasLimit, uint256 allSolversCalldataGas, uint256 bidFindOverhead, enum ValidCallsResult verifyCallsResult)

verifySolverOp​

function verifySolverOp(struct SolverOperation solverOp, bytes32 userOpHash, uint256 userMaxFeePerGas, address bundler, bool allowsTrustedOpHash) external view returns (uint256 result)

verifyCallConfig​

function verifyCallConfig(uint32 callConfig) external view returns (enum ValidCallsResult)

getUserOperationHash​

function getUserOperationHash(struct UserOperation userOp) external view returns (bytes32 hash)

getUserOperationPayload​

function getUserOperationPayload(struct UserOperation userOp) external view returns (bytes32 payload)

getSolverPayload​

function getSolverPayload(struct SolverOperation solverOp) external view returns (bytes32 payload)

getDAppOperationPayload​

function getDAppOperationPayload(struct DAppOperation dAppOp) external view returns (bytes32 payload)

getDomainSeparator​

function getDomainSeparator() external view returns (bytes32 domainSeparator)

getUserNextNonce​

function getUserNextNonce(address user, bool sequential) external view returns (uint256 nextNonce)

getUserNextNonSeqNonceAfter​

function getUserNextNonSeqNonceAfter(address user, uint256 refNonce) external view returns (uint256)

getDAppNextNonce​

function getDAppNextNonce(address dApp) external view returns (uint256 nextNonce)

userSequentialNonceTrackers​

function userSequentialNonceTrackers(address account) external view returns (uint256 lastUsedSeqNonce)

dAppSequentialNonceTrackers​

function dAppSequentialNonceTrackers(address account) external view returns (uint256 lastUsedSeqNonce)

userNonSequentialNonceTrackers​

function userNonSequentialNonceTrackers(address account, uint248 wordIndex) external view returns (uint256 bitmap)

initializeGovernance​

function initializeGovernance(address control) external

addSignatory​

function addSignatory(address control, address signatory) external

removeSignatory​

function removeSignatory(address control, address signatory) external

changeDAppGovernance​

function changeDAppGovernance(address oldGovernance, address newGovernance) external

disableDApp​

function disableDApp(address control) external

getGovFromControl​

function getGovFromControl(address control) external view returns (address)

isDAppSignatory​

function isDAppSignatory(address control, address signatory) external view returns (bool)

signatories​

function signatories(bytes32 key) external view returns (bool)

dAppSignatories​

function dAppSignatories(address control) external view returns (address[])