FUZD / fuzd-executor / ExecutorStorage
Interface: ExecutorStorage<TransactionDataType>
Type Parameters
• TransactionDataType
Methods
clear()
clear():
Promise
<void
>
Returns
Promise
<void
>
Defined in
types/executor-storage.ts:53
createBroadcaster()
createBroadcaster(
broadcaster
):Promise
<void
>
Parameters
broadcaster
Returns
Promise
<void
>
Defined in
types/executor-storage.ts:52
createOrUpdatePendingExecutionAndUpdateNonceIfNeeded()
createOrUpdatePendingExecutionAndUpdateNonceIfNeeded(
executionToStore
,asPaymentFor
?):Promise
<PendingExecutionStored
<TransactionDataType
>>
Parameters
executionToStore
PendingExecutionStored
<TransactionDataType
>
asPaymentFor?
account
batchIndex
number
chainId
slot
string
upToGasPrice
bigint
Returns
Promise
<PendingExecutionStored
<TransactionDataType
>>
Defined in
types/executor-storage.ts:29
deletePendingExecution()
deletePendingExecution(
params
):Promise
<void
>
Parameters
params
account
batchIndex
number
chainId
slot
string
Returns
Promise
<void
>
Defined in
types/executor-storage.ts:23
getAllExecutions()
getAllExecutions(
params
):Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Parameters
params
limit
number
Returns
Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Defined in
types/executor-storage.ts:48
getBroadcaster()
getBroadcaster(
params
):Promise
<undefined
|BroadcasterData
>
Parameters
params
address
string
chainId
Returns
Promise
<undefined
| BroadcasterData
>
Defined in
types/executor-storage.ts:51
getExpectedWorstCaseGasPrice()
getExpectedWorstCaseGasPrice(
chainId
):Promise
<ExpectedWorstCaseGasPrice
>
Parameters
chainId
Returns
Promise
<ExpectedWorstCaseGasPrice
>
Defined in
types/executor-storage.ts:55
getPendingExecution()
getPendingExecution(
params
):Promise
<undefined
|PendingExecutionStored
<TransactionDataType
>>
Parameters
params
account
batchIndex
number
chainId
slot
string
Returns
Promise
<undefined
| PendingExecutionStored
<TransactionDataType
>>
Defined in
types/executor-storage.ts:10
getPendingExecutionBatch()
getPendingExecutionBatch(
params
):Promise
<undefined
|PendingExecutionStored
<TransactionDataType
>[]>
Parameters
params
account
chainId
slot
string
Returns
Promise
<undefined
| PendingExecutionStored
<TransactionDataType
>[]>
Defined in
types/executor-storage.ts:17
getPendingExecutions()
getPendingExecutions(
params
):Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Parameters
params
limit
number
Returns
Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Defined in
types/executor-storage.ts:39
getPendingExecutionsPerBroadcaster()
getPendingExecutionsPerBroadcaster(
broadcasterData
,params
):Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Parameters
broadcasterData
broadcaster
chainId
params
limit
number
Returns
Promise
<PendingExecutionStored
<TransactionDataType
>[]>
Defined in
types/executor-storage.ts:40
setup()
setup():
Promise
<void
>
Returns
Promise
<void
>
Defined in
types/executor-storage.ts:54
updateExpectedWorstCaseGasPrice()
updateExpectedWorstCaseGasPrice(
chainId
,timestamp
,newGasPrice
):Promise
<ExpectedWorstCaseGasPrice
>
Parameters
chainId
timestamp
number
newGasPrice
bigint
Returns
Promise
<ExpectedWorstCaseGasPrice
>
Defined in
types/executor-storage.ts:56