config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broadcaster

type Broadcaster struct {
	AirdropCoins  types.Coins
	Sender        cryptotypes.PrivKey
	SenderAddress string
	ChainID       string
	TxConfig      sdkclient.TxConfig
	TxClient      txclient.ServiceClient
	Auth          authtypes.QueryClient
	QueryLimit    uint64
}

type Broadcasterer

type Broadcasterer interface {
	Broadcaster() Broadcaster
}

func NewBroadcaster

func NewBroadcaster(getter kv.Getter) Broadcasterer

type Config

type Config struct {
	comfig.Logger
	pgdb.Databaser
	comfig.Listenerer
	identity.VerifierProvider
	Broadcasterer
	// contains filtered or unexported fields
}

func New

func New(getter kv.Getter) *Config

func (*Config) Verifier

func (c *Config) Verifier() *Verifierer

type GlobalParams added in v0.2.0

type GlobalParams struct {
	EventID       string
	QuerySelector string
	AirdropStart  int64
}

type Verifierer added in v0.2.0

type Verifierer struct {
	Params     GlobalParams
	ZkVerifier *zk.Verifier
}

Jump to

Keyboard shortcuts

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