sqlitequery

package
v0.69.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	StakingKey      []byte
	CredentialTag   int64
	Pool            []byte
	Drep            []byte
	ID              int64
	AddedSlot       sql.NullInt64
	CreatedSlot     int64
	CertificateID   sql.NullInt64
	Reward          sql.NullString
	DrepType        sql.NullInt64
	Active          sql.NullBool
	ExpirationEpoch sql.NullInt64
}

type AddNetworkDonationParams

type AddNetworkDonationParams struct {
	Slot   int64
	Epoch  int64
	Amount int64
}

type AddressTransaction

type AddressTransaction struct {
	ID            int64
	PaymentKey    []byte
	StakingKey    []byte
	CredentialTag int64
	TransactionID sql.NullInt64
	Slot          sql.NullInt64
	TxIndex       sql.NullInt64
}

type Asset

type Asset struct {
	Name        []byte
	NameHex     []byte
	PolicyID    []byte
	Fingerprint []byte
	ID          int64
	UtxoID      sql.NullInt64
	Amount      sql.NullString
}

type AssetMintBurn

type AssetMintBurn struct {
	ID          int64
	TxHash      []byte
	PolicyID    []byte
	Name        []byte
	Fingerprint []byte
	Slot        sql.NullInt64
	Quantity    sql.NullString
	TxIndex     sql.NullInt64
}

type BackfillCheckpoint

type BackfillCheckpoint struct {
	ID         int64
	Phase      string
	LastSlot   sql.NullInt64
	TotalSlots sql.NullInt64
	StartedAt  sql.NullTime
	UpdatedAt  sql.NullTime
	Completed  sql.NullBool
}

type BackfillNodeSettingsNetworkParams

type BackfillNodeSettingsNetworkParams struct {
	Network     string
	StorageMode string
}

type BlockNonce

type BlockNonce struct {
	Hash         []byte
	Nonce        []byte
	ID           int64
	Slot         sql.NullInt64
	IsCheckpoint sql.NullBool
}

type ClaimOffchainMetadataFetchParams

type ClaimOffchainMetadataFetchParams struct {
	NextFetchAfter   sql.NullTime
	UpdatedAt        sql.NullTime
	ID               int64
	NextFetchAfter_2 sql.NullTime
}

type CommitTimestamp

type CommitTimestamp struct {
	ID        int64
	Timestamp sql.NullInt64
}

type CommitteeMember

type CommitteeMember struct {
	ID           int64
	ColdCredHash []byte
	ExpiresEpoch int64
	AddedSlot    int64
	DeletedSlot  sql.NullInt64
}

type CommitteeQuorum

type CommitteeQuorum struct {
	Quorum    sql.NullString
	ID        int64
	AddedSlot int64
}

type Constitution

type Constitution struct {
	ID          int64
	AnchorUrl   string
	AnchorHash  []byte
	PolicyHash  []byte
	AddedSlot   int64
	DeletedSlot sql.NullInt64
}

type CountTransactionsInSlotRangeParams

type CountTransactionsInSlotRangeParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
}

type CreateAccountParams

type CreateAccountParams struct {
	StakingKey      []byte
	CredentialTag   int64
	Pool            []byte
	Drep            []byte
	AddedSlot       sql.NullInt64
	CreatedSlot     int64
	CertificateID   sql.NullInt64
	Reward          sql.NullString
	DrepType        sql.NullInt64
	Active          sql.NullBool
	ExpirationEpoch sql.NullInt64
}

type CreateAssetParams

type CreateAssetParams struct {
	Name        []byte
	NameHex     []byte
	PolicyID    []byte
	Fingerprint []byte
	UtxoID      sql.NullInt64
	Amount      sql.NullString
}

type CreateDrepParams

type CreateDrepParams struct {
	AnchorUrl         sql.NullString
	Credential        []byte
	AnchorHash        []byte
	AddedSlot         sql.NullInt64
	CredentialTag     int64
	LastActivityEpoch sql.NullInt64
	ExpiryEpoch       sql.NullInt64
	Active            sql.NullBool
}

type CreateMidnightAriadneRollbackParams

type CreateMidnightAriadneRollbackParams struct {
	BlockNumber    int64
	Epoch          int64
	PreviousExists bool
	PreviousDatum  []byte
}

type CreateMidnightAssetCreateParams

type CreateMidnightAssetCreateParams struct {
	Address          []byte
	Quantity         int64
	TxHash           []byte
	OutputIndex      int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type CreateMidnightAssetSpendParams

type CreateMidnightAssetSpendParams struct {
	Address          []byte
	Quantity         int64
	SpendingTxHash   []byte
	UtxoTxHash       []byte
	UtxoIndex        int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type CreateMidnightDeregistrationParams

type CreateMidnightDeregistrationParams struct {
	FullDatum        []byte
	TxHash           []byte
	UtxoTxHash       []byte
	UtxoIndex        int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type CreateMidnightRegistrationParams

type CreateMidnightRegistrationParams struct {
	FullDatum        []byte
	TxHash           []byte
	OutputIndex      int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type CreatePoolStakeSnapshotParams

type CreatePoolStakeSnapshotParams struct {
	Epoch                         int64
	SnapshotType                  string
	PoolKeyHash                   []byte
	TotalStake                    string
	StakeDenominator              string
	DelegatorCount                int64
	CapturedSlot                  int64
	CalculationVersion            int64
	RewardAccountAutoVote         int64
	RewardAccountAutoVoteResolved bool
}

type CreateUtxoIfAbsentParams

type CreateUtxoIfAbsentParams struct {
	TransactionID           sql.NullInt64
	CollateralReturnForTxID sql.NullInt64
	TxID                    []byte
	PaymentKey              []byte
	StakingKey              []byte
	CredentialTag           int64
	DatumHash               []byte
	SpentAtTxID             types.NullableHash
	ReferencedByTxID        types.NullableHash
	CollateralByTxID        types.NullableHash
	AddedSlot               sql.NullInt64
	DeletedSlot             sql.NullInt64
	Amount                  sql.NullString
	OutputIdx               sql.NullInt64
	PaymentScript           sql.NullBool
}

type CreateUtxoParams

type CreateUtxoParams struct {
	TransactionID           sql.NullInt64
	CollateralReturnForTxID sql.NullInt64
	TxID                    []byte
	PaymentKey              []byte
	StakingKey              []byte
	CredentialTag           int64
	DatumHash               []byte
	SpentAtTxID             types.NullableHash
	ReferencedByTxID        types.NullableHash
	CollateralByTxID        types.NullableHash
	AddedSlot               sql.NullInt64
	DeletedSlot             sql.NullInt64
	Amount                  sql.NullString
	OutputIdx               sql.NullInt64
	PaymentScript           sql.NullBool
}

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type Datum

type Datum struct {
	Hash      []byte
	RawDatum  []byte
	ID        int64
	AddedSlot int64
}

type DeleteBlockNoncesAfterPointParams

type DeleteBlockNoncesAfterPointParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
	Hash   []byte
}

type DeletePoolStakeSnapshotsForEpochParams

type DeletePoolStakeSnapshotsForEpochParams struct {
	Epoch        int64
	SnapshotType string
}

type DeleteRewardAccountOutputsAfterSlotParams

type DeleteRewardAccountOutputsAfterSlotParams struct {
	CapturedSlot int64
	BoundarySlot int64
}

type DeleteRewardPoolInputsAfterSlotParams

type DeleteRewardPoolInputsAfterSlotParams struct {
	CapturedSlot int64
	BoundarySlot int64
}

type DeleteRewardPoolOutputsAfterSlotParams

type DeleteRewardPoolOutputsAfterSlotParams struct {
	CapturedSlot int64
	BoundarySlot int64
}

type DeleteRewardSnapshotsAfterSlotParams

type DeleteRewardSnapshotsAfterSlotParams struct {
	CapturedSlot int64
	BoundarySlot int64
}

type DeleteRewardStakeInputsAfterSlotParams

type DeleteRewardStakeInputsAfterSlotParams struct {
	CapturedSlot int64
	BoundarySlot int64
}

type Drep

type Drep struct {
	AnchorUrl         sql.NullString
	Credential        []byte
	AnchorHash        []byte
	ID                int64
	AddedSlot         sql.NullInt64
	CredentialTag     int64
	LastActivityEpoch sql.NullInt64
	ExpiryEpoch       sql.NullInt64
	Active            sql.NullBool
}

type Epoch

type Epoch struct {
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	ID                  int64
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type EpochSummary

type EpochSummary struct {
	ID               int64
	Epoch            int64
	TotalActiveStake string
	TotalPoolCount   int64
	TotalDelegators  int64
	EpochNonce       []byte
	BoundarySlot     int64
	SnapshotReady    bool
}

type GetAccountByCredentialParams

type GetAccountByCredentialParams struct {
	CredentialTag int64
	StakingKey    []byte
}

type GetActiveAccountByCredentialParams

type GetActiveAccountByCredentialParams struct {
	CredentialTag int64
	StakingKey    []byte
}

type GetActiveDrepByCredentialParams

type GetActiveDrepByCredentialParams struct {
	CredentialTag int64
	Credential    []byte
}

type GetAssetByPolicyAndNameParams

type GetAssetByPolicyAndNameParams struct {
	PolicyID []byte
	Name     []byte
}

type GetAssetMintBurnInfoParams

type GetAssetMintBurnInfoParams struct {
	PolicyID   []byte
	Name       []byte
	PolicyID_2 []byte
	Name_2     []byte
}

type GetAssetMintBurnInfoRow

type GetAssetMintBurnInfoRow struct {
	InitialTxHash []byte
	EventCount    int64
}

type GetAssetQuantityByPolicyAndNameParams

type GetAssetQuantityByPolicyAndNameParams struct {
	PolicyID []byte
	Name     []byte
}

type GetBlockNonceParams

type GetBlockNonceParams struct {
	Hash []byte
	Slot sql.NullInt64
}

type GetBlockNoncesInSlotRangeParams

type GetBlockNoncesInSlotRangeParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
}

type GetBlockSlotRangeStatsParams

type GetBlockSlotRangeStatsParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
}

type GetBlockSlotRangeStatsRow

type GetBlockSlotRangeStatsRow struct {
	Count     int64
	FirstSlot int64
	LastSlot  int64
}

type GetControlledAmountByCredentialParams

type GetControlledAmountByCredentialParams struct {
	CredentialTag int64
	StakingKey    []byte
}

type GetDRepDelegatorsParams

type GetDRepDelegatorsParams struct {
	Drep     []byte
	DrepType sql.NullInt64
}

type GetDRepDelegatorsRow

type GetDRepDelegatorsRow struct {
	CredentialTag int64
	StakingKey    []byte
}

type GetDrepByCredentialParams

type GetDrepByCredentialParams struct {
	CredentialTag int64
	Credential    []byte
}

type GetDrepLastRegistrationSlotParams

type GetDrepLastRegistrationSlotParams struct {
	CredentialTag  int64
	DrepCredential []byte
}

type GetEpochBySlotParams

type GetEpochBySlotParams struct {
	StartSlot   sql.NullInt64
	StartSlot_2 sql.NullInt64
}

type GetEpochBySlotRow

type GetEpochBySlotRow struct {
	ID                  int64
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type GetEpochRow

type GetEpochRow struct {
	ID                  int64
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type GetEpochsByEraRow

type GetEpochsByEraRow struct {
	ID                  int64
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type GetEpochsRow

type GetEpochsRow struct {
	ID                  int64
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type GetLastBlockNonceInRangeParams

type GetLastBlockNonceInRangeParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
}

type GetLatestMidnightGovernanceDatumParams

type GetLatestMidnightGovernanceDatumParams struct {
	DatumType   string
	BlockNumber int64
}

type GetLiveUtxoParams

type GetLiveUtxoParams struct {
	TxID      []byte
	OutputIdx sql.NullInt64
}

type GetLiveUtxoRefsBySlotRow

type GetLiveUtxoRefsBySlotRow struct {
	TxID      []byte
	OutputIdx sql.NullInt64
}

type GetLiveUtxosByAssetParams

type GetLiveUtxosByAssetParams struct {
	PolicyID []byte
	Name     []byte
}

type GetNodeSettingsGatesRow

type GetNodeSettingsGatesRow struct {
	Name  string
	Value string
}

type GetNodeSettingsRow

type GetNodeSettingsRow struct {
	StorageMode string
	Network     string
}

type GetOffchainMetadataFetchCandidatesParams

type GetOffchainMetadataFetchCandidatesParams struct {
	NextFetchAfter sql.NullTime
	Limit          int64
}

type GetOffchainMetadataParams

type GetOffchainMetadataParams struct {
	SourceType string
	Url        string
	Hash       []byte
}

type GetPParamUpdatesParams

type GetPParamUpdatesParams struct {
	Epoch   sql.NullInt64
	Epoch_2 sql.NullInt64
}

type GetPParamsParams

type GetPParamsParams struct {
	Epoch sql.NullInt64
	EraID sql.NullInt64
}

type GetPoolStakeSnapshotParams

type GetPoolStakeSnapshotParams struct {
	Epoch        int64
	SnapshotType string
	PoolKeyHash  []byte
}

type GetPoolStakeSnapshotsByEpochParams

type GetPoolStakeSnapshotsByEpochParams struct {
	Epoch        int64
	SnapshotType string
}

type GetRewardSnapshotParams

type GetRewardSnapshotParams struct {
	Epoch        int64
	SnapshotType string
}

type GetTipRow

type GetTipRow struct {
	ID          int64
	Hash        []byte
	Slot        sql.NullInt64
	BlockNumber sql.NullInt64
}

type GetUtxoIDByRefParams

type GetUtxoIDByRefParams struct {
	TxID      []byte
	OutputIdx sql.NullInt64
}

type GetUtxoIncludingSpentParams

type GetUtxoIncludingSpentParams struct {
	TxID      []byte
	OutputIdx sql.NullInt64
}

type GetUtxoRefsBySlotRow

type GetUtxoRefsBySlotRow struct {
	TxID      []byte
	OutputIdx sql.NullInt64
}

type GetUtxosDeletedBeforeSlotParams

type GetUtxosDeletedBeforeSlotParams struct {
	DeletedSlot sql.NullInt64
	Limit       int64
}

type ImportAccountParams

type ImportAccountParams struct {
	StakingKey      []byte
	CredentialTag   int64
	Pool            []byte
	Drep            []byte
	AddedSlot       sql.NullInt64
	CreatedSlot     int64
	CertificateID   sql.NullInt64
	Reward          sql.NullString
	DrepType        sql.NullInt64
	Active          sql.NullBool
	ExpirationEpoch sql.NullInt64
}

type ImportAssetParams

type ImportAssetParams struct {
	Name        []byte
	NameHex     []byte
	PolicyID    []byte
	Fingerprint []byte
	UtxoID      sql.NullInt64
	Amount      sql.NullString
}

type ImportCheckpoint

type ImportCheckpoint struct {
	ID        int64
	ImportKey string
	Phase     string
}

type ImportDrepParams

type ImportDrepParams struct {
	AnchorUrl         sql.NullString
	Credential        []byte
	AnchorHash        []byte
	AddedSlot         sql.NullInt64
	CredentialTag     int64
	LastActivityEpoch sql.NullInt64
	ExpiryEpoch       sql.NullInt64
	Active            sql.NullBool
}

type ImportDrepRegistrationParams

type ImportDrepRegistrationParams struct {
	AnchorUrl      sql.NullString
	DrepCredential []byte
	AnchorHash     []byte
	CertificateID  sql.NullInt64
	CredentialTag  int64
	AddedSlot      sql.NullInt64
	DepositAmount  sql.NullString
}

type InsertDrepIfAbsentParams

type InsertDrepIfAbsentParams struct {
	CredentialTag int64
	Credential    []byte
	AddedSlot     sql.NullInt64
	AnchorUrl     sql.NullString
	AnchorHash    []byte
	Active        sql.NullBool
}

type InsertMidnightCommitteeCandidateRegistrationParams

type InsertMidnightCommitteeCandidateRegistrationParams struct {
	TxHash       []byte
	OutputIndex  int64
	BlockNumber  int64
	SlotNumber   int64
	TxIndex      int64
	TxInputsCbor []byte
}

type InsertMidnightGovernanceDatumParams

type InsertMidnightGovernanceDatumParams struct {
	DatumType   string
	TxHash      []byte
	OutputIndex int64
	Datum       []byte
	BlockNumber int64
}

type InsertNodeSettingsGateIfAbsentParams

type InsertNodeSettingsGateIfAbsentParams struct {
	Name          string
	Value         string
	RecordedEpoch int64
	RecordedSlot  int64
}

type InsertNodeSettingsParams

type InsertNodeSettingsParams struct {
	StorageMode string
	Network     string
}

type InsertOffchainMetadataPointerParams

type InsertOffchainMetadataPointerParams struct {
	CreatedAt      sql.NullTime
	UpdatedAt      sql.NullTime
	Url            string
	SourceType     string
	Status         string
	Hash           []byte
	NextFetchAfter sql.NullTime
}

type InsertRewardSnapshotParams

type InsertRewardSnapshotParams struct {
	Epoch              int64
	SnapshotType       string
	TotalActiveStake   string
	TotalPoolCount     int64
	TotalDelegators    int64
	CapturedSlot       int64
	BoundarySlot       int64
	EpochNonce         []byte
	ProtocolVersion    int64
	Authoritative      bool
	CalculationVersion int64
}

type MidnightAriadneParam

type MidnightAriadneParam struct {
	ID    int64
	Epoch int64
	Datum []byte
}

type MidnightAriadneRollback

type MidnightAriadneRollback struct {
	ID             int64
	BlockNumber    int64
	Epoch          int64
	PreviousExists bool
	PreviousDatum  []byte
}

type MidnightAssetCreate

type MidnightAssetCreate struct {
	ID               int64
	Address          []byte
	Quantity         int64
	TxHash           []byte
	OutputIndex      int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type MidnightAssetSpend

type MidnightAssetSpend struct {
	ID               int64
	Address          []byte
	Quantity         int64
	SpendingTxHash   []byte
	UtxoTxHash       []byte
	UtxoIndex        int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type MidnightCommitteeCandidateRegistration

type MidnightCommitteeCandidateRegistration struct {
	ID           int64
	TxHash       []byte
	OutputIndex  int64
	BlockNumber  int64
	SlotNumber   int64
	TxIndex      int64
	TxInputsCbor []byte
}

type MidnightDeregistration

type MidnightDeregistration struct {
	ID               int64
	FullDatum        []byte
	TxHash           []byte
	UtxoTxHash       []byte
	UtxoIndex        int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type MidnightEpochCandidate

type MidnightEpochCandidate struct {
	ID             int64
	Epoch          int64
	BlockNumber    int64
	CandidatesCbor []byte
}

type MidnightGovernanceDatum

type MidnightGovernanceDatum struct {
	ID          int64
	DatumType   string
	TxHash      []byte
	OutputIndex int64
	Datum       []byte
	BlockNumber int64
}

type MidnightRegistration

type MidnightRegistration struct {
	ID               int64
	FullDatum        []byte
	TxHash           []byte
	OutputIndex      int64
	BlockNumber      int64
	BlockHash        []byte
	TxIndex          int64
	BlockTimestampMs int64
}

type NetworkDonation

type NetworkDonation struct {
	ID     int64
	Slot   int64
	Epoch  int64
	Amount int64
}

type NetworkState

type NetworkState struct {
	ID       int64
	Treasury string
	Reserves string
	Slot     int64
}

type NodeSetting

type NodeSetting struct {
	ID          int64
	StorageMode string
	Network     string
}

type NodeSettingsGate

type NodeSettingsGate struct {
	Name          string
	Value         string
	RecordedEpoch int64
	RecordedSlot  int64
}

type OffchainMetadatum

type OffchainMetadatum struct {
	FetchedAt      sql.NullTime
	NextFetchAfter sql.NullTime
	CreatedAt      sql.NullTime
	UpdatedAt      sql.NullTime
	Url            string
	SourceType     string
	Status         string
	ContentType    sql.NullString
	LastError      sql.NullString
	Hash           []byte
	BodyHash       []byte
	Content        []byte
	ID             int64
	FetchAttempts  sql.NullInt64
	LastHttpStatus sql.NullInt64
}

type PoolStakeSnapshot

type PoolStakeSnapshot struct {
	ID                            int64
	Epoch                         int64
	SnapshotType                  string
	PoolKeyHash                   []byte
	TotalStake                    string
	StakeDenominator              string
	DelegatorCount                int64
	CapturedSlot                  int64
	CalculationVersion            int64
	RewardAccountAutoVote         int64
	RewardAccountAutoVoteResolved bool
}

type Pparam

type Pparam struct {
	Cbor      []byte
	ID        int64
	AddedSlot sql.NullInt64
	Epoch     sql.NullInt64
	EraID     sql.NullInt64
}

type PparamUpdate

type PparamUpdate struct {
	GenesisHash []byte
	Cbor        []byte
	ID          int64
	AddedSlot   sql.NullInt64
	Epoch       sql.NullInt64
}

type Querier

type Querier interface {
	AddNetworkDonation(ctx context.Context, arg AddNetworkDonationParams) error
	BackfillNodeSettingsNetwork(ctx context.Context, arg BackfillNodeSettingsNetworkParams) (int64, error)
	ClaimOffchainMetadataFetch(ctx context.Context, arg ClaimOffchainMetadataFetchParams) (int64, error)
	ClearSyncState(ctx context.Context) error
	CountTransactionsByMetadataLabel(ctx context.Context, label sql.NullString) (int64, error)
	CountTransactionsByPaymentCred(ctx context.Context, paymentKey []byte) (int64, error)
	CountTransactionsInSlotRange(ctx context.Context, arg CountTransactionsInSlotRangeParams) (int64, error)
	CreateAccount(ctx context.Context, arg CreateAccountParams) (int64, error)
	CreateAsset(ctx context.Context, arg CreateAssetParams) (int64, error)
	CreateDrep(ctx context.Context, arg CreateDrepParams) (int64, error)
	CreateMidnightAriadneRollback(ctx context.Context, arg CreateMidnightAriadneRollbackParams) (int64, error)
	CreateMidnightAssetCreate(ctx context.Context, arg CreateMidnightAssetCreateParams) (int64, error)
	CreateMidnightAssetSpend(ctx context.Context, arg CreateMidnightAssetSpendParams) (int64, error)
	CreateMidnightDeregistration(ctx context.Context, arg CreateMidnightDeregistrationParams) (int64, error)
	CreateMidnightRegistration(ctx context.Context, arg CreateMidnightRegistrationParams) (int64, error)
	CreatePoolStakeSnapshot(ctx context.Context, arg CreatePoolStakeSnapshotParams) (int64, error)
	CreateUtxo(ctx context.Context, arg CreateUtxoParams) (int64, error)
	CreateUtxoIfAbsent(ctx context.Context, arg CreateUtxoIfAbsentParams) (int64, error)
	DeleteAddressTransactionsAfterSlot(ctx context.Context, slot sql.NullInt64) error
	DeleteBlockNoncesAfterOrigin(ctx context.Context, slot sql.NullInt64) error
	DeleteBlockNoncesAfterPoint(ctx context.Context, arg DeleteBlockNoncesAfterPointParams) error
	DeleteBlockNoncesBeforeSlot(ctx context.Context, slot sql.NullInt64) error
	DeleteBlockNoncesBeforeSlotWithoutCheckpoints(ctx context.Context, slot sql.NullInt64) error
	DeleteCommitteeMembersAddedAfterSlot(ctx context.Context, addedSlot int64) error
	DeleteCommitteeQuorumsAfterSlot(ctx context.Context, addedSlot int64) error
	DeleteConstitutionsAddedAfterSlot(ctx context.Context, addedSlot int64) error
	DeleteEpochSummariesAfterEpoch(ctx context.Context, epoch int64) error
	DeleteEpochsAfterSlot(ctx context.Context, startSlot sql.NullInt64) error
	DeleteMidnightAriadneParamsByEpoch(ctx context.Context, epoch int64) error
	DeleteMidnightAriadneRollbacksBeforeBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightAriadneRollbacksByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightAssetCreatesByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightAssetSpendsByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightCommitteeCandidateRegistrationsByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightDeregistrationsByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightEpochCandidatesByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightGovernanceDatumsByBlock(ctx context.Context, blockNumber int64) error
	DeleteMidnightRegistrationsByBlock(ctx context.Context, blockNumber int64) error
	DeleteNetworkDonationsAfterSlot(ctx context.Context, slot int64) error
	DeleteNetworkStateAfterSlot(ctx context.Context, slot int64) error
	DeletePParamUpdatesAfterSlot(ctx context.Context, addedSlot sql.NullInt64) error
	DeletePParamsAfterSlot(ctx context.Context, addedSlot sql.NullInt64) error
	DeletePoolStakeSnapshotsAfterEpoch(ctx context.Context, epoch int64) error
	DeletePoolStakeSnapshotsBeforeEpoch(ctx context.Context, epoch int64) error
	DeletePoolStakeSnapshotsForEpoch(ctx context.Context, arg DeletePoolStakeSnapshotsForEpochParams) error
	DeleteRewardAccountOutputsAfterSlot(ctx context.Context, arg DeleteRewardAccountOutputsAfterSlotParams) error
	DeleteRewardAccountOutputsBeforeEpoch(ctx context.Context, epoch int64) error
	DeleteRewardAccountOutputsForEpoch(ctx context.Context, epoch int64) error
	DeleteRewardAdaPotsAfterSlot(ctx context.Context, capturedSlot int64) error
	DeleteRewardPoolInputsAfterSlot(ctx context.Context, arg DeleteRewardPoolInputsAfterSlotParams) error
	DeleteRewardPoolInputsForEpoch(ctx context.Context, epoch int64) error
	DeleteRewardPoolOutputsAfterSlot(ctx context.Context, arg DeleteRewardPoolOutputsAfterSlotParams) error
	DeleteRewardPoolOutputsForEpoch(ctx context.Context, epoch int64) error
	DeleteRewardSnapshotsAfterSlot(ctx context.Context, arg DeleteRewardSnapshotsAfterSlotParams) error
	DeleteRewardStakeInputsAfterSlot(ctx context.Context, arg DeleteRewardStakeInputsAfterSlotParams) error
	DeleteRewardStakeInputsBeforeEpoch(ctx context.Context, epoch int64) error
	DeleteRewardStakeInputsForEpoch(ctx context.Context, epoch int64) error
	DeleteSyncState(ctx context.Context, syncKey string) error
	DeleteTransactionMetadataLabelsAfterSlot(ctx context.Context, slot sql.NullInt64) error
	FindMidnightAriadneRollbacksByBlock(ctx context.Context, blockNumber int64) ([]MidnightAriadneRollback, error)
	FindUnspentMidnightAssetCreates(ctx context.Context) ([]MidnightAssetCreate, error)
	FindUnspentMidnightRegistrations(ctx context.Context) ([]MidnightRegistration, error)
	GetAccountByCredential(ctx context.Context, arg GetAccountByCredentialParams) (Account, error)
	GetActiveAccountByCredential(ctx context.Context, arg GetActiveAccountByCredentialParams) (Account, error)
	GetActiveDrepByCredential(ctx context.Context, arg GetActiveDrepByCredentialParams) (Drep, error)
	GetActiveDrepByHash(ctx context.Context, credential []byte) (Drep, error)
	GetActiveDreps(ctx context.Context) ([]Drep, error)
	GetAssetByPolicyAndName(ctx context.Context, arg GetAssetByPolicyAndNameParams) (Asset, error)
	GetAssetMintBurnInfo(ctx context.Context, arg GetAssetMintBurnInfoParams) (GetAssetMintBurnInfoRow, error)
	GetAssetQuantityByPolicyAndName(ctx context.Context, arg GetAssetQuantityByPolicyAndNameParams) ([]sql.NullString, error)
	GetAssetsByUtxoID(ctx context.Context, utxoID sql.NullInt64) ([]Asset, error)
	GetBackfillCheckpoint(ctx context.Context, phase string) (BackfillCheckpoint, error)
	GetBlockNonce(ctx context.Context, arg GetBlockNonceParams) ([]byte, error)
	GetBlockNoncesInSlotRange(ctx context.Context, arg GetBlockNoncesInSlotRangeParams) ([]BlockNonce, error)
	GetBlockSlotRangeStats(ctx context.Context, arg GetBlockSlotRangeStatsParams) (GetBlockSlotRangeStatsRow, error)
	GetCommitTimestamp(ctx context.Context) (sql.NullInt64, error)
	GetCommitteeMembers(ctx context.Context) ([]CommitteeMember, error)
	GetCommitteeMembersIncludeDeleted(ctx context.Context) ([]CommitteeMember, error)
	GetCommitteeQuorum(ctx context.Context) (sql.NullString, error)
	GetConstitution(ctx context.Context) (Constitution, error)
	GetControlledAmountByCredential(ctx context.Context, arg GetControlledAmountByCredentialParams) ([]sql.NullString, error)
	GetDRepDelegators(ctx context.Context, arg GetDRepDelegatorsParams) ([]GetDRepDelegatorsRow, error)
	GetDatum(ctx context.Context, hash []byte) (Datum, error)
	GetDrepByCredential(ctx context.Context, arg GetDrepByCredentialParams) (Drep, error)
	GetDrepByHash(ctx context.Context, credential []byte) (Drep, error)
	GetDrepLastRegistrationSlot(ctx context.Context, arg GetDrepLastRegistrationSlotParams) (int64, error)
	GetEpoch(ctx context.Context, epochID sql.NullInt64) (GetEpochRow, error)
	GetEpochBySlot(ctx context.Context, arg GetEpochBySlotParams) (GetEpochBySlotRow, error)
	GetEpochSummary(ctx context.Context, epoch int64) (EpochSummary, error)
	GetEpochs(ctx context.Context) ([]GetEpochsRow, error)
	GetEpochsByEra(ctx context.Context, eraID sql.NullInt64) ([]GetEpochsByEraRow, error)
	GetExpiredDReps(ctx context.Context, expiryEpoch sql.NullInt64) ([]Drep, error)
	GetImportCheckpoint(ctx context.Context, importKey string) (ImportCheckpoint, error)
	GetLastBlockNonceInRange(ctx context.Context, arg GetLastBlockNonceInRangeParams) ([]byte, error)
	GetLatestEpochSummary(ctx context.Context) (EpochSummary, error)
	GetLatestMidnightAriadneParams(ctx context.Context) (MidnightAriadneParam, error)
	GetLatestMidnightGovernanceDatum(ctx context.Context, arg GetLatestMidnightGovernanceDatumParams) (MidnightGovernanceDatum, error)
	GetLatestNetworkState(ctx context.Context) (NetworkState, error)
	GetLiveUtxo(ctx context.Context, arg GetLiveUtxoParams) (Utxo, error)
	GetLiveUtxoRefsBySlot(ctx context.Context, addedSlot sql.NullInt64) ([]GetLiveUtxoRefsBySlotRow, error)
	GetLiveUtxosByAsset(ctx context.Context, arg GetLiveUtxosByAssetParams) ([]Utxo, error)
	GetLiveUtxosByAssetPolicy(ctx context.Context, policyID []byte) ([]Utxo, error)
	GetMidnightAriadneParamsAtOrBeforeEpoch(ctx context.Context, epoch int64) (MidnightAriadneParam, error)
	GetMidnightAriadneParamsByEpoch(ctx context.Context, epoch int64) (MidnightAriadneParam, error)
	GetMidnightAssetCreatesByBlock(ctx context.Context, blockNumber int64) ([]MidnightAssetCreate, error)
	GetMidnightAssetSpendsByBlock(ctx context.Context, blockNumber int64) ([]MidnightAssetSpend, error)
	GetMidnightDeregistrationsByBlock(ctx context.Context, blockNumber int64) ([]MidnightDeregistration, error)
	GetMidnightEpochCandidatesByEpoch(ctx context.Context, epoch int64) (MidnightEpochCandidate, error)
	GetMidnightRegistrationsByBlock(ctx context.Context, blockNumber int64) ([]MidnightRegistration, error)
	GetNodeSettings(ctx context.Context) (GetNodeSettingsRow, error)
	GetNodeSettingsGates(ctx context.Context) ([]GetNodeSettingsGatesRow, error)
	GetOffchainMetadata(ctx context.Context, arg GetOffchainMetadataParams) (OffchainMetadatum, error)
	GetOffchainMetadataFetchCandidates(ctx context.Context, arg GetOffchainMetadataFetchCandidatesParams) ([]OffchainMetadatum, error)
	GetPParamUpdates(ctx context.Context, arg GetPParamUpdatesParams) ([]PparamUpdate, error)
	GetPParams(ctx context.Context, arg GetPParamsParams) ([]Pparam, error)
	GetPoolStakeSnapshot(ctx context.Context, arg GetPoolStakeSnapshotParams) (PoolStakeSnapshot, error)
	GetPoolStakeSnapshotsByEpoch(ctx context.Context, arg GetPoolStakeSnapshotsByEpochParams) ([]PoolStakeSnapshot, error)
	GetRewardAccountOutputs(ctx context.Context, epoch int64) ([]RewardAccountOutput, error)
	GetRewardAdaPots(ctx context.Context, epoch int64) (RewardAdaPot, error)
	GetRewardPoolInputs(ctx context.Context, epoch int64) ([]RewardPoolInput, error)
	GetRewardPoolOutputs(ctx context.Context, epoch int64) ([]RewardPoolOutput, error)
	GetRewardSnapshot(ctx context.Context, arg GetRewardSnapshotParams) (RewardSnapshot, error)
	GetRewardStakeInputs(ctx context.Context, epoch int64) ([]RewardStakeInput, error)
	GetScript(ctx context.Context, hash []byte) (Script, error)
	GetScriptLockedSupply(ctx context.Context) ([]sql.NullString, error)
	GetSyncState(ctx context.Context, syncKey string) (string, error)
	GetTip(ctx context.Context) (GetTipRow, error)
	GetTransactionByHash(ctx context.Context, hash []byte) (Transaction, error)
	GetTransactionHashesAfterSlot(ctx context.Context, slot sql.NullInt64) ([][]byte, error)
	GetTransactionIDByHash(ctx context.Context, hash []byte) (int64, error)
	GetTransactionMetadataByHash(ctx context.Context, hash []byte) ([]byte, error)
	GetTransactionSlotByHash(ctx context.Context, hash []byte) (sql.NullInt64, error)
	GetTransactionsByBlockHash(ctx context.Context, blockHash []byte) ([]Transaction, error)
	GetUtxoIDByRef(ctx context.Context, arg GetUtxoIDByRefParams) (int64, error)
	GetUtxoIncludingSpent(ctx context.Context, arg GetUtxoIncludingSpentParams) (Utxo, error)
	GetUtxoRefsBySlot(ctx context.Context, addedSlot sql.NullInt64) ([]GetUtxoRefsBySlotRow, error)
	GetUtxosAddedAfterSlot(ctx context.Context, addedSlot sql.NullInt64) ([]Utxo, error)
	GetUtxosDeletedBeforeSlot(ctx context.Context, arg GetUtxosDeletedBeforeSlotParams) ([]Utxo, error)
	ImportAccount(ctx context.Context, arg ImportAccountParams) (int64, error)
	ImportAsset(ctx context.Context, arg ImportAssetParams) error
	ImportDrep(ctx context.Context, arg ImportDrepParams) (int64, error)
	ImportDrepRegistration(ctx context.Context, arg ImportDrepRegistrationParams) (int64, error)
	InsertDrepIfAbsent(ctx context.Context, arg InsertDrepIfAbsentParams) error
	InsertMidnightCommitteeCandidateRegistration(ctx context.Context, arg InsertMidnightCommitteeCandidateRegistrationParams) (int64, error)
	InsertMidnightGovernanceDatum(ctx context.Context, arg InsertMidnightGovernanceDatumParams) (int64, error)
	InsertNodeSettings(ctx context.Context, arg InsertNodeSettingsParams) (int64, error)
	InsertNodeSettingsGateIfAbsent(ctx context.Context, arg InsertNodeSettingsGateIfAbsentParams) (int64, error)
	InsertOffchainMetadataPointer(ctx context.Context, arg InsertOffchainMetadataPointerParams) (int64, error)
	InsertRewardSnapshot(ctx context.Context, arg InsertRewardSnapshotParams) (int64, error)
	ReleaseFallbackRewardSnapshotGuard(ctx context.Context, id int64) (int64, error)
	RestoreCommitteeMembersDeletedAfterSlot(ctx context.Context, deletedSlot sql.NullInt64) error
	RestoreConstitutionsDeletedAfterSlot(ctx context.Context, deletedSlot sql.NullInt64) error
	SaveEpochSummary(ctx context.Context, arg SaveEpochSummaryParams) (int64, error)
	SavePoolStakeSnapshot(ctx context.Context, arg SavePoolStakeSnapshotParams) (int64, error)
	SaveRewardAccountOutput(ctx context.Context, arg SaveRewardAccountOutputParams) (int64, error)
	SaveRewardAdaPots(ctx context.Context, arg SaveRewardAdaPotsParams) (int64, error)
	SaveRewardPoolInput(ctx context.Context, arg SaveRewardPoolInputParams) (int64, error)
	SaveRewardPoolOutput(ctx context.Context, arg SaveRewardPoolOutputParams) (int64, error)
	SaveRewardSnapshot(ctx context.Context, arg SaveRewardSnapshotParams) (int64, error)
	SaveRewardStakeInput(ctx context.Context, arg SaveRewardStakeInputParams) (int64, error)
	SetBackfillCheckpoint(ctx context.Context, arg SetBackfillCheckpointParams) (int64, error)
	SetBlockNonce(ctx context.Context, arg SetBlockNonceParams) error
	SetCommitTimestamp(ctx context.Context, timestamp sql.NullInt64) error
	SetCommitteeMember(ctx context.Context, arg SetCommitteeMemberParams) (int64, error)
	SetCommitteeQuorum(ctx context.Context, arg SetCommitteeQuorumParams) error
	SetConstitution(ctx context.Context, arg SetConstitutionParams) (int64, error)
	SetDatum(ctx context.Context, arg SetDatumParams) error
	SetDrep(ctx context.Context, arg SetDrepParams) error
	SetEpoch(ctx context.Context, arg SetEpochParams) error
	SetImportCheckpoint(ctx context.Context, arg SetImportCheckpointParams) error
	SetNetworkState(ctx context.Context, arg SetNetworkStateParams) error
	SetOffchainMetadataFetchResult(ctx context.Context, arg SetOffchainMetadataFetchResultParams) error
	SetPParamUpdate(ctx context.Context, arg SetPParamUpdateParams) error
	SetPParams(ctx context.Context, arg SetPParamsParams) error
	SetSyncState(ctx context.Context, arg SetSyncStateParams) error
	SetTip(ctx context.Context, arg SetTipParams) error
	SoftDeleteAllCommitteeMembers(ctx context.Context, deletedSlot sql.NullInt64) error
	SoftDeleteCommitteeMember(ctx context.Context, arg SoftDeleteCommitteeMemberParams) error
	SumPoolStakeSnapshots(ctx context.Context, arg SumPoolStakeSnapshotsParams) ([]string, error)
	SumTransactionFeesInSlotRange(ctx context.Context, arg SumTransactionFeesInSlotRangeParams) ([]interface{}, error)
	UpdateDRepActivity(ctx context.Context, arg UpdateDRepActivityParams) (int64, error)
	UpdateFallbackRewardSnapshot(ctx context.Context, arg UpdateFallbackRewardSnapshotParams) (int64, error)
	UpsertMidnightAriadneParams(ctx context.Context, arg UpsertMidnightAriadneParamsParams) (int64, error)
	UpsertMidnightEpochCandidates(ctx context.Context, arg UpsertMidnightEpochCandidatesParams) (int64, error)
	UpsertNodeSettingsGate(ctx context.Context, arg UpsertNodeSettingsGateParams) error
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) AddNetworkDonation

func (q *Queries) AddNetworkDonation(ctx context.Context, arg AddNetworkDonationParams) error

func (*Queries) BackfillNodeSettingsNetwork

func (q *Queries) BackfillNodeSettingsNetwork(ctx context.Context, arg BackfillNodeSettingsNetworkParams) (int64, error)

func (*Queries) ClaimOffchainMetadataFetch

func (q *Queries) ClaimOffchainMetadataFetch(ctx context.Context, arg ClaimOffchainMetadataFetchParams) (int64, error)

func (*Queries) ClearSyncState

func (q *Queries) ClearSyncState(ctx context.Context) error

func (*Queries) CountTransactionsByMetadataLabel

func (q *Queries) CountTransactionsByMetadataLabel(ctx context.Context, label sql.NullString) (int64, error)

func (*Queries) CountTransactionsByPaymentCred

func (q *Queries) CountTransactionsByPaymentCred(ctx context.Context, paymentKey []byte) (int64, error)

func (*Queries) CountTransactionsInSlotRange

func (q *Queries) CountTransactionsInSlotRange(ctx context.Context, arg CountTransactionsInSlotRangeParams) (int64, error)

func (*Queries) CreateAccount

func (q *Queries) CreateAccount(ctx context.Context, arg CreateAccountParams) (int64, error)

func (*Queries) CreateAsset

func (q *Queries) CreateAsset(ctx context.Context, arg CreateAssetParams) (int64, error)

func (*Queries) CreateDrep

func (q *Queries) CreateDrep(ctx context.Context, arg CreateDrepParams) (int64, error)

func (*Queries) CreateMidnightAriadneRollback

func (q *Queries) CreateMidnightAriadneRollback(ctx context.Context, arg CreateMidnightAriadneRollbackParams) (int64, error)

func (*Queries) CreateMidnightAssetCreate

func (q *Queries) CreateMidnightAssetCreate(ctx context.Context, arg CreateMidnightAssetCreateParams) (int64, error)

func (*Queries) CreateMidnightAssetSpend

func (q *Queries) CreateMidnightAssetSpend(ctx context.Context, arg CreateMidnightAssetSpendParams) (int64, error)

func (*Queries) CreateMidnightDeregistration

func (q *Queries) CreateMidnightDeregistration(ctx context.Context, arg CreateMidnightDeregistrationParams) (int64, error)

func (*Queries) CreateMidnightRegistration

func (q *Queries) CreateMidnightRegistration(ctx context.Context, arg CreateMidnightRegistrationParams) (int64, error)

func (*Queries) CreatePoolStakeSnapshot

func (q *Queries) CreatePoolStakeSnapshot(ctx context.Context, arg CreatePoolStakeSnapshotParams) (int64, error)

func (*Queries) CreateUtxo

func (q *Queries) CreateUtxo(ctx context.Context, arg CreateUtxoParams) (int64, error)

func (*Queries) CreateUtxoIfAbsent

func (q *Queries) CreateUtxoIfAbsent(ctx context.Context, arg CreateUtxoIfAbsentParams) (int64, error)

func (*Queries) DeleteAddressTransactionsAfterSlot

func (q *Queries) DeleteAddressTransactionsAfterSlot(ctx context.Context, slot sql.NullInt64) error

func (*Queries) DeleteBlockNoncesAfterOrigin

func (q *Queries) DeleteBlockNoncesAfterOrigin(ctx context.Context, slot sql.NullInt64) error

func (*Queries) DeleteBlockNoncesAfterPoint

func (q *Queries) DeleteBlockNoncesAfterPoint(ctx context.Context, arg DeleteBlockNoncesAfterPointParams) error

func (*Queries) DeleteBlockNoncesBeforeSlot

func (q *Queries) DeleteBlockNoncesBeforeSlot(ctx context.Context, slot sql.NullInt64) error

func (*Queries) DeleteBlockNoncesBeforeSlotWithoutCheckpoints

func (q *Queries) DeleteBlockNoncesBeforeSlotWithoutCheckpoints(ctx context.Context, slot sql.NullInt64) error

func (*Queries) DeleteCommitteeMembersAddedAfterSlot

func (q *Queries) DeleteCommitteeMembersAddedAfterSlot(ctx context.Context, addedSlot int64) error

func (*Queries) DeleteCommitteeQuorumsAfterSlot

func (q *Queries) DeleteCommitteeQuorumsAfterSlot(ctx context.Context, addedSlot int64) error

func (*Queries) DeleteConstitutionsAddedAfterSlot

func (q *Queries) DeleteConstitutionsAddedAfterSlot(ctx context.Context, addedSlot int64) error

func (*Queries) DeleteEpochSummariesAfterEpoch

func (q *Queries) DeleteEpochSummariesAfterEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteEpochsAfterSlot

func (q *Queries) DeleteEpochsAfterSlot(ctx context.Context, startSlot sql.NullInt64) error

func (*Queries) DeleteMidnightAriadneParamsByEpoch

func (q *Queries) DeleteMidnightAriadneParamsByEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteMidnightAriadneRollbacksBeforeBlock

func (q *Queries) DeleteMidnightAriadneRollbacksBeforeBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightAriadneRollbacksByBlock

func (q *Queries) DeleteMidnightAriadneRollbacksByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightAssetCreatesByBlock

func (q *Queries) DeleteMidnightAssetCreatesByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightAssetSpendsByBlock

func (q *Queries) DeleteMidnightAssetSpendsByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightCommitteeCandidateRegistrationsByBlock

func (q *Queries) DeleteMidnightCommitteeCandidateRegistrationsByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightDeregistrationsByBlock

func (q *Queries) DeleteMidnightDeregistrationsByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightEpochCandidatesByBlock

func (q *Queries) DeleteMidnightEpochCandidatesByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightGovernanceDatumsByBlock

func (q *Queries) DeleteMidnightGovernanceDatumsByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteMidnightRegistrationsByBlock

func (q *Queries) DeleteMidnightRegistrationsByBlock(ctx context.Context, blockNumber int64) error

func (*Queries) DeleteNetworkDonationsAfterSlot

func (q *Queries) DeleteNetworkDonationsAfterSlot(ctx context.Context, slot int64) error

func (*Queries) DeleteNetworkStateAfterSlot

func (q *Queries) DeleteNetworkStateAfterSlot(ctx context.Context, slot int64) error

func (*Queries) DeletePParamUpdatesAfterSlot

func (q *Queries) DeletePParamUpdatesAfterSlot(ctx context.Context, addedSlot sql.NullInt64) error

func (*Queries) DeletePParamsAfterSlot

func (q *Queries) DeletePParamsAfterSlot(ctx context.Context, addedSlot sql.NullInt64) error

func (*Queries) DeletePoolStakeSnapshotsAfterEpoch

func (q *Queries) DeletePoolStakeSnapshotsAfterEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeletePoolStakeSnapshotsBeforeEpoch

func (q *Queries) DeletePoolStakeSnapshotsBeforeEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeletePoolStakeSnapshotsForEpoch

func (q *Queries) DeletePoolStakeSnapshotsForEpoch(ctx context.Context, arg DeletePoolStakeSnapshotsForEpochParams) error

func (*Queries) DeleteRewardAccountOutputsAfterSlot

func (q *Queries) DeleteRewardAccountOutputsAfterSlot(ctx context.Context, arg DeleteRewardAccountOutputsAfterSlotParams) error

func (*Queries) DeleteRewardAccountOutputsBeforeEpoch

func (q *Queries) DeleteRewardAccountOutputsBeforeEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteRewardAccountOutputsForEpoch

func (q *Queries) DeleteRewardAccountOutputsForEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteRewardAdaPotsAfterSlot

func (q *Queries) DeleteRewardAdaPotsAfterSlot(ctx context.Context, capturedSlot int64) error

func (*Queries) DeleteRewardPoolInputsAfterSlot

func (q *Queries) DeleteRewardPoolInputsAfterSlot(ctx context.Context, arg DeleteRewardPoolInputsAfterSlotParams) error

func (*Queries) DeleteRewardPoolInputsForEpoch

func (q *Queries) DeleteRewardPoolInputsForEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteRewardPoolOutputsAfterSlot

func (q *Queries) DeleteRewardPoolOutputsAfterSlot(ctx context.Context, arg DeleteRewardPoolOutputsAfterSlotParams) error

func (*Queries) DeleteRewardPoolOutputsForEpoch

func (q *Queries) DeleteRewardPoolOutputsForEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteRewardSnapshotsAfterSlot

func (q *Queries) DeleteRewardSnapshotsAfterSlot(ctx context.Context, arg DeleteRewardSnapshotsAfterSlotParams) error

func (*Queries) DeleteRewardStakeInputsAfterSlot

func (q *Queries) DeleteRewardStakeInputsAfterSlot(ctx context.Context, arg DeleteRewardStakeInputsAfterSlotParams) error

func (*Queries) DeleteRewardStakeInputsBeforeEpoch

func (q *Queries) DeleteRewardStakeInputsBeforeEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteRewardStakeInputsForEpoch

func (q *Queries) DeleteRewardStakeInputsForEpoch(ctx context.Context, epoch int64) error

func (*Queries) DeleteSyncState

func (q *Queries) DeleteSyncState(ctx context.Context, syncKey string) error

func (*Queries) DeleteTransactionMetadataLabelsAfterSlot

func (q *Queries) DeleteTransactionMetadataLabelsAfterSlot(ctx context.Context, slot sql.NullInt64) error

func (*Queries) FindMidnightAriadneRollbacksByBlock

func (q *Queries) FindMidnightAriadneRollbacksByBlock(ctx context.Context, blockNumber int64) ([]MidnightAriadneRollback, error)

func (*Queries) FindUnspentMidnightAssetCreates

func (q *Queries) FindUnspentMidnightAssetCreates(ctx context.Context) ([]MidnightAssetCreate, error)

func (*Queries) FindUnspentMidnightRegistrations

func (q *Queries) FindUnspentMidnightRegistrations(ctx context.Context) ([]MidnightRegistration, error)

func (*Queries) GetAccountByCredential

func (q *Queries) GetAccountByCredential(ctx context.Context, arg GetAccountByCredentialParams) (Account, error)

func (*Queries) GetActiveAccountByCredential

func (q *Queries) GetActiveAccountByCredential(ctx context.Context, arg GetActiveAccountByCredentialParams) (Account, error)

func (*Queries) GetActiveDrepByCredential

func (q *Queries) GetActiveDrepByCredential(ctx context.Context, arg GetActiveDrepByCredentialParams) (Drep, error)

func (*Queries) GetActiveDrepByHash

func (q *Queries) GetActiveDrepByHash(ctx context.Context, credential []byte) (Drep, error)

func (*Queries) GetActiveDreps

func (q *Queries) GetActiveDreps(ctx context.Context) ([]Drep, error)

func (*Queries) GetAssetByPolicyAndName

func (q *Queries) GetAssetByPolicyAndName(ctx context.Context, arg GetAssetByPolicyAndNameParams) (Asset, error)

func (*Queries) GetAssetMintBurnInfo

func (q *Queries) GetAssetMintBurnInfo(ctx context.Context, arg GetAssetMintBurnInfoParams) (GetAssetMintBurnInfoRow, error)

func (*Queries) GetAssetQuantityByPolicyAndName

func (q *Queries) GetAssetQuantityByPolicyAndName(ctx context.Context, arg GetAssetQuantityByPolicyAndNameParams) ([]sql.NullString, error)

func (*Queries) GetAssetsByUtxoID

func (q *Queries) GetAssetsByUtxoID(ctx context.Context, utxoID sql.NullInt64) ([]Asset, error)

func (*Queries) GetBackfillCheckpoint

func (q *Queries) GetBackfillCheckpoint(ctx context.Context, phase string) (BackfillCheckpoint, error)

func (*Queries) GetBlockNonce

func (q *Queries) GetBlockNonce(ctx context.Context, arg GetBlockNonceParams) ([]byte, error)

func (*Queries) GetBlockNoncesInSlotRange

func (q *Queries) GetBlockNoncesInSlotRange(ctx context.Context, arg GetBlockNoncesInSlotRangeParams) ([]BlockNonce, error)

func (*Queries) GetBlockSlotRangeStats

func (q *Queries) GetBlockSlotRangeStats(ctx context.Context, arg GetBlockSlotRangeStatsParams) (GetBlockSlotRangeStatsRow, error)

func (*Queries) GetCommitTimestamp

func (q *Queries) GetCommitTimestamp(ctx context.Context) (sql.NullInt64, error)

func (*Queries) GetCommitteeMembers

func (q *Queries) GetCommitteeMembers(ctx context.Context) ([]CommitteeMember, error)

func (*Queries) GetCommitteeMembersIncludeDeleted

func (q *Queries) GetCommitteeMembersIncludeDeleted(ctx context.Context) ([]CommitteeMember, error)

func (*Queries) GetCommitteeQuorum

func (q *Queries) GetCommitteeQuorum(ctx context.Context) (sql.NullString, error)

func (*Queries) GetConstitution

func (q *Queries) GetConstitution(ctx context.Context) (Constitution, error)

func (*Queries) GetControlledAmountByCredential

func (q *Queries) GetControlledAmountByCredential(ctx context.Context, arg GetControlledAmountByCredentialParams) ([]sql.NullString, error)

func (*Queries) GetDRepDelegators

func (q *Queries) GetDRepDelegators(ctx context.Context, arg GetDRepDelegatorsParams) ([]GetDRepDelegatorsRow, error)

func (*Queries) GetDatum

func (q *Queries) GetDatum(ctx context.Context, hash []byte) (Datum, error)

func (*Queries) GetDrepByCredential

func (q *Queries) GetDrepByCredential(ctx context.Context, arg GetDrepByCredentialParams) (Drep, error)

func (*Queries) GetDrepByHash

func (q *Queries) GetDrepByHash(ctx context.Context, credential []byte) (Drep, error)

func (*Queries) GetDrepLastRegistrationSlot

func (q *Queries) GetDrepLastRegistrationSlot(ctx context.Context, arg GetDrepLastRegistrationSlotParams) (int64, error)

func (*Queries) GetEpoch

func (q *Queries) GetEpoch(ctx context.Context, epochID sql.NullInt64) (GetEpochRow, error)

func (*Queries) GetEpochBySlot

func (q *Queries) GetEpochBySlot(ctx context.Context, arg GetEpochBySlotParams) (GetEpochBySlotRow, error)

func (*Queries) GetEpochSummary

func (q *Queries) GetEpochSummary(ctx context.Context, epoch int64) (EpochSummary, error)

func (*Queries) GetEpochs

func (q *Queries) GetEpochs(ctx context.Context) ([]GetEpochsRow, error)

func (*Queries) GetEpochsByEra

func (q *Queries) GetEpochsByEra(ctx context.Context, eraID sql.NullInt64) ([]GetEpochsByEraRow, error)

func (*Queries) GetExpiredDReps

func (q *Queries) GetExpiredDReps(ctx context.Context, expiryEpoch sql.NullInt64) ([]Drep, error)

func (*Queries) GetImportCheckpoint

func (q *Queries) GetImportCheckpoint(ctx context.Context, importKey string) (ImportCheckpoint, error)

func (*Queries) GetLastBlockNonceInRange

func (q *Queries) GetLastBlockNonceInRange(ctx context.Context, arg GetLastBlockNonceInRangeParams) ([]byte, error)

func (*Queries) GetLatestEpochSummary

func (q *Queries) GetLatestEpochSummary(ctx context.Context) (EpochSummary, error)

func (*Queries) GetLatestMidnightAriadneParams

func (q *Queries) GetLatestMidnightAriadneParams(ctx context.Context) (MidnightAriadneParam, error)

func (*Queries) GetLatestMidnightGovernanceDatum

func (q *Queries) GetLatestMidnightGovernanceDatum(ctx context.Context, arg GetLatestMidnightGovernanceDatumParams) (MidnightGovernanceDatum, error)

func (*Queries) GetLatestNetworkState

func (q *Queries) GetLatestNetworkState(ctx context.Context) (NetworkState, error)

func (*Queries) GetLiveUtxo

func (q *Queries) GetLiveUtxo(ctx context.Context, arg GetLiveUtxoParams) (Utxo, error)

func (*Queries) GetLiveUtxoRefsBySlot

func (q *Queries) GetLiveUtxoRefsBySlot(ctx context.Context, addedSlot sql.NullInt64) ([]GetLiveUtxoRefsBySlotRow, error)

func (*Queries) GetLiveUtxosByAsset

func (q *Queries) GetLiveUtxosByAsset(ctx context.Context, arg GetLiveUtxosByAssetParams) ([]Utxo, error)

func (*Queries) GetLiveUtxosByAssetPolicy

func (q *Queries) GetLiveUtxosByAssetPolicy(ctx context.Context, policyID []byte) ([]Utxo, error)

func (*Queries) GetMidnightAriadneParamsAtOrBeforeEpoch

func (q *Queries) GetMidnightAriadneParamsAtOrBeforeEpoch(ctx context.Context, epoch int64) (MidnightAriadneParam, error)

func (*Queries) GetMidnightAriadneParamsByEpoch

func (q *Queries) GetMidnightAriadneParamsByEpoch(ctx context.Context, epoch int64) (MidnightAriadneParam, error)

func (*Queries) GetMidnightAssetCreatesByBlock

func (q *Queries) GetMidnightAssetCreatesByBlock(ctx context.Context, blockNumber int64) ([]MidnightAssetCreate, error)

func (*Queries) GetMidnightAssetSpendsByBlock

func (q *Queries) GetMidnightAssetSpendsByBlock(ctx context.Context, blockNumber int64) ([]MidnightAssetSpend, error)

func (*Queries) GetMidnightDeregistrationsByBlock

func (q *Queries) GetMidnightDeregistrationsByBlock(ctx context.Context, blockNumber int64) ([]MidnightDeregistration, error)

func (*Queries) GetMidnightEpochCandidatesByEpoch

func (q *Queries) GetMidnightEpochCandidatesByEpoch(ctx context.Context, epoch int64) (MidnightEpochCandidate, error)

func (*Queries) GetMidnightRegistrationsByBlock

func (q *Queries) GetMidnightRegistrationsByBlock(ctx context.Context, blockNumber int64) ([]MidnightRegistration, error)

func (*Queries) GetNodeSettings

func (q *Queries) GetNodeSettings(ctx context.Context) (GetNodeSettingsRow, error)

func (*Queries) GetNodeSettingsGates

func (q *Queries) GetNodeSettingsGates(ctx context.Context) ([]GetNodeSettingsGatesRow, error)

func (*Queries) GetOffchainMetadata

func (q *Queries) GetOffchainMetadata(ctx context.Context, arg GetOffchainMetadataParams) (OffchainMetadatum, error)

func (*Queries) GetOffchainMetadataFetchCandidates

func (q *Queries) GetOffchainMetadataFetchCandidates(ctx context.Context, arg GetOffchainMetadataFetchCandidatesParams) ([]OffchainMetadatum, error)

func (*Queries) GetPParamUpdates

func (q *Queries) GetPParamUpdates(ctx context.Context, arg GetPParamUpdatesParams) ([]PparamUpdate, error)

func (*Queries) GetPParams

func (q *Queries) GetPParams(ctx context.Context, arg GetPParamsParams) ([]Pparam, error)

func (*Queries) GetPoolStakeSnapshot

func (q *Queries) GetPoolStakeSnapshot(ctx context.Context, arg GetPoolStakeSnapshotParams) (PoolStakeSnapshot, error)

func (*Queries) GetPoolStakeSnapshotsByEpoch

func (q *Queries) GetPoolStakeSnapshotsByEpoch(ctx context.Context, arg GetPoolStakeSnapshotsByEpochParams) ([]PoolStakeSnapshot, error)

func (*Queries) GetRewardAccountOutputs

func (q *Queries) GetRewardAccountOutputs(ctx context.Context, epoch int64) ([]RewardAccountOutput, error)

func (*Queries) GetRewardAdaPots

func (q *Queries) GetRewardAdaPots(ctx context.Context, epoch int64) (RewardAdaPot, error)

func (*Queries) GetRewardPoolInputs

func (q *Queries) GetRewardPoolInputs(ctx context.Context, epoch int64) ([]RewardPoolInput, error)

func (*Queries) GetRewardPoolOutputs

func (q *Queries) GetRewardPoolOutputs(ctx context.Context, epoch int64) ([]RewardPoolOutput, error)

func (*Queries) GetRewardSnapshot

func (q *Queries) GetRewardSnapshot(ctx context.Context, arg GetRewardSnapshotParams) (RewardSnapshot, error)

func (*Queries) GetRewardStakeInputs

func (q *Queries) GetRewardStakeInputs(ctx context.Context, epoch int64) ([]RewardStakeInput, error)

func (*Queries) GetScript

func (q *Queries) GetScript(ctx context.Context, hash []byte) (Script, error)

func (*Queries) GetScriptLockedSupply

func (q *Queries) GetScriptLockedSupply(ctx context.Context) ([]sql.NullString, error)

func (*Queries) GetSyncState

func (q *Queries) GetSyncState(ctx context.Context, syncKey string) (string, error)

func (*Queries) GetTip

func (q *Queries) GetTip(ctx context.Context) (GetTipRow, error)

func (*Queries) GetTransactionByHash

func (q *Queries) GetTransactionByHash(ctx context.Context, hash []byte) (Transaction, error)

func (*Queries) GetTransactionHashesAfterSlot

func (q *Queries) GetTransactionHashesAfterSlot(ctx context.Context, slot sql.NullInt64) ([][]byte, error)

func (*Queries) GetTransactionIDByHash

func (q *Queries) GetTransactionIDByHash(ctx context.Context, hash []byte) (int64, error)

func (*Queries) GetTransactionMetadataByHash

func (q *Queries) GetTransactionMetadataByHash(ctx context.Context, hash []byte) ([]byte, error)

func (*Queries) GetTransactionSlotByHash

func (q *Queries) GetTransactionSlotByHash(ctx context.Context, hash []byte) (sql.NullInt64, error)

func (*Queries) GetTransactionsByBlockHash

func (q *Queries) GetTransactionsByBlockHash(ctx context.Context, blockHash []byte) ([]Transaction, error)

func (*Queries) GetUtxoIDByRef

func (q *Queries) GetUtxoIDByRef(ctx context.Context, arg GetUtxoIDByRefParams) (int64, error)

func (*Queries) GetUtxoIncludingSpent

func (q *Queries) GetUtxoIncludingSpent(ctx context.Context, arg GetUtxoIncludingSpentParams) (Utxo, error)

func (*Queries) GetUtxoRefsBySlot

func (q *Queries) GetUtxoRefsBySlot(ctx context.Context, addedSlot sql.NullInt64) ([]GetUtxoRefsBySlotRow, error)

func (*Queries) GetUtxosAddedAfterSlot

func (q *Queries) GetUtxosAddedAfterSlot(ctx context.Context, addedSlot sql.NullInt64) ([]Utxo, error)

func (*Queries) GetUtxosDeletedBeforeSlot

func (q *Queries) GetUtxosDeletedBeforeSlot(ctx context.Context, arg GetUtxosDeletedBeforeSlotParams) ([]Utxo, error)

func (*Queries) ImportAccount

func (q *Queries) ImportAccount(ctx context.Context, arg ImportAccountParams) (int64, error)

func (*Queries) ImportAsset

func (q *Queries) ImportAsset(ctx context.Context, arg ImportAssetParams) error

func (*Queries) ImportDrep

func (q *Queries) ImportDrep(ctx context.Context, arg ImportDrepParams) (int64, error)

func (*Queries) ImportDrepRegistration

func (q *Queries) ImportDrepRegistration(ctx context.Context, arg ImportDrepRegistrationParams) (int64, error)

func (*Queries) InsertDrepIfAbsent

func (q *Queries) InsertDrepIfAbsent(ctx context.Context, arg InsertDrepIfAbsentParams) error

func (*Queries) InsertMidnightCommitteeCandidateRegistration

func (q *Queries) InsertMidnightCommitteeCandidateRegistration(ctx context.Context, arg InsertMidnightCommitteeCandidateRegistrationParams) (int64, error)

func (*Queries) InsertMidnightGovernanceDatum

func (q *Queries) InsertMidnightGovernanceDatum(ctx context.Context, arg InsertMidnightGovernanceDatumParams) (int64, error)

func (*Queries) InsertNodeSettings

func (q *Queries) InsertNodeSettings(ctx context.Context, arg InsertNodeSettingsParams) (int64, error)

func (*Queries) InsertNodeSettingsGateIfAbsent

func (q *Queries) InsertNodeSettingsGateIfAbsent(ctx context.Context, arg InsertNodeSettingsGateIfAbsentParams) (int64, error)

func (*Queries) InsertOffchainMetadataPointer

func (q *Queries) InsertOffchainMetadataPointer(ctx context.Context, arg InsertOffchainMetadataPointerParams) (int64, error)

func (*Queries) InsertRewardSnapshot

func (q *Queries) InsertRewardSnapshot(ctx context.Context, arg InsertRewardSnapshotParams) (int64, error)

func (*Queries) ReleaseFallbackRewardSnapshotGuard

func (q *Queries) ReleaseFallbackRewardSnapshotGuard(ctx context.Context, id int64) (int64, error)

func (*Queries) RestoreCommitteeMembersDeletedAfterSlot

func (q *Queries) RestoreCommitteeMembersDeletedAfterSlot(ctx context.Context, deletedSlot sql.NullInt64) error

func (*Queries) RestoreConstitutionsDeletedAfterSlot

func (q *Queries) RestoreConstitutionsDeletedAfterSlot(ctx context.Context, deletedSlot sql.NullInt64) error

func (*Queries) SaveEpochSummary

func (q *Queries) SaveEpochSummary(ctx context.Context, arg SaveEpochSummaryParams) (int64, error)

func (*Queries) SavePoolStakeSnapshot

func (q *Queries) SavePoolStakeSnapshot(ctx context.Context, arg SavePoolStakeSnapshotParams) (int64, error)

func (*Queries) SaveRewardAccountOutput

func (q *Queries) SaveRewardAccountOutput(ctx context.Context, arg SaveRewardAccountOutputParams) (int64, error)

func (*Queries) SaveRewardAdaPots

func (q *Queries) SaveRewardAdaPots(ctx context.Context, arg SaveRewardAdaPotsParams) (int64, error)

func (*Queries) SaveRewardPoolInput

func (q *Queries) SaveRewardPoolInput(ctx context.Context, arg SaveRewardPoolInputParams) (int64, error)

func (*Queries) SaveRewardPoolOutput

func (q *Queries) SaveRewardPoolOutput(ctx context.Context, arg SaveRewardPoolOutputParams) (int64, error)

func (*Queries) SaveRewardSnapshot

func (q *Queries) SaveRewardSnapshot(ctx context.Context, arg SaveRewardSnapshotParams) (int64, error)

func (*Queries) SaveRewardStakeInput

func (q *Queries) SaveRewardStakeInput(ctx context.Context, arg SaveRewardStakeInputParams) (int64, error)

func (*Queries) SetBackfillCheckpoint

func (q *Queries) SetBackfillCheckpoint(ctx context.Context, arg SetBackfillCheckpointParams) (int64, error)

func (*Queries) SetBlockNonce

func (q *Queries) SetBlockNonce(ctx context.Context, arg SetBlockNonceParams) error

func (*Queries) SetCommitTimestamp

func (q *Queries) SetCommitTimestamp(ctx context.Context, timestamp sql.NullInt64) error

func (*Queries) SetCommitteeMember

func (q *Queries) SetCommitteeMember(ctx context.Context, arg SetCommitteeMemberParams) (int64, error)

func (*Queries) SetCommitteeQuorum

func (q *Queries) SetCommitteeQuorum(ctx context.Context, arg SetCommitteeQuorumParams) error

func (*Queries) SetConstitution

func (q *Queries) SetConstitution(ctx context.Context, arg SetConstitutionParams) (int64, error)

func (*Queries) SetDatum

func (q *Queries) SetDatum(ctx context.Context, arg SetDatumParams) error

func (*Queries) SetDrep

func (q *Queries) SetDrep(ctx context.Context, arg SetDrepParams) error

func (*Queries) SetEpoch

func (q *Queries) SetEpoch(ctx context.Context, arg SetEpochParams) error

func (*Queries) SetImportCheckpoint

func (q *Queries) SetImportCheckpoint(ctx context.Context, arg SetImportCheckpointParams) error

func (*Queries) SetNetworkState

func (q *Queries) SetNetworkState(ctx context.Context, arg SetNetworkStateParams) error

func (*Queries) SetOffchainMetadataFetchResult

func (q *Queries) SetOffchainMetadataFetchResult(ctx context.Context, arg SetOffchainMetadataFetchResultParams) error

func (*Queries) SetPParamUpdate

func (q *Queries) SetPParamUpdate(ctx context.Context, arg SetPParamUpdateParams) error

func (*Queries) SetPParams

func (q *Queries) SetPParams(ctx context.Context, arg SetPParamsParams) error

func (*Queries) SetSyncState

func (q *Queries) SetSyncState(ctx context.Context, arg SetSyncStateParams) error

func (*Queries) SetTip

func (q *Queries) SetTip(ctx context.Context, arg SetTipParams) error

func (*Queries) SoftDeleteAllCommitteeMembers

func (q *Queries) SoftDeleteAllCommitteeMembers(ctx context.Context, deletedSlot sql.NullInt64) error

func (*Queries) SoftDeleteCommitteeMember

func (q *Queries) SoftDeleteCommitteeMember(ctx context.Context, arg SoftDeleteCommitteeMemberParams) error

func (*Queries) SumPoolStakeSnapshots

func (q *Queries) SumPoolStakeSnapshots(ctx context.Context, arg SumPoolStakeSnapshotsParams) ([]string, error)

func (*Queries) SumTransactionFeesInSlotRange

func (q *Queries) SumTransactionFeesInSlotRange(ctx context.Context, arg SumTransactionFeesInSlotRangeParams) ([]interface{}, error)

func (*Queries) UpdateDRepActivity

func (q *Queries) UpdateDRepActivity(ctx context.Context, arg UpdateDRepActivityParams) (int64, error)

func (*Queries) UpdateFallbackRewardSnapshot

func (q *Queries) UpdateFallbackRewardSnapshot(ctx context.Context, arg UpdateFallbackRewardSnapshotParams) (int64, error)

func (*Queries) UpsertMidnightAriadneParams

func (q *Queries) UpsertMidnightAriadneParams(ctx context.Context, arg UpsertMidnightAriadneParamsParams) (int64, error)

func (*Queries) UpsertMidnightEpochCandidates

func (q *Queries) UpsertMidnightEpochCandidates(ctx context.Context, arg UpsertMidnightEpochCandidatesParams) (int64, error)

func (*Queries) UpsertNodeSettingsGate

func (q *Queries) UpsertNodeSettingsGate(ctx context.Context, arg UpsertNodeSettingsGateParams) error

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type RegistrationDrep

type RegistrationDrep struct {
	AnchorUrl      sql.NullString
	DrepCredential []byte
	AnchorHash     []byte
	CertificateID  sql.NullInt64
	ID             int64
	CredentialTag  int64
	AddedSlot      sql.NullInt64
	DepositAmount  sql.NullString
}

type RewardAccountOutput

type RewardAccountOutput struct {
	StakingKey    []byte
	PoolKeyHash   []byte
	RewardType    string
	ID            int64
	Epoch         int64
	CredentialTag int64
	Amount        string
	Spendable     bool
	Guarded       bool
	CapturedSlot  int64
	BoundarySlot  int64
}

type RewardAdaPot

type RewardAdaPot struct {
	ID           int64
	Epoch        int64
	Treasury     string
	Reserves     string
	Fees         string
	Rewards      string
	CapturedSlot int64
}

type RewardPoolInput

type RewardPoolInput struct {
	Margin                     sql.NullString
	PoolKeyHash                []byte
	RewardAccount              []byte
	BlocksProduced             sql.NullInt64
	TotalBlocksInEpoch         sql.NullInt64
	ID                         int64
	Epoch                      int64
	Pledge                     string
	DelegatedStake             string
	OwnerStake                 string
	Cost                       string
	DelegatorCount             int64
	RewardAccountCredentialTag int64
	CapturedSlot               int64
	BoundarySlot               int64
}

type RewardPoolOutput

type RewardPoolOutput struct {
	ApparentPerformance sql.NullString
	PoolKeyHash         []byte
	ID                  int64
	Epoch               int64
	OptimalReward       string
	TotalReward         string
	LeaderReward        string
	MemberRewardTotal   string
	OwnerStake          string
	Undistributed       string
	Unspendable         string
	CapturedSlot        int64
	BoundarySlot        int64
}

type RewardSnapshot

type RewardSnapshot struct {
	ID                 int64
	Epoch              int64
	SnapshotType       string
	TotalActiveStake   string
	TotalPoolCount     int64
	TotalDelegators    int64
	CapturedSlot       int64
	BoundarySlot       int64
	EpochNonce         []byte
	ProtocolVersion    int64
	Authoritative      bool
	CalculationVersion int64
}

type RewardStakeInput

type RewardStakeInput struct {
	PoolKeyHash   []byte
	StakingKey    []byte
	ID            int64
	Epoch         int64
	CredentialTag int64
	Stake         string
	Owner         bool
	Registered    bool
	CapturedSlot  int64
	BoundarySlot  int64
}

type SaveEpochSummaryParams

type SaveEpochSummaryParams struct {
	Epoch            int64
	TotalActiveStake string
	TotalPoolCount   int64
	TotalDelegators  int64
	EpochNonce       []byte
	BoundarySlot     int64
	SnapshotReady    bool
}

type SavePoolStakeSnapshotParams

type SavePoolStakeSnapshotParams struct {
	Epoch                         int64
	SnapshotType                  string
	PoolKeyHash                   []byte
	TotalStake                    string
	StakeDenominator              string
	DelegatorCount                int64
	CapturedSlot                  int64
	CalculationVersion            int64
	RewardAccountAutoVote         int64
	RewardAccountAutoVoteResolved bool
}

type SaveRewardAccountOutputParams

type SaveRewardAccountOutputParams struct {
	StakingKey    []byte
	PoolKeyHash   []byte
	RewardType    string
	Epoch         int64
	CredentialTag int64
	Amount        string
	Spendable     bool
	Guarded       bool
	CapturedSlot  int64
	BoundarySlot  int64
}

type SaveRewardAdaPotsParams

type SaveRewardAdaPotsParams struct {
	Epoch        int64
	Treasury     string
	Reserves     string
	Fees         string
	Rewards      string
	CapturedSlot int64
}

type SaveRewardPoolInputParams

type SaveRewardPoolInputParams struct {
	Margin                     sql.NullString
	PoolKeyHash                []byte
	RewardAccount              []byte
	BlocksProduced             sql.NullInt64
	TotalBlocksInEpoch         sql.NullInt64
	Epoch                      int64
	Pledge                     string
	DelegatedStake             string
	OwnerStake                 string
	Cost                       string
	DelegatorCount             int64
	RewardAccountCredentialTag int64
	CapturedSlot               int64
	BoundarySlot               int64
}

type SaveRewardPoolOutputParams

type SaveRewardPoolOutputParams struct {
	ApparentPerformance sql.NullString
	PoolKeyHash         []byte
	Epoch               int64
	OptimalReward       string
	TotalReward         string
	LeaderReward        string
	MemberRewardTotal   string
	OwnerStake          string
	Undistributed       string
	Unspendable         string
	CapturedSlot        int64
	BoundarySlot        int64
}

type SaveRewardSnapshotParams

type SaveRewardSnapshotParams struct {
	Epoch              int64
	SnapshotType       string
	TotalActiveStake   string
	TotalPoolCount     int64
	TotalDelegators    int64
	CapturedSlot       int64
	BoundarySlot       int64
	EpochNonce         []byte
	ProtocolVersion    int64
	Authoritative      bool
	CalculationVersion int64
}

type SaveRewardStakeInputParams

type SaveRewardStakeInputParams struct {
	PoolKeyHash   []byte
	StakingKey    []byte
	Epoch         int64
	CredentialTag int64
	Stake         string
	Owner         bool
	Registered    bool
	CapturedSlot  int64
	BoundarySlot  int64
}

type Script

type Script struct {
	Hash        []byte
	Content     []byte
	ID          int64
	CreatedSlot sql.NullInt64
	Type        sql.NullInt64
}

type SetBackfillCheckpointParams

type SetBackfillCheckpointParams struct {
	Phase      string
	LastSlot   sql.NullInt64
	TotalSlots sql.NullInt64
	StartedAt  sql.NullTime
	UpdatedAt  sql.NullTime
	Completed  sql.NullBool
}

type SetBlockNonceParams

type SetBlockNonceParams struct {
	Hash         []byte
	Slot         sql.NullInt64
	Nonce        []byte
	IsCheckpoint sql.NullBool
}

type SetCommitteeMemberParams

type SetCommitteeMemberParams struct {
	ColdCredHash []byte
	ExpiresEpoch int64
	AddedSlot    int64
	DeletedSlot  sql.NullInt64
}

type SetCommitteeQuorumParams

type SetCommitteeQuorumParams struct {
	Quorum    sql.NullString
	AddedSlot int64
}

type SetConstitutionParams

type SetConstitutionParams struct {
	AnchorUrl   string
	AnchorHash  []byte
	PolicyHash  []byte
	AddedSlot   int64
	DeletedSlot sql.NullInt64
}

type SetDatumParams

type SetDatumParams struct {
	Hash      []byte
	RawDatum  []byte
	AddedSlot int64
}

type SetDrepParams

type SetDrepParams struct {
	CredentialTag int64
	Credential    []byte
	AddedSlot     sql.NullInt64
	AnchorUrl     sql.NullString
	AnchorHash    []byte
	Active        sql.NullBool
}

type SetEpochParams

type SetEpochParams struct {
	EpochID             sql.NullInt64
	StartSlot           sql.NullInt64
	Nonce               []byte
	EvolvingNonce       []byte
	CandidateNonce      []byte
	LastEpochBlockNonce []byte
	EraID               sql.NullInt64
	SlotLength          sql.NullInt64
	LengthInSlots       sql.NullInt64
}

type SetImportCheckpointParams

type SetImportCheckpointParams struct {
	ImportKey string
	Phase     string
}

type SetNetworkStateParams

type SetNetworkStateParams struct {
	Treasury string
	Reserves string
	Slot     int64
}

type SetOffchainMetadataFetchResultParams

type SetOffchainMetadataFetchResultParams struct {
	Status         string
	ContentType    sql.NullString
	LastError      sql.NullString
	BodyHash       []byte
	Content        []byte
	FetchedAt      sql.NullTime
	NextFetchAfter sql.NullTime
	FetchAttempts  sql.NullInt64
	LastHttpStatus sql.NullInt64
	UpdatedAt      sql.NullTime
	ID             int64
	UpdatedAt_2    sql.NullTime
}

type SetPParamUpdateParams

type SetPParamUpdateParams struct {
	GenesisHash []byte
	Cbor        []byte
	AddedSlot   sql.NullInt64
	Epoch       sql.NullInt64
}

type SetPParamsParams

type SetPParamsParams struct {
	Cbor      []byte
	AddedSlot sql.NullInt64
	Epoch     sql.NullInt64
	EraID     sql.NullInt64
}

type SetSyncStateParams

type SetSyncStateParams struct {
	SyncKey string
	Value   string
}

type SetTipParams

type SetTipParams struct {
	Hash        []byte
	Slot        sql.NullInt64
	BlockNumber sql.NullInt64
}

type SoftDeleteCommitteeMemberParams

type SoftDeleteCommitteeMemberParams struct {
	DeletedSlot  sql.NullInt64
	ColdCredHash []byte
}

type SumPoolStakeSnapshotsParams

type SumPoolStakeSnapshotsParams struct {
	Epoch        int64
	SnapshotType string
}

type SumTransactionFeesInSlotRangeParams

type SumTransactionFeesInSlotRangeParams struct {
	Slot   sql.NullInt64
	Slot_2 sql.NullInt64
}

type SyncState

type SyncState struct {
	SyncKey string
	Value   string
}

type Tip

type Tip struct {
	Hash        []byte
	ID          int64
	Slot        sql.NullInt64
	BlockNumber sql.NullInt64
}

type Transaction

type Transaction struct {
	Hash          []byte
	BlockHash     []byte
	Metadata      []byte
	Slot          sql.NullInt64
	Type          sql.NullInt64
	ID            int64
	Fee           sql.NullString
	CollateralFee sql.NullString
	Ttl           sql.NullString
	BlockIndex    sql.NullInt64
	Valid         sql.NullBool
}

type TransactionMetadataLabel

type TransactionMetadataLabel struct {
	ID            int64
	TransactionID sql.NullInt64
	Label         sql.NullString
	Slot          sql.NullInt64
	CborValue     []byte
	JsonValue     sql.NullString
}

type UpdateDRepActivityParams

type UpdateDRepActivityParams struct {
	LastActivityEpoch sql.NullInt64
	ExpiryEpoch       sql.NullInt64
	CredentialTag     int64
	Credential        []byte
}

type UpdateFallbackRewardSnapshotParams

type UpdateFallbackRewardSnapshotParams struct {
	TotalActiveStake   string
	TotalPoolCount     int64
	TotalDelegators    int64
	CapturedSlot       int64
	BoundarySlot       int64
	EpochNonce         []byte
	ProtocolVersion    int64
	CalculationVersion int64
	Epoch              int64
	SnapshotType       string
}

type UpsertMidnightAriadneParamsParams

type UpsertMidnightAriadneParamsParams struct {
	Epoch int64
	Datum []byte
}

type UpsertMidnightEpochCandidatesParams

type UpsertMidnightEpochCandidatesParams struct {
	Epoch          int64
	BlockNumber    int64
	CandidatesCbor []byte
}

type UpsertNodeSettingsGateParams

type UpsertNodeSettingsGateParams struct {
	Name          string
	Value         string
	RecordedEpoch int64
	RecordedSlot  int64
}

type Utxo

type Utxo struct {
	TransactionID           sql.NullInt64
	CollateralReturnForTxID sql.NullInt64
	TxID                    []byte
	PaymentKey              []byte
	StakingKey              []byte
	CredentialTag           int64
	DatumHash               []byte
	SpentAtTxID             types.NullableHash
	ReferencedByTxID        types.NullableHash
	CollateralByTxID        types.NullableHash
	ID                      int64
	AddedSlot               sql.NullInt64
	DeletedSlot             sql.NullInt64
	Amount                  sql.NullString
	OutputIdx               sql.NullInt64
	PaymentScript           sql.NullBool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL