osmoutils

package
v7.0.0-alpha-1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFuncIfNoError

func ApplyFuncIfNoError(ctx sdk.Context, f func(ctx sdk.Context) error)

This function lets you run the function f, but if theres an error drop the state machine change and log the error. If there is no error, proceeds as normal (but with some slowdown due to SDK store weirdness) Try to avoid usage of iterators in f.

func DefaultFeeString

func DefaultFeeString(cfg network.Config) string

func ParseSdkIntFromString

func ParseSdkIntFromString(s string, seperator string) ([]sdk.Int, error)

func ParseUint64SliceFromString

func ParseUint64SliceFromString(s string, seperator string) ([]uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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