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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetApprovers() []*Approver
- func (x *Action) GetBtl() uint64
- func (x *Action) GetCreatedAt() *timestamppb.Timestamp
- func (x *Action) GetCreator() string
- func (x *Action) GetId() uint64
- func (x *Action) GetIntentId() uint64
- func (x *Action) GetMsg() *anypb.Any
- func (x *Action) GetResult() *anypb.Any
- func (x *Action) GetStatus() ActionStatus
- func (x *Action) GetUpdatedAt() *timestamppb.Timestamp
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionStatus
- func (ActionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ActionStatus) Enum() *ActionStatus
- func (ActionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionStatus) Number() protoreflect.EnumNumber
- func (x ActionStatus) String() string
- func (ActionStatus) Type() protoreflect.EnumType
- type Approver
- func (*Approver) Descriptor() ([]byte, []int)deprecated
- func (x *Approver) GetAddress() string
- func (x *Approver) GetApprovedAt() *timestamppb.Timestamp
- func (*Approver) ProtoMessage()
- func (x *Approver) ProtoReflect() protoreflect.Message
- func (x *Approver) Reset()
- func (x *Approver) String() string
- type BoolparserIntent
- func (*BoolparserIntent) Descriptor() ([]byte, []int)deprecated
- func (x *BoolparserIntent) GetDefinition() string
- func (x *BoolparserIntent) GetParticipants() []*IntentParticipant
- func (*BoolparserIntent) ProtoMessage()
- func (x *BoolparserIntent) ProtoReflect() protoreflect.Message
- func (x *BoolparserIntent) Reset()
- func (x *BoolparserIntent) String() string
- type GenesisState
- type Intent
- func (*Intent) Descriptor() ([]byte, []int)deprecated
- func (x *Intent) GetId() uint64
- func (x *Intent) GetIntent() *anypb.Any
- func (x *Intent) GetName() string
- func (*Intent) ProtoMessage()
- func (x *Intent) ProtoReflect() protoreflect.Message
- func (x *Intent) Reset()
- func (x *Intent) String() string
- type IntentParticipant
- func (*IntentParticipant) Descriptor() ([]byte, []int)deprecated
- func (x *IntentParticipant) GetAbbreviation() string
- func (x *IntentParticipant) GetAddress() string
- func (*IntentParticipant) ProtoMessage()
- func (x *IntentParticipant) ProtoReflect() protoreflect.Message
- func (x *IntentParticipant) Reset()
- func (x *IntentParticipant) String() string
- type IntentResponse
- func (*IntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IntentResponse) GetIntent() *Intent
- func (x *IntentResponse) GetMetadata() *anypb.Any
- func (*IntentResponse) ProtoMessage()
- func (x *IntentResponse) ProtoReflect() protoreflect.Message
- func (x *IntentResponse) Reset()
- func (x *IntentResponse) String() string
- type MsgActionCreated
- type MsgApproveAction
- func (*MsgApproveAction) Descriptor() ([]byte, []int)deprecated
- func (x *MsgApproveAction) GetActionId() uint64
- func (x *MsgApproveAction) GetActionType() string
- func (x *MsgApproveAction) GetCreator() string
- func (x *MsgApproveAction) GetIntentPayload() *anypb.Any
- func (*MsgApproveAction) ProtoMessage()
- func (x *MsgApproveAction) ProtoReflect() protoreflect.Message
- func (x *MsgApproveAction) Reset()
- func (x *MsgApproveAction) String() string
- type MsgApproveActionResponse
- func (*MsgApproveActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgApproveActionResponse) GetStatus() string
- func (*MsgApproveActionResponse) ProtoMessage()
- func (x *MsgApproveActionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgApproveActionResponse) Reset()
- func (x *MsgApproveActionResponse) String() string
- type MsgClient
- type MsgNewIntent
- func (*MsgNewIntent) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewIntent) GetCreator() string
- func (x *MsgNewIntent) GetIntent() *anypb.Any
- func (x *MsgNewIntent) GetName() string
- func (*MsgNewIntent) ProtoMessage()
- func (x *MsgNewIntent) ProtoReflect() protoreflect.Message
- func (x *MsgNewIntent) Reset()
- func (x *MsgNewIntent) String() string
- type MsgNewIntentResponse
- func (*MsgNewIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewIntentResponse) GetId() uint64
- func (*MsgNewIntentResponse) ProtoMessage()
- func (x *MsgNewIntentResponse) ProtoReflect() protoreflect.Message
- func (x *MsgNewIntentResponse) Reset()
- func (x *MsgNewIntentResponse) String() string
- type MsgRevokeAction
- func (*MsgRevokeAction) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRevokeAction) GetActionId() uint64
- func (x *MsgRevokeAction) GetActionType() string
- func (x *MsgRevokeAction) GetCreator() string
- func (*MsgRevokeAction) ProtoMessage()
- func (x *MsgRevokeAction) ProtoReflect() protoreflect.Message
- func (x *MsgRevokeAction) Reset()
- func (x *MsgRevokeAction) String() string
- type MsgRevokeActionResponse
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type QueryActionByIdRequest
- func (*QueryActionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionByIdRequest) GetId() uint64
- func (*QueryActionByIdRequest) ProtoMessage()
- func (x *QueryActionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *QueryActionByIdRequest) Reset()
- func (x *QueryActionByIdRequest) String() string
- type QueryActionByIdResponse
- func (*QueryActionByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionByIdResponse) GetAction() *Action
- func (*QueryActionByIdResponse) ProtoMessage()
- func (x *QueryActionByIdResponse) ProtoReflect() protoreflect.Message
- func (x *QueryActionByIdResponse) Reset()
- func (x *QueryActionByIdResponse) String() string
- type QueryActionsByAddressRequest
- func (*QueryActionsByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionsByAddressRequest) GetAddress() string
- func (x *QueryActionsByAddressRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryActionsByAddressRequest) GetStatus() ActionStatus
- func (*QueryActionsByAddressRequest) ProtoMessage()
- func (x *QueryActionsByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryActionsByAddressRequest) Reset()
- func (x *QueryActionsByAddressRequest) String() string
- type QueryActionsByAddressResponse
- func (*QueryActionsByAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionsByAddressResponse) GetActions() []*Action
- func (x *QueryActionsByAddressResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryActionsByAddressResponse) ProtoMessage()
- func (x *QueryActionsByAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryActionsByAddressResponse) Reset()
- func (x *QueryActionsByAddressResponse) String() string
- type QueryActionsRequest
- func (*QueryActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryActionsRequest) ProtoMessage()
- func (x *QueryActionsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryActionsRequest) Reset()
- func (x *QueryActionsRequest) String() string
- type QueryActionsResponse
- func (*QueryActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryActionsResponse) GetActions() []*Action
- func (x *QueryActionsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryActionsResponse) ProtoMessage()
- func (x *QueryActionsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryActionsResponse) Reset()
- func (x *QueryActionsResponse) String() string
- type QueryClient
- type QueryIntentByIdRequest
- func (*QueryIntentByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryIntentByIdRequest) GetId() uint64
- func (*QueryIntentByIdRequest) ProtoMessage()
- func (x *QueryIntentByIdRequest) ProtoReflect() protoreflect.Message
- func (x *QueryIntentByIdRequest) Reset()
- func (x *QueryIntentByIdRequest) String() string
- type QueryIntentByIdResponse
- func (*QueryIntentByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryIntentByIdResponse) GetIntent() *IntentResponse
- func (*QueryIntentByIdResponse) ProtoMessage()
- func (x *QueryIntentByIdResponse) ProtoReflect() protoreflect.Message
- func (x *QueryIntentByIdResponse) Reset()
- func (x *QueryIntentByIdResponse) String() string
- type QueryIntentsRequest
- func (*QueryIntentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryIntentsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryIntentsRequest) ProtoMessage()
- func (x *QueryIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryIntentsRequest) Reset()
- func (x *QueryIntentsRequest) String() string
- type QueryIntentsResponse
- func (*QueryIntentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryIntentsResponse) GetIntents() []*IntentResponse
- func (x *QueryIntentsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryIntentsResponse) ProtoMessage()
- func (x *QueryIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryIntentsResponse) Reset()
- func (x *QueryIntentsResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) ApproveAction(context.Context, *MsgApproveAction) (*MsgApproveActionResponse, error)
- func (UnimplementedMsgServer) NewIntent(context.Context, *MsgNewIntent) (*MsgNewIntentResponse, error)
- func (UnimplementedMsgServer) RevokeAction(context.Context, *MsgRevokeAction) (*MsgRevokeActionResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) ActionById(context.Context, *QueryActionByIdRequest) (*QueryActionByIdResponse, error)
- func (UnimplementedQueryServer) Actions(context.Context, *QueryActionsRequest) (*QueryActionsResponse, error)
- func (UnimplementedQueryServer) ActionsByAddress(context.Context, *QueryActionsByAddressRequest) (*QueryActionsByAddressResponse, error)
- func (UnimplementedQueryServer) IntentById(context.Context, *QueryIntentByIdRequest) (*QueryIntentByIdResponse, error)
- func (UnimplementedQueryServer) Intents(context.Context, *QueryIntentsRequest) (*QueryIntentsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/warden.intent.Query/Params" Query_Actions_FullMethodName = "/warden.intent.Query/Actions" Query_Intents_FullMethodName = "/warden.intent.Query/Intents" Query_IntentById_FullMethodName = "/warden.intent.Query/IntentById" Query_ActionsByAddress_FullMethodName = "/warden.intent.Query/ActionsByAddress" Query_ActionById_FullMethodName = "/warden.intent.Query/ActionById" )
const ( Msg_UpdateParams_FullMethodName = "/warden.intent.Msg/UpdateParams" Msg_ApproveAction_FullMethodName = "/warden.intent.Msg/ApproveAction" Msg_NewIntent_FullMethodName = "/warden.intent.Msg/NewIntent" Msg_RevokeAction_FullMethodName = "/warden.intent.Msg/RevokeAction" )
Variables ¶
var ( ActionStatus_name = map[int32]string{ 0: "ACTION_STATUS_UNSPECIFIED", 1: "ACTION_STATUS_PENDING", 2: "ACTION_STATUS_COMPLETED", 3: "ACTION_STATUS_REVOKED", 4: "ACTION_STATUS_TIMEOUT", } ActionStatus_value = map[string]int32{ "ACTION_STATUS_UNSPECIFIED": 0, "ACTION_STATUS_PENDING": 1, "ACTION_STATUS_COMPLETED": 2, "ACTION_STATUS_REVOKED": 3, "ACTION_STATUS_TIMEOUT": 4, } )
Enum value maps for ActionStatus.
var File_warden_intent_action_proto protoreflect.FileDescriptor
var File_warden_intent_genesis_proto protoreflect.FileDescriptor
var File_warden_intent_intent_proto protoreflect.FileDescriptor
var File_warden_intent_params_proto protoreflect.FileDescriptor
var File_warden_intent_query_proto protoreflect.FileDescriptor
var File_warden_intent_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "warden.intent.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "ApproveAction", Handler: _Msg_ApproveAction_Handler, }, { MethodName: "NewIntent", Handler: _Msg_NewIntent_Handler, }, { MethodName: "RevokeAction", Handler: _Msg_RevokeAction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "warden/intent/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)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "warden.intent.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Actions", Handler: _Query_Actions_Handler, }, { MethodName: "Intents", Handler: _Query_Intents_Handler, }, { MethodName: "IntentById", Handler: _Query_IntentById_Handler, }, { MethodName: "ActionsByAddress", Handler: _Query_ActionsByAddress_Handler, }, { MethodName: "ActionById", Handler: _Query_ActionById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "warden/intent/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 Action ¶
type Action struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Approvers []*Approver `protobuf:"bytes,2,rep,name=approvers,proto3" json:"approvers,omitempty"` Status ActionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.intent.ActionStatus" json:"status,omitempty"` // Optional intent id that must be satisfied by the approvers. // If not specified, it's up to the creator of the action to decide what to // apply. IntentId uint64 `protobuf:"varint,4,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // Original message that started the action, it will be executed when the // intent is satisfied. Msg *anypb.Any `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` // Result of the action, it will be set when the action is completed. Result *anypb.Any `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` // BTL (blocks to live) is the block height up until this action can be // approved or rejected. Btl uint64 `protobuf:"varint,8,opt,name=btl,proto3" json:"btl,omitempty"` // created_at is a timestamp specifying when the action was created CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp specifying when the action's status was updated UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Action wraps a message that needs to be approved by a set of approvers.
func (*Action) Descriptor
deprecated
func (*Action) GetApprovers ¶
func (*Action) GetCreatedAt ¶
func (x *Action) GetCreatedAt() *timestamppb.Timestamp
func (*Action) GetCreator ¶
func (*Action) GetIntentId ¶
func (*Action) GetStatus ¶
func (x *Action) GetStatus() ActionStatus
func (*Action) GetUpdatedAt ¶
func (x *Action) GetUpdatedAt() *timestamppb.Timestamp
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionStatus ¶
type ActionStatus int32
Current status of an action.
const ( // Unspecified status. ActionStatus_ACTION_STATUS_UNSPECIFIED ActionStatus = 0 // Action is pending approval. This is the initial status. ActionStatus_ACTION_STATUS_PENDING ActionStatus = 1 // Intent has been satified, action has been executed. ActionStatus_ACTION_STATUS_COMPLETED ActionStatus = 2 // Action has been revoked by its creator. ActionStatus_ACTION_STATUS_REVOKED ActionStatus = 3 // Action has been rejected since Btl is expired ActionStatus_ACTION_STATUS_TIMEOUT ActionStatus = 4 )
func (ActionStatus) Descriptor ¶
func (ActionStatus) Descriptor() protoreflect.EnumDescriptor
func (ActionStatus) Enum ¶
func (x ActionStatus) Enum() *ActionStatus
func (ActionStatus) EnumDescriptor
deprecated
func (ActionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionStatus.Descriptor instead.
func (ActionStatus) Number ¶
func (x ActionStatus) Number() protoreflect.EnumNumber
func (ActionStatus) String ¶
func (x ActionStatus) String() string
func (ActionStatus) Type ¶
func (ActionStatus) Type() protoreflect.EnumType
type Approver ¶
type Approver struct { // address is the address of the approver Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // approved_at is a timestamp specifying when the approver approved an action ApprovedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=approved_at,json=approvedAt,proto3" json:"approved_at,omitempty"` // contains filtered or unexported fields }
func (*Approver) Descriptor
deprecated
func (*Approver) GetAddress ¶
func (*Approver) GetApprovedAt ¶
func (x *Approver) GetApprovedAt() *timestamppb.Timestamp
func (*Approver) ProtoMessage ¶
func (*Approver) ProtoMessage()
func (*Approver) ProtoReflect ¶
func (x *Approver) ProtoReflect() protoreflect.Message
type BoolparserIntent ¶
type BoolparserIntent struct { // Definition of the intent, eg. // "t1 + t2 + t3 > 1" Definition string `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"` Participants []*IntentParticipant `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"` // contains filtered or unexported fields }
func (*BoolparserIntent) Descriptor
deprecated
func (*BoolparserIntent) Descriptor() ([]byte, []int)
Deprecated: Use BoolparserIntent.ProtoReflect.Descriptor instead.
func (*BoolparserIntent) GetDefinition ¶
func (x *BoolparserIntent) GetDefinition() string
func (*BoolparserIntent) GetParticipants ¶
func (x *BoolparserIntent) GetParticipants() []*IntentParticipant
func (*BoolparserIntent) ProtoMessage ¶
func (*BoolparserIntent) ProtoMessage()
func (*BoolparserIntent) ProtoReflect ¶
func (x *BoolparserIntent) ProtoReflect() protoreflect.Message
func (*BoolparserIntent) Reset ¶
func (x *BoolparserIntent) Reset()
func (*BoolparserIntent) String ¶
func (x *BoolparserIntent) String() string
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"` // contains filtered or unexported fields }
GenesisState defines the intent module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
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 Intent ¶
type Intent struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The actual intent informations. It must be one the supported intent types: // - BoolparserIntent Intent *anypb.Any `protobuf:"bytes,3,opt,name=intent,proto3" json:"intent,omitempty"` // contains filtered or unexported fields }
func (*Intent) Descriptor
deprecated
func (*Intent) ProtoMessage ¶
func (*Intent) ProtoMessage()
func (*Intent) ProtoReflect ¶
func (x *Intent) ProtoReflect() protoreflect.Message
type IntentParticipant ¶
type IntentParticipant struct { Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*IntentParticipant) Descriptor
deprecated
func (*IntentParticipant) Descriptor() ([]byte, []int)
Deprecated: Use IntentParticipant.ProtoReflect.Descriptor instead.
func (*IntentParticipant) GetAbbreviation ¶
func (x *IntentParticipant) GetAbbreviation() string
func (*IntentParticipant) GetAddress ¶
func (x *IntentParticipant) GetAddress() string
func (*IntentParticipant) ProtoMessage ¶
func (*IntentParticipant) ProtoMessage()
func (*IntentParticipant) ProtoReflect ¶
func (x *IntentParticipant) ProtoReflect() protoreflect.Message
func (*IntentParticipant) Reset ¶
func (x *IntentParticipant) Reset()
func (*IntentParticipant) String ¶
func (x *IntentParticipant) String() string
type IntentResponse ¶
type IntentResponse struct { Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*IntentResponse) Descriptor
deprecated
func (*IntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use IntentResponse.ProtoReflect.Descriptor instead.
func (*IntentResponse) GetIntent ¶
func (x *IntentResponse) GetIntent() *Intent
func (*IntentResponse) GetMetadata ¶
func (x *IntentResponse) GetMetadata() *anypb.Any
func (*IntentResponse) ProtoMessage ¶
func (*IntentResponse) ProtoMessage()
func (*IntentResponse) ProtoReflect ¶
func (x *IntentResponse) ProtoReflect() protoreflect.Message
func (*IntentResponse) Reset ¶
func (x *IntentResponse) Reset()
func (*IntentResponse) String ¶
func (x *IntentResponse) String() string
type MsgActionCreated ¶
type MsgActionCreated struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
MsgActionCreated is returned by rpc that creates an action.
func (*MsgActionCreated) Descriptor
deprecated
func (*MsgActionCreated) Descriptor() ([]byte, []int)
Deprecated: Use MsgActionCreated.ProtoReflect.Descriptor instead.
func (*MsgActionCreated) GetAction ¶
func (x *MsgActionCreated) GetAction() *Action
func (*MsgActionCreated) ProtoMessage ¶
func (*MsgActionCreated) ProtoMessage()
func (*MsgActionCreated) ProtoReflect ¶
func (x *MsgActionCreated) ProtoReflect() protoreflect.Message
func (*MsgActionCreated) Reset ¶
func (x *MsgActionCreated) Reset()
func (*MsgActionCreated) String ¶
func (x *MsgActionCreated) String() string
type MsgApproveAction ¶
type MsgApproveAction struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ActionType string `protobuf:"bytes,2,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` ActionId uint64 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // Optional payload input for the intent. This is "any" as it depends on the // type of the intent linked to the action being approved. IntentPayload *anypb.Any `protobuf:"bytes,4,opt,name=intent_payload,json=intentPayload,proto3" json:"intent_payload,omitempty"` // contains filtered or unexported fields }
func (*MsgApproveAction) Descriptor
deprecated
func (*MsgApproveAction) Descriptor() ([]byte, []int)
Deprecated: Use MsgApproveAction.ProtoReflect.Descriptor instead.
func (*MsgApproveAction) GetActionId ¶
func (x *MsgApproveAction) GetActionId() uint64
func (*MsgApproveAction) GetActionType ¶
func (x *MsgApproveAction) GetActionType() string
func (*MsgApproveAction) GetCreator ¶
func (x *MsgApproveAction) GetCreator() string
func (*MsgApproveAction) GetIntentPayload ¶
func (x *MsgApproveAction) GetIntentPayload() *anypb.Any
func (*MsgApproveAction) ProtoMessage ¶
func (*MsgApproveAction) ProtoMessage()
func (*MsgApproveAction) ProtoReflect ¶
func (x *MsgApproveAction) ProtoReflect() protoreflect.Message
func (*MsgApproveAction) Reset ¶
func (x *MsgApproveAction) Reset()
func (*MsgApproveAction) String ¶
func (x *MsgApproveAction) String() string
type MsgApproveActionResponse ¶
type MsgApproveActionResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*MsgApproveActionResponse) Descriptor
deprecated
func (*MsgApproveActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgApproveActionResponse.ProtoReflect.Descriptor instead.
func (*MsgApproveActionResponse) GetStatus ¶
func (x *MsgApproveActionResponse) GetStatus() string
func (*MsgApproveActionResponse) ProtoMessage ¶
func (*MsgApproveActionResponse) ProtoMessage()
func (*MsgApproveActionResponse) ProtoReflect ¶
func (x *MsgApproveActionResponse) ProtoReflect() protoreflect.Message
func (*MsgApproveActionResponse) Reset ¶
func (x *MsgApproveActionResponse) Reset()
func (*MsgApproveActionResponse) String ¶
func (x *MsgApproveActionResponse) 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) // Add an approval to an existing Action. ApproveAction(ctx context.Context, in *MsgApproveAction, opts ...grpc.CallOption) (*MsgApproveActionResponse, error) // Create a new intent. NewIntent(ctx context.Context, in *MsgNewIntent, opts ...grpc.CallOption) (*MsgNewIntentResponse, error) // Revoke an existing Action while in pending state. RevokeAction(ctx context.Context, in *MsgRevokeAction, opts ...grpc.CallOption) (*MsgRevokeActionResponse, 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 MsgNewIntent ¶
type MsgNewIntent struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Intent *anypb.Any `protobuf:"bytes,3,opt,name=intent,proto3" json:"intent,omitempty"` // contains filtered or unexported fields }
func (*MsgNewIntent) Descriptor
deprecated
func (*MsgNewIntent) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewIntent.ProtoReflect.Descriptor instead.
func (*MsgNewIntent) GetCreator ¶
func (x *MsgNewIntent) GetCreator() string
func (*MsgNewIntent) GetIntent ¶
func (x *MsgNewIntent) GetIntent() *anypb.Any
func (*MsgNewIntent) GetName ¶
func (x *MsgNewIntent) GetName() string
func (*MsgNewIntent) ProtoMessage ¶
func (*MsgNewIntent) ProtoMessage()
func (*MsgNewIntent) ProtoReflect ¶
func (x *MsgNewIntent) ProtoReflect() protoreflect.Message
func (*MsgNewIntent) Reset ¶
func (x *MsgNewIntent) Reset()
func (*MsgNewIntent) String ¶
func (x *MsgNewIntent) String() string
type MsgNewIntentResponse ¶
type MsgNewIntentResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MsgNewIntentResponse) Descriptor
deprecated
func (*MsgNewIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewIntentResponse.ProtoReflect.Descriptor instead.
func (*MsgNewIntentResponse) GetId ¶
func (x *MsgNewIntentResponse) GetId() uint64
func (*MsgNewIntentResponse) ProtoMessage ¶
func (*MsgNewIntentResponse) ProtoMessage()
func (*MsgNewIntentResponse) ProtoReflect ¶
func (x *MsgNewIntentResponse) ProtoReflect() protoreflect.Message
func (*MsgNewIntentResponse) Reset ¶
func (x *MsgNewIntentResponse) Reset()
func (*MsgNewIntentResponse) String ¶
func (x *MsgNewIntentResponse) String() string
type MsgRevokeAction ¶
type MsgRevokeAction struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ActionType string `protobuf:"bytes,2,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` ActionId uint64 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
func (*MsgRevokeAction) Descriptor
deprecated
func (*MsgRevokeAction) Descriptor() ([]byte, []int)
Deprecated: Use MsgRevokeAction.ProtoReflect.Descriptor instead.
func (*MsgRevokeAction) GetActionId ¶
func (x *MsgRevokeAction) GetActionId() uint64
func (*MsgRevokeAction) GetActionType ¶
func (x *MsgRevokeAction) GetActionType() string
func (*MsgRevokeAction) GetCreator ¶
func (x *MsgRevokeAction) GetCreator() string
func (*MsgRevokeAction) ProtoMessage ¶
func (*MsgRevokeAction) ProtoMessage()
func (*MsgRevokeAction) ProtoReflect ¶
func (x *MsgRevokeAction) ProtoReflect() protoreflect.Message
func (*MsgRevokeAction) Reset ¶
func (x *MsgRevokeAction) Reset()
func (*MsgRevokeAction) String ¶
func (x *MsgRevokeAction) String() string
type MsgRevokeActionResponse ¶
type MsgRevokeActionResponse struct {
// contains filtered or unexported fields
}
func (*MsgRevokeActionResponse) Descriptor
deprecated
func (*MsgRevokeActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRevokeActionResponse.ProtoReflect.Descriptor instead.
func (*MsgRevokeActionResponse) ProtoMessage ¶
func (*MsgRevokeActionResponse) ProtoMessage()
func (*MsgRevokeActionResponse) ProtoReflect ¶
func (x *MsgRevokeActionResponse) ProtoReflect() protoreflect.Message
func (*MsgRevokeActionResponse) Reset ¶
func (x *MsgRevokeActionResponse) Reset()
func (*MsgRevokeActionResponse) String ¶
func (x *MsgRevokeActionResponse) 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) // Add an approval to an existing Action. ApproveAction(context.Context, *MsgApproveAction) (*MsgApproveActionResponse, error) // Create a new intent. NewIntent(context.Context, *MsgNewIntent) (*MsgNewIntentResponse, error) // Revoke an existing Action while in pending state. RevokeAction(context.Context, *MsgRevokeAction) (*MsgRevokeActionResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
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"` // 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 Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryActionByIdRequest ¶
type QueryActionByIdRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryActionByIdRequest) Descriptor
deprecated
func (*QueryActionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionByIdRequest.ProtoReflect.Descriptor instead.
func (*QueryActionByIdRequest) GetId ¶
func (x *QueryActionByIdRequest) GetId() uint64
func (*QueryActionByIdRequest) ProtoMessage ¶
func (*QueryActionByIdRequest) ProtoMessage()
func (*QueryActionByIdRequest) ProtoReflect ¶
func (x *QueryActionByIdRequest) ProtoReflect() protoreflect.Message
func (*QueryActionByIdRequest) Reset ¶
func (x *QueryActionByIdRequest) Reset()
func (*QueryActionByIdRequest) String ¶
func (x *QueryActionByIdRequest) String() string
type QueryActionByIdResponse ¶
type QueryActionByIdResponse struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*QueryActionByIdResponse) Descriptor
deprecated
func (*QueryActionByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionByIdResponse.ProtoReflect.Descriptor instead.
func (*QueryActionByIdResponse) GetAction ¶
func (x *QueryActionByIdResponse) GetAction() *Action
func (*QueryActionByIdResponse) ProtoMessage ¶
func (*QueryActionByIdResponse) ProtoMessage()
func (*QueryActionByIdResponse) ProtoReflect ¶
func (x *QueryActionByIdResponse) ProtoReflect() protoreflect.Message
func (*QueryActionByIdResponse) Reset ¶
func (x *QueryActionByIdResponse) Reset()
func (*QueryActionByIdResponse) String ¶
func (x *QueryActionByIdResponse) String() string
type QueryActionsByAddressRequest ¶
type QueryActionsByAddressRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Status ActionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.intent.ActionStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*QueryActionsByAddressRequest) Descriptor
deprecated
func (*QueryActionsByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionsByAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryActionsByAddressRequest) GetAddress ¶
func (x *QueryActionsByAddressRequest) GetAddress() string
func (*QueryActionsByAddressRequest) GetPagination ¶
func (x *QueryActionsByAddressRequest) GetPagination() *v1beta1.PageRequest
func (*QueryActionsByAddressRequest) GetStatus ¶
func (x *QueryActionsByAddressRequest) GetStatus() ActionStatus
func (*QueryActionsByAddressRequest) ProtoMessage ¶
func (*QueryActionsByAddressRequest) ProtoMessage()
func (*QueryActionsByAddressRequest) ProtoReflect ¶
func (x *QueryActionsByAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryActionsByAddressRequest) Reset ¶
func (x *QueryActionsByAddressRequest) Reset()
func (*QueryActionsByAddressRequest) String ¶
func (x *QueryActionsByAddressRequest) String() string
type QueryActionsByAddressResponse ¶
type QueryActionsByAddressResponse struct { Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Actions []*Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*QueryActionsByAddressResponse) Descriptor
deprecated
func (*QueryActionsByAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionsByAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryActionsByAddressResponse) GetActions ¶
func (x *QueryActionsByAddressResponse) GetActions() []*Action
func (*QueryActionsByAddressResponse) GetPagination ¶
func (x *QueryActionsByAddressResponse) GetPagination() *v1beta1.PageResponse
func (*QueryActionsByAddressResponse) ProtoMessage ¶
func (*QueryActionsByAddressResponse) ProtoMessage()
func (*QueryActionsByAddressResponse) ProtoReflect ¶
func (x *QueryActionsByAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryActionsByAddressResponse) Reset ¶
func (x *QueryActionsByAddressResponse) Reset()
func (*QueryActionsByAddressResponse) String ¶
func (x *QueryActionsByAddressResponse) String() string
type QueryActionsRequest ¶
type QueryActionsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryActionsRequest) Descriptor
deprecated
func (*QueryActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionsRequest.ProtoReflect.Descriptor instead.
func (*QueryActionsRequest) GetPagination ¶
func (x *QueryActionsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryActionsRequest) ProtoMessage ¶
func (*QueryActionsRequest) ProtoMessage()
func (*QueryActionsRequest) ProtoReflect ¶
func (x *QueryActionsRequest) ProtoReflect() protoreflect.Message
func (*QueryActionsRequest) Reset ¶
func (x *QueryActionsRequest) Reset()
func (*QueryActionsRequest) String ¶
func (x *QueryActionsRequest) String() string
type QueryActionsResponse ¶
type QueryActionsResponse struct { Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Actions []*Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*QueryActionsResponse) Descriptor
deprecated
func (*QueryActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryActionsResponse.ProtoReflect.Descriptor instead.
func (*QueryActionsResponse) GetActions ¶
func (x *QueryActionsResponse) GetActions() []*Action
func (*QueryActionsResponse) GetPagination ¶
func (x *QueryActionsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryActionsResponse) ProtoMessage ¶
func (*QueryActionsResponse) ProtoMessage()
func (*QueryActionsResponse) ProtoReflect ¶
func (x *QueryActionsResponse) ProtoReflect() protoreflect.Message
func (*QueryActionsResponse) Reset ¶
func (x *QueryActionsResponse) Reset()
func (*QueryActionsResponse) String ¶
func (x *QueryActionsResponse) 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 Actions items. Actions(ctx context.Context, in *QueryActionsRequest, opts ...grpc.CallOption) (*QueryActionsResponse, error) // Queries a list of Intents items. Intents(ctx context.Context, in *QueryIntentsRequest, opts ...grpc.CallOption) (*QueryIntentsResponse, error) // Queries a list of IntentById items. IntentById(ctx context.Context, in *QueryIntentByIdRequest, opts ...grpc.CallOption) (*QueryIntentByIdResponse, error) // Queries a list of Actions items by one participant address. ActionsByAddress(ctx context.Context, in *QueryActionsByAddressRequest, opts ...grpc.CallOption) (*QueryActionsByAddressResponse, error) ActionById(ctx context.Context, in *QueryActionByIdRequest, opts ...grpc.CallOption) (*QueryActionByIdResponse, 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 QueryIntentByIdRequest ¶
type QueryIntentByIdRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryIntentByIdRequest) Descriptor
deprecated
func (*QueryIntentByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryIntentByIdRequest.ProtoReflect.Descriptor instead.
func (*QueryIntentByIdRequest) GetId ¶
func (x *QueryIntentByIdRequest) GetId() uint64
func (*QueryIntentByIdRequest) ProtoMessage ¶
func (*QueryIntentByIdRequest) ProtoMessage()
func (*QueryIntentByIdRequest) ProtoReflect ¶
func (x *QueryIntentByIdRequest) ProtoReflect() protoreflect.Message
func (*QueryIntentByIdRequest) Reset ¶
func (x *QueryIntentByIdRequest) Reset()
func (*QueryIntentByIdRequest) String ¶
func (x *QueryIntentByIdRequest) String() string
type QueryIntentByIdResponse ¶
type QueryIntentByIdResponse struct { Intent *IntentResponse `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // contains filtered or unexported fields }
func (*QueryIntentByIdResponse) Descriptor
deprecated
func (*QueryIntentByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryIntentByIdResponse.ProtoReflect.Descriptor instead.
func (*QueryIntentByIdResponse) GetIntent ¶
func (x *QueryIntentByIdResponse) GetIntent() *IntentResponse
func (*QueryIntentByIdResponse) ProtoMessage ¶
func (*QueryIntentByIdResponse) ProtoMessage()
func (*QueryIntentByIdResponse) ProtoReflect ¶
func (x *QueryIntentByIdResponse) ProtoReflect() protoreflect.Message
func (*QueryIntentByIdResponse) Reset ¶
func (x *QueryIntentByIdResponse) Reset()
func (*QueryIntentByIdResponse) String ¶
func (x *QueryIntentByIdResponse) String() string
type QueryIntentsRequest ¶
type QueryIntentsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryIntentsRequest) Descriptor
deprecated
func (*QueryIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryIntentsRequest.ProtoReflect.Descriptor instead.
func (*QueryIntentsRequest) GetPagination ¶
func (x *QueryIntentsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryIntentsRequest) ProtoMessage ¶
func (*QueryIntentsRequest) ProtoMessage()
func (*QueryIntentsRequest) ProtoReflect ¶
func (x *QueryIntentsRequest) ProtoReflect() protoreflect.Message
func (*QueryIntentsRequest) Reset ¶
func (x *QueryIntentsRequest) Reset()
func (*QueryIntentsRequest) String ¶
func (x *QueryIntentsRequest) String() string
type QueryIntentsResponse ¶
type QueryIntentsResponse struct { Pagination *v1beta1.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Intents []*IntentResponse `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` // contains filtered or unexported fields }
func (*QueryIntentsResponse) Descriptor
deprecated
func (*QueryIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryIntentsResponse.ProtoReflect.Descriptor instead.
func (*QueryIntentsResponse) GetIntents ¶
func (x *QueryIntentsResponse) GetIntents() []*IntentResponse
func (*QueryIntentsResponse) GetPagination ¶
func (x *QueryIntentsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryIntentsResponse) ProtoMessage ¶
func (*QueryIntentsResponse) ProtoMessage()
func (*QueryIntentsResponse) ProtoReflect ¶
func (x *QueryIntentsResponse) ProtoReflect() protoreflect.Message
func (*QueryIntentsResponse) Reset ¶
func (x *QueryIntentsResponse) Reset()
func (*QueryIntentsResponse) String ¶
func (x *QueryIntentsResponse) 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 Actions items. Actions(context.Context, *QueryActionsRequest) (*QueryActionsResponse, error) // Queries a list of Intents items. Intents(context.Context, *QueryIntentsRequest) (*QueryIntentsResponse, error) // Queries a list of IntentById items. IntentById(context.Context, *QueryIntentByIdRequest) (*QueryIntentByIdResponse, error) // Queries a list of Actions items by one participant address. ActionsByAddress(context.Context, *QueryActionsByAddressRequest) (*QueryActionsByAddressResponse, error) ActionById(context.Context, *QueryActionByIdRequest) (*QueryActionByIdResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) ApproveAction ¶
func (UnimplementedMsgServer) ApproveAction(context.Context, *MsgApproveAction) (*MsgApproveActionResponse, error)
func (UnimplementedMsgServer) NewIntent ¶
func (UnimplementedMsgServer) NewIntent(context.Context, *MsgNewIntent) (*MsgNewIntentResponse, error)
func (UnimplementedMsgServer) RevokeAction ¶
func (UnimplementedMsgServer) RevokeAction(context.Context, *MsgRevokeAction) (*MsgRevokeActionResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) ActionById ¶
func (UnimplementedQueryServer) ActionById(context.Context, *QueryActionByIdRequest) (*QueryActionByIdResponse, error)
func (UnimplementedQueryServer) Actions ¶
func (UnimplementedQueryServer) Actions(context.Context, *QueryActionsRequest) (*QueryActionsResponse, error)
func (UnimplementedQueryServer) ActionsByAddress ¶
func (UnimplementedQueryServer) ActionsByAddress(context.Context, *QueryActionsByAddressRequest) (*QueryActionsByAddressResponse, error)
func (UnimplementedQueryServer) IntentById ¶
func (UnimplementedQueryServer) IntentById(context.Context, *QueryIntentByIdRequest) (*QueryIntentByIdResponse, error)
func (UnimplementedQueryServer) Intents ¶
func (UnimplementedQueryServer) Intents(context.Context, *QueryIntentsRequest) (*QueryIntentsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
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.