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 Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetAddress() string
- func (x *Application) GetDelegateeGatewayAddresses() []string
- func (x *Application) GetPendingTransfer() *PendingApplicationTransfer
- func (x *Application) GetPendingUndelegations() map[uint64]*UndelegatingGatewayList
- func (x *Application) GetServiceConfigs() []*shared.ApplicationServiceConfig
- func (x *Application) GetStake() *v1beta1.Coin
- func (x *Application) GetUnstakeSessionEndHeight() uint64
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type ApplicationUnbondingReason
- func (ApplicationUnbondingReason) Descriptor() protoreflect.EnumDescriptor
- func (x ApplicationUnbondingReason) Enum() *ApplicationUnbondingReason
- func (ApplicationUnbondingReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplicationUnbondingReason) Number() protoreflect.EnumNumber
- func (x ApplicationUnbondingReason) String() string
- func (ApplicationUnbondingReason) Type() protoreflect.EnumType
- type EventApplicationStaked
- func (*EventApplicationStaked) Descriptor() ([]byte, []int)deprecated
- func (x *EventApplicationStaked) GetApplication() *Application
- func (x *EventApplicationStaked) GetSessionEndHeight() int64
- func (*EventApplicationStaked) ProtoMessage()
- func (x *EventApplicationStaked) ProtoReflect() protoreflect.Message
- func (x *EventApplicationStaked) Reset()
- func (x *EventApplicationStaked) String() string
- type EventApplicationUnbondingBegin
- func (*EventApplicationUnbondingBegin) Descriptor() ([]byte, []int)deprecated
- func (x *EventApplicationUnbondingBegin) GetApplication() *Application
- func (x *EventApplicationUnbondingBegin) GetReason() ApplicationUnbondingReason
- func (x *EventApplicationUnbondingBegin) GetSessionEndHeight() int64
- func (x *EventApplicationUnbondingBegin) GetUnbondingEndHeight() int64
- func (*EventApplicationUnbondingBegin) ProtoMessage()
- func (x *EventApplicationUnbondingBegin) ProtoReflect() protoreflect.Message
- func (x *EventApplicationUnbondingBegin) Reset()
- func (x *EventApplicationUnbondingBegin) String() string
- type EventApplicationUnbondingCanceled
- func (*EventApplicationUnbondingCanceled) Descriptor() ([]byte, []int)deprecated
- func (x *EventApplicationUnbondingCanceled) GetApplication() *Application
- func (x *EventApplicationUnbondingCanceled) GetSessionEndHeight() int64
- func (*EventApplicationUnbondingCanceled) ProtoMessage()
- func (x *EventApplicationUnbondingCanceled) ProtoReflect() protoreflect.Message
- func (x *EventApplicationUnbondingCanceled) Reset()
- func (x *EventApplicationUnbondingCanceled) String() string
- type EventApplicationUnbondingEnd
- func (*EventApplicationUnbondingEnd) Descriptor() ([]byte, []int)deprecated
- func (x *EventApplicationUnbondingEnd) GetApplication() *Application
- func (x *EventApplicationUnbondingEnd) GetReason() ApplicationUnbondingReason
- func (x *EventApplicationUnbondingEnd) GetSessionEndHeight() int64
- func (x *EventApplicationUnbondingEnd) GetUnbondingEndHeight() int64
- func (*EventApplicationUnbondingEnd) ProtoMessage()
- func (x *EventApplicationUnbondingEnd) ProtoReflect() protoreflect.Message
- func (x *EventApplicationUnbondingEnd) Reset()
- func (x *EventApplicationUnbondingEnd) String() string
- type EventRedelegation
- func (*EventRedelegation) Descriptor() ([]byte, []int)deprecated
- func (x *EventRedelegation) GetApplication() *Application
- func (x *EventRedelegation) GetSessionEndHeight() int64
- func (*EventRedelegation) ProtoMessage()
- func (x *EventRedelegation) ProtoReflect() protoreflect.Message
- func (x *EventRedelegation) Reset()
- func (x *EventRedelegation) String() string
- type EventTransferBegin
- func (*EventTransferBegin) Descriptor() ([]byte, []int)deprecated
- func (x *EventTransferBegin) GetDestinationAddress() string
- func (x *EventTransferBegin) GetSessionEndHeight() int64
- func (x *EventTransferBegin) GetSourceAddress() string
- func (x *EventTransferBegin) GetSourceApplication() *Application
- func (x *EventTransferBegin) GetTransferEndHeight() int64
- func (*EventTransferBegin) ProtoMessage()
- func (x *EventTransferBegin) ProtoReflect() protoreflect.Message
- func (x *EventTransferBegin) Reset()
- func (x *EventTransferBegin) String() string
- type EventTransferEnd
- func (*EventTransferEnd) Descriptor() ([]byte, []int)deprecated
- func (x *EventTransferEnd) GetDestinationAddress() string
- func (x *EventTransferEnd) GetDestinationApplication() *Application
- func (x *EventTransferEnd) GetSessionEndHeight() int64
- func (x *EventTransferEnd) GetSourceAddress() string
- func (x *EventTransferEnd) GetTransferEndHeight() int64
- func (*EventTransferEnd) ProtoMessage()
- func (x *EventTransferEnd) ProtoReflect() protoreflect.Message
- func (x *EventTransferEnd) Reset()
- func (x *EventTransferEnd) String() string
- type EventTransferError
- func (*EventTransferError) Descriptor() ([]byte, []int)deprecated
- func (x *EventTransferError) GetDestinationAddress() string
- func (x *EventTransferError) GetError() string
- func (x *EventTransferError) GetSessionEndHeight() int64
- func (x *EventTransferError) GetSourceAddress() string
- func (x *EventTransferError) GetSourceApplication() *Application
- func (*EventTransferError) ProtoMessage()
- func (x *EventTransferError) ProtoReflect() protoreflect.Message
- func (x *EventTransferError) Reset()
- func (x *EventTransferError) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetApplicationList() []*Application
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgDelegateToGateway
- func (*MsgDelegateToGateway) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDelegateToGateway) GetAppAddress() string
- func (x *MsgDelegateToGateway) GetGatewayAddress() string
- func (*MsgDelegateToGateway) ProtoMessage()
- func (x *MsgDelegateToGateway) ProtoReflect() protoreflect.Message
- func (x *MsgDelegateToGateway) Reset()
- func (x *MsgDelegateToGateway) String() string
- type MsgDelegateToGatewayResponse
- func (*MsgDelegateToGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDelegateToGatewayResponse) GetApplication() *Application
- func (*MsgDelegateToGatewayResponse) ProtoMessage()
- func (x *MsgDelegateToGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *MsgDelegateToGatewayResponse) Reset()
- func (x *MsgDelegateToGatewayResponse) String() string
- type MsgServer
- type MsgStakeApplication
- func (*MsgStakeApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MsgStakeApplication) GetAddress() string
- func (x *MsgStakeApplication) GetServices() []*shared.ApplicationServiceConfig
- func (x *MsgStakeApplication) GetStake() *v1beta1.Coin
- func (*MsgStakeApplication) ProtoMessage()
- func (x *MsgStakeApplication) ProtoReflect() protoreflect.Message
- func (x *MsgStakeApplication) Reset()
- func (x *MsgStakeApplication) String() string
- type MsgStakeApplicationResponse
- func (*MsgStakeApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgStakeApplicationResponse) GetApplication() *Application
- func (*MsgStakeApplicationResponse) ProtoMessage()
- func (x *MsgStakeApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgStakeApplicationResponse) Reset()
- func (x *MsgStakeApplicationResponse) String() string
- type MsgTransferApplication
- func (*MsgTransferApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferApplication) GetDestinationAddress() string
- func (x *MsgTransferApplication) GetSourceAddress() string
- func (*MsgTransferApplication) ProtoMessage()
- func (x *MsgTransferApplication) ProtoReflect() protoreflect.Message
- func (x *MsgTransferApplication) Reset()
- func (x *MsgTransferApplication) String() string
- type MsgTransferApplicationResponse
- func (*MsgTransferApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferApplicationResponse) GetApplication() *Application
- func (*MsgTransferApplicationResponse) ProtoMessage()
- func (x *MsgTransferApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgTransferApplicationResponse) Reset()
- func (x *MsgTransferApplicationResponse) String() string
- type MsgUndelegateFromGateway
- func (*MsgUndelegateFromGateway) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUndelegateFromGateway) GetAppAddress() string
- func (x *MsgUndelegateFromGateway) GetGatewayAddress() string
- func (*MsgUndelegateFromGateway) ProtoMessage()
- func (x *MsgUndelegateFromGateway) ProtoReflect() protoreflect.Message
- func (x *MsgUndelegateFromGateway) Reset()
- func (x *MsgUndelegateFromGateway) String() string
- type MsgUndelegateFromGatewayResponse
- func (*MsgUndelegateFromGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUndelegateFromGatewayResponse) ProtoMessage()
- func (x *MsgUndelegateFromGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUndelegateFromGatewayResponse) Reset()
- func (x *MsgUndelegateFromGatewayResponse) String() string
- type MsgUnstakeApplication
- func (*MsgUnstakeApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUnstakeApplication) GetAddress() string
- func (*MsgUnstakeApplication) ProtoMessage()
- func (x *MsgUnstakeApplication) ProtoReflect() protoreflect.Message
- func (x *MsgUnstakeApplication) Reset()
- func (x *MsgUnstakeApplication) String() string
- type MsgUnstakeApplicationResponse
- func (*MsgUnstakeApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUnstakeApplicationResponse) ProtoMessage()
- func (x *MsgUnstakeApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUnstakeApplicationResponse) Reset()
- func (x *MsgUnstakeApplicationResponse) String() string
- type MsgUpdateParam
- func (*MsgUpdateParam) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParam) GetAsCoin() *v1beta1.Coin
- func (x *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
- func (x *MsgUpdateParam) GetAsUint64() uint64
- func (x *MsgUpdateParam) GetAuthority() string
- func (x *MsgUpdateParam) GetName() string
- func (*MsgUpdateParam) ProtoMessage()
- func (x *MsgUpdateParam) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParam) Reset()
- func (x *MsgUpdateParam) String() string
- type MsgUpdateParamResponse
- func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParamResponse) GetParams() *Params
- func (*MsgUpdateParamResponse) ProtoMessage()
- func (x *MsgUpdateParamResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParamResponse) Reset()
- func (x *MsgUpdateParamResponse) String() string
- type MsgUpdateParam_AsCoin
- type MsgUpdateParam_AsUint64
- 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 PendingApplicationTransfer
- func (*PendingApplicationTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *PendingApplicationTransfer) GetDestinationAddress() string
- func (x *PendingApplicationTransfer) GetSessionEndHeight() uint64
- func (*PendingApplicationTransfer) ProtoMessage()
- func (x *PendingApplicationTransfer) ProtoReflect() protoreflect.Message
- func (x *PendingApplicationTransfer) Reset()
- func (x *PendingApplicationTransfer) String() string
- type QueryAllApplicationsRequest
- func (*QueryAllApplicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllApplicationsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllApplicationsRequest) ProtoMessage()
- func (x *QueryAllApplicationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllApplicationsRequest) Reset()
- func (x *QueryAllApplicationsRequest) String() string
- type QueryAllApplicationsResponse
- func (*QueryAllApplicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllApplicationsResponse) GetApplications() []*Application
- func (x *QueryAllApplicationsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllApplicationsResponse) ProtoMessage()
- func (x *QueryAllApplicationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllApplicationsResponse) Reset()
- func (x *QueryAllApplicationsResponse) String() string
- type QueryClient
- type QueryGetApplicationRequest
- func (*QueryGetApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetApplicationRequest) GetAddress() string
- func (*QueryGetApplicationRequest) ProtoMessage()
- func (x *QueryGetApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetApplicationRequest) Reset()
- func (x *QueryGetApplicationRequest) String() string
- type QueryGetApplicationResponse
- func (*QueryGetApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetApplicationResponse) GetApplication() *Application
- func (*QueryGetApplicationResponse) ProtoMessage()
- func (x *QueryGetApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetApplicationResponse) Reset()
- func (x *QueryGetApplicationResponse) 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 UndelegatingGatewayList
- func (*UndelegatingGatewayList) Descriptor() ([]byte, []int)deprecated
- func (x *UndelegatingGatewayList) GetGatewayAddresses() []string
- func (*UndelegatingGatewayList) ProtoMessage()
- func (x *UndelegatingGatewayList) ProtoReflect() protoreflect.Message
- func (x *UndelegatingGatewayList) Reset()
- func (x *UndelegatingGatewayList) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) DelegateToGateway(context.Context, *MsgDelegateToGateway) (*MsgDelegateToGatewayResponse, error)
- func (UnimplementedMsgServer) StakeApplication(context.Context, *MsgStakeApplication) (*MsgStakeApplicationResponse, error)
- func (UnimplementedMsgServer) TransferApplication(context.Context, *MsgTransferApplication) (*MsgTransferApplicationResponse, error)
- func (UnimplementedMsgServer) UndelegateFromGateway(context.Context, *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error)
- func (UnimplementedMsgServer) UnstakeApplication(context.Context, *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error)
- func (UnimplementedMsgServer) UpdateParam(context.Context, *MsgUpdateParam) (*MsgUpdateParamResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllApplications(context.Context, *QueryAllApplicationsRequest) (*QueryAllApplicationsResponse, error)
- func (UnimplementedQueryServer) Application(context.Context, *QueryGetApplicationRequest) (*QueryGetApplicationResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/poktroll.application.Query/Params" Query_Application_FullMethodName = "/poktroll.application.Query/Application" Query_AllApplications_FullMethodName = "/poktroll.application.Query/AllApplications" )
const ( Msg_UpdateParams_FullMethodName = "/poktroll.application.Msg/UpdateParams" Msg_StakeApplication_FullMethodName = "/poktroll.application.Msg/StakeApplication" Msg_UnstakeApplication_FullMethodName = "/poktroll.application.Msg/UnstakeApplication" Msg_DelegateToGateway_FullMethodName = "/poktroll.application.Msg/DelegateToGateway" Msg_UndelegateFromGateway_FullMethodName = "/poktroll.application.Msg/UndelegateFromGateway" Msg_TransferApplication_FullMethodName = "/poktroll.application.Msg/TransferApplication" Msg_UpdateParam_FullMethodName = "/poktroll.application.Msg/UpdateParam" )
Variables ¶
var ( ApplicationUnbondingReason_name = map[int32]string{ 0: "APPLICATION_UNBONDING_REASON_ELECTIVE", 1: "APPLICATION_UNBONDING_REASON_BELOW_MIN_STAKE", } ApplicationUnbondingReason_value = map[string]int32{ "APPLICATION_UNBONDING_REASON_ELECTIVE": 0, "APPLICATION_UNBONDING_REASON_BELOW_MIN_STAKE": 1, } )
Enum value maps for ApplicationUnbondingReason.
var File_poktroll_application_event_proto protoreflect.FileDescriptor
var File_poktroll_application_genesis_proto protoreflect.FileDescriptor
var File_poktroll_application_params_proto protoreflect.FileDescriptor
var File_poktroll_application_query_proto protoreflect.FileDescriptor
var File_poktroll_application_tx_proto protoreflect.FileDescriptor
var File_poktroll_application_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "poktroll.application.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "StakeApplication", Handler: _Msg_StakeApplication_Handler, }, { MethodName: "UnstakeApplication", Handler: _Msg_UnstakeApplication_Handler, }, { MethodName: "DelegateToGateway", Handler: _Msg_DelegateToGateway_Handler, }, { MethodName: "UndelegateFromGateway", Handler: _Msg_UndelegateFromGateway_Handler, }, { MethodName: "TransferApplication", Handler: _Msg_TransferApplication_Handler, }, { MethodName: "UpdateParam", Handler: _Msg_UpdateParam_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "poktroll/application/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: "poktroll.application.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Application", Handler: _Query_Application_Handler, }, { MethodName: "AllApplications", Handler: _Query_AllApplications_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "poktroll/application/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 ¶ added in v0.0.3
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶ added in v0.0.3
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type Application ¶
type Application struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the application. Stake *v1beta1.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // The total amount of uPOKT the application has staked // CRITICAL_DEV_NOTE: The number of service_configs must be EXACTLY ONE. // This prevents applications from over-servicing. // The field is kept repeated (a list) for both legacy and future logic reaosns. // References: // - https://github.com/pokt-network/poktroll/pull/750#discussion_r1735025033 // - https://www.notion.so/buildwithgrove/Off-chain-Application-Stake-Tracking-6a8bebb107db4f7f9dc62cbe7ba555f7 ServiceConfigs []*shared.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"` // The list of services this appliccation is configured to request service for // TODO_BETA(@bryanchriswhite): Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to`. // Ensure to rename all relevant configs, comments, variables, function names, etc as well. DelegateeGatewayAddresses []string `` // The Bech32 encoded addresses for all delegatee Gateways, in a non-nullable slice /* 138-byte string literal not displayed */ // A map from sessionEndHeights to a list of Gateways. // The key is the height of the last block of the session during which the // respective undelegation was committed. // The value is a list of gateways being undelegated from. // TODO_DOCUMENT(@red-0ne): Need to document the flow from this comment // so its clear to everyone why this is necessary; https://github.com/pokt-network/poktroll/issues/476#issuecomment-2052639906. PendingUndelegations map[uint64]*UndelegatingGatewayList `` /* 210-byte string literal not displayed */ // The end height of the session at which an application initiated its unstaking process. // If the application did not unstake, this value will be 0. UnstakeSessionEndHeight uint64 `` /* 135-byte string literal not displayed */ PendingTransfer *PendingApplicationTransfer `protobuf:"bytes,7,opt,name=pending_transfer,json=pendingTransfer,proto3" json:"pending_transfer,omitempty"` // contains filtered or unexported fields }
Application defines the type used to store an on-chain definition and state for an application
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetAddress ¶
func (x *Application) GetAddress() string
func (*Application) GetDelegateeGatewayAddresses ¶
func (x *Application) GetDelegateeGatewayAddresses() []string
func (*Application) GetPendingTransfer ¶ added in v0.0.10
func (x *Application) GetPendingTransfer() *PendingApplicationTransfer
func (*Application) GetPendingUndelegations ¶ added in v0.0.2
func (x *Application) GetPendingUndelegations() map[uint64]*UndelegatingGatewayList
func (*Application) GetServiceConfigs ¶
func (x *Application) GetServiceConfigs() []*shared.ApplicationServiceConfig
func (*Application) GetStake ¶
func (x *Application) GetStake() *v1beta1.Coin
func (*Application) GetUnstakeSessionEndHeight ¶ added in v0.0.7
func (x *Application) GetUnstakeSessionEndHeight() uint64
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type ApplicationUnbondingReason ¶ added in v0.0.10
type ApplicationUnbondingReason int32
const ( ApplicationUnbondingReason_APPLICATION_UNBONDING_REASON_ELECTIVE ApplicationUnbondingReason = 0 ApplicationUnbondingReason_APPLICATION_UNBONDING_REASON_BELOW_MIN_STAKE ApplicationUnbondingReason = 1 )
func (ApplicationUnbondingReason) Descriptor ¶ added in v0.0.10
func (ApplicationUnbondingReason) Descriptor() protoreflect.EnumDescriptor
func (ApplicationUnbondingReason) Enum ¶ added in v0.0.10
func (x ApplicationUnbondingReason) Enum() *ApplicationUnbondingReason
func (ApplicationUnbondingReason) EnumDescriptor
deprecated
added in
v0.0.10
func (ApplicationUnbondingReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplicationUnbondingReason.Descriptor instead.
func (ApplicationUnbondingReason) Number ¶ added in v0.0.10
func (x ApplicationUnbondingReason) Number() protoreflect.EnumNumber
func (ApplicationUnbondingReason) String ¶ added in v0.0.10
func (x ApplicationUnbondingReason) String() string
func (ApplicationUnbondingReason) Type ¶ added in v0.0.10
func (ApplicationUnbondingReason) Type() protoreflect.EnumType
type EventApplicationStaked ¶ added in v0.0.10
type EventApplicationStaked struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // The end height of the session in which the application was staked. SessionEndHeight int64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // contains filtered or unexported fields }
EventApplicationStaked is emitted when an application is staked or up-staked.
func (*EventApplicationStaked) Descriptor
deprecated
added in
v0.0.10
func (*EventApplicationStaked) Descriptor() ([]byte, []int)
Deprecated: Use EventApplicationStaked.ProtoReflect.Descriptor instead.
func (*EventApplicationStaked) GetApplication ¶ added in v0.0.10
func (x *EventApplicationStaked) GetApplication() *Application
func (*EventApplicationStaked) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventApplicationStaked) GetSessionEndHeight() int64
func (*EventApplicationStaked) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationStaked) ProtoMessage()
func (*EventApplicationStaked) ProtoReflect ¶ added in v0.0.10
func (x *EventApplicationStaked) ProtoReflect() protoreflect.Message
func (*EventApplicationStaked) Reset ¶ added in v0.0.10
func (x *EventApplicationStaked) Reset()
func (*EventApplicationStaked) String ¶ added in v0.0.10
func (x *EventApplicationStaked) String() string
type EventApplicationUnbondingBegin ¶ added in v0.0.10
type EventApplicationUnbondingBegin struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` Reason ApplicationUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=poktroll.application.ApplicationUnbondingReason" json:"reason,omitempty"` // The end height of the session in which the unbonding began. SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // The height at which application unbonding will end. UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_end_height,omitempty"` // contains filtered or unexported fields }
EventApplicationUnbondingBegin is emitted when an application begins unbonding. This can be triggered by the commitment of an unstake message or by the applicaiton's stake dropping below the minimum. This event signals that an application has begun unbonding. The unbonding period is determined by the shared param, application_unbonding_period_sessions.
func (*EventApplicationUnbondingBegin) Descriptor
deprecated
added in
v0.0.10
func (*EventApplicationUnbondingBegin) Descriptor() ([]byte, []int)
Deprecated: Use EventApplicationUnbondingBegin.ProtoReflect.Descriptor instead.
func (*EventApplicationUnbondingBegin) GetApplication ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) GetApplication() *Application
func (*EventApplicationUnbondingBegin) GetReason ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) GetReason() ApplicationUnbondingReason
func (*EventApplicationUnbondingBegin) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) GetSessionEndHeight() int64
func (*EventApplicationUnbondingBegin) GetUnbondingEndHeight ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) GetUnbondingEndHeight() int64
func (*EventApplicationUnbondingBegin) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingBegin) ProtoMessage()
func (*EventApplicationUnbondingBegin) ProtoReflect ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) ProtoReflect() protoreflect.Message
func (*EventApplicationUnbondingBegin) Reset ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) Reset()
func (*EventApplicationUnbondingBegin) String ¶ added in v0.0.10
func (x *EventApplicationUnbondingBegin) String() string
type EventApplicationUnbondingCanceled ¶ added in v0.0.10
type EventApplicationUnbondingCanceled struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // The end height of the session in which the unbonding was canceled. SessionEndHeight int64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // contains filtered or unexported fields }
EventApplicationUnbondingCanceled is emitted when an application which was unbonding successfully (re-)stakes before the unbonding period has elapsed. An EventApplicationStaked event will also be emitted immediately after this event.
func (*EventApplicationUnbondingCanceled) Descriptor
deprecated
added in
v0.0.10
func (*EventApplicationUnbondingCanceled) Descriptor() ([]byte, []int)
Deprecated: Use EventApplicationUnbondingCanceled.ProtoReflect.Descriptor instead.
func (*EventApplicationUnbondingCanceled) GetApplication ¶ added in v0.0.10
func (x *EventApplicationUnbondingCanceled) GetApplication() *Application
func (*EventApplicationUnbondingCanceled) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventApplicationUnbondingCanceled) GetSessionEndHeight() int64
func (*EventApplicationUnbondingCanceled) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingCanceled) ProtoMessage()
func (*EventApplicationUnbondingCanceled) ProtoReflect ¶ added in v0.0.10
func (x *EventApplicationUnbondingCanceled) ProtoReflect() protoreflect.Message
func (*EventApplicationUnbondingCanceled) Reset ¶ added in v0.0.10
func (x *EventApplicationUnbondingCanceled) Reset()
func (*EventApplicationUnbondingCanceled) String ¶ added in v0.0.10
func (x *EventApplicationUnbondingCanceled) String() string
type EventApplicationUnbondingEnd ¶ added in v0.0.10
type EventApplicationUnbondingEnd struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` Reason ApplicationUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=poktroll.application.ApplicationUnbondingReason" json:"reason,omitempty"` // The end height of the session in which the unbonding ended. SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // The height at which application unbonding ended. UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_end_height,omitempty"` // contains filtered or unexported fields }
EventApplicationUnbondingEnd is emitted when an application has completed unbonding. The unbonding period is determined by the shared param, application_unbonding_period_sessions.
func (*EventApplicationUnbondingEnd) Descriptor
deprecated
added in
v0.0.10
func (*EventApplicationUnbondingEnd) Descriptor() ([]byte, []int)
Deprecated: Use EventApplicationUnbondingEnd.ProtoReflect.Descriptor instead.
func (*EventApplicationUnbondingEnd) GetApplication ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) GetApplication() *Application
func (*EventApplicationUnbondingEnd) GetReason ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) GetReason() ApplicationUnbondingReason
func (*EventApplicationUnbondingEnd) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) GetSessionEndHeight() int64
func (*EventApplicationUnbondingEnd) GetUnbondingEndHeight ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) GetUnbondingEndHeight() int64
func (*EventApplicationUnbondingEnd) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingEnd) ProtoMessage()
func (*EventApplicationUnbondingEnd) ProtoReflect ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) ProtoReflect() protoreflect.Message
func (*EventApplicationUnbondingEnd) Reset ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) Reset()
func (*EventApplicationUnbondingEnd) String ¶ added in v0.0.10
func (x *EventApplicationUnbondingEnd) String() string
type EventRedelegation ¶
type EventRedelegation struct { // The application which was redelegated. Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // The end height of the session in which the redelegation was committed. SessionEndHeight int64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // contains filtered or unexported fields }
EventRedelegation is an event emitted whenever an application changes its delegatee gateways on chain. This is in response to both a DelegateToGateway and UndelegateFromGateway message.
func (*EventRedelegation) Descriptor
deprecated
func (*EventRedelegation) Descriptor() ([]byte, []int)
Deprecated: Use EventRedelegation.ProtoReflect.Descriptor instead.
func (*EventRedelegation) GetApplication ¶ added in v0.0.10
func (x *EventRedelegation) GetApplication() *Application
func (*EventRedelegation) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventRedelegation) GetSessionEndHeight() int64
func (*EventRedelegation) ProtoMessage ¶
func (*EventRedelegation) ProtoMessage()
func (*EventRedelegation) ProtoReflect ¶
func (x *EventRedelegation) ProtoReflect() protoreflect.Message
func (*EventRedelegation) Reset ¶
func (x *EventRedelegation) Reset()
func (*EventRedelegation) String ¶
func (x *EventRedelegation) String() string
type EventTransferBegin ¶ added in v0.0.10
type EventTransferBegin struct { SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` DestinationAddress string `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` SourceApplication *Application `protobuf:"bytes,3,opt,name=source_application,json=sourceApplication,proto3" json:"source_application,omitempty"` // The end height of the session in which the transfer began. SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // The height at which the transfer will complete. TransferEndHeight int64 `protobuf:"varint,5,opt,name=transfer_end_height,json=transferEndHeight,proto3" json:"transfer_end_height,omitempty"` // contains filtered or unexported fields }
EventTransferBegin is emitted whenever an application begins a transfer. It includes the source application state immediately after the transfer began.
func (*EventTransferBegin) Descriptor
deprecated
added in
v0.0.10
func (*EventTransferBegin) Descriptor() ([]byte, []int)
Deprecated: Use EventTransferBegin.ProtoReflect.Descriptor instead.
func (*EventTransferBegin) GetDestinationAddress ¶ added in v0.0.10
func (x *EventTransferBegin) GetDestinationAddress() string
func (*EventTransferBegin) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventTransferBegin) GetSessionEndHeight() int64
func (*EventTransferBegin) GetSourceAddress ¶ added in v0.0.10
func (x *EventTransferBegin) GetSourceAddress() string
func (*EventTransferBegin) GetSourceApplication ¶ added in v0.0.10
func (x *EventTransferBegin) GetSourceApplication() *Application
func (*EventTransferBegin) GetTransferEndHeight ¶ added in v0.0.10
func (x *EventTransferBegin) GetTransferEndHeight() int64
func (*EventTransferBegin) ProtoMessage ¶ added in v0.0.10
func (*EventTransferBegin) ProtoMessage()
func (*EventTransferBegin) ProtoReflect ¶ added in v0.0.10
func (x *EventTransferBegin) ProtoReflect() protoreflect.Message
func (*EventTransferBegin) Reset ¶ added in v0.0.10
func (x *EventTransferBegin) Reset()
func (*EventTransferBegin) String ¶ added in v0.0.10
func (x *EventTransferBegin) String() string
type EventTransferEnd ¶ added in v0.0.10
type EventTransferEnd struct { SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` DestinationAddress string `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` DestinationApplication *Application `` /* 127-byte string literal not displayed */ // The end height of the session in which the transfer ended. SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // The height at which the transfer completed. TransferEndHeight int64 `protobuf:"varint,5,opt,name=transfer_end_height,json=transferEndHeight,proto3" json:"transfer_end_height,omitempty"` // contains filtered or unexported fields }
EventTransferEnd is emitted whenever an application transfer is completed. It includes the destination application state at the time the transfer completed. Either EventTransferEnd or EventTransferError will be emitted corresponding to any given EventTransferBegin event.
func (*EventTransferEnd) Descriptor
deprecated
added in
v0.0.10
func (*EventTransferEnd) Descriptor() ([]byte, []int)
Deprecated: Use EventTransferEnd.ProtoReflect.Descriptor instead.
func (*EventTransferEnd) GetDestinationAddress ¶ added in v0.0.10
func (x *EventTransferEnd) GetDestinationAddress() string
func (*EventTransferEnd) GetDestinationApplication ¶ added in v0.0.10
func (x *EventTransferEnd) GetDestinationApplication() *Application
func (*EventTransferEnd) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventTransferEnd) GetSessionEndHeight() int64
func (*EventTransferEnd) GetSourceAddress ¶ added in v0.0.10
func (x *EventTransferEnd) GetSourceAddress() string
func (*EventTransferEnd) GetTransferEndHeight ¶ added in v0.0.10
func (x *EventTransferEnd) GetTransferEndHeight() int64
func (*EventTransferEnd) ProtoMessage ¶ added in v0.0.10
func (*EventTransferEnd) ProtoMessage()
func (*EventTransferEnd) ProtoReflect ¶ added in v0.0.10
func (x *EventTransferEnd) ProtoReflect() protoreflect.Message
func (*EventTransferEnd) Reset ¶ added in v0.0.10
func (x *EventTransferEnd) Reset()
func (*EventTransferEnd) String ¶ added in v0.0.10
func (x *EventTransferEnd) String() string
type EventTransferError ¶ added in v0.0.10
type EventTransferError struct { SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` DestinationAddress string `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` SourceApplication *Application `protobuf:"bytes,3,opt,name=source_application,json=sourceApplication,proto3" json:"source_application,omitempty"` // The end height of the session in which the transfer failed. SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
EventTransferError is emitted whenever an application transfer fails. It includes the source application state at the time the transfer failed and the error message. Either EventTransferEnd or EventTransferError will be emitted corresponding to any given EventTransferBegin event.
func (*EventTransferError) Descriptor
deprecated
added in
v0.0.10
func (*EventTransferError) Descriptor() ([]byte, []int)
Deprecated: Use EventTransferError.ProtoReflect.Descriptor instead.
func (*EventTransferError) GetDestinationAddress ¶ added in v0.0.10
func (x *EventTransferError) GetDestinationAddress() string
func (*EventTransferError) GetError ¶ added in v0.0.10
func (x *EventTransferError) GetError() string
func (*EventTransferError) GetSessionEndHeight ¶ added in v0.0.10
func (x *EventTransferError) GetSessionEndHeight() int64
func (*EventTransferError) GetSourceAddress ¶ added in v0.0.10
func (x *EventTransferError) GetSourceAddress() string
func (*EventTransferError) GetSourceApplication ¶ added in v0.0.10
func (x *EventTransferError) GetSourceApplication() *Application
func (*EventTransferError) ProtoMessage ¶ added in v0.0.10
func (*EventTransferError) ProtoMessage()
func (*EventTransferError) ProtoReflect ¶ added in v0.0.10
func (x *EventTransferError) ProtoReflect() protoreflect.Message
func (*EventTransferError) Reset ¶ added in v0.0.10
func (x *EventTransferError) Reset()
func (*EventTransferError) String ¶ added in v0.0.10
func (x *EventTransferError) 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"` ApplicationList []*Application `protobuf:"bytes,2,rep,name=application_list,json=applicationList,proto3" json:"application_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the application module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetApplicationList ¶
func (x *GenesisState) GetApplicationList() []*Application
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 MsgClient ¶ added in v0.0.3
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) StakeApplication(ctx context.Context, in *MsgStakeApplication, opts ...grpc.CallOption) (*MsgStakeApplicationResponse, error) UnstakeApplication(ctx context.Context, in *MsgUnstakeApplication, opts ...grpc.CallOption) (*MsgUnstakeApplicationResponse, error) DelegateToGateway(ctx context.Context, in *MsgDelegateToGateway, opts ...grpc.CallOption) (*MsgDelegateToGatewayResponse, error) UndelegateFromGateway(ctx context.Context, in *MsgUndelegateFromGateway, opts ...grpc.CallOption) (*MsgUndelegateFromGatewayResponse, error) TransferApplication(ctx context.Context, in *MsgTransferApplication, opts ...grpc.CallOption) (*MsgTransferApplicationResponse, error) UpdateParam(ctx context.Context, in *MsgUpdateParam, opts ...grpc.CallOption) (*MsgUpdateParamResponse, 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.
Msg defines the Msg service.
func NewMsgClient ¶ added in v0.0.3
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgDelegateToGateway ¶
type MsgDelegateToGateway struct { AppAddress string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"` // The Bech32 address of the application. GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` // The Bech32 address of the gateway the application wants to delegate to. // contains filtered or unexported fields }
func (*MsgDelegateToGateway) Descriptor
deprecated
func (*MsgDelegateToGateway) Descriptor() ([]byte, []int)
Deprecated: Use MsgDelegateToGateway.ProtoReflect.Descriptor instead.
func (*MsgDelegateToGateway) GetAppAddress ¶
func (x *MsgDelegateToGateway) GetAppAddress() string
func (*MsgDelegateToGateway) GetGatewayAddress ¶
func (x *MsgDelegateToGateway) GetGatewayAddress() string
func (*MsgDelegateToGateway) ProtoMessage ¶
func (*MsgDelegateToGateway) ProtoMessage()
func (*MsgDelegateToGateway) ProtoReflect ¶
func (x *MsgDelegateToGateway) ProtoReflect() protoreflect.Message
func (*MsgDelegateToGateway) Reset ¶
func (x *MsgDelegateToGateway) Reset()
func (*MsgDelegateToGateway) String ¶
func (x *MsgDelegateToGateway) String() string
type MsgDelegateToGatewayResponse ¶
type MsgDelegateToGatewayResponse struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*MsgDelegateToGatewayResponse) Descriptor
deprecated
func (*MsgDelegateToGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDelegateToGatewayResponse.ProtoReflect.Descriptor instead.
func (*MsgDelegateToGatewayResponse) GetApplication ¶ added in v0.0.10
func (x *MsgDelegateToGatewayResponse) GetApplication() *Application
func (*MsgDelegateToGatewayResponse) ProtoMessage ¶
func (*MsgDelegateToGatewayResponse) ProtoMessage()
func (*MsgDelegateToGatewayResponse) ProtoReflect ¶
func (x *MsgDelegateToGatewayResponse) ProtoReflect() protoreflect.Message
func (*MsgDelegateToGatewayResponse) Reset ¶
func (x *MsgDelegateToGatewayResponse) Reset()
func (*MsgDelegateToGatewayResponse) String ¶
func (x *MsgDelegateToGatewayResponse) String() string
type MsgServer ¶ added in v0.0.3
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) StakeApplication(context.Context, *MsgStakeApplication) (*MsgStakeApplicationResponse, error) UnstakeApplication(context.Context, *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error) DelegateToGateway(context.Context, *MsgDelegateToGateway) (*MsgDelegateToGatewayResponse, error) UndelegateFromGateway(context.Context, *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error) TransferApplication(context.Context, *MsgTransferApplication) (*MsgTransferApplicationResponse, error) UpdateParam(context.Context, *MsgUpdateParam) (*MsgUpdateParamResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
Msg defines the Msg service.
type MsgStakeApplication ¶
type MsgStakeApplication struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the application. Stake *v1beta1.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // The total amount of uPOKT the application has staked. Must be ≥ to the current amount that the application has staked (if any) Services []*shared.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` // The list of services this application is staked to request service for // contains filtered or unexported fields }
func (*MsgStakeApplication) Descriptor
deprecated
func (*MsgStakeApplication) Descriptor() ([]byte, []int)
Deprecated: Use MsgStakeApplication.ProtoReflect.Descriptor instead.
func (*MsgStakeApplication) GetAddress ¶
func (x *MsgStakeApplication) GetAddress() string
func (*MsgStakeApplication) GetServices ¶
func (x *MsgStakeApplication) GetServices() []*shared.ApplicationServiceConfig
func (*MsgStakeApplication) GetStake ¶
func (x *MsgStakeApplication) GetStake() *v1beta1.Coin
func (*MsgStakeApplication) ProtoMessage ¶
func (*MsgStakeApplication) ProtoMessage()
func (*MsgStakeApplication) ProtoReflect ¶
func (x *MsgStakeApplication) ProtoReflect() protoreflect.Message
func (*MsgStakeApplication) Reset ¶
func (x *MsgStakeApplication) Reset()
func (*MsgStakeApplication) String ¶
func (x *MsgStakeApplication) String() string
type MsgStakeApplicationResponse ¶
type MsgStakeApplicationResponse struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*MsgStakeApplicationResponse) Descriptor
deprecated
func (*MsgStakeApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgStakeApplicationResponse.ProtoReflect.Descriptor instead.
func (*MsgStakeApplicationResponse) GetApplication ¶ added in v0.0.10
func (x *MsgStakeApplicationResponse) GetApplication() *Application
func (*MsgStakeApplicationResponse) ProtoMessage ¶
func (*MsgStakeApplicationResponse) ProtoMessage()
func (*MsgStakeApplicationResponse) ProtoReflect ¶
func (x *MsgStakeApplicationResponse) ProtoReflect() protoreflect.Message
func (*MsgStakeApplicationResponse) Reset ¶
func (x *MsgStakeApplicationResponse) Reset()
func (*MsgStakeApplicationResponse) String ¶
func (x *MsgStakeApplicationResponse) String() string
type MsgTransferApplication ¶ added in v0.0.10
type MsgTransferApplication struct { SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` DestinationAddress string `protobuf:"bytes,2,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` // contains filtered or unexported fields }
func (*MsgTransferApplication) Descriptor
deprecated
added in
v0.0.10
func (*MsgTransferApplication) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferApplication.ProtoReflect.Descriptor instead.
func (*MsgTransferApplication) GetDestinationAddress ¶ added in v0.0.10
func (x *MsgTransferApplication) GetDestinationAddress() string
func (*MsgTransferApplication) GetSourceAddress ¶ added in v0.0.10
func (x *MsgTransferApplication) GetSourceAddress() string
func (*MsgTransferApplication) ProtoMessage ¶ added in v0.0.10
func (*MsgTransferApplication) ProtoMessage()
func (*MsgTransferApplication) ProtoReflect ¶ added in v0.0.10
func (x *MsgTransferApplication) ProtoReflect() protoreflect.Message
func (*MsgTransferApplication) Reset ¶ added in v0.0.10
func (x *MsgTransferApplication) Reset()
func (*MsgTransferApplication) String ¶ added in v0.0.10
func (x *MsgTransferApplication) String() string
type MsgTransferApplicationResponse ¶ added in v0.0.10
type MsgTransferApplicationResponse struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*MsgTransferApplicationResponse) Descriptor
deprecated
added in
v0.0.10
func (*MsgTransferApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferApplicationResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferApplicationResponse) GetApplication ¶ added in v0.0.10
func (x *MsgTransferApplicationResponse) GetApplication() *Application
func (*MsgTransferApplicationResponse) ProtoMessage ¶ added in v0.0.10
func (*MsgTransferApplicationResponse) ProtoMessage()
func (*MsgTransferApplicationResponse) ProtoReflect ¶ added in v0.0.10
func (x *MsgTransferApplicationResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferApplicationResponse) Reset ¶ added in v0.0.10
func (x *MsgTransferApplicationResponse) Reset()
func (*MsgTransferApplicationResponse) String ¶ added in v0.0.10
func (x *MsgTransferApplicationResponse) String() string
type MsgUndelegateFromGateway ¶
type MsgUndelegateFromGateway struct { AppAddress string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"` // The Bech32 address of the application. GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` // The Bech32 address of the gateway the application wants to undelegate from. // contains filtered or unexported fields }
func (*MsgUndelegateFromGateway) Descriptor
deprecated
func (*MsgUndelegateFromGateway) Descriptor() ([]byte, []int)
Deprecated: Use MsgUndelegateFromGateway.ProtoReflect.Descriptor instead.
func (*MsgUndelegateFromGateway) GetAppAddress ¶
func (x *MsgUndelegateFromGateway) GetAppAddress() string
func (*MsgUndelegateFromGateway) GetGatewayAddress ¶
func (x *MsgUndelegateFromGateway) GetGatewayAddress() string
func (*MsgUndelegateFromGateway) ProtoMessage ¶
func (*MsgUndelegateFromGateway) ProtoMessage()
func (*MsgUndelegateFromGateway) ProtoReflect ¶
func (x *MsgUndelegateFromGateway) ProtoReflect() protoreflect.Message
func (*MsgUndelegateFromGateway) Reset ¶
func (x *MsgUndelegateFromGateway) Reset()
func (*MsgUndelegateFromGateway) String ¶
func (x *MsgUndelegateFromGateway) String() string
type MsgUndelegateFromGatewayResponse ¶
type MsgUndelegateFromGatewayResponse struct {
// contains filtered or unexported fields
}
func (*MsgUndelegateFromGatewayResponse) Descriptor
deprecated
func (*MsgUndelegateFromGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUndelegateFromGatewayResponse.ProtoReflect.Descriptor instead.
func (*MsgUndelegateFromGatewayResponse) ProtoMessage ¶
func (*MsgUndelegateFromGatewayResponse) ProtoMessage()
func (*MsgUndelegateFromGatewayResponse) ProtoReflect ¶
func (x *MsgUndelegateFromGatewayResponse) ProtoReflect() protoreflect.Message
func (*MsgUndelegateFromGatewayResponse) Reset ¶
func (x *MsgUndelegateFromGatewayResponse) Reset()
func (*MsgUndelegateFromGatewayResponse) String ¶
func (x *MsgUndelegateFromGatewayResponse) String() string
type MsgUnstakeApplication ¶
type MsgUnstakeApplication struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*MsgUnstakeApplication) Descriptor
deprecated
func (*MsgUnstakeApplication) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnstakeApplication.ProtoReflect.Descriptor instead.
func (*MsgUnstakeApplication) GetAddress ¶
func (x *MsgUnstakeApplication) GetAddress() string
func (*MsgUnstakeApplication) ProtoMessage ¶
func (*MsgUnstakeApplication) ProtoMessage()
func (*MsgUnstakeApplication) ProtoReflect ¶
func (x *MsgUnstakeApplication) ProtoReflect() protoreflect.Message
func (*MsgUnstakeApplication) Reset ¶
func (x *MsgUnstakeApplication) Reset()
func (*MsgUnstakeApplication) String ¶
func (x *MsgUnstakeApplication) String() string
type MsgUnstakeApplicationResponse ¶
type MsgUnstakeApplicationResponse struct {
// contains filtered or unexported fields
}
func (*MsgUnstakeApplicationResponse) Descriptor
deprecated
func (*MsgUnstakeApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnstakeApplicationResponse.ProtoReflect.Descriptor instead.
func (*MsgUnstakeApplicationResponse) ProtoMessage ¶
func (*MsgUnstakeApplicationResponse) ProtoMessage()
func (*MsgUnstakeApplicationResponse) ProtoReflect ¶
func (x *MsgUnstakeApplicationResponse) ProtoReflect() protoreflect.Message
func (*MsgUnstakeApplicationResponse) Reset ¶
func (x *MsgUnstakeApplicationResponse) Reset()
func (*MsgUnstakeApplicationResponse) String ¶
func (x *MsgUnstakeApplicationResponse) String() string
type MsgUpdateParam ¶ added in v0.0.10
type MsgUpdateParam 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"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to AsType: // // *MsgUpdateParam_AsUint64 // *MsgUpdateParam_AsCoin AsType isMsgUpdateParam_AsType `protobuf_oneof:"asType"` // contains filtered or unexported fields }
func (*MsgUpdateParam) Descriptor
deprecated
added in
v0.0.10
func (*MsgUpdateParam) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParam.ProtoReflect.Descriptor instead.
func (*MsgUpdateParam) GetAsCoin ¶ added in v0.0.10
func (x *MsgUpdateParam) GetAsCoin() *v1beta1.Coin
func (*MsgUpdateParam) GetAsType ¶ added in v0.0.10
func (x *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
func (*MsgUpdateParam) GetAsUint64 ¶ added in v0.0.10
func (x *MsgUpdateParam) GetAsUint64() uint64
func (*MsgUpdateParam) GetAuthority ¶ added in v0.0.10
func (x *MsgUpdateParam) GetAuthority() string
func (*MsgUpdateParam) GetName ¶ added in v0.0.10
func (x *MsgUpdateParam) GetName() string
func (*MsgUpdateParam) ProtoMessage ¶ added in v0.0.10
func (*MsgUpdateParam) ProtoMessage()
func (*MsgUpdateParam) ProtoReflect ¶ added in v0.0.10
func (x *MsgUpdateParam) ProtoReflect() protoreflect.Message
func (*MsgUpdateParam) Reset ¶ added in v0.0.10
func (x *MsgUpdateParam) Reset()
func (*MsgUpdateParam) String ¶ added in v0.0.10
func (x *MsgUpdateParam) String() string
type MsgUpdateParamResponse ¶ added in v0.0.10
type MsgUpdateParamResponse struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateParamResponse) Descriptor
deprecated
added in
v0.0.10
func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamResponse) GetParams ¶ added in v0.0.10
func (x *MsgUpdateParamResponse) GetParams() *Params
func (*MsgUpdateParamResponse) ProtoMessage ¶ added in v0.0.10
func (*MsgUpdateParamResponse) ProtoMessage()
func (*MsgUpdateParamResponse) ProtoReflect ¶ added in v0.0.10
func (x *MsgUpdateParamResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamResponse) Reset ¶ added in v0.0.10
func (x *MsgUpdateParamResponse) Reset()
func (*MsgUpdateParamResponse) String ¶ added in v0.0.10
func (x *MsgUpdateParamResponse) String() string
type MsgUpdateParam_AsCoin ¶ added in v0.0.10
type MsgUpdateParam_AsUint64 ¶ added in v0.0.10
type MsgUpdateParam_AsUint64 struct {
AsUint64 uint64 `protobuf:"varint,3,opt,name=as_uint64,json=asUint64,proto3,oneof"`
}
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 x/application 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 Params ¶
type Params struct { // max_delegated_gateways defines the maximum number of gateways that a single // application can delegate to. This is used to prevent performance issues // in case the relay ring signature becomes too large. MaxDelegatedGateways uint64 `protobuf:"varint,1,opt,name=max_delegated_gateways,json=maxDelegatedGateways,proto3" json:"max_delegated_gateways,omitempty"` // min_stake is the minimum stake in upokt that an application must have to remain staked. MinStake *v1beta1.Coin `protobuf:"bytes,2,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetMaxDelegatedGateways ¶
func (*Params) GetMinStake ¶ added in v0.0.10
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PendingApplicationTransfer ¶ added in v0.0.10
type PendingApplicationTransfer struct { DestinationAddress string `protobuf:"bytes,1,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` SessionEndHeight uint64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"` // contains filtered or unexported fields }
PendingTransfer is used to store the details of a pending transfer. It is only intended to be used inside of an Application object.
func (*PendingApplicationTransfer) Descriptor
deprecated
added in
v0.0.10
func (*PendingApplicationTransfer) Descriptor() ([]byte, []int)
Deprecated: Use PendingApplicationTransfer.ProtoReflect.Descriptor instead.
func (*PendingApplicationTransfer) GetDestinationAddress ¶ added in v0.0.10
func (x *PendingApplicationTransfer) GetDestinationAddress() string
func (*PendingApplicationTransfer) GetSessionEndHeight ¶ added in v0.0.10
func (x *PendingApplicationTransfer) GetSessionEndHeight() uint64
func (*PendingApplicationTransfer) ProtoMessage ¶ added in v0.0.10
func (*PendingApplicationTransfer) ProtoMessage()
func (*PendingApplicationTransfer) ProtoReflect ¶ added in v0.0.10
func (x *PendingApplicationTransfer) ProtoReflect() protoreflect.Message
func (*PendingApplicationTransfer) Reset ¶ added in v0.0.10
func (x *PendingApplicationTransfer) Reset()
func (*PendingApplicationTransfer) String ¶ added in v0.0.10
func (x *PendingApplicationTransfer) String() string
type QueryAllApplicationsRequest ¶
type QueryAllApplicationsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllApplicationsRequest) Descriptor
deprecated
func (*QueryAllApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllApplicationsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllApplicationsRequest) GetPagination ¶
func (x *QueryAllApplicationsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllApplicationsRequest) ProtoMessage ¶
func (*QueryAllApplicationsRequest) ProtoMessage()
func (*QueryAllApplicationsRequest) ProtoReflect ¶
func (x *QueryAllApplicationsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllApplicationsRequest) Reset ¶
func (x *QueryAllApplicationsRequest) Reset()
func (*QueryAllApplicationsRequest) String ¶
func (x *QueryAllApplicationsRequest) String() string
type QueryAllApplicationsResponse ¶
type QueryAllApplicationsResponse struct { Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllApplicationsResponse) Descriptor
deprecated
func (*QueryAllApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllApplicationsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllApplicationsResponse) GetApplications ¶
func (x *QueryAllApplicationsResponse) GetApplications() []*Application
func (*QueryAllApplicationsResponse) GetPagination ¶
func (x *QueryAllApplicationsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllApplicationsResponse) ProtoMessage ¶
func (*QueryAllApplicationsResponse) ProtoMessage()
func (*QueryAllApplicationsResponse) ProtoReflect ¶
func (x *QueryAllApplicationsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllApplicationsResponse) Reset ¶
func (x *QueryAllApplicationsResponse) Reset()
func (*QueryAllApplicationsResponse) String ¶
func (x *QueryAllApplicationsResponse) String() string
type QueryClient ¶ added in v0.0.3
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 Application items. Application(ctx context.Context, in *QueryGetApplicationRequest, opts ...grpc.CallOption) (*QueryGetApplicationResponse, error) AllApplications(ctx context.Context, in *QueryAllApplicationsRequest, opts ...grpc.CallOption) (*QueryAllApplicationsResponse, 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.
Query defines the gRPC querier service.
func NewQueryClient ¶ added in v0.0.3
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGetApplicationRequest ¶
type QueryGetApplicationRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryGetApplicationRequest) Descriptor
deprecated
func (*QueryGetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetApplicationRequest.ProtoReflect.Descriptor instead.
func (*QueryGetApplicationRequest) GetAddress ¶
func (x *QueryGetApplicationRequest) GetAddress() string
func (*QueryGetApplicationRequest) ProtoMessage ¶
func (*QueryGetApplicationRequest) ProtoMessage()
func (*QueryGetApplicationRequest) ProtoReflect ¶
func (x *QueryGetApplicationRequest) ProtoReflect() protoreflect.Message
func (*QueryGetApplicationRequest) Reset ¶
func (x *QueryGetApplicationRequest) Reset()
func (*QueryGetApplicationRequest) String ¶
func (x *QueryGetApplicationRequest) String() string
type QueryGetApplicationResponse ¶
type QueryGetApplicationResponse struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*QueryGetApplicationResponse) Descriptor
deprecated
func (*QueryGetApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetApplicationResponse.ProtoReflect.Descriptor instead.
func (*QueryGetApplicationResponse) GetApplication ¶
func (x *QueryGetApplicationResponse) GetApplication() *Application
func (*QueryGetApplicationResponse) ProtoMessage ¶
func (*QueryGetApplicationResponse) ProtoMessage()
func (*QueryGetApplicationResponse) ProtoReflect ¶
func (x *QueryGetApplicationResponse) ProtoReflect() protoreflect.Message
func (*QueryGetApplicationResponse) Reset ¶
func (x *QueryGetApplicationResponse) Reset()
func (*QueryGetApplicationResponse) String ¶
func (x *QueryGetApplicationResponse) 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 ¶ added in v0.0.3
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Application items. Application(context.Context, *QueryGetApplicationRequest) (*QueryGetApplicationResponse, error) AllApplications(context.Context, *QueryAllApplicationsRequest) (*QueryAllApplicationsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
Query defines the gRPC querier service.
type UndelegatingGatewayList ¶ added in v0.0.2
type UndelegatingGatewayList struct { GatewayAddresses []string `protobuf:"bytes,2,rep,name=gateway_addresses,json=gatewayAddresses,proto3" json:"gateway_addresses,omitempty"` // contains filtered or unexported fields }
UndelegatingGatewayList is used as the Value of `pending_undelegations`. It is required to store a repeated list of strings as a map value.
func (*UndelegatingGatewayList) Descriptor
deprecated
added in
v0.0.2
func (*UndelegatingGatewayList) Descriptor() ([]byte, []int)
Deprecated: Use UndelegatingGatewayList.ProtoReflect.Descriptor instead.
func (*UndelegatingGatewayList) GetGatewayAddresses ¶ added in v0.0.2
func (x *UndelegatingGatewayList) GetGatewayAddresses() []string
func (*UndelegatingGatewayList) ProtoMessage ¶ added in v0.0.2
func (*UndelegatingGatewayList) ProtoMessage()
func (*UndelegatingGatewayList) ProtoReflect ¶ added in v0.0.2
func (x *UndelegatingGatewayList) ProtoReflect() protoreflect.Message
func (*UndelegatingGatewayList) Reset ¶ added in v0.0.2
func (x *UndelegatingGatewayList) Reset()
func (*UndelegatingGatewayList) String ¶ added in v0.0.2
func (x *UndelegatingGatewayList) String() string
type UnimplementedMsgServer ¶ added in v0.0.3
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) DelegateToGateway ¶ added in v0.0.3
func (UnimplementedMsgServer) DelegateToGateway(context.Context, *MsgDelegateToGateway) (*MsgDelegateToGatewayResponse, error)
func (UnimplementedMsgServer) StakeApplication ¶ added in v0.0.3
func (UnimplementedMsgServer) StakeApplication(context.Context, *MsgStakeApplication) (*MsgStakeApplicationResponse, error)
func (UnimplementedMsgServer) TransferApplication ¶ added in v0.0.10
func (UnimplementedMsgServer) TransferApplication(context.Context, *MsgTransferApplication) (*MsgTransferApplicationResponse, error)
func (UnimplementedMsgServer) UndelegateFromGateway ¶ added in v0.0.3
func (UnimplementedMsgServer) UndelegateFromGateway(context.Context, *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error)
func (UnimplementedMsgServer) UnstakeApplication ¶ added in v0.0.3
func (UnimplementedMsgServer) UnstakeApplication(context.Context, *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error)
func (UnimplementedMsgServer) UpdateParam ¶ added in v0.0.10
func (UnimplementedMsgServer) UpdateParam(context.Context, *MsgUpdateParam) (*MsgUpdateParamResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶ added in v0.0.3
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶ added in v0.0.3
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllApplications ¶ added in v0.0.3
func (UnimplementedQueryServer) AllApplications(context.Context, *QueryAllApplicationsRequest) (*QueryAllApplicationsResponse, error)
func (UnimplementedQueryServer) Application ¶ added in v0.0.3
func (UnimplementedQueryServer) Application(context.Context, *QueryGetApplicationRequest) (*QueryGetApplicationResponse, error)
func (UnimplementedQueryServer) Params ¶ added in v0.0.3
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶ added in v0.0.3
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 ¶ added in v0.0.3
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.