chain

package
v0.0.0-...-88e28f6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor executes all transactions

func NewExecutor

func NewExecutor(clientContext sdkclient.Context, encodingConfig app.EncodingConfig, configs []config.ValaccountConfig) Executor

type KyveClient

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

func NewKyveClient

func NewKyveClient(cfg config.KysorConfig, valaccConfigs []config.ValaccountConfig) (*KyveClient, error)

func (*KyveClient) ExecuteSend

func (c *KyveClient) ExecuteSend(from sdktypes.AccAddress, to sdktypes.AccAddress, amount string) (*sdktypes.TxResponse, error)

func (*KyveClient) QueryAccount

func (c *KyveClient) QueryAccount(address string) (authtypes.BaseAccount, error)

func (*KyveClient) QueryBalance

func (c *KyveClient) QueryBalance(address string) (*banktypes.QueryBalanceResponse, error)

func (*KyveClient) QueryPool

func (c *KyveClient) QueryPool(poolId uint64) (*querytypes.QueryPoolResponse, error)

func (*KyveClient) QueryPools

func (c *KyveClient) QueryPools() (*querytypes.QueryPoolsResponse, error)

type KyveQuerier

type KyveQuerier struct {
	PoolClient querytypes.QueryPoolClient
}

KyveQuerier is a wrapper around all kyve specific x/query query clients

func NewKyveQuerier

func NewKyveQuerier(clientContext sdkclient.Context) *KyveQuerier

type Querier

type Querier struct {
	Query      *KyveQuerier
	BankClient banktypes.QueryClient
	AuthClient authtypes.QueryClient
}

Querier performs all queries

func NewQuerier

func NewQuerier(clientContext sdkclient.Context) Querier

Jump to

Keyboard shortcuts

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