Errors

Herein errors raised in both RanDAO and Flashbots implementations are listed. Modifiers are presented with superior clarity on the corresponding page.

Common errors

These errors are shared in principle by RanDAO and Flashbots implementations since they inherit from the same contract (from Flashbots realisation, in fact).

OnlyOwner

//raised when an unauthorised user attempts to invoke Agent owner-only functions
error OnlyOwner();

Scope (modifiers that raise this error):

_assertOnlyOwner

NonEOASender

//raised when a non-EoA account attempts to invoke execute_44g58pv
error NonEOASender();

Scope (modifiers that raise this error):

_msg_sender_is_EoA_assertion

InsufficientKeeperStake

//raised when the keeper does not possess sufficient stake to cover the globally (Agent-level) demanded minimal amount 
error InsufficientKeeperStake();

Scope (modifiers that raise this error):

_executing_keeper_stake_sufficient_assertion

InsufficientJobScopedKeeperStake

Scope (modifiers that raise this error):

KeeperWorkerNotAuthorized

Scope (modifiers that raise this error):

InsufficientJobCredits

Scope (modifiers that raise this error):

InsufficientJobOwnerCredits

Scope (modifiers that raise this error):

InactiveJob

Scope (modifiers that raise this error):

JobIdOverflow

Scope (modifiers that raise this error):

OnlyJobOwner

Scope (modifiers that raise this error):

JobWithoutOwner

Scope (modifiers that raise this error):

MissingJobAddress

Scope (modifiers that raise this error):

MissingMaxBaseFeeGwei

Scope (modifiers that raise this error):

NoFixedNorPremiumPctReward

Scope (modifiers that raise this error):

CreditsDepositOverflow

Scope (modifiers that raise this error):

StakeAmountOverflow

Scope (modifiers that raise this error):

CreditsWithdrawalUnderflow

Scope (modifiers that raise this error):

MissingDeposit

Scope (modifiers that raise this error):

MissingAmount

Scope (modifiers that raise this error):

IntervalNotReached

Scope (modifiers that raise this error):

BaseFeeGtGasPrice

Scope (modifiers that raise this error):

InvalidCalldataSource

Scope (modifiers that raise this error):

MissingInputCalldata

Scope (modifiers that raise this error):

SelectorCheckFailed

Scope (modifiers that raise this error):

JobCallRevertedWithoutDetails

Scope (modifiers that raise this error):

_CustomTracebackErrorMessage

Scope (modifiers that raise this error):

InsufficientAmountToCoverSlashedStake

Scope (modifiers that raise this error):

AmountGtStake

Scope (modifiers that raise this error):

WithdrawalTimoutNotReached

Scope (modifiers that raise this error):

NoPendingWithdrawal

Scope (modifiers that raise this error):

WithdrawAmountExceedsAvailable

Scope (modifiers that raise this error):

JobShouldHaveInterval

Scope (modifiers that raise this error):

ResolverJobCantHaveInterval

Scope (modifiers that raise this error):

InvalidJobAddress

Scope (modifiers that raise this error):

InvalidKeeperId

Scope (modifiers that raise this error):

MissingResolverAddress

Scope (modifiers that raise this error):

NotSupportedByJobCalldataSource

Scope (modifiers that raise this error):

OnlyKeeperAdmin

Scope (modifiers that raise this error):

OnlyKeeperAdminOrJobOwner

Scope (modifiers that raise this error):

OnlyKeeperAdminOrWorker

Scope (modifiers that raise this error):

TimeoutTooBig

Scope (modifiers that raise this error):

FeeTooBig

Scope (modifiers that raise this error):

InsufficientAmount

Scope (modifiers that raise this error):

OnlyPendingOwner

Scope (modifiers that raise this error):

WorkerAlreadyAssigned

Scope (modifiers that raise this error):

RanDAO implementation errors

Herein errors specific to the RanDAO implementation are listed.

JobHasKeeperAssigned

Scope (modifiers that raise this error):

SlashingEpochBlocksTooLow

Scope (modifiers that raise this error):

InvalidPeriod1

Scope (modifiers that raise this error):

InvalidPeriod2

Scope (modifiers that raise this error):

InvalidSlashingFeeFixedCVP

Scope (modifiers that raise this error):

SlashingBpsGt5000Bps

Scope (modifiers that raise this error):

InvalidStakeDivisor

Scope (modifiers that raise this error):

InactiveKeeper

Scope (modifiers that raise this error):

KeeperIsAssignedToJobs

Scope (modifiers that raise this error):

OnlyCurrentSlasher

Scope (modifiers that raise this error):

OnlyReservedSlasher

Scope (modifiers that raise this error):

TooEarlyForSlashing

Scope (modifiers that raise this error):

SlashingNotInitiated

Scope (modifiers that raise this error):

SlashingNotInitiatedExecutionReverted

Scope (modifiers that raise this error):

KeeperCantSlash

Scope (modifiers that raise this error):

KeeperIsAlreadyActive

Scope (modifiers that raise this error):

KeeperIsAlreadyInactive

Scope (modifiers that raise this error):

UnexpectedCodeBlock

Scope (modifiers that raise this error):

InitiateSlashingUnexpectedError

Scope (modifiers that raise this error):

NonIntervalJob

Scope (modifiers that raise this error):

JobCheckResolverError

Scope (modifiers that raise this error):

JobCheckResolverReturnedFalse

Scope (modifiers that raise this error):

TooEarlyToReinitiateSlashing

Scope (modifiers that raise this error):

JobCheckCanBeExecuted

Scope (modifiers that raise this error):

JobCheckCanNotBeExecuted

Scope (modifiers that raise this error):

TooEarlyToRelease

Scope (modifiers that raise this error):

TooEarlyForActivationFinalization

Scope (modifiers that raise this error):

CantRelease

Scope (modifiers that raise this error):

ExecutionRevertedOnlyNextKeeper

Scope (modifiers that raise this error):

OnlyNextKeeper

Scope (modifiers that raise this error):

InsufficientKeeperStakeToSlash

Scope (modifiers that raise this error):

Last updated

Was this helpful?