Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ApplicationKey(appAddr string) []byte
- func GetApplicationTransferHeight(sharedParams *sharedtypes.Params, application *Application) int64
- 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)
- func ValidateMaxDelegatedGateways(maxDelegatedGatewaysAny any) error
- func ValidateMinStake(minStakeAny any) error
- type AccountKeeper
- type Application
- func (*Application) Descriptor() ([]byte, []int)
- func (m *Application) GetAddress() string
- func (m *Application) GetDelegateeGatewayAddresses() []string
- func (m *Application) GetPendingTransfer() *PendingApplicationTransfer
- 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) HasPendingTransfer() bool
- 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 ApplicationUnbondingReason
- type BankKeeper
- type EventApplicationStaked
- func (*EventApplicationStaked) Descriptor() ([]byte, []int)
- func (m *EventApplicationStaked) GetApplication() *Application
- func (m *EventApplicationStaked) GetSessionEndHeight() int64
- func (m *EventApplicationStaked) Marshal() (dAtA []byte, err error)
- func (m *EventApplicationStaked) MarshalTo(dAtA []byte) (int, error)
- func (m *EventApplicationStaked) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventApplicationStaked) ProtoMessage()
- func (m *EventApplicationStaked) Reset()
- func (m *EventApplicationStaked) Size() (n int)
- func (m *EventApplicationStaked) String() string
- func (m *EventApplicationStaked) Unmarshal(dAtA []byte) error
- func (m *EventApplicationStaked) XXX_DiscardUnknown()
- func (m *EventApplicationStaked) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventApplicationStaked) XXX_Merge(src proto.Message)
- func (m *EventApplicationStaked) XXX_Size() int
- func (m *EventApplicationStaked) XXX_Unmarshal(b []byte) error
- type EventApplicationUnbondingBegin
- func (*EventApplicationUnbondingBegin) Descriptor() ([]byte, []int)
- func (m *EventApplicationUnbondingBegin) GetApplication() *Application
- func (m *EventApplicationUnbondingBegin) GetReason() ApplicationUnbondingReason
- func (m *EventApplicationUnbondingBegin) GetSessionEndHeight() int64
- func (m *EventApplicationUnbondingBegin) GetUnbondingEndHeight() int64
- func (m *EventApplicationUnbondingBegin) Marshal() (dAtA []byte, err error)
- func (m *EventApplicationUnbondingBegin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventApplicationUnbondingBegin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventApplicationUnbondingBegin) ProtoMessage()
- func (m *EventApplicationUnbondingBegin) Reset()
- func (m *EventApplicationUnbondingBegin) Size() (n int)
- func (m *EventApplicationUnbondingBegin) String() string
- func (m *EventApplicationUnbondingBegin) Unmarshal(dAtA []byte) error
- func (m *EventApplicationUnbondingBegin) XXX_DiscardUnknown()
- func (m *EventApplicationUnbondingBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventApplicationUnbondingBegin) XXX_Merge(src proto.Message)
- func (m *EventApplicationUnbondingBegin) XXX_Size() int
- func (m *EventApplicationUnbondingBegin) XXX_Unmarshal(b []byte) error
- type EventApplicationUnbondingCanceled
- func (*EventApplicationUnbondingCanceled) Descriptor() ([]byte, []int)
- func (m *EventApplicationUnbondingCanceled) GetApplication() *Application
- func (m *EventApplicationUnbondingCanceled) GetSessionEndHeight() int64
- func (m *EventApplicationUnbondingCanceled) Marshal() (dAtA []byte, err error)
- func (m *EventApplicationUnbondingCanceled) MarshalTo(dAtA []byte) (int, error)
- func (m *EventApplicationUnbondingCanceled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventApplicationUnbondingCanceled) ProtoMessage()
- func (m *EventApplicationUnbondingCanceled) Reset()
- func (m *EventApplicationUnbondingCanceled) Size() (n int)
- func (m *EventApplicationUnbondingCanceled) String() string
- func (m *EventApplicationUnbondingCanceled) Unmarshal(dAtA []byte) error
- func (m *EventApplicationUnbondingCanceled) XXX_DiscardUnknown()
- func (m *EventApplicationUnbondingCanceled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventApplicationUnbondingCanceled) XXX_Merge(src proto.Message)
- func (m *EventApplicationUnbondingCanceled) XXX_Size() int
- func (m *EventApplicationUnbondingCanceled) XXX_Unmarshal(b []byte) error
- type EventApplicationUnbondingEnd
- func (*EventApplicationUnbondingEnd) Descriptor() ([]byte, []int)
- func (m *EventApplicationUnbondingEnd) GetApplication() *Application
- func (m *EventApplicationUnbondingEnd) GetReason() ApplicationUnbondingReason
- func (m *EventApplicationUnbondingEnd) GetSessionEndHeight() int64
- func (m *EventApplicationUnbondingEnd) GetUnbondingEndHeight() int64
- func (m *EventApplicationUnbondingEnd) Marshal() (dAtA []byte, err error)
- func (m *EventApplicationUnbondingEnd) MarshalTo(dAtA []byte) (int, error)
- func (m *EventApplicationUnbondingEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventApplicationUnbondingEnd) ProtoMessage()
- func (m *EventApplicationUnbondingEnd) Reset()
- func (m *EventApplicationUnbondingEnd) Size() (n int)
- func (m *EventApplicationUnbondingEnd) String() string
- func (m *EventApplicationUnbondingEnd) Unmarshal(dAtA []byte) error
- func (m *EventApplicationUnbondingEnd) XXX_DiscardUnknown()
- func (m *EventApplicationUnbondingEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventApplicationUnbondingEnd) XXX_Merge(src proto.Message)
- func (m *EventApplicationUnbondingEnd) XXX_Size() int
- func (m *EventApplicationUnbondingEnd) XXX_Unmarshal(b []byte) error
- type EventRedelegation
- func (*EventRedelegation) Descriptor() ([]byte, []int)
- func (m *EventRedelegation) GetApplication() *Application
- func (m *EventRedelegation) GetSessionEndHeight() int64
- 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 EventTransferBegin
- func (*EventTransferBegin) Descriptor() ([]byte, []int)
- func (m *EventTransferBegin) GetDestinationAddress() string
- func (m *EventTransferBegin) GetSessionEndHeight() int64
- func (m *EventTransferBegin) GetSourceAddress() string
- func (m *EventTransferBegin) GetSourceApplication() *Application
- func (m *EventTransferBegin) GetTransferEndHeight() int64
- func (m *EventTransferBegin) Marshal() (dAtA []byte, err error)
- func (m *EventTransferBegin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferBegin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferBegin) ProtoMessage()
- func (m *EventTransferBegin) Reset()
- func (m *EventTransferBegin) Size() (n int)
- func (m *EventTransferBegin) String() string
- func (m *EventTransferBegin) Unmarshal(dAtA []byte) error
- func (m *EventTransferBegin) XXX_DiscardUnknown()
- func (m *EventTransferBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferBegin) XXX_Merge(src proto.Message)
- func (m *EventTransferBegin) XXX_Size() int
- func (m *EventTransferBegin) XXX_Unmarshal(b []byte) error
- type EventTransferEnd
- func (*EventTransferEnd) Descriptor() ([]byte, []int)
- func (m *EventTransferEnd) GetDestinationAddress() string
- func (m *EventTransferEnd) GetDestinationApplication() *Application
- func (m *EventTransferEnd) GetSessionEndHeight() int64
- func (m *EventTransferEnd) GetSourceAddress() string
- func (m *EventTransferEnd) GetTransferEndHeight() int64
- func (m *EventTransferEnd) Marshal() (dAtA []byte, err error)
- func (m *EventTransferEnd) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferEnd) ProtoMessage()
- func (m *EventTransferEnd) Reset()
- func (m *EventTransferEnd) Size() (n int)
- func (m *EventTransferEnd) String() string
- func (m *EventTransferEnd) Unmarshal(dAtA []byte) error
- func (m *EventTransferEnd) XXX_DiscardUnknown()
- func (m *EventTransferEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferEnd) XXX_Merge(src proto.Message)
- func (m *EventTransferEnd) XXX_Size() int
- func (m *EventTransferEnd) XXX_Unmarshal(b []byte) error
- type EventTransferError
- func (*EventTransferError) Descriptor() ([]byte, []int)
- func (m *EventTransferError) GetDestinationAddress() string
- func (m *EventTransferError) GetError() string
- func (m *EventTransferError) GetSessionEndHeight() int64
- func (m *EventTransferError) GetSourceAddress() string
- func (m *EventTransferError) GetSourceApplication() *Application
- func (m *EventTransferError) Marshal() (dAtA []byte, err error)
- func (m *EventTransferError) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTransferError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTransferError) ProtoMessage()
- func (m *EventTransferError) Reset()
- func (m *EventTransferError) Size() (n int)
- func (m *EventTransferError) String() string
- func (m *EventTransferError) Unmarshal(dAtA []byte) error
- func (m *EventTransferError) XXX_DiscardUnknown()
- func (m *EventTransferError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTransferError) XXX_Merge(src proto.Message)
- func (m *EventTransferError) XXX_Size() int
- func (m *EventTransferError) 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 (*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) GetApplication() *Application
- 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) GetApplication() *Application
- 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 MsgTransferApplication
- func (*MsgTransferApplication) Descriptor() ([]byte, []int)
- func (m *MsgTransferApplication) GetDestinationAddress() string
- func (m *MsgTransferApplication) GetSourceAddress() string
- func (m *MsgTransferApplication) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferApplication) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferApplication) ProtoMessage()
- func (m *MsgTransferApplication) Reset()
- func (m *MsgTransferApplication) Size() (n int)
- func (m *MsgTransferApplication) String() string
- func (m *MsgTransferApplication) Unmarshal(dAtA []byte) error
- func (msg *MsgTransferApplication) ValidateBasic() error
- func (m *MsgTransferApplication) XXX_DiscardUnknown()
- func (m *MsgTransferApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferApplication) XXX_Merge(src proto.Message)
- func (m *MsgTransferApplication) XXX_Size() int
- func (m *MsgTransferApplication) XXX_Unmarshal(b []byte) error
- type MsgTransferApplicationResponse
- func (*MsgTransferApplicationResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferApplicationResponse) GetApplication() *Application
- func (m *MsgTransferApplicationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferApplicationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferApplicationResponse) ProtoMessage()
- func (m *MsgTransferApplicationResponse) Reset()
- func (m *MsgTransferApplicationResponse) Size() (n int)
- func (m *MsgTransferApplicationResponse) String() string
- func (m *MsgTransferApplicationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferApplicationResponse) XXX_DiscardUnknown()
- func (m *MsgTransferApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferApplicationResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferApplicationResponse) XXX_Size() int
- func (m *MsgTransferApplicationResponse) 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 (*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 MsgUpdateParam
- func (*MsgUpdateParam) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParam) GetAsCoin() *types.Coin
- func (m *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
- func (m *MsgUpdateParam) GetAsUint64() uint64
- func (m *MsgUpdateParam) GetAuthority() string
- func (m *MsgUpdateParam) GetName() string
- func (m *MsgUpdateParam) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParam) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParam) ProtoMessage()
- func (m *MsgUpdateParam) Reset()
- func (m *MsgUpdateParam) Size() (n int)
- func (m *MsgUpdateParam) String() string
- func (m *MsgUpdateParam) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParam) ValidateBasic() error
- func (m *MsgUpdateParam) XXX_DiscardUnknown()
- func (m *MsgUpdateParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParam) XXX_Merge(src proto.Message)
- func (*MsgUpdateParam) XXX_OneofWrappers() []interface{}
- func (m *MsgUpdateParam) XXX_Size() int
- func (m *MsgUpdateParam) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamResponse
- func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamResponse) GetParams() *Params
- func (m *MsgUpdateParamResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamResponse) ProtoMessage()
- func (m *MsgUpdateParamResponse) Reset()
- func (m *MsgUpdateParamResponse) Size() (n int)
- func (m *MsgUpdateParamResponse) String() string
- func (m *MsgUpdateParamResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamResponse) XXX_Size() int
- func (m *MsgUpdateParamResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParam_AsCoin
- type MsgUpdateParam_AsUint64
- 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) GetMinStake() *types.Coin
- 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 PendingApplicationTransfer
- func (*PendingApplicationTransfer) Descriptor() ([]byte, []int)
- func (m *PendingApplicationTransfer) GetDestinationAddress() string
- func (m *PendingApplicationTransfer) GetSessionEndHeight() uint64
- func (m *PendingApplicationTransfer) Marshal() (dAtA []byte, err error)
- func (m *PendingApplicationTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *PendingApplicationTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PendingApplicationTransfer) ProtoMessage()
- func (m *PendingApplicationTransfer) Reset()
- func (m *PendingApplicationTransfer) Size() (n int)
- func (m *PendingApplicationTransfer) String() string
- func (m *PendingApplicationTransfer) Unmarshal(dAtA []byte) error
- func (m *PendingApplicationTransfer) XXX_DiscardUnknown()
- func (m *PendingApplicationTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingApplicationTransfer) XXX_Merge(src proto.Message)
- func (m *PendingApplicationTransfer) XXX_Size() int
- func (m *PendingApplicationTransfer) 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) TransferApplication(ctx context.Context, req *MsgTransferApplication) (*MsgTransferApplicationResponse, error)
- func (*UnimplementedMsgServer) UndelegateFromGateway(ctx context.Context, req *MsgUndelegateFromGateway) (*MsgUndelegateFromGatewayResponse, error)
- func (*UnimplementedMsgServer) UnstakeApplication(ctx context.Context, req *MsgUnstakeApplication) (*MsgUnstakeApplicationResponse, error)
- func (*UnimplementedMsgServer) UpdateParam(ctx context.Context, req *MsgUpdateParam) (*MsgUpdateParamResponse, 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 = iota
ApplicationNotUnstaking is the value of `unstake_session_end_height` if the application is not actively in the unbonding period.
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") ErrAppNotDelegated = sdkerrors.Register(ModuleName, 1111, "application not delegated to gateway") ErrAppIsUnstaking = sdkerrors.Register(ModuleName, 1112, "application is in unbonding period") ErrAppDuplicateAddress = sdkerrors.Register(ModuleName, 1113, "duplicate application address") ErrAppHasPendingTransfer = sdkerrors.Register(ModuleName, 1114, "application is in transfer period") ErrAppParamInvalid = sdkerrors.Register(ModuleName, 1115, "the provided param is invalid") ErrAppEmitEvent = sdkerrors.Register(ModuleName, 1116, "unable to emit on-chain event") )
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") ParamMaxDelegatedGateways = "max_delegated_gateways" // TODO_MAINNET(@olshansk): Determine the default value DefaultMaxDelegatedGateways uint64 = 7 KeyMinStake = []byte("MinStake") ParamMinStake = "min_stake" // TODO_MAINNET(@olshansk): Determine the default value DefaultMinStake = cosmostypes.NewInt64Coin(volatile.DenomuPOKT, 1000000) // 1 POKT )
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 ApplicationUnbondingReason_name = map[int32]string{
0: "APPLICATION_UNBONDING_REASON_ELECTIVE",
1: "APPLICATION_UNBONDING_REASON_BELOW_MIN_STAKE",
}
var ApplicationUnbondingReason_value = map[string]int32{
"APPLICATION_UNBONDING_REASON_ELECTIVE": 0,
"APPLICATION_UNBONDING_REASON_BELOW_MIN_STAKE": 1,
}
var ParamsKey = []byte("p_application")
Functions ¶
func ApplicationKey ¶
ApplicationKey returns the store key to retrieve a Application from the index fields
func GetApplicationTransferHeight ¶ added in v0.0.10
func GetApplicationTransferHeight( sharedParams *sharedtypes.Params, application *Application, ) int64
GetApplicationTransferHeight returns the session end height at which the given application transfer completes.
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)
func ValidateMaxDelegatedGateways ¶ added in v0.0.10
ValidateMaxDelegatedGateways validates the MaxDelegatedGateways param
func ValidateMinStake ¶ added in v0.0.10
ValidateMinStake validates the MinStake param
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"` // 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 []*types1.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"` // 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 `` /* 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 */ PendingTransfer *PendingApplicationTransfer `protobuf:"bytes,7,opt,name=pending_transfer,json=pendingTransfer,proto3" json:"pending_transfer,omitempty"` }
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) GetPendingTransfer ¶ added in v0.0.10
func (m *Application) GetPendingTransfer() *PendingApplicationTransfer
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) HasPendingTransfer ¶ added in v0.0.10
func (s *Application) HasPendingTransfer() bool
HasPendingTransfer returns true if the application has begun but not completed an application transfer. It determines if the application has submitted a transfer message, in which case the application has its PendingTransfer field set.
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. An application that has a pending transfer is active until the end of the session containing the height at which the transfer was initiated.
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 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) EnumDescriptor ¶ added in v0.0.10
func (ApplicationUnbondingReason) EnumDescriptor() ([]byte, []int)
func (ApplicationUnbondingReason) String ¶ added in v0.0.10
func (x ApplicationUnbondingReason) String() string
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 EventApplicationStaked ¶ added in v0.0.10
type EventApplicationStaked struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"` // 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"` }
EventApplicationStaked is emitted when an application is staked or up-staked.
func (*EventApplicationStaked) Descriptor ¶ added in v0.0.10
func (*EventApplicationStaked) Descriptor() ([]byte, []int)
func (*EventApplicationStaked) GetApplication ¶ added in v0.0.10
func (m *EventApplicationStaked) GetApplication() *Application
func (*EventApplicationStaked) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventApplicationStaked) GetSessionEndHeight() int64
func (*EventApplicationStaked) Marshal ¶ added in v0.0.10
func (m *EventApplicationStaked) Marshal() (dAtA []byte, err error)
func (*EventApplicationStaked) MarshalTo ¶ added in v0.0.10
func (m *EventApplicationStaked) MarshalTo(dAtA []byte) (int, error)
func (*EventApplicationStaked) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventApplicationStaked) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventApplicationStaked) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationStaked) ProtoMessage()
func (*EventApplicationStaked) Reset ¶ added in v0.0.10
func (m *EventApplicationStaked) Reset()
func (*EventApplicationStaked) Size ¶ added in v0.0.10
func (m *EventApplicationStaked) Size() (n int)
func (*EventApplicationStaked) String ¶ added in v0.0.10
func (m *EventApplicationStaked) String() string
func (*EventApplicationStaked) Unmarshal ¶ added in v0.0.10
func (m *EventApplicationStaked) Unmarshal(dAtA []byte) error
func (*EventApplicationStaked) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventApplicationStaked) XXX_DiscardUnknown()
func (*EventApplicationStaked) XXX_Marshal ¶ added in v0.0.10
func (m *EventApplicationStaked) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventApplicationStaked) XXX_Merge ¶ added in v0.0.10
func (m *EventApplicationStaked) XXX_Merge(src proto.Message)
func (*EventApplicationStaked) XXX_Size ¶ added in v0.0.10
func (m *EventApplicationStaked) XXX_Size() int
func (*EventApplicationStaked) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventApplicationStaked) XXX_Unmarshal(b []byte) error
type EventApplicationUnbondingBegin ¶ added in v0.0.10
type EventApplicationUnbondingBegin struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"` Reason ApplicationUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=poktroll.application.ApplicationUnbondingReason" json:"reason"` // 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"` // The height at which application unbonding will end. UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_height"` }
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 ¶ added in v0.0.10
func (*EventApplicationUnbondingBegin) Descriptor() ([]byte, []int)
func (*EventApplicationUnbondingBegin) GetApplication ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) GetApplication() *Application
func (*EventApplicationUnbondingBegin) GetReason ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) GetReason() ApplicationUnbondingReason
func (*EventApplicationUnbondingBegin) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) GetSessionEndHeight() int64
func (*EventApplicationUnbondingBegin) GetUnbondingEndHeight ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) GetUnbondingEndHeight() int64
func (*EventApplicationUnbondingBegin) Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) Marshal() (dAtA []byte, err error)
func (*EventApplicationUnbondingBegin) MarshalTo ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) MarshalTo(dAtA []byte) (int, error)
func (*EventApplicationUnbondingBegin) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventApplicationUnbondingBegin) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingBegin) ProtoMessage()
func (*EventApplicationUnbondingBegin) Reset ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) Reset()
func (*EventApplicationUnbondingBegin) Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) Size() (n int)
func (*EventApplicationUnbondingBegin) String ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) String() string
func (*EventApplicationUnbondingBegin) Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) Unmarshal(dAtA []byte) error
func (*EventApplicationUnbondingBegin) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) XXX_DiscardUnknown()
func (*EventApplicationUnbondingBegin) XXX_Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventApplicationUnbondingBegin) XXX_Merge ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) XXX_Merge(src proto.Message)
func (*EventApplicationUnbondingBegin) XXX_Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) XXX_Size() int
func (*EventApplicationUnbondingBegin) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingBegin) XXX_Unmarshal(b []byte) error
type EventApplicationUnbondingCanceled ¶ added in v0.0.10
type EventApplicationUnbondingCanceled struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"` // 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"` }
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 ¶ added in v0.0.10
func (*EventApplicationUnbondingCanceled) Descriptor() ([]byte, []int)
func (*EventApplicationUnbondingCanceled) GetApplication ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) GetApplication() *Application
func (*EventApplicationUnbondingCanceled) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) GetSessionEndHeight() int64
func (*EventApplicationUnbondingCanceled) Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) Marshal() (dAtA []byte, err error)
func (*EventApplicationUnbondingCanceled) MarshalTo ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) MarshalTo(dAtA []byte) (int, error)
func (*EventApplicationUnbondingCanceled) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventApplicationUnbondingCanceled) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingCanceled) ProtoMessage()
func (*EventApplicationUnbondingCanceled) Reset ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) Reset()
func (*EventApplicationUnbondingCanceled) Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) Size() (n int)
func (*EventApplicationUnbondingCanceled) String ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) String() string
func (*EventApplicationUnbondingCanceled) Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) Unmarshal(dAtA []byte) error
func (*EventApplicationUnbondingCanceled) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) XXX_DiscardUnknown()
func (*EventApplicationUnbondingCanceled) XXX_Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventApplicationUnbondingCanceled) XXX_Merge ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) XXX_Merge(src proto.Message)
func (*EventApplicationUnbondingCanceled) XXX_Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) XXX_Size() int
func (*EventApplicationUnbondingCanceled) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingCanceled) XXX_Unmarshal(b []byte) error
type EventApplicationUnbondingEnd ¶ added in v0.0.10
type EventApplicationUnbondingEnd struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"` Reason ApplicationUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=poktroll.application.ApplicationUnbondingReason" json:"reason"` // 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"` // The height at which application unbonding ended. UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_height"` }
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 ¶ added in v0.0.10
func (*EventApplicationUnbondingEnd) Descriptor() ([]byte, []int)
func (*EventApplicationUnbondingEnd) GetApplication ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) GetApplication() *Application
func (*EventApplicationUnbondingEnd) GetReason ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) GetReason() ApplicationUnbondingReason
func (*EventApplicationUnbondingEnd) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) GetSessionEndHeight() int64
func (*EventApplicationUnbondingEnd) GetUnbondingEndHeight ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) GetUnbondingEndHeight() int64
func (*EventApplicationUnbondingEnd) Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) Marshal() (dAtA []byte, err error)
func (*EventApplicationUnbondingEnd) MarshalTo ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) MarshalTo(dAtA []byte) (int, error)
func (*EventApplicationUnbondingEnd) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventApplicationUnbondingEnd) ProtoMessage ¶ added in v0.0.10
func (*EventApplicationUnbondingEnd) ProtoMessage()
func (*EventApplicationUnbondingEnd) Reset ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) Reset()
func (*EventApplicationUnbondingEnd) Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) Size() (n int)
func (*EventApplicationUnbondingEnd) String ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) String() string
func (*EventApplicationUnbondingEnd) Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) Unmarshal(dAtA []byte) error
func (*EventApplicationUnbondingEnd) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) XXX_DiscardUnknown()
func (*EventApplicationUnbondingEnd) XXX_Marshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventApplicationUnbondingEnd) XXX_Merge ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) XXX_Merge(src proto.Message)
func (*EventApplicationUnbondingEnd) XXX_Size ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) XXX_Size() int
func (*EventApplicationUnbondingEnd) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventApplicationUnbondingEnd) XXX_Unmarshal(b []byte) error
type EventRedelegation ¶ added in v0.0.3
type EventRedelegation struct { // The application which was redelegated. Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application"` // 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"` }
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) GetApplication ¶ added in v0.0.10
func (m *EventRedelegation) GetApplication() *Application
func (*EventRedelegation) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventRedelegation) GetSessionEndHeight() int64
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 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"` // 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"` }
EventTransferBegin is emitted whenever an application begins a transfer. It includes the source application state immediately after the transfer began.
func (*EventTransferBegin) Descriptor ¶ added in v0.0.10
func (*EventTransferBegin) Descriptor() ([]byte, []int)
func (*EventTransferBegin) GetDestinationAddress ¶ added in v0.0.10
func (m *EventTransferBegin) GetDestinationAddress() string
func (*EventTransferBegin) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventTransferBegin) GetSessionEndHeight() int64
func (*EventTransferBegin) GetSourceAddress ¶ added in v0.0.10
func (m *EventTransferBegin) GetSourceAddress() string
func (*EventTransferBegin) GetSourceApplication ¶ added in v0.0.10
func (m *EventTransferBegin) GetSourceApplication() *Application
func (*EventTransferBegin) GetTransferEndHeight ¶ added in v0.0.10
func (m *EventTransferBegin) GetTransferEndHeight() int64
func (*EventTransferBegin) Marshal ¶ added in v0.0.10
func (m *EventTransferBegin) Marshal() (dAtA []byte, err error)
func (*EventTransferBegin) MarshalTo ¶ added in v0.0.10
func (m *EventTransferBegin) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferBegin) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventTransferBegin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferBegin) ProtoMessage ¶ added in v0.0.10
func (*EventTransferBegin) ProtoMessage()
func (*EventTransferBegin) Reset ¶ added in v0.0.10
func (m *EventTransferBegin) Reset()
func (*EventTransferBegin) Size ¶ added in v0.0.10
func (m *EventTransferBegin) Size() (n int)
func (*EventTransferBegin) String ¶ added in v0.0.10
func (m *EventTransferBegin) String() string
func (*EventTransferBegin) Unmarshal ¶ added in v0.0.10
func (m *EventTransferBegin) Unmarshal(dAtA []byte) error
func (*EventTransferBegin) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventTransferBegin) XXX_DiscardUnknown()
func (*EventTransferBegin) XXX_Marshal ¶ added in v0.0.10
func (m *EventTransferBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferBegin) XXX_Merge ¶ added in v0.0.10
func (m *EventTransferBegin) XXX_Merge(src proto.Message)
func (*EventTransferBegin) XXX_Size ¶ added in v0.0.10
func (m *EventTransferBegin) XXX_Size() int
func (*EventTransferBegin) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventTransferBegin) XXX_Unmarshal(b []byte) error
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"` // The height at which the transfer completed. TransferEndHeight int64 `protobuf:"varint,5,opt,name=transfer_end_height,json=transferEndHeight,proto3" json:"transfer_end_height"` }
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 ¶ added in v0.0.10
func (*EventTransferEnd) Descriptor() ([]byte, []int)
func (*EventTransferEnd) GetDestinationAddress ¶ added in v0.0.10
func (m *EventTransferEnd) GetDestinationAddress() string
func (*EventTransferEnd) GetDestinationApplication ¶ added in v0.0.10
func (m *EventTransferEnd) GetDestinationApplication() *Application
func (*EventTransferEnd) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventTransferEnd) GetSessionEndHeight() int64
func (*EventTransferEnd) GetSourceAddress ¶ added in v0.0.10
func (m *EventTransferEnd) GetSourceAddress() string
func (*EventTransferEnd) GetTransferEndHeight ¶ added in v0.0.10
func (m *EventTransferEnd) GetTransferEndHeight() int64
func (*EventTransferEnd) Marshal ¶ added in v0.0.10
func (m *EventTransferEnd) Marshal() (dAtA []byte, err error)
func (*EventTransferEnd) MarshalTo ¶ added in v0.0.10
func (m *EventTransferEnd) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferEnd) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventTransferEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferEnd) ProtoMessage ¶ added in v0.0.10
func (*EventTransferEnd) ProtoMessage()
func (*EventTransferEnd) Reset ¶ added in v0.0.10
func (m *EventTransferEnd) Reset()
func (*EventTransferEnd) Size ¶ added in v0.0.10
func (m *EventTransferEnd) Size() (n int)
func (*EventTransferEnd) String ¶ added in v0.0.10
func (m *EventTransferEnd) String() string
func (*EventTransferEnd) Unmarshal ¶ added in v0.0.10
func (m *EventTransferEnd) Unmarshal(dAtA []byte) error
func (*EventTransferEnd) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventTransferEnd) XXX_DiscardUnknown()
func (*EventTransferEnd) XXX_Marshal ¶ added in v0.0.10
func (m *EventTransferEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferEnd) XXX_Merge ¶ added in v0.0.10
func (m *EventTransferEnd) XXX_Merge(src proto.Message)
func (*EventTransferEnd) XXX_Size ¶ added in v0.0.10
func (m *EventTransferEnd) XXX_Size() int
func (*EventTransferEnd) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventTransferEnd) XXX_Unmarshal(b []byte) error
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"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` }
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 ¶ added in v0.0.10
func (*EventTransferError) Descriptor() ([]byte, []int)
func (*EventTransferError) GetDestinationAddress ¶ added in v0.0.10
func (m *EventTransferError) GetDestinationAddress() string
func (*EventTransferError) GetError ¶ added in v0.0.10
func (m *EventTransferError) GetError() string
func (*EventTransferError) GetSessionEndHeight ¶ added in v0.0.10
func (m *EventTransferError) GetSessionEndHeight() int64
func (*EventTransferError) GetSourceAddress ¶ added in v0.0.10
func (m *EventTransferError) GetSourceAddress() string
func (*EventTransferError) GetSourceApplication ¶ added in v0.0.10
func (m *EventTransferError) GetSourceApplication() *Application
func (*EventTransferError) Marshal ¶ added in v0.0.10
func (m *EventTransferError) Marshal() (dAtA []byte, err error)
func (*EventTransferError) MarshalTo ¶ added in v0.0.10
func (m *EventTransferError) MarshalTo(dAtA []byte) (int, error)
func (*EventTransferError) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *EventTransferError) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTransferError) ProtoMessage ¶ added in v0.0.10
func (*EventTransferError) ProtoMessage()
func (*EventTransferError) Reset ¶ added in v0.0.10
func (m *EventTransferError) Reset()
func (*EventTransferError) Size ¶ added in v0.0.10
func (m *EventTransferError) Size() (n int)
func (*EventTransferError) String ¶ added in v0.0.10
func (m *EventTransferError) String() string
func (*EventTransferError) Unmarshal ¶ added in v0.0.10
func (m *EventTransferError) Unmarshal(dAtA []byte) error
func (*EventTransferError) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *EventTransferError) XXX_DiscardUnknown()
func (*EventTransferError) XXX_Marshal ¶ added in v0.0.10
func (m *EventTransferError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTransferError) XXX_Merge ¶ added in v0.0.10
func (m *EventTransferError) XXX_Merge(src proto.Message)
func (*EventTransferError) XXX_Size ¶ added in v0.0.10
func (m *EventTransferError) XXX_Size() int
func (*EventTransferError) XXX_Unmarshal ¶ added in v0.0.10
func (m *EventTransferError) 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) 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://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) 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 {
Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
}
func (*MsgDelegateToGatewayResponse) Descriptor ¶ added in v0.0.3
func (*MsgDelegateToGatewayResponse) Descriptor() ([]byte, []int)
func (*MsgDelegateToGatewayResponse) GetApplication ¶ added in v0.0.10
func (m *MsgDelegateToGatewayResponse) GetApplication() *Application
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) TransferApplication(context.Context, *MsgTransferApplication) (*MsgTransferApplicationResponse, error) UpdateParam(context.Context, *MsgUpdateParam) (*MsgUpdateParamResponse, 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 {
Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
}
func (*MsgStakeApplicationResponse) Descriptor ¶ added in v0.0.3
func (*MsgStakeApplicationResponse) Descriptor() ([]byte, []int)
func (*MsgStakeApplicationResponse) GetApplication ¶ added in v0.0.10
func (m *MsgStakeApplicationResponse) GetApplication() *Application
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 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"` }
func NewMsgTransferApplication ¶ added in v0.0.10
func NewMsgTransferApplication(srcAddr string, dstAddr string) *MsgTransferApplication
func (*MsgTransferApplication) Descriptor ¶ added in v0.0.10
func (*MsgTransferApplication) Descriptor() ([]byte, []int)
func (*MsgTransferApplication) GetDestinationAddress ¶ added in v0.0.10
func (m *MsgTransferApplication) GetDestinationAddress() string
func (*MsgTransferApplication) GetSourceAddress ¶ added in v0.0.10
func (m *MsgTransferApplication) GetSourceAddress() string
func (*MsgTransferApplication) Marshal ¶ added in v0.0.10
func (m *MsgTransferApplication) Marshal() (dAtA []byte, err error)
func (*MsgTransferApplication) MarshalTo ¶ added in v0.0.10
func (m *MsgTransferApplication) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferApplication) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgTransferApplication) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferApplication) ProtoMessage ¶ added in v0.0.10
func (*MsgTransferApplication) ProtoMessage()
func (*MsgTransferApplication) Reset ¶ added in v0.0.10
func (m *MsgTransferApplication) Reset()
func (*MsgTransferApplication) Size ¶ added in v0.0.10
func (m *MsgTransferApplication) Size() (n int)
func (*MsgTransferApplication) String ¶ added in v0.0.10
func (m *MsgTransferApplication) String() string
func (*MsgTransferApplication) Unmarshal ¶ added in v0.0.10
func (m *MsgTransferApplication) Unmarshal(dAtA []byte) error
func (*MsgTransferApplication) ValidateBasic ¶ added in v0.0.10
func (msg *MsgTransferApplication) ValidateBasic() error
func (*MsgTransferApplication) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *MsgTransferApplication) XXX_DiscardUnknown()
func (*MsgTransferApplication) XXX_Marshal ¶ added in v0.0.10
func (m *MsgTransferApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferApplication) XXX_Merge ¶ added in v0.0.10
func (m *MsgTransferApplication) XXX_Merge(src proto.Message)
func (*MsgTransferApplication) XXX_Size ¶ added in v0.0.10
func (m *MsgTransferApplication) XXX_Size() int
func (*MsgTransferApplication) XXX_Unmarshal ¶ added in v0.0.10
func (m *MsgTransferApplication) XXX_Unmarshal(b []byte) error
type MsgTransferApplicationResponse ¶ added in v0.0.10
type MsgTransferApplicationResponse struct {
Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
}
func (*MsgTransferApplicationResponse) Descriptor ¶ added in v0.0.10
func (*MsgTransferApplicationResponse) Descriptor() ([]byte, []int)
func (*MsgTransferApplicationResponse) GetApplication ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) GetApplication() *Application
func (*MsgTransferApplicationResponse) Marshal ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferApplicationResponse) MarshalTo ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferApplicationResponse) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferApplicationResponse) ProtoMessage ¶ added in v0.0.10
func (*MsgTransferApplicationResponse) ProtoMessage()
func (*MsgTransferApplicationResponse) Reset ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) Reset()
func (*MsgTransferApplicationResponse) Size ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) Size() (n int)
func (*MsgTransferApplicationResponse) String ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) String() string
func (*MsgTransferApplicationResponse) Unmarshal ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferApplicationResponse) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) XXX_DiscardUnknown()
func (*MsgTransferApplicationResponse) XXX_Marshal ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferApplicationResponse) XXX_Merge ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) XXX_Merge(src proto.Message)
func (*MsgTransferApplicationResponse) XXX_Size ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) XXX_Size() int
func (*MsgTransferApplicationResponse) XXX_Unmarshal ¶ added in v0.0.10
func (m *MsgTransferApplicationResponse) 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) 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 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 valid to be assigned to AsType: // // *MsgUpdateParam_AsUint64 // *MsgUpdateParam_AsCoin AsType isMsgUpdateParam_AsType `protobuf_oneof:"asType"` }
func NewMsgUpdateParam ¶ added in v0.0.10
func NewMsgUpdateParam(authority string, name string, asType any) *MsgUpdateParam
func (*MsgUpdateParam) Descriptor ¶ added in v0.0.10
func (*MsgUpdateParam) Descriptor() ([]byte, []int)
func (*MsgUpdateParam) GetAsCoin ¶ added in v0.0.10
func (m *MsgUpdateParam) GetAsCoin() *types.Coin
func (*MsgUpdateParam) GetAsType ¶ added in v0.0.10
func (m *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType
func (*MsgUpdateParam) GetAsUint64 ¶ added in v0.0.10
func (m *MsgUpdateParam) GetAsUint64() uint64
func (*MsgUpdateParam) GetAuthority ¶ added in v0.0.10
func (m *MsgUpdateParam) GetAuthority() string
func (*MsgUpdateParam) GetName ¶ added in v0.0.10
func (m *MsgUpdateParam) GetName() string
func (*MsgUpdateParam) Marshal ¶ added in v0.0.10
func (m *MsgUpdateParam) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParam) MarshalTo ¶ added in v0.0.10
func (m *MsgUpdateParam) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParam) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgUpdateParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParam) ProtoMessage ¶ added in v0.0.10
func (*MsgUpdateParam) ProtoMessage()
func (*MsgUpdateParam) Reset ¶ added in v0.0.10
func (m *MsgUpdateParam) Reset()
func (*MsgUpdateParam) Size ¶ added in v0.0.10
func (m *MsgUpdateParam) Size() (n int)
func (*MsgUpdateParam) String ¶ added in v0.0.10
func (m *MsgUpdateParam) String() string
func (*MsgUpdateParam) Unmarshal ¶ added in v0.0.10
func (m *MsgUpdateParam) Unmarshal(dAtA []byte) error
func (*MsgUpdateParam) ValidateBasic ¶ added in v0.0.10
func (msg *MsgUpdateParam) ValidateBasic() error
func (*MsgUpdateParam) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *MsgUpdateParam) XXX_DiscardUnknown()
func (*MsgUpdateParam) XXX_Marshal ¶ added in v0.0.10
func (m *MsgUpdateParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParam) XXX_Merge ¶ added in v0.0.10
func (m *MsgUpdateParam) XXX_Merge(src proto.Message)
func (*MsgUpdateParam) XXX_OneofWrappers ¶ added in v0.0.10
func (*MsgUpdateParam) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MsgUpdateParam) XXX_Size ¶ added in v0.0.10
func (m *MsgUpdateParam) XXX_Size() int
func (*MsgUpdateParam) XXX_Unmarshal ¶ added in v0.0.10
func (m *MsgUpdateParam) XXX_Unmarshal(b []byte) error
type MsgUpdateParamResponse ¶ added in v0.0.10
type MsgUpdateParamResponse struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
func (*MsgUpdateParamResponse) Descriptor ¶ added in v0.0.10
func (*MsgUpdateParamResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamResponse) GetParams ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) GetParams() *Params
func (*MsgUpdateParamResponse) Marshal ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamResponse) MarshalTo ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamResponse) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamResponse) ProtoMessage ¶ added in v0.0.10
func (*MsgUpdateParamResponse) ProtoMessage()
func (*MsgUpdateParamResponse) Reset ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) Reset()
func (*MsgUpdateParamResponse) Size ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) Size() (n int)
func (*MsgUpdateParamResponse) String ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) String() string
func (*MsgUpdateParamResponse) Unmarshal ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamResponse) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamResponse) XXX_Marshal ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamResponse) XXX_Merge ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamResponse) XXX_Size ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) XXX_Size() int
func (*MsgUpdateParamResponse) XXX_Unmarshal ¶ added in v0.0.10
func (m *MsgUpdateParamResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParam_AsCoin ¶ added in v0.0.10
type MsgUpdateParam_AsCoin struct {
AsCoin *types.Coin `protobuf:"bytes,4,opt,name=as_coin,json=asCoin,proto3,oneof" json:"as_coin"`
}
func (*MsgUpdateParam_AsCoin) MarshalTo ¶ added in v0.0.10
func (m *MsgUpdateParam_AsCoin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParam_AsCoin) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgUpdateParam_AsCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParam_AsCoin) Size ¶ added in v0.0.10
func (m *MsgUpdateParam_AsCoin) Size() (n int)
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" json:"as_uint64"`
}
func (*MsgUpdateParam_AsUint64) MarshalTo ¶ added in v0.0.10
func (m *MsgUpdateParam_AsUint64) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParam_AsUint64) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *MsgUpdateParam_AsUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParam_AsUint64) Size ¶ added in v0.0.10
func (m *MsgUpdateParam_AsUint64) Size() (n int)
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 */ // min_stake is the minimum stake in upokt that an application must have to remain staked. MinStake *types.Coin `protobuf:"bytes,2,opt,name=min_stake,json=minStake,proto3" json:"min_stake" yaml:"min_stake"` }
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 NewParams ¶ added in v0.0.3
func NewParams(maxDelegatedGateways uint64, minStake *cosmostypes.Coin) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶ added in v0.0.3
func (*Params) GetMaxDelegatedGateways ¶ added in v0.0.3
func (*Params) GetMinStake ¶ added in v0.0.10
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 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"` }
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 ¶ added in v0.0.10
func (*PendingApplicationTransfer) Descriptor() ([]byte, []int)
func (*PendingApplicationTransfer) GetDestinationAddress ¶ added in v0.0.10
func (m *PendingApplicationTransfer) GetDestinationAddress() string
func (*PendingApplicationTransfer) GetSessionEndHeight ¶ added in v0.0.10
func (m *PendingApplicationTransfer) GetSessionEndHeight() uint64
func (*PendingApplicationTransfer) Marshal ¶ added in v0.0.10
func (m *PendingApplicationTransfer) Marshal() (dAtA []byte, err error)
func (*PendingApplicationTransfer) MarshalTo ¶ added in v0.0.10
func (m *PendingApplicationTransfer) MarshalTo(dAtA []byte) (int, error)
func (*PendingApplicationTransfer) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *PendingApplicationTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PendingApplicationTransfer) ProtoMessage ¶ added in v0.0.10
func (*PendingApplicationTransfer) ProtoMessage()
func (*PendingApplicationTransfer) Reset ¶ added in v0.0.10
func (m *PendingApplicationTransfer) Reset()
func (*PendingApplicationTransfer) Size ¶ added in v0.0.10
func (m *PendingApplicationTransfer) Size() (n int)
func (*PendingApplicationTransfer) String ¶ added in v0.0.10
func (m *PendingApplicationTransfer) String() string
func (*PendingApplicationTransfer) Unmarshal ¶ added in v0.0.10
func (m *PendingApplicationTransfer) Unmarshal(dAtA []byte) error
func (*PendingApplicationTransfer) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *PendingApplicationTransfer) XXX_DiscardUnknown()
func (*PendingApplicationTransfer) XXX_Marshal ¶ added in v0.0.10
func (m *PendingApplicationTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingApplicationTransfer) XXX_Merge ¶ added in v0.0.10
func (m *PendingApplicationTransfer) XXX_Merge(src proto.Message)
func (*PendingApplicationTransfer) XXX_Size ¶ added in v0.0.10
func (m *PendingApplicationTransfer) XXX_Size() int
func (*PendingApplicationTransfer) XXX_Unmarshal ¶ added in v0.0.10
func (m *PendingApplicationTransfer) XXX_Unmarshal(b []byte) error
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) TransferApplication ¶ added in v0.0.10
func (*UnimplementedMsgServer) TransferApplication(ctx context.Context, req *MsgTransferApplication) (*MsgTransferApplicationResponse, 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) UpdateParam ¶ added in v0.0.10
func (*UnimplementedMsgServer) UpdateParam(ctx context.Context, req *MsgUpdateParam) (*MsgUpdateParamResponse, 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_transfer_application.go
- message_undelegate_from_gateway.go
- message_unstake_application.go
- message_update_param.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