Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ApplicationKey(appAddr string) []byte
- func GetApplicationUnbondingHeight(sharedParams *sharedtypes.Params, application *Application) int64
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type Application
- func (*Application) Descriptor() ([]byte, []int)
- func (m *Application) GetAddress() string
- func (m *Application) GetDelegateeGatewayAddresses() []string
- func (m *Application) GetPendingUndelegations() map[uint64]UndelegatingGatewayList
- func (m *Application) GetServiceConfigs() []*types1.ApplicationServiceConfig
- func (m *Application) GetStake() *types.Coin
- func (m *Application) GetUnstakeSessionEndHeight() uint64
- func (s *Application) IsActive(queryHeight int64) bool
- func (s *Application) IsUnbonding() bool
- func (m *Application) Marshal() (dAtA []byte, err error)
- func (m *Application) MarshalTo(dAtA []byte) (int, error)
- func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Application) ProtoMessage()
- func (m *Application) Reset()
- func (m *Application) Size() (n int)
- func (m *Application) String() string
- func (m *Application) Unmarshal(dAtA []byte) error
- func (m *Application) XXX_DiscardUnknown()
- func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Application) XXX_Merge(src proto.Message)
- func (m *Application) XXX_Size() int
- func (m *Application) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type EventRedelegation
- func (*EventRedelegation) Descriptor() ([]byte, []int)
- func (m *EventRedelegation) GetAppAddress() string
- func (m *EventRedelegation) GetGatewayAddress() string
- func (m *EventRedelegation) Marshal() (dAtA []byte, err error)
- func (m *EventRedelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRedelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRedelegation) ProtoMessage()
- func (m *EventRedelegation) Reset()
- func (m *EventRedelegation) Size() (n int)
- func (m *EventRedelegation) String() string
- func (m *EventRedelegation) Unmarshal(dAtA []byte) error
- func (m *EventRedelegation) XXX_DiscardUnknown()
- func (m *EventRedelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRedelegation) XXX_Merge(src proto.Message)
- func (m *EventRedelegation) XXX_Size() int
- func (m *EventRedelegation) XXX_Unmarshal(b []byte) error
- type GatewayKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetApplicationList() []Application
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDelegateToGateway
- func (*MsgDelegateToGateway) Descriptor() ([]byte, []int)
- func (m *MsgDelegateToGateway) GetAppAddress() string
- func (m *MsgDelegateToGateway) GetGatewayAddress() string
- func (m *MsgDelegateToGateway) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateToGateway) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateToGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgDelegateToGateway) NewRedelegationEvent() *EventRedelegation
- func (*MsgDelegateToGateway) ProtoMessage()
- func (m *MsgDelegateToGateway) Reset()
- func (m *MsgDelegateToGateway) Size() (n int)
- func (m *MsgDelegateToGateway) String() string
- func (m *MsgDelegateToGateway) Unmarshal(dAtA []byte) error
- func (msg *MsgDelegateToGateway) ValidateBasic() error
- func (m *MsgDelegateToGateway) XXX_DiscardUnknown()
- func (m *MsgDelegateToGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateToGateway) XXX_Merge(src proto.Message)
- func (m *MsgDelegateToGateway) XXX_Size() int
- func (m *MsgDelegateToGateway) XXX_Unmarshal(b []byte) error
- type MsgDelegateToGatewayResponse
- func (*MsgDelegateToGatewayResponse) Descriptor() ([]byte, []int)
- func (m *MsgDelegateToGatewayResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateToGatewayResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateToGatewayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateToGatewayResponse) ProtoMessage()
- func (m *MsgDelegateToGatewayResponse) Reset()
- func (m *MsgDelegateToGatewayResponse) Size() (n int)
- func (m *MsgDelegateToGatewayResponse) String() string
- func (m *MsgDelegateToGatewayResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDelegateToGatewayResponse) XXX_DiscardUnknown()
- func (m *MsgDelegateToGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateToGatewayResponse) XXX_Merge(src proto.Message)
- func (m *MsgDelegateToGatewayResponse) XXX_Size() int
- func (m *MsgDelegateToGatewayResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStakeApplication
- func (*MsgStakeApplication) Descriptor() ([]byte, []int)
- func (m *MsgStakeApplication) GetAddress() string
- func (m *MsgStakeApplication) GetServices() []*types1.ApplicationServiceConfig
- func (m *MsgStakeApplication) GetStake() *types.Coin
- func (m *MsgStakeApplication) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeApplication) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeApplication) ProtoMessage()
- func (m *MsgStakeApplication) Reset()
- func (m *MsgStakeApplication) Size() (n int)
- func (m *MsgStakeApplication) String() string
- func (m *MsgStakeApplication) Unmarshal(dAtA []byte) error
- func (msg *MsgStakeApplication) ValidateBasic() error
- func (m *MsgStakeApplication) XXX_DiscardUnknown()
- func (m *MsgStakeApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeApplication) XXX_Merge(src proto.Message)
- func (m *MsgStakeApplication) XXX_Size() int
- func (m *MsgStakeApplication) XXX_Unmarshal(b []byte) error
- type MsgStakeApplicationResponse
- func (*MsgStakeApplicationResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeApplicationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeApplicationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeApplicationResponse) ProtoMessage()
- func (m *MsgStakeApplicationResponse) Reset()
- func (m *MsgStakeApplicationResponse) Size() (n int)
- func (m *MsgStakeApplicationResponse) String() string
- func (m *MsgStakeApplicationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeApplicationResponse) XXX_DiscardUnknown()
- func (m *MsgStakeApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeApplicationResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeApplicationResponse) XXX_Size() int
- func (m *MsgStakeApplicationResponse) XXX_Unmarshal(b []byte) error
- type MsgUndelegateFromGateway
- func (*MsgUndelegateFromGateway) Descriptor() ([]byte, []int)
- func (m *MsgUndelegateFromGateway) GetAppAddress() string
- func (m *MsgUndelegateFromGateway) GetGatewayAddress() string
- func (m *MsgUndelegateFromGateway) Marshal() (dAtA []byte, err error)
- func (m *MsgUndelegateFromGateway) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUndelegateFromGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgUndelegateFromGateway) NewRedelegationEvent() *EventRedelegation
- func (*MsgUndelegateFromGateway) ProtoMessage()
- func (m *MsgUndelegateFromGateway) Reset()
- func (m *MsgUndelegateFromGateway) Size() (n int)
- func (m *MsgUndelegateFromGateway) String() string
- func (m *MsgUndelegateFromGateway) Unmarshal(dAtA []byte) error
- func (msg *MsgUndelegateFromGateway) ValidateBasic() error
- func (m *MsgUndelegateFromGateway) XXX_DiscardUnknown()
- func (m *MsgUndelegateFromGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUndelegateFromGateway) XXX_Merge(src proto.Message)
- func (m *MsgUndelegateFromGateway) XXX_Size() int
- func (m *MsgUndelegateFromGateway) XXX_Unmarshal(b []byte) error
- type MsgUndelegateFromGatewayResponse
- func (*MsgUndelegateFromGatewayResponse) Descriptor() ([]byte, []int)
- func (m *MsgUndelegateFromGatewayResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUndelegateFromGatewayResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUndelegateFromGatewayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUndelegateFromGatewayResponse) ProtoMessage()
- func (m *MsgUndelegateFromGatewayResponse) Reset()
- func (m *MsgUndelegateFromGatewayResponse) Size() (n int)
- func (m *MsgUndelegateFromGatewayResponse) String() string
- func (m *MsgUndelegateFromGatewayResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUndelegateFromGatewayResponse) XXX_DiscardUnknown()
- func (m *MsgUndelegateFromGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUndelegateFromGatewayResponse) XXX_Merge(src proto.Message)
- func (m *MsgUndelegateFromGatewayResponse) XXX_Size() int
- func (m *MsgUndelegateFromGatewayResponse) XXX_Unmarshal(b []byte) error
- type MsgUnstakeApplication
- func (*MsgUnstakeApplication) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeApplication) GetAddress() string
- func (m *MsgUnstakeApplication) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeApplication) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeApplication) ProtoMessage()
- func (m *MsgUnstakeApplication) Reset()
- func (m *MsgUnstakeApplication) Size() (n int)
- func (m *MsgUnstakeApplication) String() string
- func (m *MsgUnstakeApplication) Unmarshal(dAtA []byte) error
- func (msg *MsgUnstakeApplication) ValidateBasic() error
- func (m *MsgUnstakeApplication) XXX_DiscardUnknown()
- func (m *MsgUnstakeApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeApplication) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeApplication) XXX_Size() int
- func (m *MsgUnstakeApplication) XXX_Unmarshal(b []byte) error
- type MsgUnstakeApplicationResponse
- func (*MsgUnstakeApplicationResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeApplicationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeApplicationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeApplicationResponse) ProtoMessage()
- func (m *MsgUnstakeApplicationResponse) Reset()
- func (m *MsgUnstakeApplicationResponse) Size() (n int)
- func (m *MsgUnstakeApplicationResponse) String() string
- func (m *MsgUnstakeApplicationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnstakeApplicationResponse) XXX_DiscardUnknown()
- func (m *MsgUnstakeApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeApplicationResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeApplicationResponse) XXX_Size() int
- func (m *MsgUnstakeApplicationResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxDelegatedGateways() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllApplicationsRequest
- func (*QueryAllApplicationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllApplicationsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllApplicationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllApplicationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllApplicationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllApplicationsRequest) ProtoMessage()
- func (m *QueryAllApplicationsRequest) Reset()
- func (m *QueryAllApplicationsRequest) Size() (n int)
- func (m *QueryAllApplicationsRequest) String() string
- func (m *QueryAllApplicationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllApplicationsRequest) XXX_DiscardUnknown()
- func (m *QueryAllApplicationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllApplicationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllApplicationsRequest) XXX_Size() int
- func (m *QueryAllApplicationsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllApplicationsResponse
- func (*QueryAllApplicationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllApplicationsResponse) GetApplications() []Application
- func (m *QueryAllApplicationsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllApplicationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllApplicationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllApplicationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllApplicationsResponse) ProtoMessage()
- func (m *QueryAllApplicationsResponse) Reset()
- func (m *QueryAllApplicationsResponse) Size() (n int)
- func (m *QueryAllApplicationsResponse) String() string
- func (m *QueryAllApplicationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllApplicationsResponse) XXX_DiscardUnknown()
- func (m *QueryAllApplicationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllApplicationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllApplicationsResponse) XXX_Size() int
- func (m *QueryAllApplicationsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetApplicationRequest
- func (*QueryGetApplicationRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetApplicationRequest) GetAddress() string
- func (m *QueryGetApplicationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetApplicationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetApplicationRequest) ProtoMessage()
- func (m *QueryGetApplicationRequest) Reset()
- func (m *QueryGetApplicationRequest) Size() (n int)
- func (m *QueryGetApplicationRequest) String() string
- func (m *QueryGetApplicationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetApplicationRequest) XXX_DiscardUnknown()
- func (m *QueryGetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetApplicationRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetApplicationRequest) XXX_Size() int
- func (m *QueryGetApplicationRequest) XXX_Unmarshal(b []byte) error
- type QueryGetApplicationResponse
- func (*QueryGetApplicationResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetApplicationResponse) GetApplication() Application
- func (m *QueryGetApplicationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetApplicationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetApplicationResponse) ProtoMessage()
- func (m *QueryGetApplicationResponse) Reset()
- func (m *QueryGetApplicationResponse) Size() (n int)
- func (m *QueryGetApplicationResponse) String() string
- func (m *QueryGetApplicationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetApplicationResponse) XXX_DiscardUnknown()
- func (m *QueryGetApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetApplicationResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetApplicationResponse) XXX_Size() int
- func (m *QueryGetApplicationResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SharedKeeper
- type UndelegatingGatewayList
- func (*UndelegatingGatewayList) Descriptor() ([]byte, []int)
- func (m *UndelegatingGatewayList) GetGatewayAddresses() []string
- func (m *UndelegatingGatewayList) Marshal() (dAtA []byte, err error)
- func (m *UndelegatingGatewayList) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegatingGatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegatingGatewayList) ProtoMessage()
- func (m *UndelegatingGatewayList) Reset()
- func (m *UndelegatingGatewayList) Size() (n int)
- func (m *UndelegatingGatewayList) String() string
- func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error
- func (m *UndelegatingGatewayList) XXX_DiscardUnknown()
- func (m *UndelegatingGatewayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegatingGatewayList) XXX_Merge(src proto.Message)
- func (m *UndelegatingGatewayList) XXX_Size() int
- func (m *UndelegatingGatewayList) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) DelegateToGateway(ctx context.Context, req *MsgDelegateToGateway) (*MsgDelegateToGatewayResponse, error)
- func (*UnimplementedMsgServer) StakeApplication(ctx context.Context, req *MsgStakeApplication) (*MsgStakeApplicationResponse, error)
- func (*UnimplementedMsgServer) UndelegateFromGateway(ctx context.Context, req *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error)
- func (*UnimplementedMsgServer) UnstakeApplication(ctx context.Context, req *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllApplications(ctx context.Context, req *QueryAllApplicationsRequest) (*QueryAllApplicationsResponse, error)
- func (*UnimplementedQueryServer) Application(ctx context.Context, req *QueryGetApplicationRequest) (*QueryGetApplicationResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "application" // StoreKey defines the primary module store key StoreKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_application" )
const (
// ApplicationKeyPrefix is the prefix to retrieve all Application
ApplicationKeyPrefix = "Application/address/"
)
const ApplicationNotUnstaking uint64 = 0
ApplicationNotUnstaking is the value of `unstake_session_end_height` if the application is not actively in the unbonding period.
const ParamMaxDelegatedGateways = "max_delegated_gateways"
Variables ¶
var ( ErrAppInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message") ErrAppInvalidStake = sdkerrors.Register(ModuleName, 1101, "invalid application stake") ErrAppInvalidAddress = sdkerrors.Register(ModuleName, 1102, "invalid application address") ErrAppNotFound = sdkerrors.Register(ModuleName, 1104, "application not found") ErrAppInvalidServiceConfigs = sdkerrors.Register(ModuleName, 1106, "invalid service configs") ErrAppGatewayNotFound = sdkerrors.Register(ModuleName, 1107, "gateway not found") ErrAppInvalidGatewayAddress = sdkerrors.Register(ModuleName, 1108, "invalid gateway address") ErrAppAlreadyDelegated = sdkerrors.Register(ModuleName, 1109, "application already delegated to gateway") ErrAppMaxDelegatedGateways = sdkerrors.Register(ModuleName, 1110, "maximum number of delegated gateways reached") ErrAppInvalidMaxDelegatedGateways = sdkerrors.Register(ModuleName, 1111, "invalid MaxDelegatedGateways parameter") ErrAppNotDelegated = sdkerrors.Register(ModuleName, 1112, "application not delegated to gateway") ErrAppIsUnstaking = sdkerrors.Register(ModuleName, 1113, "application is in unbonding period") )
x/application module sentinel errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyMaxDelegatedGateways = []byte("MaxDelegatedGateways") // TODO_MAINNET: Determine the default value DefaultMaxDelegatedGateways uint64 = 7 )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var ParamsKey = []byte("p_application")
Functions ¶
func ApplicationKey ¶
ApplicationKey returns the store key to retrieve a Application from the index fields
func GetApplicationUnbondingHeight ¶ added in v0.0.7
func GetApplicationUnbondingHeight( sharedParams *sharedtypes.Params, application *Application, ) int64
GetApplicationUnbondingHeight returns the session end height at which the given application finishes unbonding.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶ added in v0.0.3
func RegisterQueryHandler ¶ added in v0.0.3
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.0.3
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶ added in v0.0.3
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶ added in v0.0.3
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v0.0.3
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}
AccountKeeper defines the expected interface for the Account module.
type Application ¶ added in v0.0.3
type Application struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Stake *types.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // TODO_BETA(@red-0ne, @olshansk): Limit this to one service_config. // Remove `repeated`, drop the `s` from service_configs and document why // this is the case in the app config (and here) per this discussion: // https://github.com/pokt-network/poktroll/pull/750#discussion_r1735025033 ServiceConfigs []*types1.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"` // TODO_BETA: Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to`. // Ensure to rename all relevant configs, comments, variables, function names, etc as well. DelegateeGatewayAddresses []string `` /* 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 `` /* 200-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 */ }
Application defines the type used to store an on-chain definition and state for an application
func (*Application) Descriptor ¶ added in v0.0.3
func (*Application) Descriptor() ([]byte, []int)
func (*Application) GetAddress ¶ added in v0.0.3
func (m *Application) GetAddress() string
func (*Application) GetDelegateeGatewayAddresses ¶ added in v0.0.3
func (m *Application) GetDelegateeGatewayAddresses() []string
func (*Application) GetPendingUndelegations ¶ added in v0.0.3
func (m *Application) GetPendingUndelegations() map[uint64]UndelegatingGatewayList
func (*Application) GetServiceConfigs ¶ added in v0.0.3
func (m *Application) GetServiceConfigs() []*types1.ApplicationServiceConfig
func (*Application) GetStake ¶ added in v0.0.3
func (m *Application) GetStake() *types.Coin
func (*Application) GetUnstakeSessionEndHeight ¶ added in v0.0.7
func (m *Application) GetUnstakeSessionEndHeight() uint64
func (*Application) IsActive ¶ added in v0.0.7
func (s *Application) IsActive(queryHeight int64) bool
IsActive returns whether the application is allowed to request services at the given query height. An application that has not submitted an unstake message is always active. An application that has submitted an unstake message is active until the end of the session containing the height at which unstake message was submitted.
func (*Application) IsUnbonding ¶ added in v0.0.7
func (s *Application) IsUnbonding() bool
IsUnbonding returns true if the application is actively unbonding. It determines if the application has submitted an unstake message, in which case the application has its UnstakeSessionEndHeight set.
func (*Application) Marshal ¶ added in v0.0.3
func (m *Application) Marshal() (dAtA []byte, err error)
func (*Application) MarshalTo ¶ added in v0.0.3
func (m *Application) MarshalTo(dAtA []byte) (int, error)
func (*Application) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Application) ProtoMessage ¶ added in v0.0.3
func (*Application) ProtoMessage()
func (*Application) Reset ¶ added in v0.0.3
func (m *Application) Reset()
func (*Application) Size ¶ added in v0.0.3
func (m *Application) Size() (n int)
func (*Application) String ¶ added in v0.0.3
func (m *Application) String() string
func (*Application) Unmarshal ¶ added in v0.0.3
func (m *Application) Unmarshal(dAtA []byte) error
func (*Application) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *Application) XXX_DiscardUnknown()
func (*Application) XXX_Marshal ¶ added in v0.0.3
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Application) XXX_Merge ¶ added in v0.0.3
func (m *Application) XXX_Merge(src proto.Message)
func (*Application) XXX_Size ¶ added in v0.0.3
func (m *Application) XXX_Size() int
func (*Application) XXX_Unmarshal ¶ added in v0.0.3
func (m *Application) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { // We use the bankkeeper SendXXX instead of DelegateXX methods // because their purpose is to "escrow" funds on behalf of an account rather // than "delegate" funds from one account to another which is more closely // linked to staking. SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface for the Bank module.
type EventRedelegation ¶ added in v0.0.3
type EventRedelegation struct { AppAddress string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"` GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` }
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 ¶ added in v0.0.3
func (*EventRedelegation) Descriptor() ([]byte, []int)
func (*EventRedelegation) GetAppAddress ¶ added in v0.0.3
func (m *EventRedelegation) GetAppAddress() string
func (*EventRedelegation) GetGatewayAddress ¶ added in v0.0.3
func (m *EventRedelegation) GetGatewayAddress() string
func (*EventRedelegation) Marshal ¶ added in v0.0.3
func (m *EventRedelegation) Marshal() (dAtA []byte, err error)
func (*EventRedelegation) MarshalTo ¶ added in v0.0.3
func (m *EventRedelegation) MarshalTo(dAtA []byte) (int, error)
func (*EventRedelegation) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *EventRedelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRedelegation) ProtoMessage ¶ added in v0.0.3
func (*EventRedelegation) ProtoMessage()
func (*EventRedelegation) Reset ¶ added in v0.0.3
func (m *EventRedelegation) Reset()
func (*EventRedelegation) Size ¶ added in v0.0.3
func (m *EventRedelegation) Size() (n int)
func (*EventRedelegation) String ¶ added in v0.0.3
func (m *EventRedelegation) String() string
func (*EventRedelegation) Unmarshal ¶ added in v0.0.3
func (m *EventRedelegation) Unmarshal(dAtA []byte) error
func (*EventRedelegation) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *EventRedelegation) XXX_DiscardUnknown()
func (*EventRedelegation) XXX_Marshal ¶ added in v0.0.3
func (m *EventRedelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRedelegation) XXX_Merge ¶ added in v0.0.3
func (m *EventRedelegation) XXX_Merge(src proto.Message)
func (*EventRedelegation) XXX_Size ¶ added in v0.0.3
func (m *EventRedelegation) XXX_Size() int
func (*EventRedelegation) XXX_Unmarshal ¶ added in v0.0.3
func (m *EventRedelegation) XXX_Unmarshal(b []byte) error
type GatewayKeeper ¶
type GatewayKeeper interface {
GetGateway(ctx context.Context, addr string) (gatewaytypes.Gateway, bool)
}
GatewayKeeper defines the expected interface needed to retrieve gateway information.
type GenesisState ¶ added in v0.0.3
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ApplicationList []Application `protobuf:"bytes,2,rep,name=application_list,json=applicationList,proto3" json:"application_list"` }
GenesisState defines the application module's genesis state.
func DefaultGenesis ¶ added in v0.0.3
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶ added in v0.0.3
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetApplicationList ¶ added in v0.0.3
func (m *GenesisState) GetApplicationList() []Application
func (*GenesisState) GetParams ¶ added in v0.0.3
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶ added in v0.0.3
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.0.3
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.0.3
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.0.3
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.0.3
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.0.3
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.0.3
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶ added in v0.0.3
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.0.3
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.0.3
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.0.3
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.0.3
func (m *GenesisState) XXX_Unmarshal(b []byte) error
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) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶ added in v0.0.3
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDelegateToGateway ¶ added in v0.0.3
type MsgDelegateToGateway struct { AppAddress string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"` GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` }
func NewMsgDelegateToGateway ¶ added in v0.0.3
func NewMsgDelegateToGateway(appAddress, gatewayAddress string) *MsgDelegateToGateway
func (*MsgDelegateToGateway) Descriptor ¶ added in v0.0.3
func (*MsgDelegateToGateway) Descriptor() ([]byte, []int)
func (*MsgDelegateToGateway) GetAppAddress ¶ added in v0.0.3
func (m *MsgDelegateToGateway) GetAppAddress() string
func (*MsgDelegateToGateway) GetGatewayAddress ¶ added in v0.0.3
func (m *MsgDelegateToGateway) GetGatewayAddress() string
func (*MsgDelegateToGateway) Marshal ¶ added in v0.0.3
func (m *MsgDelegateToGateway) Marshal() (dAtA []byte, err error)
func (*MsgDelegateToGateway) MarshalTo ¶ added in v0.0.3
func (m *MsgDelegateToGateway) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateToGateway) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDelegateToGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateToGateway) NewRedelegationEvent ¶ added in v0.0.3
func (msg *MsgDelegateToGateway) NewRedelegationEvent() *EventRedelegation
func (*MsgDelegateToGateway) ProtoMessage ¶ added in v0.0.3
func (*MsgDelegateToGateway) ProtoMessage()
func (*MsgDelegateToGateway) Reset ¶ added in v0.0.3
func (m *MsgDelegateToGateway) Reset()
func (*MsgDelegateToGateway) Size ¶ added in v0.0.3
func (m *MsgDelegateToGateway) Size() (n int)
func (*MsgDelegateToGateway) String ¶ added in v0.0.3
func (m *MsgDelegateToGateway) String() string
func (*MsgDelegateToGateway) Unmarshal ¶ added in v0.0.3
func (m *MsgDelegateToGateway) Unmarshal(dAtA []byte) error
func (*MsgDelegateToGateway) ValidateBasic ¶ added in v0.0.3
func (msg *MsgDelegateToGateway) ValidateBasic() error
func (*MsgDelegateToGateway) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDelegateToGateway) XXX_DiscardUnknown()
func (*MsgDelegateToGateway) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDelegateToGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateToGateway) XXX_Merge ¶ added in v0.0.3
func (m *MsgDelegateToGateway) XXX_Merge(src proto.Message)
func (*MsgDelegateToGateway) XXX_Size ¶ added in v0.0.3
func (m *MsgDelegateToGateway) XXX_Size() int
func (*MsgDelegateToGateway) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDelegateToGateway) XXX_Unmarshal(b []byte) error
type MsgDelegateToGatewayResponse ¶ added in v0.0.3
type MsgDelegateToGatewayResponse struct { }
func (*MsgDelegateToGatewayResponse) Descriptor ¶ added in v0.0.3
func (*MsgDelegateToGatewayResponse) Descriptor() ([]byte, []int)
func (*MsgDelegateToGatewayResponse) Marshal ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) Marshal() (dAtA []byte, err error)
func (*MsgDelegateToGatewayResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateToGatewayResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateToGatewayResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgDelegateToGatewayResponse) ProtoMessage()
func (*MsgDelegateToGatewayResponse) Reset ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) Reset()
func (*MsgDelegateToGatewayResponse) Size ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) Size() (n int)
func (*MsgDelegateToGatewayResponse) String ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) String() string
func (*MsgDelegateToGatewayResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) Unmarshal(dAtA []byte) error
func (*MsgDelegateToGatewayResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) XXX_DiscardUnknown()
func (*MsgDelegateToGatewayResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateToGatewayResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) XXX_Merge(src proto.Message)
func (*MsgDelegateToGatewayResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) XXX_Size() int
func (*MsgDelegateToGatewayResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDelegateToGatewayResponse) XXX_Unmarshal(b []byte) error
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) }
MsgServer is the server API for Msg service.
type MsgStakeApplication ¶ added in v0.0.3
type MsgStakeApplication struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Stake *types.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` Services []*types1.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` }
func NewMsgStakeApplication ¶ added in v0.0.3
func NewMsgStakeApplication( appAddr string, stake sdk.Coin, appServiceConfigs []*sharedtypes.ApplicationServiceConfig, ) *MsgStakeApplication
TODO_TECHDEBT: See `NewMsgStakeSupplier` and follow the same pattern for the `Services` parameter
func (*MsgStakeApplication) Descriptor ¶ added in v0.0.3
func (*MsgStakeApplication) Descriptor() ([]byte, []int)
func (*MsgStakeApplication) GetAddress ¶ added in v0.0.3
func (m *MsgStakeApplication) GetAddress() string
func (*MsgStakeApplication) GetServices ¶ added in v0.0.3
func (m *MsgStakeApplication) GetServices() []*types1.ApplicationServiceConfig
func (*MsgStakeApplication) GetStake ¶ added in v0.0.3
func (m *MsgStakeApplication) GetStake() *types.Coin
func (*MsgStakeApplication) Marshal ¶ added in v0.0.3
func (m *MsgStakeApplication) Marshal() (dAtA []byte, err error)
func (*MsgStakeApplication) MarshalTo ¶ added in v0.0.3
func (m *MsgStakeApplication) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeApplication) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgStakeApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeApplication) ProtoMessage ¶ added in v0.0.3
func (*MsgStakeApplication) ProtoMessage()
func (*MsgStakeApplication) Reset ¶ added in v0.0.3
func (m *MsgStakeApplication) Reset()
func (*MsgStakeApplication) Size ¶ added in v0.0.3
func (m *MsgStakeApplication) Size() (n int)
func (*MsgStakeApplication) String ¶ added in v0.0.3
func (m *MsgStakeApplication) String() string
func (*MsgStakeApplication) Unmarshal ¶ added in v0.0.3
func (m *MsgStakeApplication) Unmarshal(dAtA []byte) error
func (*MsgStakeApplication) ValidateBasic ¶ added in v0.0.3
func (msg *MsgStakeApplication) ValidateBasic() error
func (*MsgStakeApplication) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgStakeApplication) XXX_DiscardUnknown()
func (*MsgStakeApplication) XXX_Marshal ¶ added in v0.0.3
func (m *MsgStakeApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeApplication) XXX_Merge ¶ added in v0.0.3
func (m *MsgStakeApplication) XXX_Merge(src proto.Message)
func (*MsgStakeApplication) XXX_Size ¶ added in v0.0.3
func (m *MsgStakeApplication) XXX_Size() int
func (*MsgStakeApplication) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgStakeApplication) XXX_Unmarshal(b []byte) error
type MsgStakeApplicationResponse ¶ added in v0.0.3
type MsgStakeApplicationResponse struct { }
func (*MsgStakeApplicationResponse) Descriptor ¶ added in v0.0.3
func (*MsgStakeApplicationResponse) Descriptor() ([]byte, []int)
func (*MsgStakeApplicationResponse) Marshal ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeApplicationResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeApplicationResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeApplicationResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgStakeApplicationResponse) ProtoMessage()
func (*MsgStakeApplicationResponse) Reset ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) Reset()
func (*MsgStakeApplicationResponse) Size ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) Size() (n int)
func (*MsgStakeApplicationResponse) String ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) String() string
func (*MsgStakeApplicationResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeApplicationResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) XXX_DiscardUnknown()
func (*MsgStakeApplicationResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeApplicationResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) XXX_Merge(src proto.Message)
func (*MsgStakeApplicationResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) XXX_Size() int
func (*MsgStakeApplicationResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgStakeApplicationResponse) XXX_Unmarshal(b []byte) error
type MsgUndelegateFromGateway ¶ added in v0.0.3
type MsgUndelegateFromGateway struct { AppAddress string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"` GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` }
func NewMsgUndelegateFromGateway ¶ added in v0.0.3
func NewMsgUndelegateFromGateway(appAddress string, gatewayAddress string) *MsgUndelegateFromGateway
func (*MsgUndelegateFromGateway) Descriptor ¶ added in v0.0.3
func (*MsgUndelegateFromGateway) Descriptor() ([]byte, []int)
func (*MsgUndelegateFromGateway) GetAppAddress ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) GetAppAddress() string
func (*MsgUndelegateFromGateway) GetGatewayAddress ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) GetGatewayAddress() string
func (*MsgUndelegateFromGateway) Marshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) Marshal() (dAtA []byte, err error)
func (*MsgUndelegateFromGateway) MarshalTo ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) MarshalTo(dAtA []byte) (int, error)
func (*MsgUndelegateFromGateway) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUndelegateFromGateway) NewRedelegationEvent ¶ added in v0.0.3
func (msg *MsgUndelegateFromGateway) NewRedelegationEvent() *EventRedelegation
func (*MsgUndelegateFromGateway) ProtoMessage ¶ added in v0.0.3
func (*MsgUndelegateFromGateway) ProtoMessage()
func (*MsgUndelegateFromGateway) Reset ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) Reset()
func (*MsgUndelegateFromGateway) Size ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) Size() (n int)
func (*MsgUndelegateFromGateway) String ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) String() string
func (*MsgUndelegateFromGateway) Unmarshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) Unmarshal(dAtA []byte) error
func (*MsgUndelegateFromGateway) ValidateBasic ¶ added in v0.0.3
func (msg *MsgUndelegateFromGateway) ValidateBasic() error
func (*MsgUndelegateFromGateway) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) XXX_DiscardUnknown()
func (*MsgUndelegateFromGateway) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUndelegateFromGateway) XXX_Merge ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) XXX_Merge(src proto.Message)
func (*MsgUndelegateFromGateway) XXX_Size ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) XXX_Size() int
func (*MsgUndelegateFromGateway) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGateway) XXX_Unmarshal(b []byte) error
type MsgUndelegateFromGatewayResponse ¶ added in v0.0.3
type MsgUndelegateFromGatewayResponse struct { }
func (*MsgUndelegateFromGatewayResponse) Descriptor ¶ added in v0.0.3
func (*MsgUndelegateFromGatewayResponse) Descriptor() ([]byte, []int)
func (*MsgUndelegateFromGatewayResponse) Marshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) Marshal() (dAtA []byte, err error)
func (*MsgUndelegateFromGatewayResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUndelegateFromGatewayResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUndelegateFromGatewayResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgUndelegateFromGatewayResponse) ProtoMessage()
func (*MsgUndelegateFromGatewayResponse) Reset ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) Reset()
func (*MsgUndelegateFromGatewayResponse) Size ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) Size() (n int)
func (*MsgUndelegateFromGatewayResponse) String ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) String() string
func (*MsgUndelegateFromGatewayResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) Unmarshal(dAtA []byte) error
func (*MsgUndelegateFromGatewayResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) XXX_DiscardUnknown()
func (*MsgUndelegateFromGatewayResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUndelegateFromGatewayResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) XXX_Merge(src proto.Message)
func (*MsgUndelegateFromGatewayResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) XXX_Size() int
func (*MsgUndelegateFromGatewayResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUndelegateFromGatewayResponse) XXX_Unmarshal(b []byte) error
type MsgUnstakeApplication ¶ added in v0.0.3
type MsgUnstakeApplication struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func NewMsgUnstakeApplication ¶ added in v0.0.3
func NewMsgUnstakeApplication(appAddr string) *MsgUnstakeApplication
func (*MsgUnstakeApplication) Descriptor ¶ added in v0.0.3
func (*MsgUnstakeApplication) Descriptor() ([]byte, []int)
func (*MsgUnstakeApplication) GetAddress ¶ added in v0.0.3
func (m *MsgUnstakeApplication) GetAddress() string
func (*MsgUnstakeApplication) Marshal ¶ added in v0.0.3
func (m *MsgUnstakeApplication) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeApplication) MarshalTo ¶ added in v0.0.3
func (m *MsgUnstakeApplication) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeApplication) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUnstakeApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeApplication) ProtoMessage ¶ added in v0.0.3
func (*MsgUnstakeApplication) ProtoMessage()
func (*MsgUnstakeApplication) Reset ¶ added in v0.0.3
func (m *MsgUnstakeApplication) Reset()
func (*MsgUnstakeApplication) Size ¶ added in v0.0.3
func (m *MsgUnstakeApplication) Size() (n int)
func (*MsgUnstakeApplication) String ¶ added in v0.0.3
func (m *MsgUnstakeApplication) String() string
func (*MsgUnstakeApplication) Unmarshal ¶ added in v0.0.3
func (m *MsgUnstakeApplication) Unmarshal(dAtA []byte) error
func (*MsgUnstakeApplication) ValidateBasic ¶ added in v0.0.3
func (msg *MsgUnstakeApplication) ValidateBasic() error
func (*MsgUnstakeApplication) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUnstakeApplication) XXX_DiscardUnknown()
func (*MsgUnstakeApplication) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUnstakeApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeApplication) XXX_Merge ¶ added in v0.0.3
func (m *MsgUnstakeApplication) XXX_Merge(src proto.Message)
func (*MsgUnstakeApplication) XXX_Size ¶ added in v0.0.3
func (m *MsgUnstakeApplication) XXX_Size() int
func (*MsgUnstakeApplication) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUnstakeApplication) XXX_Unmarshal(b []byte) error
type MsgUnstakeApplicationResponse ¶ added in v0.0.3
type MsgUnstakeApplicationResponse struct { }
func (*MsgUnstakeApplicationResponse) Descriptor ¶ added in v0.0.3
func (*MsgUnstakeApplicationResponse) Descriptor() ([]byte, []int)
func (*MsgUnstakeApplicationResponse) Marshal ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeApplicationResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeApplicationResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeApplicationResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgUnstakeApplicationResponse) ProtoMessage()
func (*MsgUnstakeApplicationResponse) Reset ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) Reset()
func (*MsgUnstakeApplicationResponse) Size ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) Size() (n int)
func (*MsgUnstakeApplicationResponse) String ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) String() string
func (*MsgUnstakeApplicationResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) Unmarshal(dAtA []byte) error
func (*MsgUnstakeApplicationResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) XXX_DiscardUnknown()
func (*MsgUnstakeApplicationResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeApplicationResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) XXX_Merge(src proto.Message)
func (*MsgUnstakeApplicationResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) XXX_Size() int
func (*MsgUnstakeApplicationResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUnstakeApplicationResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.0.3
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"` }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶ added in v0.0.3
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v0.0.3
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.0.3
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v0.0.3
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.0.3
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.0.3
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.0.3
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.0.3
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.0.3
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.0.3
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶ added in v0.0.3
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.0.3
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.0.3
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.0.3
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.0.3
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶ added in v0.0.3
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 `` /* 144-byte string literal not displayed */ }
Params defines the parameters for the module.
func DefaultParams ¶ added in v0.0.3
func DefaultParams() Params
DefaultParams returns a default set of parameters
func (*Params) Descriptor ¶ added in v0.0.3
func (*Params) GetMaxDelegatedGateways ¶ added in v0.0.3
func (*Params) MarshalToSizedBuffer ¶ added in v0.0.3
func (*Params) ParamSetPairs ¶ added in v0.0.3
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶ added in v0.0.3
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.0.3
func (*Params) XXX_Unmarshal ¶ added in v0.0.3
type QueryAllApplicationsRequest ¶ added in v0.0.3
type QueryAllApplicationsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllApplicationsRequest) Descriptor ¶ added in v0.0.3
func (*QueryAllApplicationsRequest) Descriptor() ([]byte, []int)
func (*QueryAllApplicationsRequest) GetPagination ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) GetPagination() *query.PageRequest
func (*QueryAllApplicationsRequest) Marshal ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllApplicationsRequest) MarshalTo ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllApplicationsRequest) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllApplicationsRequest) ProtoMessage ¶ added in v0.0.3
func (*QueryAllApplicationsRequest) ProtoMessage()
func (*QueryAllApplicationsRequest) Reset ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) Reset()
func (*QueryAllApplicationsRequest) Size ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) Size() (n int)
func (*QueryAllApplicationsRequest) String ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) String() string
func (*QueryAllApplicationsRequest) Unmarshal ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllApplicationsRequest) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) XXX_DiscardUnknown()
func (*QueryAllApplicationsRequest) XXX_Marshal ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllApplicationsRequest) XXX_Merge ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) XXX_Merge(src proto.Message)
func (*QueryAllApplicationsRequest) XXX_Size ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) XXX_Size() int
func (*QueryAllApplicationsRequest) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryAllApplicationsRequest) XXX_Unmarshal(b []byte) error
type QueryAllApplicationsResponse ¶ added in v0.0.3
type QueryAllApplicationsResponse struct { Applications []Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllApplicationsResponse) Descriptor ¶ added in v0.0.3
func (*QueryAllApplicationsResponse) Descriptor() ([]byte, []int)
func (*QueryAllApplicationsResponse) GetApplications ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) GetApplications() []Application
func (*QueryAllApplicationsResponse) GetPagination ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) GetPagination() *query.PageResponse
func (*QueryAllApplicationsResponse) Marshal ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllApplicationsResponse) MarshalTo ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllApplicationsResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllApplicationsResponse) ProtoMessage ¶ added in v0.0.3
func (*QueryAllApplicationsResponse) ProtoMessage()
func (*QueryAllApplicationsResponse) Reset ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) Reset()
func (*QueryAllApplicationsResponse) Size ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) Size() (n int)
func (*QueryAllApplicationsResponse) String ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) String() string
func (*QueryAllApplicationsResponse) Unmarshal ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllApplicationsResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) XXX_DiscardUnknown()
func (*QueryAllApplicationsResponse) XXX_Marshal ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllApplicationsResponse) XXX_Merge ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) XXX_Merge(src proto.Message)
func (*QueryAllApplicationsResponse) XXX_Size ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) XXX_Size() int
func (*QueryAllApplicationsResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryAllApplicationsResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶ added in v0.0.3
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetApplicationRequest ¶ added in v0.0.3
type QueryGetApplicationRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetApplicationRequest) Descriptor ¶ added in v0.0.3
func (*QueryGetApplicationRequest) Descriptor() ([]byte, []int)
func (*QueryGetApplicationRequest) GetAddress ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) GetAddress() string
func (*QueryGetApplicationRequest) Marshal ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetApplicationRequest) MarshalTo ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetApplicationRequest) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetApplicationRequest) ProtoMessage ¶ added in v0.0.3
func (*QueryGetApplicationRequest) ProtoMessage()
func (*QueryGetApplicationRequest) Reset ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) Reset()
func (*QueryGetApplicationRequest) Size ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) Size() (n int)
func (*QueryGetApplicationRequest) String ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) String() string
func (*QueryGetApplicationRequest) Unmarshal ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) Unmarshal(dAtA []byte) error
func (*QueryGetApplicationRequest) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) XXX_DiscardUnknown()
func (*QueryGetApplicationRequest) XXX_Marshal ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetApplicationRequest) XXX_Merge ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) XXX_Merge(src proto.Message)
func (*QueryGetApplicationRequest) XXX_Size ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) XXX_Size() int
func (*QueryGetApplicationRequest) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryGetApplicationRequest) XXX_Unmarshal(b []byte) error
type QueryGetApplicationResponse ¶ added in v0.0.3
type QueryGetApplicationResponse struct {
Application Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"`
}
func (*QueryGetApplicationResponse) Descriptor ¶ added in v0.0.3
func (*QueryGetApplicationResponse) Descriptor() ([]byte, []int)
func (*QueryGetApplicationResponse) GetApplication ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) GetApplication() Application
func (*QueryGetApplicationResponse) Marshal ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetApplicationResponse) MarshalTo ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetApplicationResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetApplicationResponse) ProtoMessage ¶ added in v0.0.3
func (*QueryGetApplicationResponse) ProtoMessage()
func (*QueryGetApplicationResponse) Reset ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) Reset()
func (*QueryGetApplicationResponse) Size ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) Size() (n int)
func (*QueryGetApplicationResponse) String ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) String() string
func (*QueryGetApplicationResponse) Unmarshal ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) Unmarshal(dAtA []byte) error
func (*QueryGetApplicationResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) XXX_DiscardUnknown()
func (*QueryGetApplicationResponse) XXX_Marshal ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetApplicationResponse) XXX_Merge ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) XXX_Merge(src proto.Message)
func (*QueryGetApplicationResponse) XXX_Size ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) XXX_Size() int
func (*QueryGetApplicationResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryGetApplicationResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.0.3
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶ added in v0.0.3
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.0.3
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.0.3
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.0.3
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.0.3
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.0.3
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.0.3
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.0.3
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.0.3
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.0.3
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.0.3
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.0.3
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.0.3
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.0.3
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.0.3
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.0.3
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.0.3
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.0.3
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.0.3
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.0.3
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.0.3
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.0.3
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.0.3
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.0.3
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
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) }
QueryServer is the server API for Query service.
type SharedKeeper ¶ added in v0.0.3
type SharedKeeper interface {}
SharedKeeper defines the expected interface needed to retrieve shared information.
type UndelegatingGatewayList ¶ added in v0.0.3
type UndelegatingGatewayList struct {
GatewayAddresses []string `protobuf:"bytes,2,rep,name=gateway_addresses,json=gatewayAddresses,proto3" json:"gateway_addresses,omitempty"`
}
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 ¶ added in v0.0.3
func (*UndelegatingGatewayList) Descriptor() ([]byte, []int)
func (*UndelegatingGatewayList) GetGatewayAddresses ¶ added in v0.0.3
func (m *UndelegatingGatewayList) GetGatewayAddresses() []string
func (*UndelegatingGatewayList) Marshal ¶ added in v0.0.3
func (m *UndelegatingGatewayList) Marshal() (dAtA []byte, err error)
func (*UndelegatingGatewayList) MarshalTo ¶ added in v0.0.3
func (m *UndelegatingGatewayList) MarshalTo(dAtA []byte) (int, error)
func (*UndelegatingGatewayList) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *UndelegatingGatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UndelegatingGatewayList) ProtoMessage ¶ added in v0.0.3
func (*UndelegatingGatewayList) ProtoMessage()
func (*UndelegatingGatewayList) Reset ¶ added in v0.0.3
func (m *UndelegatingGatewayList) Reset()
func (*UndelegatingGatewayList) Size ¶ added in v0.0.3
func (m *UndelegatingGatewayList) Size() (n int)
func (*UndelegatingGatewayList) String ¶ added in v0.0.3
func (m *UndelegatingGatewayList) String() string
func (*UndelegatingGatewayList) Unmarshal ¶ added in v0.0.3
func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error
func (*UndelegatingGatewayList) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *UndelegatingGatewayList) XXX_DiscardUnknown()
func (*UndelegatingGatewayList) XXX_Marshal ¶ added in v0.0.3
func (m *UndelegatingGatewayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndelegatingGatewayList) XXX_Merge ¶ added in v0.0.3
func (m *UndelegatingGatewayList) XXX_Merge(src proto.Message)
func (*UndelegatingGatewayList) XXX_Size ¶ added in v0.0.3
func (m *UndelegatingGatewayList) XXX_Size() int
func (*UndelegatingGatewayList) XXX_Unmarshal ¶ added in v0.0.3
func (m *UndelegatingGatewayList) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶ added in v0.0.3
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) DelegateToGateway ¶ added in v0.0.3
func (*UnimplementedMsgServer) DelegateToGateway(ctx context.Context, req *MsgDelegateToGateway) (*MsgDelegateToGatewayResponse, error)
func (*UnimplementedMsgServer) StakeApplication ¶ added in v0.0.3
func (*UnimplementedMsgServer) StakeApplication(ctx context.Context, req *MsgStakeApplication) (*MsgStakeApplicationResponse, error)
func (*UnimplementedMsgServer) UndelegateFromGateway ¶ added in v0.0.3
func (*UnimplementedMsgServer) UndelegateFromGateway(ctx context.Context, req *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error)
func (*UnimplementedMsgServer) UnstakeApplication ¶ added in v0.0.3
func (*UnimplementedMsgServer) UnstakeApplication(ctx context.Context, req *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.0.3
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶ added in v0.0.3
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllApplications ¶ added in v0.0.3
func (*UnimplementedQueryServer) AllApplications(ctx context.Context, req *QueryAllApplicationsRequest) (*QueryAllApplicationsResponse, error)
func (*UnimplementedQueryServer) Application ¶ added in v0.0.3
func (*UnimplementedQueryServer) Application(ctx context.Context, req *QueryGetApplicationRequest) (*QueryGetApplicationResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.0.3
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- application.go
- codec.go
- errors.go
- event.pb.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_application.go
- keys.go
- message_delegate_to_gateway.go
- message_stake_application.go
- message_undelegate_from_gateway.go
- message_unstake_application.go
- message_update_params.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- types.pb.go