Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CertVotesKey(proposalID uint64) []byte
- func GetProposalIDBytes(proposalID uint64) (proposalIDBz []byte)
- func ParamKeyTable() params.KeyTable
- func RegisterCustomQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCustomQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CustomQueryClient) error
- func RegisterCustomQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCustomQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CustomQueryServer) error
- func RegisterCustomQueryServer(s grpc1.Server, srv CustomQueryServer)
- func ValidateGenesis(data *GenesisState) error
- type CustomParams
- func (*CustomParams) Descriptor() ([]byte, []int)
- func (m *CustomParams) GetCertifierUpdateSecurityVoteTally() *v1.TallyParams
- func (m *CustomParams) GetCertifierUpdateStakeVoteTally() *v1.TallyParams
- func (m *CustomParams) Marshal() (dAtA []byte, err error)
- func (m *CustomParams) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomParams) ProtoMessage()
- func (m *CustomParams) Reset()
- func (m *CustomParams) Size() (n int)
- func (m *CustomParams) String() string
- func (m *CustomParams) Unmarshal(dAtA []byte) error
- func (m *CustomParams) XXX_DiscardUnknown()
- func (m *CustomParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomParams) XXX_Merge(src proto.Message)
- func (m *CustomParams) XXX_Size() int
- func (m *CustomParams) XXX_Unmarshal(b []byte) error
- type CustomQueryClient
- type CustomQueryServer
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCertVotedProposalIds() []uint64
- func (m *GenesisState) GetConstitution() string
- func (m *GenesisState) GetCustomParams() *CustomParams
- func (m *GenesisState) GetDepositParams() *v1.DepositParams
- func (m *GenesisState) GetDeposits() []*v1.Deposit
- func (m *GenesisState) GetParams() *v1.Params
- func (m *GenesisState) GetProposals() []*v1.Proposal
- func (m *GenesisState) GetStartingProposalId() uint64
- func (m *GenesisState) GetTallyParams() *v1.TallyParams
- func (m *GenesisState) GetVotes() []*v1.Vote
- func (m *GenesisState) GetVotingParams() *v1.VotingParams
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (data GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Params
- type QueryCertVotedRequest
- func (*QueryCertVotedRequest) Descriptor() ([]byte, []int)
- func (m *QueryCertVotedRequest) GetProposalId() uint64
- func (m *QueryCertVotedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCertVotedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCertVotedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCertVotedRequest) ProtoMessage()
- func (m *QueryCertVotedRequest) Reset()
- func (m *QueryCertVotedRequest) Size() (n int)
- func (m *QueryCertVotedRequest) String() string
- func (m *QueryCertVotedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCertVotedRequest) XXX_DiscardUnknown()
- func (m *QueryCertVotedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCertVotedRequest) XXX_Merge(src proto.Message)
- func (m *QueryCertVotedRequest) XXX_Size() int
- func (m *QueryCertVotedRequest) XXX_Unmarshal(b []byte) error
- type QueryCertVotedResponse
- func (*QueryCertVotedResponse) Descriptor() ([]byte, []int)
- func (m *QueryCertVotedResponse) GetCertVoted() bool
- func (m *QueryCertVotedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCertVotedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCertVotedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCertVotedResponse) ProtoMessage()
- func (m *QueryCertVotedResponse) Reset()
- func (m *QueryCertVotedResponse) Size() (n int)
- func (m *QueryCertVotedResponse) String() string
- func (m *QueryCertVotedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCertVotedResponse) XXX_DiscardUnknown()
- func (m *QueryCertVotedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCertVotedResponse) XXX_Merge(src proto.Message)
- func (m *QueryCertVotedResponse) XXX_Size() int
- func (m *QueryCertVotedResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetCustomParams() *CustomParams
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCustomQueryServer
Constants ¶
const ParamCustom = "custom"
Variables ¶
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( ParamStoreKeyCustomParams = []byte("customparams") CertVotesKeyPrefix = []byte("certvote") )
parameter store keys
Functions ¶
func CertVotesKey ¶
CertVotesKey gets the first part of the cert votes key based on the proposalID
func GetProposalIDBytes ¶ added in v2.12.0
GetProposalIDBytes returns the byte representation of the proposalID
func ParamKeyTable ¶
ParamKeyTable is the key declaration for parameters.
func RegisterCustomQueryHandler ¶ added in v2.13.0
func RegisterCustomQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCustomQueryHandler registers the http handlers for service CustomQuery to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCustomQueryHandlerClient ¶ added in v2.13.0
func RegisterCustomQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CustomQueryClient) error
RegisterCustomQueryHandlerClient registers the http handlers for service CustomQuery to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CustomQueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CustomQueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CustomQueryClient" to call the correct interceptors.
func RegisterCustomQueryHandlerFromEndpoint ¶ added in v2.13.0
func RegisterCustomQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCustomQueryHandlerFromEndpoint is same as RegisterCustomQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCustomQueryHandlerServer ¶ added in v2.13.0
func RegisterCustomQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CustomQueryServer) error
RegisterCustomQueryHandlerServer registers the http handlers for service CustomQuery to "mux". UnaryRPC :call CustomQueryServer 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 RegisterCustomQueryHandlerFromEndpoint instead.
func RegisterCustomQueryServer ¶ added in v2.13.0
func RegisterCustomQueryServer(s grpc1.Server, srv CustomQueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates gov genesis data.
Types ¶
type CustomParams ¶
type CustomParams struct { CertifierUpdateSecurityVoteTally *v1.TallyParams `` /* 163-byte string literal not displayed */ CertifierUpdateStakeVoteTally *v1.TallyParams `` /* 154-byte string literal not displayed */ }
func (*CustomParams) Descriptor ¶
func (*CustomParams) Descriptor() ([]byte, []int)
func (*CustomParams) GetCertifierUpdateSecurityVoteTally ¶
func (m *CustomParams) GetCertifierUpdateSecurityVoteTally() *v1.TallyParams
func (*CustomParams) GetCertifierUpdateStakeVoteTally ¶
func (m *CustomParams) GetCertifierUpdateStakeVoteTally() *v1.TallyParams
func (*CustomParams) Marshal ¶
func (m *CustomParams) Marshal() (dAtA []byte, err error)
func (*CustomParams) MarshalToSizedBuffer ¶
func (m *CustomParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomParams) ProtoMessage ¶
func (*CustomParams) ProtoMessage()
func (*CustomParams) Reset ¶
func (m *CustomParams) Reset()
func (*CustomParams) Size ¶
func (m *CustomParams) Size() (n int)
func (*CustomParams) String ¶
func (m *CustomParams) String() string
func (*CustomParams) Unmarshal ¶
func (m *CustomParams) Unmarshal(dAtA []byte) error
func (*CustomParams) XXX_DiscardUnknown ¶
func (m *CustomParams) XXX_DiscardUnknown()
func (*CustomParams) XXX_Marshal ¶
func (m *CustomParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomParams) XXX_Merge ¶
func (m *CustomParams) XXX_Merge(src proto.Message)
func (*CustomParams) XXX_Size ¶
func (m *CustomParams) XXX_Size() int
func (*CustomParams) XXX_Unmarshal ¶
func (m *CustomParams) XXX_Unmarshal(b []byte) error
type CustomQueryClient ¶ added in v2.13.0
type CustomQueryClient interface { // Params queries all parameters of the gov module. CustomParams(ctx context.Context, in *v1.QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Proposal queries proposal details based on ProposalID. CertVoted(ctx context.Context, in *QueryCertVotedRequest, opts ...grpc.CallOption) (*QueryCertVotedResponse, error) }
CustomQueryClient is the client API for CustomQuery service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCustomQueryClient ¶ added in v2.13.0
func NewCustomQueryClient(cc grpc1.ClientConn) CustomQueryClient
type CustomQueryServer ¶ added in v2.13.0
type CustomQueryServer interface { // Params queries all parameters of the gov module. CustomParams(context.Context, *v1.QueryParamsRequest) (*QueryParamsResponse, error) // Proposal queries proposal details based on ProposalID. CertVoted(context.Context, *QueryCertVotedRequest) (*QueryCertVotedResponse, error) }
CustomQueryServer is the server API for CustomQuery service.
type GenesisState ¶
type GenesisState struct { // starting_proposal_id is the ID of the starting proposal. StartingProposalId uint64 `protobuf:"varint,1,opt,name=starting_proposal_id,json=startingProposalId,proto3" json:"starting_proposal_id,omitempty"` // deposits defines all the deposits present at genesis. Deposits []*v1.Deposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"` // votes defines all the votes present at genesis. Votes []*v1.Vote `protobuf:"bytes,3,rep,name=votes,proto3" json:"votes,omitempty"` // proposals defines all the proposals present at genesis. Proposals []*v1.Proposal `protobuf:"bytes,4,rep,name=proposals,proto3" json:"proposals,omitempty"` // params defines all the parameters of related to deposit. DepositParams *v1.DepositParams `protobuf:"bytes,5,opt,name=deposit_params,json=depositParams,proto3" json:"deposit_params,omitempty"` // params defines all the parameters of related to voting. VotingParams *v1.VotingParams `protobuf:"bytes,6,opt,name=voting_params,json=votingParams,proto3" json:"voting_params,omitempty"` // params defines all the parameters of related to tally. TallyParams *v1.TallyParams `protobuf:"bytes,7,opt,name=tally_params,json=tallyParams,proto3" json:"tally_params,omitempty"` // params defines all the paramaters of x/gov module. // // Since: cosmos-sdk 0.47 Params *v1.Params `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"` // The constitution allows builders to lay a foundation and define purpose. // This is an immutable string set in genesis. // There are no amendments, to go outside of scope, just fork. // constitution is an immutable string in genesis for a chain builder to lay out their vision, ideas and ideals. // // Since: cosmos-sdk 0.50 Constitution string `protobuf:"bytes,9,opt,name=constitution,proto3" json:"constitution,omitempty"` // params defines all the parameters of related to custom. CustomParams *CustomParams `protobuf:"bytes,10,opt,name=custom_params,json=customParams,proto3" json:"custom_params,omitempty"` // proposals that require and have passed cert votes. CertVotedProposalIds []uint64 `` /* 134-byte string literal not displayed */ }
GenesisState defines the gov module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState creates a default GenesisState object.
func NewGenesisState ¶ added in v2.11.1
func NewGenesisState(startingProposalID uint64, params govtypesv1.Params, customParams CustomParams) *GenesisState
NewGenesisState creates a new genesis state for the governance module
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCertVotedProposalIds ¶
func (m *GenesisState) GetCertVotedProposalIds() []uint64
func (*GenesisState) GetConstitution ¶ added in v2.12.0
func (m *GenesisState) GetConstitution() string
func (*GenesisState) GetCustomParams ¶
func (m *GenesisState) GetCustomParams() *CustomParams
func (*GenesisState) GetDepositParams ¶
func (m *GenesisState) GetDepositParams() *v1.DepositParams
func (*GenesisState) GetDeposits ¶
func (m *GenesisState) GetDeposits() []*v1.Deposit
func (*GenesisState) GetParams ¶ added in v2.11.0
func (m *GenesisState) GetParams() *v1.Params
func (*GenesisState) GetProposals ¶
func (m *GenesisState) GetProposals() []*v1.Proposal
func (*GenesisState) GetStartingProposalId ¶
func (m *GenesisState) GetStartingProposalId() uint64
func (*GenesisState) GetTallyParams ¶
func (m *GenesisState) GetTallyParams() *v1.TallyParams
func (*GenesisState) GetVotes ¶
func (m *GenesisState) GetVotes() []*v1.Vote
func (*GenesisState) GetVotingParams ¶
func (m *GenesisState) GetVotingParams() *v1.VotingParams
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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) UnpackInterfaces ¶
func (data GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
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 Params ¶
type Params struct { VotingParams govtypesv1.VotingParams `json:"voting_params" yaml:"voting_params"` TallyParams govtypesv1.TallyParams `json:"tally_params" yaml:"tally_params"` DepositParams govtypesv1.DepositParams `json:"deposit_params" yaml:"deposit_parmas"` CustomParams CustomParams `json:"custom_params" yaml:"custom_params"` }
Params returns all the governance params
func NewParams ¶
func NewParams(vp govtypesv1.VotingParams, tp govtypesv1.TallyParams, dp govtypesv1.DepositParams, cp CustomParams) Params
NewParams returns a Params structs including voting, deposit and tally params
type QueryCertVotedRequest ¶
type QueryCertVotedRequest struct { // proposal_id defines the unique id of the proposal. ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` }
func (*QueryCertVotedRequest) Descriptor ¶
func (*QueryCertVotedRequest) Descriptor() ([]byte, []int)
func (*QueryCertVotedRequest) GetProposalId ¶
func (m *QueryCertVotedRequest) GetProposalId() uint64
func (*QueryCertVotedRequest) Marshal ¶
func (m *QueryCertVotedRequest) Marshal() (dAtA []byte, err error)
func (*QueryCertVotedRequest) MarshalTo ¶
func (m *QueryCertVotedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCertVotedRequest) MarshalToSizedBuffer ¶
func (m *QueryCertVotedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCertVotedRequest) ProtoMessage ¶
func (*QueryCertVotedRequest) ProtoMessage()
func (*QueryCertVotedRequest) Reset ¶
func (m *QueryCertVotedRequest) Reset()
func (*QueryCertVotedRequest) Size ¶
func (m *QueryCertVotedRequest) Size() (n int)
func (*QueryCertVotedRequest) String ¶
func (m *QueryCertVotedRequest) String() string
func (*QueryCertVotedRequest) Unmarshal ¶
func (m *QueryCertVotedRequest) Unmarshal(dAtA []byte) error
func (*QueryCertVotedRequest) XXX_DiscardUnknown ¶
func (m *QueryCertVotedRequest) XXX_DiscardUnknown()
func (*QueryCertVotedRequest) XXX_Marshal ¶
func (m *QueryCertVotedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCertVotedRequest) XXX_Merge ¶
func (m *QueryCertVotedRequest) XXX_Merge(src proto.Message)
func (*QueryCertVotedRequest) XXX_Size ¶
func (m *QueryCertVotedRequest) XXX_Size() int
func (*QueryCertVotedRequest) XXX_Unmarshal ¶
func (m *QueryCertVotedRequest) XXX_Unmarshal(b []byte) error
type QueryCertVotedResponse ¶
type QueryCertVotedResponse struct {
CertVoted bool `protobuf:"varint,1,opt,name=cert_voted,json=certVoted,proto3" json:"cert_voted,omitempty"`
}
QueryProposalResponse is the response type for the Query/Proposal RPC method.
func (*QueryCertVotedResponse) Descriptor ¶
func (*QueryCertVotedResponse) Descriptor() ([]byte, []int)
func (*QueryCertVotedResponse) GetCertVoted ¶
func (m *QueryCertVotedResponse) GetCertVoted() bool
func (*QueryCertVotedResponse) Marshal ¶
func (m *QueryCertVotedResponse) Marshal() (dAtA []byte, err error)
func (*QueryCertVotedResponse) MarshalTo ¶
func (m *QueryCertVotedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCertVotedResponse) MarshalToSizedBuffer ¶
func (m *QueryCertVotedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCertVotedResponse) ProtoMessage ¶
func (*QueryCertVotedResponse) ProtoMessage()
func (*QueryCertVotedResponse) Reset ¶
func (m *QueryCertVotedResponse) Reset()
func (*QueryCertVotedResponse) Size ¶
func (m *QueryCertVotedResponse) Size() (n int)
func (*QueryCertVotedResponse) String ¶
func (m *QueryCertVotedResponse) String() string
func (*QueryCertVotedResponse) Unmarshal ¶
func (m *QueryCertVotedResponse) Unmarshal(dAtA []byte) error
func (*QueryCertVotedResponse) XXX_DiscardUnknown ¶
func (m *QueryCertVotedResponse) XXX_DiscardUnknown()
func (*QueryCertVotedResponse) XXX_Marshal ¶
func (m *QueryCertVotedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCertVotedResponse) XXX_Merge ¶
func (m *QueryCertVotedResponse) XXX_Merge(src proto.Message)
func (*QueryCertVotedResponse) XXX_Size ¶
func (m *QueryCertVotedResponse) XXX_Size() int
func (*QueryCertVotedResponse) XXX_Unmarshal ¶
func (m *QueryCertVotedResponse) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
CustomParams *CustomParams `protobuf:"bytes,1,opt,name=custom_params,json=customParams,proto3" json:"custom_params,omitempty"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetCustomParams ¶
func (m *QueryParamsResponse) GetCustomParams() *CustomParams
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 UnimplementedCustomQueryServer ¶ added in v2.13.0
type UnimplementedCustomQueryServer struct { }
UnimplementedCustomQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedCustomQueryServer) CertVoted ¶ added in v2.13.0
func (*UnimplementedCustomQueryServer) CertVoted(ctx context.Context, req *QueryCertVotedRequest) (*QueryCertVotedResponse, error)
func (*UnimplementedCustomQueryServer) CustomParams ¶ added in v2.13.0
func (*UnimplementedCustomQueryServer) CustomParams(ctx context.Context, req *v1.QueryParamsRequest) (*QueryParamsResponse, error)