types

package
v1.15.7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 37 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ProposalTypeSetLightNodeClientFeegranterProposal = "PalomaSetLightNodeClientFeegranterProposal"
	ProposalTypeSetLightNodeClientFundersProposal    = "PalomaSetLightNodeClientFundersProposal"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "paloma"

	// StoreKey defines the primary module store key
	StoreKey = "paloma-store"

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_paloma_store"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	JailReasonNotSupportingTheseExternalChains = "not supporting these external chains: %s"
)
View Source
const TypeMsgAddLightNodeClientLicense = "add_light_node_client_license"
View Source
const TypeMsgAddStatusUpdate = "add_status_update"
View Source
const TypeMsgRegisterLightNodeClient = "register_light_node_client"

Variables

View Source
var (
	ErrSample              = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrInvalidParameters   = errors.New("invalid parameters")
	ErrAccountExists       = errors.New("account already exists")
	ErrLicenseExists       = errors.New("license already exists")
	ErrNoAccount           = errors.New("account not found")
	ErrNoFeegranter        = errors.New("no feegranter set")
	ErrNoFunder            = errors.New("no funder set")
	ErrNoLicense           = errors.New("no license found for this client")
	ErrInsufficientBalance = errors.New("no funder with enough balance")
)

x/paloma 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 (
	ErrInvalidLengthLightNodeClientFeegranter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLightNodeClientFeegranter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLightNodeClientFeegranter = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLightNodeClientFeegranterProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLightNodeClientFeegranterProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLightNodeClientFeegranterProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLightNodeClientFunders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLightNodeClientFunders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLightNodeClientFunders = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLightNodeClientFundersProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLightNodeClientFundersProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLightNodeClientFundersProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLightNodeClientLicense        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLightNodeClientLicense          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLightNodeClientLicense = 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 (
	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 LightNodeClientFeegranterKey = []byte("light-node-client-feegranter")
View Source
var LightNodeClientFundersKey = []byte("light-node-client-funders")
View Source
var LightNodeClientLicenseKeyPrefix = []byte("light-node-client-license")
View Source
var MsgAddStatusUpdate_Level_name = map[int32]string{
	0: "LEVEL_DEBUG",
	1: "LEVEL_INFO",
	2: "LEVEL_ERROR",
}
View Source
var MsgAddStatusUpdate_Level_value = map[string]int32{
	"LEVEL_DEBUG": 0,
	"LEVEL_INFO":  1,
	"LEVEL_ERROR": 2,
}

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler added in v0.10.0

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 added in v0.10.0

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.10.0

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.10.0

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 {
	AddressCodec() address.Codec
	HasAccount(ctx context.Context, addr sdk.AccAddress) bool
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	NewAccount(ctx context.Context, acc sdk.AccountI) sdk.AccountI
	SetAccount(ctx context.Context, acc sdk.AccountI)
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	HasBalance(ctx context.Context, addr sdk.AccAddress, amt sdk.Coin) bool
}

BankKeeper defines the expected interface needed to retrieve account balances.

type EmptyResponse added in v1.8.2

type EmptyResponse struct {
}

func (*EmptyResponse) Descriptor added in v1.8.2

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

func (*EmptyResponse) Marshal added in v1.8.2

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

func (*EmptyResponse) MarshalTo added in v1.8.2

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

func (*EmptyResponse) MarshalToSizedBuffer added in v1.8.2

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

func (*EmptyResponse) ProtoMessage added in v1.8.2

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) Reset added in v1.8.2

func (m *EmptyResponse) Reset()

func (*EmptyResponse) Size added in v1.8.2

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

func (*EmptyResponse) String added in v1.8.2

func (m *EmptyResponse) String() string

func (*EmptyResponse) Unmarshal added in v1.8.2

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

func (*EmptyResponse) XXX_DiscardUnknown added in v1.8.2

func (m *EmptyResponse) XXX_DiscardUnknown()

func (*EmptyResponse) XXX_Marshal added in v1.8.2

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

func (*EmptyResponse) XXX_Merge added in v1.8.2

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

func (*EmptyResponse) XXX_Size added in v1.8.2

func (m *EmptyResponse) XXX_Size() int

func (*EmptyResponse) XXX_Unmarshal added in v1.8.2

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

type ExternalChainSupporterKeeper

type ExternalChainSupporterKeeper interface {
	xchain.Info
}

type FeegrantKeeper added in v1.10.0

type FeegrantKeeper interface {
	AllowancesByGranter(ctx context.Context, req *feegrant.QueryAllowancesByGranterRequest) (*feegrant.QueryAllowancesByGranterResponse, error)
	GrantAllowance(ctx context.Context, granter, grantee sdk.AccAddress, feeAllowance feegrant.FeeAllowanceI) error
}

type GenesisState

type GenesisState struct {
	Params                    Params                     `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	LightNodeClientLicenses   []*LightNodeClientLicense  `` /* 134-byte string literal not displayed */
	LightNodeClientFeegranter *LightNodeClientFeegranter `` /* 140-byte string literal not displayed */
	LightNodeClientFunders    *LightNodeClientFunders    `` /* 131-byte string literal not displayed */
}

GenesisState defines the paloma module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetLightNodeClientFeegranter added in v1.15.4

func (m *GenesisState) GetLightNodeClientFeegranter() *LightNodeClientFeegranter

func (*GenesisState) GetLightNodeClientFunders added in v1.15.5

func (m *GenesisState) GetLightNodeClientFunders() *LightNodeClientFunders

func (*GenesisState) GetLightNodeClientLicenses added in v1.15.4

func (m *GenesisState) GetLightNodeClientLicenses() []*LightNodeClientLicense

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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 LightNodeClientFeegranter added in v1.15.4

type LightNodeClientFeegranter struct {
	Account github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=account,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"account,omitempty"`
}

func (*LightNodeClientFeegranter) Descriptor added in v1.15.4

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

func (*LightNodeClientFeegranter) GetAccount added in v1.15.4

func (*LightNodeClientFeegranter) Marshal added in v1.15.4

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

func (*LightNodeClientFeegranter) MarshalTo added in v1.15.4

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

func (*LightNodeClientFeegranter) MarshalToSizedBuffer added in v1.15.4

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

func (*LightNodeClientFeegranter) ProtoMessage added in v1.15.4

func (*LightNodeClientFeegranter) ProtoMessage()

func (*LightNodeClientFeegranter) Reset added in v1.15.4

func (m *LightNodeClientFeegranter) Reset()

func (*LightNodeClientFeegranter) Size added in v1.15.4

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

func (*LightNodeClientFeegranter) String added in v1.15.4

func (m *LightNodeClientFeegranter) String() string

func (*LightNodeClientFeegranter) Unmarshal added in v1.15.4

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

func (*LightNodeClientFeegranter) XXX_DiscardUnknown added in v1.15.4

func (m *LightNodeClientFeegranter) XXX_DiscardUnknown()

func (*LightNodeClientFeegranter) XXX_Marshal added in v1.15.4

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

func (*LightNodeClientFeegranter) XXX_Merge added in v1.15.4

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

func (*LightNodeClientFeegranter) XXX_Size added in v1.15.4

func (m *LightNodeClientFeegranter) XXX_Size() int

func (*LightNodeClientFeegranter) XXX_Unmarshal added in v1.15.4

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

type LightNodeClientFunders added in v1.15.5

type LightNodeClientFunders struct {
	Accounts []github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,rep,name=accounts,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"accounts,omitempty"`
}

func (*LightNodeClientFunders) Descriptor added in v1.15.5

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

func (*LightNodeClientFunders) GetAccounts added in v1.15.5

func (*LightNodeClientFunders) Marshal added in v1.15.5

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

func (*LightNodeClientFunders) MarshalTo added in v1.15.5

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

func (*LightNodeClientFunders) MarshalToSizedBuffer added in v1.15.5

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

func (*LightNodeClientFunders) ProtoMessage added in v1.15.5

func (*LightNodeClientFunders) ProtoMessage()

func (*LightNodeClientFunders) Reset added in v1.15.5

func (m *LightNodeClientFunders) Reset()

func (*LightNodeClientFunders) Size added in v1.15.5

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

func (*LightNodeClientFunders) String added in v1.15.5

func (m *LightNodeClientFunders) String() string

func (*LightNodeClientFunders) Unmarshal added in v1.15.5

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

func (*LightNodeClientFunders) XXX_DiscardUnknown added in v1.15.5

func (m *LightNodeClientFunders) XXX_DiscardUnknown()

func (*LightNodeClientFunders) XXX_Marshal added in v1.15.5

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

func (*LightNodeClientFunders) XXX_Merge added in v1.15.5

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

func (*LightNodeClientFunders) XXX_Size added in v1.15.5

func (m *LightNodeClientFunders) XXX_Size() int

func (*LightNodeClientFunders) XXX_Unmarshal added in v1.15.5

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

type LightNodeClientLicense added in v1.15.4

type LightNodeClientLicense struct {
	ClientAddress string     `protobuf:"bytes,1,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"`
	Amount        types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
	VestingMonths uint32     `protobuf:"varint,3,opt,name=vesting_months,json=vestingMonths,proto3" json:"vesting_months,omitempty"`
}

func (*LightNodeClientLicense) Descriptor added in v1.15.4

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

func (*LightNodeClientLicense) GetAmount added in v1.15.4

func (m *LightNodeClientLicense) GetAmount() types.Coin

func (*LightNodeClientLicense) GetClientAddress added in v1.15.4

func (m *LightNodeClientLicense) GetClientAddress() string

func (*LightNodeClientLicense) GetVestingMonths added in v1.15.4

func (m *LightNodeClientLicense) GetVestingMonths() uint32

func (*LightNodeClientLicense) Marshal added in v1.15.4

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

func (*LightNodeClientLicense) MarshalTo added in v1.15.4

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

func (*LightNodeClientLicense) MarshalToSizedBuffer added in v1.15.4

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

func (*LightNodeClientLicense) ProtoMessage added in v1.15.4

func (*LightNodeClientLicense) ProtoMessage()

func (*LightNodeClientLicense) Reset added in v1.15.4

func (m *LightNodeClientLicense) Reset()

func (*LightNodeClientLicense) Size added in v1.15.4

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

func (*LightNodeClientLicense) String added in v1.15.4

func (m *LightNodeClientLicense) String() string

func (*LightNodeClientLicense) Unmarshal added in v1.15.4

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

func (*LightNodeClientLicense) XXX_DiscardUnknown added in v1.15.4

func (m *LightNodeClientLicense) XXX_DiscardUnknown()

func (*LightNodeClientLicense) XXX_Marshal added in v1.15.4

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

func (*LightNodeClientLicense) XXX_Merge added in v1.15.4

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

func (*LightNodeClientLicense) XXX_Size added in v1.15.4

func (m *LightNodeClientLicense) XXX_Size() int

func (*LightNodeClientLicense) XXX_Unmarshal added in v1.15.4

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

type MsgAddLightNodeClientLicense added in v1.15.4

type MsgAddLightNodeClientLicense struct {
	Metadata      types.MsgMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
	ClientAddress string            `protobuf:"bytes,2,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"`
	Amount        types1.Coin       `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	VestingMonths uint32            `protobuf:"varint,4,opt,name=vesting_months,json=vestingMonths,proto3" json:"vesting_months,omitempty"`
}

func (*MsgAddLightNodeClientLicense) Descriptor added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) GetAmount added in v1.15.4

func (m *MsgAddLightNodeClientLicense) GetAmount() types1.Coin

func (*MsgAddLightNodeClientLicense) GetClientAddress added in v1.15.4

func (m *MsgAddLightNodeClientLicense) GetClientAddress() string

func (*MsgAddLightNodeClientLicense) GetMetadata added in v1.15.4

func (*MsgAddLightNodeClientLicense) GetSignBytes added in v1.15.4

func (msg *MsgAddLightNodeClientLicense) GetSignBytes() []byte

func (*MsgAddLightNodeClientLicense) GetSigners added in v1.15.4

func (msg *MsgAddLightNodeClientLicense) GetSigners() []sdk.AccAddress

func (*MsgAddLightNodeClientLicense) GetVestingMonths added in v1.15.4

func (m *MsgAddLightNodeClientLicense) GetVestingMonths() uint32

func (*MsgAddLightNodeClientLicense) Marshal added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) MarshalTo added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) MarshalToSizedBuffer added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) ProtoMessage added in v1.15.4

func (*MsgAddLightNodeClientLicense) ProtoMessage()

func (*MsgAddLightNodeClientLicense) Reset added in v1.15.4

func (m *MsgAddLightNodeClientLicense) Reset()

func (*MsgAddLightNodeClientLicense) Route added in v1.15.4

func (msg *MsgAddLightNodeClientLicense) Route() string

func (*MsgAddLightNodeClientLicense) Size added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) String added in v1.15.4

func (*MsgAddLightNodeClientLicense) Type added in v1.15.4

func (*MsgAddLightNodeClientLicense) Unmarshal added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) ValidateBasic added in v1.15.4

func (msg *MsgAddLightNodeClientLicense) ValidateBasic() error

func (*MsgAddLightNodeClientLicense) XXX_DiscardUnknown added in v1.15.4

func (m *MsgAddLightNodeClientLicense) XXX_DiscardUnknown()

func (*MsgAddLightNodeClientLicense) XXX_Marshal added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) XXX_Merge added in v1.15.4

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

func (*MsgAddLightNodeClientLicense) XXX_Size added in v1.15.4

func (m *MsgAddLightNodeClientLicense) XXX_Size() int

func (*MsgAddLightNodeClientLicense) XXX_Unmarshal added in v1.15.4

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

type MsgAddStatusUpdate added in v1.8.2

type MsgAddStatusUpdate struct {
	Status   string                            `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Level    MsgAddStatusUpdate_Level          `protobuf:"varint,3,opt,name=level,proto3,enum=palomachain.paloma.paloma.MsgAddStatusUpdate_Level" json:"level,omitempty"`
	Metadata types.MsgMetadata                 `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"`
	Args     []MsgAddStatusUpdate_KeyValuePair `protobuf:"bytes,5,rep,name=args,proto3" json:"args"`
}

func (*MsgAddStatusUpdate) Descriptor added in v1.8.2

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

func (*MsgAddStatusUpdate) GetArgs added in v1.10.2

func (*MsgAddStatusUpdate) GetLevel added in v1.8.2

func (*MsgAddStatusUpdate) GetMetadata added in v1.10.0

func (m *MsgAddStatusUpdate) GetMetadata() types.MsgMetadata

func (*MsgAddStatusUpdate) GetSignBytes added in v1.8.2

func (msg *MsgAddStatusUpdate) GetSignBytes() []byte

func (*MsgAddStatusUpdate) GetSigners added in v1.8.2

func (msg *MsgAddStatusUpdate) GetSigners() []sdk.AccAddress

func (*MsgAddStatusUpdate) GetStatus added in v1.8.2

func (m *MsgAddStatusUpdate) GetStatus() string

func (*MsgAddStatusUpdate) Marshal added in v1.8.2

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

func (*MsgAddStatusUpdate) MarshalTo added in v1.8.2

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

func (*MsgAddStatusUpdate) MarshalToSizedBuffer added in v1.8.2

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

func (*MsgAddStatusUpdate) ProtoMessage added in v1.8.2

func (*MsgAddStatusUpdate) ProtoMessage()

func (*MsgAddStatusUpdate) Reset added in v1.8.2

func (m *MsgAddStatusUpdate) Reset()

func (*MsgAddStatusUpdate) Route added in v1.8.2

func (msg *MsgAddStatusUpdate) Route() string

func (*MsgAddStatusUpdate) Size added in v1.8.2

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

func (*MsgAddStatusUpdate) String added in v1.8.2

func (m *MsgAddStatusUpdate) String() string

func (*MsgAddStatusUpdate) Type added in v1.8.2

func (msg *MsgAddStatusUpdate) Type() string

func (*MsgAddStatusUpdate) Unmarshal added in v1.8.2

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

func (*MsgAddStatusUpdate) ValidateBasic added in v1.8.2

func (msg *MsgAddStatusUpdate) ValidateBasic() error

func (*MsgAddStatusUpdate) XXX_DiscardUnknown added in v1.8.2

func (m *MsgAddStatusUpdate) XXX_DiscardUnknown()

func (*MsgAddStatusUpdate) XXX_Marshal added in v1.8.2

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

func (*MsgAddStatusUpdate) XXX_Merge added in v1.8.2

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

func (*MsgAddStatusUpdate) XXX_Size added in v1.8.2

func (m *MsgAddStatusUpdate) XXX_Size() int

func (*MsgAddStatusUpdate) XXX_Unmarshal added in v1.8.2

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

type MsgAddStatusUpdate_KeyValuePair added in v1.10.2

type MsgAddStatusUpdate_KeyValuePair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*MsgAddStatusUpdate_KeyValuePair) Descriptor added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) GetKey added in v1.10.2

func (*MsgAddStatusUpdate_KeyValuePair) GetValue added in v1.10.2

func (*MsgAddStatusUpdate_KeyValuePair) Marshal added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) MarshalTo added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) MarshalToSizedBuffer added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) ProtoMessage added in v1.10.2

func (*MsgAddStatusUpdate_KeyValuePair) ProtoMessage()

func (*MsgAddStatusUpdate_KeyValuePair) Reset added in v1.10.2

func (*MsgAddStatusUpdate_KeyValuePair) Size added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) String added in v1.10.2

func (*MsgAddStatusUpdate_KeyValuePair) Unmarshal added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) XXX_DiscardUnknown added in v1.10.2

func (m *MsgAddStatusUpdate_KeyValuePair) XXX_DiscardUnknown()

func (*MsgAddStatusUpdate_KeyValuePair) XXX_Marshal added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) XXX_Merge added in v1.10.2

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

func (*MsgAddStatusUpdate_KeyValuePair) XXX_Size added in v1.10.2

func (m *MsgAddStatusUpdate_KeyValuePair) XXX_Size() int

func (*MsgAddStatusUpdate_KeyValuePair) XXX_Unmarshal added in v1.10.2

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

type MsgAddStatusUpdate_Level added in v1.8.2

type MsgAddStatusUpdate_Level int32
const (
	MsgAddStatusUpdate_LEVEL_DEBUG MsgAddStatusUpdate_Level = 0
	MsgAddStatusUpdate_LEVEL_INFO  MsgAddStatusUpdate_Level = 1
	MsgAddStatusUpdate_LEVEL_ERROR MsgAddStatusUpdate_Level = 2
)

func (MsgAddStatusUpdate_Level) EnumDescriptor added in v1.8.2

func (MsgAddStatusUpdate_Level) EnumDescriptor() ([]byte, []int)

func (MsgAddStatusUpdate_Level) String added in v1.8.2

func (x MsgAddStatusUpdate_Level) String() string

type MsgClient

type MsgClient interface {
	AddStatusUpdate(ctx context.Context, in *MsgAddStatusUpdate, opts ...grpc.CallOption) (*EmptyResponse, error)
	RegisterLightNodeClient(ctx context.Context, in *MsgRegisterLightNodeClient, opts ...grpc.CallOption) (*EmptyResponse, error)
	AddLightNodeClientLicense(ctx context.Context, in *MsgAddLightNodeClientLicense, opts ...grpc.CallOption) (*EmptyResponse, 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 MsgRegisterLightNodeClient added in v1.15.4

type MsgRegisterLightNodeClient struct {
	Metadata types.MsgMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
}

func (*MsgRegisterLightNodeClient) Descriptor added in v1.15.4

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

func (*MsgRegisterLightNodeClient) GetMetadata added in v1.15.4

func (m *MsgRegisterLightNodeClient) GetMetadata() types.MsgMetadata

func (*MsgRegisterLightNodeClient) GetSignBytes added in v1.15.4

func (msg *MsgRegisterLightNodeClient) GetSignBytes() []byte

func (*MsgRegisterLightNodeClient) GetSigners added in v1.15.4

func (msg *MsgRegisterLightNodeClient) GetSigners() []sdk.AccAddress

func (*MsgRegisterLightNodeClient) Marshal added in v1.15.4

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

func (*MsgRegisterLightNodeClient) MarshalTo added in v1.15.4

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

func (*MsgRegisterLightNodeClient) MarshalToSizedBuffer added in v1.15.4

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

func (*MsgRegisterLightNodeClient) ProtoMessage added in v1.15.4

func (*MsgRegisterLightNodeClient) ProtoMessage()

func (*MsgRegisterLightNodeClient) Reset added in v1.15.4

func (m *MsgRegisterLightNodeClient) Reset()

func (*MsgRegisterLightNodeClient) Route added in v1.15.4

func (msg *MsgRegisterLightNodeClient) Route() string

func (*MsgRegisterLightNodeClient) Size added in v1.15.4

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

func (*MsgRegisterLightNodeClient) String added in v1.15.4

func (m *MsgRegisterLightNodeClient) String() string

func (*MsgRegisterLightNodeClient) Type added in v1.15.4

func (msg *MsgRegisterLightNodeClient) Type() string

func (*MsgRegisterLightNodeClient) Unmarshal added in v1.15.4

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

func (*MsgRegisterLightNodeClient) ValidateBasic added in v1.15.4

func (msg *MsgRegisterLightNodeClient) ValidateBasic() error

func (*MsgRegisterLightNodeClient) XXX_DiscardUnknown added in v1.15.4

func (m *MsgRegisterLightNodeClient) XXX_DiscardUnknown()

func (*MsgRegisterLightNodeClient) XXX_Marshal added in v1.15.4

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

func (*MsgRegisterLightNodeClient) XXX_Merge added in v1.15.4

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

func (*MsgRegisterLightNodeClient) XXX_Size added in v1.15.4

func (m *MsgRegisterLightNodeClient) XXX_Size() int

func (*MsgRegisterLightNodeClient) XXX_Unmarshal added in v1.15.4

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

type MsgServer

type MsgServer interface {
	AddStatusUpdate(context.Context, *MsgAddStatusUpdate) (*EmptyResponse, error)
	RegisterLightNodeClient(context.Context, *MsgRegisterLightNodeClient) (*EmptyResponse, error)
	AddLightNodeClientLicense(context.Context, *MsgAddLightNodeClientLicense) (*EmptyResponse, error)
}

MsgServer is the server API for Msg service.

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) 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) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

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 (p Params) String() string

String implements the Stringer interface.

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 QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	GetLightNodeClientLicenses(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryLightNodeClientLicensesResponse, error)
	GetLightNodeClientFeegranter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryLightNodeClientFeegranterResponse, error)
	GetLightNodeClientFunders(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryLightNodeClientFundersResponse, 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 QueryLightNodeClientFeegranterResponse added in v1.15.4

type QueryLightNodeClientFeegranterResponse struct {
	LightNodeClientFeegranter *LightNodeClientFeegranter `` /* 140-byte string literal not displayed */
}

func (*QueryLightNodeClientFeegranterResponse) Descriptor added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) GetLightNodeClientFeegranter added in v1.15.4

func (m *QueryLightNodeClientFeegranterResponse) GetLightNodeClientFeegranter() *LightNodeClientFeegranter

func (*QueryLightNodeClientFeegranterResponse) Marshal added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) MarshalTo added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) MarshalToSizedBuffer added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) ProtoMessage added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) Reset added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) Size added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) String added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) Unmarshal added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) XXX_DiscardUnknown added in v1.15.4

func (m *QueryLightNodeClientFeegranterResponse) XXX_DiscardUnknown()

func (*QueryLightNodeClientFeegranterResponse) XXX_Marshal added in v1.15.4

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

func (*QueryLightNodeClientFeegranterResponse) XXX_Merge added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) XXX_Size added in v1.15.4

func (*QueryLightNodeClientFeegranterResponse) XXX_Unmarshal added in v1.15.4

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

type QueryLightNodeClientFundersResponse added in v1.15.5

type QueryLightNodeClientFundersResponse struct {
	LightNodeClientFunders *LightNodeClientFunders `` /* 131-byte string literal not displayed */
}

func (*QueryLightNodeClientFundersResponse) Descriptor added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) GetLightNodeClientFunders added in v1.15.5

func (m *QueryLightNodeClientFundersResponse) GetLightNodeClientFunders() *LightNodeClientFunders

func (*QueryLightNodeClientFundersResponse) Marshal added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) MarshalTo added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) MarshalToSizedBuffer added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) ProtoMessage added in v1.15.5

func (*QueryLightNodeClientFundersResponse) ProtoMessage()

func (*QueryLightNodeClientFundersResponse) Reset added in v1.15.5

func (*QueryLightNodeClientFundersResponse) Size added in v1.15.5

func (*QueryLightNodeClientFundersResponse) String added in v1.15.5

func (*QueryLightNodeClientFundersResponse) Unmarshal added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) XXX_DiscardUnknown added in v1.15.5

func (m *QueryLightNodeClientFundersResponse) XXX_DiscardUnknown()

func (*QueryLightNodeClientFundersResponse) XXX_Marshal added in v1.15.5

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

func (*QueryLightNodeClientFundersResponse) XXX_Merge added in v1.15.5

func (*QueryLightNodeClientFundersResponse) XXX_Size added in v1.15.5

func (*QueryLightNodeClientFundersResponse) XXX_Unmarshal added in v1.15.5

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

type QueryLightNodeClientLicensesResponse added in v1.15.4

type QueryLightNodeClientLicensesResponse struct {
	LightNodeClientLicenses []*LightNodeClientLicense `` /* 134-byte string literal not displayed */
}

func (*QueryLightNodeClientLicensesResponse) Descriptor added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) GetLightNodeClientLicenses added in v1.15.4

func (m *QueryLightNodeClientLicensesResponse) GetLightNodeClientLicenses() []*LightNodeClientLicense

func (*QueryLightNodeClientLicensesResponse) Marshal added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) MarshalTo added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) MarshalToSizedBuffer added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) ProtoMessage added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) ProtoMessage()

func (*QueryLightNodeClientLicensesResponse) Reset added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) Size added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) String added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) Unmarshal added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) XXX_DiscardUnknown added in v1.15.4

func (m *QueryLightNodeClientLicensesResponse) XXX_DiscardUnknown()

func (*QueryLightNodeClientLicensesResponse) XXX_Marshal added in v1.15.4

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

func (*QueryLightNodeClientLicensesResponse) XXX_Merge added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) XXX_Size added in v1.15.4

func (*QueryLightNodeClientLicensesResponse) XXX_Unmarshal added in v1.15.4

func (m *QueryLightNodeClientLicensesResponse) 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)
	GetLightNodeClientLicenses(context.Context, *emptypb.Empty) (*QueryLightNodeClientLicensesResponse, error)
	GetLightNodeClientFeegranter(context.Context, *emptypb.Empty) (*QueryLightNodeClientFeegranterResponse, error)
	GetLightNodeClientFunders(context.Context, *emptypb.Empty) (*QueryLightNodeClientFundersResponse, error)
}

QueryServer is the server API for Query service.

type SetLightNodeClientFeegranterProposal added in v1.15.4

type SetLightNodeClientFeegranterProposal struct {
	Title             string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description       string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	FeegranterAccount string `protobuf:"bytes,3,opt,name=feegranter_account,json=feegranterAccount,proto3" json:"feegranter_account,omitempty"`
}

func (*SetLightNodeClientFeegranterProposal) Descriptor added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) GetDescription added in v1.15.4

func (m *SetLightNodeClientFeegranterProposal) GetDescription() string

func (*SetLightNodeClientFeegranterProposal) GetFeegranterAccount added in v1.15.4

func (m *SetLightNodeClientFeegranterProposal) GetFeegranterAccount() string

func (*SetLightNodeClientFeegranterProposal) GetTitle added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) Marshal added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) MarshalTo added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) MarshalToSizedBuffer added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) ProposalRoute added in v1.15.4

func (a *SetLightNodeClientFeegranterProposal) ProposalRoute() string

func (*SetLightNodeClientFeegranterProposal) ProposalType added in v1.15.4

func (a *SetLightNodeClientFeegranterProposal) ProposalType() string

func (*SetLightNodeClientFeegranterProposal) ProtoMessage added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) ProtoMessage()

func (*SetLightNodeClientFeegranterProposal) Reset added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) Size added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) String added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) Unmarshal added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) ValidateBasic added in v1.15.4

func (a *SetLightNodeClientFeegranterProposal) ValidateBasic() error

func (*SetLightNodeClientFeegranterProposal) XXX_DiscardUnknown added in v1.15.4

func (m *SetLightNodeClientFeegranterProposal) XXX_DiscardUnknown()

func (*SetLightNodeClientFeegranterProposal) XXX_Marshal added in v1.15.4

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

func (*SetLightNodeClientFeegranterProposal) XXX_Merge added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) XXX_Size added in v1.15.4

func (*SetLightNodeClientFeegranterProposal) XXX_Unmarshal added in v1.15.4

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

type SetLightNodeClientFundersProposal added in v1.15.5

type SetLightNodeClientFundersProposal struct {
	Title          string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description    string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	FunderAccounts []string `protobuf:"bytes,3,rep,name=funder_accounts,json=funderAccounts,proto3" json:"funder_accounts,omitempty"`
}

func (*SetLightNodeClientFundersProposal) Descriptor added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) GetDescription added in v1.15.5

func (m *SetLightNodeClientFundersProposal) GetDescription() string

func (*SetLightNodeClientFundersProposal) GetFunderAccounts added in v1.15.5

func (m *SetLightNodeClientFundersProposal) GetFunderAccounts() []string

func (*SetLightNodeClientFundersProposal) GetTitle added in v1.15.5

func (*SetLightNodeClientFundersProposal) Marshal added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) MarshalTo added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) MarshalToSizedBuffer added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) ProposalRoute added in v1.15.5

func (a *SetLightNodeClientFundersProposal) ProposalRoute() string

func (*SetLightNodeClientFundersProposal) ProposalType added in v1.15.5

func (a *SetLightNodeClientFundersProposal) ProposalType() string

func (*SetLightNodeClientFundersProposal) ProtoMessage added in v1.15.5

func (*SetLightNodeClientFundersProposal) ProtoMessage()

func (*SetLightNodeClientFundersProposal) Reset added in v1.15.5

func (*SetLightNodeClientFundersProposal) Size added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) String added in v1.15.5

func (*SetLightNodeClientFundersProposal) Unmarshal added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) ValidateBasic added in v1.15.5

func (a *SetLightNodeClientFundersProposal) ValidateBasic() error

func (*SetLightNodeClientFundersProposal) XXX_DiscardUnknown added in v1.15.5

func (m *SetLightNodeClientFundersProposal) XXX_DiscardUnknown()

func (*SetLightNodeClientFundersProposal) XXX_Marshal added in v1.15.5

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

func (*SetLightNodeClientFundersProposal) XXX_Merge added in v1.15.5

func (*SetLightNodeClientFundersProposal) XXX_Size added in v1.15.5

func (m *SetLightNodeClientFundersProposal) XXX_Size() int

func (*SetLightNodeClientFundersProposal) XXX_Unmarshal added in v1.15.5

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddLightNodeClientLicense added in v1.15.4

func (*UnimplementedMsgServer) AddLightNodeClientLicense(ctx context.Context, req *MsgAddLightNodeClientLicense) (*EmptyResponse, error)

func (*UnimplementedMsgServer) AddStatusUpdate added in v1.8.2

func (*UnimplementedMsgServer) RegisterLightNodeClient added in v1.15.4

func (*UnimplementedMsgServer) RegisterLightNodeClient(ctx context.Context, req *MsgRegisterLightNodeClient) (*EmptyResponse, error)

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetLightNodeClientFeegranter added in v1.15.4

func (*UnimplementedQueryServer) GetLightNodeClientFunders added in v1.15.5

func (*UnimplementedQueryServer) GetLightNodeClientLicenses added in v1.15.4

func (*UnimplementedQueryServer) Params

type UpgradeKeeper added in v0.10.2

type UpgradeKeeper interface {
	GetLastCompletedUpgrade(ctx context.Context) (string, int64, error)
}

type ValsetKeeper

type ValsetKeeper interface {
	GetUnjailedValidators(ctx context.Context) []stakingtypes.ValidatorI
	Jail(ctx context.Context, valAddr sdk.ValAddress, reason string) error
	GetValidatorChainInfos(ctx context.Context, valAddr sdk.ValAddress) ([]*valsettypes.ExternalChainInfo, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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