types

package
v0.0.0-...-49173f0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout          = "timeout"
	EventTypeMonitoringPacket = "monitoring_packet"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
)

IBC events

View Source
const (
	// ModuleName defines the module name
	ModuleName = "monitoringc"

	// FullModuleName defines the full module name used in interface like CLI to make it more explanatory
	FullModuleName = "monitoring-consumer"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_monitoringc"

	// Version defines the current version the IBC module supports
	Version = "monitoring-1"

	// PortID is the default port id that module binds to
	PortID = "monitoringc"
)

Variables

View Source
var (
	ErrInvalidSigner                = sdkerrors.Register(ModuleName, 1101, "expected gov account as only signer for proposal message")
	ErrInvalidVersion               = sdkerrors.Register(ModuleName, 1102, "invalid version")
	ErrInvalidClientState           = sdkerrors.Register(ModuleName, 1103, "invalid client state")
	ErrInvalidConsensusState        = sdkerrors.Register(ModuleName, 1104, "invalid consensus state")
	ErrInvalidValidatorSet          = sdkerrors.Register(ModuleName, 1105, "invalid validator set")
	ErrInvalidValidatorSetHash      = sdkerrors.Register(ModuleName, 1106, "invalid validator set hash")
	ErrClientCreationFailure        = sdkerrors.Register(ModuleName, 1107, "failed to create IBC client")
	ErrInvalidHandshake             = sdkerrors.Register(ModuleName, 1108, "invalid handshake")
	ErrClientNotVerified            = sdkerrors.Register(ModuleName, 1109, "ibc client not verified")
	ErrConnectionAlreadyEstablished = sdkerrors.Register(ModuleName, 1110, "ibc connection already established")
	ErrInvalidUnbondingPeriod       = sdkerrors.Register(ModuleName, 1111, "invalid unbonding period")
	ErrInvalidRevisionHeight        = sdkerrors.Register(ModuleName, 1112, "invalid revision height")
	ErrVerifiedClientIdListNotFound = sdkerrors.Register(ModuleName, 1113, "verified client IDs not found")
	ErrInvalidClientCreatorAddress  = sdkerrors.Register(ModuleName, 1114, "invalid client creator address")
	ErrCannotCloseChannel           = sdkerrors.Register(ModuleName, 1115, "user cannot close channel")
	ErrJSONUnmarshal                = sdkerrors.Register(ModuleName, 1116, "failed to unmarshal JSON")
	ErrJSONMarshal                  = sdkerrors.Register(ModuleName, 1117, "failed to marshal JSON")
	ErrUnrecognizedPacketType       = sdkerrors.Register(ModuleName, 1118, "unrecognized packet type")
	ErrInvalidPacketTimeout         = sdkerrors.Register(ModuleName, 1119, "invalid packet timeout")
)

x/monitoringc module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamsKey = collections.NewPrefix("p_monitoringc")

	// PortKey defines the key to store the port ID in store
	PortKey = collections.NewPrefix("monitoringc-port-")

	// LaunchIDFromChannelIDKey is the prefix to retrieve all LaunchIDFromChannelID
	LaunchIDFromChannelIDKey = collections.NewPrefix("LaunchIDFromChannelID/value/")

	// LaunchIDFromVerifiedClientIDKey is the prefix to retrieve all LaunchIDFromVerifiedClientID
	LaunchIDFromVerifiedClientIDKey = collections.NewPrefix("LaunchIDFromVerifiedClientID/value/")

	// MonitoringHistoryKey is the prefix to retrieve all MonitoringHistory
	MonitoringHistoryKey = collections.NewPrefix("MonitoringHistory/value/")

	// VerifiedClientIDKey is the prefix to retrieve all VerifiedClientID
	VerifiedClientIDKey = collections.NewPrefix("VerifiedClientID/value/")

	// ProviderClientIDKey is the prefix to retrieve all ProviderClientID
	ProviderClientIDKey = collections.NewPrefix("ProviderClientID/value/")
)
View Source
var (
	ErrInvalidLengthLaunchIdFromChannelId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLaunchIdFromChannelId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLaunchIdFromChannelId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLaunchIdFromVerifiedClientId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLaunchIdFromVerifiedClientId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLaunchIdFromVerifiedClientId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMonitoringHistory        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMonitoringHistory          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMonitoringHistory = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProviderClientId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProviderClientId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProviderClientId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVerifiedClientId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVerifiedClientId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVerifiedClientId = fmt.Errorf("proto: unexpected end of group")
)

ModuleCdc references the global x/ibc-transfer module codec. Note, the codec should ONLY be used in certain instances of tests and for JSON encoding.

The actual codec used for serialization should be provided to x/ibc transfer and defined at the application level.

View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

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

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

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

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}

AccountKeeper defines the expected interface for the Account module.

type BankKeeper

type BankKeeper interface {
	SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface for the Bank module.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	SendPacket(
		ctx sdk.Context,
		channelCap *capabilitytypes.Capability,
		sourcePort string,
		sourceChannel string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		data []byte,
	) (uint64, error)
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper.

type ClientKeeper

type ClientKeeper interface {
	CreateClient(ctx sdk.Context, clientState exported.ClientState, consensusState exported.ConsensusState) (string, error)
}

ClientKeeper is imported to add the ability to create IBC Client from the module

type ConnectionKeeper

type ConnectionKeeper interface {
	GetConnection(ctx sdk.Context, connectionID string) (connectiontypes.ConnectionEnd, bool)
}

ConnectionKeeper is imported to check client ID during IBC handshake

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params                           Params                         `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId                           string                         `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	LaunchIdFromChannelIdList        []LaunchIDFromChannelID        `` /* 134-byte string literal not displayed */
	LaunchIdFromVerifiedClientIdList []LaunchIDFromVerifiedClientID `` /* 157-byte string literal not displayed */
	MonitoringHistoryList            []MonitoringHistory            `protobuf:"bytes,5,rep,name=monitoring_history_list,json=monitoringHistoryList,proto3" json:"monitoring_history_list"`
	VerifiedClientIdList             []VerifiedClientID             `protobuf:"bytes,6,rep,name=verified_client_id_list,json=verifiedClientIdList,proto3" json:"verified_client_id_list"`
	ProviderClientIdList             []ProviderClientID             `protobuf:"bytes,7,rep,name=provider_client_id_list,json=providerClientIdList,proto3" json:"provider_client_id_list"`
}

GenesisState defines the monitoringc module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetLaunchIdFromChannelIdList

func (m *GenesisState) GetLaunchIdFromChannelIdList() []LaunchIDFromChannelID

func (*GenesisState) GetLaunchIdFromVerifiedClientIdList

func (m *GenesisState) GetLaunchIdFromVerifiedClientIdList() []LaunchIDFromVerifiedClientID

func (*GenesisState) GetMonitoringHistoryList

func (m *GenesisState) GetMonitoringHistoryList() []MonitoringHistory

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) GetProviderClientIdList

func (m *GenesisState) GetProviderClientIdList() []ProviderClientID

func (*GenesisState) GetVerifiedClientIdList

func (m *GenesisState) GetVerifiedClientIdList() []VerifiedClientID

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type LaunchIDFromChannelID

type LaunchIDFromChannelID struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	LaunchId  uint64 `protobuf:"varint,2,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
}

func (*LaunchIDFromChannelID) Descriptor

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

func (*LaunchIDFromChannelID) GetChannelId

func (m *LaunchIDFromChannelID) GetChannelId() string

func (*LaunchIDFromChannelID) GetLaunchId

func (m *LaunchIDFromChannelID) GetLaunchId() uint64

func (*LaunchIDFromChannelID) Marshal

func (m *LaunchIDFromChannelID) Marshal() (dAtA []byte, err error)

func (*LaunchIDFromChannelID) MarshalTo

func (m *LaunchIDFromChannelID) MarshalTo(dAtA []byte) (int, error)

func (*LaunchIDFromChannelID) MarshalToSizedBuffer

func (m *LaunchIDFromChannelID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LaunchIDFromChannelID) ProtoMessage

func (*LaunchIDFromChannelID) ProtoMessage()

func (*LaunchIDFromChannelID) Reset

func (m *LaunchIDFromChannelID) Reset()

func (*LaunchIDFromChannelID) Size

func (m *LaunchIDFromChannelID) Size() (n int)

func (*LaunchIDFromChannelID) String

func (m *LaunchIDFromChannelID) String() string

func (*LaunchIDFromChannelID) Unmarshal

func (m *LaunchIDFromChannelID) Unmarshal(dAtA []byte) error

func (*LaunchIDFromChannelID) XXX_DiscardUnknown

func (m *LaunchIDFromChannelID) XXX_DiscardUnknown()

func (*LaunchIDFromChannelID) XXX_Marshal

func (m *LaunchIDFromChannelID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LaunchIDFromChannelID) XXX_Merge

func (m *LaunchIDFromChannelID) XXX_Merge(src proto.Message)

func (*LaunchIDFromChannelID) XXX_Size

func (m *LaunchIDFromChannelID) XXX_Size() int

func (*LaunchIDFromChannelID) XXX_Unmarshal

func (m *LaunchIDFromChannelID) XXX_Unmarshal(b []byte) error

type LaunchIDFromVerifiedClientID

type LaunchIDFromVerifiedClientID struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	LaunchId uint64 `protobuf:"varint,2,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
}

func (*LaunchIDFromVerifiedClientID) Descriptor

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

func (*LaunchIDFromVerifiedClientID) GetClientId

func (m *LaunchIDFromVerifiedClientID) GetClientId() string

func (*LaunchIDFromVerifiedClientID) GetLaunchId

func (m *LaunchIDFromVerifiedClientID) GetLaunchId() uint64

func (*LaunchIDFromVerifiedClientID) Marshal

func (m *LaunchIDFromVerifiedClientID) Marshal() (dAtA []byte, err error)

func (*LaunchIDFromVerifiedClientID) MarshalTo

func (m *LaunchIDFromVerifiedClientID) MarshalTo(dAtA []byte) (int, error)

func (*LaunchIDFromVerifiedClientID) MarshalToSizedBuffer

func (m *LaunchIDFromVerifiedClientID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LaunchIDFromVerifiedClientID) ProtoMessage

func (*LaunchIDFromVerifiedClientID) ProtoMessage()

func (*LaunchIDFromVerifiedClientID) Reset

func (m *LaunchIDFromVerifiedClientID) Reset()

func (*LaunchIDFromVerifiedClientID) Size

func (m *LaunchIDFromVerifiedClientID) Size() (n int)

func (*LaunchIDFromVerifiedClientID) String

func (*LaunchIDFromVerifiedClientID) Unmarshal

func (m *LaunchIDFromVerifiedClientID) Unmarshal(dAtA []byte) error

func (*LaunchIDFromVerifiedClientID) XXX_DiscardUnknown

func (m *LaunchIDFromVerifiedClientID) XXX_DiscardUnknown()

func (*LaunchIDFromVerifiedClientID) XXX_Marshal

func (m *LaunchIDFromVerifiedClientID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LaunchIDFromVerifiedClientID) XXX_Merge

func (m *LaunchIDFromVerifiedClientID) XXX_Merge(src proto.Message)

func (*LaunchIDFromVerifiedClientID) XXX_Size

func (m *LaunchIDFromVerifiedClientID) XXX_Size() int

func (*LaunchIDFromVerifiedClientID) XXX_Unmarshal

func (m *LaunchIDFromVerifiedClientID) XXX_Unmarshal(b []byte) error

type LaunchKeeper

type LaunchKeeper interface {
	GetChain(ctx context.Context, launchID uint64) (launchtypes.Chain, error)
	EnableMonitoringConnection(ctx context.Context, launchID uint64) error
	CheckValidatorSet(
		ctx context.Context,
		launchID uint64,
		chainID string,
		validatorSet tmtypes.ValidatorSet,
	) error
}

type MonitoringHistory

type MonitoringHistory struct {
	LaunchId               uint64                 `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
	LatestMonitoringPacket types.MonitoringPacket `protobuf:"bytes,2,opt,name=latest_monitoring_packet,json=latestMonitoringPacket,proto3" json:"latest_monitoring_packet"`
}

func (*MonitoringHistory) Descriptor

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

func (*MonitoringHistory) GetLatestMonitoringPacket

func (m *MonitoringHistory) GetLatestMonitoringPacket() types.MonitoringPacket

func (*MonitoringHistory) GetLaunchId

func (m *MonitoringHistory) GetLaunchId() uint64

func (*MonitoringHistory) Marshal

func (m *MonitoringHistory) Marshal() (dAtA []byte, err error)

func (*MonitoringHistory) MarshalTo

func (m *MonitoringHistory) MarshalTo(dAtA []byte) (int, error)

func (*MonitoringHistory) MarshalToSizedBuffer

func (m *MonitoringHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MonitoringHistory) ProtoMessage

func (*MonitoringHistory) ProtoMessage()

func (*MonitoringHistory) Reset

func (m *MonitoringHistory) Reset()

func (*MonitoringHistory) Size

func (m *MonitoringHistory) Size() (n int)

func (*MonitoringHistory) String

func (m *MonitoringHistory) String() string

func (*MonitoringHistory) Unmarshal

func (m *MonitoringHistory) Unmarshal(dAtA []byte) error

func (*MonitoringHistory) XXX_DiscardUnknown

func (m *MonitoringHistory) XXX_DiscardUnknown()

func (*MonitoringHistory) XXX_Marshal

func (m *MonitoringHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MonitoringHistory) XXX_Merge

func (m *MonitoringHistory) XXX_Merge(src proto.Message)

func (*MonitoringHistory) XXX_Size

func (m *MonitoringHistory) XXX_Size() int

func (*MonitoringHistory) XXX_Unmarshal

func (m *MonitoringHistory) XXX_Unmarshal(b []byte) error

type MonitoringcPacketData

type MonitoringcPacketData struct {
	// Types that are valid to be assigned to Packet:
	//	*MonitoringcPacketData_NoData
	Packet isMonitoringcPacketData_Packet `protobuf_oneof:"packet"`
}

func (*MonitoringcPacketData) Descriptor

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

func (*MonitoringcPacketData) GetNoData

func (m *MonitoringcPacketData) GetNoData() *NoData

func (*MonitoringcPacketData) GetPacket

func (m *MonitoringcPacketData) GetPacket() isMonitoringcPacketData_Packet

func (*MonitoringcPacketData) Marshal

func (m *MonitoringcPacketData) Marshal() (dAtA []byte, err error)

func (*MonitoringcPacketData) MarshalTo

func (m *MonitoringcPacketData) MarshalTo(dAtA []byte) (int, error)

func (*MonitoringcPacketData) MarshalToSizedBuffer

func (m *MonitoringcPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MonitoringcPacketData) ProtoMessage

func (*MonitoringcPacketData) ProtoMessage()

func (*MonitoringcPacketData) Reset

func (m *MonitoringcPacketData) Reset()

func (*MonitoringcPacketData) Size

func (m *MonitoringcPacketData) Size() (n int)

func (*MonitoringcPacketData) String

func (m *MonitoringcPacketData) String() string

func (*MonitoringcPacketData) Unmarshal

func (m *MonitoringcPacketData) Unmarshal(dAtA []byte) error

func (*MonitoringcPacketData) XXX_DiscardUnknown

func (m *MonitoringcPacketData) XXX_DiscardUnknown()

func (*MonitoringcPacketData) XXX_Marshal

func (m *MonitoringcPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MonitoringcPacketData) XXX_Merge

func (m *MonitoringcPacketData) XXX_Merge(src proto.Message)

func (*MonitoringcPacketData) XXX_OneofWrappers

func (*MonitoringcPacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MonitoringcPacketData) XXX_Size

func (m *MonitoringcPacketData) XXX_Size() int

func (*MonitoringcPacketData) XXX_Unmarshal

func (m *MonitoringcPacketData) XXX_Unmarshal(b []byte) error

type MonitoringcPacketData_NoData

type MonitoringcPacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}

func (*MonitoringcPacketData_NoData) MarshalTo

func (m *MonitoringcPacketData_NoData) MarshalTo(dAtA []byte) (int, error)

func (*MonitoringcPacketData_NoData) MarshalToSizedBuffer

func (m *MonitoringcPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MonitoringcPacketData_NoData) Size

func (m *MonitoringcPacketData_NoData) Size() (n int)

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	CreateClient(ctx context.Context, in *MsgCreateClient, opts ...grpc.CallOption) (*MsgCreateClientResponse, 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

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateClient

type MsgCreateClient struct {
	Creator         string               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	LaunchId        uint64               `protobuf:"varint,2,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
	ConsensusState  types.ConsensusState `protobuf:"bytes,3,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state"`
	ValidatorSet    types.ValidatorSet   `protobuf:"bytes,4,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set"`
	UnbondingPeriod int64                `protobuf:"varint,5,opt,name=unbonding_period,json=unbondingPeriod,proto3" json:"unbonding_period,omitempty"`
	RevisionHeight  uint64               `protobuf:"varint,6,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
}

func NewMsgCreateClient

func NewMsgCreateClient(
	creator string,
	launchID uint64,
	consensusState networktypes.ConsensusState,
	validatorSet networktypes.ValidatorSet,
	unbondingPeriod int64,
	revisionHeight uint64,
) *MsgCreateClient

func (*MsgCreateClient) Descriptor

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

func (*MsgCreateClient) GetConsensusState

func (m *MsgCreateClient) GetConsensusState() types.ConsensusState

func (*MsgCreateClient) GetCreator

func (m *MsgCreateClient) GetCreator() string

func (*MsgCreateClient) GetLaunchId

func (m *MsgCreateClient) GetLaunchId() uint64

func (*MsgCreateClient) GetRevisionHeight

func (m *MsgCreateClient) GetRevisionHeight() uint64

func (*MsgCreateClient) GetUnbondingPeriod

func (m *MsgCreateClient) GetUnbondingPeriod() int64

func (*MsgCreateClient) GetValidatorSet

func (m *MsgCreateClient) GetValidatorSet() types.ValidatorSet

func (*MsgCreateClient) Marshal

func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)

func (*MsgCreateClient) MarshalTo

func (m *MsgCreateClient) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateClient) MarshalToSizedBuffer

func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateClient) ProtoMessage

func (*MsgCreateClient) ProtoMessage()

func (*MsgCreateClient) Reset

func (m *MsgCreateClient) Reset()

func (*MsgCreateClient) Size

func (m *MsgCreateClient) Size() (n int)

func (*MsgCreateClient) String

func (m *MsgCreateClient) String() string

func (MsgCreateClient) Type

func (msg MsgCreateClient) Type() string

func (*MsgCreateClient) Unmarshal

func (m *MsgCreateClient) Unmarshal(dAtA []byte) error

func (*MsgCreateClient) ValidateBasic

func (msg *MsgCreateClient) ValidateBasic() error

func (*MsgCreateClient) XXX_DiscardUnknown

func (m *MsgCreateClient) XXX_DiscardUnknown()

func (*MsgCreateClient) XXX_Marshal

func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateClient) XXX_Merge

func (m *MsgCreateClient) XXX_Merge(src proto.Message)

func (*MsgCreateClient) XXX_Size

func (m *MsgCreateClient) XXX_Size() int

func (*MsgCreateClient) XXX_Unmarshal

func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error

type MsgCreateClientResponse

type MsgCreateClientResponse struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*MsgCreateClientResponse) Descriptor

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

func (*MsgCreateClientResponse) GetClientId

func (m *MsgCreateClientResponse) GetClientId() string

func (*MsgCreateClientResponse) Marshal

func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateClientResponse) MarshalTo

func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateClientResponse) MarshalToSizedBuffer

func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateClientResponse) ProtoMessage

func (*MsgCreateClientResponse) ProtoMessage()

func (*MsgCreateClientResponse) Reset

func (m *MsgCreateClientResponse) Reset()

func (*MsgCreateClientResponse) Size

func (m *MsgCreateClientResponse) Size() (n int)

func (*MsgCreateClientResponse) String

func (m *MsgCreateClientResponse) String() string

func (*MsgCreateClientResponse) Unmarshal

func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateClientResponse) XXX_DiscardUnknown

func (m *MsgCreateClientResponse) XXX_DiscardUnknown()

func (*MsgCreateClientResponse) XXX_Marshal

func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateClientResponse) XXX_Merge

func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message)

func (*MsgCreateClientResponse) XXX_Size

func (m *MsgCreateClientResponse) XXX_Size() int

func (*MsgCreateClientResponse) XXX_Unmarshal

func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	CreateClient(context.Context, *MsgCreateClient) (*MsgCreateClientResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type NoData

type NoData struct {
}

func (*NoData) Descriptor

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

func (*NoData) Marshal

func (m *NoData) Marshal() (dAtA []byte, err error)

func (*NoData) MarshalTo

func (m *NoData) MarshalTo(dAtA []byte) (int, error)

func (*NoData) MarshalToSizedBuffer

func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

func (m *NoData) Size() (n int)

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

func (m *NoData) Unmarshal(dAtA []byte) error

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NoData) XXX_Merge

func (m *NoData) XXX_Merge(src proto.Message)

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

func (m *NoData) XXX_Unmarshal(b []byte) error

type ParamSubspace

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams() Params

NewParams creates a new Params instance.

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper.

type ProviderClientID

type ProviderClientID struct {
	LaunchId uint64 `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*ProviderClientID) Descriptor

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

func (*ProviderClientID) GetClientId

func (m *ProviderClientID) GetClientId() string

func (*ProviderClientID) GetLaunchId

func (m *ProviderClientID) GetLaunchId() uint64

func (*ProviderClientID) Marshal

func (m *ProviderClientID) Marshal() (dAtA []byte, err error)

func (*ProviderClientID) MarshalTo

func (m *ProviderClientID) MarshalTo(dAtA []byte) (int, error)

func (*ProviderClientID) MarshalToSizedBuffer

func (m *ProviderClientID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderClientID) ProtoMessage

func (*ProviderClientID) ProtoMessage()

func (*ProviderClientID) Reset

func (m *ProviderClientID) Reset()

func (*ProviderClientID) Size

func (m *ProviderClientID) Size() (n int)

func (*ProviderClientID) String

func (m *ProviderClientID) String() string

func (*ProviderClientID) Unmarshal

func (m *ProviderClientID) Unmarshal(dAtA []byte) error

func (*ProviderClientID) XXX_DiscardUnknown

func (m *ProviderClientID) XXX_DiscardUnknown()

func (*ProviderClientID) XXX_Marshal

func (m *ProviderClientID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderClientID) XXX_Merge

func (m *ProviderClientID) XXX_Merge(src proto.Message)

func (*ProviderClientID) XXX_Size

func (m *ProviderClientID) XXX_Size() int

func (*ProviderClientID) XXX_Unmarshal

func (m *ProviderClientID) XXX_Unmarshal(b []byte) error

type QueryAllLaunchIDFromChannelIDRequest

type QueryAllLaunchIDFromChannelIDRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllLaunchIDFromChannelIDRequest) Descriptor

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

func (*QueryAllLaunchIDFromChannelIDRequest) GetPagination

func (*QueryAllLaunchIDFromChannelIDRequest) Marshal

func (m *QueryAllLaunchIDFromChannelIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllLaunchIDFromChannelIDRequest) MarshalTo

func (m *QueryAllLaunchIDFromChannelIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllLaunchIDFromChannelIDRequest) MarshalToSizedBuffer

func (m *QueryAllLaunchIDFromChannelIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllLaunchIDFromChannelIDRequest) ProtoMessage

func (*QueryAllLaunchIDFromChannelIDRequest) ProtoMessage()

func (*QueryAllLaunchIDFromChannelIDRequest) Reset

func (*QueryAllLaunchIDFromChannelIDRequest) Size

func (*QueryAllLaunchIDFromChannelIDRequest) String

func (*QueryAllLaunchIDFromChannelIDRequest) Unmarshal

func (m *QueryAllLaunchIDFromChannelIDRequest) Unmarshal(dAtA []byte) error

func (*QueryAllLaunchIDFromChannelIDRequest) XXX_DiscardUnknown

func (m *QueryAllLaunchIDFromChannelIDRequest) XXX_DiscardUnknown()

func (*QueryAllLaunchIDFromChannelIDRequest) XXX_Marshal

func (m *QueryAllLaunchIDFromChannelIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllLaunchIDFromChannelIDRequest) XXX_Merge

func (*QueryAllLaunchIDFromChannelIDRequest) XXX_Size

func (*QueryAllLaunchIDFromChannelIDRequest) XXX_Unmarshal

func (m *QueryAllLaunchIDFromChannelIDRequest) XXX_Unmarshal(b []byte) error

type QueryAllLaunchIDFromChannelIDResponse

type QueryAllLaunchIDFromChannelIDResponse struct {
	LaunchIdFromChannelId []LaunchIDFromChannelID `protobuf:"bytes,1,rep,name=launch_id_from_channel_id,json=launchIdFromChannelId,proto3" json:"launch_id_from_channel_id"`
	Pagination            *query.PageResponse     `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllLaunchIDFromChannelIDResponse) Descriptor

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

func (*QueryAllLaunchIDFromChannelIDResponse) GetLaunchIdFromChannelId

func (m *QueryAllLaunchIDFromChannelIDResponse) GetLaunchIdFromChannelId() []LaunchIDFromChannelID

func (*QueryAllLaunchIDFromChannelIDResponse) GetPagination

func (*QueryAllLaunchIDFromChannelIDResponse) Marshal

func (m *QueryAllLaunchIDFromChannelIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllLaunchIDFromChannelIDResponse) MarshalTo

func (m *QueryAllLaunchIDFromChannelIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllLaunchIDFromChannelIDResponse) MarshalToSizedBuffer

func (m *QueryAllLaunchIDFromChannelIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllLaunchIDFromChannelIDResponse) ProtoMessage

func (*QueryAllLaunchIDFromChannelIDResponse) ProtoMessage()

func (*QueryAllLaunchIDFromChannelIDResponse) Reset

func (*QueryAllLaunchIDFromChannelIDResponse) Size

func (*QueryAllLaunchIDFromChannelIDResponse) String

func (*QueryAllLaunchIDFromChannelIDResponse) Unmarshal

func (m *QueryAllLaunchIDFromChannelIDResponse) Unmarshal(dAtA []byte) error

func (*QueryAllLaunchIDFromChannelIDResponse) XXX_DiscardUnknown

func (m *QueryAllLaunchIDFromChannelIDResponse) XXX_DiscardUnknown()

func (*QueryAllLaunchIDFromChannelIDResponse) XXX_Marshal

func (m *QueryAllLaunchIDFromChannelIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllLaunchIDFromChannelIDResponse) XXX_Merge

func (*QueryAllLaunchIDFromChannelIDResponse) XXX_Size

func (*QueryAllLaunchIDFromChannelIDResponse) XXX_Unmarshal

func (m *QueryAllLaunchIDFromChannelIDResponse) XXX_Unmarshal(b []byte) error

type QueryAllProviderClientIDRequest

type QueryAllProviderClientIDRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProviderClientIDRequest) Descriptor

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

func (*QueryAllProviderClientIDRequest) GetPagination

func (*QueryAllProviderClientIDRequest) Marshal

func (m *QueryAllProviderClientIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProviderClientIDRequest) MarshalTo

func (m *QueryAllProviderClientIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProviderClientIDRequest) MarshalToSizedBuffer

func (m *QueryAllProviderClientIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProviderClientIDRequest) ProtoMessage

func (*QueryAllProviderClientIDRequest) ProtoMessage()

func (*QueryAllProviderClientIDRequest) Reset

func (*QueryAllProviderClientIDRequest) Size

func (m *QueryAllProviderClientIDRequest) Size() (n int)

func (*QueryAllProviderClientIDRequest) String

func (*QueryAllProviderClientIDRequest) Unmarshal

func (m *QueryAllProviderClientIDRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProviderClientIDRequest) XXX_DiscardUnknown

func (m *QueryAllProviderClientIDRequest) XXX_DiscardUnknown()

func (*QueryAllProviderClientIDRequest) XXX_Marshal

func (m *QueryAllProviderClientIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProviderClientIDRequest) XXX_Merge

func (m *QueryAllProviderClientIDRequest) XXX_Merge(src proto.Message)

func (*QueryAllProviderClientIDRequest) XXX_Size

func (m *QueryAllProviderClientIDRequest) XXX_Size() int

func (*QueryAllProviderClientIDRequest) XXX_Unmarshal

func (m *QueryAllProviderClientIDRequest) XXX_Unmarshal(b []byte) error

type QueryAllProviderClientIDResponse

type QueryAllProviderClientIDResponse struct {
	ProviderClientId []ProviderClientID  `protobuf:"bytes,1,rep,name=provider_client_id,json=providerClientId,proto3" json:"provider_client_id"`
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProviderClientIDResponse) Descriptor

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

func (*QueryAllProviderClientIDResponse) GetPagination

func (*QueryAllProviderClientIDResponse) GetProviderClientId

func (m *QueryAllProviderClientIDResponse) GetProviderClientId() []ProviderClientID

func (*QueryAllProviderClientIDResponse) Marshal

func (m *QueryAllProviderClientIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProviderClientIDResponse) MarshalTo

func (m *QueryAllProviderClientIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProviderClientIDResponse) MarshalToSizedBuffer

func (m *QueryAllProviderClientIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProviderClientIDResponse) ProtoMessage

func (*QueryAllProviderClientIDResponse) ProtoMessage()

func (*QueryAllProviderClientIDResponse) Reset

func (*QueryAllProviderClientIDResponse) Size

func (m *QueryAllProviderClientIDResponse) Size() (n int)

func (*QueryAllProviderClientIDResponse) String

func (*QueryAllProviderClientIDResponse) Unmarshal

func (m *QueryAllProviderClientIDResponse) Unmarshal(dAtA []byte) error

func (*QueryAllProviderClientIDResponse) XXX_DiscardUnknown

func (m *QueryAllProviderClientIDResponse) XXX_DiscardUnknown()

func (*QueryAllProviderClientIDResponse) XXX_Marshal

func (m *QueryAllProviderClientIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProviderClientIDResponse) XXX_Merge

func (*QueryAllProviderClientIDResponse) XXX_Size

func (m *QueryAllProviderClientIDResponse) XXX_Size() int

func (*QueryAllProviderClientIDResponse) XXX_Unmarshal

func (m *QueryAllProviderClientIDResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of LaunchIDFromChannelID items.
	GetLaunchIDFromChannelID(ctx context.Context, in *QueryGetLaunchIDFromChannelIDRequest, opts ...grpc.CallOption) (*QueryGetLaunchIDFromChannelIDResponse, error)
	ListLaunchIDFromChannelID(ctx context.Context, in *QueryAllLaunchIDFromChannelIDRequest, opts ...grpc.CallOption) (*QueryAllLaunchIDFromChannelIDResponse, error)
	// Queries a list of MonitoringHistory items.
	GetMonitoringHistory(ctx context.Context, in *QueryGetMonitoringHistoryRequest, opts ...grpc.CallOption) (*QueryGetMonitoringHistoryResponse, error)
	// Queries a list of VerifiedClientID items.
	GetVerifiedClientID(ctx context.Context, in *QueryGetVerifiedClientIDRequest, opts ...grpc.CallOption) (*QueryGetVerifiedClientIDResponse, error)
	// Queries a list of ProviderClientID items.
	GetProviderClientID(ctx context.Context, in *QueryGetProviderClientIDRequest, opts ...grpc.CallOption) (*QueryGetProviderClientIDResponse, error)
	ListProviderClientID(ctx context.Context, in *QueryAllProviderClientIDRequest, opts ...grpc.CallOption) (*QueryAllProviderClientIDResponse, 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

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetLaunchIDFromChannelIDRequest

type QueryGetLaunchIDFromChannelIDRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

func (*QueryGetLaunchIDFromChannelIDRequest) Descriptor

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

func (*QueryGetLaunchIDFromChannelIDRequest) GetChannelId

func (m *QueryGetLaunchIDFromChannelIDRequest) GetChannelId() string

func (*QueryGetLaunchIDFromChannelIDRequest) Marshal

func (m *QueryGetLaunchIDFromChannelIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetLaunchIDFromChannelIDRequest) MarshalTo

func (m *QueryGetLaunchIDFromChannelIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetLaunchIDFromChannelIDRequest) MarshalToSizedBuffer

func (m *QueryGetLaunchIDFromChannelIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetLaunchIDFromChannelIDRequest) ProtoMessage

func (*QueryGetLaunchIDFromChannelIDRequest) ProtoMessage()

func (*QueryGetLaunchIDFromChannelIDRequest) Reset

func (*QueryGetLaunchIDFromChannelIDRequest) Size

func (*QueryGetLaunchIDFromChannelIDRequest) String

func (*QueryGetLaunchIDFromChannelIDRequest) Unmarshal

func (m *QueryGetLaunchIDFromChannelIDRequest) Unmarshal(dAtA []byte) error

func (*QueryGetLaunchIDFromChannelIDRequest) XXX_DiscardUnknown

func (m *QueryGetLaunchIDFromChannelIDRequest) XXX_DiscardUnknown()

func (*QueryGetLaunchIDFromChannelIDRequest) XXX_Marshal

func (m *QueryGetLaunchIDFromChannelIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetLaunchIDFromChannelIDRequest) XXX_Merge

func (*QueryGetLaunchIDFromChannelIDRequest) XXX_Size

func (*QueryGetLaunchIDFromChannelIDRequest) XXX_Unmarshal

func (m *QueryGetLaunchIDFromChannelIDRequest) XXX_Unmarshal(b []byte) error

type QueryGetLaunchIDFromChannelIDResponse

type QueryGetLaunchIDFromChannelIDResponse struct {
	LaunchIdFromChannelId LaunchIDFromChannelID `protobuf:"bytes,1,opt,name=launch_id_from_channel_id,json=launchIdFromChannelId,proto3" json:"launch_id_from_channel_id"`
}

func (*QueryGetLaunchIDFromChannelIDResponse) Descriptor

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

func (*QueryGetLaunchIDFromChannelIDResponse) GetLaunchIdFromChannelId

func (m *QueryGetLaunchIDFromChannelIDResponse) GetLaunchIdFromChannelId() LaunchIDFromChannelID

func (*QueryGetLaunchIDFromChannelIDResponse) Marshal

func (m *QueryGetLaunchIDFromChannelIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetLaunchIDFromChannelIDResponse) MarshalTo

func (m *QueryGetLaunchIDFromChannelIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetLaunchIDFromChannelIDResponse) MarshalToSizedBuffer

func (m *QueryGetLaunchIDFromChannelIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetLaunchIDFromChannelIDResponse) ProtoMessage

func (*QueryGetLaunchIDFromChannelIDResponse) ProtoMessage()

func (*QueryGetLaunchIDFromChannelIDResponse) Reset

func (*QueryGetLaunchIDFromChannelIDResponse) Size

func (*QueryGetLaunchIDFromChannelIDResponse) String

func (*QueryGetLaunchIDFromChannelIDResponse) Unmarshal

func (m *QueryGetLaunchIDFromChannelIDResponse) Unmarshal(dAtA []byte) error

func (*QueryGetLaunchIDFromChannelIDResponse) XXX_DiscardUnknown

func (m *QueryGetLaunchIDFromChannelIDResponse) XXX_DiscardUnknown()

func (*QueryGetLaunchIDFromChannelIDResponse) XXX_Marshal

func (m *QueryGetLaunchIDFromChannelIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetLaunchIDFromChannelIDResponse) XXX_Merge

func (*QueryGetLaunchIDFromChannelIDResponse) XXX_Size

func (*QueryGetLaunchIDFromChannelIDResponse) XXX_Unmarshal

func (m *QueryGetLaunchIDFromChannelIDResponse) XXX_Unmarshal(b []byte) error

type QueryGetMonitoringHistoryRequest

type QueryGetMonitoringHistoryRequest struct {
	LaunchId uint64 `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
}

func (*QueryGetMonitoringHistoryRequest) Descriptor

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

func (*QueryGetMonitoringHistoryRequest) GetLaunchId

func (m *QueryGetMonitoringHistoryRequest) GetLaunchId() uint64

func (*QueryGetMonitoringHistoryRequest) Marshal

func (m *QueryGetMonitoringHistoryRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetMonitoringHistoryRequest) MarshalTo

func (m *QueryGetMonitoringHistoryRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetMonitoringHistoryRequest) MarshalToSizedBuffer

func (m *QueryGetMonitoringHistoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetMonitoringHistoryRequest) ProtoMessage

func (*QueryGetMonitoringHistoryRequest) ProtoMessage()

func (*QueryGetMonitoringHistoryRequest) Reset

func (*QueryGetMonitoringHistoryRequest) Size

func (m *QueryGetMonitoringHistoryRequest) Size() (n int)

func (*QueryGetMonitoringHistoryRequest) String

func (*QueryGetMonitoringHistoryRequest) Unmarshal

func (m *QueryGetMonitoringHistoryRequest) Unmarshal(dAtA []byte) error

func (*QueryGetMonitoringHistoryRequest) XXX_DiscardUnknown

func (m *QueryGetMonitoringHistoryRequest) XXX_DiscardUnknown()

func (*QueryGetMonitoringHistoryRequest) XXX_Marshal

func (m *QueryGetMonitoringHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetMonitoringHistoryRequest) XXX_Merge

func (*QueryGetMonitoringHistoryRequest) XXX_Size

func (m *QueryGetMonitoringHistoryRequest) XXX_Size() int

func (*QueryGetMonitoringHistoryRequest) XXX_Unmarshal

func (m *QueryGetMonitoringHistoryRequest) XXX_Unmarshal(b []byte) error

type QueryGetMonitoringHistoryResponse

type QueryGetMonitoringHistoryResponse struct {
	MonitoringHistory MonitoringHistory `protobuf:"bytes,1,opt,name=monitoring_history,json=monitoringHistory,proto3" json:"monitoring_history"`
}

func (*QueryGetMonitoringHistoryResponse) Descriptor

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

func (*QueryGetMonitoringHistoryResponse) GetMonitoringHistory

func (m *QueryGetMonitoringHistoryResponse) GetMonitoringHistory() MonitoringHistory

func (*QueryGetMonitoringHistoryResponse) Marshal

func (m *QueryGetMonitoringHistoryResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetMonitoringHistoryResponse) MarshalTo

func (m *QueryGetMonitoringHistoryResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetMonitoringHistoryResponse) MarshalToSizedBuffer

func (m *QueryGetMonitoringHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetMonitoringHistoryResponse) ProtoMessage

func (*QueryGetMonitoringHistoryResponse) ProtoMessage()

func (*QueryGetMonitoringHistoryResponse) Reset

func (*QueryGetMonitoringHistoryResponse) Size

func (m *QueryGetMonitoringHistoryResponse) Size() (n int)

func (*QueryGetMonitoringHistoryResponse) String

func (*QueryGetMonitoringHistoryResponse) Unmarshal

func (m *QueryGetMonitoringHistoryResponse) Unmarshal(dAtA []byte) error

func (*QueryGetMonitoringHistoryResponse) XXX_DiscardUnknown

func (m *QueryGetMonitoringHistoryResponse) XXX_DiscardUnknown()

func (*QueryGetMonitoringHistoryResponse) XXX_Marshal

func (m *QueryGetMonitoringHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetMonitoringHistoryResponse) XXX_Merge

func (*QueryGetMonitoringHistoryResponse) XXX_Size

func (m *QueryGetMonitoringHistoryResponse) XXX_Size() int

func (*QueryGetMonitoringHistoryResponse) XXX_Unmarshal

func (m *QueryGetMonitoringHistoryResponse) XXX_Unmarshal(b []byte) error

type QueryGetProviderClientIDRequest

type QueryGetProviderClientIDRequest struct {
	LaunchId uint64 `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
}

func (*QueryGetProviderClientIDRequest) Descriptor

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

func (*QueryGetProviderClientIDRequest) GetLaunchId

func (m *QueryGetProviderClientIDRequest) GetLaunchId() uint64

func (*QueryGetProviderClientIDRequest) Marshal

func (m *QueryGetProviderClientIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProviderClientIDRequest) MarshalTo

func (m *QueryGetProviderClientIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProviderClientIDRequest) MarshalToSizedBuffer

func (m *QueryGetProviderClientIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProviderClientIDRequest) ProtoMessage

func (*QueryGetProviderClientIDRequest) ProtoMessage()

func (*QueryGetProviderClientIDRequest) Reset

func (*QueryGetProviderClientIDRequest) Size

func (m *QueryGetProviderClientIDRequest) Size() (n int)

func (*QueryGetProviderClientIDRequest) String

func (*QueryGetProviderClientIDRequest) Unmarshal

func (m *QueryGetProviderClientIDRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProviderClientIDRequest) XXX_DiscardUnknown

func (m *QueryGetProviderClientIDRequest) XXX_DiscardUnknown()

func (*QueryGetProviderClientIDRequest) XXX_Marshal

func (m *QueryGetProviderClientIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProviderClientIDRequest) XXX_Merge

func (m *QueryGetProviderClientIDRequest) XXX_Merge(src proto.Message)

func (*QueryGetProviderClientIDRequest) XXX_Size

func (m *QueryGetProviderClientIDRequest) XXX_Size() int

func (*QueryGetProviderClientIDRequest) XXX_Unmarshal

func (m *QueryGetProviderClientIDRequest) XXX_Unmarshal(b []byte) error

type QueryGetProviderClientIDResponse

type QueryGetProviderClientIDResponse struct {
	ProviderClientId ProviderClientID `protobuf:"bytes,1,opt,name=provider_client_id,json=providerClientId,proto3" json:"provider_client_id"`
}

func (*QueryGetProviderClientIDResponse) Descriptor

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

func (*QueryGetProviderClientIDResponse) GetProviderClientId

func (m *QueryGetProviderClientIDResponse) GetProviderClientId() ProviderClientID

func (*QueryGetProviderClientIDResponse) Marshal

func (m *QueryGetProviderClientIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProviderClientIDResponse) MarshalTo

func (m *QueryGetProviderClientIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProviderClientIDResponse) MarshalToSizedBuffer

func (m *QueryGetProviderClientIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProviderClientIDResponse) ProtoMessage

func (*QueryGetProviderClientIDResponse) ProtoMessage()

func (*QueryGetProviderClientIDResponse) Reset

func (*QueryGetProviderClientIDResponse) Size

func (m *QueryGetProviderClientIDResponse) Size() (n int)

func (*QueryGetProviderClientIDResponse) String

func (*QueryGetProviderClientIDResponse) Unmarshal

func (m *QueryGetProviderClientIDResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProviderClientIDResponse) XXX_DiscardUnknown

func (m *QueryGetProviderClientIDResponse) XXX_DiscardUnknown()

func (*QueryGetProviderClientIDResponse) XXX_Marshal

func (m *QueryGetProviderClientIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProviderClientIDResponse) XXX_Merge

func (*QueryGetProviderClientIDResponse) XXX_Size

func (m *QueryGetProviderClientIDResponse) XXX_Size() int

func (*QueryGetProviderClientIDResponse) XXX_Unmarshal

func (m *QueryGetProviderClientIDResponse) XXX_Unmarshal(b []byte) error

type QueryGetVerifiedClientIDRequest

type QueryGetVerifiedClientIDRequest struct {
	LaunchId uint64 `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
}

func (*QueryGetVerifiedClientIDRequest) Descriptor

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

func (*QueryGetVerifiedClientIDRequest) GetLaunchId

func (m *QueryGetVerifiedClientIDRequest) GetLaunchId() uint64

func (*QueryGetVerifiedClientIDRequest) Marshal

func (m *QueryGetVerifiedClientIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetVerifiedClientIDRequest) MarshalTo

func (m *QueryGetVerifiedClientIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetVerifiedClientIDRequest) MarshalToSizedBuffer

func (m *QueryGetVerifiedClientIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetVerifiedClientIDRequest) ProtoMessage

func (*QueryGetVerifiedClientIDRequest) ProtoMessage()

func (*QueryGetVerifiedClientIDRequest) Reset

func (*QueryGetVerifiedClientIDRequest) Size

func (m *QueryGetVerifiedClientIDRequest) Size() (n int)

func (*QueryGetVerifiedClientIDRequest) String

func (*QueryGetVerifiedClientIDRequest) Unmarshal

func (m *QueryGetVerifiedClientIDRequest) Unmarshal(dAtA []byte) error

func (*QueryGetVerifiedClientIDRequest) XXX_DiscardUnknown

func (m *QueryGetVerifiedClientIDRequest) XXX_DiscardUnknown()

func (*QueryGetVerifiedClientIDRequest) XXX_Marshal

func (m *QueryGetVerifiedClientIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetVerifiedClientIDRequest) XXX_Merge

func (m *QueryGetVerifiedClientIDRequest) XXX_Merge(src proto.Message)

func (*QueryGetVerifiedClientIDRequest) XXX_Size

func (m *QueryGetVerifiedClientIDRequest) XXX_Size() int

func (*QueryGetVerifiedClientIDRequest) XXX_Unmarshal

func (m *QueryGetVerifiedClientIDRequest) XXX_Unmarshal(b []byte) error

type QueryGetVerifiedClientIDResponse

type QueryGetVerifiedClientIDResponse struct {
	VerifiedClientId VerifiedClientID `protobuf:"bytes,1,opt,name=verified_client_id,json=verifiedClientId,proto3" json:"verified_client_id"`
}

func (*QueryGetVerifiedClientIDResponse) Descriptor

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

func (*QueryGetVerifiedClientIDResponse) GetVerifiedClientId

func (m *QueryGetVerifiedClientIDResponse) GetVerifiedClientId() VerifiedClientID

func (*QueryGetVerifiedClientIDResponse) Marshal

func (m *QueryGetVerifiedClientIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetVerifiedClientIDResponse) MarshalTo

func (m *QueryGetVerifiedClientIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetVerifiedClientIDResponse) MarshalToSizedBuffer

func (m *QueryGetVerifiedClientIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetVerifiedClientIDResponse) ProtoMessage

func (*QueryGetVerifiedClientIDResponse) ProtoMessage()

func (*QueryGetVerifiedClientIDResponse) Reset

func (*QueryGetVerifiedClientIDResponse) Size

func (m *QueryGetVerifiedClientIDResponse) Size() (n int)

func (*QueryGetVerifiedClientIDResponse) String

func (*QueryGetVerifiedClientIDResponse) Unmarshal

func (m *QueryGetVerifiedClientIDResponse) Unmarshal(dAtA []byte) error

func (*QueryGetVerifiedClientIDResponse) XXX_DiscardUnknown

func (m *QueryGetVerifiedClientIDResponse) XXX_DiscardUnknown()

func (*QueryGetVerifiedClientIDResponse) XXX_Marshal

func (m *QueryGetVerifiedClientIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetVerifiedClientIDResponse) XXX_Merge

func (*QueryGetVerifiedClientIDResponse) XXX_Size

func (m *QueryGetVerifiedClientIDResponse) XXX_Size() int

func (*QueryGetVerifiedClientIDResponse) XXX_Unmarshal

func (m *QueryGetVerifiedClientIDResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

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

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of LaunchIDFromChannelID items.
	GetLaunchIDFromChannelID(context.Context, *QueryGetLaunchIDFromChannelIDRequest) (*QueryGetLaunchIDFromChannelIDResponse, error)
	ListLaunchIDFromChannelID(context.Context, *QueryAllLaunchIDFromChannelIDRequest) (*QueryAllLaunchIDFromChannelIDResponse, error)
	// Queries a list of MonitoringHistory items.
	GetMonitoringHistory(context.Context, *QueryGetMonitoringHistoryRequest) (*QueryGetMonitoringHistoryResponse, error)
	// Queries a list of VerifiedClientID items.
	GetVerifiedClientID(context.Context, *QueryGetVerifiedClientIDRequest) (*QueryGetVerifiedClientIDResponse, error)
	// Queries a list of ProviderClientID items.
	GetProviderClientID(context.Context, *QueryGetProviderClientIDRequest) (*QueryGetProviderClientIDResponse, error)
	ListProviderClientID(context.Context, *QueryAllProviderClientIDRequest) (*QueryAllProviderClientIDResponse, error)
}

QueryServer is the server API for Query service.

type RewardKeeper

type RewardKeeper interface {
	DistributeRewards(
		ctx context.Context,
		launchID uint64,
		signatureCounts types.SignatureCounts,
		lastBlockHeight int64,
		closeRewardPool bool,
	) error
}

type ScopedKeeper

type ScopedKeeper interface {
	GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
	AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
}

ScopedKeeper defines the expected IBC scoped keeper.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateClient

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetProviderClientID

func (*UnimplementedQueryServer) GetVerifiedClientID

func (*UnimplementedQueryServer) ListProviderClientID

func (*UnimplementedQueryServer) Params

type VerifiedClientID

type VerifiedClientID struct {
	LaunchId     uint64   `protobuf:"varint,1,opt,name=launch_id,json=launchId,proto3" json:"launch_id,omitempty"`
	ClientIdList []string `protobuf:"bytes,2,rep,name=client_id_list,json=clientIdList,proto3" json:"client_id_list,omitempty"`
}

func (*VerifiedClientID) Descriptor

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

func (*VerifiedClientID) GetClientIdList

func (m *VerifiedClientID) GetClientIdList() []string

func (*VerifiedClientID) GetLaunchId

func (m *VerifiedClientID) GetLaunchId() uint64

func (*VerifiedClientID) Marshal

func (m *VerifiedClientID) Marshal() (dAtA []byte, err error)

func (*VerifiedClientID) MarshalTo

func (m *VerifiedClientID) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedClientID) MarshalToSizedBuffer

func (m *VerifiedClientID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedClientID) ProtoMessage

func (*VerifiedClientID) ProtoMessage()

func (*VerifiedClientID) Reset

func (m *VerifiedClientID) Reset()

func (*VerifiedClientID) Size

func (m *VerifiedClientID) Size() (n int)

func (*VerifiedClientID) String

func (m *VerifiedClientID) String() string

func (*VerifiedClientID) Unmarshal

func (m *VerifiedClientID) Unmarshal(dAtA []byte) error

func (*VerifiedClientID) XXX_DiscardUnknown

func (m *VerifiedClientID) XXX_DiscardUnknown()

func (*VerifiedClientID) XXX_Marshal

func (m *VerifiedClientID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifiedClientID) XXX_Merge

func (m *VerifiedClientID) XXX_Merge(src proto.Message)

func (*VerifiedClientID) XXX_Size

func (m *VerifiedClientID) XXX_Size() int

func (*VerifiedClientID) XXX_Unmarshal

func (m *VerifiedClientID) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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