Versions in this module Expand all Collapse all v12 v12.2.0 Jan 3, 2024 Changes in this version + 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 ErrIntOverflowV2Incentives = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthV2Incentives = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupV2Incentives = fmt.Errorf("proto: unexpected end of group") + var ParamStoreKeyAllocationLimit = []byte("AllocationLimit") + var ParamStoreKeyEnableIncentives = []byte("EnableIncentives") + var ParamStoreKeyEpochIdentifier = []byte("EpochIdentifier") + var ParamStoreKeyRewardScaler = []byte("RewardScaler") + var ParamsKey = []byte("Params") + func ParamKeyTable() paramtypes.KeyTable + type CancelV2IncentiveProposal struct + Contract string + Description string + Title string + func (*CancelV2IncentiveProposal) Descriptor() ([]byte, []int) + func (*CancelV2IncentiveProposal) ProtoMessage() + func (m *CancelV2IncentiveProposal) GetContract() string + func (m *CancelV2IncentiveProposal) GetDescription() string + func (m *CancelV2IncentiveProposal) GetTitle() string + func (m *CancelV2IncentiveProposal) Marshal() (dAtA []byte, err error) + func (m *CancelV2IncentiveProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CancelV2IncentiveProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CancelV2IncentiveProposal) Reset() + func (m *CancelV2IncentiveProposal) Size() (n int) + func (m *CancelV2IncentiveProposal) String() string + func (m *CancelV2IncentiveProposal) Unmarshal(dAtA []byte) error + func (m *CancelV2IncentiveProposal) XXX_DiscardUnknown() + func (m *CancelV2IncentiveProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CancelV2IncentiveProposal) XXX_Merge(src proto.Message) + func (m *CancelV2IncentiveProposal) XXX_Size() int + func (m *CancelV2IncentiveProposal) XXX_Unmarshal(b []byte) error + type RegisterV2IncentiveProposal struct + Allocations github_com_cosmos_cosmos_sdk_types.DecCoins + Contract string + Description string + Epochs uint32 + Title string + func (*RegisterV2IncentiveProposal) Descriptor() ([]byte, []int) + func (*RegisterV2IncentiveProposal) ProtoMessage() + func (m *RegisterV2IncentiveProposal) GetAllocations() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *RegisterV2IncentiveProposal) GetContract() string + func (m *RegisterV2IncentiveProposal) GetDescription() string + func (m *RegisterV2IncentiveProposal) GetEpochs() uint32 + func (m *RegisterV2IncentiveProposal) GetTitle() string + func (m *RegisterV2IncentiveProposal) Marshal() (dAtA []byte, err error) + func (m *RegisterV2IncentiveProposal) MarshalTo(dAtA []byte) (int, error) + func (m *RegisterV2IncentiveProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RegisterV2IncentiveProposal) Reset() + func (m *RegisterV2IncentiveProposal) Size() (n int) + func (m *RegisterV2IncentiveProposal) String() string + func (m *RegisterV2IncentiveProposal) Unmarshal(dAtA []byte) error + func (m *RegisterV2IncentiveProposal) XXX_DiscardUnknown() + func (m *RegisterV2IncentiveProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RegisterV2IncentiveProposal) XXX_Merge(src proto.Message) + func (m *RegisterV2IncentiveProposal) XXX_Size() int + func (m *RegisterV2IncentiveProposal) XXX_Unmarshal(b []byte) error + type V2GasMeter struct + Contract string + CumulativeGas uint64 + Participant string + func (*V2GasMeter) Descriptor() ([]byte, []int) + func (*V2GasMeter) ProtoMessage() + func (m *V2GasMeter) GetContract() string + func (m *V2GasMeter) GetCumulativeGas() uint64 + func (m *V2GasMeter) GetParticipant() string + func (m *V2GasMeter) Marshal() (dAtA []byte, err error) + func (m *V2GasMeter) MarshalTo(dAtA []byte) (int, error) + func (m *V2GasMeter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *V2GasMeter) Reset() + func (m *V2GasMeter) Size() (n int) + func (m *V2GasMeter) String() string + func (m *V2GasMeter) Unmarshal(dAtA []byte) error + func (m *V2GasMeter) XXX_DiscardUnknown() + func (m *V2GasMeter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *V2GasMeter) XXX_Merge(src proto.Message) + func (m *V2GasMeter) XXX_Size() int + func (m *V2GasMeter) XXX_Unmarshal(b []byte) error + type V2GenesisState struct + V2GasMeters []V2GasMeter + V2Incentives []V2Incentive + V2Params V2Params + func (*V2GenesisState) Descriptor() ([]byte, []int) + func (*V2GenesisState) ProtoMessage() + func (m *V2GenesisState) GetV2GasMeters() []V2GasMeter + func (m *V2GenesisState) GetV2Incentives() []V2Incentive + func (m *V2GenesisState) GetV2Params() V2Params + func (m *V2GenesisState) Marshal() (dAtA []byte, err error) + func (m *V2GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *V2GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *V2GenesisState) Reset() + func (m *V2GenesisState) Size() (n int) + func (m *V2GenesisState) String() string + func (m *V2GenesisState) Unmarshal(dAtA []byte) error + func (m *V2GenesisState) XXX_DiscardUnknown() + func (m *V2GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *V2GenesisState) XXX_Merge(src proto.Message) + func (m *V2GenesisState) XXX_Size() int + func (m *V2GenesisState) XXX_Unmarshal(b []byte) error + type V2Incentive struct + Allocations github_com_cosmos_cosmos_sdk_types.DecCoins + Contract string + Epochs uint32 + StartTime time.Time + TotalGas uint64 + func (*V2Incentive) Descriptor() ([]byte, []int) + func (*V2Incentive) ProtoMessage() + func (m *V2Incentive) GetAllocations() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *V2Incentive) GetContract() string + func (m *V2Incentive) GetEpochs() uint32 + func (m *V2Incentive) GetStartTime() time.Time + func (m *V2Incentive) GetTotalGas() uint64 + func (m *V2Incentive) Marshal() (dAtA []byte, err error) + func (m *V2Incentive) MarshalTo(dAtA []byte) (int, error) + func (m *V2Incentive) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *V2Incentive) Reset() + func (m *V2Incentive) Size() (n int) + func (m *V2Incentive) String() string + func (m *V2Incentive) Unmarshal(dAtA []byte) error + func (m *V2Incentive) XXX_DiscardUnknown() + func (m *V2Incentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *V2Incentive) XXX_Merge(src proto.Message) + func (m *V2Incentive) XXX_Size() int + func (m *V2Incentive) XXX_Unmarshal(b []byte) error + type V2Params struct + AllocationLimit github_com_cosmos_cosmos_sdk_types.Dec + EnableIncentives bool + IncentivesEpochIdentifier string + RewardScaler github_com_cosmos_cosmos_sdk_types.Dec + func DefaultParams() V2Params + func NewParams(enableIncentives bool, allocationLimit sdk.Dec, epochIdentifier string, ...) V2Params + func (*V2Params) Descriptor() ([]byte, []int) + func (*V2Params) ProtoMessage() + func (m *V2Params) GetEnableIncentives() bool + func (m *V2Params) GetIncentivesEpochIdentifier() string + func (m *V2Params) Marshal() (dAtA []byte, err error) + func (m *V2Params) MarshalTo(dAtA []byte) (int, error) + func (m *V2Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *V2Params) Reset() + func (m *V2Params) Size() (n int) + func (m *V2Params) String() string + func (m *V2Params) Unmarshal(dAtA []byte) error + func (m *V2Params) XXX_DiscardUnknown() + func (m *V2Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *V2Params) XXX_Merge(src proto.Message) + func (m *V2Params) XXX_Size() int + func (m *V2Params) XXX_Unmarshal(b []byte) error + func (p *V2Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p V2Params) Validate() error