wasm_interop

package
v0.3.3-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomQuerier

func CustomQuerier(wardenKeeper wardenkeeper.Keeper) func(ctx sdk.Context, rawRequest json.RawMessage) ([]byte, error)

func EncodeCustomMsg

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

Types

type NewKeyRequest

type NewKeyRequest struct {
	RuleId        uint64        `json:"rule_id"`
	KeyType       types.KeyType `json:"key_type"`
	KeychainID    uint64        `json:"keychain_id"`
	SpaceID       uint64        `json:"space_id"`
	TimeoutHeight uint64        `json:"timeout_height"`
}

type WardenMsg

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

type WardenProtocolMsg

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

type WardenProtocolQuery

type WardenProtocolQuery struct {
	Warden WardenQuery `json:"warden,omitempty"`
}

type WardenQuery

type WardenQuery struct {
	AllKeys *types.QueryAllKeysRequest `json:"all_keys,omitempty"`
}

Jump to

Keyboard shortcuts

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