ixo

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const IxoNativeToken = "uixo"

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, str string) bool

https://play.golang.org/p/Qg_uv_inCek contains checks if a string is present in a slice

func IsEmpty

func IsEmpty(input string) bool

check if trimmed input is empty

func IsEnumValueValid

func IsEnumValueValid(nameMap map[int32]string, value int32) bool

func IxoSigVerificationGasConsumer

func IxoSigVerificationGasConsumer(
	meter storetypes.GasMeter, sig signing.SignatureV2, params authtypes.Params,
) error

Identical to DefaultSigVerificationGasConsumer, but with ed25519 allowed

func RemoveOrdered

func RemoveOrdered[T any](slice []T, s int) []T

removes an element at index i from a slice, will not change order of slice (slow)

func RemoveUnordered

func RemoveUnordered[T any](s []T, i int) []T

removes an element at index i from a slice, will change order of slice (fast)

Types

This section is empty.

Jump to

Keyboard shortcuts

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