drepquery

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionArgs

func CollectionArgs(values any, expiryEpoch uint64) []any

CollectionArgs returns the bind order shared by batch and by-type queries: inner expiry, inner collection, outer expiry, outer collection.

func VotingPowerBatchSQL

func VotingPowerBatchSQL(dialectName string, expiryEpoch uint64) string

VotingPowerBatchSQL builds the aggregate credential voting-power query.

func VotingPowerByTypeSQL

func VotingPowerByTypeSQL(dialectName string, expiryEpoch uint64) string

VotingPowerByTypeSQL builds the predefined-DRep voting-power query.

func VotingPowerSQL

func VotingPowerSQL(
	dialectName string,
	credentialTag uint8,
	drepCredential []byte,
	expiryEpoch uint64,
) (string, []any)

VotingPowerSQL builds the single-credential voting-power query and its bind arguments in textual order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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