Skip to content

FUZD / fuzd-scheduler / SchedulerStorage

Interface: SchedulerStorage<TransactionDataType>

Type Parameters

TransactionDataType

Methods

archiveExecution()

archiveExecution(executionToStore): Promise<void>

Parameters

executionToStore

ScheduledExecutionQueued<TransactionDataType>

Returns

Promise<void>

Defined in

types/scheduler-storage.ts:31


clear()

clear(): Promise<void>

Returns

Promise<void>

Defined in

types/scheduler-storage.ts:53


createOrUpdateQueuedExecution()

createOrUpdateQueuedExecution(executionToStore): Promise<ScheduledExecutionQueued<TransactionDataType>>

Parameters

executionToStore

ScheduledExecutionQueued<TransactionDataType>

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>>

Defined in

types/scheduler-storage.ts:32


deleteExecution()

deleteExecution(params): Promise<void>

Parameters

params
account

String0x

chainId

String0x

slot

string

Returns

Promise<void>

Defined in

types/scheduler-storage.ts:30


getAccountArchivedSubmissions()

getAccountArchivedSubmissions(account, params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

account

String0x

params
limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:49


getAccountSubmissions()

getAccountSubmissions(account, params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

account

String0x

params
limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:45


getAllExecutions()

getAllExecutions(params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

params
limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:44


getQueuedExecution()

getQueuedExecution(params): Promise<undefined | ScheduledExecutionQueued<TransactionDataType>>

Parameters

params
account

String0x

chainId

String0x

slot

string

Returns

Promise<undefined | ScheduledExecutionQueued<TransactionDataType>>

Defined in

types/scheduler-storage.ts:21


getQueuedExecutionsForAccount()

getQueuedExecutionsForAccount(params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

params
account

String0x

chainId

String0x

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:26


getQueueTopMostExecutions()

getQueueTopMostExecutions(params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

params
limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:35


getUnFinalizedBroadcastedScheduledExecutions()

getUnFinalizedBroadcastedScheduledExecutions(params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

params
limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:36


getUnFinalizedScheduledExecutionsPerAccount()

getUnFinalizedScheduledExecutionsPerAccount(params): Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Parameters

params
account

String0x

chainId

String0x

limit

number

Returns

Promise<ScheduledExecutionQueued<TransactionDataType>[]>

Defined in

types/scheduler-storage.ts:39


setup()

setup(): Promise<void>

Returns

Promise<void>

Defined in

types/scheduler-storage.ts:54