local

package
v0.0.0-...-b9e5fcc Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source represents the implementation of the bank keeper that works on a local node

func NewSource

func NewSource(source *local.Source, bk banktypes.QueryServer) *Source

NewSource builds a new Source instance

func (Source) GetBalances

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

GetBalances implements keeper.Source

func (Source) GetSupply

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

GetSupply implements keeper.Source

Jump to

Keyboard shortcuts

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