wardenv1beta2

package
v0.3.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName               = "/warden.warden.v1beta2.Query/Params"
	Query_Spaces_FullMethodName               = "/warden.warden.v1beta2.Query/Spaces"
	Query_SpacesByOwner_FullMethodName        = "/warden.warden.v1beta2.Query/SpacesByOwner"
	Query_Keychains_FullMethodName            = "/warden.warden.v1beta2.Query/Keychains"
	Query_SpaceById_FullMethodName            = "/warden.warden.v1beta2.Query/SpaceById"
	Query_KeychainById_FullMethodName         = "/warden.warden.v1beta2.Query/KeychainById"
	Query_KeyRequests_FullMethodName          = "/warden.warden.v1beta2.Query/KeyRequests"
	Query_KeyRequestById_FullMethodName       = "/warden.warden.v1beta2.Query/KeyRequestById"
	Query_AllKeys_FullMethodName              = "/warden.warden.v1beta2.Query/AllKeys"
	Query_KeysBySpaceId_FullMethodName        = "/warden.warden.v1beta2.Query/KeysBySpaceId"
	Query_KeyById_FullMethodName              = "/warden.warden.v1beta2.Query/KeyById"
	Query_SignatureRequests_FullMethodName    = "/warden.warden.v1beta2.Query/SignatureRequests"
	Query_SignatureRequestById_FullMethodName = "/warden.warden.v1beta2.Query/SignatureRequestById"
)
View Source
const (
	Msg_UpdateParams_FullMethodName           = "/warden.warden.v1beta2.Msg/UpdateParams"
	Msg_NewSpace_FullMethodName               = "/warden.warden.v1beta2.Msg/NewSpace"
	Msg_AddSpaceOwner_FullMethodName          = "/warden.warden.v1beta2.Msg/AddSpaceOwner"
	Msg_RemoveSpaceOwner_FullMethodName       = "/warden.warden.v1beta2.Msg/RemoveSpaceOwner"
	Msg_NewKeychain_FullMethodName            = "/warden.warden.v1beta2.Msg/NewKeychain"
	Msg_AddKeychainParty_FullMethodName       = "/warden.warden.v1beta2.Msg/AddKeychainParty"
	Msg_UpdateSpace_FullMethodName            = "/warden.warden.v1beta2.Msg/UpdateSpace"
	Msg_UpdateKeychain_FullMethodName         = "/warden.warden.v1beta2.Msg/UpdateKeychain"
	Msg_NewKeyRequest_FullMethodName          = "/warden.warden.v1beta2.Msg/NewKeyRequest"
	Msg_UpdateKeyRequest_FullMethodName       = "/warden.warden.v1beta2.Msg/UpdateKeyRequest"
	Msg_UpdateKey_FullMethodName              = "/warden.warden.v1beta2.Msg/UpdateKey"
	Msg_NewSignatureRequest_FullMethodName    = "/warden.warden.v1beta2.Msg/NewSignatureRequest"
	Msg_FulfilSignatureRequest_FullMethodName = "/warden.warden.v1beta2.Msg/FulfilSignatureRequest"
)

Variables

View Source
var (
	KeyRequestStatus_name = map[int32]string{
		0: "KEY_REQUEST_STATUS_UNSPECIFIED",
		1: "KEY_REQUEST_STATUS_PENDING",
		2: "KEY_REQUEST_STATUS_FULFILLED",
		3: "KEY_REQUEST_STATUS_REJECTED",
	}
	KeyRequestStatus_value = map[string]int32{
		"KEY_REQUEST_STATUS_UNSPECIFIED": 0,
		"KEY_REQUEST_STATUS_PENDING":     1,
		"KEY_REQUEST_STATUS_FULFILLED":   2,
		"KEY_REQUEST_STATUS_REJECTED":    3,
	}
)

Enum value maps for KeyRequestStatus.

View Source
var (
	KeyType_name = map[int32]string{
		0: "KEY_TYPE_UNSPECIFIED",
		1: "KEY_TYPE_ECDSA_SECP256K1",
		2: "KEY_TYPE_EDDSA_ED25519",
	}
	KeyType_value = map[string]int32{
		"KEY_TYPE_UNSPECIFIED":     0,
		"KEY_TYPE_ECDSA_SECP256K1": 1,
		"KEY_TYPE_EDDSA_ED25519":   2,
	}
)

Enum value maps for KeyType.

View Source
var (
	AddressType_name = map[int32]string{
		0: "ADDRESS_TYPE_UNSPECIFIED",
		1: "ADDRESS_TYPE_ETHEREUM",
		2: "ADDRESS_TYPE_OSMOSIS",
	}
	AddressType_value = map[string]int32{
		"ADDRESS_TYPE_UNSPECIFIED": 0,
		"ADDRESS_TYPE_ETHEREUM":    1,
		"ADDRESS_TYPE_OSMOSIS":     2,
	}
)

Enum value maps for AddressType.

View Source
var (
	SignRequestStatus_name = map[int32]string{
		0: "SIGN_REQUEST_STATUS_UNSPECIFIED",
		1: "SIGN_REQUEST_STATUS_PENDING",
		2: "SIGN_REQUEST_STATUS_FULFILLED",
		3: "SIGN_REQUEST_STATUS_REJECTED",
	}
	SignRequestStatus_value = map[string]int32{
		"SIGN_REQUEST_STATUS_UNSPECIFIED": 0,
		"SIGN_REQUEST_STATUS_PENDING":     1,
		"SIGN_REQUEST_STATUS_FULFILLED":   2,
		"SIGN_REQUEST_STATUS_REJECTED":    3,
	}
)

Enum value maps for SignRequestStatus.

View Source
var (
	SignMethod_name = map[int32]string{
		0: "SIGN_METHOD_BLACK_BOX",
		1: "SIGN_METHOD_ETH",
		2: "SIGN_METHOD_OSMOSIS",
	}
	SignMethod_value = map[string]int32{
		"SIGN_METHOD_BLACK_BOX": 0,
		"SIGN_METHOD_ETH":       1,
		"SIGN_METHOD_OSMOSIS":   2,
	}
)

Enum value maps for SignMethod.

View Source
var File_warden_warden_v1beta2_genesis_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_key_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_keychain_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_params_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_query_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_signature_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_space_proto protoreflect.FileDescriptor
View Source
var File_warden_warden_v1beta2_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "warden.warden.v1beta2.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "NewSpace",
			Handler:    _Msg_NewSpace_Handler,
		},
		{
			MethodName: "AddSpaceOwner",
			Handler:    _Msg_AddSpaceOwner_Handler,
		},
		{
			MethodName: "RemoveSpaceOwner",
			Handler:    _Msg_RemoveSpaceOwner_Handler,
		},
		{
			MethodName: "NewKeychain",
			Handler:    _Msg_NewKeychain_Handler,
		},
		{
			MethodName: "AddKeychainParty",
			Handler:    _Msg_AddKeychainParty_Handler,
		},
		{
			MethodName: "UpdateSpace",
			Handler:    _Msg_UpdateSpace_Handler,
		},
		{
			MethodName: "UpdateKeychain",
			Handler:    _Msg_UpdateKeychain_Handler,
		},
		{
			MethodName: "NewKeyRequest",
			Handler:    _Msg_NewKeyRequest_Handler,
		},
		{
			MethodName: "UpdateKeyRequest",
			Handler:    _Msg_UpdateKeyRequest_Handler,
		},
		{
			MethodName: "UpdateKey",
			Handler:    _Msg_UpdateKey_Handler,
		},
		{
			MethodName: "NewSignatureRequest",
			Handler:    _Msg_NewSignatureRequest_Handler,
		},
		{
			MethodName: "FulfilSignatureRequest",
			Handler:    _Msg_FulfilSignatureRequest_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "warden/warden/v1beta2/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "warden.warden.v1beta2.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "Spaces",
			Handler:    _Query_Spaces_Handler,
		},
		{
			MethodName: "SpacesByOwner",
			Handler:    _Query_SpacesByOwner_Handler,
		},
		{
			MethodName: "Keychains",
			Handler:    _Query_Keychains_Handler,
		},
		{
			MethodName: "SpaceById",
			Handler:    _Query_SpaceById_Handler,
		},
		{
			MethodName: "KeychainById",
			Handler:    _Query_KeychainById_Handler,
		},
		{
			MethodName: "KeyRequests",
			Handler:    _Query_KeyRequests_Handler,
		},
		{
			MethodName: "KeyRequestById",
			Handler:    _Query_KeyRequestById_Handler,
		},
		{
			MethodName: "AllKeys",
			Handler:    _Query_AllKeys_Handler,
		},
		{
			MethodName: "KeysBySpaceId",
			Handler:    _Query_KeysBySpaceId_Handler,
		},
		{
			MethodName: "KeyById",
			Handler:    _Query_KeyById_Handler,
		},
		{
			MethodName: "SignatureRequests",
			Handler:    _Query_SignatureRequests_Handler,
		},
		{
			MethodName: "SignatureRequestById",
			Handler:    _Query_SignatureRequestById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "warden/warden/v1beta2/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type AddressResponse added in v0.3.0

type AddressResponse struct {
	Address string      `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Type_   AddressType `protobuf:"varint,2,opt,name=type,proto3,enum=warden.warden.v1beta2.AddressType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressResponse) Descriptor deprecated added in v0.3.0

func (*AddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddressResponse.ProtoReflect.Descriptor instead.

func (*AddressResponse) GetAddress added in v0.3.0

func (x *AddressResponse) GetAddress() string

func (*AddressResponse) GetType_ added in v0.3.0

func (x *AddressResponse) GetType_() AddressType

func (*AddressResponse) ProtoMessage added in v0.3.0

func (*AddressResponse) ProtoMessage()

func (*AddressResponse) ProtoReflect added in v0.3.0

func (x *AddressResponse) ProtoReflect() protoreflect.Message

func (*AddressResponse) Reset added in v0.3.0

func (x *AddressResponse) Reset()

func (*AddressResponse) String added in v0.3.0

func (x *AddressResponse) String() string

type AddressType added in v0.3.0

type AddressType int32
const (
	// The address type is missing.
	AddressType_ADDRESS_TYPE_UNSPECIFIED AddressType = 0
	// Ethereum address type (e.g. 0x71C7656EC7ab88b098defB751B7401B5f6d8976F).
	AddressType_ADDRESS_TYPE_ETHEREUM AddressType = 1
	// Osmosis address type (e.g. osmo10kmgv5gzygnecf46x092ecfe5xcvvv9rlt823n).
	AddressType_ADDRESS_TYPE_OSMOSIS AddressType = 2
)

func (AddressType) Descriptor added in v0.3.0

func (AddressType) Enum added in v0.3.0

func (x AddressType) Enum() *AddressType

func (AddressType) EnumDescriptor deprecated added in v0.3.0

func (AddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressType.Descriptor instead.

func (AddressType) Number added in v0.3.0

func (x AddressType) Number() protoreflect.EnumNumber

func (AddressType) String added in v0.3.0

func (x AddressType) String() string

func (AddressType) Type added in v0.3.0

type GenesisState

type GenesisState struct {

	// params defines all the parameters of the module.
	Params            *Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	Keychains         []*Keychain    `protobuf:"bytes,2,rep,name=keychains,proto3" json:"keychains,omitempty"`
	Spaces            []*Space       `protobuf:"bytes,3,rep,name=spaces,proto3" json:"spaces,omitempty"`
	Keys              []*Key         `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
	KeyRequests       []*KeyRequest  `protobuf:"bytes,5,rep,name=key_requests,json=keyRequests,proto3" json:"key_requests,omitempty"`
	SignatureRequests []*SignRequest `protobuf:"bytes,6,rep,name=signature_requests,json=signatureRequests,proto3" json:"signature_requests,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the warden module's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetKeyRequests

func (x *GenesisState) GetKeyRequests() []*KeyRequest

func (*GenesisState) GetKeychains

func (x *GenesisState) GetKeychains() []*Keychain

func (*GenesisState) GetKeys

func (x *GenesisState) GetKeys() []*Key

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetSignatureRequests

func (x *GenesisState) GetSignatureRequests() []*SignRequest

func (*GenesisState) GetSpaces

func (x *GenesisState) GetSpaces() []*Space

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type Key

type Key struct {
	Id         uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SpaceId    uint64  `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId uint64  `protobuf:"varint,3,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Type_      KeyType `protobuf:"varint,4,opt,name=type,proto3,enum=warden.warden.v1beta2.KeyType" json:"type,omitempty"`
	PublicKey  []byte  `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// IntentId is the ID of the intent that will need to be satisfied for using
	// this key to sign data.
	// If this is not set, the key will use the signing intent of the Space.
	IntentId uint64 `protobuf:"varint,8,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Key) Descriptor deprecated

func (*Key) Descriptor() ([]byte, []int)

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetId

func (x *Key) GetId() uint64

func (*Key) GetIntentId

func (x *Key) GetIntentId() uint64

func (*Key) GetKeychainId

func (x *Key) GetKeychainId() uint64

func (*Key) GetPublicKey

func (x *Key) GetPublicKey() []byte

func (*Key) GetSpaceId

func (x *Key) GetSpaceId() uint64

func (*Key) GetType_

func (x *Key) GetType_() KeyType

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

func (x *Key) ProtoReflect() protoreflect.Message

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type KeyRequest

type KeyRequest struct {
	Id           uint64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator      string           `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId      uint64           `protobuf:"varint,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId   uint64           `protobuf:"varint,4,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	KeyType      KeyType          `protobuf:"varint,5,opt,name=key_type,json=keyType,proto3,enum=warden.warden.v1beta2.KeyType" json:"key_type,omitempty"`
	Status       KeyRequestStatus `protobuf:"varint,6,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"`
	RejectReason string           `protobuf:"bytes,7,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"`
	// IntentId is the ID of the intent that the resulting Key will use.
	IntentId uint64 `protobuf:"varint,8,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyRequest) Descriptor deprecated

func (*KeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use KeyRequest.ProtoReflect.Descriptor instead.

func (*KeyRequest) GetCreator

func (x *KeyRequest) GetCreator() string

func (*KeyRequest) GetId

func (x *KeyRequest) GetId() uint64

func (*KeyRequest) GetIntentId

func (x *KeyRequest) GetIntentId() uint64

func (*KeyRequest) GetKeyType

func (x *KeyRequest) GetKeyType() KeyType

func (*KeyRequest) GetKeychainId

func (x *KeyRequest) GetKeychainId() uint64

func (*KeyRequest) GetRejectReason

func (x *KeyRequest) GetRejectReason() string

func (*KeyRequest) GetSpaceId

func (x *KeyRequest) GetSpaceId() uint64

func (*KeyRequest) GetStatus

func (x *KeyRequest) GetStatus() KeyRequestStatus

func (*KeyRequest) ProtoMessage

func (*KeyRequest) ProtoMessage()

func (*KeyRequest) ProtoReflect

func (x *KeyRequest) ProtoReflect() protoreflect.Message

func (*KeyRequest) Reset

func (x *KeyRequest) Reset()

func (*KeyRequest) String

func (x *KeyRequest) String() string

type KeyRequestStatus

type KeyRequestStatus int32

KeyRequestStatus indicates the status of a key request. A request starts as "pending", waiting to be picked up. Then it can move to either "approved" or "rejected", depending on the decision of the keychain.

const (
	// The request is missing the status field.
	KeyRequestStatus_KEY_REQUEST_STATUS_UNSPECIFIED KeyRequestStatus = 0
	// The request is waiting to be fulfilled. This is the initial state of a
	// request.
	KeyRequestStatus_KEY_REQUEST_STATUS_PENDING KeyRequestStatus = 1
	// The request was fulfilled. This is a final state for a request.
	KeyRequestStatus_KEY_REQUEST_STATUS_FULFILLED KeyRequestStatus = 2
	// The request was rejected. This is a final state for a request.
	KeyRequestStatus_KEY_REQUEST_STATUS_REJECTED KeyRequestStatus = 3
)

func (KeyRequestStatus) Descriptor

func (KeyRequestStatus) Enum

func (KeyRequestStatus) EnumDescriptor deprecated

func (KeyRequestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyRequestStatus.Descriptor instead.

func (KeyRequestStatus) Number

func (KeyRequestStatus) String

func (x KeyRequestStatus) String() string

func (KeyRequestStatus) Type

type KeyType

type KeyType int32

KeyType indicates what crypto scheme will be used by this key (e.g. ECDSA). Its public key will be one of the specified type.

const (
	// The key type is missing.
	KeyType_KEY_TYPE_UNSPECIFIED KeyType = 0
	// The key is an ECDSA secp256k1 key.
	KeyType_KEY_TYPE_ECDSA_SECP256K1 KeyType = 1
	// The key is an EdDSA Ed25519 key.
	KeyType_KEY_TYPE_EDDSA_ED25519 KeyType = 2
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

func (KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

func (KeyType) Type

func (KeyType) Type() protoreflect.EnumType

type Keychain

type Keychain struct {
	Id            uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator       string        `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Description   string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Admins        []string      `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"`
	Parties       []string      `protobuf:"bytes,5,rep,name=parties,proto3" json:"parties,omitempty"`
	AdminIntentId uint64        `protobuf:"varint,6,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	Fees          *KeychainFees `protobuf:"bytes,7,opt,name=fees,proto3" json:"fees,omitempty"`
	IsActive      bool          `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

func (*Keychain) Descriptor deprecated

func (*Keychain) Descriptor() ([]byte, []int)

Deprecated: Use Keychain.ProtoReflect.Descriptor instead.

func (*Keychain) GetAdminIntentId

func (x *Keychain) GetAdminIntentId() uint64

func (*Keychain) GetAdmins

func (x *Keychain) GetAdmins() []string

func (*Keychain) GetCreator

func (x *Keychain) GetCreator() string

func (*Keychain) GetDescription

func (x *Keychain) GetDescription() string

func (*Keychain) GetFees

func (x *Keychain) GetFees() *KeychainFees

func (*Keychain) GetId

func (x *Keychain) GetId() uint64

func (*Keychain) GetIsActive

func (x *Keychain) GetIsActive() bool

func (*Keychain) GetParties

func (x *Keychain) GetParties() []string

func (*Keychain) ProtoMessage

func (*Keychain) ProtoMessage()

func (*Keychain) ProtoReflect

func (x *Keychain) ProtoReflect() protoreflect.Message

func (*Keychain) Reset

func (x *Keychain) Reset()

func (*Keychain) String

func (x *Keychain) String() string

type KeychainFees

type KeychainFees struct {
	KeyReq int64 `protobuf:"varint,1,opt,name=key_req,json=keyReq,proto3" json:"key_req,omitempty"`
	SigReq int64 `protobuf:"varint,2,opt,name=sig_req,json=sigReq,proto3" json:"sig_req,omitempty"`
	// contains filtered or unexported fields
}

func (*KeychainFees) Descriptor deprecated

func (*KeychainFees) Descriptor() ([]byte, []int)

Deprecated: Use KeychainFees.ProtoReflect.Descriptor instead.

func (*KeychainFees) GetKeyReq

func (x *KeychainFees) GetKeyReq() int64

func (*KeychainFees) GetSigReq

func (x *KeychainFees) GetSigReq() int64

func (*KeychainFees) ProtoMessage

func (*KeychainFees) ProtoMessage()

func (*KeychainFees) ProtoReflect

func (x *KeychainFees) ProtoReflect() protoreflect.Message

func (*KeychainFees) Reset

func (x *KeychainFees) Reset()

func (*KeychainFees) String

func (x *KeychainFees) String() string

type MetadataEthereum

type MetadataEthereum struct {
	ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataEthereum) Descriptor deprecated

func (*MetadataEthereum) Descriptor() ([]byte, []int)

Deprecated: Use MetadataEthereum.ProtoReflect.Descriptor instead.

func (*MetadataEthereum) GetChainId

func (x *MetadataEthereum) GetChainId() uint64

func (*MetadataEthereum) ProtoMessage

func (*MetadataEthereum) ProtoMessage()

func (*MetadataEthereum) ProtoReflect

func (x *MetadataEthereum) ProtoReflect() protoreflect.Message

func (*MetadataEthereum) Reset

func (x *MetadataEthereum) Reset()

func (*MetadataEthereum) String

func (x *MetadataEthereum) String() string

type MsgAddKeychainParty

type MsgAddKeychainParty struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeychainId uint64 `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Party      string `protobuf:"bytes,3,opt,name=party,proto3" json:"party,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgAddKeychainParty) Descriptor deprecated

func (*MsgAddKeychainParty) Descriptor() ([]byte, []int)

Deprecated: Use MsgAddKeychainParty.ProtoReflect.Descriptor instead.

func (*MsgAddKeychainParty) GetCreator

func (x *MsgAddKeychainParty) GetCreator() string

func (*MsgAddKeychainParty) GetKeychainId

func (x *MsgAddKeychainParty) GetKeychainId() uint64

func (*MsgAddKeychainParty) GetParty

func (x *MsgAddKeychainParty) GetParty() string

func (*MsgAddKeychainParty) ProtoMessage

func (*MsgAddKeychainParty) ProtoMessage()

func (*MsgAddKeychainParty) ProtoReflect

func (x *MsgAddKeychainParty) ProtoReflect() protoreflect.Message

func (*MsgAddKeychainParty) Reset

func (x *MsgAddKeychainParty) Reset()

func (*MsgAddKeychainParty) String

func (x *MsgAddKeychainParty) String() string

type MsgAddKeychainPartyResponse

type MsgAddKeychainPartyResponse struct {
	// contains filtered or unexported fields
}

func (*MsgAddKeychainPartyResponse) Descriptor deprecated

func (*MsgAddKeychainPartyResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgAddKeychainPartyResponse.ProtoReflect.Descriptor instead.

func (*MsgAddKeychainPartyResponse) ProtoMessage

func (*MsgAddKeychainPartyResponse) ProtoMessage()

func (*MsgAddKeychainPartyResponse) ProtoReflect

func (*MsgAddKeychainPartyResponse) Reset

func (x *MsgAddKeychainPartyResponse) Reset()

func (*MsgAddKeychainPartyResponse) String

func (x *MsgAddKeychainPartyResponse) String() string

type MsgAddSpaceOwner

type MsgAddSpaceOwner struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	SpaceId   uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	NewOwner  string `protobuf:"bytes,3,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgAddSpaceOwner) Descriptor deprecated

func (*MsgAddSpaceOwner) Descriptor() ([]byte, []int)

Deprecated: Use MsgAddSpaceOwner.ProtoReflect.Descriptor instead.

func (*MsgAddSpaceOwner) GetAuthority

func (x *MsgAddSpaceOwner) GetAuthority() string

func (*MsgAddSpaceOwner) GetNewOwner

func (x *MsgAddSpaceOwner) GetNewOwner() string

func (*MsgAddSpaceOwner) GetSpaceId

func (x *MsgAddSpaceOwner) GetSpaceId() uint64

func (*MsgAddSpaceOwner) ProtoMessage

func (*MsgAddSpaceOwner) ProtoMessage()

func (*MsgAddSpaceOwner) ProtoReflect

func (x *MsgAddSpaceOwner) ProtoReflect() protoreflect.Message

func (*MsgAddSpaceOwner) Reset

func (x *MsgAddSpaceOwner) Reset()

func (*MsgAddSpaceOwner) String

func (x *MsgAddSpaceOwner) String() string

type MsgAddSpaceOwnerResponse

type MsgAddSpaceOwnerResponse struct {
	// contains filtered or unexported fields
}

func (*MsgAddSpaceOwnerResponse) Descriptor deprecated

func (*MsgAddSpaceOwnerResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgAddSpaceOwnerResponse.ProtoReflect.Descriptor instead.

func (*MsgAddSpaceOwnerResponse) ProtoMessage

func (*MsgAddSpaceOwnerResponse) ProtoMessage()

func (*MsgAddSpaceOwnerResponse) ProtoReflect

func (x *MsgAddSpaceOwnerResponse) ProtoReflect() protoreflect.Message

func (*MsgAddSpaceOwnerResponse) Reset

func (x *MsgAddSpaceOwnerResponse) Reset()

func (*MsgAddSpaceOwnerResponse) String

func (x *MsgAddSpaceOwnerResponse) String() string

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// Create a new Space. The creator will be the first owner of the Space.
	NewSpace(ctx context.Context, in *MsgNewSpace, opts ...grpc.CallOption) (*MsgNewSpaceResponse, error)
	// Add a new owner to a space.
	AddSpaceOwner(ctx context.Context, in *MsgAddSpaceOwner, opts ...grpc.CallOption) (*MsgAddSpaceOwnerResponse, error)
	// Remove an owner from the space. The user can remove itself, but at
	// least one owner must be left.
	RemoveSpaceOwner(ctx context.Context, in *MsgRemoveSpaceOwner, opts ...grpc.CallOption) (*MsgRemoveSpaceOwnerResponse, error)
	// Create a new keychain. The user will be the first admin of the keychain.
	NewKeychain(ctx context.Context, in *MsgNewKeychain, opts ...grpc.CallOption) (*MsgNewKeychainResponse, error)
	// Add a new party to a keychain. Transactions coming from this party will
	// be considered trusted by the keychain.
	AddKeychainParty(ctx context.Context, in *MsgAddKeychainParty, opts ...grpc.CallOption) (*MsgAddKeychainPartyResponse, error)
	// Update a space, e.g. changing the intents in use.
	UpdateSpace(ctx context.Context, in *MsgUpdateSpace, opts ...grpc.CallOption) (*MsgUpdateSpaceResponse, error)
	// Update a keychain, e.g. update the status or description.
	UpdateKeychain(ctx context.Context, in *MsgUpdateKeychain, opts ...grpc.CallOption) (*MsgUpdateKeychainResponse, error)
	// Request a new key to a keychain, the key will belong to the specified
	// space.
	NewKeyRequest(ctx context.Context, in *MsgNewKeyRequest, opts ...grpc.CallOption) (*MsgNewKeyRequestResponse, error)
	// Update an existing request by writing a result into it. This method is
	// called by a keychain party.
	UpdateKeyRequest(ctx context.Context, in *MsgUpdateKeyRequest, opts ...grpc.CallOption) (*MsgUpdateKeyRequestResponse, error)
	// Update informations of a Key.
	UpdateKey(ctx context.Context, in *MsgUpdateKey, opts ...grpc.CallOption) (*MsgUpdateKeyResponse, error)
	// Request a new signature
	NewSignatureRequest(ctx context.Context, in *MsgNewSignatureRequest, opts ...grpc.CallOption) (*MsgNewSignatureRequestResponse, error)
	// Fulfill a signature request
	FulfilSignatureRequest(ctx context.Context, in *MsgFulfilSignatureRequest, opts ...grpc.CallOption) (*MsgFulfilSignatureRequestResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgFulfilSignatureRequest

type MsgFulfilSignatureRequest struct {
	Creator   string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId uint64            `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Status    SignRequestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is approved, the result will
	// contain the signed data that was requested
	// If status is rejected, the result will contain the reason.
	//
	// Types that are assignable to Result:
	//
	//	*MsgFulfilSignatureRequest_Payload
	//	*MsgFulfilSignatureRequest_RejectReason
	Result isMsgFulfilSignatureRequest_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*MsgFulfilSignatureRequest) Descriptor deprecated

func (*MsgFulfilSignatureRequest) Descriptor() ([]byte, []int)

Deprecated: Use MsgFulfilSignatureRequest.ProtoReflect.Descriptor instead.

func (*MsgFulfilSignatureRequest) GetCreator

func (x *MsgFulfilSignatureRequest) GetCreator() string

func (*MsgFulfilSignatureRequest) GetPayload

func (x *MsgFulfilSignatureRequest) GetPayload() *MsgSignedData

func (*MsgFulfilSignatureRequest) GetRejectReason

func (x *MsgFulfilSignatureRequest) GetRejectReason() string

func (*MsgFulfilSignatureRequest) GetRequestId

func (x *MsgFulfilSignatureRequest) GetRequestId() uint64

func (*MsgFulfilSignatureRequest) GetResult

func (x *MsgFulfilSignatureRequest) GetResult() isMsgFulfilSignatureRequest_Result

func (*MsgFulfilSignatureRequest) GetStatus

func (*MsgFulfilSignatureRequest) ProtoMessage

func (*MsgFulfilSignatureRequest) ProtoMessage()

func (*MsgFulfilSignatureRequest) ProtoReflect

func (*MsgFulfilSignatureRequest) Reset

func (x *MsgFulfilSignatureRequest) Reset()

func (*MsgFulfilSignatureRequest) String

func (x *MsgFulfilSignatureRequest) String() string

type MsgFulfilSignatureRequestResponse

type MsgFulfilSignatureRequestResponse struct {
	// contains filtered or unexported fields
}

func (*MsgFulfilSignatureRequestResponse) Descriptor deprecated

func (*MsgFulfilSignatureRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgFulfilSignatureRequestResponse.ProtoReflect.Descriptor instead.

func (*MsgFulfilSignatureRequestResponse) ProtoMessage

func (*MsgFulfilSignatureRequestResponse) ProtoMessage()

func (*MsgFulfilSignatureRequestResponse) ProtoReflect

func (*MsgFulfilSignatureRequestResponse) Reset

func (*MsgFulfilSignatureRequestResponse) String

type MsgFulfilSignatureRequest_Payload

type MsgFulfilSignatureRequest_Payload struct {
	Payload *MsgSignedData `protobuf:"bytes,4,opt,name=payload,proto3,oneof"`
}

type MsgFulfilSignatureRequest_RejectReason

type MsgFulfilSignatureRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,5,opt,name=reject_reason,json=rejectReason,proto3,oneof"`
}

type MsgNewKey

type MsgNewKey struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewKey) Descriptor deprecated

func (*MsgNewKey) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewKey.ProtoReflect.Descriptor instead.

func (*MsgNewKey) GetPublicKey

func (x *MsgNewKey) GetPublicKey() []byte

func (*MsgNewKey) ProtoMessage

func (*MsgNewKey) ProtoMessage()

func (*MsgNewKey) ProtoReflect

func (x *MsgNewKey) ProtoReflect() protoreflect.Message

func (*MsgNewKey) Reset

func (x *MsgNewKey) Reset()

func (*MsgNewKey) String

func (x *MsgNewKey) String() string

type MsgNewKeyRequest

type MsgNewKeyRequest struct {
	Authority  string  `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	SpaceId    uint64  `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId uint64  `protobuf:"varint,3,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	KeyType    KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=warden.warden.v1beta2.KeyType" json:"key_type,omitempty"`
	IntentId   uint64  `protobuf:"varint,6,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewKeyRequest) Descriptor deprecated

func (*MsgNewKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewKeyRequest.ProtoReflect.Descriptor instead.

func (*MsgNewKeyRequest) GetAuthority

func (x *MsgNewKeyRequest) GetAuthority() string

func (*MsgNewKeyRequest) GetIntentId

func (x *MsgNewKeyRequest) GetIntentId() uint64

func (*MsgNewKeyRequest) GetKeyType

func (x *MsgNewKeyRequest) GetKeyType() KeyType

func (*MsgNewKeyRequest) GetKeychainId

func (x *MsgNewKeyRequest) GetKeychainId() uint64

func (*MsgNewKeyRequest) GetSpaceId

func (x *MsgNewKeyRequest) GetSpaceId() uint64

func (*MsgNewKeyRequest) ProtoMessage

func (*MsgNewKeyRequest) ProtoMessage()

func (*MsgNewKeyRequest) ProtoReflect

func (x *MsgNewKeyRequest) ProtoReflect() protoreflect.Message

func (*MsgNewKeyRequest) Reset

func (x *MsgNewKeyRequest) Reset()

func (*MsgNewKeyRequest) String

func (x *MsgNewKeyRequest) String() string

type MsgNewKeyRequestResponse

type MsgNewKeyRequestResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewKeyRequestResponse) Descriptor deprecated

func (*MsgNewKeyRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewKeyRequestResponse.ProtoReflect.Descriptor instead.

func (*MsgNewKeyRequestResponse) GetId

func (x *MsgNewKeyRequestResponse) GetId() uint64

func (*MsgNewKeyRequestResponse) ProtoMessage

func (*MsgNewKeyRequestResponse) ProtoMessage()

func (*MsgNewKeyRequestResponse) ProtoReflect

func (x *MsgNewKeyRequestResponse) ProtoReflect() protoreflect.Message

func (*MsgNewKeyRequestResponse) Reset

func (x *MsgNewKeyRequestResponse) Reset()

func (*MsgNewKeyRequestResponse) String

func (x *MsgNewKeyRequestResponse) String() string

type MsgNewKeychain

type MsgNewKeychain struct {
	Creator       string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Description   string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AdminIntentId uint64        `protobuf:"varint,3,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	KeychainFees  *KeychainFees `protobuf:"bytes,4,opt,name=keychain_fees,json=keychainFees,proto3" json:"keychain_fees,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewKeychain) Descriptor deprecated

func (*MsgNewKeychain) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewKeychain.ProtoReflect.Descriptor instead.

func (*MsgNewKeychain) GetAdminIntentId

func (x *MsgNewKeychain) GetAdminIntentId() uint64

func (*MsgNewKeychain) GetCreator

func (x *MsgNewKeychain) GetCreator() string

func (*MsgNewKeychain) GetDescription

func (x *MsgNewKeychain) GetDescription() string

func (*MsgNewKeychain) GetKeychainFees

func (x *MsgNewKeychain) GetKeychainFees() *KeychainFees

func (*MsgNewKeychain) ProtoMessage

func (*MsgNewKeychain) ProtoMessage()

func (*MsgNewKeychain) ProtoReflect

func (x *MsgNewKeychain) ProtoReflect() protoreflect.Message

func (*MsgNewKeychain) Reset

func (x *MsgNewKeychain) Reset()

func (*MsgNewKeychain) String

func (x *MsgNewKeychain) String() string

type MsgNewKeychainResponse

type MsgNewKeychainResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewKeychainResponse) Descriptor deprecated

func (*MsgNewKeychainResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewKeychainResponse.ProtoReflect.Descriptor instead.

func (*MsgNewKeychainResponse) GetId

func (x *MsgNewKeychainResponse) GetId() uint64

func (*MsgNewKeychainResponse) ProtoMessage

func (*MsgNewKeychainResponse) ProtoMessage()

func (*MsgNewKeychainResponse) ProtoReflect

func (x *MsgNewKeychainResponse) ProtoReflect() protoreflect.Message

func (*MsgNewKeychainResponse) Reset

func (x *MsgNewKeychainResponse) Reset()

func (*MsgNewKeychainResponse) String

func (x *MsgNewKeychainResponse) String() string

type MsgNewSignatureRequest

type MsgNewSignatureRequest struct {
	Authority  string     `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	KeyId      uint64     `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	Input      []byte     `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	SignMethod SignMethod `` /* 130-byte string literal not displayed */
	Metadata   *anypb.Any `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Analyzers  []string   `protobuf:"bytes,7,rep,name=analyzers,proto3" json:"analyzers,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewSignatureRequest) Descriptor deprecated

func (*MsgNewSignatureRequest) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewSignatureRequest.ProtoReflect.Descriptor instead.

func (*MsgNewSignatureRequest) GetAnalyzers

func (x *MsgNewSignatureRequest) GetAnalyzers() []string

func (*MsgNewSignatureRequest) GetAuthority

func (x *MsgNewSignatureRequest) GetAuthority() string

func (*MsgNewSignatureRequest) GetInput

func (x *MsgNewSignatureRequest) GetInput() []byte

func (*MsgNewSignatureRequest) GetKeyId

func (x *MsgNewSignatureRequest) GetKeyId() uint64

func (*MsgNewSignatureRequest) GetMetadata added in v0.3.0

func (x *MsgNewSignatureRequest) GetMetadata() *anypb.Any

func (*MsgNewSignatureRequest) GetSignMethod added in v0.3.0

func (x *MsgNewSignatureRequest) GetSignMethod() SignMethod

func (*MsgNewSignatureRequest) ProtoMessage

func (*MsgNewSignatureRequest) ProtoMessage()

func (*MsgNewSignatureRequest) ProtoReflect

func (x *MsgNewSignatureRequest) ProtoReflect() protoreflect.Message

func (*MsgNewSignatureRequest) Reset

func (x *MsgNewSignatureRequest) Reset()

func (*MsgNewSignatureRequest) String

func (x *MsgNewSignatureRequest) String() string

type MsgNewSignatureRequestResponse

type MsgNewSignatureRequestResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewSignatureRequestResponse) Descriptor deprecated

func (*MsgNewSignatureRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewSignatureRequestResponse.ProtoReflect.Descriptor instead.

func (*MsgNewSignatureRequestResponse) GetId

func (*MsgNewSignatureRequestResponse) ProtoMessage

func (*MsgNewSignatureRequestResponse) ProtoMessage()

func (*MsgNewSignatureRequestResponse) ProtoReflect

func (*MsgNewSignatureRequestResponse) Reset

func (x *MsgNewSignatureRequestResponse) Reset()

func (*MsgNewSignatureRequestResponse) String

type MsgNewSpace

type MsgNewSpace struct {
	Creator          string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AdminIntentId    uint64   `protobuf:"varint,2,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	SignIntentId     uint64   `protobuf:"varint,3,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
	AdditionalOwners []string `protobuf:"bytes,4,rep,name=additional_owners,json=additionalOwners,proto3" json:"additional_owners,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewSpace) Descriptor deprecated

func (*MsgNewSpace) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewSpace.ProtoReflect.Descriptor instead.

func (*MsgNewSpace) GetAdditionalOwners

func (x *MsgNewSpace) GetAdditionalOwners() []string

func (*MsgNewSpace) GetAdminIntentId

func (x *MsgNewSpace) GetAdminIntentId() uint64

func (*MsgNewSpace) GetCreator

func (x *MsgNewSpace) GetCreator() string

func (*MsgNewSpace) GetSignIntentId

func (x *MsgNewSpace) GetSignIntentId() uint64

func (*MsgNewSpace) ProtoMessage

func (*MsgNewSpace) ProtoMessage()

func (*MsgNewSpace) ProtoReflect

func (x *MsgNewSpace) ProtoReflect() protoreflect.Message

func (*MsgNewSpace) Reset

func (x *MsgNewSpace) Reset()

func (*MsgNewSpace) String

func (x *MsgNewSpace) String() string

type MsgNewSpaceResponse

type MsgNewSpaceResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgNewSpaceResponse) Descriptor deprecated

func (*MsgNewSpaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgNewSpaceResponse.ProtoReflect.Descriptor instead.

func (*MsgNewSpaceResponse) GetId

func (x *MsgNewSpaceResponse) GetId() uint64

func (*MsgNewSpaceResponse) ProtoMessage

func (*MsgNewSpaceResponse) ProtoMessage()

func (*MsgNewSpaceResponse) ProtoReflect

func (x *MsgNewSpaceResponse) ProtoReflect() protoreflect.Message

func (*MsgNewSpaceResponse) Reset

func (x *MsgNewSpaceResponse) Reset()

func (*MsgNewSpaceResponse) String

func (x *MsgNewSpaceResponse) String() string

type MsgRemoveSpaceOwner

type MsgRemoveSpaceOwner struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	SpaceId   uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Owner     string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRemoveSpaceOwner) Descriptor deprecated

func (*MsgRemoveSpaceOwner) Descriptor() ([]byte, []int)

Deprecated: Use MsgRemoveSpaceOwner.ProtoReflect.Descriptor instead.

func (*MsgRemoveSpaceOwner) GetAuthority

func (x *MsgRemoveSpaceOwner) GetAuthority() string

func (*MsgRemoveSpaceOwner) GetOwner

func (x *MsgRemoveSpaceOwner) GetOwner() string

func (*MsgRemoveSpaceOwner) GetSpaceId

func (x *MsgRemoveSpaceOwner) GetSpaceId() uint64

func (*MsgRemoveSpaceOwner) ProtoMessage

func (*MsgRemoveSpaceOwner) ProtoMessage()

func (*MsgRemoveSpaceOwner) ProtoReflect

func (x *MsgRemoveSpaceOwner) ProtoReflect() protoreflect.Message

func (*MsgRemoveSpaceOwner) Reset

func (x *MsgRemoveSpaceOwner) Reset()

func (*MsgRemoveSpaceOwner) String

func (x *MsgRemoveSpaceOwner) String() string

type MsgRemoveSpaceOwnerResponse

type MsgRemoveSpaceOwnerResponse struct {
	// contains filtered or unexported fields
}

func (*MsgRemoveSpaceOwnerResponse) Descriptor deprecated

func (*MsgRemoveSpaceOwnerResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgRemoveSpaceOwnerResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveSpaceOwnerResponse) ProtoMessage

func (*MsgRemoveSpaceOwnerResponse) ProtoMessage()

func (*MsgRemoveSpaceOwnerResponse) ProtoReflect

func (*MsgRemoveSpaceOwnerResponse) Reset

func (x *MsgRemoveSpaceOwnerResponse) Reset()

func (*MsgRemoveSpaceOwnerResponse) String

func (x *MsgRemoveSpaceOwnerResponse) String() string

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// Create a new Space. The creator will be the first owner of the Space.
	NewSpace(context.Context, *MsgNewSpace) (*MsgNewSpaceResponse, error)
	// Add a new owner to a space.
	AddSpaceOwner(context.Context, *MsgAddSpaceOwner) (*MsgAddSpaceOwnerResponse, error)
	// Remove an owner from the space. The user can remove itself, but at
	// least one owner must be left.
	RemoveSpaceOwner(context.Context, *MsgRemoveSpaceOwner) (*MsgRemoveSpaceOwnerResponse, error)
	// Create a new keychain. The user will be the first admin of the keychain.
	NewKeychain(context.Context, *MsgNewKeychain) (*MsgNewKeychainResponse, error)
	// Add a new party to a keychain. Transactions coming from this party will
	// be considered trusted by the keychain.
	AddKeychainParty(context.Context, *MsgAddKeychainParty) (*MsgAddKeychainPartyResponse, error)
	// Update a space, e.g. changing the intents in use.
	UpdateSpace(context.Context, *MsgUpdateSpace) (*MsgUpdateSpaceResponse, error)
	// Update a keychain, e.g. update the status or description.
	UpdateKeychain(context.Context, *MsgUpdateKeychain) (*MsgUpdateKeychainResponse, error)
	// Request a new key to a keychain, the key will belong to the specified
	// space.
	NewKeyRequest(context.Context, *MsgNewKeyRequest) (*MsgNewKeyRequestResponse, error)
	// Update an existing request by writing a result into it. This method is
	// called by a keychain party.
	UpdateKeyRequest(context.Context, *MsgUpdateKeyRequest) (*MsgUpdateKeyRequestResponse, error)
	// Update informations of a Key.
	UpdateKey(context.Context, *MsgUpdateKey) (*MsgUpdateKeyResponse, error)
	// Request a new signature
	NewSignatureRequest(context.Context, *MsgNewSignatureRequest) (*MsgNewSignatureRequestResponse, error)
	// Fulfill a signature request
	FulfilSignatureRequest(context.Context, *MsgFulfilSignatureRequest) (*MsgFulfilSignatureRequestResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSignedData

type MsgSignedData struct {
	SignedData []byte `protobuf:"bytes,1,opt,name=signed_data,json=signedData,proto3" json:"signed_data,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSignedData) Descriptor deprecated

func (*MsgSignedData) Descriptor() ([]byte, []int)

Deprecated: Use MsgSignedData.ProtoReflect.Descriptor instead.

func (*MsgSignedData) GetSignedData

func (x *MsgSignedData) GetSignedData() []byte

func (*MsgSignedData) ProtoMessage

func (*MsgSignedData) ProtoMessage()

func (*MsgSignedData) ProtoReflect

func (x *MsgSignedData) ProtoReflect() protoreflect.Message

func (*MsgSignedData) Reset

func (x *MsgSignedData) Reset()

func (*MsgSignedData) String

func (x *MsgSignedData) String() string

type MsgUpdateKey

type MsgUpdateKey struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	KeyId     uint64 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	IntentId  uint64 `protobuf:"varint,3,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateKey) Descriptor deprecated

func (*MsgUpdateKey) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKey.ProtoReflect.Descriptor instead.

func (*MsgUpdateKey) GetAuthority

func (x *MsgUpdateKey) GetAuthority() string

func (*MsgUpdateKey) GetIntentId

func (x *MsgUpdateKey) GetIntentId() uint64

func (*MsgUpdateKey) GetKeyId

func (x *MsgUpdateKey) GetKeyId() uint64

func (*MsgUpdateKey) ProtoMessage

func (*MsgUpdateKey) ProtoMessage()

func (*MsgUpdateKey) ProtoReflect

func (x *MsgUpdateKey) ProtoReflect() protoreflect.Message

func (*MsgUpdateKey) Reset

func (x *MsgUpdateKey) Reset()

func (*MsgUpdateKey) String

func (x *MsgUpdateKey) String() string

type MsgUpdateKeyRequest

type MsgUpdateKeyRequest struct {
	Creator   string           `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId uint64           `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Status    KeyRequestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is approved, the result will
	// contain the requested key's public key that can be used for signing
	// payloads.
	// If status is rejected, the result will contain the reason.
	//
	// Types that are assignable to Result:
	//
	//	*MsgUpdateKeyRequest_Key
	//	*MsgUpdateKeyRequest_RejectReason
	Result isMsgUpdateKeyRequest_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*MsgUpdateKeyRequest) Descriptor deprecated

func (*MsgUpdateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKeyRequest.ProtoReflect.Descriptor instead.

func (*MsgUpdateKeyRequest) GetCreator

func (x *MsgUpdateKeyRequest) GetCreator() string

func (*MsgUpdateKeyRequest) GetKey

func (x *MsgUpdateKeyRequest) GetKey() *MsgNewKey

func (*MsgUpdateKeyRequest) GetRejectReason

func (x *MsgUpdateKeyRequest) GetRejectReason() string

func (*MsgUpdateKeyRequest) GetRequestId

func (x *MsgUpdateKeyRequest) GetRequestId() uint64

func (*MsgUpdateKeyRequest) GetResult

func (x *MsgUpdateKeyRequest) GetResult() isMsgUpdateKeyRequest_Result

func (*MsgUpdateKeyRequest) GetStatus

func (x *MsgUpdateKeyRequest) GetStatus() KeyRequestStatus

func (*MsgUpdateKeyRequest) ProtoMessage

func (*MsgUpdateKeyRequest) ProtoMessage()

func (*MsgUpdateKeyRequest) ProtoReflect

func (x *MsgUpdateKeyRequest) ProtoReflect() protoreflect.Message

func (*MsgUpdateKeyRequest) Reset

func (x *MsgUpdateKeyRequest) Reset()

func (*MsgUpdateKeyRequest) String

func (x *MsgUpdateKeyRequest) String() string

type MsgUpdateKeyRequestResponse

type MsgUpdateKeyRequestResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateKeyRequestResponse) Descriptor deprecated

func (*MsgUpdateKeyRequestResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKeyRequestResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateKeyRequestResponse) ProtoMessage

func (*MsgUpdateKeyRequestResponse) ProtoMessage()

func (*MsgUpdateKeyRequestResponse) ProtoReflect

func (*MsgUpdateKeyRequestResponse) Reset

func (x *MsgUpdateKeyRequestResponse) Reset()

func (*MsgUpdateKeyRequestResponse) String

func (x *MsgUpdateKeyRequestResponse) String() string

type MsgUpdateKeyRequest_Key

type MsgUpdateKeyRequest_Key struct {
	Key *MsgNewKey `protobuf:"bytes,4,opt,name=key,proto3,oneof"`
}

type MsgUpdateKeyRequest_RejectReason

type MsgUpdateKeyRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,5,opt,name=reject_reason,json=rejectReason,proto3,oneof"`
}

type MsgUpdateKeyResponse

type MsgUpdateKeyResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateKeyResponse) Descriptor deprecated

func (*MsgUpdateKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKeyResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateKeyResponse) ProtoMessage

func (*MsgUpdateKeyResponse) ProtoMessage()

func (*MsgUpdateKeyResponse) ProtoReflect

func (x *MsgUpdateKeyResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateKeyResponse) Reset

func (x *MsgUpdateKeyResponse) Reset()

func (*MsgUpdateKeyResponse) String

func (x *MsgUpdateKeyResponse) String() string

type MsgUpdateKeychain

type MsgUpdateKeychain struct {
	Creator      string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeychainId   uint64        `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Description  string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	IsActive     bool          `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	KeychainFees *KeychainFees `protobuf:"bytes,5,opt,name=keychain_fees,json=keychainFees,proto3" json:"keychain_fees,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateKeychain) Descriptor deprecated

func (*MsgUpdateKeychain) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKeychain.ProtoReflect.Descriptor instead.

func (*MsgUpdateKeychain) GetCreator

func (x *MsgUpdateKeychain) GetCreator() string

func (*MsgUpdateKeychain) GetDescription

func (x *MsgUpdateKeychain) GetDescription() string

func (*MsgUpdateKeychain) GetIsActive

func (x *MsgUpdateKeychain) GetIsActive() bool

func (*MsgUpdateKeychain) GetKeychainFees

func (x *MsgUpdateKeychain) GetKeychainFees() *KeychainFees

func (*MsgUpdateKeychain) GetKeychainId

func (x *MsgUpdateKeychain) GetKeychainId() uint64

func (*MsgUpdateKeychain) ProtoMessage

func (*MsgUpdateKeychain) ProtoMessage()

func (*MsgUpdateKeychain) ProtoReflect

func (x *MsgUpdateKeychain) ProtoReflect() protoreflect.Message

func (*MsgUpdateKeychain) Reset

func (x *MsgUpdateKeychain) Reset()

func (*MsgUpdateKeychain) String

func (x *MsgUpdateKeychain) String() string

type MsgUpdateKeychainResponse

type MsgUpdateKeychainResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateKeychainResponse) Descriptor deprecated

func (*MsgUpdateKeychainResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateKeychainResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateKeychainResponse) ProtoMessage

func (*MsgUpdateKeychainResponse) ProtoMessage()

func (*MsgUpdateKeychainResponse) ProtoReflect

func (*MsgUpdateKeychainResponse) Reset

func (x *MsgUpdateKeychainResponse) Reset()

func (*MsgUpdateKeychainResponse) String

func (x *MsgUpdateKeychainResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the module parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateSpace

type MsgUpdateSpace struct {
	Authority     string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	SpaceId       uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	AdminIntentId uint64 `protobuf:"varint,3,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	SignIntentId  uint64 `protobuf:"varint,4,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateSpace) Descriptor deprecated

func (*MsgUpdateSpace) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateSpace.ProtoReflect.Descriptor instead.

func (*MsgUpdateSpace) GetAdminIntentId

func (x *MsgUpdateSpace) GetAdminIntentId() uint64

func (*MsgUpdateSpace) GetAuthority

func (x *MsgUpdateSpace) GetAuthority() string

func (*MsgUpdateSpace) GetSignIntentId

func (x *MsgUpdateSpace) GetSignIntentId() uint64

func (*MsgUpdateSpace) GetSpaceId

func (x *MsgUpdateSpace) GetSpaceId() uint64

func (*MsgUpdateSpace) ProtoMessage

func (*MsgUpdateSpace) ProtoMessage()

func (*MsgUpdateSpace) ProtoReflect

func (x *MsgUpdateSpace) ProtoReflect() protoreflect.Message

func (*MsgUpdateSpace) Reset

func (x *MsgUpdateSpace) Reset()

func (*MsgUpdateSpace) String

func (x *MsgUpdateSpace) String() string

type MsgUpdateSpaceResponse

type MsgUpdateSpaceResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateSpaceResponse) Descriptor deprecated

func (*MsgUpdateSpaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateSpaceResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateSpaceResponse) ProtoMessage

func (*MsgUpdateSpaceResponse) ProtoMessage()

func (*MsgUpdateSpaceResponse) ProtoReflect

func (x *MsgUpdateSpaceResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateSpaceResponse) Reset

func (x *MsgUpdateSpaceResponse) Reset()

func (*MsgUpdateSpaceResponse) String

func (x *MsgUpdateSpaceResponse) String() string

type Params

type Params struct {
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllKeysRequest

type QueryAllKeysRequest struct {
	Pagination      *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	DeriveAddresses []AddressType        `` // Optional
	/* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryAllKeysRequest) Descriptor deprecated

func (*QueryAllKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllKeysRequest.ProtoReflect.Descriptor instead.

func (*QueryAllKeysRequest) GetDeriveAddresses added in v0.3.0

func (x *QueryAllKeysRequest) GetDeriveAddresses() []AddressType

func (*QueryAllKeysRequest) GetPagination

func (x *QueryAllKeysRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllKeysRequest) ProtoMessage

func (*QueryAllKeysRequest) ProtoMessage()

func (*QueryAllKeysRequest) ProtoReflect

func (x *QueryAllKeysRequest) ProtoReflect() protoreflect.Message

func (*QueryAllKeysRequest) Reset

func (x *QueryAllKeysRequest) Reset()

func (*QueryAllKeysRequest) String

func (x *QueryAllKeysRequest) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Spaces items.
	Spaces(ctx context.Context, in *QuerySpacesRequest, opts ...grpc.CallOption) (*QuerySpacesResponse, error)
	// Queries a list of Spaces that has the specified owner.
	SpacesByOwner(ctx context.Context, in *QuerySpacesByOwnerRequest, opts ...grpc.CallOption) (*QuerySpacesResponse, error)
	// Queries a list of Keychains items.
	Keychains(ctx context.Context, in *QueryKeychainsRequest, opts ...grpc.CallOption) (*QueryKeychainsResponse, error)
	// Queries a space by its id.
	SpaceById(ctx context.Context, in *QuerySpaceByIdRequest, opts ...grpc.CallOption) (*QuerySpaceByIdResponse, error)
	// Queries a keychain by its id.
	KeychainById(ctx context.Context, in *QueryKeychainByIdRequest, opts ...grpc.CallOption) (*QueryKeychainByIdResponse, error)
	// Queries a list of KeyRequests items.
	KeyRequests(ctx context.Context, in *QueryKeyRequestsRequest, opts ...grpc.CallOption) (*QueryKeyRequestsResponse, error)
	// Queries a single KeyRequest by its id.
	KeyRequestById(ctx context.Context, in *QueryKeyRequestByIdRequest, opts ...grpc.CallOption) (*QueryKeyRequestByIdResponse, error)
	// Queries a list of Keys items.
	AllKeys(ctx context.Context, in *QueryAllKeysRequest, opts ...grpc.CallOption) (*QueryKeysResponse, error)
	// Queries a list of Keys items by their Space ID.
	KeysBySpaceId(ctx context.Context, in *QueryKeysBySpaceIdRequest, opts ...grpc.CallOption) (*QueryKeysResponse, error)
	// Queries a Key by its ID.
	KeyById(ctx context.Context, in *QueryKeyByIdRequest, opts ...grpc.CallOption) (*QueryKeyResponse, error)
	// Queries a list of SignatureRequests items.
	SignatureRequests(ctx context.Context, in *QuerySignatureRequestsRequest, opts ...grpc.CallOption) (*QuerySignatureRequestsResponse, error)
	// Queries a single SignatureRequest by its id.
	SignatureRequestById(ctx context.Context, in *QuerySignatureRequestByIdRequest, opts ...grpc.CallOption) (*QuerySignatureRequestByIdResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryKeyByIdRequest

type QueryKeyByIdRequest struct {
	Id              uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DeriveAddresses []AddressType `` // Optional
	/* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryKeyByIdRequest) Descriptor deprecated

func (*QueryKeyByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyByIdRequest.ProtoReflect.Descriptor instead.

func (*QueryKeyByIdRequest) GetDeriveAddresses added in v0.3.0

func (x *QueryKeyByIdRequest) GetDeriveAddresses() []AddressType

func (*QueryKeyByIdRequest) GetId

func (x *QueryKeyByIdRequest) GetId() uint64

func (*QueryKeyByIdRequest) ProtoMessage

func (*QueryKeyByIdRequest) ProtoMessage()

func (*QueryKeyByIdRequest) ProtoReflect

func (x *QueryKeyByIdRequest) ProtoReflect() protoreflect.Message

func (*QueryKeyByIdRequest) Reset

func (x *QueryKeyByIdRequest) Reset()

func (*QueryKeyByIdRequest) String

func (x *QueryKeyByIdRequest) String() string

type QueryKeyRequestByIdRequest

type QueryKeyRequestByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyRequestByIdRequest) Descriptor deprecated

func (*QueryKeyRequestByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyRequestByIdRequest.ProtoReflect.Descriptor instead.

func (*QueryKeyRequestByIdRequest) GetId

func (*QueryKeyRequestByIdRequest) ProtoMessage

func (*QueryKeyRequestByIdRequest) ProtoMessage()

func (*QueryKeyRequestByIdRequest) ProtoReflect

func (*QueryKeyRequestByIdRequest) Reset

func (x *QueryKeyRequestByIdRequest) Reset()

func (*QueryKeyRequestByIdRequest) String

func (x *QueryKeyRequestByIdRequest) String() string

type QueryKeyRequestByIdResponse

type QueryKeyRequestByIdResponse struct {
	KeyRequest *KeyRequest `protobuf:"bytes,1,opt,name=key_request,json=keyRequest,proto3" json:"key_request,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyRequestByIdResponse) Descriptor deprecated

func (*QueryKeyRequestByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyRequestByIdResponse.ProtoReflect.Descriptor instead.

func (*QueryKeyRequestByIdResponse) GetKeyRequest

func (x *QueryKeyRequestByIdResponse) GetKeyRequest() *KeyRequest

func (*QueryKeyRequestByIdResponse) ProtoMessage

func (*QueryKeyRequestByIdResponse) ProtoMessage()

func (*QueryKeyRequestByIdResponse) ProtoReflect

func (*QueryKeyRequestByIdResponse) Reset

func (x *QueryKeyRequestByIdResponse) Reset()

func (*QueryKeyRequestByIdResponse) String

func (x *QueryKeyRequestByIdResponse) String() string

type QueryKeyRequestsRequest

type QueryKeyRequestsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeychainId uint64               `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Status     KeyRequestStatus     `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"` // Optional
	SpaceId    uint64               `protobuf:"varint,4,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyRequestsRequest) Descriptor deprecated

func (*QueryKeyRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryKeyRequestsRequest) GetKeychainId

func (x *QueryKeyRequestsRequest) GetKeychainId() uint64

func (*QueryKeyRequestsRequest) GetPagination

func (x *QueryKeyRequestsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryKeyRequestsRequest) GetSpaceId

func (x *QueryKeyRequestsRequest) GetSpaceId() uint64

func (*QueryKeyRequestsRequest) GetStatus

func (*QueryKeyRequestsRequest) ProtoMessage

func (*QueryKeyRequestsRequest) ProtoMessage()

func (*QueryKeyRequestsRequest) ProtoReflect

func (x *QueryKeyRequestsRequest) ProtoReflect() protoreflect.Message

func (*QueryKeyRequestsRequest) Reset

func (x *QueryKeyRequestsRequest) Reset()

func (*QueryKeyRequestsRequest) String

func (x *QueryKeyRequestsRequest) String() string

type QueryKeyRequestsResponse

type QueryKeyRequestsResponse struct {
	Pagination  *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeyRequests []*KeyRequest         `protobuf:"bytes,2,rep,name=key_requests,json=keyRequests,proto3" json:"key_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyRequestsResponse) Descriptor deprecated

func (*QueryKeyRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryKeyRequestsResponse) GetKeyRequests

func (x *QueryKeyRequestsResponse) GetKeyRequests() []*KeyRequest

func (*QueryKeyRequestsResponse) GetPagination

func (x *QueryKeyRequestsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryKeyRequestsResponse) ProtoMessage

func (*QueryKeyRequestsResponse) ProtoMessage()

func (*QueryKeyRequestsResponse) ProtoReflect

func (x *QueryKeyRequestsResponse) ProtoReflect() protoreflect.Message

func (*QueryKeyRequestsResponse) Reset

func (x *QueryKeyRequestsResponse) Reset()

func (*QueryKeyRequestsResponse) String

func (x *QueryKeyRequestsResponse) String() string

type QueryKeyResponse

type QueryKeyResponse struct {
	Key       *Key               `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Addresses []*AddressResponse `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyResponse) Descriptor deprecated

func (*QueryKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeyResponse.ProtoReflect.Descriptor instead.

func (*QueryKeyResponse) GetAddresses added in v0.3.0

func (x *QueryKeyResponse) GetAddresses() []*AddressResponse

func (*QueryKeyResponse) GetKey

func (x *QueryKeyResponse) GetKey() *Key

func (*QueryKeyResponse) ProtoMessage

func (*QueryKeyResponse) ProtoMessage()

func (*QueryKeyResponse) ProtoReflect

func (x *QueryKeyResponse) ProtoReflect() protoreflect.Message

func (*QueryKeyResponse) Reset

func (x *QueryKeyResponse) Reset()

func (*QueryKeyResponse) String

func (x *QueryKeyResponse) String() string

type QueryKeychainByIdRequest

type QueryKeychainByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeychainByIdRequest) Descriptor deprecated

func (*QueryKeychainByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeychainByIdRequest.ProtoReflect.Descriptor instead.

func (*QueryKeychainByIdRequest) GetId

func (x *QueryKeychainByIdRequest) GetId() uint64

func (*QueryKeychainByIdRequest) ProtoMessage

func (*QueryKeychainByIdRequest) ProtoMessage()

func (*QueryKeychainByIdRequest) ProtoReflect

func (x *QueryKeychainByIdRequest) ProtoReflect() protoreflect.Message

func (*QueryKeychainByIdRequest) Reset

func (x *QueryKeychainByIdRequest) Reset()

func (*QueryKeychainByIdRequest) String

func (x *QueryKeychainByIdRequest) String() string

type QueryKeychainByIdResponse

type QueryKeychainByIdResponse struct {
	Keychain *Keychain `protobuf:"bytes,1,opt,name=keychain,proto3" json:"keychain,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeychainByIdResponse) Descriptor deprecated

func (*QueryKeychainByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeychainByIdResponse.ProtoReflect.Descriptor instead.

func (*QueryKeychainByIdResponse) GetKeychain

func (x *QueryKeychainByIdResponse) GetKeychain() *Keychain

func (*QueryKeychainByIdResponse) ProtoMessage

func (*QueryKeychainByIdResponse) ProtoMessage()

func (*QueryKeychainByIdResponse) ProtoReflect

func (*QueryKeychainByIdResponse) Reset

func (x *QueryKeychainByIdResponse) Reset()

func (*QueryKeychainByIdResponse) String

func (x *QueryKeychainByIdResponse) String() string

type QueryKeychainsRequest

type QueryKeychainsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeychainsRequest) Descriptor deprecated

func (*QueryKeychainsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeychainsRequest.ProtoReflect.Descriptor instead.

func (*QueryKeychainsRequest) GetPagination

func (x *QueryKeychainsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryKeychainsRequest) ProtoMessage

func (*QueryKeychainsRequest) ProtoMessage()

func (*QueryKeychainsRequest) ProtoReflect

func (x *QueryKeychainsRequest) ProtoReflect() protoreflect.Message

func (*QueryKeychainsRequest) Reset

func (x *QueryKeychainsRequest) Reset()

func (*QueryKeychainsRequest) String

func (x *QueryKeychainsRequest) String() string

type QueryKeychainsResponse

type QueryKeychainsResponse struct {
	Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Keychains  []*Keychain           `protobuf:"bytes,2,rep,name=keychains,proto3" json:"keychains,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeychainsResponse) Descriptor deprecated

func (*QueryKeychainsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeychainsResponse.ProtoReflect.Descriptor instead.

func (*QueryKeychainsResponse) GetKeychains

func (x *QueryKeychainsResponse) GetKeychains() []*Keychain

func (*QueryKeychainsResponse) GetPagination

func (x *QueryKeychainsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryKeychainsResponse) ProtoMessage

func (*QueryKeychainsResponse) ProtoMessage()

func (*QueryKeychainsResponse) ProtoReflect

func (x *QueryKeychainsResponse) ProtoReflect() protoreflect.Message

func (*QueryKeychainsResponse) Reset

func (x *QueryKeychainsResponse) Reset()

func (*QueryKeychainsResponse) String

func (x *QueryKeychainsResponse) String() string

type QueryKeysBySpaceIdRequest

type QueryKeysBySpaceIdRequest struct {
	Pagination      *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	SpaceId         uint64               `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	DeriveAddresses []AddressType        `` // Optional
	/* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryKeysBySpaceIdRequest) Descriptor deprecated

func (*QueryKeysBySpaceIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeysBySpaceIdRequest.ProtoReflect.Descriptor instead.

func (*QueryKeysBySpaceIdRequest) GetDeriveAddresses added in v0.3.0

func (x *QueryKeysBySpaceIdRequest) GetDeriveAddresses() []AddressType

func (*QueryKeysBySpaceIdRequest) GetPagination

func (x *QueryKeysBySpaceIdRequest) GetPagination() *v1beta1.PageRequest

func (*QueryKeysBySpaceIdRequest) GetSpaceId

func (x *QueryKeysBySpaceIdRequest) GetSpaceId() uint64

func (*QueryKeysBySpaceIdRequest) ProtoMessage

func (*QueryKeysBySpaceIdRequest) ProtoMessage()

func (*QueryKeysBySpaceIdRequest) ProtoReflect

func (*QueryKeysBySpaceIdRequest) Reset

func (x *QueryKeysBySpaceIdRequest) Reset()

func (*QueryKeysBySpaceIdRequest) String

func (x *QueryKeysBySpaceIdRequest) String() string

type QueryKeysResponse

type QueryKeysResponse struct {
	Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Keys       []*QueryKeyResponse   `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeysResponse) Descriptor deprecated

func (*QueryKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryKeysResponse.ProtoReflect.Descriptor instead.

func (*QueryKeysResponse) GetKeys

func (x *QueryKeysResponse) GetKeys() []*QueryKeyResponse

func (*QueryKeysResponse) GetPagination

func (x *QueryKeysResponse) GetPagination() *v1beta1.PageResponse

func (*QueryKeysResponse) ProtoMessage

func (*QueryKeysResponse) ProtoMessage()

func (*QueryKeysResponse) ProtoReflect

func (x *QueryKeysResponse) ProtoReflect() protoreflect.Message

func (*QueryKeysResponse) Reset

func (x *QueryKeysResponse) Reset()

func (*QueryKeysResponse) String

func (x *QueryKeysResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Spaces items.
	Spaces(context.Context, *QuerySpacesRequest) (*QuerySpacesResponse, error)
	// Queries a list of Spaces that has the specified owner.
	SpacesByOwner(context.Context, *QuerySpacesByOwnerRequest) (*QuerySpacesResponse, error)
	// Queries a list of Keychains items.
	Keychains(context.Context, *QueryKeychainsRequest) (*QueryKeychainsResponse, error)
	// Queries a space by its id.
	SpaceById(context.Context, *QuerySpaceByIdRequest) (*QuerySpaceByIdResponse, error)
	// Queries a keychain by its id.
	KeychainById(context.Context, *QueryKeychainByIdRequest) (*QueryKeychainByIdResponse, error)
	// Queries a list of KeyRequests items.
	KeyRequests(context.Context, *QueryKeyRequestsRequest) (*QueryKeyRequestsResponse, error)
	// Queries a single KeyRequest by its id.
	KeyRequestById(context.Context, *QueryKeyRequestByIdRequest) (*QueryKeyRequestByIdResponse, error)
	// Queries a list of Keys items.
	AllKeys(context.Context, *QueryAllKeysRequest) (*QueryKeysResponse, error)
	// Queries a list of Keys items by their Space ID.
	KeysBySpaceId(context.Context, *QueryKeysBySpaceIdRequest) (*QueryKeysResponse, error)
	// Queries a Key by its ID.
	KeyById(context.Context, *QueryKeyByIdRequest) (*QueryKeyResponse, error)
	// Queries a list of SignatureRequests items.
	SignatureRequests(context.Context, *QuerySignatureRequestsRequest) (*QuerySignatureRequestsResponse, error)
	// Queries a single SignatureRequest by its id.
	SignatureRequestById(context.Context, *QuerySignatureRequestByIdRequest) (*QuerySignatureRequestByIdResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QuerySignatureRequestByIdRequest

type QuerySignatureRequestByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySignatureRequestByIdRequest) Descriptor deprecated

func (*QuerySignatureRequestByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySignatureRequestByIdRequest.ProtoReflect.Descriptor instead.

func (*QuerySignatureRequestByIdRequest) GetId

func (*QuerySignatureRequestByIdRequest) ProtoMessage

func (*QuerySignatureRequestByIdRequest) ProtoMessage()

func (*QuerySignatureRequestByIdRequest) ProtoReflect

func (*QuerySignatureRequestByIdRequest) Reset

func (*QuerySignatureRequestByIdRequest) String

type QuerySignatureRequestByIdResponse

type QuerySignatureRequestByIdResponse struct {
	SignRequest *SignRequest `protobuf:"bytes,1,opt,name=sign_request,json=signRequest,proto3" json:"sign_request,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySignatureRequestByIdResponse) Descriptor deprecated

func (*QuerySignatureRequestByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySignatureRequestByIdResponse.ProtoReflect.Descriptor instead.

func (*QuerySignatureRequestByIdResponse) GetSignRequest

func (x *QuerySignatureRequestByIdResponse) GetSignRequest() *SignRequest

func (*QuerySignatureRequestByIdResponse) ProtoMessage

func (*QuerySignatureRequestByIdResponse) ProtoMessage()

func (*QuerySignatureRequestByIdResponse) ProtoReflect

func (*QuerySignatureRequestByIdResponse) Reset

func (*QuerySignatureRequestByIdResponse) String

type QuerySignatureRequestsRequest

type QuerySignatureRequestsRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeychainId uint64               `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Status     SignRequestStatus    `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"` // Optional
	// contains filtered or unexported fields
}

func (*QuerySignatureRequestsRequest) Descriptor deprecated

func (*QuerySignatureRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySignatureRequestsRequest.ProtoReflect.Descriptor instead.

func (*QuerySignatureRequestsRequest) GetKeychainId

func (x *QuerySignatureRequestsRequest) GetKeychainId() uint64

func (*QuerySignatureRequestsRequest) GetPagination

func (*QuerySignatureRequestsRequest) GetStatus

func (*QuerySignatureRequestsRequest) ProtoMessage

func (*QuerySignatureRequestsRequest) ProtoMessage()

func (*QuerySignatureRequestsRequest) ProtoReflect

func (*QuerySignatureRequestsRequest) Reset

func (x *QuerySignatureRequestsRequest) Reset()

func (*QuerySignatureRequestsRequest) String

type QuerySignatureRequestsResponse

type QuerySignatureRequestsResponse struct {
	Pagination   *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	SignRequests []*SignRequest        `protobuf:"bytes,2,rep,name=sign_requests,json=signRequests,proto3" json:"sign_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySignatureRequestsResponse) Descriptor deprecated

func (*QuerySignatureRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySignatureRequestsResponse.ProtoReflect.Descriptor instead.

func (*QuerySignatureRequestsResponse) GetPagination

func (*QuerySignatureRequestsResponse) GetSignRequests

func (x *QuerySignatureRequestsResponse) GetSignRequests() []*SignRequest

func (*QuerySignatureRequestsResponse) ProtoMessage

func (*QuerySignatureRequestsResponse) ProtoMessage()

func (*QuerySignatureRequestsResponse) ProtoReflect

func (*QuerySignatureRequestsResponse) Reset

func (x *QuerySignatureRequestsResponse) Reset()

func (*QuerySignatureRequestsResponse) String

type QuerySpaceByIdRequest

type QuerySpaceByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpaceByIdRequest) Descriptor deprecated

func (*QuerySpaceByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpaceByIdRequest.ProtoReflect.Descriptor instead.

func (*QuerySpaceByIdRequest) GetId

func (x *QuerySpaceByIdRequest) GetId() uint64

func (*QuerySpaceByIdRequest) ProtoMessage

func (*QuerySpaceByIdRequest) ProtoMessage()

func (*QuerySpaceByIdRequest) ProtoReflect

func (x *QuerySpaceByIdRequest) ProtoReflect() protoreflect.Message

func (*QuerySpaceByIdRequest) Reset

func (x *QuerySpaceByIdRequest) Reset()

func (*QuerySpaceByIdRequest) String

func (x *QuerySpaceByIdRequest) String() string

type QuerySpaceByIdResponse

type QuerySpaceByIdResponse struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpaceByIdResponse) Descriptor deprecated

func (*QuerySpaceByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpaceByIdResponse.ProtoReflect.Descriptor instead.

func (*QuerySpaceByIdResponse) GetSpace

func (x *QuerySpaceByIdResponse) GetSpace() *Space

func (*QuerySpaceByIdResponse) ProtoMessage

func (*QuerySpaceByIdResponse) ProtoMessage()

func (*QuerySpaceByIdResponse) ProtoReflect

func (x *QuerySpaceByIdResponse) ProtoReflect() protoreflect.Message

func (*QuerySpaceByIdResponse) Reset

func (x *QuerySpaceByIdResponse) Reset()

func (*QuerySpaceByIdResponse) String

func (x *QuerySpaceByIdResponse) String() string

type QuerySpacesByOwnerRequest

type QuerySpacesByOwnerRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Owner      string               `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpacesByOwnerRequest) Descriptor deprecated

func (*QuerySpacesByOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpacesByOwnerRequest.ProtoReflect.Descriptor instead.

func (*QuerySpacesByOwnerRequest) GetOwner

func (x *QuerySpacesByOwnerRequest) GetOwner() string

func (*QuerySpacesByOwnerRequest) GetPagination

func (x *QuerySpacesByOwnerRequest) GetPagination() *v1beta1.PageRequest

func (*QuerySpacesByOwnerRequest) ProtoMessage

func (*QuerySpacesByOwnerRequest) ProtoMessage()

func (*QuerySpacesByOwnerRequest) ProtoReflect

func (*QuerySpacesByOwnerRequest) Reset

func (x *QuerySpacesByOwnerRequest) Reset()

func (*QuerySpacesByOwnerRequest) String

func (x *QuerySpacesByOwnerRequest) String() string

type QuerySpacesRequest

type QuerySpacesRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpacesRequest) Descriptor deprecated

func (*QuerySpacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpacesRequest.ProtoReflect.Descriptor instead.

func (*QuerySpacesRequest) GetPagination

func (x *QuerySpacesRequest) GetPagination() *v1beta1.PageRequest

func (*QuerySpacesRequest) ProtoMessage

func (*QuerySpacesRequest) ProtoMessage()

func (*QuerySpacesRequest) ProtoReflect

func (x *QuerySpacesRequest) ProtoReflect() protoreflect.Message

func (*QuerySpacesRequest) Reset

func (x *QuerySpacesRequest) Reset()

func (*QuerySpacesRequest) String

func (x *QuerySpacesRequest) String() string

type QuerySpacesResponse

type QuerySpacesResponse struct {
	Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Spaces     []*Space              `protobuf:"bytes,2,rep,name=spaces,proto3" json:"spaces,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpacesResponse) Descriptor deprecated

func (*QuerySpacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpacesResponse.ProtoReflect.Descriptor instead.

func (*QuerySpacesResponse) GetPagination

func (x *QuerySpacesResponse) GetPagination() *v1beta1.PageResponse

func (*QuerySpacesResponse) GetSpaces

func (x *QuerySpacesResponse) GetSpaces() []*Space

func (*QuerySpacesResponse) ProtoMessage

func (*QuerySpacesResponse) ProtoMessage()

func (*QuerySpacesResponse) ProtoReflect

func (x *QuerySpacesResponse) ProtoReflect() protoreflect.Message

func (*QuerySpacesResponse) Reset

func (x *QuerySpacesResponse) Reset()

func (*QuerySpacesResponse) String

func (x *QuerySpacesResponse) String() string

type SignMethod added in v0.3.0

type SignMethod int32

SignMethod specifies what method of the protocol should be used for parsing the data to be signed.

const (
	// Sign method black box means that the input will be used as-is.
	SignMethod_SIGN_METHOD_BLACK_BOX SignMethod = 0
	// Sign method ETH means that the input will be parsed as an Ethereum
	// transaction.
	SignMethod_SIGN_METHOD_ETH SignMethod = 1
	// Sign method Osmosis means that the input will be parsed as an Osmosis
	// transaction.
	SignMethod_SIGN_METHOD_OSMOSIS SignMethod = 2
)

func (SignMethod) Descriptor added in v0.3.0

func (SignMethod) Descriptor() protoreflect.EnumDescriptor

func (SignMethod) Enum added in v0.3.0

func (x SignMethod) Enum() *SignMethod

func (SignMethod) EnumDescriptor deprecated added in v0.3.0

func (SignMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignMethod.Descriptor instead.

func (SignMethod) Number added in v0.3.0

func (x SignMethod) Number() protoreflect.EnumNumber

func (SignMethod) String added in v0.3.0

func (x SignMethod) String() string

func (SignMethod) Type added in v0.3.0

type SignRequest

type SignRequest struct {
	Id             uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator        string            `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	KeyId          uint64            `protobuf:"varint,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	DataForSigning []byte            `protobuf:"bytes,4,opt,name=data_for_signing,json=dataForSigning,proto3" json:"data_for_signing,omitempty"`
	Status         SignRequestStatus `protobuf:"varint,5,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is pending no result is
	// available yet. If status is approved, the response will contain the signed
	// payload id. If status is rejected, the result will contain the reason for
	// the rejection.
	//
	// Types that are assignable to Result:
	//
	//	*SignRequest_SignedData
	//	*SignRequest_RejectReason
	Result isSignRequest_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*SignRequest) Descriptor deprecated

func (*SignRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.

func (*SignRequest) GetCreator

func (x *SignRequest) GetCreator() string

func (*SignRequest) GetDataForSigning

func (x *SignRequest) GetDataForSigning() []byte

func (*SignRequest) GetId

func (x *SignRequest) GetId() uint64

func (*SignRequest) GetKeyId

func (x *SignRequest) GetKeyId() uint64

func (*SignRequest) GetRejectReason

func (x *SignRequest) GetRejectReason() string

func (*SignRequest) GetResult

func (x *SignRequest) GetResult() isSignRequest_Result

func (*SignRequest) GetSignedData

func (x *SignRequest) GetSignedData() []byte

func (*SignRequest) GetStatus

func (x *SignRequest) GetStatus() SignRequestStatus

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) ProtoReflect

func (x *SignRequest) ProtoReflect() protoreflect.Message

func (*SignRequest) Reset

func (x *SignRequest) Reset()

func (*SignRequest) String

func (x *SignRequest) String() string

type SignRequestStatus

type SignRequestStatus int32

SignRequestStatus indicates the status of a signature request. A request starts as "pending", waiting to be picked up. Then it can move to either "approved" or "rejected", depending on the decision of the keychain.

const (
	// The request is missing the status field.
	SignRequestStatus_SIGN_REQUEST_STATUS_UNSPECIFIED SignRequestStatus = 0
	// The request is waiting to be fulfilled. This is the initial state of a
	// request.
	SignRequestStatus_SIGN_REQUEST_STATUS_PENDING SignRequestStatus = 1
	// The request was fulfilled. This is a final state for a request.
	SignRequestStatus_SIGN_REQUEST_STATUS_FULFILLED SignRequestStatus = 2
	// The request was rejected. This is a final state for a request.
	SignRequestStatus_SIGN_REQUEST_STATUS_REJECTED SignRequestStatus = 3
)

func (SignRequestStatus) Descriptor

func (SignRequestStatus) Enum

func (SignRequestStatus) EnumDescriptor deprecated

func (SignRequestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignRequestStatus.Descriptor instead.

func (SignRequestStatus) Number

func (SignRequestStatus) String

func (x SignRequestStatus) String() string

func (SignRequestStatus) Type

type SignRequest_RejectReason

type SignRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,7,opt,name=reject_reason,json=rejectReason,proto3,oneof"`
}

type SignRequest_SignedData

type SignRequest_SignedData struct {
	SignedData []byte `protobuf:"bytes,6,opt,name=signed_data,json=signedData,proto3,oneof"`
}

type Space

type Space struct {
	Id      uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator string   `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Owners  []string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"`
	// Optional ID of the intent to be applied to every *admin* operation.
	// If not specified, the default intent is used.
	//
	// Admin operations are:
	// - warden.warden.Msg.AddSpaceOwner
	// - warden.warden.Msg.RemoveSpaceOwner
	//
	// The default intent is to allow any operation when at least one of its
	// owner approves it.
	AdminIntentId uint64 `protobuf:"varint,5,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	// Optional ID of the intent to be applied to every *sign* operation.
	// If not specified, the default intent is used.
	//
	// Sign operations are:
	// - warden.warden.Msg.NewKeyRequest
	// - warden.warden.Msg.NewSignTransactionRequest
	// - warden.warden.Msg.NewSignatureRequest
	// - warden.warden.Msg.NewWalletRequest
	//
	// The default intent is to allow any operation when at least one of its
	// owner approves it.
	SignIntentId uint64 `protobuf:"varint,6,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
	// contains filtered or unexported fields
}

Space is a collection of users (called owners) that manages a set of keys.

func (*Space) Descriptor deprecated

func (*Space) Descriptor() ([]byte, []int)

Deprecated: Use Space.ProtoReflect.Descriptor instead.

func (*Space) GetAdminIntentId

func (x *Space) GetAdminIntentId() uint64

func (*Space) GetCreator

func (x *Space) GetCreator() string

func (*Space) GetId

func (x *Space) GetId() uint64

func (*Space) GetOwners

func (x *Space) GetOwners() []string

func (*Space) GetSignIntentId

func (x *Space) GetSignIntentId() uint64

func (*Space) ProtoMessage

func (*Space) ProtoMessage()

func (*Space) ProtoReflect

func (x *Space) ProtoReflect() protoreflect.Message

func (*Space) Reset

func (x *Space) Reset()

func (*Space) String

func (x *Space) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) AddKeychainParty

func (UnimplementedMsgServer) AddSpaceOwner

func (UnimplementedMsgServer) NewKeyRequest

func (UnimplementedMsgServer) NewKeychain

func (UnimplementedMsgServer) NewSpace

func (UnimplementedMsgServer) RemoveSpaceOwner

func (UnimplementedMsgServer) UpdateKey

func (UnimplementedMsgServer) UpdateKeyRequest

func (UnimplementedMsgServer) UpdateKeychain

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) UpdateSpace

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) AllKeys

func (UnimplementedQueryServer) KeyById

func (UnimplementedQueryServer) Keychains

func (UnimplementedQueryServer) KeysBySpaceId

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) SpaceById

func (UnimplementedQueryServer) Spaces

func (UnimplementedQueryServer) SpacesByOwner

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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