loop/loopdb/sqlc/querier.go

46 lines
2.4 KiB
Go
Raw Normal View History

2023-05-17 19:03:51 +02:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.17.2
package sqlc
import (
"context"
)
type Querier interface {
ConfirmBatch(ctx context.Context, id int32) error
2023-10-18 09:25:23 +02:00
CreateReservation(ctx context.Context, arg CreateReservationParams) error
2023-05-17 19:03:51 +02:00
FetchLiquidityParams(ctx context.Context) ([]byte, error)
GetBatchSweeps(ctx context.Context, batchID int32) ([]GetBatchSweepsRow, error)
2023-11-21 15:50:21 +01:00
GetInstantOutSwap(ctx context.Context, swapHash []byte) (GetInstantOutSwapRow, error)
GetInstantOutSwapUpdates(ctx context.Context, swapHash []byte) ([]InstantoutUpdate, error)
GetInstantOutSwaps(ctx context.Context) ([]GetInstantOutSwapsRow, error)
2023-05-17 19:03:51 +02:00
GetLoopInSwap(ctx context.Context, swapHash []byte) (GetLoopInSwapRow, error)
GetLoopInSwaps(ctx context.Context) ([]GetLoopInSwapsRow, error)
GetLoopOutSwap(ctx context.Context, swapHash []byte) (GetLoopOutSwapRow, error)
GetLoopOutSwaps(ctx context.Context) ([]GetLoopOutSwapsRow, error)
2023-10-18 09:25:23 +02:00
GetReservation(ctx context.Context, reservationID []byte) (Reservation, error)
GetReservationUpdates(ctx context.Context, reservationID []byte) ([]ReservationUpdate, error)
GetReservations(ctx context.Context) ([]Reservation, error)
2023-05-17 19:03:51 +02:00
GetSwapUpdates(ctx context.Context, swapHash []byte) ([]SwapUpdate, error)
GetSweepStatus(ctx context.Context, swapHash []byte) (bool, error)
GetUnconfirmedBatches(ctx context.Context) ([]SweepBatch, error)
InsertBatch(ctx context.Context, arg InsertBatchParams) (int32, error)
2023-05-17 19:03:51 +02:00
InsertHtlcKeys(ctx context.Context, arg InsertHtlcKeysParams) error
2023-11-21 15:50:21 +01:00
InsertInstantOut(ctx context.Context, arg InsertInstantOutParams) error
InsertInstantOutUpdate(ctx context.Context, arg InsertInstantOutUpdateParams) error
2023-05-17 19:03:51 +02:00
InsertLoopIn(ctx context.Context, arg InsertLoopInParams) error
InsertLoopOut(ctx context.Context, arg InsertLoopOutParams) error
2023-10-18 09:25:23 +02:00
InsertReservationUpdate(ctx context.Context, arg InsertReservationUpdateParams) error
2023-05-17 19:03:51 +02:00
InsertSwap(ctx context.Context, arg InsertSwapParams) error
InsertSwapUpdate(ctx context.Context, arg InsertSwapUpdateParams) error
UpdateBatch(ctx context.Context, arg UpdateBatchParams) error
2023-11-21 15:50:21 +01:00
UpdateInstantOut(ctx context.Context, arg UpdateInstantOutParams) error
2023-10-18 09:25:23 +02:00
UpdateReservation(ctx context.Context, arg UpdateReservationParams) error
2023-05-17 19:03:51 +02:00
UpsertLiquidityParams(ctx context.Context, params []byte) error
UpsertSweep(ctx context.Context, arg UpsertSweepParams) error
2023-05-17 19:03:51 +02:00
}
var _ Querier = (*Queries)(nil)