osmo

package
v0.0.0-...-be50d8c Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HRP = "osmo"
)

Variables

This section is empty.

Functions

func NewAddress

func NewAddress(privateKeyHex string) (string, error)

func SwapExactAmountIn

func SwapExactAmountIn(param SwapExactAmountInParam, privateKeyHex string) (string, error)

func ValidateAddress

func ValidateAddress(address string) bool

Types

type SwapExactAmountInParam

type SwapExactAmountInParam struct {
	cosmos.CommonParam
	Sender      string
	PoolId      uint64
	ToDemon     string
	FromDemon   string
	FromAmount  string
	MinToAmount string
}

Directories

Path Synopsis
tx

Jump to

Keyboard shortcuts

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