Skip to main content

Solidity API

AtlasErrors

SimulatorBalanceTooLow

error SimulatorBalanceTooLow()

Unauthorized

error Unauthorized()

Unreachable

error Unreachable()

NoAuctionWinner

error NoAuctionWinner()

InvalidEntryFunction

error InvalidEntryFunction()

SimulationPassed

error SimulationPassed()

UserSimulationFailed

error UserSimulationFailed()

UserSimulationSucceeded

error UserSimulationSucceeded()

UserUnexpectedSuccess

error UserUnexpectedSuccess()

UserNotFulfilled

error UserNotFulfilled()

BidFindSuccessful

error BidFindSuccessful(uint256 bidAmount)

UnexpectedNonRevert

error UnexpectedNonRevert()

InvalidSolver

error InvalidSolver()

BidNotPaid

error BidNotPaid()

InvertedBidExceedsCeiling

error InvertedBidExceedsCeiling()

BalanceNotReconciled

error BalanceNotReconciled()

SolverOpReverted

error SolverOpReverted()

AlteredControl

error AlteredControl()

InvalidEntry

error InvalidEntry()

CallbackNotCalled

error CallbackNotCalled()

PreSolverFailed

error PreSolverFailed()

PostSolverFailed

error PostSolverFailed()

InsufficientEscrow

error InsufficientEscrow()

VerificationSimFail

error VerificationSimFail(enum ValidCallsResult)

PreOpsSimFail

error PreOpsSimFail()

UserOpSimFail

error UserOpSimFail()

SolverSimFail

error SolverSimFail(uint256 solverOutcomeResult)

AllocateValueSimFail

error AllocateValueSimFail()

ValidCalls

error ValidCalls(enum ValidCallsResult)

InsufficientGasForMetacallSimulation

error InsufficientGasForMetacallSimulation(uint256 estimatedMetacallGas, uint256 suggestedSimGas)

InvalidUser

error InvalidUser()

InvalidTo

error InvalidTo()

InvalidCodeHash

error InvalidCodeHash()

PreOpsDelegatecallFail

error PreOpsDelegatecallFail()

UserOpValueExceedsBalance

error UserOpValueExceedsBalance()

UserWrapperDelegatecallFail

error UserWrapperDelegatecallFail()

UserWrapperCallFail

error UserWrapperCallFail()

AllocateValueDelegatecallFail

error AllocateValueDelegatecallFail()

NotEnvironmentOwner

error NotEnvironmentOwner()

ExecutionEnvironmentBalanceTooLow

error ExecutionEnvironmentBalanceTooLow()

PreOpsFail

error PreOpsFail()

UserOpFail

error UserOpFail()

AllocateValueFail

error AllocateValueFail()

InvalidAccess

error InvalidAccess()

UncoveredResult

error UncoveredResult()

InvalidEscrowDuration

error InvalidEscrowDuration()

DAppGasLimitReached

error DAppGasLimitReached()

EscrowLockActive

error EscrowLockActive()

InsufficientBalanceForDeduction

error InsufficientBalanceForDeduction(uint256 balance, uint256 requested)

OnlyGovernance

error OnlyGovernance()

SignatoryActive

error SignatoryActive()

InvalidCaller

error InvalidCaller()

InvalidDAppControl

error InvalidDAppControl()

DAppNotEnabled

error DAppNotEnabled()

AtlasLockActive

error AtlasLockActive()

InvalidEnvironment

error InvalidEnvironment()

EnvironmentMismatch

error EnvironmentMismatch()

InvalidLockState

error InvalidLockState()

InvalidExecutionEnvironment

error InvalidExecutionEnvironment(address correctEnvironment)

InsufficientAtlETHBalance

error InsufficientAtlETHBalance(uint256 actual, uint256 needed)

InsufficientTotalBalance

error InsufficientTotalBalance(uint256 shortfall)

BorrowsNotRepaid

error BorrowsNotRepaid(uint256 borrows, uint256 repays)

AssignDeficitTooLarge

error AssignDeficitTooLarge(uint256 deficit, uint256 bundlerRefund)

NotInitialized

error NotInitialized()

AlreadyInitialized

error AlreadyInitialized()

SurchargeRateTooHigh

error SurchargeRateTooHigh()

NoUnusedNonceInBitmap

error NoUnusedNonceInBitmap()

BothUserAndDAppNoncesCannotBeSequential

error BothUserAndDAppNoncesCannotBeSequential()

BothPreOpsAndUserReturnDataCannotBeTracked

error BothPreOpsAndUserReturnDataCannotBeTracked()

InvalidControl

error InvalidControl()

NoDelegatecall

error NoDelegatecall()

MustBeDelegatecalled

error MustBeDelegatecalled()

OnlyAtlas

error OnlyAtlas()

WrongPhase

error WrongPhase()

WrongDepth

error WrongDepth()

InsufficientLocalFunds

error InsufficientLocalFunds()

NotImplemented

error NotImplemented()

InvertBidValueCannotBeExPostBids

error InvertBidValueCannotBeExPostBids()