Versions in this module Expand all Collapse all v0 v0.0.2 Dec 18, 2024 Changes in this version + const AttributeKeyContract + const AttributeKeyEpochs + const EventTypeCancelIncentive + const EventTypeDistributeIncentives + const EventTypeRegisterIncentive + const ModuleName + const ProposalTypeCancelIncentive + const ProposalTypeRegisterIncentive + const RouterKey + const StoreKey + var AminoCdc = codec.NewAminoCodec(amino) + var DefaultAllocationLimit = sdk.NewDecWithPrec(5, 2) + var DefaultEnableIncentives = true + var DefaultIncentivesEpochIdentifier = epochstypes.WeekEpochID + var DefaultRewardScalar = sdk.NewDecWithPrec(12, 1) + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowIncentives = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInternalIncentive = errorsmod.Register(ModuleName, 2, "internal incentives error") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthIncentives = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupIncentives = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var KeyPrefixAllocationMeter = []byte + var KeyPrefixGasMeter = []byte + var KeyPrefixIncentive = []byte + var ModuleAddress common.Address + var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) + var ParamsKey = []byte("Params") + func NewCancelIncentiveProposal(title, description, contract string) govv1beta1.Content + func NewRegisterIncentiveProposal(title, description, contract string, allocations sdk.DecCoins, epochs uint32) govv1beta1.Content + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error + func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func SplitGasMeterKey(key []byte) (contract, userAddr common.Address) + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetModuleAddress func(moduleName string) sdk.AccAddress + GetSequence func(sdk.Context, sdk.AccAddress) (uint64, error) + type BankKeeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + HasSupply func(ctx sdk.Context, denom string) bool + IsSendEnabledCoin func(ctx sdk.Context, coin sdk.Coin) bool + IterateAccountBalances func(ctx sdk.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool) + MintCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type CancelIncentiveProposal struct + Contract string + Description string + Title string + func (*CancelIncentiveProposal) Descriptor() ([]byte, []int) + func (*CancelIncentiveProposal) ProposalRoute() string + func (*CancelIncentiveProposal) ProposalType() string + func (*CancelIncentiveProposal) ProtoMessage() + func (m *CancelIncentiveProposal) GetContract() string + func (m *CancelIncentiveProposal) GetDescription() string + func (m *CancelIncentiveProposal) GetTitle() string + func (m *CancelIncentiveProposal) Marshal() (dAtA []byte, err error) + func (m *CancelIncentiveProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CancelIncentiveProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CancelIncentiveProposal) Reset() + func (m *CancelIncentiveProposal) Size() (n int) + func (m *CancelIncentiveProposal) String() string + func (m *CancelIncentiveProposal) Unmarshal(dAtA []byte) error + func (m *CancelIncentiveProposal) XXX_DiscardUnknown() + func (m *CancelIncentiveProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CancelIncentiveProposal) XXX_Merge(src proto.Message) + func (m *CancelIncentiveProposal) XXX_Size() int + func (m *CancelIncentiveProposal) XXX_Unmarshal(b []byte) error + func (rip *CancelIncentiveProposal) ValidateBasic() error + type EVMKeeper interface + GetAccountWithoutBalance func(ctx sdk.Context, addr common.Address) *statedb.Account + GetParams func(ctx sdk.Context) evmtypes.Params + type GasMeter struct + Contract string + CumulativeGas uint64 + Participant string + func NewGasMeter(contract common.Address, participant common.Address, cumulativeGas uint64) GasMeter + func (*GasMeter) Descriptor() ([]byte, []int) + func (*GasMeter) ProtoMessage() + func (gm GasMeter) Validate() error + func (m *GasMeter) GetContract() string + func (m *GasMeter) GetCumulativeGas() uint64 + func (m *GasMeter) GetParticipant() string + func (m *GasMeter) Marshal() (dAtA []byte, err error) + func (m *GasMeter) MarshalTo(dAtA []byte) (int, error) + func (m *GasMeter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GasMeter) Reset() + func (m *GasMeter) Size() (n int) + func (m *GasMeter) String() string + func (m *GasMeter) Unmarshal(dAtA []byte) error + func (m *GasMeter) XXX_DiscardUnknown() + func (m *GasMeter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GasMeter) XXX_Merge(src proto.Message) + func (m *GasMeter) XXX_Size() int + func (m *GasMeter) XXX_Unmarshal(b []byte) error + type GenesisState struct + GasMeters []GasMeter + Incentives []Incentive + Params Params + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, incentives []Incentive, gasMeters []GasMeter) GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetGasMeters() []GasMeter + func (m *GenesisState) GetIncentives() []Incentive + func (m *GenesisState) GetParams() Params + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 GovKeeper interface + GetProposal func(ctx sdk.Context, proposalID uint64) (govv1beta1.Proposal, bool) + GetVotingParams func(ctx sdk.Context) govv1beta1.VotingParams + InsertActiveProposalQueue func(ctx sdk.Context, proposalID uint64, timestamp time.Time) + Logger func(sdk.Context) log.Logger + RemoveFromActiveProposalQueue func(ctx sdk.Context, proposalID uint64, timestamp time.Time) + SetProposal func(ctx sdk.Context, proposal govv1beta1.Proposal) + type Incentive struct + Allocations github_com_cosmos_cosmos_sdk_types.DecCoins + Contract string + Epochs uint32 + StartTime time.Time + TotalGas uint64 + func NewIncentive(contract common.Address, allocations sdk.DecCoins, epochs uint32) Incentive + func (*Incentive) Descriptor() ([]byte, []int) + func (*Incentive) ProtoMessage() + func (i Incentive) IsActive() bool + func (i Incentive) Validate() error + func (m *Incentive) GetAllocations() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *Incentive) GetContract() string + func (m *Incentive) GetEpochs() uint32 + func (m *Incentive) GetStartTime() time.Time + func (m *Incentive) GetTotalGas() uint64 + func (m *Incentive) Marshal() (dAtA []byte, err error) + func (m *Incentive) MarshalTo(dAtA []byte) (int, error) + func (m *Incentive) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Incentive) Reset() + func (m *Incentive) Size() (n int) + func (m *Incentive) String() string + func (m *Incentive) Unmarshal(dAtA []byte) error + func (m *Incentive) XXX_DiscardUnknown() + func (m *Incentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Incentive) XXX_Merge(src proto.Message) + func (m *Incentive) XXX_Size() int + func (m *Incentive) XXX_Unmarshal(b []byte) error + type InflationKeeper interface + GetParams func(ctx sdk.Context) (params inflationtypes.Params) + type LegacyParams = paramtypes.ParamSet + type MsgClient interface + UpdateParams func(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgServer interface + UpdateParams func(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + type MsgUpdateParams struct + Authority string + Params Params + func (*MsgUpdateParams) Descriptor() ([]byte, []int) + func (*MsgUpdateParams) ProtoMessage() + func (m *MsgUpdateParams) GetAuthority() string + func (m *MsgUpdateParams) GetParams() Params + func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress + func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParams) Reset() + func (m *MsgUpdateParams) Size() (n int) + func (m *MsgUpdateParams) String() string + func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParams) ValidateBasic() error + func (m *MsgUpdateParams) XXX_DiscardUnknown() + func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParams) XXX_Merge(src proto.Message) + func (m *MsgUpdateParams) XXX_Size() int + func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error + func (m MsgUpdateParams) GetSignBytes() []byte + type MsgUpdateParamsResponse struct + func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateParamsResponse) ProtoMessage() + func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) Reset() + func (m *MsgUpdateParamsResponse) Size() (n int) + func (m *MsgUpdateParamsResponse) String() string + func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() + func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateParamsResponse) XXX_Size() int + func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error + type Params struct + AllocationLimit github_com_cosmos_cosmos_sdk_types.Dec + EnableIncentives bool + IncentivesEpochIdentifier string + RewardScaler github_com_cosmos_cosmos_sdk_types.Dec + func DefaultParams() Params + func NewParams(enableIncentives bool, allocationLimit sdk.Dec, epochIdentifier string, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetEnableIncentives() bool + func (m *Params) GetIncentivesEpochIdentifier() string + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p Params) Validate() error + type QueryAllocationMeterRequest struct + Denom string + func (*QueryAllocationMeterRequest) Descriptor() ([]byte, []int) + func (*QueryAllocationMeterRequest) ProtoMessage() + func (m *QueryAllocationMeterRequest) GetDenom() string + func (m *QueryAllocationMeterRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllocationMeterRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllocationMeterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllocationMeterRequest) Reset() + func (m *QueryAllocationMeterRequest) Size() (n int) + func (m *QueryAllocationMeterRequest) String() string + func (m *QueryAllocationMeterRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllocationMeterRequest) XXX_DiscardUnknown() + func (m *QueryAllocationMeterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllocationMeterRequest) XXX_Merge(src proto.Message) + func (m *QueryAllocationMeterRequest) XXX_Size() int + func (m *QueryAllocationMeterRequest) XXX_Unmarshal(b []byte) error + type QueryAllocationMeterResponse struct + AllocationMeter types.DecCoin + func (*QueryAllocationMeterResponse) Descriptor() ([]byte, []int) + func (*QueryAllocationMeterResponse) ProtoMessage() + func (m *QueryAllocationMeterResponse) GetAllocationMeter() types.DecCoin + func (m *QueryAllocationMeterResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllocationMeterResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllocationMeterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllocationMeterResponse) Reset() + func (m *QueryAllocationMeterResponse) Size() (n int) + func (m *QueryAllocationMeterResponse) String() string + func (m *QueryAllocationMeterResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllocationMeterResponse) XXX_DiscardUnknown() + func (m *QueryAllocationMeterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllocationMeterResponse) XXX_Merge(src proto.Message) + func (m *QueryAllocationMeterResponse) XXX_Size() int + func (m *QueryAllocationMeterResponse) XXX_Unmarshal(b []byte) error + type QueryAllocationMetersRequest struct + Pagination *query.PageRequest + func (*QueryAllocationMetersRequest) Descriptor() ([]byte, []int) + func (*QueryAllocationMetersRequest) ProtoMessage() + func (m *QueryAllocationMetersRequest) GetPagination() *query.PageRequest + func (m *QueryAllocationMetersRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllocationMetersRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllocationMetersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllocationMetersRequest) Reset() + func (m *QueryAllocationMetersRequest) Size() (n int) + func (m *QueryAllocationMetersRequest) String() string + func (m *QueryAllocationMetersRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllocationMetersRequest) XXX_DiscardUnknown() + func (m *QueryAllocationMetersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllocationMetersRequest) XXX_Merge(src proto.Message) + func (m *QueryAllocationMetersRequest) XXX_Size() int + func (m *QueryAllocationMetersRequest) XXX_Unmarshal(b []byte) error + type QueryAllocationMetersResponse struct + AllocationMeters github_com_cosmos_cosmos_sdk_types.DecCoins + Pagination *query.PageResponse + func (*QueryAllocationMetersResponse) Descriptor() ([]byte, []int) + func (*QueryAllocationMetersResponse) ProtoMessage() + func (m *QueryAllocationMetersResponse) GetAllocationMeters() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *QueryAllocationMetersResponse) GetPagination() *query.PageResponse + func (m *QueryAllocationMetersResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllocationMetersResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllocationMetersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllocationMetersResponse) Reset() + func (m *QueryAllocationMetersResponse) Size() (n int) + func (m *QueryAllocationMetersResponse) String() string + func (m *QueryAllocationMetersResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllocationMetersResponse) XXX_DiscardUnknown() + func (m *QueryAllocationMetersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllocationMetersResponse) XXX_Merge(src proto.Message) + func (m *QueryAllocationMetersResponse) XXX_Size() int + func (m *QueryAllocationMetersResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AllocationMeter func(ctx context.Context, in *QueryAllocationMeterRequest, opts ...grpc.CallOption) (*QueryAllocationMeterResponse, error) + AllocationMeters func(ctx context.Context, in *QueryAllocationMetersRequest, opts ...grpc.CallOption) (*QueryAllocationMetersResponse, error) + GasMeter func(ctx context.Context, in *QueryGasMeterRequest, opts ...grpc.CallOption) (*QueryGasMeterResponse, error) + GasMeters func(ctx context.Context, in *QueryGasMetersRequest, opts ...grpc.CallOption) (*QueryGasMetersResponse, error) + Incentive func(ctx context.Context, in *QueryIncentiveRequest, opts ...grpc.CallOption) (*QueryIncentiveResponse, error) + Incentives func(ctx context.Context, in *QueryIncentivesRequest, opts ...grpc.CallOption) (*QueryIncentivesResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryGasMeterRequest struct + Contract string + Participant string + func (*QueryGasMeterRequest) Descriptor() ([]byte, []int) + func (*QueryGasMeterRequest) ProtoMessage() + func (m *QueryGasMeterRequest) GetContract() string + func (m *QueryGasMeterRequest) GetParticipant() string + func (m *QueryGasMeterRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGasMeterRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGasMeterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGasMeterRequest) Reset() + func (m *QueryGasMeterRequest) Size() (n int) + func (m *QueryGasMeterRequest) String() string + func (m *QueryGasMeterRequest) Unmarshal(dAtA []byte) error + func (m *QueryGasMeterRequest) XXX_DiscardUnknown() + func (m *QueryGasMeterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGasMeterRequest) XXX_Merge(src proto.Message) + func (m *QueryGasMeterRequest) XXX_Size() int + func (m *QueryGasMeterRequest) XXX_Unmarshal(b []byte) error + type QueryGasMeterResponse struct + GasMeter uint64 + func (*QueryGasMeterResponse) Descriptor() ([]byte, []int) + func (*QueryGasMeterResponse) ProtoMessage() + func (m *QueryGasMeterResponse) GetGasMeter() uint64 + func (m *QueryGasMeterResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGasMeterResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGasMeterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGasMeterResponse) Reset() + func (m *QueryGasMeterResponse) Size() (n int) + func (m *QueryGasMeterResponse) String() string + func (m *QueryGasMeterResponse) Unmarshal(dAtA []byte) error + func (m *QueryGasMeterResponse) XXX_DiscardUnknown() + func (m *QueryGasMeterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGasMeterResponse) XXX_Merge(src proto.Message) + func (m *QueryGasMeterResponse) XXX_Size() int + func (m *QueryGasMeterResponse) XXX_Unmarshal(b []byte) error + type QueryGasMetersRequest struct + Contract string + Pagination *query.PageRequest + func (*QueryGasMetersRequest) Descriptor() ([]byte, []int) + func (*QueryGasMetersRequest) ProtoMessage() + func (m *QueryGasMetersRequest) GetContract() string + func (m *QueryGasMetersRequest) GetPagination() *query.PageRequest + func (m *QueryGasMetersRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGasMetersRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGasMetersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGasMetersRequest) Reset() + func (m *QueryGasMetersRequest) Size() (n int) + func (m *QueryGasMetersRequest) String() string + func (m *QueryGasMetersRequest) Unmarshal(dAtA []byte) error + func (m *QueryGasMetersRequest) XXX_DiscardUnknown() + func (m *QueryGasMetersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGasMetersRequest) XXX_Merge(src proto.Message) + func (m *QueryGasMetersRequest) XXX_Size() int + func (m *QueryGasMetersRequest) XXX_Unmarshal(b []byte) error + type QueryGasMetersResponse struct + GasMeters []GasMeter + Pagination *query.PageResponse + func (*QueryGasMetersResponse) Descriptor() ([]byte, []int) + func (*QueryGasMetersResponse) ProtoMessage() + func (m *QueryGasMetersResponse) GetGasMeters() []GasMeter + func (m *QueryGasMetersResponse) GetPagination() *query.PageResponse + func (m *QueryGasMetersResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGasMetersResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGasMetersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGasMetersResponse) Reset() + func (m *QueryGasMetersResponse) Size() (n int) + func (m *QueryGasMetersResponse) String() string + func (m *QueryGasMetersResponse) Unmarshal(dAtA []byte) error + func (m *QueryGasMetersResponse) XXX_DiscardUnknown() + func (m *QueryGasMetersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGasMetersResponse) XXX_Merge(src proto.Message) + func (m *QueryGasMetersResponse) XXX_Size() int + func (m *QueryGasMetersResponse) XXX_Unmarshal(b []byte) error + type QueryIncentiveRequest struct + Contract string + func (*QueryIncentiveRequest) Descriptor() ([]byte, []int) + func (*QueryIncentiveRequest) ProtoMessage() + func (m *QueryIncentiveRequest) GetContract() string + func (m *QueryIncentiveRequest) Marshal() (dAtA []byte, err error) + func (m *QueryIncentiveRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryIncentiveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryIncentiveRequest) Reset() + func (m *QueryIncentiveRequest) Size() (n int) + func (m *QueryIncentiveRequest) String() string + func (m *QueryIncentiveRequest) Unmarshal(dAtA []byte) error + func (m *QueryIncentiveRequest) XXX_DiscardUnknown() + func (m *QueryIncentiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryIncentiveRequest) XXX_Merge(src proto.Message) + func (m *QueryIncentiveRequest) XXX_Size() int + func (m *QueryIncentiveRequest) XXX_Unmarshal(b []byte) error + type QueryIncentiveResponse struct + Incentive Incentive + func (*QueryIncentiveResponse) Descriptor() ([]byte, []int) + func (*QueryIncentiveResponse) ProtoMessage() + func (m *QueryIncentiveResponse) GetIncentive() Incentive + func (m *QueryIncentiveResponse) Marshal() (dAtA []byte, err error) + func (m *QueryIncentiveResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryIncentiveResponse) Reset() + func (m *QueryIncentiveResponse) Size() (n int) + func (m *QueryIncentiveResponse) String() string + func (m *QueryIncentiveResponse) Unmarshal(dAtA []byte) error + func (m *QueryIncentiveResponse) XXX_DiscardUnknown() + func (m *QueryIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryIncentiveResponse) XXX_Merge(src proto.Message) + func (m *QueryIncentiveResponse) XXX_Size() int + func (m *QueryIncentiveResponse) XXX_Unmarshal(b []byte) error + type QueryIncentivesRequest struct + Pagination *query.PageRequest + func (*QueryIncentivesRequest) Descriptor() ([]byte, []int) + func (*QueryIncentivesRequest) ProtoMessage() + func (m *QueryIncentivesRequest) GetPagination() *query.PageRequest + func (m *QueryIncentivesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryIncentivesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryIncentivesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryIncentivesRequest) Reset() + func (m *QueryIncentivesRequest) Size() (n int) + func (m *QueryIncentivesRequest) String() string + func (m *QueryIncentivesRequest) Unmarshal(dAtA []byte) error + func (m *QueryIncentivesRequest) XXX_DiscardUnknown() + func (m *QueryIncentivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryIncentivesRequest) XXX_Merge(src proto.Message) + func (m *QueryIncentivesRequest) XXX_Size() int + func (m *QueryIncentivesRequest) XXX_Unmarshal(b []byte) error + type QueryIncentivesResponse struct + Incentives []Incentive + Pagination *query.PageResponse + func (*QueryIncentivesResponse) Descriptor() ([]byte, []int) + func (*QueryIncentivesResponse) ProtoMessage() + func (m *QueryIncentivesResponse) GetIncentives() []Incentive + func (m *QueryIncentivesResponse) GetPagination() *query.PageResponse + func (m *QueryIncentivesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryIncentivesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryIncentivesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryIncentivesResponse) Reset() + func (m *QueryIncentivesResponse) Size() (n int) + func (m *QueryIncentivesResponse) String() string + func (m *QueryIncentivesResponse) Unmarshal(dAtA []byte) error + func (m *QueryIncentivesResponse) XXX_DiscardUnknown() + func (m *QueryIncentivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryIncentivesResponse) XXX_Merge(src proto.Message) + func (m *QueryIncentivesResponse) XXX_Size() int + func (m *QueryIncentivesResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + AllocationMeter func(context.Context, *QueryAllocationMeterRequest) (*QueryAllocationMeterResponse, error) + AllocationMeters func(context.Context, *QueryAllocationMetersRequest) (*QueryAllocationMetersResponse, error) + GasMeter func(context.Context, *QueryGasMeterRequest) (*QueryGasMeterResponse, error) + GasMeters func(context.Context, *QueryGasMetersRequest) (*QueryGasMetersResponse, error) + Incentive func(context.Context, *QueryIncentiveRequest) (*QueryIncentiveResponse, error) + Incentives func(context.Context, *QueryIncentivesRequest) (*QueryIncentivesResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type RegisterIncentiveProposal struct + Allocations github_com_cosmos_cosmos_sdk_types.DecCoins + Contract string + Description string + Epochs uint32 + Title string + func (*RegisterIncentiveProposal) Descriptor() ([]byte, []int) + func (*RegisterIncentiveProposal) ProposalRoute() string + func (*RegisterIncentiveProposal) ProposalType() string + func (*RegisterIncentiveProposal) ProtoMessage() + func (m *RegisterIncentiveProposal) GetAllocations() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *RegisterIncentiveProposal) GetContract() string + func (m *RegisterIncentiveProposal) GetDescription() string + func (m *RegisterIncentiveProposal) GetEpochs() uint32 + func (m *RegisterIncentiveProposal) GetTitle() string + func (m *RegisterIncentiveProposal) Marshal() (dAtA []byte, err error) + func (m *RegisterIncentiveProposal) MarshalTo(dAtA []byte) (int, error) + func (m *RegisterIncentiveProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RegisterIncentiveProposal) Reset() + func (m *RegisterIncentiveProposal) Size() (n int) + func (m *RegisterIncentiveProposal) String() string + func (m *RegisterIncentiveProposal) Unmarshal(dAtA []byte) error + func (m *RegisterIncentiveProposal) XXX_DiscardUnknown() + func (m *RegisterIncentiveProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RegisterIncentiveProposal) XXX_Merge(src proto.Message) + func (m *RegisterIncentiveProposal) XXX_Size() int + func (m *RegisterIncentiveProposal) XXX_Unmarshal(b []byte) error + func (rip *RegisterIncentiveProposal) ValidateBasic() error + type StakeKeeper interface + type Subspace interface + GetParamSetIfExists func(ctx sdk.Context, ps LegacyParams) + WithKeyTable func(table paramtypes.KeyTable) paramtypes.Subspace + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AllocationMeter(ctx context.Context, req *QueryAllocationMeterRequest) (*QueryAllocationMeterResponse, error) + func (*UnimplementedQueryServer) AllocationMeters(ctx context.Context, req *QueryAllocationMetersRequest) (*QueryAllocationMetersResponse, error) + func (*UnimplementedQueryServer) GasMeter(ctx context.Context, req *QueryGasMeterRequest) (*QueryGasMeterResponse, error) + func (*UnimplementedQueryServer) GasMeters(ctx context.Context, req *QueryGasMetersRequest) (*QueryGasMetersResponse, error) + func (*UnimplementedQueryServer) Incentive(ctx context.Context, req *QueryIncentiveRequest) (*QueryIncentiveResponse, error) + func (*UnimplementedQueryServer) Incentives(ctx context.Context, req *QueryIncentivesRequest) (*QueryIncentivesResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)