Documentation
¶
Index ¶
- func Contains[T comparable](x T, ls []T) bool
- func GetFirstValueInRange[T any](storeObj store.KVStore, keyStart []byte, keyEnd []byte, reverseIterate bool, ...) (T, error)
- func GetValueInRange[T any](storeObj store.KVStore, keyStart []byte, keyEnd []byte, reverseIterate bool, ...) ([]T, error)
- func PrintOrErr(resp proto.Message, err error, cctx client.Context) error
- func RemoveValueInRange(storeObj store.KVStore, keyStart []byte, keyEnd []byte, reverseIterate bool)
- func Signers(signers ...string) []sdk.AccAddress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFirstValueInRange ¶
func GetValueInRange ¶
func PrintOrErr ¶
PrintOrErr formats and print proto message to the standard output, unless the error is not nil.
func RemoveValueInRange ¶
func Signers ¶
func Signers(signers ...string) []sdk.AccAddress
Signers converts signer bech32 addresses to sdk.AccAddress list. The function ignores errors. It is supposed to be used within Msg.GetSigners implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.