utils

package
v0.0.0-...-82415a5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccounts

func GetAccounts(addresses []string) []types.Account

GetAccounts returns the account data for the given addresses

func GetGenesisAccounts

func GetGenesisAccounts(appState map[string]json.RawMessage, cdc codec.Marshaler) ([]types.Account, error)

GetGenesisAccounts parses the given appState and returns the genesis accounts

func UpdateAccounts

func UpdateAccounts(addresses []string, db *database.Db) error

UpdateAccounts takes the given addresses and for each one queries the chain retrieving the account data and stores it inside the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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