fury

package
v0.0.0-...-8c42a47 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FuryNativeToken = "ufury"

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 FurySigVerificationGasConsumer

func FurySigVerificationGasConsumer(
	meter sdk.GasMeter, sig signing.SignatureV2, params authtypes.Params,
) error

Identical to DefaultSigVerificationGasConsumer, but with ed25519 allowed

func IsEmpty

func IsEmpty(input string) bool

check if trimmed input is empty

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