local

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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) 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 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