types

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AttributeKeyDepositor = "depositor"
	AttributeKeyVoter     = "voter"
	AttributeTxHash       = "txhash"
	EventTypeCertVote     = "cert_vote"
	EventTypeSetCertVote  = "set_cert_vote"
)
View Source
const ParamCustom = "custom"

Variables

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 (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamStoreKeyCustomParams = []byte("customparams")
	CertVotesKeyPrefix        = []byte("certvote")
)

parameter store keys

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

Functions

func CertVotesKey added in v2.7.0

func CertVotesKey(proposalID uint64) []byte

CertVotesKey gets the first part of the cert votes key based on the proposalID

func ParamKeyTable

func ParamKeyTable() params.KeyTable

ParamKeyTable is the key declaration for parameters.

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)

func ValidateGenesis

func ValidateGenesis(data *GenesisState) error

ValidateGenesis validates gov genesis data.

Types

type CertKeeper

type CertKeeper interface {
	IsCertifier(ctx sdk.Context, addr sdk.AccAddress) bool
	GetAllCertifiers(ctx sdk.Context) (certifiers certtypes.Certifiers)
	GetCertifier(ctx sdk.Context, certifierAddress sdk.AccAddress) (certtypes.Certifier, error)
	HasCertifierAlias(ctx sdk.Context, alias string) bool
	IsCertified(ctx sdk.Context, content string, certType string) bool
	GetCertifiedIdentities(ctx sdk.Context) []sdk.AccAddress
}

type CustomParams added in v2.7.0

type CustomParams struct {
	CertifierUpdateSecurityVoteTally *types.TallyParams `` /* 163-byte string literal not displayed */
	CertifierUpdateStakeVoteTally    *types.TallyParams `` /* 154-byte string literal not displayed */
}

func (*CustomParams) Descriptor added in v2.7.0

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

func (*CustomParams) Marshal added in v2.7.0

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

func (*CustomParams) MarshalTo added in v2.7.0

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

func (*CustomParams) MarshalToSizedBuffer added in v2.7.0

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

func (*CustomParams) ProtoMessage added in v2.7.0

func (*CustomParams) ProtoMessage()

func (*CustomParams) Reset added in v2.7.0

func (m *CustomParams) Reset()

func (*CustomParams) Size added in v2.7.0

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

func (CustomParams) String added in v2.7.0

func (cp CustomParams) String() string

String implements stringer insterface

func (*CustomParams) Unmarshal added in v2.7.0

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

func (*CustomParams) XXX_DiscardUnknown added in v2.7.0

func (m *CustomParams) XXX_DiscardUnknown()

func (*CustomParams) XXX_Marshal added in v2.7.0

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

func (*CustomParams) XXX_Merge added in v2.7.0

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

func (*CustomParams) XXX_Size added in v2.7.0

func (m *CustomParams) XXX_Size() int

func (*CustomParams) XXX_Unmarshal added in v2.7.0

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

type GenesisState

type GenesisState struct {
	// starting_proposal_id is the ID of the starting proposal.
	StartingProposalId uint64 `` /* 146-byte string literal not displayed */
	// deposits defines all the deposits present at genesis.
	Deposits []types.Deposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits"`
	// votes defines all the votes present at genesis.
	Votes []types.Vote `protobuf:"bytes,3,rep,name=votes,proto3" json:"votes"`
	// proposals defines all the proposals present at genesis.
	Proposals []types.Proposal `protobuf:"bytes,4,rep,name=proposals,proto3" json:"proposals"`
	// params defines all the parameters of related to deposit.
	DepositParams types.DepositParams `protobuf:"bytes,5,opt,name=deposit_params,json=depositParams,proto3" json:"deposit_params" yaml:"deposit_params"`
	// params defines all the parameters of related to voting.
	VotingParams types.VotingParams `protobuf:"bytes,6,opt,name=voting_params,json=votingParams,proto3" json:"voting_params" yaml:"voting_params"`
	// params defines all the parameters of related to tally.
	TallyParams types.TallyParams `protobuf:"bytes,7,opt,name=tally_params,json=tallyParams,proto3" json:"tally_params" yaml:"tally_params"`
	// params defines all the parameters of related to custom.
	CustomParams CustomParams `protobuf:"bytes,8,opt,name=custom_params,json=customParams,proto3" json:"custom_params" yaml:"custom_params"`
	// proposals that require and have passed cert votes.
	CertVotedProposalIds []uint64 `` /* 164-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 (*GenesisState) Descriptor

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

func (*GenesisState) GetCertVotedProposalIds added in v2.7.0

func (m *GenesisState) GetCertVotedProposalIds() []uint64

func (*GenesisState) GetCustomParams added in v2.7.0

func (m *GenesisState) GetCustomParams() CustomParams

func (*GenesisState) GetDepositParams added in v2.7.0

func (m *GenesisState) GetDepositParams() types.DepositParams

func (*GenesisState) GetDeposits added in v2.7.0

func (m *GenesisState) GetDeposits() []types.Deposit

func (*GenesisState) GetProposals added in v2.7.0

func (m *GenesisState) GetProposals() []types.Proposal

func (*GenesisState) GetStartingProposalId added in v2.7.0

func (m *GenesisState) GetStartingProposalId() uint64

func (*GenesisState) GetTallyParams added in v2.7.0

func (m *GenesisState) GetTallyParams() types.TallyParams

func (*GenesisState) GetVotes added in v2.7.0

func (m *GenesisState) GetVotes() []types.Vote

func (*GenesisState) GetVotingParams added in v2.7.0

func (m *GenesisState) GetVotingParams() types.VotingParams

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

type ParamSubspace interface {
	Get(ctx sdk.Context, key []byte, ptr interface{})
	Set(ctx sdk.Context, key []byte, param interface{})
	GetRaw(ctx sdk.Context, key []byte) []byte
}

type Params

type Params struct {
	VotingParams  govTypes.VotingParams  `json:"voting_params" yaml:"voting_params"`
	TallyParams   govTypes.TallyParams   `json:"tally_params" yaml:"tally_params"`
	DepositParams govTypes.DepositParams `json:"deposit_params" yaml:"deposit_parmas"`
	CustomParams  CustomParams           `json:"custom_params" yaml:"custom_params"`
}

Params returns all the governance params

func NewParams

NewParams returns a Params structs including voting, deposit and tally params

func (Params) String

func (gp Params) String() string

type QueryCertVotedRequest added in v2.7.0

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 added in v2.7.0

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

func (*QueryCertVotedRequest) GetProposalId added in v2.7.0

func (m *QueryCertVotedRequest) GetProposalId() uint64

func (*QueryCertVotedRequest) Marshal added in v2.7.0

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

func (*QueryCertVotedRequest) MarshalTo added in v2.7.0

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

func (*QueryCertVotedRequest) MarshalToSizedBuffer added in v2.7.0

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

func (*QueryCertVotedRequest) ProtoMessage added in v2.7.0

func (*QueryCertVotedRequest) ProtoMessage()

func (*QueryCertVotedRequest) Reset added in v2.7.0

func (m *QueryCertVotedRequest) Reset()

func (*QueryCertVotedRequest) Size added in v2.7.0

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

func (*QueryCertVotedRequest) String added in v2.7.0

func (m *QueryCertVotedRequest) String() string

func (*QueryCertVotedRequest) Unmarshal added in v2.7.0

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

func (*QueryCertVotedRequest) XXX_DiscardUnknown added in v2.7.0

func (m *QueryCertVotedRequest) XXX_DiscardUnknown()

func (*QueryCertVotedRequest) XXX_Marshal added in v2.7.0

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

func (*QueryCertVotedRequest) XXX_Merge added in v2.7.0

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

func (*QueryCertVotedRequest) XXX_Size added in v2.7.0

func (m *QueryCertVotedRequest) XXX_Size() int

func (*QueryCertVotedRequest) XXX_Unmarshal added in v2.7.0

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

type QueryCertVotedResponse added in v2.7.0

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 added in v2.7.0

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

func (*QueryCertVotedResponse) GetCertVoted added in v2.7.0

func (m *QueryCertVotedResponse) GetCertVoted() bool

func (*QueryCertVotedResponse) Marshal added in v2.7.0

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

func (*QueryCertVotedResponse) MarshalTo added in v2.7.0

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

func (*QueryCertVotedResponse) MarshalToSizedBuffer added in v2.7.0

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

func (*QueryCertVotedResponse) ProtoMessage added in v2.7.0

func (*QueryCertVotedResponse) ProtoMessage()

func (*QueryCertVotedResponse) Reset added in v2.7.0

func (m *QueryCertVotedResponse) Reset()

func (*QueryCertVotedResponse) Size added in v2.7.0

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

func (*QueryCertVotedResponse) String added in v2.7.0

func (m *QueryCertVotedResponse) String() string

func (*QueryCertVotedResponse) Unmarshal added in v2.7.0

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

func (*QueryCertVotedResponse) XXX_DiscardUnknown added in v2.7.0

func (m *QueryCertVotedResponse) XXX_DiscardUnknown()

func (*QueryCertVotedResponse) XXX_Marshal added in v2.7.0

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

func (*QueryCertVotedResponse) XXX_Merge added in v2.7.0

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

func (*QueryCertVotedResponse) XXX_Size added in v2.7.0

func (m *QueryCertVotedResponse) XXX_Size() int

func (*QueryCertVotedResponse) XXX_Unmarshal added in v2.7.0

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

type QueryClient

type QueryClient interface {
	// Proposal queries proposal details based on ProposalID.
	Proposal(ctx context.Context, in *types.QueryProposalRequest, opts ...grpc.CallOption) (*types.QueryProposalResponse, error)
	// Proposals queries all proposals based on given status.
	Proposals(ctx context.Context, in *types.QueryProposalsRequest, opts ...grpc.CallOption) (*types.QueryProposalsResponse, error)
	// Vote queries voted information based on proposalID, voterAddr.
	Vote(ctx context.Context, in *types.QueryVoteRequest, opts ...grpc.CallOption) (*types.QueryVoteResponse, error)
	// Votes queries votes of a given proposal.
	Votes(ctx context.Context, in *types.QueryVotesRequest, opts ...grpc.CallOption) (*types.QueryVotesResponse, error)
	// Params queries all parameters of the gov module.
	Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Deposit queries single deposit information based proposalID, depositAddr.
	Deposit(ctx context.Context, in *types.QueryDepositRequest, opts ...grpc.CallOption) (*types.QueryDepositResponse, error)
	// Deposits queries all deposits of a single proposal.
	Deposits(ctx context.Context, in *types.QueryDepositsRequest, opts ...grpc.CallOption) (*types.QueryDepositsResponse, error)
	// TallyResult queries the tally of a proposal vote.
	TallyResult(ctx context.Context, in *types.QueryTallyResultRequest, opts ...grpc.CallOption) (*types.QueryTallyResultResponse, error)
	// Proposal queries proposal details based on ProposalID.
	CertVoted(ctx context.Context, in *QueryCertVotedRequest, opts ...grpc.CallOption) (*QueryCertVotedResponse, 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 QueryParamsResponse

type QueryParamsResponse struct {
	// voting_params defines the parameters related to voting.
	VotingParams types.VotingParams `protobuf:"bytes,1,opt,name=voting_params,json=votingParams,proto3" json:"voting_params"`
	// deposit_params defines the parameters related to deposit.
	DepositParams types.DepositParams `protobuf:"bytes,2,opt,name=deposit_params,json=depositParams,proto3" json:"deposit_params"`
	// tally_params defines the parameters related to tally.
	TallyParams types.TallyParams `protobuf:"bytes,3,opt,name=tally_params,json=tallyParams,proto3" json:"tally_params"`
	// custom_params defines the parameters related to custom.
	CustomParams CustomParams `protobuf:"bytes,4,opt,name=custom_params,json=customParams,proto3" json:"custom_params"`
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetCustomParams added in v2.7.0

func (m *QueryParamsResponse) GetCustomParams() CustomParams

func (*QueryParamsResponse) GetDepositParams

func (m *QueryParamsResponse) GetDepositParams() types.DepositParams

func (*QueryParamsResponse) GetTallyParams

func (m *QueryParamsResponse) GetTallyParams() types.TallyParams

func (*QueryParamsResponse) GetVotingParams

func (m *QueryParamsResponse) GetVotingParams() types.VotingParams

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 {
	// Proposal queries proposal details based on ProposalID.
	Proposal(context.Context, *types.QueryProposalRequest) (*types.QueryProposalResponse, error)
	// Proposals queries all proposals based on given status.
	Proposals(context.Context, *types.QueryProposalsRequest) (*types.QueryProposalsResponse, error)
	// Vote queries voted information based on proposalID, voterAddr.
	Vote(context.Context, *types.QueryVoteRequest) (*types.QueryVoteResponse, error)
	// Votes queries votes of a given proposal.
	Votes(context.Context, *types.QueryVotesRequest) (*types.QueryVotesResponse, error)
	// Params queries all parameters of the gov module.
	Params(context.Context, *types.QueryParamsRequest) (*QueryParamsResponse, error)
	// Deposit queries single deposit information based proposalID, depositAddr.
	Deposit(context.Context, *types.QueryDepositRequest) (*types.QueryDepositResponse, error)
	// Deposits queries all deposits of a single proposal.
	Deposits(context.Context, *types.QueryDepositsRequest) (*types.QueryDepositsResponse, error)
	// TallyResult queries the tally of a proposal vote.
	TallyResult(context.Context, *types.QueryTallyResultRequest) (*types.QueryTallyResultResponse, error)
	// Proposal queries proposal details based on ProposalID.
	CertVoted(context.Context, *QueryCertVotedRequest) (*QueryCertVotedResponse, error)
}

QueryServer is the server API for Query service.

type ShieldKeeper

type ShieldKeeper interface {
	GetPurchase(purchaseList shieldtypes.PurchaseList, purchaseID uint64) (shieldtypes.Purchase, bool)
	GetPurchaseList(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress) (shieldtypes.PurchaseList, bool)
	GetClaimProposalParams(ctx sdk.Context) shieldtypes.ClaimProposalParams
	SecureCollaterals(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress, purchaseID uint64, loss sdk.Coins, lockPeriod time.Duration) error
	RestoreShield(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress, id uint64, loss sdk.Coins) error
	ClaimEnd(ctx sdk.Context, id, poolID uint64, loss sdk.Coins)
}

type StakingKeeper

type StakingKeeper interface {
	IterateBondedValidatorsByPower(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	TotalBondedTokens(sdk.Context) sdk.Int
	IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool))
	BondDenom(sdk.Context) string
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
}

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CertVoted added in v2.7.0

func (*UnimplementedQueryServer) Deposit

func (*UnimplementedQueryServer) Deposits

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Proposal

func (*UnimplementedQueryServer) Proposals

func (*UnimplementedQueryServer) TallyResult

func (*UnimplementedQueryServer) Vote

func (*UnimplementedQueryServer) Votes

type UpgradeKeeper

type UpgradeKeeper interface {
	ValidatePlan(ctx sdk.Context, plan upgradetypes.Plan) error
}

Jump to

Keyboard shortcuts

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