mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
* Rename asp > server * Rename pool > round * Consolidate naming for pubkey/prvkey vars and types * Fix * Fix * Fix wasm * Rename congestionTree > vtxoTree * Fix wasm * Rename payment > request * Rename congestionTree > vtxoTree after syncing with master * Fix Send API in SDK * Fix wasm * Fix wasm * Fixes * Fixes after review * Fix * Fix naming * Fix * Fix e2e tests
136 lines
2.4 KiB
Go
136 lines
2.4 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
package queries
|
|
|
|
import (
|
|
"database/sql"
|
|
)
|
|
|
|
type Entity struct {
|
|
ID int64
|
|
NostrRecipient string
|
|
}
|
|
|
|
type EntityVtxo struct {
|
|
EntityID int64
|
|
VtxoTxid string
|
|
VtxoVout int64
|
|
}
|
|
|
|
type EntityVw struct {
|
|
ID int64
|
|
NostrRecipient string
|
|
VtxoTxid sql.NullString
|
|
VtxoVout sql.NullInt64
|
|
}
|
|
|
|
type MarketHour struct {
|
|
ID int64
|
|
StartTime int64
|
|
EndTime int64
|
|
Period int64
|
|
RoundInterval int64
|
|
UpdatedAt int64
|
|
}
|
|
|
|
type Note struct {
|
|
ID int64
|
|
}
|
|
|
|
type Receiver struct {
|
|
RequestID string
|
|
Pubkey sql.NullString
|
|
OnchainAddress sql.NullString
|
|
Amount int64
|
|
}
|
|
|
|
type RequestReceiverVw struct {
|
|
RequestID sql.NullString
|
|
Pubkey sql.NullString
|
|
OnchainAddress sql.NullString
|
|
Amount sql.NullInt64
|
|
}
|
|
|
|
type RequestVtxoVw struct {
|
|
Txid sql.NullString
|
|
Vout sql.NullInt64
|
|
Pubkey sql.NullString
|
|
Amount sql.NullInt64
|
|
RoundTx sql.NullString
|
|
SpentBy sql.NullString
|
|
Spent sql.NullBool
|
|
Redeemed sql.NullBool
|
|
Swept sql.NullBool
|
|
ExpireAt sql.NullInt64
|
|
CreatedAt sql.NullInt64
|
|
RequestID sql.NullString
|
|
RedeemTx sql.NullString
|
|
}
|
|
|
|
type Round struct {
|
|
ID string
|
|
StartingTimestamp int64
|
|
EndingTimestamp int64
|
|
Ended bool
|
|
Failed bool
|
|
StageCode int64
|
|
Txid string
|
|
UnsignedTx string
|
|
ConnectorAddress string
|
|
DustAmount int64
|
|
Version int64
|
|
Swept bool
|
|
}
|
|
|
|
type RoundRequestVw struct {
|
|
ID sql.NullString
|
|
RoundID sql.NullString
|
|
}
|
|
|
|
type RoundTxVw struct {
|
|
ID sql.NullInt64
|
|
Tx sql.NullString
|
|
RoundID sql.NullString
|
|
Type sql.NullString
|
|
Position sql.NullInt64
|
|
Txid sql.NullString
|
|
TreeLevel sql.NullInt64
|
|
ParentTxid sql.NullString
|
|
IsLeaf sql.NullBool
|
|
}
|
|
|
|
type Tx struct {
|
|
ID int64
|
|
Tx string
|
|
RoundID string
|
|
Type string
|
|
Position int64
|
|
Txid sql.NullString
|
|
TreeLevel sql.NullInt64
|
|
ParentTxid sql.NullString
|
|
IsLeaf sql.NullBool
|
|
}
|
|
|
|
type TxRequest struct {
|
|
ID string
|
|
RoundID string
|
|
}
|
|
|
|
type Vtxo struct {
|
|
Txid string
|
|
Vout int64
|
|
Pubkey string
|
|
Amount int64
|
|
RoundTx string
|
|
SpentBy string
|
|
Spent bool
|
|
Redeemed bool
|
|
Swept bool
|
|
ExpireAt int64
|
|
CreatedAt int64
|
|
RequestID sql.NullString
|
|
RedeemTx sql.NullString
|
|
}
|