utils

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetForeignDenomTrace

func GetForeignDenomTrace(channelId string, denom string) transfertypes.DenomTrace

func GetForeignIBCDenom

func GetForeignIBCDenom(channelId string, denom string) string

func ParseJsonFromFile

func ParseJsonFromFile[T any](path string) ([]T, error)

ParseJsonFromFile parses a json file into a slice of type T

func ParseProposal

func ParseProposal(cmd *cobra.Command) (osmoutils.Proposal, sdk.Coins, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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