// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.30.0

package queries

import (
	"database/sql"
)

type CheckpointTx struct {
	Txid                 string
	Tx                   string
	CommitmentTxid       string
	IsRootCommitmentTxid bool
	OffchainTxid         string
}

type Conviction struct {
	ID           string
	Type         int64
	CreatedAt    int64
	ExpiresAt    sql.NullInt64
	CrimeType    int64
	CrimeRoundID string
	CrimeReason  string
	Pardoned     bool
	Script       sql.NullString
}

type Intent struct {
	ID      sql.NullString
	RoundID sql.NullString
	Proof   sql.NullString
	Message sql.NullString
}

type IntentWithInputsVw struct {
	Txid           sql.NullString
	Vout           sql.NullInt64
	Pubkey         sql.NullString
	Amount         sql.NullInt64
	ExpiresAt      sql.NullInt64
	CreatedAt      sql.NullInt64
	CommitmentTxid sql.NullString
	SpentBy        sql.NullString
	Spent          sql.NullBool
	Unrolled       sql.NullBool
	Swept          sql.NullBool
	Preconfirmed   sql.NullBool
	SettledBy      sql.NullString
	ArkTxid        sql.NullString
	IntentID       sql.NullString
	Commitments    interface{}
	ID             sql.NullString
	RoundID        sql.NullString
	Proof          sql.NullString
	Message        sql.NullString
}

type IntentWithReceiversVw struct {
	IntentID       sql.NullString
	Pubkey         sql.NullString
	OnchainAddress sql.NullString
	Amount         sql.NullInt64
	ID             sql.NullString
	RoundID        sql.NullString
	Proof          sql.NullString
	Message        sql.NullString
}

type OffchainTx struct {
	Txid              string
	Tx                string
	StartingTimestamp int64
	EndingTimestamp   int64
	ExpiryTimestamp   int64
	FailReason        sql.NullString
	StageCode         int64
}

type OffchainTxVw struct {
	Txid                 string
	Tx                   string
	StartingTimestamp    int64
	EndingTimestamp      int64
	ExpiryTimestamp      int64
	FailReason           sql.NullString
	StageCode            int64
	CheckpointTxid       string
	CheckpointTx         string
	CommitmentTxid       string
	IsRootCommitmentTxid bool
	OffchainTxid         string
}

type Receiver struct {
	IntentID       string
	Pubkey         sql.NullString
	OnchainAddress string
	Amount         int64
}

type Round struct {
	ID                 string
	StartingTimestamp  int64
	EndingTimestamp    int64
	Ended              bool
	Failed             bool
	StageCode          int64
	ConnectorAddress   string
	Version            int64
	Swept              bool
	VtxoTreeExpiration int64
	FailReason         sql.NullString
}

type RoundIntentsVw struct {
	ID      sql.NullString
	RoundID sql.NullString
	Proof   sql.NullString
	Message sql.NullString
}

type RoundTxsVw struct {
	Txid     sql.NullString
	Tx       sql.NullString
	RoundID  sql.NullString
	Type     sql.NullString
	Position sql.NullInt64
	Children sql.NullString
}

type RoundWithCommitmentTxVw struct {
	ID                 string
	StartingTimestamp  int64
	EndingTimestamp    int64
	Ended              bool
	Failed             bool
	StageCode          int64
	ConnectorAddress   string
	Version            int64
	Swept              bool
	VtxoTreeExpiration int64
	FailReason         sql.NullString
	Txid               string
	Tx                 string
	RoundID            string
	Type               string
	Position           int64
	Children           sql.NullString
}

type ScheduledSession struct {
	ID                   int64
	StartTime            int64
	EndTime              int64
	Period               int64
	Duration             int64
	RoundMinParticipants int64
	RoundMaxParticipants int64
	UpdatedAt            int64
}

type Tx struct {
	Txid     string
	Tx       string
	RoundID  string
	Type     string
	Position int64
	Children sql.NullString
}

type Vtxo struct {
	Txid           string
	Vout           int64
	Pubkey         string
	Amount         int64
	ExpiresAt      int64
	CreatedAt      int64
	CommitmentTxid string
	SpentBy        sql.NullString
	Spent          bool
	Unrolled       bool
	Swept          bool
	Preconfirmed   bool
	SettledBy      sql.NullString
	ArkTxid        sql.NullString
	IntentID       sql.NullString
}

type VtxoCommitmentTxid struct {
	VtxoTxid       string
	VtxoVout       int64
	CommitmentTxid string
}

type VtxoVw struct {
	Txid           string
	Vout           int64
	Pubkey         string
	Amount         int64
	ExpiresAt      int64
	CreatedAt      int64
	CommitmentTxid string
	SpentBy        sql.NullString
	Spent          bool
	Unrolled       bool
	Swept          bool
	Preconfirmed   bool
	SettledBy      sql.NullString
	ArkTxid        sql.NullString
	IntentID       sql.NullString
	Commitments    interface{}
}
