 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type Addr
- type AddrEvent
- type AddrEventOutput
- type AddrEventProof
- type AllMintingBatchesRow
- type AnchorGenesisPointParams
- type AnchorPendingAssetsParams
- type ApplyPendingOutputParams
- type Asset
- type AssetBurnTransfer
- type AssetGroup
- type AssetGroupWitness
- type AssetMintingBatch
- type AssetProof
- type AssetSeedling
- type AssetTransfer
- type AssetTransferInput
- type AssetTransferOutput
- type AssetWitness
- type AssetsByGenesisPointRow
- type AssetsInBatchRow
- type AssetsMetum
- type AuthmailboxMessage
- type BackendType
- type BindMintingBatchWithTapSiblingParams
- type BindMintingBatchWithTxParams
- type ChainTxn
- type ConfirmChainAnchorTxParams
- type ConfirmChainTxParams
- type DBTX
- type DeleteFederationProofSyncLogParams
- type DeleteMultiverseLeafParams
- type DeleteNodeParams
- type DeleteUniverseServerParams
- type DeleteUniverseSupplyLeafParams
- type FederationGlobalSyncConfig
- type FederationProofSyncLog
- type FederationUniSyncConfig
- type FetchAddrEventByAddrKeyAndOutpointParams
- type FetchAddrEventByAddrKeyAndOutpointRow
- type FetchAddrEventOutputsRow
- type FetchAddrEventProofsRow
- type FetchAddrEventRow
- type FetchAddrsParams
- type FetchAddrsRow
- type FetchAllAssetMetaRow
- type FetchAssetIDParams
- type FetchAssetMetaByHashRow
- type FetchAssetMetaForAssetRow
- type FetchAssetMetaRow
- type FetchAssetProofParams
- type FetchAssetProofRow
- type FetchAssetProofsByAssetIDRow
- type FetchAssetProofsRow
- type FetchAssetProofsSizesRow
- type FetchAssetWitnessesRow
- type FetchAssetsForBatchRow
- type FetchAuthMailboxMessageByOutpointRow
- type FetchAuthMailboxMessageRow
- type FetchChainTxByIDRow
- type FetchChildrenParams
- type FetchChildrenRow
- type FetchChildrenSelfJoinParams
- type FetchChildrenSelfJoinRow
- type FetchGenesisByIDRow
- type FetchGenesisIDParams
- type FetchGroupByGenesisRow
- type FetchGroupByGroupKeyRow
- type FetchGroupedAssetsRow
- type FetchInternalKeyByIDRow
- type FetchInternalKeyLocatorRow
- type FetchManagedUTXOParams
- type FetchManagedUTXORow
- type FetchManagedUTXOsRow
- type FetchMintSupplyPreCommitsParams
- type FetchMintSupplyPreCommitsRow
- type FetchMintingBatchRow
- type FetchMintingBatchesByInverseStateRow
- type FetchMultiverseRootRow
- type FetchScriptKeyByTweakedKeyRow
- type FetchSeedlingIDParams
- type FetchSeedlingsForBatchRow
- type FetchSupplyCommitRow
- type FetchTapscriptTreeRow
- type FetchTransferInputsRow
- type FetchTransferOutputsRow
- type FetchUniverseKeysParams
- type FetchUniverseKeysRow
- type FetchUniverseRootRow
- type FetchUniverseSupplyRootRow
- type FetchUnknownTypeScriptKeysRow
- type FetchUnspentMintSupplyPreCommitsRow
- type FetchUnspentSupplyPreCommitsRow
- type GenesisAsset
- type GenesisInfoView
- type GenesisPoint
- type InsertAssetSeedlingIntoBatchParams
- type InsertAssetSeedlingParams
- type InsertAssetTransferInputParams
- type InsertAssetTransferOutputParams
- type InsertAssetTransferParams
- type InsertAuthMailboxMessageParams
- type InsertBranchParams
- type InsertBurnParams
- type InsertCompactedLeafParams
- type InsertLeafParams
- type InsertNewProofEventParams
- type InsertNewSyncEventParams
- type InsertPassiveAssetParams
- type InsertRootKeyParams
- type InsertSupplyCommitTransitionParams
- type InsertSupplyCommitmentParams
- type InsertSupplySyncerPushLogParams
- type InsertSupplyUpdateEventParams
- type InsertTxProofParams
- type InsertUniverseServerParams
- type InternalKey
- type KeyGroupInfoView
- type LinkDanglingSupplyUpdateEventsParams
- type LogProofTransferAttemptParams
- type LogServerSyncParams
- type Macaroon
- type ManagedUtxo
- type MarkMintPreCommitSpentByOutpointParams
- type MarkPreCommitSpentByOutpointParams
- type MintSupplyPreCommit
- type MssmtNode
- type MssmtRoot
- type MultiverseLeafe
- type MultiverseRoot
- type NewMintingBatchParams
- type PassiveAsset
- type ProofTransferLog
- type ProofType
- type Querier
- type Queries
- func (q *Queries) AllAssets(ctx context.Context) ([]Asset, error)
- func (q *Queries) AllInternalKeys(ctx context.Context) ([]InternalKey, error)
- func (q *Queries) AllMintingBatches(ctx context.Context) ([]AllMintingBatchesRow, error)
- func (q *Queries) AnchorGenesisPoint(ctx context.Context, arg AnchorGenesisPointParams) error
- func (q *Queries) AnchorPendingAssets(ctx context.Context, arg AnchorPendingAssetsParams) error
- func (q *Queries) ApplyPendingOutput(ctx context.Context, arg ApplyPendingOutputParams) (int64, error)
- func (q *Queries) AssetsByGenesisPoint(ctx context.Context, prevOut []byte) ([]AssetsByGenesisPointRow, error)
- func (q *Queries) AssetsDBSizePostgres(ctx context.Context) (int64, error)
- func (q *Queries) AssetsDBSizeSqlite(ctx context.Context) (int32, error)
- func (q *Queries) AssetsInBatch(ctx context.Context, rawKey []byte) ([]AssetsInBatchRow, error)
- func (q *Queries) Backend() BackendType
- func (q *Queries) BindMintingBatchWithTapSibling(ctx context.Context, arg BindMintingBatchWithTapSiblingParams) error
- func (q *Queries) BindMintingBatchWithTx(ctx context.Context, arg BindMintingBatchWithTxParams) (int64, error)
- func (q *Queries) ConfirmChainAnchorTx(ctx context.Context, arg ConfirmChainAnchorTxParams) error
- func (q *Queries) ConfirmChainTx(ctx context.Context, arg ConfirmChainTxParams) error
- func (q *Queries) CountAuthMailboxMessages(ctx context.Context) (int64, error)
- func (q *Queries) DeleteAllNodes(ctx context.Context, namespace string) (int64, error)
- func (q *Queries) DeleteAssetWitnesses(ctx context.Context, assetID int64) error
- func (q *Queries) DeleteExpiredUTXOLeases(ctx context.Context, now sql.NullTime) error
- func (q *Queries) DeleteFederationProofSyncLog(ctx context.Context, arg DeleteFederationProofSyncLogParams) error
- func (q *Queries) DeleteManagedUTXO(ctx context.Context, outpoint []byte) error
- func (q *Queries) DeleteMultiverseLeaf(ctx context.Context, arg DeleteMultiverseLeafParams) error
- func (q *Queries) DeleteNode(ctx context.Context, arg DeleteNodeParams) (int64, error)
- func (q *Queries) DeleteRoot(ctx context.Context, namespace string) (int64, error)
- func (q *Queries) DeleteSupplyCommitTransition(ctx context.Context, transitionID int64) error
- func (q *Queries) DeleteSupplyUpdateEvents(ctx context.Context, transitionID sql.NullInt64) error
- func (q *Queries) DeleteTapscriptTreeEdges(ctx context.Context, rootHash []byte) error
- func (q *Queries) DeleteTapscriptTreeNodes(ctx context.Context) error
- func (q *Queries) DeleteTapscriptTreeRoot(ctx context.Context, rootHash []byte) error
- func (q *Queries) DeleteUTXOLease(ctx context.Context, outpoint []byte) error
- func (q *Queries) DeleteUniverseEvents(ctx context.Context, namespaceRoot string) error
- func (q *Queries) DeleteUniverseLeaves(ctx context.Context, namespace string) error
- func (q *Queries) DeleteUniverseRoot(ctx context.Context, namespaceRoot string) error
- func (q *Queries) DeleteUniverseServer(ctx context.Context, arg DeleteUniverseServerParams) error
- func (q *Queries) DeleteUniverseSupplyLeaf(ctx context.Context, arg DeleteUniverseSupplyLeafParams) error
- func (q *Queries) DeleteUniverseSupplyLeaves(ctx context.Context, namespaceRoot string) error
- func (q *Queries) DeleteUniverseSupplyRoot(ctx context.Context, namespaceRoot string) error
- func (q *Queries) FetchAddrEvent(ctx context.Context, id int64) (FetchAddrEventRow, error)
- func (q *Queries) FetchAddrEventByAddrKeyAndOutpoint(ctx context.Context, arg FetchAddrEventByAddrKeyAndOutpointParams) (FetchAddrEventByAddrKeyAndOutpointRow, error)
- func (q *Queries) FetchAddrEventOutputs(ctx context.Context, addrEventID int64) ([]FetchAddrEventOutputsRow, error)
- func (q *Queries) FetchAddrEventProofs(ctx context.Context, addrEventID int64) ([]FetchAddrEventProofsRow, error)
- func (q *Queries) FetchAddrs(ctx context.Context, arg FetchAddrsParams) ([]FetchAddrsRow, error)
- func (q *Queries) FetchAllAssetMeta(ctx context.Context) ([]FetchAllAssetMetaRow, error)
- func (q *Queries) FetchAllNodes(ctx context.Context) ([]MssmtNode, error)
- func (q *Queries) FetchAssetID(ctx context.Context, arg FetchAssetIDParams) ([]int64, error)
- func (q *Queries) FetchAssetMeta(ctx context.Context, metaID int64) (FetchAssetMetaRow, error)
- func (q *Queries) FetchAssetMetaByHash(ctx context.Context, metaDataHash []byte) (FetchAssetMetaByHashRow, error)
- func (q *Queries) FetchAssetMetaForAsset(ctx context.Context, assetID []byte) (FetchAssetMetaForAssetRow, error)
- func (q *Queries) FetchAssetProof(ctx context.Context, arg FetchAssetProofParams) ([]FetchAssetProofRow, error)
- func (q *Queries) FetchAssetProofs(ctx context.Context) ([]FetchAssetProofsRow, error)
- func (q *Queries) FetchAssetProofsByAssetID(ctx context.Context, assetID []byte) ([]FetchAssetProofsByAssetIDRow, error)
- func (q *Queries) FetchAssetProofsSizes(ctx context.Context) ([]FetchAssetProofsSizesRow, error)
- func (q *Queries) FetchAssetWitnesses(ctx context.Context, assetID sql.NullInt64) ([]FetchAssetWitnessesRow, error)
- func (q *Queries) FetchAssetsByAnchorTx(ctx context.Context, anchorUtxoID sql.NullInt64) ([]Asset, error)
- func (q *Queries) FetchAssetsForBatch(ctx context.Context, rawKey []byte) ([]FetchAssetsForBatchRow, error)
- func (q *Queries) FetchAuthMailboxMessage(ctx context.Context, id int64) (FetchAuthMailboxMessageRow, error)
- func (q *Queries) FetchAuthMailboxMessageByOutpoint(ctx context.Context, claimedOutpoint []byte) (FetchAuthMailboxMessageByOutpointRow, error)
- func (q *Queries) FetchChainTx(ctx context.Context, txid []byte) (ChainTxn, error)
- func (q *Queries) FetchChainTxByID(ctx context.Context, txnID int64) (FetchChainTxByIDRow, error)
- func (q *Queries) FetchChildren(ctx context.Context, arg FetchChildrenParams) ([]FetchChildrenRow, error)
- func (q *Queries) FetchChildrenSelfJoin(ctx context.Context, arg FetchChildrenSelfJoinParams) ([]FetchChildrenSelfJoinRow, error)
- func (q *Queries) FetchGenesisByAssetID(ctx context.Context, assetID []byte) (GenesisInfoView, error)
- func (q *Queries) FetchGenesisByGroupKey(ctx context.Context, tweakedGroupKey []byte) (GenesisInfoView, error)
- func (q *Queries) FetchGenesisByID(ctx context.Context, genAssetID int64) (FetchGenesisByIDRow, error)
- func (q *Queries) FetchGenesisID(ctx context.Context, arg FetchGenesisIDParams) (int64, error)
- func (q *Queries) FetchGenesisIDByAssetID(ctx context.Context, assetID []byte) (int64, error)
- func (q *Queries) FetchGenesisPointByAnchorTx(ctx context.Context, anchorTxID sql.NullInt64) (GenesisPoint, error)
- func (q *Queries) FetchGroupByGenesis(ctx context.Context, genesisID int64) (FetchGroupByGenesisRow, error)
- func (q *Queries) FetchGroupByGroupKey(ctx context.Context, groupKey []byte) (FetchGroupByGroupKeyRow, error)
- func (q *Queries) FetchGroupedAssets(ctx context.Context) ([]FetchGroupedAssetsRow, error)
- func (q *Queries) FetchInternalKeyByID(ctx context.Context, keyID int64) (FetchInternalKeyByIDRow, error)
- func (q *Queries) FetchInternalKeyLocator(ctx context.Context, rawKey []byte) (FetchInternalKeyLocatorRow, error)
- func (q *Queries) FetchManagedUTXO(ctx context.Context, arg FetchManagedUTXOParams) (FetchManagedUTXORow, error)
- func (q *Queries) FetchManagedUTXOs(ctx context.Context) ([]FetchManagedUTXOsRow, error)
- func (q *Queries) FetchMintSupplyPreCommits(ctx context.Context, arg FetchMintSupplyPreCommitsParams) ([]FetchMintSupplyPreCommitsRow, error)
- func (q *Queries) FetchMintingBatch(ctx context.Context, rawKey []byte) (FetchMintingBatchRow, error)
- func (q *Queries) FetchMintingBatchesByInverseState(ctx context.Context, batchState int16) ([]FetchMintingBatchesByInverseStateRow, error)
- func (q *Queries) FetchMultiverseRoot(ctx context.Context, namespaceRoot string) (FetchMultiverseRootRow, error)
- func (q *Queries) FetchRootNode(ctx context.Context, namespace string) (MssmtNode, error)
- func (q *Queries) FetchScriptKeyByTweakedKey(ctx context.Context, tweakedScriptKey []byte) (FetchScriptKeyByTweakedKeyRow, error)
- func (q *Queries) FetchScriptKeyIDByTweakedKey(ctx context.Context, tweakedScriptKey []byte) (int64, error)
- func (q *Queries) FetchSeedlingByID(ctx context.Context, seedlingID int64) (AssetSeedling, error)
- func (q *Queries) FetchSeedlingID(ctx context.Context, arg FetchSeedlingIDParams) (int64, error)
- func (q *Queries) FetchSeedlingsForBatch(ctx context.Context, rawKey []byte) ([]FetchSeedlingsForBatchRow, error)
- func (q *Queries) FetchSupplyCommit(ctx context.Context, groupKey []byte) (FetchSupplyCommitRow, error)
- func (q *Queries) FetchSupplySyncerPushLogs(ctx context.Context, groupKey []byte) ([]SupplySyncerPushLog, error)
- func (q *Queries) FetchTapscriptTree(ctx context.Context, rootHash []byte) ([]FetchTapscriptTreeRow, error)
- func (q *Queries) FetchTransferInputs(ctx context.Context, transferID int64) ([]FetchTransferInputsRow, error)
- func (q *Queries) FetchTransferOutputs(ctx context.Context, transferID int64) ([]FetchTransferOutputsRow, error)
- func (q *Queries) FetchUniverseKeys(ctx context.Context, arg FetchUniverseKeysParams) ([]FetchUniverseKeysRow, error)
- func (q *Queries) FetchUniverseRoot(ctx context.Context, namespace string) (FetchUniverseRootRow, error)
- func (q *Queries) FetchUniverseSupplyRoot(ctx context.Context, namespaceRoot string) (FetchUniverseSupplyRootRow, error)
- func (q *Queries) FetchUnknownTypeScriptKeys(ctx context.Context) ([]FetchUnknownTypeScriptKeysRow, error)
- func (q *Queries) FetchUnspentMintSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentMintSupplyPreCommitsRow, error)
- func (q *Queries) FetchUnspentSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentSupplyPreCommitsRow, error)
- func (q *Queries) FinalizeSupplyCommitTransition(ctx context.Context, transitionID int64) error
- func (q *Queries) FreezePendingTransition(ctx context.Context, groupKey []byte) error
- func (q *Queries) GenesisAssets(ctx context.Context) ([]GenesisAsset, error)
- func (q *Queries) GenesisPoints(ctx context.Context) ([]GenesisPoint, error)
- func (q *Queries) GetRootKey(ctx context.Context, id []byte) (Macaroon, error)
- func (q *Queries) HasAssetProof(ctx context.Context, tweakedScriptKey []byte) (bool, error)
- func (q *Queries) InsertAssetSeedling(ctx context.Context, arg InsertAssetSeedlingParams) error
- func (q *Queries) InsertAssetSeedlingIntoBatch(ctx context.Context, arg InsertAssetSeedlingIntoBatchParams) error
- func (q *Queries) InsertAssetTransfer(ctx context.Context, arg InsertAssetTransferParams) (int64, error)
- func (q *Queries) InsertAssetTransferInput(ctx context.Context, arg InsertAssetTransferInputParams) error
- func (q *Queries) InsertAssetTransferOutput(ctx context.Context, arg InsertAssetTransferOutputParams) error
- func (q *Queries) InsertAuthMailboxMessage(ctx context.Context, arg InsertAuthMailboxMessageParams) (int64, error)
- func (q *Queries) InsertBranch(ctx context.Context, arg InsertBranchParams) error
- func (q *Queries) InsertBurn(ctx context.Context, arg InsertBurnParams) (int64, error)
- func (q *Queries) InsertCompactedLeaf(ctx context.Context, arg InsertCompactedLeafParams) error
- func (q *Queries) InsertLeaf(ctx context.Context, arg InsertLeafParams) error
- func (q *Queries) InsertNewProofEvent(ctx context.Context, arg InsertNewProofEventParams) error
- func (q *Queries) InsertNewSyncEvent(ctx context.Context, arg InsertNewSyncEventParams) error
- func (q *Queries) InsertPassiveAsset(ctx context.Context, arg InsertPassiveAssetParams) error
- func (q *Queries) InsertRootKey(ctx context.Context, arg InsertRootKeyParams) error
- func (q *Queries) InsertSupplyCommitTransition(ctx context.Context, arg InsertSupplyCommitTransitionParams) (int64, error)
- func (q *Queries) InsertSupplyCommitment(ctx context.Context, arg InsertSupplyCommitmentParams) (int64, error)
- func (q *Queries) InsertSupplySyncerPushLog(ctx context.Context, arg InsertSupplySyncerPushLogParams) error
- func (q *Queries) InsertSupplyUpdateEvent(ctx context.Context, arg InsertSupplyUpdateEventParams) error
- func (q *Queries) InsertTxProof(ctx context.Context, arg InsertTxProofParams) error
- func (q *Queries) InsertUniverseServer(ctx context.Context, arg InsertUniverseServerParams) error
- func (q *Queries) LinkDanglingSupplyUpdateEvents(ctx context.Context, arg LinkDanglingSupplyUpdateEventsParams) error
- func (q *Queries) LogProofTransferAttempt(ctx context.Context, arg LogProofTransferAttemptParams) error
- func (q *Queries) LogServerSync(ctx context.Context, arg LogServerSyncParams) error
- func (q *Queries) MarkMintPreCommitSpentByOutpoint(ctx context.Context, arg MarkMintPreCommitSpentByOutpointParams) error
- func (q *Queries) MarkPreCommitSpentByOutpoint(ctx context.Context, arg MarkPreCommitSpentByOutpointParams) error
- func (q *Queries) NewMintingBatch(ctx context.Context, arg NewMintingBatchParams) error
- func (q *Queries) QueryAddr(ctx context.Context, arg QueryAddrParams) (QueryAddrRow, error)
- func (q *Queries) QueryAssetBalancesByAsset(ctx context.Context, arg QueryAssetBalancesByAssetParams) ([]QueryAssetBalancesByAssetRow, error)
- func (q *Queries) QueryAssetBalancesByGroup(ctx context.Context, arg QueryAssetBalancesByGroupParams) ([]QueryAssetBalancesByGroupRow, error)
- func (q *Queries) QueryAssetStatsPerDayPostgres(ctx context.Context, arg QueryAssetStatsPerDayPostgresParams) ([]QueryAssetStatsPerDayPostgresRow, error)
- func (q *Queries) QueryAssetStatsPerDaySqlite(ctx context.Context, arg QueryAssetStatsPerDaySqliteParams) ([]QueryAssetStatsPerDaySqliteRow, error)
- func (q *Queries) QueryAssetTransfers(ctx context.Context, arg QueryAssetTransfersParams) ([]QueryAssetTransfersRow, error)
- func (q *Queries) QueryAssets(ctx context.Context, arg QueryAssetsParams) ([]QueryAssetsRow, error)
- func (q *Queries) QueryAuthMailboxMessages(ctx context.Context, arg QueryAuthMailboxMessagesParams) ([]QueryAuthMailboxMessagesRow, error)
- func (q *Queries) QueryBurns(ctx context.Context, arg QueryBurnsParams) ([]QueryBurnsRow, error)
- func (q *Queries) QueryDanglingSupplyUpdateEvents(ctx context.Context, groupKey []byte) ([]QueryDanglingSupplyUpdateEventsRow, error)
- func (q *Queries) QueryEventIDs(ctx context.Context, arg QueryEventIDsParams) ([]QueryEventIDsRow, error)
- func (q *Queries) QueryExistingPendingTransition(ctx context.Context, groupKey []byte) (int64, error)
- func (q *Queries) QueryFederationGlobalSyncConfigs(ctx context.Context) ([]FederationGlobalSyncConfig, error)
- func (q *Queries) QueryFederationProofSyncLog(ctx context.Context, arg QueryFederationProofSyncLogParams) ([]QueryFederationProofSyncLogRow, error)
- func (q *Queries) QueryFederationUniSyncConfigs(ctx context.Context) ([]QueryFederationUniSyncConfigsRow, error)
- func (q *Queries) QueryLastEventHeight(ctx context.Context, version int16) (int64, error)
- func (q *Queries) QueryLatestSupplyCommitment(ctx context.Context, groupKey []byte) (QueryLatestSupplyCommitmentRow, error)
- func (q *Queries) QueryMultiverseLeaves(ctx context.Context, arg QueryMultiverseLeavesParams) ([]QueryMultiverseLeavesRow, error)
- func (q *Queries) QueryPassiveAssets(ctx context.Context, transferID int64) ([]QueryPassiveAssetsRow, error)
- func (q *Queries) QueryPendingSupplyCommitTransition(ctx context.Context, groupKey []byte) (QueryPendingSupplyCommitTransitionRow, error)
- func (q *Queries) QueryProofTransferAttempts(ctx context.Context, arg QueryProofTransferAttemptsParams) ([]time.Time, error)
- func (q *Queries) QueryStartingSupplyCommitment(ctx context.Context, groupKey []byte) (QueryStartingSupplyCommitmentRow, error)
- func (q *Queries) QuerySupplyCommitStateMachine(ctx context.Context, groupKey []byte) (QuerySupplyCommitStateMachineRow, error)
- func (q *Queries) QuerySupplyCommitment(ctx context.Context, commitID int64) (QuerySupplyCommitmentRow, error)
- func (q *Queries) QuerySupplyCommitmentByOutpoint(ctx context.Context, arg QuerySupplyCommitmentByOutpointParams) (QuerySupplyCommitmentByOutpointRow, error)
- func (q *Queries) QuerySupplyCommitmentBySpentOutpoint(ctx context.Context, arg QuerySupplyCommitmentBySpentOutpointParams) (QuerySupplyCommitmentBySpentOutpointRow, error)
- func (q *Queries) QuerySupplyCommitmentOutpoint(ctx context.Context, commitID int64) (QuerySupplyCommitmentOutpointRow, error)
- func (q *Queries) QuerySupplyLeavesByHeight(ctx context.Context, arg QuerySupplyLeavesByHeightParams) ([]QuerySupplyLeavesByHeightRow, error)
- func (q *Queries) QuerySupplyUpdateEvents(ctx context.Context, transitionID sql.NullInt64) ([]QuerySupplyUpdateEventsRow, error)
- func (q *Queries) QueryUniverseAssetStats(ctx context.Context, arg QueryUniverseAssetStatsParams) ([]QueryUniverseAssetStatsRow, error)
- func (q *Queries) QueryUniverseLeaves(ctx context.Context, arg QueryUniverseLeavesParams) ([]QueryUniverseLeavesRow, error)
- func (q *Queries) QueryUniverseServers(ctx context.Context, arg QueryUniverseServersParams) ([]UniverseServer, error)
- func (q *Queries) QueryUniverseStats(ctx context.Context) (QueryUniverseStatsRow, error)
- func (q *Queries) QueryUniverseSupplyLeaves(ctx context.Context, arg QueryUniverseSupplyLeavesParams) ([]QueryUniverseSupplyLeavesRow, error)
- func (q *Queries) ReAnchorPassiveAssets(ctx context.Context, arg ReAnchorPassiveAssetsParams) error
- func (q *Queries) SetAddrManaged(ctx context.Context, arg SetAddrManagedParams) error
- func (q *Queries) SetAssetSpent(ctx context.Context, arg SetAssetSpentParams) (int64, error)
- func (q *Queries) SetTransferOutputProofDeliveryStatus(ctx context.Context, arg SetTransferOutputProofDeliveryStatusParams) error
- func (q *Queries) UniverseLeaves(ctx context.Context) ([]UniverseLeafe, error)
- func (q *Queries) UniverseRoots(ctx context.Context, arg UniverseRootsParams) ([]UniverseRootsRow, error)
- func (q *Queries) UpdateBatchGenesisTx(ctx context.Context, arg UpdateBatchGenesisTxParams) error
- func (q *Queries) UpdateMintingBatchState(ctx context.Context, arg UpdateMintingBatchStateParams) error
- func (q *Queries) UpdateSupplyCommitTransitionCommitment(ctx context.Context, arg UpdateSupplyCommitTransitionCommitmentParams) error
- func (q *Queries) UpdateSupplyCommitmentChainDetails(ctx context.Context, arg UpdateSupplyCommitmentChainDetailsParams) error
- func (q *Queries) UpdateSupplyCommitmentRoot(ctx context.Context, arg UpdateSupplyCommitmentRootParams) error
- func (q *Queries) UpdateUTXOLease(ctx context.Context, arg UpdateUTXOLeaseParams) error
- func (q *Queries) UpsertAddr(ctx context.Context, arg UpsertAddrParams) (int64, error)
- func (q *Queries) UpsertAddrEvent(ctx context.Context, arg UpsertAddrEventParams) (int64, error)
- func (q *Queries) UpsertAddrEventOutput(ctx context.Context, arg UpsertAddrEventOutputParams) (int64, error)
- func (q *Queries) UpsertAddrEventProof(ctx context.Context, arg UpsertAddrEventProofParams) (int64, error)
- func (q *Queries) UpsertAsset(ctx context.Context, arg UpsertAssetParams) (int64, error)
- func (q *Queries) UpsertAssetGroupKey(ctx context.Context, arg UpsertAssetGroupKeyParams) (int64, error)
- func (q *Queries) UpsertAssetGroupWitness(ctx context.Context, arg UpsertAssetGroupWitnessParams) (int64, error)
- func (q *Queries) UpsertAssetMeta(ctx context.Context, arg UpsertAssetMetaParams) (int64, error)
- func (q *Queries) UpsertAssetProofByID(ctx context.Context, arg UpsertAssetProofByIDParams) error
- func (q *Queries) UpsertAssetWitness(ctx context.Context, arg UpsertAssetWitnessParams) error
- func (q *Queries) UpsertChainTx(ctx context.Context, arg UpsertChainTxParams) (int64, error)
- func (q *Queries) UpsertFederationGlobalSyncConfig(ctx context.Context, arg UpsertFederationGlobalSyncConfigParams) error
- func (q *Queries) UpsertFederationProofSyncLog(ctx context.Context, arg UpsertFederationProofSyncLogParams) (int64, error)
- func (q *Queries) UpsertFederationUniSyncConfig(ctx context.Context, arg UpsertFederationUniSyncConfigParams) error
- func (q *Queries) UpsertGenesisAsset(ctx context.Context, arg UpsertGenesisAssetParams) (int64, error)
- func (q *Queries) UpsertGenesisPoint(ctx context.Context, prevOut []byte) (int64, error)
- func (q *Queries) UpsertInternalKey(ctx context.Context, arg UpsertInternalKeyParams) (int64, error)
- func (q *Queries) UpsertManagedUTXO(ctx context.Context, arg UpsertManagedUTXOParams) (int64, error)
- func (q *Queries) UpsertMintSupplyPreCommit(ctx context.Context, arg UpsertMintSupplyPreCommitParams) (int64, error)
- func (q *Queries) UpsertMultiverseLeaf(ctx context.Context, arg UpsertMultiverseLeafParams) (int64, error)
- func (q *Queries) UpsertMultiverseRoot(ctx context.Context, arg UpsertMultiverseRootParams) (int64, error)
- func (q *Queries) UpsertRootNode(ctx context.Context, arg UpsertRootNodeParams) error
- func (q *Queries) UpsertScriptKey(ctx context.Context, arg UpsertScriptKeyParams) (int64, error)
- func (q *Queries) UpsertSupplyCommitStateMachine(ctx context.Context, arg UpsertSupplyCommitStateMachineParams) (UpsertSupplyCommitStateMachineRow, error)
- func (q *Queries) UpsertSupplyPreCommit(ctx context.Context, arg UpsertSupplyPreCommitParams) (int64, error)
- func (q *Queries) UpsertTapscriptTreeEdge(ctx context.Context, arg UpsertTapscriptTreeEdgeParams) (int64, error)
- func (q *Queries) UpsertTapscriptTreeNode(ctx context.Context, rawNode []byte) (int64, error)
- func (q *Queries) UpsertTapscriptTreeRootHash(ctx context.Context, arg UpsertTapscriptTreeRootHashParams) (int64, error)
- func (q *Queries) UpsertUniverseLeaf(ctx context.Context, arg UpsertUniverseLeafParams) error
- func (q *Queries) UpsertUniverseRoot(ctx context.Context, arg UpsertUniverseRootParams) (int64, error)
- func (q *Queries) UpsertUniverseSupplyLeaf(ctx context.Context, arg UpsertUniverseSupplyLeafParams) (int64, error)
- func (q *Queries) UpsertUniverseSupplyRoot(ctx context.Context, arg UpsertUniverseSupplyRootParams) (int64, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
 
- type QueryAddrParams
- type QueryAddrRow
- type QueryAssetBalancesByAssetParams
- type QueryAssetBalancesByAssetRow
- type QueryAssetBalancesByGroupParams
- type QueryAssetBalancesByGroupRow
- type QueryAssetStatsPerDayPostgresParams
- type QueryAssetStatsPerDayPostgresRow
- type QueryAssetStatsPerDaySqliteParams
- type QueryAssetStatsPerDaySqliteRow
- type QueryAssetTransfersParams
- type QueryAssetTransfersRow
- type QueryAssetsParams
- type QueryAssetsRow
- type QueryAuthMailboxMessagesParams
- type QueryAuthMailboxMessagesRow
- type QueryBurnsParams
- type QueryBurnsRow
- type QueryDanglingSupplyUpdateEventsRow
- type QueryEventIDsParams
- type QueryEventIDsRow
- type QueryFederationProofSyncLogParams
- type QueryFederationProofSyncLogRow
- type QueryFederationUniSyncConfigsRow
- type QueryLatestSupplyCommitmentRow
- type QueryMultiverseLeavesParams
- type QueryMultiverseLeavesRow
- type QueryPassiveAssetsRow
- type QueryPendingSupplyCommitTransitionRow
- type QueryProofTransferAttemptsParams
- type QueryStartingSupplyCommitmentRow
- type QuerySupplyCommitStateMachineRow
- type QuerySupplyCommitmentByOutpointParams
- type QuerySupplyCommitmentByOutpointRow
- type QuerySupplyCommitmentBySpentOutpointParams
- type QuerySupplyCommitmentBySpentOutpointRow
- type QuerySupplyCommitmentOutpointRow
- type QuerySupplyCommitmentRow
- type QuerySupplyLeavesByHeightParams
- type QuerySupplyLeavesByHeightRow
- type QuerySupplyUpdateEventsRow
- type QueryUniverseAssetStatsParams
- type QueryUniverseAssetStatsRow
- type QueryUniverseLeavesParams
- type QueryUniverseLeavesRow
- type QueryUniverseServersParams
- type QueryUniverseStatsRow
- type QueryUniverseSupplyLeavesParams
- type QueryUniverseSupplyLeavesRow
- type ReAnchorPassiveAssetsParams
- type ScriptKey
- type SetAddrManagedParams
- type SetAssetSpentParams
- type SetTransferOutputProofDeliveryStatusParams
- type SupplyCommitState
- type SupplyCommitStateMachine
- type SupplyCommitTransition
- type SupplyCommitUpdateType
- type SupplyCommitment
- type SupplyPreCommit
- type SupplySyncerPushLog
- type SupplyUpdateEvent
- type TapscriptEdge
- type TapscriptNode
- type TapscriptRoot
- type TxProofClaimedOutpoint
- type UniverseEvent
- type UniverseLeafe
- type UniverseRoot
- type UniverseRootsParams
- type UniverseRootsRow
- type UniverseServer
- type UniverseStat
- type UniverseSupplyLeafe
- type UniverseSupplyRoot
- type UpdateBatchGenesisTxParams
- type UpdateMintingBatchStateParams
- type UpdateSupplyCommitTransitionCommitmentParams
- type UpdateSupplyCommitmentChainDetailsParams
- type UpdateSupplyCommitmentRootParams
- type UpdateUTXOLeaseParams
- type UpsertAddrEventOutputParams
- type UpsertAddrEventParams
- type UpsertAddrEventProofParams
- type UpsertAddrParams
- type UpsertAssetGroupKeyParams
- type UpsertAssetGroupWitnessParams
- type UpsertAssetMetaParams
- type UpsertAssetParams
- type UpsertAssetProofByIDParams
- type UpsertAssetWitnessParams
- type UpsertChainTxParams
- type UpsertFederationGlobalSyncConfigParams
- type UpsertFederationProofSyncLogParams
- type UpsertFederationUniSyncConfigParams
- type UpsertGenesisAssetParams
- type UpsertInternalKeyParams
- type UpsertManagedUTXOParams
- type UpsertMintSupplyPreCommitParams
- type UpsertMultiverseLeafParams
- type UpsertMultiverseRootParams
- type UpsertRootNodeParams
- type UpsertScriptKeyParams
- type UpsertSupplyCommitStateMachineParams
- type UpsertSupplyCommitStateMachineRow
- type UpsertSupplyPreCommitParams
- type UpsertTapscriptTreeEdgeParams
- type UpsertTapscriptTreeRootHashParams
- type UpsertUniverseLeafParams
- type UpsertUniverseRootParams
- type UpsertUniverseSupplyLeafParams
- type UpsertUniverseSupplyRootParams
Constants ¶
const AllAssets = `` /* 249-byte string literal not displayed */
    const AllInternalKeys = `-- name: AllInternalKeys :many
SELECT key_id, raw_key, key_family, key_index 
FROM internal_keys
`
    const AllMintingBatches = `` /* 352-byte string literal not displayed */
    const AnchorGenesisPoint = `` /* 258-byte string literal not displayed */
    const AnchorPendingAssets = `` /* 415-byte string literal not displayed */
    const ApplyPendingOutput = `` /* 828-byte string literal not displayed */
    const AssetsByGenesisPoint = `` /* 616-byte string literal not displayed */
    const AssetsDBSizePostgres = `-- name: AssetsDBSizePostgres :one
SELECT pg_catalog.pg_database_size(current_database()) AS size
`
    const AssetsDBSizeSqlite = `` /* 126-byte string literal not displayed */
    const AssetsInBatch = `` /* 528-byte string literal not displayed */
    const BindMintingBatchWithTapSibling = `` /* 338-byte string literal not displayed */
    const BindMintingBatchWithTx = `` /* 446-byte string literal not displayed */
    const ConfirmChainAnchorTx = `-- name: ConfirmChainAnchorTx :exec
UPDATE chain_txns
SET block_height = $2, block_hash = $3, tx_index = $4
WHERE txid = $1
`
    const ConfirmChainTx = `` /* 423-byte string literal not displayed */
    const CountAuthMailboxMessages = `-- name: CountAuthMailboxMessages :one
SELECT COUNT(*) AS count
FROM authmailbox_messages m
`
    const DeleteAllNodes = `-- name: DeleteAllNodes :execrows
DELETE FROM mssmt_nodes WHERE namespace = $1
`
    const DeleteAssetWitnesses = `-- name: DeleteAssetWitnesses :exec
DELETE FROM asset_witnesses
WHERE asset_id = $1
`
    const DeleteExpiredUTXOLeases = `` /* 197-byte string literal not displayed */
    const DeleteFederationProofSyncLog = `` /* 515-byte string literal not displayed */
    const DeleteManagedUTXO = `-- name: DeleteManagedUTXO :exec
DELETE FROM managed_utxos
WHERE outpoint = $1
`
    const DeleteMultiverseLeaf = `-- name: DeleteMultiverseLeaf :exec
DELETE FROM multiverse_leaves
WHERE leaf_node_namespace = $1 AND leaf_node_key = $2
`
    const DeleteNode = `-- name: DeleteNode :execrows
DELETE FROM mssmt_nodes WHERE hash_key = $1 AND namespace = $2
`
    const DeleteRoot = `-- name: DeleteRoot :execrows
DELETE FROM mssmt_roots WHERE namespace = $1
`
    const DeleteSupplyCommitTransition = `-- name: DeleteSupplyCommitTransition :exec
DELETE FROM supply_commit_transitions
WHERE transition_id = $1
`
    const DeleteSupplyUpdateEvents = `-- name: DeleteSupplyUpdateEvents :exec
DELETE FROM supply_update_events
WHERE transition_id = $1
`
    const DeleteTapscriptTreeEdges = `` /* 442-byte string literal not displayed */
    const DeleteTapscriptTreeNodes = `` /* 262-byte string literal not displayed */
    const DeleteTapscriptTreeRoot = `-- name: DeleteTapscriptTreeRoot :exec
DELETE FROM tapscript_roots
WHERE root_hash = $1
`
    const DeleteUTXOLease = `-- name: DeleteUTXOLease :exec
UPDATE managed_utxos
SET lease_owner = NULL, lease_expiry = NULL
WHERE outpoint = $1
`
    const DeleteUniverseEvents = `` /* 202-byte string literal not displayed */
    const DeleteUniverseLeaves = `-- name: DeleteUniverseLeaves :exec
DELETE FROM universe_leaves
WHERE leaf_node_namespace = $1
`
    const DeleteUniverseRoot = `-- name: DeleteUniverseRoot :exec
DELETE FROM universe_roots
WHERE namespace_root = $1
`
    const DeleteUniverseServer = `-- name: DeleteUniverseServer :exec
DELETE FROM universe_servers
WHERE server_host = $1 OR id = $2
`
    const DeleteUniverseSupplyLeaf = `` /* 129-byte string literal not displayed */
    const DeleteUniverseSupplyLeaves = `` /* 171-byte string literal not displayed */
    const DeleteUniverseSupplyRoot = `-- name: DeleteUniverseSupplyRoot :exec
DELETE FROM universe_supply_roots
WHERE namespace_root = $1
`
    const FetchAddrEvent = `` /* 733-byte string literal not displayed */
    const FetchAddrEventByAddrKeyAndOutpoint = `` /* 973-byte string literal not displayed */
    const FetchAddrEventOutputs = `` /* 608-byte string literal not displayed */
    const FetchAddrEventProofs = `` /* 257-byte string literal not displayed */
    const FetchAddrs = `` /* 1051-byte string literal not displayed */
    const FetchAllAssetMeta = `` /* 436-byte string literal not displayed */
    const FetchAllNodes = `-- name: FetchAllNodes :many
SELECT hash_key, l_hash_key, r_hash_key, key, value, sum, namespace FROM mssmt_nodes
`
    const FetchAssetID = `` /* 362-byte string literal not displayed */
    const FetchAssetMeta = `` /* 320-byte string literal not displayed */
    const FetchAssetMetaByHash = `` /* 333-byte string literal not displayed */
    const FetchAssetMetaForAsset = `` /* 412-byte string literal not displayed */
    const FetchAssetProof = `` /* 806-byte string literal not displayed */
    const FetchAssetProofs = `` /* 372-byte string literal not displayed */
    const FetchAssetProofsByAssetID = `` /* 485-byte string literal not displayed */
    const FetchAssetProofsSizes = `` /* 301-byte string literal not displayed */
    const FetchAssetWitnesses = `` /* 314-byte string literal not displayed */
    const FetchAssetsByAnchorTx = `` /* 286-byte string literal not displayed */
    const FetchAssetsForBatch = `` /* 3189-byte string literal not displayed */
    const FetchAuthMailboxMessage = `` /* 287-byte string literal not displayed */
    const FetchAuthMailboxMessageByOutpoint = `` /* 312-byte string literal not displayed */
    const FetchChainTx = `` /* 135-byte string literal not displayed */
    const FetchChainTxByID = `` /* 138-byte string literal not displayed */
    const FetchChildren = `` /* 1034-byte string literal not displayed */
    const FetchChildrenSelfJoin = `` /* 620-byte string literal not displayed */
    const FetchGenesisByAssetID = `` /* 195-byte string literal not displayed */
    const FetchGenesisByGroupKey = `` /* 315-byte string literal not displayed */
    const FetchGenesisByID = `` /* 362-byte string literal not displayed */
    const FetchGenesisID = `` /* 555-byte string literal not displayed */
    const FetchGenesisIDByAssetID = `-- name: FetchGenesisIDByAssetID :one
SELECT gen_asset_id
FROM genesis_assets
WHERE asset_id = $1
`
    const FetchGenesisPointByAnchorTx = `` /* 129-byte string literal not displayed */
    const FetchGroupByGenesis = `` /* 549-byte string literal not displayed */
    const FetchGroupByGroupKey = `` /* 593-byte string literal not displayed */
    const FetchGroupedAssets = `` /* 556-byte string literal not displayed */
    const FetchInternalKeyByID = `-- name: FetchInternalKeyByID :one
SELECT raw_key, key_family, key_index
FROM internal_keys
WHERE key_id = $1
`
    const FetchInternalKeyLocator = `-- name: FetchInternalKeyLocator :one
SELECT key_family, key_index
FROM internal_keys
WHERE raw_key = $1
`
    const FetchManagedUTXO = `` /* 402-byte string literal not displayed */
    const FetchManagedUTXOs = `` /* 318-byte string literal not displayed */
    const FetchMintSupplyPreCommits = `` /* 953-byte string literal not displayed */
    const FetchMintingBatch = `` /* 854-byte string literal not displayed */
    const FetchMintingBatchesByInverseState = `` /* 392-byte string literal not displayed */
    const FetchMultiverseRoot = `` /* 313-byte string literal not displayed */
    const FetchRootNode = `` /* 257-byte string literal not displayed */
    const FetchScriptKeyByTweakedKey = `` /* 406-byte string literal not displayed */
    const FetchScriptKeyIDByTweakedKey = `-- name: FetchScriptKeyIDByTweakedKey :one
SELECT script_key_id
FROM script_keys
WHERE tweaked_script_key = $1
`
    const FetchSeedlingByID = `` /* 327-byte string literal not displayed */
    const FetchSeedlingID = `` /* 568-byte string literal not displayed */
    const FetchSeedlingsForBatch = `` /* 2111-byte string literal not displayed */
    const FetchSupplyCommit = `` /* 555-byte string literal not displayed */
    const FetchSupplySyncerPushLogs = `` /* 243-byte string literal not displayed */
    const FetchTapscriptTree = `` /* 690-byte string literal not displayed */
    const FetchTransferInputs = `` /* 170-byte string literal not displayed */
    const FetchTransferOutputs = `` /* 1507-byte string literal not displayed */
    const FetchUniverseKeys = `` /* 274-byte string literal not displayed */
    const FetchUniverseRoot = `` /* 532-byte string literal not displayed */
    const FetchUniverseSupplyRoot = `` /* 303-byte string literal not displayed */
    const FetchUnknownTypeScriptKeys = `` /* 400-byte string literal not displayed */
    const FetchUnspentMintSupplyPreCommits = `` /* 708-byte string literal not displayed */
    const FetchUnspentSupplyPreCommits = `` /* 367-byte string literal not displayed */
    const FinalizeSupplyCommitTransition = `-- name: FinalizeSupplyCommitTransition :exec
UPDATE supply_commit_transitions
SET finalized = TRUE
WHERE transition_id = $1
`
    const FreezePendingTransition = `` /* 147-byte string literal not displayed */
    const GenesisAssets = `` /* 149-byte string literal not displayed */
    const GenesisPoints = `-- name: GenesisPoints :many
SELECT genesis_id, prev_out, anchor_tx_id
FROM genesis_points
`
    const GetRootKey = `-- name: GetRootKey :one
SELECT id, root_key FROM macaroons 
WHERE id = $1
`
    const HasAssetProof = `` /* 357-byte string literal not displayed */
    const InsertAssetSeedling = `` /* 403-byte string literal not displayed */
    const InsertAssetSeedlingIntoBatch = `` /* 916-byte string literal not displayed */
    const InsertAssetTransfer = `` /* 323-byte string literal not displayed */
    const InsertAssetTransferInput = `` /* 172-byte string literal not displayed */
    const InsertAssetTransferOutput = `` /* 502-byte string literal not displayed */
    const InsertAuthMailboxMessage = `` /* 192-byte string literal not displayed */
    const InsertBranch = `` /* 161-byte string literal not displayed */
    const InsertBurn = `` /* 165-byte string literal not displayed */
    const InsertCompactedLeaf = `` /* 168-byte string literal not displayed */
    const InsertLeaf = `` /* 161-byte string literal not displayed */
    const InsertNewProofEvent = `` /* 795-byte string literal not displayed */
    const InsertNewSyncEvent = `` /* 787-byte string literal not displayed */
    const InsertPassiveAsset = `` /* 711-byte string literal not displayed */
    const InsertRootKey = `-- name: InsertRootKey :exec
INSERT INTO macaroons (id, root_key) VALUES ($1, $2)
`
    const InsertSupplyCommitTransition = `` /* 278-byte string literal not displayed */
    const InsertSupplyCommitment = `` /* 396-byte string literal not displayed */
    const InsertSupplySyncerPushLog = `` /* 244-byte string literal not displayed */
    const InsertSupplyUpdateEvent = `` /* 163-byte string literal not displayed */
    const InsertTxProof = `` /* 172-byte string literal not displayed */
    const InsertUniverseServer = `-- name: InsertUniverseServer :exec
INSERT INTO universe_servers(
    server_host, last_sync_time
) VALUES (
    $1, $2
)
`
    const LinkDanglingSupplyUpdateEvents = `` /* 144-byte string literal not displayed */
    const LogProofTransferAttempt = `` /* 149-byte string literal not displayed */
    const LogServerSync = `-- name: LogServerSync :exec
UPDATE universe_servers
SET last_sync_time = $1
WHERE server_host = $2
`
    const MarkMintPreCommitSpentByOutpoint = `` /* 142-byte string literal not displayed */
    const MarkPreCommitSpentByOutpoint = `` /* 131-byte string literal not displayed */
    const NewMintingBatch = `` /* 177-byte string literal not displayed */
    const QueryAddr = `` /* 1093-byte string literal not displayed */
    const QueryAssetBalancesByAsset = `` /* 1528-byte string literal not displayed */
    const QueryAssetBalancesByGroup = `` /* 1009-byte string literal not displayed */
    const QueryAssetStatsPerDayPostgres = `` /* 406-byte string literal not displayed */
    const QueryAssetStatsPerDaySqlite = `` /* 439-byte string literal not displayed */
    const QueryAssetTransfers = `` /* 1450-byte string literal not displayed */
    const QueryAssets = `` /* 3336-byte string literal not displayed */
    const QueryAuthMailboxMessages = `` /* 647-byte string literal not displayed */
    const QueryBurns = `` /* 583-byte string literal not displayed */
    const QueryDanglingSupplyUpdateEvents = `` /* 343-byte string literal not displayed */
    const QueryEventIDs = `` /* 425-byte string literal not displayed */
    const QueryExistingPendingTransition = `` /* 170-byte string literal not displayed */
    const QueryFederationGlobalSyncConfigs = `` /* 159-byte string literal not displayed */
    const QueryFederationProofSyncLog = `` /* 1404-byte string literal not displayed */
    const QueryFederationUniSyncConfigs = `` /* 228-byte string literal not displayed */
    const QueryLastEventHeight = `` /* 274-byte string literal not displayed */
    const QueryLatestSupplyCommitment = `` /* 424-byte string literal not displayed */
    const QueryMultiverseLeaves = `` /* 491-byte string literal not displayed */
    const QueryPassiveAssets = `` /* 535-byte string literal not displayed */
    const QueryPendingSupplyCommitTransition = `` /* 485-byte string literal not displayed */
    const QueryProofTransferAttempts = `` /* 164-byte string literal not displayed */
    const QueryStartingSupplyCommitment = `` /* 424-byte string literal not displayed */
    const QuerySupplyCommitStateMachine = `` /* 278-byte string literal not displayed */
    const QuerySupplyCommitment = `` /* 373-byte string literal not displayed */
    const QuerySupplyCommitmentByOutpoint = `` /* 436-byte string literal not displayed */
    const QuerySupplyCommitmentBySpentOutpoint = `` /* 687-byte string literal not displayed */
    const QuerySupplyCommitmentOutpoint = `` /* 191-byte string literal not displayed */
    const QuerySupplyLeavesByHeight = `` /* 577-byte string literal not displayed */
    const QuerySupplyUpdateEvents = `` /* 310-byte string literal not displayed */
    const QueryUniverseAssetStats = `` /* 3955-byte string literal not displayed */
    const QueryUniverseLeaves = `` /* 563-byte string literal not displayed */
    const QueryUniverseServers = `` /* 181-byte string literal not displayed */
    const QueryUniverseStats = `` /* 1300-byte string literal not displayed */
    const QueryUniverseSupplyLeaves = `` /* 427-byte string literal not displayed */
    const ReAnchorPassiveAssets = `` /* 320-byte string literal not displayed */
    const SetAddrManaged = `` /* 212-byte string literal not displayed */
    const SetAssetSpent = `` /* 604-byte string literal not displayed */
    const SetTransferOutputProofDeliveryStatus = `` /* 398-byte string literal not displayed */
    const UniverseLeaves = `` /* 180-byte string literal not displayed */
    const UniverseRoots = `` /* 639-byte string literal not displayed */
    const UpdateBatchGenesisTx = `` /* 326-byte string literal not displayed */
    const UpdateMintingBatchState = `` /* 601-byte string literal not displayed */
    const UpdateSupplyCommitTransitionCommitment = `` /* 171-byte string literal not displayed */
    const UpdateSupplyCommitmentChainDetails = `` /* 211-byte string literal not displayed */
    const UpdateSupplyCommitmentRoot = `` /* 141-byte string literal not displayed */
    const UpdateUTXOLease = `-- name: UpdateUTXOLease :exec
UPDATE managed_utxos
SET lease_owner = $1, lease_expiry = $2
WHERE outpoint = $3
`
    const UpsertAddr = `` /* 1430-byte string literal not displayed */
    const UpsertAddrEvent = `` /* 580-byte string literal not displayed */
    const UpsertAddrEventOutput = `` /* 347-byte string literal not displayed */
    const UpsertAddrEventProof = `` /* 299-byte string literal not displayed */
    const UpsertAsset = `` /* 553-byte string literal not displayed */
    const UpsertAssetGroupKey = `` /* 416-byte string literal not displayed */
    const UpsertAssetGroupWitness = `` /* 332-byte string literal not displayed */
    const UpsertAssetMeta = `` /* 1183-byte string literal not displayed */
    const UpsertAssetProofByID = `` /* 260-byte string literal not displayed */
    const UpsertAssetWitness = `` /* 629-byte string literal not displayed */
    const UpsertChainTx = `` /* 545-byte string literal not displayed */
    const UpsertFederationGlobalSyncConfig = `` /* 264-byte string literal not displayed */
    const UpsertFederationProofSyncLog = `` /* 1130-byte string literal not displayed */
    const UpsertFederationUniSyncConfig = `` /* 307-byte string literal not displayed */
    const UpsertGenesisAsset = `` /* 485-byte string literal not displayed */
    const UpsertGenesisPoint = `` /* 262-byte string literal not displayed */
    const UpsertInternalKey = `` /* 284-byte string literal not displayed */
    const UpsertManagedUTXO = `` /* 589-byte string literal not displayed */
    const UpsertMintSupplyPreCommit = `` /* 864-byte string literal not displayed */
    const UpsertMultiverseLeaf = `` /* 426-byte string literal not displayed */
    const UpsertMultiverseRoot = `` /* 260-byte string literal not displayed */
    const UpsertRootNode = `` /* 231-byte string literal not displayed */
    const UpsertScriptKey = `` /* 927-byte string literal not displayed */
    const UpsertSupplyCommitStateMachine = `` /* 1018-byte string literal not displayed */
    const UpsertSupplyPreCommit = `` /* 508-byte string literal not displayed */
    const UpsertTapscriptTreeEdge = `` /* 456-byte string literal not displayed */
    const UpsertTapscriptTreeNode = `` /* 266-byte string literal not displayed */
    const UpsertTapscriptTreeRootHash = `` /* 410-byte string literal not displayed */
    const UpsertUniverseLeaf = `` /* 717-byte string literal not displayed */
    const UpsertUniverseRoot = `` /* 337-byte string literal not displayed */
    const UpsertUniverseSupplyLeaf = `` /* 342-byte string literal not displayed */
    const UpsertUniverseSupplyRoot = `` /* 268-byte string literal not displayed */
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddrEventOutput ¶
type AddrEventProof ¶
type AllMintingBatchesRow ¶
type AllMintingBatchesRow struct {
	BatchID             int64
	BatchState          int16
	MintingTxPsbt       []byte
	ChangeOutputIndex   sql.NullInt32
	GenesisID           sql.NullInt64
	HeightHint          int32
	CreationTimeUnix    time.Time
	TapscriptSibling    []byte
	AssetsOutputIndex   sql.NullInt32
	UniverseCommitments bool
	KeyID               int64
	RawKey              []byte
	KeyFamily           int32
	KeyIndex            int32
}
    type Asset ¶
type Asset struct {
	AssetID                  int64
	GenesisID                int64
	Version                  int32
	ScriptKeyID              int64
	AssetGroupWitnessID      sql.NullInt64
	ScriptVersion            int32
	Amount                   int64
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
	AnchorUtxoID             sql.NullInt64
	Spent                    bool
}
    type AssetBurnTransfer ¶ added in v0.5.0
type AssetGroup ¶
type AssetGroupWitness ¶ added in v0.3.0
type AssetMintingBatch ¶
type AssetProof ¶
type AssetSeedling ¶
type AssetSeedling struct {
	SeedlingID          int64
	AssetName           string
	AssetVersion        int16
	AssetType           int16
	AssetSupply         int64
	AssetMetaID         int64
	EmissionEnabled     bool
	BatchID             int64
	GroupGenesisID      sql.NullInt64
	GroupAnchorID       sql.NullInt64
	ScriptKeyID         sql.NullInt64
	GroupInternalKeyID  sql.NullInt64
	GroupTapscriptRoot  []byte
	DelegationKeyID     sql.NullInt64
	UniverseCommitments bool
}
    type AssetTransfer ¶
type AssetTransferInput ¶
type AssetTransferOutput ¶
type AssetTransferOutput struct {
	OutputID                 int64
	TransferID               int64
	AnchorUtxo               int64
	ScriptKey                int64
	ScriptKeyLocal           bool
	Amount                   int64
	AssetVersion             int32
	SerializedWitnesses      []byte
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
	ProofSuffix              []byte
	NumPassiveAssets         int32
	OutputType               int16
	ProofCourierAddr         []byte
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	ProofDeliveryComplete    sql.NullBool
	Position                 int32
	TapAddress               sql.NullString
}
    type AssetWitness ¶
type AssetsByGenesisPointRow ¶
type AssetsByGenesisPointRow struct {
	AssetID                  int64
	GenesisID                int64
	Version                  int32
	ScriptKeyID              int64
	AssetGroupWitnessID      sql.NullInt64
	ScriptVersion            int32
	Amount                   int64
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
	AnchorUtxoID             sql.NullInt64
	Spent                    bool
	GenAssetID               int64
	AssetID_2                []byte
	AssetTag                 string
	MetaDataID               sql.NullInt64
	OutputIndex              int32
	AssetType                int16
	GenesisPointID           int64
	GenesisID_2              int64
	PrevOut                  []byte
	AnchorTxID               sql.NullInt64
}
    type AssetsInBatchRow ¶
type AssetsMetum ¶
type AuthmailboxMessage ¶
type BackendType ¶ added in v0.2.3
type BackendType uint8
BackendType is an enum that represents the type of database backend we're using.
const ( // BackendTypeUnknown indicates we're using an unknown backend. BackendTypeUnknown BackendType = iota // BackendTypeSqlite indicates we're using a SQLite backend. BackendTypeSqlite // BackendTypePostgres indicates we're using a Postgres backend. BackendTypePostgres )
type BindMintingBatchWithTapSiblingParams ¶ added in v0.4.0
type ConfirmChainTxParams ¶
type DeleteFederationProofSyncLogParams ¶ added in v0.3.3
type DeleteFederationProofSyncLogParams struct {
	Status            sql.NullString
	MinTimestamp      sql.NullTime
	MinAttemptCounter sql.NullInt64
	ServerHost        sql.NullString
}
    type DeleteMultiverseLeafParams ¶ added in v0.4.0
type DeleteNodeParams ¶
type FederationGlobalSyncConfig ¶ added in v0.3.0
type FederationProofSyncLog ¶ added in v0.3.3
type FederationUniSyncConfig ¶ added in v0.3.0
type FetchAddrEventByAddrKeyAndOutpointParams ¶ added in v0.4.0
type FetchAddrEventByAddrKeyAndOutpointRow ¶ added in v0.4.0
type FetchAddrEventOutputsRow ¶
type FetchAddrEventOutputsRow struct {
	Amount      int64
	AssetID     []byte
	ScriptKeyID int64
	ScriptKey   ScriptKey
	InternalKey InternalKey
}
    type FetchAddrEventProofsRow ¶
type FetchAddrEventRow ¶
type FetchAddrsParams ¶
type FetchAddrsRow ¶
type FetchAddrsRow struct {
	Version          int16
	AssetVersion     int16
	GenesisAssetID   int64
	GroupKey         []byte
	TapscriptSibling []byte
	TaprootOutputKey []byte
	Amount           int64
	AssetType        int16
	CreationTime     time.Time
	ManagedFrom      sql.NullTime
	ProofCourierAddr []byte
	ScriptKey        ScriptKey
	InternalKey      InternalKey
	RawTaprootKey    []byte
	TaprootKeyFamily int32
	TaprootKeyIndex  int32
}
    type FetchAllAssetMetaRow ¶ added in v0.6.1
type FetchAllAssetMetaRow struct {
	AssetsMetum AssetsMetum
	AssetID     []byte
}
    type FetchAssetIDParams ¶ added in v0.4.0
type FetchAssetMetaByHashRow ¶
type FetchAssetMetaByHashRow struct {
	AssetsMetum AssetsMetum
}
    type FetchAssetMetaForAssetRow ¶
type FetchAssetMetaForAssetRow struct {
	AssetsMetum AssetsMetum
}
    type FetchAssetMetaRow ¶
type FetchAssetMetaRow struct {
	AssetsMetum AssetsMetum
}
    type FetchAssetProofParams ¶ added in v0.3.3
type FetchAssetProofRow ¶
type FetchAssetProofsByAssetIDRow ¶ added in v0.3.0
type FetchAssetProofsRow ¶
type FetchAssetProofsSizesRow ¶ added in v0.5.0
type FetchAssetWitnessesRow ¶
type FetchAssetsForBatchRow ¶
type FetchAssetsForBatchRow struct {
	Version            int32
	ScriptKey          ScriptKey
	InternalKey        InternalKey
	TapscriptRoot      []byte
	WitnessStack       []byte
	TweakedGroupKey    []byte
	GroupKeyRaw        []byte
	GroupKeyFamily     sql.NullInt32
	GroupKeyIndex      sql.NullInt32
	ScriptVersion      int32
	Amount             int64
	LockTime           sql.NullInt32
	RelativeLockTime   sql.NullInt32
	Spent              bool
	AssetID            []byte
	AssetTag           string
	AssetsMetum        AssetsMetum
	GenesisOutputIndex int32
	AssetType          int16
	GenesisPrevOut     []byte
}
    type FetchChainTxByIDRow ¶
type FetchChildrenParams ¶
type FetchChildrenRow ¶
type FetchGenesisByIDRow ¶
type FetchGenesisIDParams ¶
type FetchGroupByGenesisRow ¶
type FetchGroupByGroupKeyRow ¶
type FetchGroupedAssetsRow ¶
type FetchInternalKeyByIDRow ¶
type FetchInternalKeyLocatorRow ¶ added in v0.4.0
type FetchManagedUTXOParams ¶
type FetchManagedUTXORow ¶
type FetchManagedUTXORow struct {
	UtxoID           int64
	Outpoint         []byte
	AmtSats          int64
	InternalKeyID    int64
	TaprootAssetRoot []byte
	TapscriptSibling []byte
	MerkleRoot       []byte
	TxnID            int64
	LeaseOwner       []byte
	LeaseExpiry      sql.NullTime
	RootVersion      sql.NullInt16
	KeyID            int64
	RawKey           []byte
	KeyFamily        int32
	KeyIndex         int32
}
    type FetchManagedUTXOsRow ¶
type FetchManagedUTXOsRow struct {
	UtxoID           int64
	Outpoint         []byte
	AmtSats          int64
	InternalKeyID    int64
	TaprootAssetRoot []byte
	TapscriptSibling []byte
	MerkleRoot       []byte
	TxnID            int64
	LeaseOwner       []byte
	LeaseExpiry      sql.NullTime
	RootVersion      sql.NullInt16
	KeyID            int64
	RawKey           []byte
	KeyFamily        int32
	KeyIndex         int32
}
    type FetchMintingBatchRow ¶
type FetchMintingBatchRow struct {
	BatchID             int64
	BatchState          int16
	MintingTxPsbt       []byte
	ChangeOutputIndex   sql.NullInt32
	GenesisID           sql.NullInt64
	HeightHint          int32
	CreationTimeUnix    time.Time
	TapscriptSibling    []byte
	AssetsOutputIndex   sql.NullInt32
	UniverseCommitments bool
	KeyID               int64
	RawKey              []byte
	KeyFamily           int32
	KeyIndex            int32
}
    type FetchMintingBatchesByInverseStateRow ¶
type FetchMintingBatchesByInverseStateRow struct {
	BatchID             int64
	BatchState          int16
	MintingTxPsbt       []byte
	ChangeOutputIndex   sql.NullInt32
	GenesisID           sql.NullInt64
	HeightHint          int32
	CreationTimeUnix    time.Time
	TapscriptSibling    []byte
	AssetsOutputIndex   sql.NullInt32
	UniverseCommitments bool
	KeyID               int64
	RawKey              []byte
	KeyFamily           int32
	KeyIndex            int32
}
    type FetchMultiverseRootRow ¶ added in v0.4.0
type FetchScriptKeyByTweakedKeyRow ¶
type FetchScriptKeyByTweakedKeyRow struct {
	ScriptKey   ScriptKey
	InternalKey InternalKey
}
    type FetchSeedlingIDParams ¶
type FetchSeedlingsForBatchRow ¶
type FetchSeedlingsForBatchRow struct {
	SeedlingID          int64
	AssetName           string
	AssetType           int16
	AssetVersion        int16
	AssetSupply         int64
	AssetsMetum         AssetsMetum
	EmissionEnabled     bool
	BatchID             int64
	GroupGenesisID      sql.NullInt64
	GroupAnchorID       sql.NullInt64
	GroupTapscriptRoot  []byte
	ScriptKeyTweak      []byte
	TweakedScriptKey    []byte
	ScriptKeyType       sql.NullInt16
	ScriptKeyRaw        []byte
	ScriptKeyFam        sql.NullInt32
	ScriptKeyIndex      sql.NullInt32
	GroupKeyRaw         []byte
	GroupKeyFam         sql.NullInt32
	GroupKeyIndex       sql.NullInt32
	DelegationKeyRaw    []byte
	DelegationKeyFam    sql.NullInt32
	DelegationKeyIndex  sql.NullInt32
	UniverseCommitments bool
}
    type FetchSupplyCommitRow ¶
type FetchSupplyCommitRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type FetchTapscriptTreeRow ¶ added in v0.4.0
type FetchTransferInputsRow ¶
type FetchTransferOutputsRow ¶
type FetchTransferOutputsRow struct {
	OutputID                 int64
	ProofSuffix              []byte
	Amount                   int64
	SerializedWitnesses      []byte
	ScriptKeyLocal           bool
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
	NumPassiveAssets         int32
	OutputType               int16
	ProofCourierAddr         []byte
	ProofDeliveryComplete    sql.NullBool
	Position                 int32
	AssetVersion             int32
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	TapAddress               sql.NullString
	AnchorUtxoID             int64
	AnchorOutpoint           []byte
	AnchorValue              int64
	AnchorMerkleRoot         []byte
	AnchorTaprootAssetRoot   []byte
	AnchorTapscriptSibling   []byte
	AnchorCommitmentVersion  sql.NullInt16
	InternalKeyRawKeyBytes   []byte
	InternalKeyFamily        int32
	InternalKeyIndex         int32
	ScriptKey                ScriptKey
	InternalKey              InternalKey
}
    type FetchUniverseKeysParams ¶ added in v0.3.1
type FetchUniverseKeysRow ¶
type FetchUniverseRootRow ¶
type FetchUnknownTypeScriptKeysRow ¶ added in v0.6.0
type FetchUnknownTypeScriptKeysRow struct {
	ScriptKey   ScriptKey
	InternalKey InternalKey
}
    type GenesisAsset ¶
type GenesisInfoView ¶
type GenesisPoint ¶
type InsertAssetSeedlingIntoBatchParams ¶
type InsertAssetSeedlingIntoBatchParams struct {
	RawKey              []byte
	AssetName           string
	AssetType           int16
	AssetVersion        int16
	AssetSupply         int64
	AssetMetaID         int64
	EmissionEnabled     bool
	GroupGenesisID      sql.NullInt64
	GroupAnchorID       sql.NullInt64
	ScriptKeyID         sql.NullInt64
	GroupInternalKeyID  sql.NullInt64
	GroupTapscriptRoot  []byte
	DelegationKeyID     sql.NullInt64
	UniverseCommitments bool
}
    type InsertAssetSeedlingParams ¶
type InsertAssetSeedlingParams struct {
	AssetName           string
	AssetType           int16
	AssetVersion        int16
	AssetSupply         int64
	AssetMetaID         int64
	EmissionEnabled     bool
	BatchID             int64
	GroupGenesisID      sql.NullInt64
	GroupAnchorID       sql.NullInt64
	ScriptKeyID         sql.NullInt64
	GroupInternalKeyID  sql.NullInt64
	GroupTapscriptRoot  []byte
	DelegationKeyID     sql.NullInt64
	UniverseCommitments bool
}
    type InsertAssetTransferOutputParams ¶
type InsertAssetTransferOutputParams struct {
	TransferID               int64
	AnchorUtxo               int64
	ScriptKey                int64
	ScriptKeyLocal           bool
	Amount                   int64
	SerializedWitnesses      []byte
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
	ProofSuffix              []byte
	NumPassiveAssets         int32
	OutputType               int16
	ProofCourierAddr         []byte
	AssetVersion             int32
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	ProofDeliveryComplete    sql.NullBool
	Position                 int32
	TapAddress               sql.NullString
}
    type InsertBranchParams ¶
type InsertBurnParams ¶ added in v0.5.0
type InsertLeafParams ¶
type InsertRootKeyParams ¶
type InsertTxProofParams ¶
type InternalKey ¶
type KeyGroupInfoView ¶
type LogProofTransferAttemptParams ¶ added in v0.3.1
type LogServerSyncParams ¶
type ManagedUtxo ¶
type MintSupplyPreCommit ¶
type MultiverseLeafe ¶ added in v0.4.0
type MultiverseRoot ¶ added in v0.4.0
type NewMintingBatchParams ¶
type PassiveAsset ¶
type ProofTransferLog ¶ added in v0.3.1
type Querier ¶
type Querier interface {
	AllAssets(ctx context.Context) ([]Asset, error)
	AllInternalKeys(ctx context.Context) ([]InternalKey, error)
	AllMintingBatches(ctx context.Context) ([]AllMintingBatchesRow, error)
	AnchorGenesisPoint(ctx context.Context, arg AnchorGenesisPointParams) error
	AnchorPendingAssets(ctx context.Context, arg AnchorPendingAssetsParams) error
	ApplyPendingOutput(ctx context.Context, arg ApplyPendingOutputParams) (int64, error)
	AssetsByGenesisPoint(ctx context.Context, prevOut []byte) ([]AssetsByGenesisPointRow, error)
	AssetsDBSizePostgres(ctx context.Context) (int64, error)
	AssetsDBSizeSqlite(ctx context.Context) (int32, error)
	AssetsInBatch(ctx context.Context, rawKey []byte) ([]AssetsInBatchRow, error)
	BindMintingBatchWithTapSibling(ctx context.Context, arg BindMintingBatchWithTapSiblingParams) error
	BindMintingBatchWithTx(ctx context.Context, arg BindMintingBatchWithTxParams) (int64, error)
	ConfirmChainAnchorTx(ctx context.Context, arg ConfirmChainAnchorTxParams) error
	ConfirmChainTx(ctx context.Context, arg ConfirmChainTxParams) error
	CountAuthMailboxMessages(ctx context.Context) (int64, error)
	DeleteAllNodes(ctx context.Context, namespace string) (int64, error)
	DeleteAssetWitnesses(ctx context.Context, assetID int64) error
	DeleteExpiredUTXOLeases(ctx context.Context, now sql.NullTime) error
	DeleteFederationProofSyncLog(ctx context.Context, arg DeleteFederationProofSyncLogParams) error
	DeleteManagedUTXO(ctx context.Context, outpoint []byte) error
	DeleteMultiverseLeaf(ctx context.Context, arg DeleteMultiverseLeafParams) error
	DeleteNode(ctx context.Context, arg DeleteNodeParams) (int64, error)
	DeleteRoot(ctx context.Context, namespace string) (int64, error)
	DeleteSupplyCommitTransition(ctx context.Context, transitionID int64) error
	DeleteSupplyUpdateEvents(ctx context.Context, transitionID sql.NullInt64) error
	DeleteTapscriptTreeEdges(ctx context.Context, rootHash []byte) error
	DeleteTapscriptTreeNodes(ctx context.Context) error
	DeleteTapscriptTreeRoot(ctx context.Context, rootHash []byte) error
	DeleteUTXOLease(ctx context.Context, outpoint []byte) error
	DeleteUniverseEvents(ctx context.Context, namespaceRoot string) error
	DeleteUniverseLeaves(ctx context.Context, namespace string) error
	DeleteUniverseRoot(ctx context.Context, namespaceRoot string) error
	DeleteUniverseServer(ctx context.Context, arg DeleteUniverseServerParams) error
	DeleteUniverseSupplyLeaf(ctx context.Context, arg DeleteUniverseSupplyLeafParams) error
	DeleteUniverseSupplyLeaves(ctx context.Context, namespaceRoot string) error
	DeleteUniverseSupplyRoot(ctx context.Context, namespaceRoot string) error
	FetchAddrEvent(ctx context.Context, id int64) (FetchAddrEventRow, error)
	FetchAddrEventByAddrKeyAndOutpoint(ctx context.Context, arg FetchAddrEventByAddrKeyAndOutpointParams) (FetchAddrEventByAddrKeyAndOutpointRow, error)
	FetchAddrEventOutputs(ctx context.Context, addrEventID int64) ([]FetchAddrEventOutputsRow, error)
	FetchAddrEventProofs(ctx context.Context, addrEventID int64) ([]FetchAddrEventProofsRow, error)
	FetchAddrs(ctx context.Context, arg FetchAddrsParams) ([]FetchAddrsRow, error)
	FetchAllAssetMeta(ctx context.Context) ([]FetchAllAssetMetaRow, error)
	FetchAllNodes(ctx context.Context) ([]MssmtNode, error)
	FetchAssetID(ctx context.Context, arg FetchAssetIDParams) ([]int64, error)
	FetchAssetMeta(ctx context.Context, metaID int64) (FetchAssetMetaRow, error)
	FetchAssetMetaByHash(ctx context.Context, metaDataHash []byte) (FetchAssetMetaByHashRow, error)
	FetchAssetMetaForAsset(ctx context.Context, assetID []byte) (FetchAssetMetaForAssetRow, error)
	FetchAssetProof(ctx context.Context, arg FetchAssetProofParams) ([]FetchAssetProofRow, error)
	FetchAssetProofs(ctx context.Context) ([]FetchAssetProofsRow, error)
	FetchAssetProofsByAssetID(ctx context.Context, assetID []byte) ([]FetchAssetProofsByAssetIDRow, error)
	FetchAssetProofsSizes(ctx context.Context) ([]FetchAssetProofsSizesRow, error)
	FetchAssetWitnesses(ctx context.Context, assetID sql.NullInt64) ([]FetchAssetWitnessesRow, error)
	FetchAssetsByAnchorTx(ctx context.Context, anchorUtxoID sql.NullInt64) ([]Asset, error)
	// We use a LEFT JOIN here as not every asset has a meta data entry.
	// We use a LEFT JOIN here as not every asset has a group key, so this'll
	// generate rows that have NULL values for the group key fields if an asset
	// doesn't have a group key. See the comment in fetchAssetSprouts for a work
	// around that needs to be used with this query until a sqlc bug is fixed.
	FetchAssetsForBatch(ctx context.Context, rawKey []byte) ([]FetchAssetsForBatchRow, error)
	FetchAuthMailboxMessage(ctx context.Context, id int64) (FetchAuthMailboxMessageRow, error)
	FetchAuthMailboxMessageByOutpoint(ctx context.Context, claimedOutpoint []byte) (FetchAuthMailboxMessageByOutpointRow, error)
	FetchChainTx(ctx context.Context, txid []byte) (ChainTxn, error)
	FetchChainTxByID(ctx context.Context, txnID int64) (FetchChainTxByIDRow, error)
	FetchChildren(ctx context.Context, arg FetchChildrenParams) ([]FetchChildrenRow, error)
	FetchChildrenSelfJoin(ctx context.Context, arg FetchChildrenSelfJoinParams) ([]FetchChildrenSelfJoinRow, error)
	FetchGenesisByAssetID(ctx context.Context, assetID []byte) (GenesisInfoView, error)
	FetchGenesisByGroupKey(ctx context.Context, tweakedGroupKey []byte) (GenesisInfoView, error)
	FetchGenesisByID(ctx context.Context, genAssetID int64) (FetchGenesisByIDRow, error)
	FetchGenesisID(ctx context.Context, arg FetchGenesisIDParams) (int64, error)
	FetchGenesisIDByAssetID(ctx context.Context, assetID []byte) (int64, error)
	FetchGenesisPointByAnchorTx(ctx context.Context, anchorTxID sql.NullInt64) (GenesisPoint, error)
	FetchGroupByGenesis(ctx context.Context, genesisID int64) (FetchGroupByGenesisRow, error)
	// Sort and limit to return the genesis ID for initial genesis of the group.
	FetchGroupByGroupKey(ctx context.Context, groupKey []byte) (FetchGroupByGroupKeyRow, error)
	FetchGroupedAssets(ctx context.Context) ([]FetchGroupedAssetsRow, error)
	FetchInternalKeyByID(ctx context.Context, keyID int64) (FetchInternalKeyByIDRow, error)
	FetchInternalKeyLocator(ctx context.Context, rawKey []byte) (FetchInternalKeyLocatorRow, error)
	FetchManagedUTXO(ctx context.Context, arg FetchManagedUTXOParams) (FetchManagedUTXORow, error)
	FetchManagedUTXOs(ctx context.Context) ([]FetchManagedUTXOsRow, error)
	// Fetch records from the supply_pre_commits table with optional
	// filtering.
	FetchMintSupplyPreCommits(ctx context.Context, arg FetchMintSupplyPreCommitsParams) ([]FetchMintSupplyPreCommitsRow, error)
	FetchMintingBatch(ctx context.Context, rawKey []byte) (FetchMintingBatchRow, error)
	FetchMintingBatchesByInverseState(ctx context.Context, batchState int16) ([]FetchMintingBatchesByInverseStateRow, error)
	FetchMultiverseRoot(ctx context.Context, namespaceRoot string) (FetchMultiverseRootRow, error)
	FetchRootNode(ctx context.Context, namespace string) (MssmtNode, error)
	FetchScriptKeyByTweakedKey(ctx context.Context, tweakedScriptKey []byte) (FetchScriptKeyByTweakedKeyRow, error)
	FetchScriptKeyIDByTweakedKey(ctx context.Context, tweakedScriptKey []byte) (int64, error)
	FetchSeedlingByID(ctx context.Context, seedlingID int64) (AssetSeedling, error)
	FetchSeedlingID(ctx context.Context, arg FetchSeedlingIDParams) (int64, error)
	FetchSeedlingsForBatch(ctx context.Context, rawKey []byte) ([]FetchSeedlingsForBatchRow, error)
	FetchSupplyCommit(ctx context.Context, groupKey []byte) (FetchSupplyCommitRow, error)
	// Fetches all push log entries for a given asset group, ordered by
	// creation time with the most recent entries first.
	FetchSupplySyncerPushLogs(ctx context.Context, groupKey []byte) ([]SupplySyncerPushLog, error)
	// Sort the nodes by node_index here instead of returning the indices.
	FetchTapscriptTree(ctx context.Context, rootHash []byte) ([]FetchTapscriptTreeRow, error)
	FetchTransferInputs(ctx context.Context, transferID int64) ([]FetchTransferInputsRow, error)
	FetchTransferOutputs(ctx context.Context, transferID int64) ([]FetchTransferOutputsRow, error)
	FetchUniverseKeys(ctx context.Context, arg FetchUniverseKeysParams) ([]FetchUniverseKeysRow, error)
	FetchUniverseRoot(ctx context.Context, namespace string) (FetchUniverseRootRow, error)
	FetchUniverseSupplyRoot(ctx context.Context, namespaceRoot string) (FetchUniverseSupplyRootRow, error)
	FetchUnknownTypeScriptKeys(ctx context.Context) ([]FetchUnknownTypeScriptKeysRow, error)
	// Fetch unspent supply pre-commitment outputs. Each pre-commitment output
	// comes from a mint anchor transaction and relates to an asset issuance
	// where the local node acted as the issuer.
	FetchUnspentMintSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentMintSupplyPreCommitsRow, error)
	// Fetch unspent supply pre-commitment outputs. Each pre-commitment output
	// comes from a mint anchor transaction and relates to an asset issuance
	// where a peer node acted as the issuer. Rows in this table do not relate to an
	// issuance where the local node acted as the issuer.
	FetchUnspentSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentSupplyPreCommitsRow, error)
	FinalizeSupplyCommitTransition(ctx context.Context, transitionID int64) error
	FreezePendingTransition(ctx context.Context, groupKey []byte) error
	GenesisAssets(ctx context.Context) ([]GenesisAsset, error)
	GenesisPoints(ctx context.Context) ([]GenesisPoint, error)
	GetRootKey(ctx context.Context, id []byte) (Macaroon, error)
	HasAssetProof(ctx context.Context, tweakedScriptKey []byte) (bool, error)
	InsertAssetSeedling(ctx context.Context, arg InsertAssetSeedlingParams) error
	InsertAssetSeedlingIntoBatch(ctx context.Context, arg InsertAssetSeedlingIntoBatchParams) error
	InsertAssetTransfer(ctx context.Context, arg InsertAssetTransferParams) (int64, error)
	InsertAssetTransferInput(ctx context.Context, arg InsertAssetTransferInputParams) error
	InsertAssetTransferOutput(ctx context.Context, arg InsertAssetTransferOutputParams) error
	InsertAuthMailboxMessage(ctx context.Context, arg InsertAuthMailboxMessageParams) (int64, error)
	InsertBranch(ctx context.Context, arg InsertBranchParams) error
	InsertBurn(ctx context.Context, arg InsertBurnParams) (int64, error)
	InsertCompactedLeaf(ctx context.Context, arg InsertCompactedLeafParams) error
	InsertLeaf(ctx context.Context, arg InsertLeafParams) error
	InsertNewProofEvent(ctx context.Context, arg InsertNewProofEventParams) error
	InsertNewSyncEvent(ctx context.Context, arg InsertNewSyncEventParams) error
	InsertPassiveAsset(ctx context.Context, arg InsertPassiveAssetParams) error
	InsertRootKey(ctx context.Context, arg InsertRootKeyParams) error
	InsertSupplyCommitTransition(ctx context.Context, arg InsertSupplyCommitTransitionParams) (int64, error)
	InsertSupplyCommitment(ctx context.Context, arg InsertSupplyCommitmentParams) (int64, error)
	// Inserts a new push log entry to track a successful supply commitment
	// push to a remote universe server. The commit_txid and output_index are
	// taken directly from the RootCommitment outpoint.
	InsertSupplySyncerPushLog(ctx context.Context, arg InsertSupplySyncerPushLogParams) error
	InsertSupplyUpdateEvent(ctx context.Context, arg InsertSupplyUpdateEventParams) error
	InsertTxProof(ctx context.Context, arg InsertTxProofParams) error
	InsertUniverseServer(ctx context.Context, arg InsertUniverseServerParams) error
	LinkDanglingSupplyUpdateEvents(ctx context.Context, arg LinkDanglingSupplyUpdateEventsParams) error
	LogProofTransferAttempt(ctx context.Context, arg LogProofTransferAttemptParams) error
	LogServerSync(ctx context.Context, arg LogServerSyncParams) error
	// Mark a supply pre-commitment output as spent by its outpoint. The
	// pre-commitment corresponds to an asset issuance where the local node acted as
	// the issuer.
	MarkMintPreCommitSpentByOutpoint(ctx context.Context, arg MarkMintPreCommitSpentByOutpointParams) error
	// Mark a supply pre-commitment output as spent by its outpoint. The
	// pre-commitment corresponds to an asset issuance where a remote node acted as
	// the issuer.
	MarkPreCommitSpentByOutpoint(ctx context.Context, arg MarkPreCommitSpentByOutpointParams) error
	NewMintingBatch(ctx context.Context, arg NewMintingBatchParams) error
	QueryAddr(ctx context.Context, arg QueryAddrParams) (QueryAddrRow, error)
	// We use a LEFT JOIN here as not every asset has a group key, so this'll
	// generate rows that have NULL values for the group key fields if an asset
	// doesn't have a group key. See the comment in fetchAssetSprouts for a work
	// around that needs to be used with this query until a sqlc bug is fixed.
	QueryAssetBalancesByAsset(ctx context.Context, arg QueryAssetBalancesByAssetParams) ([]QueryAssetBalancesByAssetRow, error)
	QueryAssetBalancesByGroup(ctx context.Context, arg QueryAssetBalancesByGroupParams) ([]QueryAssetBalancesByGroupRow, error)
	// BETWEEN is inclusive for both start and end values.
	QueryAssetStatsPerDayPostgres(ctx context.Context, arg QueryAssetStatsPerDayPostgresParams) ([]QueryAssetStatsPerDayPostgresRow, error)
	QueryAssetStatsPerDaySqlite(ctx context.Context, arg QueryAssetStatsPerDaySqliteParams) ([]QueryAssetStatsPerDaySqliteRow, error)
	QueryAssetTransfers(ctx context.Context, arg QueryAssetTransfersParams) ([]QueryAssetTransfersRow, error)
	// We use a LEFT JOIN here as not every asset has a group key, so this'll
	// generate rows that have NULL values for the group key fields if an asset
	// doesn't have a group key. See the comment in fetchAssetSprouts for a work
	// around that needs to be used with this query until a sqlc bug is fixed.
	// This clause is used to select specific assets for a asset ID, general
	// channel balances, and also coin selection. We use the sqlc.narg feature to
	// make the entire statement evaluate to true, if none of these extra args are
	// specified.
	QueryAssets(ctx context.Context, arg QueryAssetsParams) ([]QueryAssetsRow, error)
	QueryAuthMailboxMessages(ctx context.Context, arg QueryAuthMailboxMessagesParams) ([]QueryAuthMailboxMessagesRow, error)
	QueryBurns(ctx context.Context, arg QueryBurnsParams) ([]QueryBurnsRow, error)
	QueryDanglingSupplyUpdateEvents(ctx context.Context, groupKey []byte) ([]QueryDanglingSupplyUpdateEventsRow, error)
	QueryEventIDs(ctx context.Context, arg QueryEventIDsParams) ([]QueryEventIDsRow, error)
	// Find the ID of an existing non-finalized transition for the group key
	QueryExistingPendingTransition(ctx context.Context, groupKey []byte) (int64, error)
	QueryFederationGlobalSyncConfigs(ctx context.Context) ([]FederationGlobalSyncConfig, error)
	// Join on mssmt_nodes to get leaf related fields.
	// Join on genesis_info_view to get leaf related fields.
	QueryFederationProofSyncLog(ctx context.Context, arg QueryFederationProofSyncLogParams) ([]QueryFederationProofSyncLogRow, error)
	QueryFederationUniSyncConfigs(ctx context.Context) ([]QueryFederationUniSyncConfigsRow, error)
	QueryLastEventHeight(ctx context.Context, version int16) (int64, error)
	QueryLatestSupplyCommitment(ctx context.Context, groupKey []byte) (QueryLatestSupplyCommitmentRow, error)
	QueryMultiverseLeaves(ctx context.Context, arg QueryMultiverseLeavesParams) ([]QueryMultiverseLeavesRow, error)
	QueryPassiveAssets(ctx context.Context, transferID int64) ([]QueryPassiveAssetsRow, error)
	QueryPendingSupplyCommitTransition(ctx context.Context, groupKey []byte) (QueryPendingSupplyCommitTransitionRow, error)
	QueryProofTransferAttempts(ctx context.Context, arg QueryProofTransferAttemptsParams) ([]time.Time, error)
	QueryStartingSupplyCommitment(ctx context.Context, groupKey []byte) (QueryStartingSupplyCommitmentRow, error)
	QuerySupplyCommitStateMachine(ctx context.Context, groupKey []byte) (QuerySupplyCommitStateMachineRow, error)
	QuerySupplyCommitment(ctx context.Context, commitID int64) (QuerySupplyCommitmentRow, error)
	QuerySupplyCommitmentByOutpoint(ctx context.Context, arg QuerySupplyCommitmentByOutpointParams) (QuerySupplyCommitmentByOutpointRow, error)
	QuerySupplyCommitmentBySpentOutpoint(ctx context.Context, arg QuerySupplyCommitmentBySpentOutpointParams) (QuerySupplyCommitmentBySpentOutpointRow, error)
	QuerySupplyCommitmentOutpoint(ctx context.Context, commitID int64) (QuerySupplyCommitmentOutpointRow, error)
	QuerySupplyLeavesByHeight(ctx context.Context, arg QuerySupplyLeavesByHeightParams) ([]QuerySupplyLeavesByHeightRow, error)
	QuerySupplyUpdateEvents(ctx context.Context, transitionID sql.NullInt64) ([]QuerySupplyUpdateEventsRow, error)
	// TODO(roasbeef): use the universe id instead for the grouping? so namespace
	// root, simplifies queries
	QueryUniverseAssetStats(ctx context.Context, arg QueryUniverseAssetStatsParams) ([]QueryUniverseAssetStatsRow, error)
	QueryUniverseLeaves(ctx context.Context, arg QueryUniverseLeavesParams) ([]QueryUniverseLeavesRow, error)
	QueryUniverseServers(ctx context.Context, arg QueryUniverseServersParams) ([]UniverseServer, error)
	QueryUniverseStats(ctx context.Context) (QueryUniverseStatsRow, error)
	QueryUniverseSupplyLeaves(ctx context.Context, arg QueryUniverseSupplyLeavesParams) ([]QueryUniverseSupplyLeavesRow, error)
	ReAnchorPassiveAssets(ctx context.Context, arg ReAnchorPassiveAssetsParams) error
	SetAddrManaged(ctx context.Context, arg SetAddrManagedParams) error
	SetAssetSpent(ctx context.Context, arg SetAssetSpentParams) (int64, error)
	SetTransferOutputProofDeliveryStatus(ctx context.Context, arg SetTransferOutputProofDeliveryStatusParams) error
	UniverseLeaves(ctx context.Context) ([]UniverseLeafe, error)
	UniverseRoots(ctx context.Context, arg UniverseRootsParams) ([]UniverseRootsRow, error)
	UpdateBatchGenesisTx(ctx context.Context, arg UpdateBatchGenesisTxParams) error
	UpdateMintingBatchState(ctx context.Context, arg UpdateMintingBatchStateParams) error
	UpdateSupplyCommitTransitionCommitment(ctx context.Context, arg UpdateSupplyCommitTransitionCommitmentParams) error
	UpdateSupplyCommitmentChainDetails(ctx context.Context, arg UpdateSupplyCommitmentChainDetailsParams) error
	UpdateSupplyCommitmentRoot(ctx context.Context, arg UpdateSupplyCommitmentRootParams) error
	UpdateUTXOLease(ctx context.Context, arg UpdateUTXOLeaseParams) error
	UpsertAddr(ctx context.Context, arg UpsertAddrParams) (int64, error)
	UpsertAddrEvent(ctx context.Context, arg UpsertAddrEventParams) (int64, error)
	UpsertAddrEventOutput(ctx context.Context, arg UpsertAddrEventOutputParams) (int64, error)
	UpsertAddrEventProof(ctx context.Context, arg UpsertAddrEventProofParams) (int64, error)
	UpsertAsset(ctx context.Context, arg UpsertAssetParams) (int64, error)
	UpsertAssetGroupKey(ctx context.Context, arg UpsertAssetGroupKeyParams) (int64, error)
	UpsertAssetGroupWitness(ctx context.Context, arg UpsertAssetGroupWitnessParams) (int64, error)
	UpsertAssetMeta(ctx context.Context, arg UpsertAssetMetaParams) (int64, error)
	UpsertAssetProofByID(ctx context.Context, arg UpsertAssetProofByIDParams) error
	UpsertAssetWitness(ctx context.Context, arg UpsertAssetWitnessParams) error
	UpsertChainTx(ctx context.Context, arg UpsertChainTxParams) (int64, error)
	UpsertFederationGlobalSyncConfig(ctx context.Context, arg UpsertFederationGlobalSyncConfigParams) error
	UpsertFederationProofSyncLog(ctx context.Context, arg UpsertFederationProofSyncLogParams) (int64, error)
	UpsertFederationUniSyncConfig(ctx context.Context, arg UpsertFederationUniSyncConfigParams) error
	UpsertGenesisAsset(ctx context.Context, arg UpsertGenesisAssetParams) (int64, error)
	UpsertGenesisPoint(ctx context.Context, prevOut []byte) (int64, error)
	UpsertInternalKey(ctx context.Context, arg UpsertInternalKeyParams) (int64, error)
	UpsertManagedUTXO(ctx context.Context, arg UpsertManagedUTXOParams) (int64, error)
	// Upsert a supply pre-commit that is tied to a minting batch.
	// The batch is resolved from @batch_key
	// (internal_keys -> asset_minting_batches).
	// The key is (batch_id, tx_output_index), where tx_output_index is the
	// pre-commit output index in the batch’s mint anchor transaction.
	// If a row exists for the same batch and index, update non-key fields only;
	// the batch association is not changed.
	UpsertMintSupplyPreCommit(ctx context.Context, arg UpsertMintSupplyPreCommitParams) (int64, error)
	UpsertMultiverseLeaf(ctx context.Context, arg UpsertMultiverseLeafParams) (int64, error)
	UpsertMultiverseRoot(ctx context.Context, arg UpsertMultiverseRootParams) (int64, error)
	UpsertRootNode(ctx context.Context, arg UpsertRootNodeParams) error
	UpsertScriptKey(ctx context.Context, arg UpsertScriptKeyParams) (int64, error)
	// Return the ID of the state that was actually set (either inserted or updated),
	// and the latest commitment ID that was set.
	UpsertSupplyCommitStateMachine(ctx context.Context, arg UpsertSupplyCommitStateMachineParams) (UpsertSupplyCommitStateMachineRow, error)
	// Upsert a supply pre-commit output that is not tied to a minting batch.
	UpsertSupplyPreCommit(ctx context.Context, arg UpsertSupplyPreCommitParams) (int64, error)
	UpsertTapscriptTreeEdge(ctx context.Context, arg UpsertTapscriptTreeEdgeParams) (int64, error)
	UpsertTapscriptTreeNode(ctx context.Context, rawNode []byte) (int64, error)
	UpsertTapscriptTreeRootHash(ctx context.Context, arg UpsertTapscriptTreeRootHashParams) (int64, error)
	UpsertUniverseLeaf(ctx context.Context, arg UpsertUniverseLeafParams) error
	UpsertUniverseRoot(ctx context.Context, arg UpsertUniverseRootParams) (int64, error)
	UpsertUniverseSupplyLeaf(ctx context.Context, arg UpsertUniverseSupplyLeafParams) (int64, error)
	UpsertUniverseSupplyRoot(ctx context.Context, arg UpsertUniverseSupplyRootParams) (int64, error)
}
    type Queries ¶
type Queries struct {
	// contains filtered or unexported fields
}
    func NewPostgres ¶ added in v0.2.3
NewPostgres creates a new Queries instance for a Postgres database.
func (*Queries) AllInternalKeys ¶
func (q *Queries) AllInternalKeys(ctx context.Context) ([]InternalKey, error)
func (*Queries) AllMintingBatches ¶
func (q *Queries) AllMintingBatches(ctx context.Context) ([]AllMintingBatchesRow, error)
func (*Queries) AnchorGenesisPoint ¶
func (q *Queries) AnchorGenesisPoint(ctx context.Context, arg AnchorGenesisPointParams) error
func (*Queries) AnchorPendingAssets ¶
func (q *Queries) AnchorPendingAssets(ctx context.Context, arg AnchorPendingAssetsParams) error
func (*Queries) ApplyPendingOutput ¶
func (*Queries) AssetsByGenesisPoint ¶
func (*Queries) AssetsDBSizePostgres ¶ added in v0.5.0
func (*Queries) AssetsDBSizeSqlite ¶ added in v0.5.0
func (*Queries) AssetsInBatch ¶
func (*Queries) Backend ¶ added in v0.2.3
func (q *Queries) Backend() BackendType
Backend returns the type of database backend we're using.
func (*Queries) BindMintingBatchWithTapSibling ¶ added in v0.4.0
func (q *Queries) BindMintingBatchWithTapSibling(ctx context.Context, arg BindMintingBatchWithTapSiblingParams) error
func (*Queries) BindMintingBatchWithTx ¶
func (*Queries) ConfirmChainAnchorTx ¶
func (q *Queries) ConfirmChainAnchorTx(ctx context.Context, arg ConfirmChainAnchorTxParams) error
func (*Queries) ConfirmChainTx ¶
func (q *Queries) ConfirmChainTx(ctx context.Context, arg ConfirmChainTxParams) error
func (*Queries) CountAuthMailboxMessages ¶
func (*Queries) DeleteAllNodes ¶ added in v0.2.1
func (*Queries) DeleteAssetWitnesses ¶
func (*Queries) DeleteExpiredUTXOLeases ¶ added in v0.3.0
func (*Queries) DeleteFederationProofSyncLog ¶ added in v0.3.3
func (q *Queries) DeleteFederationProofSyncLog(ctx context.Context, arg DeleteFederationProofSyncLogParams) error
func (*Queries) DeleteManagedUTXO ¶
func (*Queries) DeleteMultiverseLeaf ¶ added in v0.4.0
func (q *Queries) DeleteMultiverseLeaf(ctx context.Context, arg DeleteMultiverseLeafParams) error
func (*Queries) DeleteNode ¶
func (*Queries) DeleteRoot ¶ added in v0.2.1
func (*Queries) DeleteSupplyCommitTransition ¶
func (*Queries) DeleteSupplyUpdateEvents ¶
func (*Queries) DeleteTapscriptTreeEdges ¶ added in v0.4.0
func (*Queries) DeleteTapscriptTreeNodes ¶ added in v0.4.0
func (*Queries) DeleteTapscriptTreeRoot ¶ added in v0.4.0
func (*Queries) DeleteUTXOLease ¶ added in v0.3.0
func (*Queries) DeleteUniverseEvents ¶ added in v0.2.1
func (*Queries) DeleteUniverseLeaves ¶ added in v0.2.1
func (*Queries) DeleteUniverseRoot ¶ added in v0.2.1
func (*Queries) DeleteUniverseServer ¶
func (q *Queries) DeleteUniverseServer(ctx context.Context, arg DeleteUniverseServerParams) error
func (*Queries) DeleteUniverseSupplyLeaf ¶
func (q *Queries) DeleteUniverseSupplyLeaf(ctx context.Context, arg DeleteUniverseSupplyLeafParams) error
func (*Queries) DeleteUniverseSupplyLeaves ¶
func (*Queries) DeleteUniverseSupplyRoot ¶
func (*Queries) FetchAddrEvent ¶
func (*Queries) FetchAddrEventByAddrKeyAndOutpoint ¶ added in v0.4.0
func (q *Queries) FetchAddrEventByAddrKeyAndOutpoint(ctx context.Context, arg FetchAddrEventByAddrKeyAndOutpointParams) (FetchAddrEventByAddrKeyAndOutpointRow, error)
func (*Queries) FetchAddrEventOutputs ¶
func (*Queries) FetchAddrEventProofs ¶
func (*Queries) FetchAddrs ¶
func (q *Queries) FetchAddrs(ctx context.Context, arg FetchAddrsParams) ([]FetchAddrsRow, error)
func (*Queries) FetchAllAssetMeta ¶ added in v0.6.1
func (q *Queries) FetchAllAssetMeta(ctx context.Context) ([]FetchAllAssetMetaRow, error)
func (*Queries) FetchAllNodes ¶
func (*Queries) FetchAssetID ¶ added in v0.4.0
func (*Queries) FetchAssetMeta ¶
func (*Queries) FetchAssetMetaByHash ¶
func (*Queries) FetchAssetMetaForAsset ¶
func (*Queries) FetchAssetProof ¶
func (q *Queries) FetchAssetProof(ctx context.Context, arg FetchAssetProofParams) ([]FetchAssetProofRow, error)
func (*Queries) FetchAssetProofs ¶
func (q *Queries) FetchAssetProofs(ctx context.Context) ([]FetchAssetProofsRow, error)
func (*Queries) FetchAssetProofsByAssetID ¶ added in v0.3.0
func (*Queries) FetchAssetProofsSizes ¶ added in v0.5.0
func (q *Queries) FetchAssetProofsSizes(ctx context.Context) ([]FetchAssetProofsSizesRow, error)
func (*Queries) FetchAssetWitnesses ¶
func (*Queries) FetchAssetsByAnchorTx ¶
func (*Queries) FetchAssetsForBatch ¶
func (q *Queries) FetchAssetsForBatch(ctx context.Context, rawKey []byte) ([]FetchAssetsForBatchRow, error)
We use a LEFT JOIN here as not every asset has a meta data entry. We use a LEFT JOIN here as not every asset has a group key, so this'll generate rows that have NULL values for the group key fields if an asset doesn't have a group key. See the comment in fetchAssetSprouts for a work around that needs to be used with this query until a sqlc bug is fixed.
func (*Queries) FetchAuthMailboxMessage ¶
func (*Queries) FetchAuthMailboxMessageByOutpoint ¶
func (*Queries) FetchChainTx ¶
func (*Queries) FetchChainTxByID ¶
func (*Queries) FetchChildren ¶
func (q *Queries) FetchChildren(ctx context.Context, arg FetchChildrenParams) ([]FetchChildrenRow, error)
func (*Queries) FetchChildrenSelfJoin ¶
func (q *Queries) FetchChildrenSelfJoin(ctx context.Context, arg FetchChildrenSelfJoinParams) ([]FetchChildrenSelfJoinRow, error)
func (*Queries) FetchGenesisByAssetID ¶
func (*Queries) FetchGenesisByGroupKey ¶
func (*Queries) FetchGenesisByID ¶
func (*Queries) FetchGenesisID ¶
func (*Queries) FetchGenesisIDByAssetID ¶ added in v0.6.0
func (*Queries) FetchGenesisPointByAnchorTx ¶
func (*Queries) FetchGroupByGenesis ¶
func (*Queries) FetchGroupByGroupKey ¶
func (q *Queries) FetchGroupByGroupKey(ctx context.Context, groupKey []byte) (FetchGroupByGroupKeyRow, error)
Sort and limit to return the genesis ID for initial genesis of the group.
func (*Queries) FetchGroupedAssets ¶
func (q *Queries) FetchGroupedAssets(ctx context.Context) ([]FetchGroupedAssetsRow, error)
func (*Queries) FetchInternalKeyByID ¶
func (*Queries) FetchInternalKeyLocator ¶ added in v0.4.0
func (*Queries) FetchManagedUTXO ¶
func (q *Queries) FetchManagedUTXO(ctx context.Context, arg FetchManagedUTXOParams) (FetchManagedUTXORow, error)
func (*Queries) FetchManagedUTXOs ¶
func (q *Queries) FetchManagedUTXOs(ctx context.Context) ([]FetchManagedUTXOsRow, error)
func (*Queries) FetchMintSupplyPreCommits ¶
func (q *Queries) FetchMintSupplyPreCommits(ctx context.Context, arg FetchMintSupplyPreCommitsParams) ([]FetchMintSupplyPreCommitsRow, error)
Fetch records from the supply_pre_commits table with optional filtering.
func (*Queries) FetchMintingBatch ¶
func (*Queries) FetchMintingBatchesByInverseState ¶
func (*Queries) FetchMultiverseRoot ¶ added in v0.4.0
func (*Queries) FetchRootNode ¶
func (*Queries) FetchScriptKeyByTweakedKey ¶
func (*Queries) FetchScriptKeyIDByTweakedKey ¶
func (*Queries) FetchSeedlingByID ¶
func (*Queries) FetchSeedlingID ¶
func (*Queries) FetchSeedlingsForBatch ¶
func (*Queries) FetchSupplyCommit ¶
func (*Queries) FetchSupplySyncerPushLogs ¶
func (q *Queries) FetchSupplySyncerPushLogs(ctx context.Context, groupKey []byte) ([]SupplySyncerPushLog, error)
Fetches all push log entries for a given asset group, ordered by creation time with the most recent entries first.
func (*Queries) FetchTapscriptTree ¶ added in v0.4.0
func (q *Queries) FetchTapscriptTree(ctx context.Context, rootHash []byte) ([]FetchTapscriptTreeRow, error)
Sort the nodes by node_index here instead of returning the indices.
func (*Queries) FetchTransferInputs ¶
func (*Queries) FetchTransferOutputs ¶
func (*Queries) FetchUniverseKeys ¶
func (q *Queries) FetchUniverseKeys(ctx context.Context, arg FetchUniverseKeysParams) ([]FetchUniverseKeysRow, error)
func (*Queries) FetchUniverseRoot ¶
func (*Queries) FetchUniverseSupplyRoot ¶
func (*Queries) FetchUnknownTypeScriptKeys ¶ added in v0.6.0
func (q *Queries) FetchUnknownTypeScriptKeys(ctx context.Context) ([]FetchUnknownTypeScriptKeysRow, error)
func (*Queries) FetchUnspentMintSupplyPreCommits ¶
func (q *Queries) FetchUnspentMintSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentMintSupplyPreCommitsRow, error)
Fetch unspent supply pre-commitment outputs. Each pre-commitment output comes from a mint anchor transaction and relates to an asset issuance where the local node acted as the issuer.
func (*Queries) FetchUnspentSupplyPreCommits ¶
func (q *Queries) FetchUnspentSupplyPreCommits(ctx context.Context, groupKey []byte) ([]FetchUnspentSupplyPreCommitsRow, error)
Fetch unspent supply pre-commitment outputs. Each pre-commitment output comes from a mint anchor transaction and relates to an asset issuance where a peer node acted as the issuer. Rows in this table do not relate to an issuance where the local node acted as the issuer.
func (*Queries) FinalizeSupplyCommitTransition ¶
func (*Queries) FreezePendingTransition ¶
func (*Queries) GenesisAssets ¶
func (q *Queries) GenesisAssets(ctx context.Context) ([]GenesisAsset, error)
func (*Queries) GenesisPoints ¶
func (q *Queries) GenesisPoints(ctx context.Context) ([]GenesisPoint, error)
func (*Queries) GetRootKey ¶
func (*Queries) HasAssetProof ¶ added in v0.3.3
func (*Queries) InsertAssetSeedling ¶
func (q *Queries) InsertAssetSeedling(ctx context.Context, arg InsertAssetSeedlingParams) error
func (*Queries) InsertAssetSeedlingIntoBatch ¶
func (q *Queries) InsertAssetSeedlingIntoBatch(ctx context.Context, arg InsertAssetSeedlingIntoBatchParams) error
func (*Queries) InsertAssetTransfer ¶
func (*Queries) InsertAssetTransferInput ¶
func (q *Queries) InsertAssetTransferInput(ctx context.Context, arg InsertAssetTransferInputParams) error
func (*Queries) InsertAssetTransferOutput ¶
func (q *Queries) InsertAssetTransferOutput(ctx context.Context, arg InsertAssetTransferOutputParams) error
func (*Queries) InsertAuthMailboxMessage ¶
func (*Queries) InsertBranch ¶
func (q *Queries) InsertBranch(ctx context.Context, arg InsertBranchParams) error
func (*Queries) InsertBurn ¶ added in v0.5.0
func (*Queries) InsertCompactedLeaf ¶
func (q *Queries) InsertCompactedLeaf(ctx context.Context, arg InsertCompactedLeafParams) error
func (*Queries) InsertLeaf ¶
func (q *Queries) InsertLeaf(ctx context.Context, arg InsertLeafParams) error
func (*Queries) InsertNewProofEvent ¶
func (q *Queries) InsertNewProofEvent(ctx context.Context, arg InsertNewProofEventParams) error
func (*Queries) InsertNewSyncEvent ¶
func (q *Queries) InsertNewSyncEvent(ctx context.Context, arg InsertNewSyncEventParams) error
func (*Queries) InsertPassiveAsset ¶
func (q *Queries) InsertPassiveAsset(ctx context.Context, arg InsertPassiveAssetParams) error
func (*Queries) InsertRootKey ¶
func (q *Queries) InsertRootKey(ctx context.Context, arg InsertRootKeyParams) error
func (*Queries) InsertSupplyCommitTransition ¶
func (*Queries) InsertSupplyCommitment ¶
func (*Queries) InsertSupplySyncerPushLog ¶
func (q *Queries) InsertSupplySyncerPushLog(ctx context.Context, arg InsertSupplySyncerPushLogParams) error
Inserts a new push log entry to track a successful supply commitment push to a remote universe server. The commit_txid and output_index are taken directly from the RootCommitment outpoint.
func (*Queries) InsertSupplyUpdateEvent ¶
func (q *Queries) InsertSupplyUpdateEvent(ctx context.Context, arg InsertSupplyUpdateEventParams) error
func (*Queries) InsertTxProof ¶
func (q *Queries) InsertTxProof(ctx context.Context, arg InsertTxProofParams) error
func (*Queries) InsertUniverseServer ¶
func (q *Queries) InsertUniverseServer(ctx context.Context, arg InsertUniverseServerParams) error
func (*Queries) LinkDanglingSupplyUpdateEvents ¶
func (q *Queries) LinkDanglingSupplyUpdateEvents(ctx context.Context, arg LinkDanglingSupplyUpdateEventsParams) error
func (*Queries) LogProofTransferAttempt ¶ added in v0.3.1
func (q *Queries) LogProofTransferAttempt(ctx context.Context, arg LogProofTransferAttemptParams) error
func (*Queries) LogServerSync ¶
func (q *Queries) LogServerSync(ctx context.Context, arg LogServerSyncParams) error
func (*Queries) MarkMintPreCommitSpentByOutpoint ¶
func (q *Queries) MarkMintPreCommitSpentByOutpoint(ctx context.Context, arg MarkMintPreCommitSpentByOutpointParams) error
Mark a supply pre-commitment output as spent by its outpoint. The pre-commitment corresponds to an asset issuance where the local node acted as the issuer.
func (*Queries) MarkPreCommitSpentByOutpoint ¶
func (q *Queries) MarkPreCommitSpentByOutpoint(ctx context.Context, arg MarkPreCommitSpentByOutpointParams) error
Mark a supply pre-commitment output as spent by its outpoint. The pre-commitment corresponds to an asset issuance where a remote node acted as the issuer.
func (*Queries) NewMintingBatch ¶
func (q *Queries) NewMintingBatch(ctx context.Context, arg NewMintingBatchParams) error
func (*Queries) QueryAddr ¶
func (q *Queries) QueryAddr(ctx context.Context, arg QueryAddrParams) (QueryAddrRow, error)
func (*Queries) QueryAssetBalancesByAsset ¶
func (q *Queries) QueryAssetBalancesByAsset(ctx context.Context, arg QueryAssetBalancesByAssetParams) ([]QueryAssetBalancesByAssetRow, error)
We use a LEFT JOIN here as not every asset has a group key, so this'll generate rows that have NULL values for the group key fields if an asset doesn't have a group key. See the comment in fetchAssetSprouts for a work around that needs to be used with this query until a sqlc bug is fixed.
func (*Queries) QueryAssetBalancesByGroup ¶
func (q *Queries) QueryAssetBalancesByGroup(ctx context.Context, arg QueryAssetBalancesByGroupParams) ([]QueryAssetBalancesByGroupRow, error)
func (*Queries) QueryAssetStatsPerDayPostgres ¶ added in v0.2.3
func (q *Queries) QueryAssetStatsPerDayPostgres(ctx context.Context, arg QueryAssetStatsPerDayPostgresParams) ([]QueryAssetStatsPerDayPostgresRow, error)
BETWEEN is inclusive for both start and end values.
func (*Queries) QueryAssetStatsPerDaySqlite ¶ added in v0.2.3
func (q *Queries) QueryAssetStatsPerDaySqlite(ctx context.Context, arg QueryAssetStatsPerDaySqliteParams) ([]QueryAssetStatsPerDaySqliteRow, error)
func (*Queries) QueryAssetTransfers ¶
func (q *Queries) QueryAssetTransfers(ctx context.Context, arg QueryAssetTransfersParams) ([]QueryAssetTransfersRow, error)
func (*Queries) QueryAssets ¶
func (q *Queries) QueryAssets(ctx context.Context, arg QueryAssetsParams) ([]QueryAssetsRow, error)
We use a LEFT JOIN here as not every asset has a group key, so this'll generate rows that have NULL values for the group key fields if an asset doesn't have a group key. See the comment in fetchAssetSprouts for a work around that needs to be used with this query until a sqlc bug is fixed. This clause is used to select specific assets for a asset ID, general channel balances, and also coin selection. We use the sqlc.narg feature to make the entire statement evaluate to true, if none of these extra args are specified.
func (*Queries) QueryAuthMailboxMessages ¶
func (q *Queries) QueryAuthMailboxMessages(ctx context.Context, arg QueryAuthMailboxMessagesParams) ([]QueryAuthMailboxMessagesRow, error)
func (*Queries) QueryBurns ¶ added in v0.5.0
func (q *Queries) QueryBurns(ctx context.Context, arg QueryBurnsParams) ([]QueryBurnsRow, error)
func (*Queries) QueryDanglingSupplyUpdateEvents ¶
func (*Queries) QueryEventIDs ¶
func (q *Queries) QueryEventIDs(ctx context.Context, arg QueryEventIDsParams) ([]QueryEventIDsRow, error)
func (*Queries) QueryExistingPendingTransition ¶
func (q *Queries) QueryExistingPendingTransition(ctx context.Context, groupKey []byte) (int64, error)
Find the ID of an existing non-finalized transition for the group key
func (*Queries) QueryFederationGlobalSyncConfigs ¶ added in v0.3.0
func (q *Queries) QueryFederationGlobalSyncConfigs(ctx context.Context) ([]FederationGlobalSyncConfig, error)
func (*Queries) QueryFederationProofSyncLog ¶ added in v0.3.3
func (q *Queries) QueryFederationProofSyncLog(ctx context.Context, arg QueryFederationProofSyncLogParams) ([]QueryFederationProofSyncLogRow, error)
Join on mssmt_nodes to get leaf related fields. Join on genesis_info_view to get leaf related fields.
func (*Queries) QueryFederationUniSyncConfigs ¶ added in v0.3.0
func (q *Queries) QueryFederationUniSyncConfigs(ctx context.Context) ([]QueryFederationUniSyncConfigsRow, error)
func (*Queries) QueryLastEventHeight ¶
func (*Queries) QueryLatestSupplyCommitment ¶
func (*Queries) QueryMultiverseLeaves ¶ added in v0.4.0
func (q *Queries) QueryMultiverseLeaves(ctx context.Context, arg QueryMultiverseLeavesParams) ([]QueryMultiverseLeavesRow, error)
func (*Queries) QueryPassiveAssets ¶
func (*Queries) QueryPendingSupplyCommitTransition ¶
func (*Queries) QueryProofTransferAttempts ¶ added in v0.3.1
func (*Queries) QueryStartingSupplyCommitment ¶
func (*Queries) QuerySupplyCommitStateMachine ¶
func (*Queries) QuerySupplyCommitment ¶
func (*Queries) QuerySupplyCommitmentByOutpoint ¶
func (q *Queries) QuerySupplyCommitmentByOutpoint(ctx context.Context, arg QuerySupplyCommitmentByOutpointParams) (QuerySupplyCommitmentByOutpointRow, error)
func (*Queries) QuerySupplyCommitmentBySpentOutpoint ¶
func (q *Queries) QuerySupplyCommitmentBySpentOutpoint(ctx context.Context, arg QuerySupplyCommitmentBySpentOutpointParams) (QuerySupplyCommitmentBySpentOutpointRow, error)
func (*Queries) QuerySupplyCommitmentOutpoint ¶
func (*Queries) QuerySupplyLeavesByHeight ¶
func (q *Queries) QuerySupplyLeavesByHeight(ctx context.Context, arg QuerySupplyLeavesByHeightParams) ([]QuerySupplyLeavesByHeightRow, error)
func (*Queries) QuerySupplyUpdateEvents ¶
func (*Queries) QueryUniverseAssetStats ¶
func (q *Queries) QueryUniverseAssetStats(ctx context.Context, arg QueryUniverseAssetStatsParams) ([]QueryUniverseAssetStatsRow, error)
TODO(roasbeef): use the universe id instead for the grouping? so namespace root, simplifies queries
func (*Queries) QueryUniverseLeaves ¶
func (q *Queries) QueryUniverseLeaves(ctx context.Context, arg QueryUniverseLeavesParams) ([]QueryUniverseLeavesRow, error)
func (*Queries) QueryUniverseServers ¶ added in v0.3.3
func (q *Queries) QueryUniverseServers(ctx context.Context, arg QueryUniverseServersParams) ([]UniverseServer, error)
func (*Queries) QueryUniverseStats ¶
func (q *Queries) QueryUniverseStats(ctx context.Context) (QueryUniverseStatsRow, error)
func (*Queries) QueryUniverseSupplyLeaves ¶
func (q *Queries) QueryUniverseSupplyLeaves(ctx context.Context, arg QueryUniverseSupplyLeavesParams) ([]QueryUniverseSupplyLeavesRow, error)
func (*Queries) ReAnchorPassiveAssets ¶
func (q *Queries) ReAnchorPassiveAssets(ctx context.Context, arg ReAnchorPassiveAssetsParams) error
func (*Queries) SetAddrManaged ¶
func (q *Queries) SetAddrManaged(ctx context.Context, arg SetAddrManagedParams) error
func (*Queries) SetAssetSpent ¶
func (*Queries) SetTransferOutputProofDeliveryStatus ¶ added in v0.5.0
func (q *Queries) SetTransferOutputProofDeliveryStatus(ctx context.Context, arg SetTransferOutputProofDeliveryStatusParams) error
func (*Queries) UniverseLeaves ¶
func (q *Queries) UniverseLeaves(ctx context.Context) ([]UniverseLeafe, error)
func (*Queries) UniverseRoots ¶
func (q *Queries) UniverseRoots(ctx context.Context, arg UniverseRootsParams) ([]UniverseRootsRow, error)
func (*Queries) UpdateBatchGenesisTx ¶
func (q *Queries) UpdateBatchGenesisTx(ctx context.Context, arg UpdateBatchGenesisTxParams) error
func (*Queries) UpdateMintingBatchState ¶
func (q *Queries) UpdateMintingBatchState(ctx context.Context, arg UpdateMintingBatchStateParams) error
func (*Queries) UpdateSupplyCommitTransitionCommitment ¶
func (q *Queries) UpdateSupplyCommitTransitionCommitment(ctx context.Context, arg UpdateSupplyCommitTransitionCommitmentParams) error
func (*Queries) UpdateSupplyCommitmentChainDetails ¶
func (q *Queries) UpdateSupplyCommitmentChainDetails(ctx context.Context, arg UpdateSupplyCommitmentChainDetailsParams) error
func (*Queries) UpdateSupplyCommitmentRoot ¶
func (q *Queries) UpdateSupplyCommitmentRoot(ctx context.Context, arg UpdateSupplyCommitmentRootParams) error
func (*Queries) UpdateUTXOLease ¶ added in v0.3.0
func (q *Queries) UpdateUTXOLease(ctx context.Context, arg UpdateUTXOLeaseParams) error
func (*Queries) UpsertAddr ¶ added in v0.6.0
func (*Queries) UpsertAddrEvent ¶
func (*Queries) UpsertAddrEventOutput ¶
func (*Queries) UpsertAddrEventProof ¶
func (*Queries) UpsertAsset ¶ added in v0.4.0
func (*Queries) UpsertAssetGroupKey ¶
func (*Queries) UpsertAssetGroupWitness ¶ added in v0.3.0
func (*Queries) UpsertAssetMeta ¶
func (*Queries) UpsertAssetProofByID ¶ added in v0.3.3
func (q *Queries) UpsertAssetProofByID(ctx context.Context, arg UpsertAssetProofByIDParams) error
func (*Queries) UpsertAssetWitness ¶ added in v0.3.3
func (q *Queries) UpsertAssetWitness(ctx context.Context, arg UpsertAssetWitnessParams) error
func (*Queries) UpsertChainTx ¶
func (*Queries) UpsertFederationGlobalSyncConfig ¶ added in v0.3.0
func (q *Queries) UpsertFederationGlobalSyncConfig(ctx context.Context, arg UpsertFederationGlobalSyncConfigParams) error
func (*Queries) UpsertFederationProofSyncLog ¶ added in v0.3.3
func (*Queries) UpsertFederationUniSyncConfig ¶ added in v0.3.0
func (q *Queries) UpsertFederationUniSyncConfig(ctx context.Context, arg UpsertFederationUniSyncConfigParams) error
func (*Queries) UpsertGenesisAsset ¶
func (*Queries) UpsertGenesisPoint ¶
func (*Queries) UpsertInternalKey ¶
func (*Queries) UpsertManagedUTXO ¶
func (*Queries) UpsertMintSupplyPreCommit ¶
func (q *Queries) UpsertMintSupplyPreCommit(ctx context.Context, arg UpsertMintSupplyPreCommitParams) (int64, error)
Upsert a supply pre-commit that is tied to a minting batch. The batch is resolved from @batch_key (internal_keys -> asset_minting_batches). The key is (batch_id, tx_output_index), where tx_output_index is the pre-commit output index in the batch’s mint anchor transaction. If a row exists for the same batch and index, update non-key fields only; the batch association is not changed.
func (*Queries) UpsertMultiverseLeaf ¶ added in v0.4.0
func (*Queries) UpsertMultiverseRoot ¶ added in v0.4.0
func (*Queries) UpsertRootNode ¶
func (q *Queries) UpsertRootNode(ctx context.Context, arg UpsertRootNodeParams) error
func (*Queries) UpsertScriptKey ¶
func (*Queries) UpsertSupplyCommitStateMachine ¶
func (q *Queries) UpsertSupplyCommitStateMachine(ctx context.Context, arg UpsertSupplyCommitStateMachineParams) (UpsertSupplyCommitStateMachineRow, error)
Return the ID of the state that was actually set (either inserted or updated), and the latest commitment ID that was set.
func (*Queries) UpsertSupplyPreCommit ¶
func (q *Queries) UpsertSupplyPreCommit(ctx context.Context, arg UpsertSupplyPreCommitParams) (int64, error)
Upsert a supply pre-commit output that is not tied to a minting batch.
func (*Queries) UpsertTapscriptTreeEdge ¶ added in v0.4.0
func (*Queries) UpsertTapscriptTreeNode ¶ added in v0.4.0
func (*Queries) UpsertTapscriptTreeRootHash ¶ added in v0.4.0
func (*Queries) UpsertUniverseLeaf ¶ added in v0.3.0
func (q *Queries) UpsertUniverseLeaf(ctx context.Context, arg UpsertUniverseLeafParams) error
func (*Queries) UpsertUniverseRoot ¶
func (*Queries) UpsertUniverseSupplyLeaf ¶
func (*Queries) UpsertUniverseSupplyRoot ¶
type QueryAddrParams ¶
type QueryAddrRow ¶
type QueryAddrRow struct {
	Addr          Addr
	ScriptKey     ScriptKey
	InternalKey   InternalKey
	InternalKey_2 InternalKey
}
    type QueryAssetBalancesByAssetParams ¶ added in v0.5.0
type QueryAssetBalancesByGroupParams ¶ added in v0.5.0
type QueryAssetStatsPerDayPostgresParams ¶ added in v0.2.3
type QueryAssetStatsPerDayPostgresRow ¶ added in v0.2.3
type QueryAssetStatsPerDaySqliteParams ¶ added in v0.2.3
type QueryAssetStatsPerDaySqliteRow ¶ added in v0.2.3
type QueryAssetTransfersRow ¶
type QueryAssetsParams ¶
type QueryAssetsParams struct {
	AssetIDFilter    []byte
	TweakedScriptKey []byte
	AnchorPoint      []byte
	Leased           interface{}
	Now              sql.NullTime
	MinAnchorHeight  sql.NullInt32
	MinAmt           sql.NullInt64
	MaxAmt           sql.NullInt64
	Spent            sql.NullBool
	KeyGroupFilter   []byte
	AnchorUtxoID     sql.NullInt64
	GenesisID        sql.NullInt64
	ScriptKeyID      sql.NullInt64
	ScriptKeyType    []sql.NullInt16
}
    type QueryAssetsRow ¶
type QueryAssetsRow struct {
	AssetPrimaryKey          int64
	GenesisID                int64
	Version                  int32
	Spent                    bool
	ScriptKey                ScriptKey
	InternalKey              InternalKey
	TapscriptRoot            []byte
	WitnessStack             []byte
	TweakedGroupKey          []byte
	GroupKeyRaw              []byte
	GroupKeyFamily           sql.NullInt32
	GroupKeyIndex            sql.NullInt32
	ScriptVersion            int32
	Amount                   int64
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	AssetID                  []byte
	AssetTag                 string
	MetaHash                 []byte
	GenesisOutputIndex       int32
	AssetType                int16
	GenesisPrevOut           []byte
	AnchorTx                 []byte
	AnchorTxid               []byte
	AnchorBlockHash          []byte
	AnchorBlockHeight        sql.NullInt32
	AnchorOutpoint           []byte
	AnchorTapscriptSibling   []byte
	AnchorMerkleRoot         []byte
	AnchorTaprootAssetRoot   []byte
	AnchorCommitmentVersion  sql.NullInt16
	AnchorLeaseOwner         []byte
	AnchorLeaseExpiry        sql.NullTime
	AnchorInternalKey        []byte
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
}
    type QueryBurnsParams ¶ added in v0.5.0
type QueryBurnsRow ¶ added in v0.5.0
type QueryEventIDsParams ¶
type QueryEventIDsRow ¶
type QueryFederationProofSyncLogParams ¶ added in v0.3.3
type QueryFederationProofSyncLogParams struct {
	SyncDirection         sql.NullString
	Status                sql.NullString
	LeafNamespace         sql.NullString
	LeafMintingPointBytes []byte
	LeafScriptKeyBytes    []byte
}
    type QueryFederationProofSyncLogRow ¶ added in v0.3.3
type QueryFederationProofSyncLogRow struct {
	ID                    int64
	Status                string
	Timestamp             time.Time
	SyncDirection         string
	AttemptCounter        int64
	ServerID              int64
	ServerHost            string
	LeafMintingPointBytes []byte
	LeafScriptKeyBytes    []byte
	LeafGenesisProof      []byte
	LeafGenAssetID        int64
	LeafAssetID           []byte
	UniAssetID            []byte
	UniGroupKey           []byte
	UniProofType          sql.NullString
}
    type QueryFederationUniSyncConfigsRow ¶ added in v0.6.0
type QueryLatestSupplyCommitmentRow ¶
type QueryLatestSupplyCommitmentRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type QueryMultiverseLeavesParams ¶ added in v0.4.0
type QueryMultiverseLeavesRow ¶ added in v0.4.0
type QueryPassiveAssetsRow ¶
type QueryPendingSupplyCommitTransitionRow ¶
type QueryPendingSupplyCommitTransitionRow struct {
	SupplyCommitTransition SupplyCommitTransition
}
    type QueryProofTransferAttemptsParams ¶ added in v0.3.1
type QueryStartingSupplyCommitmentRow ¶
type QueryStartingSupplyCommitmentRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type QuerySupplyCommitmentByOutpointRow ¶
type QuerySupplyCommitmentByOutpointRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type QuerySupplyCommitmentBySpentOutpointRow ¶
type QuerySupplyCommitmentBySpentOutpointRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type QuerySupplyCommitmentRow ¶
type QuerySupplyCommitmentRow struct {
	SupplyCommitment SupplyCommitment
	TxIndex          sql.NullInt32
}
    type QueryUniverseLeavesRow ¶
type QueryUniverseServersParams ¶ added in v0.3.3
type QueryUniverseServersParams struct {
	ID         sql.NullInt64
	ServerHost sql.NullString
}
    type QueryUniverseStatsRow ¶
type QueryUniverseSupplyLeavesParams ¶
type QueryUniverseSupplyLeavesParams struct {
	SupplyRootID int64
	SubTreeType  sql.NullString
}
    type SetAddrManagedParams ¶
type SetAssetSpentParams ¶
type SetTransferOutputProofDeliveryStatusParams ¶ added in v0.5.0
type SupplyCommitState ¶
type SupplyCommitTransition ¶
type SupplyCommitUpdateType ¶
type SupplyCommitment ¶
type SupplyPreCommit ¶
type SupplySyncerPushLog ¶
type SupplyUpdateEvent ¶
type TapscriptEdge ¶ added in v0.4.0
type TapscriptNode ¶ added in v0.4.0
type TapscriptRoot ¶ added in v0.4.0
type TxProofClaimedOutpoint ¶
type UniverseEvent ¶
type UniverseLeafe ¶
type UniverseRoot ¶
type UniverseRootsParams ¶ added in v0.3.1
type UniverseRootsRow ¶
type UniverseServer ¶
type UniverseStat ¶
type UniverseSupplyLeafe ¶
type UniverseSupplyRoot ¶
type UpdateUTXOLeaseParams ¶ added in v0.3.0
type UpsertAddrEventParams ¶
type UpsertAddrParams ¶ added in v0.6.0
type UpsertAssetGroupWitnessParams ¶ added in v0.3.0
type UpsertAssetMetaParams ¶
type UpsertAssetParams ¶ added in v0.4.0
type UpsertAssetParams struct {
	GenesisID                int64
	Version                  int32
	ScriptKeyID              int64
	AssetGroupWitnessID      sql.NullInt64
	ScriptVersion            int32
	Amount                   int64
	LockTime                 sql.NullInt32
	RelativeLockTime         sql.NullInt32
	AnchorUtxoID             sql.NullInt64
	Spent                    bool
	SplitCommitmentRootHash  []byte
	SplitCommitmentRootValue sql.NullInt64
}
    type UpsertAssetProofByIDParams ¶ added in v0.3.3
type UpsertAssetWitnessParams ¶ added in v0.3.3
type UpsertChainTxParams ¶
type UpsertFederationGlobalSyncConfigParams ¶ added in v0.3.0
type UpsertFederationProofSyncLogParams ¶ added in v0.3.3
type UpsertFederationUniSyncConfigParams ¶ added in v0.3.0
type UpsertInternalKeyParams ¶
type UpsertManagedUTXOParams ¶
type UpsertMultiverseLeafParams ¶ added in v0.4.0
type UpsertMultiverseRootParams ¶ added in v0.4.0
type UpsertRootNodeParams ¶
type UpsertScriptKeyParams ¶
type UpsertSupplyCommitStateMachineParams ¶
type UpsertSupplyCommitStateMachineParams struct {
	GroupKey           []byte
	LatestCommitmentID sql.NullInt64
	StateName          sql.NullString
}
    type UpsertTapscriptTreeEdgeParams ¶ added in v0.4.0
type UpsertTapscriptTreeRootHashParams ¶ added in v0.4.0
type UpsertUniverseLeafParams ¶ added in v0.3.0
type UpsertUniverseRootParams ¶
type UpsertUniverseRootParams struct {
	NamespaceRoot string
	AssetID       []byte
	GroupKey      []byte
	ProofType     sql.NullString
}