loopdb+sweepbatcher: add the DropBatch call

This commit is contained in:
Andras Banki-Horvath 2024-05-24 16:20:50 +02:00
parent 38f0e3a1f5
commit 939c9b4ccf
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
5 changed files with 41 additions and 0 deletions

View file

@ -11,6 +11,7 @@ import (
type Querier interface {
ConfirmBatch(ctx context.Context, id int32) error
CreateReservation(ctx context.Context, arg CreateReservationParams) error
DropBatch(ctx context.Context, id int32) error
FetchLiquidityParams(ctx context.Context) ([]byte, error)
GetBatchSweeps(ctx context.Context, batchID int32) ([]GetBatchSweepsRow, error)
GetBatchSweptAmount(ctx context.Context, batchID int32) (int64, error)