remote

package
v2.0.2-stargate Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	*remote.Source
	// contains filtered or unexported fields
}

func NewSource

func NewSource(source *remote.Source, bankClient banktypes.QueryClient) *Source

NewSource builds a new Source instance

func (Source) GetAccountBalance

func (s Source) GetAccountBalance(address string, height int64) ([]sdk.Coin, error)

GetAccountBalances implements bankkeeper.Source

func (Source) GetBalances

func (s Source) GetBalances(addresses []string, height int64) ([]types.AccountBalance, error)

GetBalances implements bankkeeper.Source

func (Source) GetSupply

func (s Source) GetSupply(height int64) (sdk.Coins, error)

GetSupply implements bankkeeper.Source

Jump to

Keyboard shortcuts

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