Versions in this module Expand all Collapse all v11 v11.0.0 Aug 29, 2022 Changes in this version + const AttributeAmount + const AttributeGaugeID + const AttributeLockedDenom + const AttributeReceiver + const DefaultIndex + const TypeEvtAddToGauge + const TypeEvtCreateGauge + const TypeEvtDistribution + const TypeMsgAddToGauge + const TypeMsgCreateGauge + var AddToGaugeFee = sdk.NewInt(25 * 1_000_000) + var CreateGaugeFee = sdk.NewInt(50 * 1_000_000) + var ErrIntOverflowGauge = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGauge = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthParams = 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 ErrUnexpectedEndOfGroupGauge = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupParams = 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 KeyDistrEpochIdentifier = []byte("DistrEpochIdentifier") + var KeyIndexSeparator = []byte + var KeyLastGaugeID = []byte + var KeyPrefixActiveGauges = []byte + var KeyPrefixFinishedGauges = []byte + var KeyPrefixGauges = []byte + var KeyPrefixGaugesByDenom = []byte + var KeyPrefixPeriodGauge = []byte + var KeyPrefixTimestamp = []byte + var KeyPrefixUpcomingGauges = []byte + var LockableDurationsKey = []byte("lockable_durations") + var MemStoreKey = "mem_capability" + var ModuleCdc = codec.NewAminoCodec(amino) + var ModuleName = "incentives" + var QuerierRoute = ModuleName + var RouterKey = ModuleName + var StoreKey = ModuleName + func KeyPrefix(p string) []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + 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) + type ActiveGaugesPerDenomRequest struct + Denom string + Pagination *query.PageRequest + func (*ActiveGaugesPerDenomRequest) Descriptor() ([]byte, []int) + func (*ActiveGaugesPerDenomRequest) ProtoMessage() + func (m *ActiveGaugesPerDenomRequest) GetDenom() string + func (m *ActiveGaugesPerDenomRequest) GetPagination() *query.PageRequest + func (m *ActiveGaugesPerDenomRequest) Marshal() (dAtA []byte, err error) + func (m *ActiveGaugesPerDenomRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ActiveGaugesPerDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ActiveGaugesPerDenomRequest) Reset() + func (m *ActiveGaugesPerDenomRequest) Size() (n int) + func (m *ActiveGaugesPerDenomRequest) String() string + func (m *ActiveGaugesPerDenomRequest) Unmarshal(dAtA []byte) error + func (m *ActiveGaugesPerDenomRequest) XXX_DiscardUnknown() + func (m *ActiveGaugesPerDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ActiveGaugesPerDenomRequest) XXX_Merge(src proto.Message) + func (m *ActiveGaugesPerDenomRequest) XXX_Size() int + func (m *ActiveGaugesPerDenomRequest) XXX_Unmarshal(b []byte) error + type ActiveGaugesPerDenomResponse struct + Data []Gauge + Pagination *query.PageResponse + func (*ActiveGaugesPerDenomResponse) Descriptor() ([]byte, []int) + func (*ActiveGaugesPerDenomResponse) ProtoMessage() + func (m *ActiveGaugesPerDenomResponse) GetData() []Gauge + func (m *ActiveGaugesPerDenomResponse) GetPagination() *query.PageResponse + func (m *ActiveGaugesPerDenomResponse) Marshal() (dAtA []byte, err error) + func (m *ActiveGaugesPerDenomResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ActiveGaugesPerDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ActiveGaugesPerDenomResponse) Reset() + func (m *ActiveGaugesPerDenomResponse) Size() (n int) + func (m *ActiveGaugesPerDenomResponse) String() string + func (m *ActiveGaugesPerDenomResponse) Unmarshal(dAtA []byte) error + func (m *ActiveGaugesPerDenomResponse) XXX_DiscardUnknown() + func (m *ActiveGaugesPerDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ActiveGaugesPerDenomResponse) XXX_Merge(src proto.Message) + func (m *ActiveGaugesPerDenomResponse) XXX_Size() int + func (m *ActiveGaugesPerDenomResponse) XXX_Unmarshal(b []byte) error + type ActiveGaugesRequest struct + Pagination *query.PageRequest + func (*ActiveGaugesRequest) Descriptor() ([]byte, []int) + func (*ActiveGaugesRequest) ProtoMessage() + func (m *ActiveGaugesRequest) GetPagination() *query.PageRequest + func (m *ActiveGaugesRequest) Marshal() (dAtA []byte, err error) + func (m *ActiveGaugesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ActiveGaugesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ActiveGaugesRequest) Reset() + func (m *ActiveGaugesRequest) Size() (n int) + func (m *ActiveGaugesRequest) String() string + func (m *ActiveGaugesRequest) Unmarshal(dAtA []byte) error + func (m *ActiveGaugesRequest) XXX_DiscardUnknown() + func (m *ActiveGaugesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ActiveGaugesRequest) XXX_Merge(src proto.Message) + func (m *ActiveGaugesRequest) XXX_Size() int + func (m *ActiveGaugesRequest) XXX_Unmarshal(b []byte) error + type ActiveGaugesResponse struct + Data []Gauge + Pagination *query.PageResponse + func (*ActiveGaugesResponse) Descriptor() ([]byte, []int) + func (*ActiveGaugesResponse) ProtoMessage() + func (m *ActiveGaugesResponse) GetData() []Gauge + func (m *ActiveGaugesResponse) GetPagination() *query.PageResponse + func (m *ActiveGaugesResponse) Marshal() (dAtA []byte, err error) + func (m *ActiveGaugesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ActiveGaugesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ActiveGaugesResponse) Reset() + func (m *ActiveGaugesResponse) Size() (n int) + func (m *ActiveGaugesResponse) String() string + func (m *ActiveGaugesResponse) Unmarshal(dAtA []byte) error + func (m *ActiveGaugesResponse) XXX_DiscardUnknown() + func (m *ActiveGaugesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ActiveGaugesResponse) XXX_Merge(src proto.Message) + func (m *ActiveGaugesResponse) XXX_Size() int + func (m *ActiveGaugesResponse) XXX_Unmarshal(b []byte) error + type BankKeeper interface + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + HasSupply func(ctx sdk.Context, denom string) bool + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToManyAccounts func(ctx sdk.Context, senderModule string, recipientAddrs []sdk.AccAddress, ...) error + type CommunityPoolKeeper interface + FundCommunityPool func(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error + type EpochKeeper interface + GetEpochInfo func(ctx sdk.Context, identifier string) epochstypes.EpochInfo + type Gauge struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + DistributeTo types.QueryCondition + DistributedCoins github_com_cosmos_cosmos_sdk_types.Coins + FilledEpochs uint64 + Id uint64 + IsPerpetual bool + NumEpochsPaidOver uint64 + StartTime time.Time + func NewGauge(id uint64, isPerpetual bool, distrTo lockuptypes.QueryCondition, ...) Gauge + func (*Gauge) Descriptor() ([]byte, []int) + func (*Gauge) ProtoMessage() + func (gauge Gauge) IsActiveGauge(curTime time.Time) bool + func (gauge Gauge) IsFinishedGauge(curTime time.Time) bool + func (gauge Gauge) IsUpcomingGauge(curTime time.Time) bool + func (m *Gauge) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *Gauge) GetDistributeTo() types.QueryCondition + func (m *Gauge) GetDistributedCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *Gauge) GetFilledEpochs() uint64 + func (m *Gauge) GetId() uint64 + func (m *Gauge) GetIsPerpetual() bool + func (m *Gauge) GetNumEpochsPaidOver() uint64 + func (m *Gauge) GetStartTime() time.Time + func (m *Gauge) Marshal() (dAtA []byte, err error) + func (m *Gauge) MarshalTo(dAtA []byte) (int, error) + func (m *Gauge) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Gauge) Reset() + func (m *Gauge) Size() (n int) + func (m *Gauge) String() string + func (m *Gauge) Unmarshal(dAtA []byte) error + func (m *Gauge) XXX_DiscardUnknown() + func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Gauge) XXX_Merge(src proto.Message) + func (m *Gauge) XXX_Size() int + func (m *Gauge) XXX_Unmarshal(b []byte) error + type GaugeByIDRequest struct + Id uint64 + func (*GaugeByIDRequest) Descriptor() ([]byte, []int) + func (*GaugeByIDRequest) ProtoMessage() + func (m *GaugeByIDRequest) GetId() uint64 + func (m *GaugeByIDRequest) Marshal() (dAtA []byte, err error) + func (m *GaugeByIDRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GaugeByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GaugeByIDRequest) Reset() + func (m *GaugeByIDRequest) Size() (n int) + func (m *GaugeByIDRequest) String() string + func (m *GaugeByIDRequest) Unmarshal(dAtA []byte) error + func (m *GaugeByIDRequest) XXX_DiscardUnknown() + func (m *GaugeByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugeByIDRequest) XXX_Merge(src proto.Message) + func (m *GaugeByIDRequest) XXX_Size() int + func (m *GaugeByIDRequest) XXX_Unmarshal(b []byte) error + type GaugeByIDResponse struct + Gauge *Gauge + func (*GaugeByIDResponse) Descriptor() ([]byte, []int) + func (*GaugeByIDResponse) ProtoMessage() + func (m *GaugeByIDResponse) GetGauge() *Gauge + func (m *GaugeByIDResponse) Marshal() (dAtA []byte, err error) + func (m *GaugeByIDResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GaugeByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GaugeByIDResponse) Reset() + func (m *GaugeByIDResponse) Size() (n int) + func (m *GaugeByIDResponse) String() string + func (m *GaugeByIDResponse) Unmarshal(dAtA []byte) error + func (m *GaugeByIDResponse) XXX_DiscardUnknown() + func (m *GaugeByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugeByIDResponse) XXX_Merge(src proto.Message) + func (m *GaugeByIDResponse) XXX_Size() int + func (m *GaugeByIDResponse) XXX_Unmarshal(b []byte) error + type GaugesRequest struct + Pagination *query.PageRequest + func (*GaugesRequest) Descriptor() ([]byte, []int) + func (*GaugesRequest) ProtoMessage() + func (m *GaugesRequest) GetPagination() *query.PageRequest + func (m *GaugesRequest) Marshal() (dAtA []byte, err error) + func (m *GaugesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GaugesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GaugesRequest) Reset() + func (m *GaugesRequest) Size() (n int) + func (m *GaugesRequest) String() string + func (m *GaugesRequest) Unmarshal(dAtA []byte) error + func (m *GaugesRequest) XXX_DiscardUnknown() + func (m *GaugesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugesRequest) XXX_Merge(src proto.Message) + func (m *GaugesRequest) XXX_Size() int + func (m *GaugesRequest) XXX_Unmarshal(b []byte) error + type GaugesResponse struct + Data []Gauge + Pagination *query.PageResponse + func (*GaugesResponse) Descriptor() ([]byte, []int) + func (*GaugesResponse) ProtoMessage() + func (m *GaugesResponse) GetData() []Gauge + func (m *GaugesResponse) GetPagination() *query.PageResponse + func (m *GaugesResponse) Marshal() (dAtA []byte, err error) + func (m *GaugesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GaugesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GaugesResponse) Reset() + func (m *GaugesResponse) Size() (n int) + func (m *GaugesResponse) String() string + func (m *GaugesResponse) Unmarshal(dAtA []byte) error + func (m *GaugesResponse) XXX_DiscardUnknown() + func (m *GaugesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugesResponse) XXX_Merge(src proto.Message) + func (m *GaugesResponse) XXX_Size() int + func (m *GaugesResponse) XXX_Unmarshal(b []byte) error + type GenesisState struct + Gauges []Gauge + LastGaugeId uint64 + LockableDurations []time.Duration + Params Params + func DefaultGenesis() *GenesisState + func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetGauges() []Gauge + func (m *GenesisState) GetLastGaugeId() uint64 + func (m *GenesisState) GetLockableDurations() []time.Duration + 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 IncentiveHooks interface + AfterAddToGauge func(ctx sdk.Context, gaugeId uint64) + AfterCreateGauge func(ctx sdk.Context, gaugeId uint64) + AfterEpochDistribution func(ctx sdk.Context) + AfterFinishDistribution func(ctx sdk.Context, gaugeId uint64) + AfterStartDistribution func(ctx sdk.Context, gaugeId uint64) + type LockableDurationsInfo struct + LockableDurations []time.Duration + func (*LockableDurationsInfo) Descriptor() ([]byte, []int) + func (*LockableDurationsInfo) ProtoMessage() + func (m *LockableDurationsInfo) GetLockableDurations() []time.Duration + func (m *LockableDurationsInfo) Marshal() (dAtA []byte, err error) + func (m *LockableDurationsInfo) MarshalTo(dAtA []byte) (int, error) + func (m *LockableDurationsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LockableDurationsInfo) Reset() + func (m *LockableDurationsInfo) Size() (n int) + func (m *LockableDurationsInfo) String() string + func (m *LockableDurationsInfo) Unmarshal(dAtA []byte) error + func (m *LockableDurationsInfo) XXX_DiscardUnknown() + func (m *LockableDurationsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LockableDurationsInfo) XXX_Merge(src proto.Message) + func (m *LockableDurationsInfo) XXX_Size() int + func (m *LockableDurationsInfo) XXX_Unmarshal(b []byte) error + type LockupKeeper interface + GetAccountPeriodLocks func(ctx sdk.Context, addr sdk.AccAddress) []lockuptypes.PeriodLock + GetLockByID func(ctx sdk.Context, lockID uint64) (*lockuptypes.PeriodLock, error) + GetLocksLongerThanDurationDenom func(ctx sdk.Context, denom string, duration time.Duration) []lockuptypes.PeriodLock + GetPeriodLocksAccumulation func(ctx sdk.Context, query lockuptypes.QueryCondition) sdk.Int + type ModuleDistributedCoinsRequest struct + func (*ModuleDistributedCoinsRequest) Descriptor() ([]byte, []int) + func (*ModuleDistributedCoinsRequest) ProtoMessage() + func (m *ModuleDistributedCoinsRequest) Marshal() (dAtA []byte, err error) + func (m *ModuleDistributedCoinsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ModuleDistributedCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ModuleDistributedCoinsRequest) Reset() + func (m *ModuleDistributedCoinsRequest) Size() (n int) + func (m *ModuleDistributedCoinsRequest) String() string + func (m *ModuleDistributedCoinsRequest) Unmarshal(dAtA []byte) error + func (m *ModuleDistributedCoinsRequest) XXX_DiscardUnknown() + func (m *ModuleDistributedCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModuleDistributedCoinsRequest) XXX_Merge(src proto.Message) + func (m *ModuleDistributedCoinsRequest) XXX_Size() int + func (m *ModuleDistributedCoinsRequest) XXX_Unmarshal(b []byte) error + type ModuleDistributedCoinsResponse struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + func (*ModuleDistributedCoinsResponse) Descriptor() ([]byte, []int) + func (*ModuleDistributedCoinsResponse) ProtoMessage() + func (m *ModuleDistributedCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *ModuleDistributedCoinsResponse) Marshal() (dAtA []byte, err error) + func (m *ModuleDistributedCoinsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ModuleDistributedCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ModuleDistributedCoinsResponse) Reset() + func (m *ModuleDistributedCoinsResponse) Size() (n int) + func (m *ModuleDistributedCoinsResponse) String() string + func (m *ModuleDistributedCoinsResponse) Unmarshal(dAtA []byte) error + func (m *ModuleDistributedCoinsResponse) XXX_DiscardUnknown() + func (m *ModuleDistributedCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModuleDistributedCoinsResponse) XXX_Merge(src proto.Message) + func (m *ModuleDistributedCoinsResponse) XXX_Size() int + func (m *ModuleDistributedCoinsResponse) XXX_Unmarshal(b []byte) error + type ModuleToDistributeCoinsRequest struct + func (*ModuleToDistributeCoinsRequest) Descriptor() ([]byte, []int) + func (*ModuleToDistributeCoinsRequest) ProtoMessage() + func (m *ModuleToDistributeCoinsRequest) Marshal() (dAtA []byte, err error) + func (m *ModuleToDistributeCoinsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ModuleToDistributeCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ModuleToDistributeCoinsRequest) Reset() + func (m *ModuleToDistributeCoinsRequest) Size() (n int) + func (m *ModuleToDistributeCoinsRequest) String() string + func (m *ModuleToDistributeCoinsRequest) Unmarshal(dAtA []byte) error + func (m *ModuleToDistributeCoinsRequest) XXX_DiscardUnknown() + func (m *ModuleToDistributeCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModuleToDistributeCoinsRequest) XXX_Merge(src proto.Message) + func (m *ModuleToDistributeCoinsRequest) XXX_Size() int + func (m *ModuleToDistributeCoinsRequest) XXX_Unmarshal(b []byte) error + type ModuleToDistributeCoinsResponse struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + func (*ModuleToDistributeCoinsResponse) Descriptor() ([]byte, []int) + func (*ModuleToDistributeCoinsResponse) ProtoMessage() + func (m *ModuleToDistributeCoinsResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *ModuleToDistributeCoinsResponse) Marshal() (dAtA []byte, err error) + func (m *ModuleToDistributeCoinsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ModuleToDistributeCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ModuleToDistributeCoinsResponse) Reset() + func (m *ModuleToDistributeCoinsResponse) Size() (n int) + func (m *ModuleToDistributeCoinsResponse) String() string + func (m *ModuleToDistributeCoinsResponse) Unmarshal(dAtA []byte) error + func (m *ModuleToDistributeCoinsResponse) XXX_DiscardUnknown() + func (m *ModuleToDistributeCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModuleToDistributeCoinsResponse) XXX_Merge(src proto.Message) + func (m *ModuleToDistributeCoinsResponse) XXX_Size() int + func (m *ModuleToDistributeCoinsResponse) XXX_Unmarshal(b []byte) error + type MsgAddToGauge struct + GaugeId uint64 + Owner string + Rewards github_com_cosmos_cosmos_sdk_types.Coins + func NewMsgAddToGauge(owner sdk.AccAddress, gaugeId uint64, rewards sdk.Coins) *MsgAddToGauge + func (*MsgAddToGauge) Descriptor() ([]byte, []int) + func (*MsgAddToGauge) ProtoMessage() + func (m *MsgAddToGauge) GetGaugeId() uint64 + func (m *MsgAddToGauge) GetOwner() string + func (m *MsgAddToGauge) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins + func (m *MsgAddToGauge) Marshal() (dAtA []byte, err error) + func (m *MsgAddToGauge) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddToGauge) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddToGauge) Reset() + func (m *MsgAddToGauge) Size() (n int) + func (m *MsgAddToGauge) String() string + func (m *MsgAddToGauge) Unmarshal(dAtA []byte) error + func (m *MsgAddToGauge) XXX_DiscardUnknown() + func (m *MsgAddToGauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddToGauge) XXX_Merge(src proto.Message) + func (m *MsgAddToGauge) XXX_Size() int + func (m *MsgAddToGauge) XXX_Unmarshal(b []byte) error + func (m MsgAddToGauge) GetSignBytes() []byte + func (m MsgAddToGauge) GetSigners() []sdk.AccAddress + func (m MsgAddToGauge) Route() string + func (m MsgAddToGauge) Type() string + func (m MsgAddToGauge) ValidateBasic() error + type MsgAddToGaugeResponse struct + func (*MsgAddToGaugeResponse) Descriptor() ([]byte, []int) + func (*MsgAddToGaugeResponse) ProtoMessage() + func (m *MsgAddToGaugeResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAddToGaugeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddToGaugeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddToGaugeResponse) Reset() + func (m *MsgAddToGaugeResponse) Size() (n int) + func (m *MsgAddToGaugeResponse) String() string + func (m *MsgAddToGaugeResponse) Unmarshal(dAtA []byte) error + func (m *MsgAddToGaugeResponse) XXX_DiscardUnknown() + func (m *MsgAddToGaugeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddToGaugeResponse) XXX_Merge(src proto.Message) + func (m *MsgAddToGaugeResponse) XXX_Size() int + func (m *MsgAddToGaugeResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + AddToGauge func(ctx context.Context, in *MsgAddToGauge, opts ...grpc.CallOption) (*MsgAddToGaugeResponse, error) + CreateGauge func(ctx context.Context, in *MsgCreateGauge, opts ...grpc.CallOption) (*MsgCreateGaugeResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateGauge struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + DistributeTo types.QueryCondition + IsPerpetual bool + NumEpochsPaidOver uint64 + Owner string + StartTime time.Time + func NewMsgCreateGauge(isPerpetual bool, owner sdk.AccAddress, ...) *MsgCreateGauge + func (*MsgCreateGauge) Descriptor() ([]byte, []int) + func (*MsgCreateGauge) ProtoMessage() + func (m *MsgCreateGauge) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *MsgCreateGauge) GetDistributeTo() types.QueryCondition + func (m *MsgCreateGauge) GetIsPerpetual() bool + func (m *MsgCreateGauge) GetNumEpochsPaidOver() uint64 + func (m *MsgCreateGauge) GetOwner() string + func (m *MsgCreateGauge) GetStartTime() time.Time + func (m *MsgCreateGauge) Marshal() (dAtA []byte, err error) + func (m *MsgCreateGauge) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateGauge) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateGauge) Reset() + func (m *MsgCreateGauge) Size() (n int) + func (m *MsgCreateGauge) String() string + func (m *MsgCreateGauge) Unmarshal(dAtA []byte) error + func (m *MsgCreateGauge) XXX_DiscardUnknown() + func (m *MsgCreateGauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateGauge) XXX_Merge(src proto.Message) + func (m *MsgCreateGauge) XXX_Size() int + func (m *MsgCreateGauge) XXX_Unmarshal(b []byte) error + func (m MsgCreateGauge) GetSignBytes() []byte + func (m MsgCreateGauge) GetSigners() []sdk.AccAddress + func (m MsgCreateGauge) Route() string + func (m MsgCreateGauge) Type() string + func (m MsgCreateGauge) ValidateBasic() error + type MsgCreateGaugeResponse struct + func (*MsgCreateGaugeResponse) Descriptor() ([]byte, []int) + func (*MsgCreateGaugeResponse) ProtoMessage() + func (m *MsgCreateGaugeResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateGaugeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateGaugeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateGaugeResponse) Reset() + func (m *MsgCreateGaugeResponse) Size() (n int) + func (m *MsgCreateGaugeResponse) String() string + func (m *MsgCreateGaugeResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateGaugeResponse) XXX_DiscardUnknown() + func (m *MsgCreateGaugeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateGaugeResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateGaugeResponse) XXX_Size() int + func (m *MsgCreateGaugeResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + AddToGauge func(context.Context, *MsgAddToGauge) (*MsgAddToGaugeResponse, error) + CreateGauge func(context.Context, *MsgCreateGauge) (*MsgCreateGaugeResponse, error) + type MultiIncentiveHooks []IncentiveHooks + func NewMultiIncentiveHooks(hooks ...IncentiveHooks) MultiIncentiveHooks + func (h MultiIncentiveHooks) AfterAddToGauge(ctx sdk.Context, gaugeId uint64) + func (h MultiIncentiveHooks) AfterCreateGauge(ctx sdk.Context, gaugeId uint64) + func (h MultiIncentiveHooks) AfterEpochDistribution(ctx sdk.Context) + func (h MultiIncentiveHooks) AfterFinishDistribution(ctx sdk.Context, gaugeId uint64) + func (h MultiIncentiveHooks) AfterStartDistribution(ctx sdk.Context, gaugeId uint64) + type Params struct + DistrEpochIdentifier string + func DefaultParams() Params + func NewParams(distrEpochIdentifier string) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetDistrEpochIdentifier() 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) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) Validate() error + type QueryClient interface + ActiveGauges func(ctx context.Context, in *ActiveGaugesRequest, opts ...grpc.CallOption) (*ActiveGaugesResponse, error) + ActiveGaugesPerDenom func(ctx context.Context, in *ActiveGaugesPerDenomRequest, opts ...grpc.CallOption) (*ActiveGaugesPerDenomResponse, error) + GaugeByID func(ctx context.Context, in *GaugeByIDRequest, opts ...grpc.CallOption) (*GaugeByIDResponse, error) + Gauges func(ctx context.Context, in *GaugesRequest, opts ...grpc.CallOption) (*GaugesResponse, error) + LockableDurations func(ctx context.Context, in *QueryLockableDurationsRequest, ...) (*QueryLockableDurationsResponse, error) + ModuleDistributedCoins func(ctx context.Context, in *ModuleDistributedCoinsRequest, ...) (*ModuleDistributedCoinsResponse, error) + ModuleToDistributeCoins func(ctx context.Context, in *ModuleToDistributeCoinsRequest, ...) (*ModuleToDistributeCoinsResponse, error) + RewardsEst func(ctx context.Context, in *RewardsEstRequest, opts ...grpc.CallOption) (*RewardsEstResponse, error) + UpcomingGauges func(ctx context.Context, in *UpcomingGaugesRequest, opts ...grpc.CallOption) (*UpcomingGaugesResponse, error) + UpcomingGaugesPerDenom func(ctx context.Context, in *UpcomingGaugesPerDenomRequest, ...) (*UpcomingGaugesPerDenomResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryLockableDurationsRequest struct + func (*QueryLockableDurationsRequest) Descriptor() ([]byte, []int) + func (*QueryLockableDurationsRequest) ProtoMessage() + func (m *QueryLockableDurationsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryLockableDurationsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLockableDurationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLockableDurationsRequest) Reset() + func (m *QueryLockableDurationsRequest) Size() (n int) + func (m *QueryLockableDurationsRequest) String() string + func (m *QueryLockableDurationsRequest) Unmarshal(dAtA []byte) error + func (m *QueryLockableDurationsRequest) XXX_DiscardUnknown() + func (m *QueryLockableDurationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLockableDurationsRequest) XXX_Merge(src proto.Message) + func (m *QueryLockableDurationsRequest) XXX_Size() int + func (m *QueryLockableDurationsRequest) XXX_Unmarshal(b []byte) error + type QueryLockableDurationsResponse struct + LockableDurations []time.Duration + func (*QueryLockableDurationsResponse) Descriptor() ([]byte, []int) + func (*QueryLockableDurationsResponse) ProtoMessage() + func (m *QueryLockableDurationsResponse) GetLockableDurations() []time.Duration + func (m *QueryLockableDurationsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryLockableDurationsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLockableDurationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLockableDurationsResponse) Reset() + func (m *QueryLockableDurationsResponse) Size() (n int) + func (m *QueryLockableDurationsResponse) String() string + func (m *QueryLockableDurationsResponse) Unmarshal(dAtA []byte) error + func (m *QueryLockableDurationsResponse) XXX_DiscardUnknown() + func (m *QueryLockableDurationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLockableDurationsResponse) XXX_Merge(src proto.Message) + func (m *QueryLockableDurationsResponse) XXX_Size() int + func (m *QueryLockableDurationsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + ActiveGauges func(context.Context, *ActiveGaugesRequest) (*ActiveGaugesResponse, error) + ActiveGaugesPerDenom func(context.Context, *ActiveGaugesPerDenomRequest) (*ActiveGaugesPerDenomResponse, error) + GaugeByID func(context.Context, *GaugeByIDRequest) (*GaugeByIDResponse, error) + Gauges func(context.Context, *GaugesRequest) (*GaugesResponse, error) + LockableDurations func(context.Context, *QueryLockableDurationsRequest) (*QueryLockableDurationsResponse, error) + ModuleDistributedCoins func(context.Context, *ModuleDistributedCoinsRequest) (*ModuleDistributedCoinsResponse, error) + ModuleToDistributeCoins func(context.Context, *ModuleToDistributeCoinsRequest) (*ModuleToDistributeCoinsResponse, error) + RewardsEst func(context.Context, *RewardsEstRequest) (*RewardsEstResponse, error) + UpcomingGauges func(context.Context, *UpcomingGaugesRequest) (*UpcomingGaugesResponse, error) + UpcomingGaugesPerDenom func(context.Context, *UpcomingGaugesPerDenomRequest) (*UpcomingGaugesPerDenomResponse, error) + type RewardsEstRequest struct + EndEpoch int64 + LockIds []uint64 + Owner string + func (*RewardsEstRequest) Descriptor() ([]byte, []int) + func (*RewardsEstRequest) ProtoMessage() + func (m *RewardsEstRequest) GetEndEpoch() int64 + func (m *RewardsEstRequest) GetLockIds() []uint64 + func (m *RewardsEstRequest) GetOwner() string + func (m *RewardsEstRequest) Marshal() (dAtA []byte, err error) + func (m *RewardsEstRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RewardsEstRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RewardsEstRequest) Reset() + func (m *RewardsEstRequest) Size() (n int) + func (m *RewardsEstRequest) String() string + func (m *RewardsEstRequest) Unmarshal(dAtA []byte) error + func (m *RewardsEstRequest) XXX_DiscardUnknown() + func (m *RewardsEstRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RewardsEstRequest) XXX_Merge(src proto.Message) + func (m *RewardsEstRequest) XXX_Size() int + func (m *RewardsEstRequest) XXX_Unmarshal(b []byte) error + type RewardsEstResponse struct + Coins github_com_cosmos_cosmos_sdk_types.Coins + func (*RewardsEstResponse) Descriptor() ([]byte, []int) + func (*RewardsEstResponse) ProtoMessage() + func (m *RewardsEstResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + func (m *RewardsEstResponse) Marshal() (dAtA []byte, err error) + func (m *RewardsEstResponse) MarshalTo(dAtA []byte) (int, error) + func (m *RewardsEstResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RewardsEstResponse) Reset() + func (m *RewardsEstResponse) Size() (n int) + func (m *RewardsEstResponse) String() string + func (m *RewardsEstResponse) Unmarshal(dAtA []byte) error + func (m *RewardsEstResponse) XXX_DiscardUnknown() + func (m *RewardsEstResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RewardsEstResponse) XXX_Merge(src proto.Message) + func (m *RewardsEstResponse) XXX_Size() int + func (m *RewardsEstResponse) XXX_Unmarshal(b []byte) error + type TxFeesKeeper interface + GetBaseDenom func(ctx sdk.Context) (denom string, err error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AddToGauge(ctx context.Context, req *MsgAddToGauge) (*MsgAddToGaugeResponse, error) + func (*UnimplementedMsgServer) CreateGauge(ctx context.Context, req *MsgCreateGauge) (*MsgCreateGaugeResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) ActiveGauges(ctx context.Context, req *ActiveGaugesRequest) (*ActiveGaugesResponse, error) + func (*UnimplementedQueryServer) ActiveGaugesPerDenom(ctx context.Context, req *ActiveGaugesPerDenomRequest) (*ActiveGaugesPerDenomResponse, error) + func (*UnimplementedQueryServer) GaugeByID(ctx context.Context, req *GaugeByIDRequest) (*GaugeByIDResponse, error) + func (*UnimplementedQueryServer) Gauges(ctx context.Context, req *GaugesRequest) (*GaugesResponse, error) + func (*UnimplementedQueryServer) LockableDurations(ctx context.Context, req *QueryLockableDurationsRequest) (*QueryLockableDurationsResponse, error) + func (*UnimplementedQueryServer) ModuleDistributedCoins(ctx context.Context, req *ModuleDistributedCoinsRequest) (*ModuleDistributedCoinsResponse, error) + func (*UnimplementedQueryServer) ModuleToDistributeCoins(ctx context.Context, req *ModuleToDistributeCoinsRequest) (*ModuleToDistributeCoinsResponse, error) + func (*UnimplementedQueryServer) RewardsEst(ctx context.Context, req *RewardsEstRequest) (*RewardsEstResponse, error) + func (*UnimplementedQueryServer) UpcomingGauges(ctx context.Context, req *UpcomingGaugesRequest) (*UpcomingGaugesResponse, error) + func (*UnimplementedQueryServer) UpcomingGaugesPerDenom(ctx context.Context, req *UpcomingGaugesPerDenomRequest) (*UpcomingGaugesPerDenomResponse, error) + type UpcomingGaugesPerDenomRequest struct + Denom string + Pagination *query.PageRequest + func (*UpcomingGaugesPerDenomRequest) Descriptor() ([]byte, []int) + func (*UpcomingGaugesPerDenomRequest) ProtoMessage() + func (m *UpcomingGaugesPerDenomRequest) GetDenom() string + func (m *UpcomingGaugesPerDenomRequest) GetPagination() *query.PageRequest + func (m *UpcomingGaugesPerDenomRequest) Marshal() (dAtA []byte, err error) + func (m *UpcomingGaugesPerDenomRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UpcomingGaugesPerDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpcomingGaugesPerDenomRequest) Reset() + func (m *UpcomingGaugesPerDenomRequest) Size() (n int) + func (m *UpcomingGaugesPerDenomRequest) String() string + func (m *UpcomingGaugesPerDenomRequest) Unmarshal(dAtA []byte) error + func (m *UpcomingGaugesPerDenomRequest) XXX_DiscardUnknown() + func (m *UpcomingGaugesPerDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpcomingGaugesPerDenomRequest) XXX_Merge(src proto.Message) + func (m *UpcomingGaugesPerDenomRequest) XXX_Size() int + func (m *UpcomingGaugesPerDenomRequest) XXX_Unmarshal(b []byte) error + type UpcomingGaugesPerDenomResponse struct + Pagination *query.PageResponse + UpcomingGauges []Gauge + func (*UpcomingGaugesPerDenomResponse) Descriptor() ([]byte, []int) + func (*UpcomingGaugesPerDenomResponse) ProtoMessage() + func (m *UpcomingGaugesPerDenomResponse) GetPagination() *query.PageResponse + func (m *UpcomingGaugesPerDenomResponse) GetUpcomingGauges() []Gauge + func (m *UpcomingGaugesPerDenomResponse) Marshal() (dAtA []byte, err error) + func (m *UpcomingGaugesPerDenomResponse) MarshalTo(dAtA []byte) (int, error) + func (m *UpcomingGaugesPerDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpcomingGaugesPerDenomResponse) Reset() + func (m *UpcomingGaugesPerDenomResponse) Size() (n int) + func (m *UpcomingGaugesPerDenomResponse) String() string + func (m *UpcomingGaugesPerDenomResponse) Unmarshal(dAtA []byte) error + func (m *UpcomingGaugesPerDenomResponse) XXX_DiscardUnknown() + func (m *UpcomingGaugesPerDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpcomingGaugesPerDenomResponse) XXX_Merge(src proto.Message) + func (m *UpcomingGaugesPerDenomResponse) XXX_Size() int + func (m *UpcomingGaugesPerDenomResponse) XXX_Unmarshal(b []byte) error + type UpcomingGaugesRequest struct + Pagination *query.PageRequest + func (*UpcomingGaugesRequest) Descriptor() ([]byte, []int) + func (*UpcomingGaugesRequest) ProtoMessage() + func (m *UpcomingGaugesRequest) GetPagination() *query.PageRequest + func (m *UpcomingGaugesRequest) Marshal() (dAtA []byte, err error) + func (m *UpcomingGaugesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UpcomingGaugesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpcomingGaugesRequest) Reset() + func (m *UpcomingGaugesRequest) Size() (n int) + func (m *UpcomingGaugesRequest) String() string + func (m *UpcomingGaugesRequest) Unmarshal(dAtA []byte) error + func (m *UpcomingGaugesRequest) XXX_DiscardUnknown() + func (m *UpcomingGaugesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpcomingGaugesRequest) XXX_Merge(src proto.Message) + func (m *UpcomingGaugesRequest) XXX_Size() int + func (m *UpcomingGaugesRequest) XXX_Unmarshal(b []byte) error + type UpcomingGaugesResponse struct + Data []Gauge + Pagination *query.PageResponse + func (*UpcomingGaugesResponse) Descriptor() ([]byte, []int) + func (*UpcomingGaugesResponse) ProtoMessage() + func (m *UpcomingGaugesResponse) GetData() []Gauge + func (m *UpcomingGaugesResponse) GetPagination() *query.PageResponse + func (m *UpcomingGaugesResponse) Marshal() (dAtA []byte, err error) + func (m *UpcomingGaugesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *UpcomingGaugesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpcomingGaugesResponse) Reset() + func (m *UpcomingGaugesResponse) Size() (n int) + func (m *UpcomingGaugesResponse) String() string + func (m *UpcomingGaugesResponse) Unmarshal(dAtA []byte) error + func (m *UpcomingGaugesResponse) XXX_DiscardUnknown() + func (m *UpcomingGaugesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpcomingGaugesResponse) XXX_Merge(src proto.Message) + func (m *UpcomingGaugesResponse) XXX_Size() int + func (m *UpcomingGaugesResponse) XXX_Unmarshal(b []byte) error