custom_msg

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeCustomMsg

func EncodeCustomMsg(sender sdk.AccAddress, rawMsg json.RawMessage) ([]sdk.Msg, error)

func ParseKeyType

func ParseKeyType(rawKeyType KeyType) (types.KeyType, error)

Types

type KeyType

type KeyType string
const (
	KeyType_Unspecified    KeyType = "unspecified"
	KeyType_EcdsaSecp256k1 KeyType = "ecdsa_secp256k1"
	KeyType_EddsaEd25519   KeyType = "eddsa_ed25519"
)

type NewKeyRequest

type NewKeyRequest struct {
	Btl        uint64  `json:"btl"`
	IntentId   uint64  `json:"intent_id"`
	KeyType    KeyType `json:"key_type"`
	KeychainID uint64  `json:"keychain_id"`
	SpaceID    uint64  `json:"space_id"`
}

type WardenMsg

type WardenMsg struct {
	NewKeyRequest *NewKeyRequest `json:"new_key_request,omitempty"`
}

type WardenProtocolMsg

type WardenProtocolMsg struct {
	Warden WardenMsg `json:"warden"`
}

Jump to

Keyboard shortcuts

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