Documentation ¶
Index ¶
- func ContainAny[T constraints.Ordered](src []T, trg T) bool
- func DecodeToString(v string) (string, error)
- func FilterNonAccountAddresses(addresses []string) []string
- func GetGenesisAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]types.Account, error)
- func ParseCoinsFromString(value string) (types.Coins, error)
- func TimeFromPtr(t *time.Time) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainAny ¶
func ContainAny[T constraints.Ordered](src []T, trg T) bool
func DecodeToString ¶ added in v0.2.4
func FilterNonAccountAddresses ¶
FilterNonAccountAddresses returns a slice containing only account addresses.
func GetGenesisAccounts ¶
func GetGenesisAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]types.Account, error)
GetGenesisAccounts parses the given appState and returns the genesis accounts
func ParseCoinsFromString ¶
ParseCoinsFromString converts string to coin type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.