ixo

package
v2.0.1-0...-c6a7496 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 11 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 IxoSigVerificationGasConsumer

func IxoSigVerificationGasConsumer(
	meter sdk.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