Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ElysStakedKey(address string) []byte
- func GetPoolRevenueTrackKey(poolId uint64) string
- func KeyPrefix(p string) []byte
- func NewProposalUpdatePoolMultipliers(title, description string, poolMultipliers []PoolMultipliers) gov.Content
- 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 AccountKeeper
- type AccountedPoolKeeper
- type AmmKeeper
- type AprEdenB
- func (*AprEdenB) Descriptor() ([]byte, []int)
- func (m *AprEdenB) Marshal() (dAtA []byte, err error)
- func (m *AprEdenB) MarshalTo(dAtA []byte) (int, error)
- func (m *AprEdenB) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AprEdenB) ProtoMessage()
- func (m *AprEdenB) Reset()
- func (m *AprEdenB) Size() (n int)
- func (m *AprEdenB) String() string
- func (m *AprEdenB) Unmarshal(dAtA []byte) error
- func (m *AprEdenB) XXX_DiscardUnknown()
- func (m *AprEdenB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AprEdenB) XXX_Merge(src proto.Message)
- func (m *AprEdenB) XXX_Size() int
- func (m *AprEdenB) XXX_Unmarshal(b []byte) error
- type AprEdenElys
- func (*AprEdenElys) Descriptor() ([]byte, []int)
- func (m *AprEdenElys) Marshal() (dAtA []byte, err error)
- func (m *AprEdenElys) MarshalTo(dAtA []byte) (int, error)
- func (m *AprEdenElys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AprEdenElys) ProtoMessage()
- func (m *AprEdenElys) Reset()
- func (m *AprEdenElys) Size() (n int)
- func (m *AprEdenElys) String() string
- func (m *AprEdenElys) Unmarshal(dAtA []byte) error
- func (m *AprEdenElys) XXX_DiscardUnknown()
- func (m *AprEdenElys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AprEdenElys) XXX_Merge(src proto.Message)
- func (m *AprEdenElys) XXX_Size() int
- func (m *AprEdenElys) XXX_Unmarshal(b []byte) error
- type AprUsdc
- func (*AprUsdc) Descriptor() ([]byte, []int)
- func (m *AprUsdc) Marshal() (dAtA []byte, err error)
- func (m *AprUsdc) MarshalTo(dAtA []byte) (int, error)
- func (m *AprUsdc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AprUsdc) ProtoMessage()
- func (m *AprUsdc) Reset()
- func (m *AprUsdc) Size() (n int)
- func (m *AprUsdc) String() string
- func (m *AprUsdc) Unmarshal(dAtA []byte) error
- func (m *AprUsdc) XXX_DiscardUnknown()
- func (m *AprUsdc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AprUsdc) XXX_Merge(src proto.Message)
- func (m *AprUsdc) XXX_Size() int
- func (m *AprUsdc) XXX_Unmarshal(b []byte) error
- type AssetProfileKeeper
- type BankKeeper
- type CommitmentKeeper
- type DexRewardsTracker
- func (*DexRewardsTracker) Descriptor() ([]byte, []int)
- func (this *DexRewardsTracker) Equal(that interface{}) bool
- func (m *DexRewardsTracker) Marshal() (dAtA []byte, err error)
- func (m *DexRewardsTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *DexRewardsTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DexRewardsTracker) ProtoMessage()
- func (m *DexRewardsTracker) Reset()
- func (m *DexRewardsTracker) Size() (n int)
- func (m *DexRewardsTracker) String() string
- func (m *DexRewardsTracker) Unmarshal(dAtA []byte) error
- func (m *DexRewardsTracker) XXX_DiscardUnknown()
- func (m *DexRewardsTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DexRewardsTracker) XXX_Merge(src proto.Message)
- func (m *DexRewardsTracker) XXX_Size() int
- func (m *DexRewardsTracker) XXX_Unmarshal(b []byte) error
- type ElysStaked
- func (*ElysStaked) Descriptor() ([]byte, []int)
- func (this *ElysStaked) Equal(that interface{}) bool
- func (m *ElysStaked) GetAddress() string
- func (m *ElysStaked) Marshal() (dAtA []byte, err error)
- func (m *ElysStaked) MarshalTo(dAtA []byte) (int, error)
- func (m *ElysStaked) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ElysStaked) ProtoMessage()
- func (m *ElysStaked) Reset()
- func (m *ElysStaked) Size() (n int)
- func (m *ElysStaked) String() string
- func (m *ElysStaked) Unmarshal(dAtA []byte) error
- func (m *ElysStaked) XXX_DiscardUnknown()
- func (m *ElysStaked) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ElysStaked) XXX_Merge(src proto.Message)
- func (m *ElysStaked) XXX_Size() int
- func (m *ElysStaked) XXX_Unmarshal(b []byte) error
- type EpochsKeeper
- type FeePool
- func (*FeePool) Descriptor() ([]byte, []int)
- func (this *FeePool) Equal(that interface{}) bool
- func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *FeePool) Marshal() (dAtA []byte, err error)
- func (m *FeePool) MarshalTo(dAtA []byte) (int, error)
- func (m *FeePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeePool) ProtoMessage()
- func (m *FeePool) Reset()
- func (m *FeePool) Size() (n int)
- func (m *FeePool) String() string
- func (m *FeePool) Unmarshal(dAtA []byte) error
- func (f FeePool) ValidateGenesis() error
- func (m *FeePool) XXX_DiscardUnknown()
- func (m *FeePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeePool) XXX_Merge(src proto.Message)
- func (m *FeePool) XXX_Size() int
- func (m *FeePool) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFeePool() FeePool
- 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 (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() 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 IncentiveInfo
- func (*IncentiveInfo) Descriptor() ([]byte, []int)
- func (m *IncentiveInfo) Marshal() (dAtA []byte, err error)
- func (m *IncentiveInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *IncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IncentiveInfo) ProtoMessage()
- func (m *IncentiveInfo) Reset()
- func (m *IncentiveInfo) Size() (n int)
- func (m *IncentiveInfo) String() string
- func (m *IncentiveInfo) Unmarshal(dAtA []byte) error
- func (m *IncentiveInfo) XXX_DiscardUnknown()
- func (m *IncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncentiveInfo) XXX_Merge(src proto.Message)
- func (m *IncentiveInfo) XXX_Size() int
- func (m *IncentiveInfo) XXX_Unmarshal(b []byte) error
- type MsgBeginRedelegate
- func (*MsgBeginRedelegate) Descriptor() ([]byte, []int)
- func (m *MsgBeginRedelegate) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginRedelegate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginRedelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginRedelegate) ProtoMessage()
- func (m *MsgBeginRedelegate) Reset()
- func (m *MsgBeginRedelegate) Size() (n int)
- func (m *MsgBeginRedelegate) String() string
- func (m *MsgBeginRedelegate) Unmarshal(dAtA []byte) error
- func (m *MsgBeginRedelegate) XXX_DiscardUnknown()
- func (m *MsgBeginRedelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginRedelegate) XXX_Merge(src proto.Message)
- func (m *MsgBeginRedelegate) XXX_Size() int
- func (m *MsgBeginRedelegate) XXX_Unmarshal(b []byte) error
- type MsgCancelUnbondingDelegation
- func (*MsgCancelUnbondingDelegation) Descriptor() ([]byte, []int)
- func (m *MsgCancelUnbondingDelegation) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelUnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelUnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelUnbondingDelegation) ProtoMessage()
- func (m *MsgCancelUnbondingDelegation) Reset()
- func (m *MsgCancelUnbondingDelegation) Size() (n int)
- func (m *MsgCancelUnbondingDelegation) String() string
- func (m *MsgCancelUnbondingDelegation) Unmarshal(dAtA []byte) error
- func (m *MsgCancelUnbondingDelegation) XXX_DiscardUnknown()
- func (m *MsgCancelUnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelUnbondingDelegation) XXX_Merge(src proto.Message)
- func (m *MsgCancelUnbondingDelegation) XXX_Size() int
- func (m *MsgCancelUnbondingDelegation) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgUpdateIncentiveParams
- func (*MsgUpdateIncentiveParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateIncentiveParams) GetAuthority() string
- func (m *MsgUpdateIncentiveParams) GetDistributionEpochForLps() int64
- func (m *MsgUpdateIncentiveParams) GetDistributionEpochForStakers() int64
- func (m *MsgUpdateIncentiveParams) GetElysStakeTrackingRate() int64
- func (msg *MsgUpdateIncentiveParams) GetSignBytes() []byte
- func (msg *MsgUpdateIncentiveParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateIncentiveParams) GetWithdrawAddrEnabled() bool
- func (m *MsgUpdateIncentiveParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateIncentiveParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateIncentiveParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateIncentiveParams) ProtoMessage()
- func (m *MsgUpdateIncentiveParams) Reset()
- func (msg *MsgUpdateIncentiveParams) Route() string
- func (m *MsgUpdateIncentiveParams) Size() (n int)
- func (m *MsgUpdateIncentiveParams) String() string
- func (msg *MsgUpdateIncentiveParams) Type() string
- func (m *MsgUpdateIncentiveParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateIncentiveParams) ValidateBasic() error
- func (m *MsgUpdateIncentiveParams) XXX_DiscardUnknown()
- func (m *MsgUpdateIncentiveParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateIncentiveParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateIncentiveParams) XXX_Size() int
- func (m *MsgUpdateIncentiveParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateIncentiveParamsResponse
- func (*MsgUpdateIncentiveParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateIncentiveParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateIncentiveParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateIncentiveParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateIncentiveParamsResponse) ProtoMessage()
- func (m *MsgUpdateIncentiveParamsResponse) Reset()
- func (m *MsgUpdateIncentiveParamsResponse) Size() (n int)
- func (m *MsgUpdateIncentiveParamsResponse) String() string
- func (m *MsgUpdateIncentiveParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateIncentiveParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateIncentiveParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateIncentiveParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateIncentiveParamsResponse) XXX_Size() int
- func (m *MsgUpdateIncentiveParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewards
- func (*MsgWithdrawRewards) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawRewards) GetSignBytes() []byte
- func (msg MsgWithdrawRewards) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewards) ProtoMessage()
- func (m *MsgWithdrawRewards) Reset()
- func (msg MsgWithdrawRewards) Route() string
- func (m *MsgWithdrawRewards) Size() (n int)
- func (m *MsgWithdrawRewards) String() string
- func (msg MsgWithdrawRewards) Type() string
- func (m *MsgWithdrawRewards) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawRewards) ValidateBasic() error
- func (m *MsgWithdrawRewards) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewards) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewards) XXX_Size() int
- func (m *MsgWithdrawRewards) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewardsResponse
- func (*MsgWithdrawRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewardsResponse) ProtoMessage()
- func (m *MsgWithdrawRewardsResponse) Reset()
- func (m *MsgWithdrawRewardsResponse) Size() (n int)
- func (m *MsgWithdrawRewardsResponse) String() string
- func (m *MsgWithdrawRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewardsResponse) XXX_Size() int
- func (m *MsgWithdrawRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawValidatorCommission
- func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawValidatorCommission) GetSignBytes() []byte
- func (msg MsgWithdrawValidatorCommission) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawValidatorCommission) ProtoMessage()
- func (m *MsgWithdrawValidatorCommission) Reset()
- func (msg MsgWithdrawValidatorCommission) Route() string
- func (m *MsgWithdrawValidatorCommission) Size() (n int)
- func (m *MsgWithdrawValidatorCommission) String() string
- func (msg MsgWithdrawValidatorCommission) Type() string
- func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawValidatorCommission) ValidateBasic() error
- func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown()
- func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawValidatorCommission) XXX_Size() int
- func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error
- type MsgWithdrawValidatorCommissionResponse
- func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
- func (m *MsgWithdrawValidatorCommissionResponse) Reset()
- func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int)
- func (m *MsgWithdrawValidatorCommissionResponse) String() string
- func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDexRewardsLps() DexRewardsTracker
- func (m *Params) GetDexRewardsStakers() DexRewardsTracker
- func (m *Params) GetDistributionEpochForLpsInBlocks() int64
- func (m *Params) GetDistributionEpochForStakersInBlocks() int64
- func (m *Params) GetElysStakeTrackingRate() int64
- func (m *Params) GetLpIncentives() []IncentiveInfo
- func (m *Params) GetPoolInfos() []PoolInfo
- func (m *Params) GetStakeIncentives() []IncentiveInfo
- func (m *Params) GetWithdrawAddrEnabled() bool
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (p Params) ValidateBasic() 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
- type PoolInfo
- func (*PoolInfo) Descriptor() ([]byte, []int)
- func (m *PoolInfo) GetPoolId() uint64
- func (m *PoolInfo) GetRewardWallet() string
- func (m *PoolInfo) Marshal() (dAtA []byte, err error)
- func (m *PoolInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolInfo) ProtoMessage()
- func (m *PoolInfo) Reset()
- func (m *PoolInfo) Size() (n int)
- func (m *PoolInfo) String() string
- func (m *PoolInfo) Unmarshal(dAtA []byte) error
- func (m *PoolInfo) XXX_DiscardUnknown()
- func (m *PoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolInfo) XXX_Merge(src proto.Message)
- func (m *PoolInfo) XXX_Size() int
- func (m *PoolInfo) XXX_Unmarshal(b []byte) error
- type PoolMultipliers
- func (*PoolMultipliers) Descriptor() ([]byte, []int)
- func (m *PoolMultipliers) GetPoolId() uint64
- func (m *PoolMultipliers) Marshal() (dAtA []byte, err error)
- func (m *PoolMultipliers) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolMultipliers) ProtoMessage()
- func (m *PoolMultipliers) Reset()
- func (m *PoolMultipliers) Size() (n int)
- func (m *PoolMultipliers) String() string
- func (m *PoolMultipliers) Unmarshal(dAtA []byte) error
- func (m *PoolMultipliers) XXX_DiscardUnknown()
- func (m *PoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolMultipliers) XXX_Merge(src proto.Message)
- func (m *PoolMultipliers) XXX_Size() int
- func (m *PoolMultipliers) XXX_Unmarshal(b []byte) error
- type ProposalUpdatePoolMultipliers
- func (*ProposalUpdatePoolMultipliers) Descriptor() ([]byte, []int)
- func (m *ProposalUpdatePoolMultipliers) GetDescription() string
- func (m *ProposalUpdatePoolMultipliers) GetPoolMultipliers() []PoolMultipliers
- func (m *ProposalUpdatePoolMultipliers) GetTitle() string
- func (m *ProposalUpdatePoolMultipliers) Marshal() (dAtA []byte, err error)
- func (m *ProposalUpdatePoolMultipliers) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalUpdatePoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *ProposalUpdatePoolMultipliers) ProposalRoute() string
- func (sup *ProposalUpdatePoolMultipliers) ProposalType() string
- func (*ProposalUpdatePoolMultipliers) ProtoMessage()
- func (m *ProposalUpdatePoolMultipliers) Reset()
- func (m *ProposalUpdatePoolMultipliers) Size() (n int)
- func (m *ProposalUpdatePoolMultipliers) String() string
- func (m *ProposalUpdatePoolMultipliers) Unmarshal(dAtA []byte) error
- func (sup *ProposalUpdatePoolMultipliers) ValidateBasic() error
- func (m *ProposalUpdatePoolMultipliers) XXX_DiscardUnknown()
- func (m *ProposalUpdatePoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalUpdatePoolMultipliers) XXX_Merge(src proto.Message)
- func (m *ProposalUpdatePoolMultipliers) XXX_Size() int
- func (m *ProposalUpdatePoolMultipliers) XXX_Unmarshal(b []byte) error
- type QueryAprRequest
- func (*QueryAprRequest) Descriptor() ([]byte, []int)
- func (m *QueryAprRequest) GetDenom() string
- func (m *QueryAprRequest) GetWithdrawType() types1.EarnType
- func (m *QueryAprRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAprRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAprRequest) ProtoMessage()
- func (m *QueryAprRequest) Reset()
- func (m *QueryAprRequest) Size() (n int)
- func (m *QueryAprRequest) String() string
- func (m *QueryAprRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAprRequest) XXX_DiscardUnknown()
- func (m *QueryAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAprRequest) XXX_Merge(src proto.Message)
- func (m *QueryAprRequest) XXX_Size() int
- func (m *QueryAprRequest) XXX_Unmarshal(b []byte) error
- type QueryAprResponse
- func (*QueryAprResponse) Descriptor() ([]byte, []int)
- func (m *QueryAprResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAprResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAprResponse) ProtoMessage()
- func (m *QueryAprResponse) Reset()
- func (m *QueryAprResponse) Size() (n int)
- func (m *QueryAprResponse) String() string
- func (m *QueryAprResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAprResponse) XXX_DiscardUnknown()
- func (m *QueryAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAprResponse) XXX_Merge(src proto.Message)
- func (m *QueryAprResponse) XXX_Size() int
- func (m *QueryAprResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCommunityPoolRequest
- func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolRequest) ProtoMessage()
- func (m *QueryCommunityPoolRequest) Reset()
- func (m *QueryCommunityPoolRequest) Size() (n int)
- func (m *QueryCommunityPoolRequest) String() string
- func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolRequest) XXX_Size() int
- func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryCommunityPoolResponse
- func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolResponse) ProtoMessage()
- func (m *QueryCommunityPoolResponse) Reset()
- func (m *QueryCommunityPoolResponse) Size() (n int)
- func (m *QueryCommunityPoolResponse) String() string
- func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolResponse) XXX_Size() int
- func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- 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 (*QueryParamsRequest) ProtoMessage()
- 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
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- 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 (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type StableStakeKeeper
- type StakingKeeper
- type TokenomicsKeeper
- type TotalCommitmentInfo
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) UpdateIncentiveParams(ctx context.Context, req *MsgUpdateIncentiveParams) (*MsgUpdateIncentiveParamsResponse, error)
- func (*UnimplementedMsgServer) WithdrawRewards(ctx context.Context, req *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error)
- func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( EventTypeSetWithdrawAddress = "set_withdraw_address" EventTypeRewards = "rewards" EventTypeCommission = "commission" EventTypeWithdrawRewards = "withdraw_rewards" EventTypeWithdrawCommission = "withdraw_commission" EventTypeProposerReward = "proposer_reward" AttributeKeyWithdrawAddress = "withdraw_address" AttributeKeyValidator = "validator" AttributeValueCategory = ModuleName )
distribution module event types
const ( // ModuleName defines the module name ModuleName = "incentive" // StoreKey defines the primary module store key StoreKey = ModuleName + "_store" // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_incentive" ElysStakedKeyPrefix = "ElysStaked/value/" )
const ( TypeMsgWithdrawRewards = "withdraw_reward" TypeMsgWithdrawValidatorCommission = "withdraw_validator_commission" )
distribution message types
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
ProposalTypeUpdatePoolMultipliers string = "ProposalUpdatePoolMultipliers"
)
const TypeMsgUpdateIncentiveParams = "update_incentive_params"
Variables ¶
var ( ErrInvalidLengthApr = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApr = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApr = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthDexRewardsTraker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDexRewardsTraker = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDexRewardsTraker = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDistribution = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDistribution = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDistribution = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthElysStaked = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowElysStaked = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupElysStaked = fmt.Errorf("proto: unexpected end of group") )
var ( ErrEmptyDelegatorAddr = sdkerrors.Register(ModuleName, 2, "delegator address is empty") ErrEmptyWithdrawAddr = sdkerrors.Register(ModuleName, 3, "withdraw address is empty") ErrEmptyValidatorAddr = sdkerrors.Register(ModuleName, 4, "validator address is empty") ErrEmptyDelegationDistInfo = sdkerrors.Register(ModuleName, 5, "no delegation distribution info") ErrNoValidatorDistInfo = sdkerrors.Register(ModuleName, 6, "no validator distribution info") ErrNoValidatorCommission = sdkerrors.Register(ModuleName, 7, "no validator commission to withdraw") ErrSetWithdrawAddrDisabled = sdkerrors.Register(ModuleName, 8, "set withdraw address disabled") ErrBadDistribution = sdkerrors.Register(ModuleName, 9, "community pool does not have sufficient coins to distribute") ErrInvalidProposalAmount = sdkerrors.Register(ModuleName, 10, "invalid community pool spend proposal amount") ErrEmptyProposalRecipient = sdkerrors.Register(ModuleName, 11, "invalid community pool spend proposal recipient") ErrNoValidatorExists = sdkerrors.Register(ModuleName, 12, "validator does not exist") ErrNoDelegationExists = sdkerrors.Register(ModuleName, 13, "delegation does not exist") ErrNoNonInflationaryParams = sdkerrors.Register(ModuleName, 14, "no inflationary rewards params") ErrInvalidInflationaryEpochIdentifier = sdkerrors.Register(ModuleName, 15, "inflationary inflationary epoch identifier is invalid") )
x/incentive module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthIncentive = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIncentive = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIncentive = fmt.Errorf("proto: unexpected end of group") )
var ( ParamStoreKeyCommunityTax = []byte("communitytax") ParamStoreKeyWithdrawAddrEnabled = []byte("withdrawaddrenabled") ParamStoreKeyRewardPortionForLps = []byte("rewardportionforlps") ParamStoreKeyRewardPortionForStakers = []byte("rewardportionforstakers") ParamStoreKeyLPIncentives = []byte("lpincentives") ParamStoreKeyStkIncentives = []byte("stkincentives") ParamStoreKeyPoolInfos = []byte("poolinfos") ParamStoreKeyElysStakeTrackingRate = []byte("elysstaketrackingrate") ParamStoreKeyDexRewardsStakers = []byte("dexrewardsstakers") ParamStoreKeyDexRewardsLps = []byte("dexrewardslps") ParamStoreKeyMaxEdenRewardAprForStakers = []byte("maxedenrewardaprstakers") ParamStoreKeyMaxEdenRewardAprForLPs = []byte("maxedenrewardaprlps") ParamStoreKeyDistributionEpochLPs = []byte("distributionepochlps") ParamStoreKeyDistributionEpochStakers = []byte("distributionepochstakers") )
Parameter keys
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var FeePoolKey = []byte{0x00} // key for global distribution state
Functions ¶
func ElysStakedKey ¶ added in v0.12.0
ElysStakedKey returns the store key to retrieve a ElysStaked from the address fields
func GetPoolRevenueTrackKey ¶
Returns the pool revenue tracking key. Unique per pool per epoch, clean once complete the calculation.
func NewProposalUpdatePoolMultipliers ¶
func NewProposalUpdatePoolMultipliers( title, description string, poolMultipliers []PoolMultipliers, ) gov.Content
NewProposalAddAssetInfo creates a new ProposalAddAssetInfo instance
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI // TODO remove with genesis 2-phases refactor https://github.com/cosmos/cosmos-sdk/issues/2862 SetModuleAccount(sdk.Context, types.ModuleAccountI) }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AccountedPoolKeeper ¶ added in v0.11.0
AccountedPoolKeeper
type AmmKeeper ¶
type AmmKeeper interface { // UpdatePoolForSwap takes a pool, sender, and tokenIn, tokenOut amounts // It then updates the pool's balances to the new reserve amounts, and // sends the in tokens from the sender to the pool, and the out tokens from the pool to the sender. UpdatePoolForSwap( ctx sdk.Context, pool ammtypes.Pool, sender sdk.AccAddress, recipient sdk.AccAddress, tokenIn sdk.Coin, tokenOut sdk.Coin, swapFeeIn sdk.Dec, swapFeeOut sdk.Dec, weightBalanceBonus sdk.Dec, ) (error, sdk.Int) // Get pool Ids that contains the denom in pool assets GetAllPoolIdsWithDenom(sdk.Context, string) []uint64 // GetPool returns a pool from its index GetPool(sdk.Context, uint64) (ammtypes.Pool, bool) // Get all pools GetAllPool(sdk.Context) []ammtypes.Pool // IterateCommitments iterates over all Commitments and performs a callback. IterateLiquidityPools(sdk.Context, func(ammtypes.Pool) bool) GetPoolSnapshotOrSet(ctx sdk.Context, pool ammtypes.Pool) (val ammtypes.Pool) SwapOutAmtGivenIn( ctx sdk.Context, poolId uint64, oracleKeeper ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee sdk.Dec, ) (tokenOut sdk.Coin, slippageAmount sdk.Dec, weightBalanceBonus sdk.Dec, err error) CalcOutAmtGivenIn(ctx sdk.Context, poolId uint64, oracle ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee sdk.Dec) (sdk.Coin, error) }
AmmKeeper defines the expected interface needed to swap tokens
type AprEdenB ¶ added in v0.17.0
type AprEdenB struct {
Uedenb github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=uedenb,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"uedenb"`
}
func (*AprEdenB) Descriptor ¶ added in v0.17.0
func (*AprEdenB) MarshalToSizedBuffer ¶ added in v0.17.0
func (*AprEdenB) ProtoMessage ¶ added in v0.17.0
func (*AprEdenB) ProtoMessage()
func (*AprEdenB) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *AprEdenB) XXX_DiscardUnknown()
func (*AprEdenB) XXX_Marshal ¶ added in v0.17.0
func (*AprEdenB) XXX_Unmarshal ¶ added in v0.17.0
type AprEdenElys ¶ added in v0.17.0
type AprEdenElys struct { Uusdc github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=uusdc,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"uusdc"` Ueden github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=ueden,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"ueden"` Uedenb github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=uedenb,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"uedenb"` }
func (*AprEdenElys) Descriptor ¶ added in v0.17.0
func (*AprEdenElys) Descriptor() ([]byte, []int)
func (*AprEdenElys) Marshal ¶ added in v0.17.0
func (m *AprEdenElys) Marshal() (dAtA []byte, err error)
func (*AprEdenElys) MarshalTo ¶ added in v0.17.0
func (m *AprEdenElys) MarshalTo(dAtA []byte) (int, error)
func (*AprEdenElys) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *AprEdenElys) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AprEdenElys) ProtoMessage ¶ added in v0.17.0
func (*AprEdenElys) ProtoMessage()
func (*AprEdenElys) Reset ¶ added in v0.17.0
func (m *AprEdenElys) Reset()
func (*AprEdenElys) Size ¶ added in v0.17.0
func (m *AprEdenElys) Size() (n int)
func (*AprEdenElys) String ¶ added in v0.17.0
func (m *AprEdenElys) String() string
func (*AprEdenElys) Unmarshal ¶ added in v0.17.0
func (m *AprEdenElys) Unmarshal(dAtA []byte) error
func (*AprEdenElys) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *AprEdenElys) XXX_DiscardUnknown()
func (*AprEdenElys) XXX_Marshal ¶ added in v0.17.0
func (m *AprEdenElys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AprEdenElys) XXX_Merge ¶ added in v0.17.0
func (m *AprEdenElys) XXX_Merge(src proto.Message)
func (*AprEdenElys) XXX_Size ¶ added in v0.17.0
func (m *AprEdenElys) XXX_Size() int
func (*AprEdenElys) XXX_Unmarshal ¶ added in v0.17.0
func (m *AprEdenElys) XXX_Unmarshal(b []byte) error
type AprUsdc ¶ added in v0.17.0
type AprUsdc struct { Uusdc github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=uusdc,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"uusdc"` Ueden github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=ueden,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"ueden"` }
func (*AprUsdc) Descriptor ¶ added in v0.17.0
func (*AprUsdc) MarshalToSizedBuffer ¶ added in v0.17.0
func (*AprUsdc) ProtoMessage ¶ added in v0.17.0
func (*AprUsdc) ProtoMessage()
func (*AprUsdc) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *AprUsdc) XXX_DiscardUnknown()
func (*AprUsdc) XXX_Marshal ¶ added in v0.17.0
func (*AprUsdc) XXX_Unmarshal ¶ added in v0.17.0
type AssetProfileKeeper ¶ added in v0.15.0
type AssetProfileKeeper interface {
GetEntry(ctx sdk.Context, baseDenom string) (val aptypes.Entry, found bool)
}
AssetProfileKeeper defines the expected interface needed to retrieve denom info
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommitmentKeeper ¶
type CommitmentKeeper interface { // Initiate commitment according to standard staking BeforeDelegationCreated(sdk.Context, string, string) error // Iterate all commitment IterateCommitments(sdk.Context, func(ctypes.Commitments) (stop bool)) // Update commitment SetCommitments(sdk.Context, ctypes.Commitments) // Get commitment GetCommitments(sdk.Context, string) ctypes.Commitments // Update commitments for claim reward operation RecordClaimReward(sdk.Context, string, string, sdk.Int, ctypes.EarnType) error // Update commitments for validator commission RecordWithdrawValidatorCommission(sdk.Context, string, string, string, sdk.Int) error // Burn eden boost BurnEdenBoost(ctx sdk.Context, creator string, denom string, amount sdk.Int) (ctypes.Commitments, error) }
CommitmentKeeper
type DexRewardsTracker ¶ added in v0.17.0
type DexRewardsTracker struct { NumBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */ Amount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"amount"` AmountCollectedByOtherTracker github_com_cosmos_cosmos_sdk_types.Dec `` /* 194-byte string literal not displayed */ }
DexRewardsTracker
func (*DexRewardsTracker) Descriptor ¶ added in v0.17.0
func (*DexRewardsTracker) Descriptor() ([]byte, []int)
func (*DexRewardsTracker) Equal ¶ added in v0.17.0
func (this *DexRewardsTracker) Equal(that interface{}) bool
func (*DexRewardsTracker) Marshal ¶ added in v0.17.0
func (m *DexRewardsTracker) Marshal() (dAtA []byte, err error)
func (*DexRewardsTracker) MarshalTo ¶ added in v0.17.0
func (m *DexRewardsTracker) MarshalTo(dAtA []byte) (int, error)
func (*DexRewardsTracker) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *DexRewardsTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DexRewardsTracker) ProtoMessage ¶ added in v0.17.0
func (*DexRewardsTracker) ProtoMessage()
func (*DexRewardsTracker) Reset ¶ added in v0.17.0
func (m *DexRewardsTracker) Reset()
func (*DexRewardsTracker) Size ¶ added in v0.17.0
func (m *DexRewardsTracker) Size() (n int)
func (*DexRewardsTracker) String ¶ added in v0.17.0
func (m *DexRewardsTracker) String() string
func (*DexRewardsTracker) Unmarshal ¶ added in v0.17.0
func (m *DexRewardsTracker) Unmarshal(dAtA []byte) error
func (*DexRewardsTracker) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *DexRewardsTracker) XXX_DiscardUnknown()
func (*DexRewardsTracker) XXX_Marshal ¶ added in v0.17.0
func (m *DexRewardsTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DexRewardsTracker) XXX_Merge ¶ added in v0.17.0
func (m *DexRewardsTracker) XXX_Merge(src proto.Message)
func (*DexRewardsTracker) XXX_Size ¶ added in v0.17.0
func (m *DexRewardsTracker) XXX_Size() int
func (*DexRewardsTracker) XXX_Unmarshal ¶ added in v0.17.0
func (m *DexRewardsTracker) XXX_Unmarshal(b []byte) error
type ElysStaked ¶ added in v0.12.0
type ElysStaked struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
Elys staked
func (*ElysStaked) Descriptor ¶ added in v0.12.0
func (*ElysStaked) Descriptor() ([]byte, []int)
func (*ElysStaked) Equal ¶ added in v0.12.0
func (this *ElysStaked) Equal(that interface{}) bool
func (*ElysStaked) GetAddress ¶ added in v0.12.0
func (m *ElysStaked) GetAddress() string
func (*ElysStaked) Marshal ¶ added in v0.12.0
func (m *ElysStaked) Marshal() (dAtA []byte, err error)
func (*ElysStaked) MarshalTo ¶ added in v0.12.0
func (m *ElysStaked) MarshalTo(dAtA []byte) (int, error)
func (*ElysStaked) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ElysStaked) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ElysStaked) ProtoMessage ¶ added in v0.12.0
func (*ElysStaked) ProtoMessage()
func (*ElysStaked) Reset ¶ added in v0.12.0
func (m *ElysStaked) Reset()
func (*ElysStaked) Size ¶ added in v0.12.0
func (m *ElysStaked) Size() (n int)
func (*ElysStaked) String ¶ added in v0.12.0
func (m *ElysStaked) String() string
func (*ElysStaked) Unmarshal ¶ added in v0.12.0
func (m *ElysStaked) Unmarshal(dAtA []byte) error
func (*ElysStaked) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ElysStaked) XXX_DiscardUnknown()
func (*ElysStaked) XXX_Marshal ¶ added in v0.12.0
func (m *ElysStaked) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ElysStaked) XXX_Merge ¶ added in v0.12.0
func (m *ElysStaked) XXX_Merge(src proto.Message)
func (*ElysStaked) XXX_Size ¶ added in v0.12.0
func (m *ElysStaked) XXX_Size() int
func (*ElysStaked) XXX_Unmarshal ¶ added in v0.12.0
func (m *ElysStaked) XXX_Unmarshal(b []byte) error
type EpochsKeeper ¶ added in v0.17.0
type EpochsKeeper interface {
GetEpochInfo(ctx sdk.Context, identifier string) (epochstypes.EpochInfo, bool)
}
EpochsKeeper defines the expected epochs keeper used for simulations (noalias)
type FeePool ¶
type FeePool struct {
CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */
}
FeePool is the global fee pool for distribution.
func (*FeePool) Descriptor ¶
func (*FeePool) GetCommunityPool ¶
func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*FeePool) MarshalToSizedBuffer ¶
func (*FeePool) ProtoMessage ¶
func (*FeePool) ProtoMessage()
func (FeePool) ValidateGenesis ¶
ValidateGenesis validates the fee pool for a genesis state
func (*FeePool) XXX_DiscardUnknown ¶
func (m *FeePool) XXX_DiscardUnknown()
func (*FeePool) XXX_Marshal ¶
func (*FeePool) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // fee_pool defines the fee pool at genesis. FeePool FeePool `protobuf:"bytes,2,opt,name=fee_pool,json=feePool,proto3" json:"fee_pool"` }
GenesisState defines the incentive module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func NewGenesisState ¶
func NewGenesisState( params Params, fp FeePool, ) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFeePool ¶
func (m *GenesisState) GetFeePool() FeePool
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 IncentiveInfo ¶
type IncentiveInfo struct { // reward amount in eden for 1 year EdenAmountPerYear github_com_cosmos_cosmos_sdk_types.Int `` /* 156-byte string literal not displayed */ // starting block height of the distribution DistributionStartBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */ // distribution duration - block number per year TotalBlocksPerYear github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */ // we set block numbers in 24 hrs AllocationEpochInBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 174-byte string literal not displayed */ // maximum eden allocation per day that won't exceed 30% apr MaxEdenPerAllocation github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ // number of block intervals that distribute rewards. DistributionEpochInBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 180-byte string literal not displayed */ // current epoch in block number CurrentEpochInBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ // eden boost apr (0-1) range EdenBoostApr github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */ }
Incentive Info
func (*IncentiveInfo) Descriptor ¶
func (*IncentiveInfo) Descriptor() ([]byte, []int)
func (*IncentiveInfo) Marshal ¶
func (m *IncentiveInfo) Marshal() (dAtA []byte, err error)
func (*IncentiveInfo) MarshalToSizedBuffer ¶
func (m *IncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncentiveInfo) ProtoMessage ¶
func (*IncentiveInfo) ProtoMessage()
func (*IncentiveInfo) Reset ¶
func (m *IncentiveInfo) Reset()
func (*IncentiveInfo) Size ¶
func (m *IncentiveInfo) Size() (n int)
func (*IncentiveInfo) String ¶
func (m *IncentiveInfo) String() string
func (*IncentiveInfo) Unmarshal ¶
func (m *IncentiveInfo) Unmarshal(dAtA []byte) error
func (*IncentiveInfo) XXX_DiscardUnknown ¶
func (m *IncentiveInfo) XXX_DiscardUnknown()
func (*IncentiveInfo) XXX_Marshal ¶
func (m *IncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncentiveInfo) XXX_Merge ¶
func (m *IncentiveInfo) XXX_Merge(src proto.Message)
func (*IncentiveInfo) XXX_Size ¶
func (m *IncentiveInfo) XXX_Size() int
func (*IncentiveInfo) XXX_Unmarshal ¶
func (m *IncentiveInfo) XXX_Unmarshal(b []byte) error
type MsgBeginRedelegate ¶ added in v0.19.0
type MsgBeginRedelegate struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` ValidatorSrcAddress string `protobuf:"bytes,2,opt,name=validator_src_address,json=validatorSrcAddress,proto3" json:"validator_src_address,omitempty"` ValidatorDstAddress string `protobuf:"bytes,3,opt,name=validator_dst_address,json=validatorDstAddress,proto3" json:"validator_dst_address,omitempty"` Amount types1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"` }
func (*MsgBeginRedelegate) Descriptor ¶ added in v0.19.0
func (*MsgBeginRedelegate) Descriptor() ([]byte, []int)
func (*MsgBeginRedelegate) Marshal ¶ added in v0.19.0
func (m *MsgBeginRedelegate) Marshal() (dAtA []byte, err error)
func (*MsgBeginRedelegate) MarshalTo ¶ added in v0.19.0
func (m *MsgBeginRedelegate) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginRedelegate) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *MsgBeginRedelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginRedelegate) ProtoMessage ¶ added in v0.19.0
func (*MsgBeginRedelegate) ProtoMessage()
func (*MsgBeginRedelegate) Reset ¶ added in v0.19.0
func (m *MsgBeginRedelegate) Reset()
func (*MsgBeginRedelegate) Size ¶ added in v0.19.0
func (m *MsgBeginRedelegate) Size() (n int)
func (*MsgBeginRedelegate) String ¶ added in v0.19.0
func (m *MsgBeginRedelegate) String() string
func (*MsgBeginRedelegate) Unmarshal ¶ added in v0.19.0
func (m *MsgBeginRedelegate) Unmarshal(dAtA []byte) error
func (*MsgBeginRedelegate) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *MsgBeginRedelegate) XXX_DiscardUnknown()
func (*MsgBeginRedelegate) XXX_Marshal ¶ added in v0.19.0
func (m *MsgBeginRedelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginRedelegate) XXX_Merge ¶ added in v0.19.0
func (m *MsgBeginRedelegate) XXX_Merge(src proto.Message)
func (*MsgBeginRedelegate) XXX_Size ¶ added in v0.19.0
func (m *MsgBeginRedelegate) XXX_Size() int
func (*MsgBeginRedelegate) XXX_Unmarshal ¶ added in v0.19.0
func (m *MsgBeginRedelegate) XXX_Unmarshal(b []byte) error
type MsgCancelUnbondingDelegation ¶ added in v0.19.0
type MsgCancelUnbondingDelegation struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // amount is always less than or equal to unbonding delegation entry balance Amount types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` // creation_height is the height which the unbonding took place. CreationHeight int64 `protobuf:"varint,4,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height,omitempty"` }
func (*MsgCancelUnbondingDelegation) Descriptor ¶ added in v0.19.0
func (*MsgCancelUnbondingDelegation) Descriptor() ([]byte, []int)
func (*MsgCancelUnbondingDelegation) Marshal ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) Marshal() (dAtA []byte, err error)
func (*MsgCancelUnbondingDelegation) MarshalTo ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelUnbondingDelegation) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelUnbondingDelegation) ProtoMessage ¶ added in v0.19.0
func (*MsgCancelUnbondingDelegation) ProtoMessage()
func (*MsgCancelUnbondingDelegation) Reset ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) Reset()
func (*MsgCancelUnbondingDelegation) Size ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) Size() (n int)
func (*MsgCancelUnbondingDelegation) String ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) String() string
func (*MsgCancelUnbondingDelegation) Unmarshal ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) Unmarshal(dAtA []byte) error
func (*MsgCancelUnbondingDelegation) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) XXX_DiscardUnknown()
func (*MsgCancelUnbondingDelegation) XXX_Marshal ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelUnbondingDelegation) XXX_Merge ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) XXX_Merge(src proto.Message)
func (*MsgCancelUnbondingDelegation) XXX_Size ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) XXX_Size() int
func (*MsgCancelUnbondingDelegation) XXX_Unmarshal ¶ added in v0.19.0
func (m *MsgCancelUnbondingDelegation) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // WithdrawDelegatorReward defines a method to withdraw rewards of delegator // from a single validator. WithdrawRewards(ctx context.Context, in *MsgWithdrawRewards, opts ...grpc.CallOption) (*MsgWithdrawRewardsResponse, error) // WithdrawValidatorCommission defines a method to withdraw the // full commission to the validator address. WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error) UpdateIncentiveParams(ctx context.Context, in *MsgUpdateIncentiveParams, opts ...grpc.CallOption) (*MsgUpdateIncentiveParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgServer ¶
type MsgServer interface { // WithdrawDelegatorReward defines a method to withdraw rewards of delegator // from a single validator. WithdrawRewards(context.Context, *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error) // WithdrawValidatorCommission defines a method to withdraw the // full commission to the validator address. WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error) UpdateIncentiveParams(context.Context, *MsgUpdateIncentiveParams) (*MsgUpdateIncentiveParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateIncentiveParams ¶ added in v0.18.0
type MsgUpdateIncentiveParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=communityTax,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"communityTax"` WithdrawAddrEnabled bool `protobuf:"varint,3,opt,name=withdrawAddrEnabled,proto3" json:"withdrawAddrEnabled,omitempty"` RewardPortionForLps github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ RewardPortionForStakers github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */ ElysStakeTrackingRate int64 `protobuf:"varint,6,opt,name=elysStakeTrackingRate,proto3" json:"elysStakeTrackingRate,omitempty"` MaxEdenRewardAprStakers github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */ MaxEdenRewardAprLps github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ DistributionEpochForStakers int64 `protobuf:"varint,9,opt,name=distributionEpochForStakers,proto3" json:"distributionEpochForStakers,omitempty"` DistributionEpochForLps int64 `protobuf:"varint,10,opt,name=distributionEpochForLps,proto3" json:"distributionEpochForLps,omitempty"` }
func NewMsgUpdateIncentiveParams ¶ added in v0.18.0
func NewMsgUpdateIncentiveParams(creator string, communityTax sdk.Dec, withdrawAddrEnabled bool, rewardPortionForLps sdk.Dec, rewardPortionForStakers sdk.Dec, elysStakeTrackingRate int64, maxEdenRewardAprStakers sdk.Dec, maxEdenRewardParLps sdk.Dec, distributionEpochForStakers int64, distributionEpochForLps int64) *MsgUpdateIncentiveParams
func (*MsgUpdateIncentiveParams) Descriptor ¶ added in v0.18.0
func (*MsgUpdateIncentiveParams) Descriptor() ([]byte, []int)
func (*MsgUpdateIncentiveParams) GetAuthority ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) GetAuthority() string
func (*MsgUpdateIncentiveParams) GetDistributionEpochForLps ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) GetDistributionEpochForLps() int64
func (*MsgUpdateIncentiveParams) GetDistributionEpochForStakers ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) GetDistributionEpochForStakers() int64
func (*MsgUpdateIncentiveParams) GetElysStakeTrackingRate ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) GetElysStakeTrackingRate() int64
func (*MsgUpdateIncentiveParams) GetSignBytes ¶ added in v0.18.0
func (msg *MsgUpdateIncentiveParams) GetSignBytes() []byte
func (*MsgUpdateIncentiveParams) GetSigners ¶ added in v0.18.0
func (msg *MsgUpdateIncentiveParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateIncentiveParams) GetWithdrawAddrEnabled ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) GetWithdrawAddrEnabled() bool
func (*MsgUpdateIncentiveParams) Marshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateIncentiveParams) MarshalTo ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateIncentiveParams) MarshalToSizedBuffer ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateIncentiveParams) ProtoMessage ¶ added in v0.18.0
func (*MsgUpdateIncentiveParams) ProtoMessage()
func (*MsgUpdateIncentiveParams) Reset ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) Reset()
func (*MsgUpdateIncentiveParams) Route ¶ added in v0.18.0
func (msg *MsgUpdateIncentiveParams) Route() string
func (*MsgUpdateIncentiveParams) Size ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) Size() (n int)
func (*MsgUpdateIncentiveParams) String ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) String() string
func (*MsgUpdateIncentiveParams) Type ¶ added in v0.18.0
func (msg *MsgUpdateIncentiveParams) Type() string
func (*MsgUpdateIncentiveParams) Unmarshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateIncentiveParams) ValidateBasic ¶ added in v0.18.0
func (msg *MsgUpdateIncentiveParams) ValidateBasic() error
func (*MsgUpdateIncentiveParams) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) XXX_DiscardUnknown()
func (*MsgUpdateIncentiveParams) XXX_Marshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateIncentiveParams) XXX_Merge ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) XXX_Merge(src proto.Message)
func (*MsgUpdateIncentiveParams) XXX_Size ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) XXX_Size() int
func (*MsgUpdateIncentiveParams) XXX_Unmarshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParams) XXX_Unmarshal(b []byte) error
type MsgUpdateIncentiveParamsResponse ¶ added in v0.18.0
type MsgUpdateIncentiveParamsResponse struct { }
func (*MsgUpdateIncentiveParamsResponse) Descriptor ¶ added in v0.18.0
func (*MsgUpdateIncentiveParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateIncentiveParamsResponse) Marshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateIncentiveParamsResponse) MarshalTo ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateIncentiveParamsResponse) MarshalToSizedBuffer ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateIncentiveParamsResponse) ProtoMessage ¶ added in v0.18.0
func (*MsgUpdateIncentiveParamsResponse) ProtoMessage()
func (*MsgUpdateIncentiveParamsResponse) Reset ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) Reset()
func (*MsgUpdateIncentiveParamsResponse) Size ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) Size() (n int)
func (*MsgUpdateIncentiveParamsResponse) String ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) String() string
func (*MsgUpdateIncentiveParamsResponse) Unmarshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateIncentiveParamsResponse) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateIncentiveParamsResponse) XXX_Marshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateIncentiveParamsResponse) XXX_Merge ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateIncentiveParamsResponse) XXX_Size ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) XXX_Size() int
func (*MsgUpdateIncentiveParamsResponse) XXX_Unmarshal ¶ added in v0.18.0
func (m *MsgUpdateIncentiveParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewards ¶
type MsgWithdrawRewards struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` WithdrawType types.EarnType `` /* 128-byte string literal not displayed */ }
MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.
func NewMsgWithdrawRewards ¶
func NewMsgWithdrawRewards(delAddr sdk.AccAddress, earnType commitmenttypes.EarnType) *MsgWithdrawRewards
func (*MsgWithdrawRewards) Descriptor ¶
func (*MsgWithdrawRewards) Descriptor() ([]byte, []int)
func (MsgWithdrawRewards) GetSignBytes ¶
func (msg MsgWithdrawRewards) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgWithdrawRewards) GetSigners ¶
func (msg MsgWithdrawRewards) GetSigners() []sdk.AccAddress
Return address that must sign over msg.GetSignBytes()
func (*MsgWithdrawRewards) Marshal ¶
func (m *MsgWithdrawRewards) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewards) MarshalTo ¶
func (m *MsgWithdrawRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewards) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewards) ProtoMessage ¶
func (*MsgWithdrawRewards) ProtoMessage()
func (*MsgWithdrawRewards) Reset ¶
func (m *MsgWithdrawRewards) Reset()
func (MsgWithdrawRewards) Route ¶
func (msg MsgWithdrawRewards) Route() string
func (*MsgWithdrawRewards) Size ¶
func (m *MsgWithdrawRewards) Size() (n int)
func (*MsgWithdrawRewards) String ¶
func (m *MsgWithdrawRewards) String() string
func (MsgWithdrawRewards) Type ¶
func (msg MsgWithdrawRewards) Type() string
func (*MsgWithdrawRewards) Unmarshal ¶
func (m *MsgWithdrawRewards) Unmarshal(dAtA []byte) error
func (MsgWithdrawRewards) ValidateBasic ¶
func (msg MsgWithdrawRewards) ValidateBasic() error
quick validity check
func (*MsgWithdrawRewards) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewards) XXX_DiscardUnknown()
func (*MsgWithdrawRewards) XXX_Marshal ¶
func (m *MsgWithdrawRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewards) XXX_Merge ¶
func (m *MsgWithdrawRewards) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewards) XXX_Size ¶
func (m *MsgWithdrawRewards) XXX_Size() int
func (*MsgWithdrawRewards) XXX_Unmarshal ¶
func (m *MsgWithdrawRewards) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewardsResponse ¶
type MsgWithdrawRewardsResponse struct { }
MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
func (*MsgWithdrawRewardsResponse) Descriptor ¶
func (*MsgWithdrawRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawRewardsResponse) Marshal ¶
func (m *MsgWithdrawRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewardsResponse) MarshalTo ¶
func (m *MsgWithdrawRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewardsResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewardsResponse) ProtoMessage ¶
func (*MsgWithdrawRewardsResponse) ProtoMessage()
func (*MsgWithdrawRewardsResponse) Reset ¶
func (m *MsgWithdrawRewardsResponse) Reset()
func (*MsgWithdrawRewardsResponse) Size ¶
func (m *MsgWithdrawRewardsResponse) Size() (n int)
func (*MsgWithdrawRewardsResponse) String ¶
func (m *MsgWithdrawRewardsResponse) String() string
func (*MsgWithdrawRewardsResponse) Unmarshal ¶
func (m *MsgWithdrawRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawRewardsResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewardsResponse) XXX_DiscardUnknown()
func (*MsgWithdrawRewardsResponse) XXX_Marshal ¶
func (m *MsgWithdrawRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewardsResponse) XXX_Merge ¶
func (m *MsgWithdrawRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewardsResponse) XXX_Size ¶
func (m *MsgWithdrawRewardsResponse) XXX_Size() int
func (*MsgWithdrawRewardsResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawValidatorCommission ¶
type MsgWithdrawValidatorCommission struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` }
MsgWithdrawValidatorCommission withdraws the full commission to the validator address.
func NewMsgWithdrawValidatorCommission ¶
func NewMsgWithdrawValidatorCommission(delAddr sdk.AccAddress, valAddr sdk.ValAddress) *MsgWithdrawValidatorCommission
func (*MsgWithdrawValidatorCommission) Descriptor ¶
func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int)
func (MsgWithdrawValidatorCommission) GetSignBytes ¶
func (msg MsgWithdrawValidatorCommission) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgWithdrawValidatorCommission) GetSigners ¶
func (msg MsgWithdrawValidatorCommission) GetSigners() []sdk.AccAddress
Return address that must sign over msg.GetSignBytes()
func (*MsgWithdrawValidatorCommission) Marshal ¶
func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawValidatorCommission) MarshalTo ¶
func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommission) MarshalToSizedBuffer ¶
func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommission) ProtoMessage ¶
func (*MsgWithdrawValidatorCommission) ProtoMessage()
func (*MsgWithdrawValidatorCommission) Reset ¶
func (m *MsgWithdrawValidatorCommission) Reset()
func (MsgWithdrawValidatorCommission) Route ¶
func (msg MsgWithdrawValidatorCommission) Route() string
func (*MsgWithdrawValidatorCommission) Size ¶
func (m *MsgWithdrawValidatorCommission) Size() (n int)
func (*MsgWithdrawValidatorCommission) String ¶
func (m *MsgWithdrawValidatorCommission) String() string
func (MsgWithdrawValidatorCommission) Type ¶
func (msg MsgWithdrawValidatorCommission) Type() string
func (*MsgWithdrawValidatorCommission) Unmarshal ¶
func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error
func (MsgWithdrawValidatorCommission) ValidateBasic ¶
func (msg MsgWithdrawValidatorCommission) ValidateBasic() error
quick validity check
func (*MsgWithdrawValidatorCommission) XXX_DiscardUnknown ¶
func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown()
func (*MsgWithdrawValidatorCommission) XXX_Marshal ¶
func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawValidatorCommission) XXX_Merge ¶
func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message)
func (*MsgWithdrawValidatorCommission) XXX_Size ¶
func (m *MsgWithdrawValidatorCommission) XXX_Size() int
func (*MsgWithdrawValidatorCommission) XXX_Unmarshal ¶
func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error
type MsgWithdrawValidatorCommissionResponse ¶
type MsgWithdrawValidatorCommissionResponse struct { }
MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
func (*MsgWithdrawValidatorCommissionResponse) Descriptor ¶
func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawValidatorCommissionResponse) Marshal ¶
func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawValidatorCommissionResponse) MarshalTo ¶
func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage ¶
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
func (*MsgWithdrawValidatorCommissionResponse) Reset ¶
func (m *MsgWithdrawValidatorCommissionResponse) Reset()
func (*MsgWithdrawValidatorCommissionResponse) Size ¶
func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int)
func (*MsgWithdrawValidatorCommissionResponse) String ¶
func (m *MsgWithdrawValidatorCommissionResponse) String() string
func (*MsgWithdrawValidatorCommissionResponse) Unmarshal ¶
func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown()
func (*MsgWithdrawValidatorCommissionResponse) XXX_Marshal ¶
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawValidatorCommissionResponse) XXX_Merge ¶
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawValidatorCommissionResponse) XXX_Size ¶
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int
func (*MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
type OracleKeeper ¶
type OracleKeeper interface { GetAssetPrice(ctx sdk.Context, asset string) (oracletypes.Price, bool) GetAssetPriceFromDenom(ctx sdk.Context, denom string) sdk.Dec GetPriceFeeder(ctx sdk.Context, feeder string) (val oracletypes.PriceFeeder, found bool) }
OracleKeeper defines the expected interface needed to retrieve price info
type Params ¶
type Params struct { LpIncentives []IncentiveInfo `protobuf:"bytes,1,rep,name=lp_incentives,json=lpIncentives,proto3" json:"lp_incentives"` StakeIncentives []IncentiveInfo `protobuf:"bytes,2,rep,name=stake_incentives,json=stakeIncentives,proto3" json:"stake_incentives"` CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ WithdrawAddrEnabled bool `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty"` // Dex revenue percent for lps, 100 - reward_portion_for_lps - reward_portion_for_stakers = revenue percent for protocol. RewardPortionForLps github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */ // Dex revenue percent for lps, 100 - reward_portion_for_lps - reward_portion_for_stakers = revenue percent for protocol. RewardPortionForStakers github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */ // Pool information // poolId, reward wallet, mulitplier, dex rewards given PoolInfos []PoolInfo `protobuf:"bytes,7,rep,name=pool_infos,json=poolInfos,proto3" json:"pool_infos"` ElysStakeTrackingRate int64 `` /* 129-byte string literal not displayed */ // Tracking dex rewards given to stakers DexRewardsStakers DexRewardsTracker `protobuf:"bytes,9,opt,name=dex_rewards_stakers,json=dexRewardsStakers,proto3" json:"dex_rewards_stakers"` // Tracking dex rewards given to LPs DexRewardsLps DexRewardsTracker `protobuf:"bytes,10,opt,name=dex_rewards_lps,json=dexRewardsLps,proto3" json:"dex_rewards_lps"` // Maximum eden reward apr for stakers MaxEdenRewardAprStakers github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */ // Maximum eden reward apr for lps MaxEdenRewardAprLps github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */ // Distribution epochs for stakers in blocks DistributionEpochForStakersInBlocks int64 `` /* 176-byte string literal not displayed */ // Distribution epochs for LPs in blocks DistributionEpochForLpsInBlocks int64 `` /* 164-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( lpIncentives []IncentiveInfo, stkIncentives []IncentiveInfo, communityTax sdk.Dec, withdrawAddrEnabled bool, rewardPortionForLps sdk.Dec, rewardPortionForStakers sdk.Dec, poolInfos []PoolInfo, elysStakeTrackingRate int64, dexRewardsStakers DexRewardsTracker, dexRewardsLps DexRewardsTracker, maxEdenRewardAprStakers sdk.Dec, maxEdenRewardAprLps sdk.Dec, distributionEpochForStakersInBlocks int64, distributionEpochForLPsInBlocks int64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetDexRewardsLps ¶ added in v0.17.0
func (m *Params) GetDexRewardsLps() DexRewardsTracker
func (*Params) GetDexRewardsStakers ¶ added in v0.17.0
func (m *Params) GetDexRewardsStakers() DexRewardsTracker
func (*Params) GetDistributionEpochForLpsInBlocks ¶ added in v0.18.0
func (*Params) GetDistributionEpochForStakersInBlocks ¶ added in v0.18.0
func (*Params) GetElysStakeTrackingRate ¶ added in v0.12.0
func (*Params) GetLpIncentives ¶
func (m *Params) GetLpIncentives() []IncentiveInfo
func (*Params) GetPoolInfos ¶
func (*Params) GetStakeIncentives ¶
func (m *Params) GetStakeIncentives() []IncentiveInfo
func (*Params) GetWithdrawAddrEnabled ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
ValidateBasic performs basic validation on distribution parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PoolInfo ¶
type PoolInfo struct { // reward amount PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // reward wallet address RewardWallet string `protobuf:"bytes,2,opt,name=reward_wallet,json=rewardWallet,proto3" json:"reward_wallet,omitempty"` // multiplier for lp rewards Multiplier github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"` // Block number since creation NumBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */ // Total dex rewards given DexRewardAmountGiven github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */ // Total eden rewards given EdenRewardAmountGiven github_com_cosmos_cosmos_sdk_types.Int `` /* 168-byte string literal not displayed */ // Eden APR EdenApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=eden_apr,json=edenApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"eden_apr"` // Dex APR DexApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=dex_apr,json=dexApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"dex_apr"` }
Pool Info
func (*PoolInfo) Descriptor ¶
func (*PoolInfo) GetRewardWallet ¶
func (*PoolInfo) MarshalToSizedBuffer ¶
func (*PoolInfo) ProtoMessage ¶
func (*PoolInfo) ProtoMessage()
func (*PoolInfo) XXX_DiscardUnknown ¶
func (m *PoolInfo) XXX_DiscardUnknown()
func (*PoolInfo) XXX_Marshal ¶
func (*PoolInfo) XXX_Unmarshal ¶
type PoolMultipliers ¶
type PoolMultipliers struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Multiplier github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"` }
func (*PoolMultipliers) Descriptor ¶
func (*PoolMultipliers) Descriptor() ([]byte, []int)
func (*PoolMultipliers) GetPoolId ¶
func (m *PoolMultipliers) GetPoolId() uint64
func (*PoolMultipliers) Marshal ¶
func (m *PoolMultipliers) Marshal() (dAtA []byte, err error)
func (*PoolMultipliers) MarshalToSizedBuffer ¶
func (m *PoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolMultipliers) ProtoMessage ¶
func (*PoolMultipliers) ProtoMessage()
func (*PoolMultipliers) Reset ¶
func (m *PoolMultipliers) Reset()
func (*PoolMultipliers) Size ¶
func (m *PoolMultipliers) Size() (n int)
func (*PoolMultipliers) String ¶
func (m *PoolMultipliers) String() string
func (*PoolMultipliers) Unmarshal ¶
func (m *PoolMultipliers) Unmarshal(dAtA []byte) error
func (*PoolMultipliers) XXX_DiscardUnknown ¶
func (m *PoolMultipliers) XXX_DiscardUnknown()
func (*PoolMultipliers) XXX_Marshal ¶
func (m *PoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolMultipliers) XXX_Merge ¶
func (m *PoolMultipliers) XXX_Merge(src proto.Message)
func (*PoolMultipliers) XXX_Size ¶
func (m *PoolMultipliers) XXX_Size() int
func (*PoolMultipliers) XXX_Unmarshal ¶
func (m *PoolMultipliers) XXX_Unmarshal(b []byte) error
type ProposalUpdatePoolMultipliers ¶
type ProposalUpdatePoolMultipliers struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` PoolMultipliers []PoolMultipliers `protobuf:"bytes,3,rep,name=pool_multipliers,json=poolMultipliers,proto3" json:"pool_multipliers"` }
func (*ProposalUpdatePoolMultipliers) Descriptor ¶
func (*ProposalUpdatePoolMultipliers) Descriptor() ([]byte, []int)
func (*ProposalUpdatePoolMultipliers) GetDescription ¶
func (m *ProposalUpdatePoolMultipliers) GetDescription() string
func (*ProposalUpdatePoolMultipliers) GetPoolMultipliers ¶
func (m *ProposalUpdatePoolMultipliers) GetPoolMultipliers() []PoolMultipliers
func (*ProposalUpdatePoolMultipliers) GetTitle ¶
func (m *ProposalUpdatePoolMultipliers) GetTitle() string
func (*ProposalUpdatePoolMultipliers) Marshal ¶
func (m *ProposalUpdatePoolMultipliers) Marshal() (dAtA []byte, err error)
func (*ProposalUpdatePoolMultipliers) MarshalTo ¶
func (m *ProposalUpdatePoolMultipliers) MarshalTo(dAtA []byte) (int, error)
func (*ProposalUpdatePoolMultipliers) MarshalToSizedBuffer ¶
func (m *ProposalUpdatePoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalUpdatePoolMultipliers) ProposalRoute ¶
func (sup *ProposalUpdatePoolMultipliers) ProposalRoute() string
ProposalRoute gets the proposal's router key
func (*ProposalUpdatePoolMultipliers) ProposalType ¶
func (sup *ProposalUpdatePoolMultipliers) ProposalType() string
ProposalType is "SoftwareUpgrade"
func (*ProposalUpdatePoolMultipliers) ProtoMessage ¶
func (*ProposalUpdatePoolMultipliers) ProtoMessage()
func (*ProposalUpdatePoolMultipliers) Reset ¶
func (m *ProposalUpdatePoolMultipliers) Reset()
func (*ProposalUpdatePoolMultipliers) Size ¶
func (m *ProposalUpdatePoolMultipliers) Size() (n int)
func (*ProposalUpdatePoolMultipliers) String ¶
func (m *ProposalUpdatePoolMultipliers) String() string
func (*ProposalUpdatePoolMultipliers) Unmarshal ¶
func (m *ProposalUpdatePoolMultipliers) Unmarshal(dAtA []byte) error
func (*ProposalUpdatePoolMultipliers) ValidateBasic ¶
func (sup *ProposalUpdatePoolMultipliers) ValidateBasic() error
ValidateBasic validates the proposal
func (*ProposalUpdatePoolMultipliers) XXX_DiscardUnknown ¶
func (m *ProposalUpdatePoolMultipliers) XXX_DiscardUnknown()
func (*ProposalUpdatePoolMultipliers) XXX_Marshal ¶
func (m *ProposalUpdatePoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalUpdatePoolMultipliers) XXX_Merge ¶
func (m *ProposalUpdatePoolMultipliers) XXX_Merge(src proto.Message)
func (*ProposalUpdatePoolMultipliers) XXX_Size ¶
func (m *ProposalUpdatePoolMultipliers) XXX_Size() int
func (*ProposalUpdatePoolMultipliers) XXX_Unmarshal ¶
func (m *ProposalUpdatePoolMultipliers) XXX_Unmarshal(b []byte) error
type QueryAprRequest ¶ added in v0.17.0
type QueryAprRequest struct { WithdrawType types1.EarnType `` /* 128-byte string literal not displayed */ Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*QueryAprRequest) Descriptor ¶ added in v0.17.0
func (*QueryAprRequest) Descriptor() ([]byte, []int)
func (*QueryAprRequest) GetDenom ¶ added in v0.17.0
func (m *QueryAprRequest) GetDenom() string
func (*QueryAprRequest) GetWithdrawType ¶ added in v0.17.0
func (m *QueryAprRequest) GetWithdrawType() types1.EarnType
func (*QueryAprRequest) Marshal ¶ added in v0.17.0
func (m *QueryAprRequest) Marshal() (dAtA []byte, err error)
func (*QueryAprRequest) MarshalTo ¶ added in v0.17.0
func (m *QueryAprRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprRequest) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *QueryAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprRequest) ProtoMessage ¶ added in v0.17.0
func (*QueryAprRequest) ProtoMessage()
func (*QueryAprRequest) Reset ¶ added in v0.17.0
func (m *QueryAprRequest) Reset()
func (*QueryAprRequest) Size ¶ added in v0.17.0
func (m *QueryAprRequest) Size() (n int)
func (*QueryAprRequest) String ¶ added in v0.17.0
func (m *QueryAprRequest) String() string
func (*QueryAprRequest) Unmarshal ¶ added in v0.17.0
func (m *QueryAprRequest) Unmarshal(dAtA []byte) error
func (*QueryAprRequest) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *QueryAprRequest) XXX_DiscardUnknown()
func (*QueryAprRequest) XXX_Marshal ¶ added in v0.17.0
func (m *QueryAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprRequest) XXX_Merge ¶ added in v0.17.0
func (m *QueryAprRequest) XXX_Merge(src proto.Message)
func (*QueryAprRequest) XXX_Size ¶ added in v0.17.0
func (m *QueryAprRequest) XXX_Size() int
func (*QueryAprRequest) XXX_Unmarshal ¶ added in v0.17.0
func (m *QueryAprRequest) XXX_Unmarshal(b []byte) error
type QueryAprResponse ¶ added in v0.17.0
type QueryAprResponse struct {
Apr github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=apr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"apr"`
}
func (*QueryAprResponse) Descriptor ¶ added in v0.17.0
func (*QueryAprResponse) Descriptor() ([]byte, []int)
func (*QueryAprResponse) Marshal ¶ added in v0.17.0
func (m *QueryAprResponse) Marshal() (dAtA []byte, err error)
func (*QueryAprResponse) MarshalTo ¶ added in v0.17.0
func (m *QueryAprResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprResponse) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *QueryAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprResponse) ProtoMessage ¶ added in v0.17.0
func (*QueryAprResponse) ProtoMessage()
func (*QueryAprResponse) Reset ¶ added in v0.17.0
func (m *QueryAprResponse) Reset()
func (*QueryAprResponse) Size ¶ added in v0.17.0
func (m *QueryAprResponse) Size() (n int)
func (*QueryAprResponse) String ¶ added in v0.17.0
func (m *QueryAprResponse) String() string
func (*QueryAprResponse) Unmarshal ¶ added in v0.17.0
func (m *QueryAprResponse) Unmarshal(dAtA []byte) error
func (*QueryAprResponse) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *QueryAprResponse) XXX_DiscardUnknown()
func (*QueryAprResponse) XXX_Marshal ¶ added in v0.17.0
func (m *QueryAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprResponse) XXX_Merge ¶ added in v0.17.0
func (m *QueryAprResponse) XXX_Merge(src proto.Message)
func (*QueryAprResponse) XXX_Size ¶ added in v0.17.0
func (m *QueryAprResponse) XXX_Size() int
func (*QueryAprResponse) XXX_Unmarshal ¶ added in v0.17.0
func (m *QueryAprResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of CommunityPool items. CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, 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 QueryCommunityPoolRequest ¶
type QueryCommunityPoolRequest struct { }
func (*QueryCommunityPoolRequest) Descriptor ¶
func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolRequest) Marshal ¶
func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolRequest) MarshalTo ¶
func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) ProtoMessage ¶
func (*QueryCommunityPoolRequest) ProtoMessage()
func (*QueryCommunityPoolRequest) Reset ¶
func (m *QueryCommunityPoolRequest) Reset()
func (*QueryCommunityPoolRequest) Size ¶
func (m *QueryCommunityPoolRequest) Size() (n int)
func (*QueryCommunityPoolRequest) String ¶
func (m *QueryCommunityPoolRequest) String() string
func (*QueryCommunityPoolRequest) Unmarshal ¶
func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
func (*QueryCommunityPoolRequest) XXX_Marshal ¶
func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolRequest) XXX_Merge ¶
func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolRequest) XXX_Size ¶
func (m *QueryCommunityPoolRequest) XXX_Size() int
func (*QueryCommunityPoolRequest) XXX_Unmarshal ¶
func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
type QueryCommunityPoolResponse ¶
type QueryCommunityPoolResponse struct { // pool defines community pool's coins. Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"pool"` }
func (*QueryCommunityPoolResponse) Descriptor ¶
func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolResponse) GetPool ¶
func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryCommunityPoolResponse) Marshal ¶
func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolResponse) MarshalTo ¶
func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) ProtoMessage ¶
func (*QueryCommunityPoolResponse) ProtoMessage()
func (*QueryCommunityPoolResponse) Reset ¶
func (m *QueryCommunityPoolResponse) Reset()
func (*QueryCommunityPoolResponse) Size ¶
func (m *QueryCommunityPoolResponse) Size() (n int)
func (*QueryCommunityPoolResponse) String ¶
func (m *QueryCommunityPoolResponse) String() string
func (*QueryCommunityPoolResponse) Unmarshal ¶
func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
func (*QueryCommunityPoolResponse) XXX_Marshal ¶
func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolResponse) XXX_Merge ¶
func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolResponse) XXX_Size ¶
func (m *QueryCommunityPoolResponse) XXX_Size() int
func (*QueryCommunityPoolResponse) XXX_Unmarshal ¶
func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of CommunityPool items. CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error) }
QueryServer is the server API for Query service.
type StableStakeKeeper ¶ added in v0.17.0
type StableStakeKeeper interface {
GetParams(ctx sdk.Context) (params stabletypes.Params)
}
StableStakeKeeper defines the expected epochs keeper used for simulations (noalias)
type StakingKeeper ¶
type StakingKeeper interface { TotalBondedTokens(sdk.Context) sdk.Int // total bonded tokens within the validator set // iterate through all delegations from one delegator by validator-AccAddress, // execute func for each validator IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) // get a particular validator by operator address Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI // GetDelegatorDelegations returns a given amount of all the delegations from a delegator. GetDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation) // get a particular validator by consensus address ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI // Delegation allows for getting a particular delegation for a given validator // and delegator outside the scope of the staking module. Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI }
Staking keeper
type TokenomicsKeeper ¶ added in v0.18.0
type TokenomicsKeeper interface {
GetAllTimeBasedInflation(ctx sdk.Context) (list []tokenomictypes.TimeBasedInflation)
}
TokenomicsKeeper defines the expected tokenomics keeper used for simulations (noalias)
type TotalCommitmentInfo ¶
type TotalCommitmentInfo struct { // Total Elys staked TotalElysBonded sdk.Int // Total Eden + Eden boost committed TotalEdenEdenBoostCommitted sdk.Int // Gas fees collected and DEX revenus TotalFeesCollected sdk.Coins // Total Lp Token committed TotalLpTokensCommitted map[string]sdk.Int // Revenue tracking per pool, key => (poolId) PoolRevenueTrack map[string]sdk.Dec }
TotalCommitmentInfo Stores the
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) UpdateIncentiveParams ¶ added in v0.18.0
func (*UnimplementedMsgServer) UpdateIncentiveParams(ctx context.Context, req *MsgUpdateIncentiveParams) (*MsgUpdateIncentiveParamsResponse, error)
func (*UnimplementedMsgServer) WithdrawRewards ¶
func (*UnimplementedMsgServer) WithdrawRewards(ctx context.Context, req *MsgWithdrawRewards) (*MsgWithdrawRewardsResponse, error)
func (*UnimplementedMsgServer) WithdrawValidatorCommission ¶
func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CommunityPool ¶
func (*UnimplementedQueryServer) CommunityPool(ctx context.Context, req *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- apr.pb.go
- codec.go
- dex_rewards_traker.pb.go
- distribution.pb.go
- elys_staked.pb.go
- errors.go
- events.go
- expected_keepers.go
- feel_pool.go
- genesis.go
- genesis.pb.go
- incentive.pb.go
- keys.go
- message_update_incentive_params.go
- msg.go
- params.go
- params.pb.go
- pool.pb.go
- proposal.go
- proposal.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go