2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
loop/loopdb/sqlc/querier.go

53 lines
2.8 KiB
Go
Raw Normal View History

2023-05-17 17:03:51 +00:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
2024-03-20 12:57:11 +00:00
// sqlc v1.25.0
2023-05-17 17:03:51 +00:00
package sqlc
import (
"context"
)
type Querier interface {
ConfirmBatch(ctx context.Context, id int32) error
2023-10-18 07:25:23 +00:00
CreateReservation(ctx context.Context, arg CreateReservationParams) error
DropBatch(ctx context.Context, id int32) error
2023-05-17 17:03:51 +00:00
FetchLiquidityParams(ctx context.Context) ([]byte, error)
GetBatchSweeps(ctx context.Context, batchID int32) ([]Sweep, error)
GetBatchSweptAmount(ctx context.Context, batchID int32) (int64, error)
2023-11-21 14:50:21 +00:00
GetInstantOutSwap(ctx context.Context, swapHash []byte) (GetInstantOutSwapRow, error)
GetInstantOutSwapUpdates(ctx context.Context, swapHash []byte) ([]InstantoutUpdate, error)
GetInstantOutSwaps(ctx context.Context) ([]GetInstantOutSwapsRow, error)
GetLastUpdateID(ctx context.Context, swapHash []byte) (int32, error)
2023-05-17 17:03:51 +00: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)
GetMigration(ctx context.Context, migrationID string) (MigrationTracker, error)
GetParentBatch(ctx context.Context, swapHash []byte) (SweepBatch, error)
2023-10-18 07:25:23 +00: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 17:03:51 +00: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 17:03:51 +00:00
InsertHtlcKeys(ctx context.Context, arg InsertHtlcKeysParams) error
2023-11-21 14:50:21 +00:00
InsertInstantOut(ctx context.Context, arg InsertInstantOutParams) error
InsertInstantOutUpdate(ctx context.Context, arg InsertInstantOutUpdateParams) error
2023-05-17 17:03:51 +00:00
InsertLoopIn(ctx context.Context, arg InsertLoopInParams) error
InsertLoopOut(ctx context.Context, arg InsertLoopOutParams) error
InsertMigration(ctx context.Context, arg InsertMigrationParams) error
2023-10-18 07:25:23 +00:00
InsertReservationUpdate(ctx context.Context, arg InsertReservationUpdateParams) error
2023-05-17 17:03:51 +00:00
InsertSwap(ctx context.Context, arg InsertSwapParams) error
InsertSwapUpdate(ctx context.Context, arg InsertSwapUpdateParams) error
OverrideSwapCosts(ctx context.Context, arg OverrideSwapCostsParams) error
UpdateBatch(ctx context.Context, arg UpdateBatchParams) error
2023-11-21 14:50:21 +00:00
UpdateInstantOut(ctx context.Context, arg UpdateInstantOutParams) error
2023-10-18 07:25:23 +00:00
UpdateReservation(ctx context.Context, arg UpdateReservationParams) error
2023-05-17 17:03:51 +00:00
UpsertLiquidityParams(ctx context.Context, params []byte) error
UpsertSweep(ctx context.Context, arg UpsertSweepParams) error
2023-05-17 17:03:51 +00:00
}
var _ Querier = (*Queries)(nil)