Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetExternalIncentiveKey(incentiveId uint64) []byte
- func GetFeeInfoKey(timestamp string) []byte
- func GetPoolInfoKey(poolId uint64) []byte
- func GetPoolRewardInfoKey(poolId uint64, rewardDenom string) []byte
- func GetPoolRewardsAccumKey(poolId uint64, timestamp uint64) []byte
- func GetPoolRewardsAccumPrefix(poolId uint64) []byte
- func GetUserRewardInfoKey(user sdk.AccAddress, poolId uint64, rewardDenom string) []byte
- func KeyPrefix(p string) []byte
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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 AssetProfileKeeper
- type BankKeeper
- type CommitmentKeeper
- type ExternalIncentive
- func (*ExternalIncentive) Descriptor() ([]byte, []int)
- func (m *ExternalIncentive) GetFromBlock() int64
- func (m *ExternalIncentive) GetId() uint64
- func (m *ExternalIncentive) GetPoolId() uint64
- func (m *ExternalIncentive) GetRewardDenom() string
- func (m *ExternalIncentive) GetToBlock() int64
- func (m *ExternalIncentive) Marshal() (dAtA []byte, err error)
- func (m *ExternalIncentive) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalIncentive) ProtoMessage()
- func (m *ExternalIncentive) Reset()
- func (m *ExternalIncentive) Size() (n int)
- func (m *ExternalIncentive) String() string
- func (m *ExternalIncentive) Unmarshal(dAtA []byte) error
- func (m *ExternalIncentive) XXX_DiscardUnknown()
- func (m *ExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalIncentive) XXX_Merge(src proto.Message)
- func (m *ExternalIncentive) XXX_Size() int
- func (m *ExternalIncentive) XXX_Unmarshal(b []byte) error
- type FeeInfo
- func (*FeeInfo) Descriptor() ([]byte, []int)
- func (m *FeeInfo) Marshal() (dAtA []byte, err error)
- func (m *FeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeInfo) ProtoMessage()
- func (m *FeeInfo) Reset()
- func (m *FeeInfo) Size() (n int)
- func (m *FeeInfo) String() string
- func (m *FeeInfo) Unmarshal(dAtA []byte) error
- func (m *FeeInfo) XXX_DiscardUnknown()
- func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeInfo) XXX_Merge(src proto.Message)
- func (m *FeeInfo) XXX_Size() int
- func (m *FeeInfo) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetExternalIncentiveIndex() uint64
- func (m *GenesisState) GetExternalIncentives() []ExternalIncentive
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPoolInfos() []PoolInfo
- func (m *GenesisState) GetPoolRewardInfos() []PoolRewardInfo
- func (m *GenesisState) GetPoolRewardsAccum() []PoolRewardsAccum
- func (m *GenesisState) GetUserRewardInfos() []UserRewardInfo
- 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) GetBlocksDistributed() int64
- 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 LegacyIncentiveInfo
- func (*LegacyIncentiveInfo) Descriptor() ([]byte, []int)
- func (m *LegacyIncentiveInfo) Marshal() (dAtA []byte, err error)
- func (m *LegacyIncentiveInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyIncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyIncentiveInfo) ProtoMessage()
- func (m *LegacyIncentiveInfo) Reset()
- func (m *LegacyIncentiveInfo) Size() (n int)
- func (m *LegacyIncentiveInfo) String() string
- func (m *LegacyIncentiveInfo) Unmarshal(dAtA []byte) error
- func (m *LegacyIncentiveInfo) XXX_DiscardUnknown()
- func (m *LegacyIncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyIncentiveInfo) XXX_Merge(src proto.Message)
- func (m *LegacyIncentiveInfo) XXX_Size() int
- func (m *LegacyIncentiveInfo) XXX_Unmarshal(b []byte) error
- type LegacyParams
- func (*LegacyParams) Descriptor() ([]byte, []int)
- func (m *LegacyParams) GetLpIncentives() *LegacyIncentiveInfo
- func (m *LegacyParams) GetProtocolRevenueAddress() string
- func (m *LegacyParams) GetSupportedRewardDenoms() []*SupportedRewardDenom
- func (m *LegacyParams) Marshal() (dAtA []byte, err error)
- func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyParams) ProtoMessage()
- func (m *LegacyParams) Reset()
- func (m *LegacyParams) Size() (n int)
- func (p LegacyParams) String() string
- func (m *LegacyParams) Unmarshal(dAtA []byte) error
- func (m *LegacyParams) XXX_DiscardUnknown()
- func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyParams) XXX_Merge(src proto.Message)
- func (m *LegacyParams) XXX_Size() int
- func (m *LegacyParams) XXX_Unmarshal(b []byte) error
- type LegacyPoolInfo
- func (*LegacyPoolInfo) Descriptor() ([]byte, []int)
- func (m *LegacyPoolInfo) GetExternalRewardDenoms() []string
- func (m *LegacyPoolInfo) GetPoolId() uint64
- func (m *LegacyPoolInfo) GetRewardWallet() string
- func (m *LegacyPoolInfo) Marshal() (dAtA []byte, err error)
- func (m *LegacyPoolInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyPoolInfo) ProtoMessage()
- func (m *LegacyPoolInfo) Reset()
- func (m *LegacyPoolInfo) Size() (n int)
- func (m *LegacyPoolInfo) String() string
- func (m *LegacyPoolInfo) Unmarshal(dAtA []byte) error
- func (m *LegacyPoolInfo) XXX_DiscardUnknown()
- func (m *LegacyPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyPoolInfo) XXX_Merge(src proto.Message)
- func (m *LegacyPoolInfo) XXX_Size() int
- func (m *LegacyPoolInfo) XXX_Unmarshal(b []byte) error
- type MsgAddExternalIncentive
- func (*MsgAddExternalIncentive) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalIncentive) GetFromBlock() int64
- func (m *MsgAddExternalIncentive) GetPoolId() uint64
- func (m *MsgAddExternalIncentive) GetRewardDenom() string
- func (m *MsgAddExternalIncentive) GetSender() string
- func (m *MsgAddExternalIncentive) GetToBlock() int64
- func (m *MsgAddExternalIncentive) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalIncentive) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalIncentive) ProtoMessage()
- func (m *MsgAddExternalIncentive) Reset()
- func (m *MsgAddExternalIncentive) Size() (n int)
- func (m *MsgAddExternalIncentive) String() string
- func (m *MsgAddExternalIncentive) Unmarshal(dAtA []byte) error
- func (msg *MsgAddExternalIncentive) ValidateBasic() error
- func (m *MsgAddExternalIncentive) XXX_DiscardUnknown()
- func (m *MsgAddExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalIncentive) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalIncentive) XXX_Size() int
- func (m *MsgAddExternalIncentive) XXX_Unmarshal(b []byte) error
- type MsgAddExternalIncentiveResponse
- func (*MsgAddExternalIncentiveResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalIncentiveResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalIncentiveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalIncentiveResponse) ProtoMessage()
- func (m *MsgAddExternalIncentiveResponse) Reset()
- func (m *MsgAddExternalIncentiveResponse) Size() (n int)
- func (m *MsgAddExternalIncentiveResponse) String() string
- func (m *MsgAddExternalIncentiveResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddExternalIncentiveResponse) XXX_DiscardUnknown()
- func (m *MsgAddExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalIncentiveResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalIncentiveResponse) XXX_Size() int
- func (m *MsgAddExternalIncentiveResponse) XXX_Unmarshal(b []byte) error
- type MsgAddExternalRewardDenom
- func (*MsgAddExternalRewardDenom) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalRewardDenom) GetAuthority() string
- func (m *MsgAddExternalRewardDenom) GetRewardDenom() string
- func (m *MsgAddExternalRewardDenom) GetSupported() bool
- func (m *MsgAddExternalRewardDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalRewardDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalRewardDenom) ProtoMessage()
- func (m *MsgAddExternalRewardDenom) Reset()
- func (m *MsgAddExternalRewardDenom) Size() (n int)
- func (m *MsgAddExternalRewardDenom) String() string
- func (m *MsgAddExternalRewardDenom) Unmarshal(dAtA []byte) error
- func (msg *MsgAddExternalRewardDenom) ValidateBasic() error
- func (m *MsgAddExternalRewardDenom) XXX_DiscardUnknown()
- func (m *MsgAddExternalRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalRewardDenom) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalRewardDenom) XXX_Size() int
- func (m *MsgAddExternalRewardDenom) XXX_Unmarshal(b []byte) error
- type MsgAddExternalRewardDenomResponse
- func (*MsgAddExternalRewardDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalRewardDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalRewardDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalRewardDenomResponse) ProtoMessage()
- func (m *MsgAddExternalRewardDenomResponse) Reset()
- func (m *MsgAddExternalRewardDenomResponse) Size() (n int)
- func (m *MsgAddExternalRewardDenomResponse) String() string
- func (m *MsgAddExternalRewardDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddExternalRewardDenomResponse) XXX_DiscardUnknown()
- func (m *MsgAddExternalRewardDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalRewardDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalRewardDenomResponse) XXX_Size() int
- func (m *MsgAddExternalRewardDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimRewards
- func (*MsgClaimRewards) Descriptor() ([]byte, []int)
- func (m *MsgClaimRewards) GetPoolIds() []uint64
- func (m *MsgClaimRewards) GetSender() string
- func (m *MsgClaimRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimRewards) ProtoMessage()
- func (m *MsgClaimRewards) Reset()
- func (m *MsgClaimRewards) Size() (n int)
- func (m *MsgClaimRewards) String() string
- func (m *MsgClaimRewards) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimRewards) ValidateBasic() error
- func (m *MsgClaimRewards) XXX_DiscardUnknown()
- func (m *MsgClaimRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimRewards) XXX_Merge(src proto.Message)
- func (m *MsgClaimRewards) XXX_Size() int
- func (m *MsgClaimRewards) XXX_Unmarshal(b []byte) error
- type MsgClaimRewardsResponse
- func (*MsgClaimRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimRewardsResponse) ProtoMessage()
- func (m *MsgClaimRewardsResponse) Reset()
- func (m *MsgClaimRewardsResponse) Size() (n int)
- func (m *MsgClaimRewardsResponse) String() string
- func (m *MsgClaimRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgClaimRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimRewardsResponse) XXX_Size() int
- func (m *MsgClaimRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgTogglePoolEdenRewards
- func (*MsgTogglePoolEdenRewards) Descriptor() ([]byte, []int)
- func (m *MsgTogglePoolEdenRewards) GetAuthority() string
- func (m *MsgTogglePoolEdenRewards) GetEnable() bool
- func (m *MsgTogglePoolEdenRewards) GetPoolId() uint64
- func (m *MsgTogglePoolEdenRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgTogglePoolEdenRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTogglePoolEdenRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTogglePoolEdenRewards) ProtoMessage()
- func (m *MsgTogglePoolEdenRewards) Reset()
- func (m *MsgTogglePoolEdenRewards) Size() (n int)
- func (m *MsgTogglePoolEdenRewards) String() string
- func (m *MsgTogglePoolEdenRewards) Unmarshal(dAtA []byte) error
- func (msg *MsgTogglePoolEdenRewards) ValidateBasic() error
- func (m *MsgTogglePoolEdenRewards) XXX_DiscardUnknown()
- func (m *MsgTogglePoolEdenRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTogglePoolEdenRewards) XXX_Merge(src proto.Message)
- func (m *MsgTogglePoolEdenRewards) XXX_Size() int
- func (m *MsgTogglePoolEdenRewards) XXX_Unmarshal(b []byte) error
- type MsgTogglePoolEdenRewardsResponse
- func (*MsgTogglePoolEdenRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgTogglePoolEdenRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTogglePoolEdenRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTogglePoolEdenRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTogglePoolEdenRewardsResponse) ProtoMessage()
- func (m *MsgTogglePoolEdenRewardsResponse) Reset()
- func (m *MsgTogglePoolEdenRewardsResponse) Size() (n int)
- func (m *MsgTogglePoolEdenRewardsResponse) String() string
- func (m *MsgTogglePoolEdenRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTogglePoolEdenRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgTogglePoolEdenRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTogglePoolEdenRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgTogglePoolEdenRewardsResponse) XXX_Size() int
- func (m *MsgTogglePoolEdenRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePoolMultipliers
- func (*MsgUpdatePoolMultipliers) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePoolMultipliers) GetAuthority() string
- func (m *MsgUpdatePoolMultipliers) GetPoolMultipliers() []PoolMultiplier
- func (m *MsgUpdatePoolMultipliers) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePoolMultipliers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePoolMultipliers) ProtoMessage()
- func (m *MsgUpdatePoolMultipliers) Reset()
- func (m *MsgUpdatePoolMultipliers) Size() (n int)
- func (m *MsgUpdatePoolMultipliers) String() string
- func (m *MsgUpdatePoolMultipliers) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdatePoolMultipliers) ValidateBasic() error
- func (m *MsgUpdatePoolMultipliers) XXX_DiscardUnknown()
- func (m *MsgUpdatePoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePoolMultipliers) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePoolMultipliers) XXX_Size() int
- func (m *MsgUpdatePoolMultipliers) XXX_Unmarshal(b []byte) error
- type MsgUpdatePoolMultipliersResponse
- func (*MsgUpdatePoolMultipliersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePoolMultipliersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePoolMultipliersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePoolMultipliersResponse) ProtoMessage()
- func (m *MsgUpdatePoolMultipliersResponse) Reset()
- func (m *MsgUpdatePoolMultipliersResponse) Size() (n int)
- func (m *MsgUpdatePoolMultipliersResponse) String() string
- func (m *MsgUpdatePoolMultipliersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePoolMultipliersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdatePoolMultipliersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePoolMultipliersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePoolMultipliersResponse) XXX_Size() int
- func (m *MsgUpdatePoolMultipliersResponse) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type ParameterKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetLpIncentives() *IncentiveInfo
- func (m *Params) GetProtocolRevenueAddress() string
- func (m *Params) GetSupportedRewardDenoms() []*SupportedRewardDenom
- 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 PoolApr
- func (*PoolApr) Descriptor() ([]byte, []int)
- func (m *PoolApr) GetPoolId() uint64
- func (m *PoolApr) Marshal() (dAtA []byte, err error)
- func (m *PoolApr) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolApr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolApr) ProtoMessage()
- func (m *PoolApr) Reset()
- func (m *PoolApr) Size() (n int)
- func (m *PoolApr) String() string
- func (m *PoolApr) Unmarshal(dAtA []byte) error
- func (m *PoolApr) XXX_DiscardUnknown()
- func (m *PoolApr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolApr) XXX_Merge(src proto.Message)
- func (m *PoolApr) XXX_Size() int
- func (m *PoolApr) XXX_Unmarshal(b []byte) error
- type PoolInfo
- func (*PoolInfo) Descriptor() ([]byte, []int)
- func (m *PoolInfo) GetEnableEdenRewards() bool
- func (m *PoolInfo) GetExternalRewardDenoms() []string
- 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 PoolMultiplier
- func (*PoolMultiplier) Descriptor() ([]byte, []int)
- func (m *PoolMultiplier) GetPoolId() uint64
- func (m *PoolMultiplier) Marshal() (dAtA []byte, err error)
- func (m *PoolMultiplier) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolMultiplier) ProtoMessage()
- func (m *PoolMultiplier) Reset()
- func (m *PoolMultiplier) Size() (n int)
- func (m *PoolMultiplier) String() string
- func (m *PoolMultiplier) Unmarshal(dAtA []byte) error
- func (m *PoolMultiplier) XXX_DiscardUnknown()
- func (m *PoolMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolMultiplier) XXX_Merge(src proto.Message)
- func (m *PoolMultiplier) XXX_Size() int
- func (m *PoolMultiplier) XXX_Unmarshal(b []byte) error
- type PoolRewardInfo
- func (*PoolRewardInfo) Descriptor() ([]byte, []int)
- func (m *PoolRewardInfo) GetLastUpdatedBlock() uint64
- func (m *PoolRewardInfo) GetPoolId() uint64
- func (m *PoolRewardInfo) GetRewardDenom() string
- func (m *PoolRewardInfo) Marshal() (dAtA []byte, err error)
- func (m *PoolRewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolRewardInfo) ProtoMessage()
- func (m *PoolRewardInfo) Reset()
- func (m *PoolRewardInfo) Size() (n int)
- func (m *PoolRewardInfo) String() string
- func (m *PoolRewardInfo) Unmarshal(dAtA []byte) error
- func (m *PoolRewardInfo) XXX_DiscardUnknown()
- func (m *PoolRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolRewardInfo) XXX_Merge(src proto.Message)
- func (m *PoolRewardInfo) XXX_Size() int
- func (m *PoolRewardInfo) XXX_Unmarshal(b []byte) error
- type PoolRewards
- func (*PoolRewards) Descriptor() ([]byte, []int)
- func (m *PoolRewards) GetEdenForward() types.Coin
- func (m *PoolRewards) GetPoolId() uint64
- func (m *PoolRewards) GetRewardCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *PoolRewards) Marshal() (dAtA []byte, err error)
- func (m *PoolRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolRewards) ProtoMessage()
- func (m *PoolRewards) Reset()
- func (m *PoolRewards) Size() (n int)
- func (m *PoolRewards) String() string
- func (m *PoolRewards) Unmarshal(dAtA []byte) error
- func (m *PoolRewards) XXX_DiscardUnknown()
- func (m *PoolRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolRewards) XXX_Merge(src proto.Message)
- func (m *PoolRewards) XXX_Size() int
- func (m *PoolRewards) XXX_Unmarshal(b []byte) error
- type PoolRewardsAccum
- func (*PoolRewardsAccum) Descriptor() ([]byte, []int)
- func (m *PoolRewardsAccum) GetBlockHeight() int64
- func (m *PoolRewardsAccum) GetPoolId() uint64
- func (m *PoolRewardsAccum) GetTimestamp() uint64
- func (m *PoolRewardsAccum) Marshal() (dAtA []byte, err error)
- func (m *PoolRewardsAccum) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolRewardsAccum) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolRewardsAccum) ProtoMessage()
- func (m *PoolRewardsAccum) Reset()
- func (m *PoolRewardsAccum) Size() (n int)
- func (m *PoolRewardsAccum) String() string
- func (m *PoolRewardsAccum) Unmarshal(dAtA []byte) error
- func (m *PoolRewardsAccum) XXX_DiscardUnknown()
- func (m *PoolRewardsAccum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolRewardsAccum) XXX_Merge(src proto.Message)
- func (m *PoolRewardsAccum) XXX_Size() int
- func (m *PoolRewardsAccum) 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 QueryAprsRequest
- func (*QueryAprsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAprsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAprsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAprsRequest) ProtoMessage()
- func (m *QueryAprsRequest) Reset()
- func (m *QueryAprsRequest) Size() (n int)
- func (m *QueryAprsRequest) String() string
- func (m *QueryAprsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAprsRequest) XXX_DiscardUnknown()
- func (m *QueryAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAprsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAprsRequest) XXX_Size() int
- func (m *QueryAprsRequest) XXX_Unmarshal(b []byte) error
- type QueryAprsResponse
- func (*QueryAprsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAprsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAprsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAprsResponse) ProtoMessage()
- func (m *QueryAprsResponse) Reset()
- func (m *QueryAprsResponse) Size() (n int)
- func (m *QueryAprsResponse) String() string
- func (m *QueryAprsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAprsResponse) XXX_DiscardUnknown()
- func (m *QueryAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAprsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAprsResponse) XXX_Size() int
- func (m *QueryAprsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryExternalIncentiveRequest
- func (*QueryExternalIncentiveRequest) Descriptor() ([]byte, []int)
- func (m *QueryExternalIncentiveRequest) GetId() uint64
- func (m *QueryExternalIncentiveRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExternalIncentiveRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExternalIncentiveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExternalIncentiveRequest) ProtoMessage()
- func (m *QueryExternalIncentiveRequest) Reset()
- func (m *QueryExternalIncentiveRequest) Size() (n int)
- func (m *QueryExternalIncentiveRequest) String() string
- func (m *QueryExternalIncentiveRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExternalIncentiveRequest) XXX_DiscardUnknown()
- func (m *QueryExternalIncentiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExternalIncentiveRequest) XXX_Merge(src proto.Message)
- func (m *QueryExternalIncentiveRequest) XXX_Size() int
- func (m *QueryExternalIncentiveRequest) XXX_Unmarshal(b []byte) error
- type QueryExternalIncentiveResponse
- func (*QueryExternalIncentiveResponse) Descriptor() ([]byte, []int)
- func (m *QueryExternalIncentiveResponse) GetExternalIncentive() ExternalIncentive
- func (m *QueryExternalIncentiveResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExternalIncentiveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExternalIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExternalIncentiveResponse) ProtoMessage()
- func (m *QueryExternalIncentiveResponse) Reset()
- func (m *QueryExternalIncentiveResponse) Size() (n int)
- func (m *QueryExternalIncentiveResponse) String() string
- func (m *QueryExternalIncentiveResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExternalIncentiveResponse) XXX_DiscardUnknown()
- func (m *QueryExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExternalIncentiveResponse) XXX_Merge(src proto.Message)
- func (m *QueryExternalIncentiveResponse) XXX_Size() int
- func (m *QueryExternalIncentiveResponse) XXX_Unmarshal(b []byte) error
- type QueryListFeeInfoRequest
- func (*QueryListFeeInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryListFeeInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListFeeInfoRequest) ProtoMessage()
- func (m *QueryListFeeInfoRequest) Reset()
- func (m *QueryListFeeInfoRequest) Size() (n int)
- func (m *QueryListFeeInfoRequest) String() string
- func (m *QueryListFeeInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListFeeInfoRequest) XXX_DiscardUnknown()
- func (m *QueryListFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListFeeInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryListFeeInfoRequest) XXX_Size() int
- func (m *QueryListFeeInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryListFeeInfoResponse
- func (*QueryListFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryListFeeInfoResponse) GetFeeInfo() []FeeInfo
- func (m *QueryListFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListFeeInfoResponse) ProtoMessage()
- func (m *QueryListFeeInfoResponse) Reset()
- func (m *QueryListFeeInfoResponse) Size() (n int)
- func (m *QueryListFeeInfoResponse) String() string
- func (m *QueryListFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListFeeInfoResponse) XXX_DiscardUnknown()
- func (m *QueryListFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryListFeeInfoResponse) XXX_Size() int
- func (m *QueryListFeeInfoResponse) 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 QueryPoolAprsRequest
- func (*QueryPoolAprsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolAprsRequest) GetPoolIds() []uint64
- func (m *QueryPoolAprsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolAprsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolAprsRequest) ProtoMessage()
- func (m *QueryPoolAprsRequest) Reset()
- func (m *QueryPoolAprsRequest) Size() (n int)
- func (m *QueryPoolAprsRequest) String() string
- func (m *QueryPoolAprsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolAprsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolAprsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolAprsRequest) XXX_Size() int
- func (m *QueryPoolAprsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolAprsResponse
- func (*QueryPoolAprsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolAprsResponse) GetData() []PoolApr
- func (m *QueryPoolAprsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolAprsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolAprsResponse) ProtoMessage()
- func (m *QueryPoolAprsResponse) Reset()
- func (m *QueryPoolAprsResponse) Size() (n int)
- func (m *QueryPoolAprsResponse) String() string
- func (m *QueryPoolAprsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolAprsResponse) XXX_DiscardUnknown()
- func (m *QueryPoolAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolAprsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolAprsResponse) XXX_Size() int
- func (m *QueryPoolAprsResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolInfoRequest
- func (*QueryPoolInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolInfoRequest) GetPoolId() uint64
- func (m *QueryPoolInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolInfoRequest) ProtoMessage()
- func (m *QueryPoolInfoRequest) Reset()
- func (m *QueryPoolInfoRequest) Size() (n int)
- func (m *QueryPoolInfoRequest) String() string
- func (m *QueryPoolInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolInfoRequest) XXX_DiscardUnknown()
- func (m *QueryPoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolInfoRequest) XXX_Size() int
- func (m *QueryPoolInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolInfoResponse
- func (*QueryPoolInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolInfoResponse) GetPoolInfo() PoolInfo
- func (m *QueryPoolInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolInfoResponse) ProtoMessage()
- func (m *QueryPoolInfoResponse) Reset()
- func (m *QueryPoolInfoResponse) Size() (n int)
- func (m *QueryPoolInfoResponse) String() string
- func (m *QueryPoolInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolInfoResponse) XXX_DiscardUnknown()
- func (m *QueryPoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolInfoResponse) XXX_Size() int
- func (m *QueryPoolInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolRewardInfoRequest
- func (*QueryPoolRewardInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolRewardInfoRequest) GetPoolId() uint64
- func (m *QueryPoolRewardInfoRequest) GetRewardDenom() string
- func (m *QueryPoolRewardInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRewardInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRewardInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRewardInfoRequest) ProtoMessage()
- func (m *QueryPoolRewardInfoRequest) Reset()
- func (m *QueryPoolRewardInfoRequest) Size() (n int)
- func (m *QueryPoolRewardInfoRequest) String() string
- func (m *QueryPoolRewardInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRewardInfoRequest) XXX_DiscardUnknown()
- func (m *QueryPoolRewardInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRewardInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolRewardInfoRequest) XXX_Size() int
- func (m *QueryPoolRewardInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolRewardInfoResponse
- func (*QueryPoolRewardInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolRewardInfoResponse) GetPoolRewardInfo() PoolRewardInfo
- func (m *QueryPoolRewardInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRewardInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRewardInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRewardInfoResponse) ProtoMessage()
- func (m *QueryPoolRewardInfoResponse) Reset()
- func (m *QueryPoolRewardInfoResponse) Size() (n int)
- func (m *QueryPoolRewardInfoResponse) String() string
- func (m *QueryPoolRewardInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRewardInfoResponse) XXX_DiscardUnknown()
- func (m *QueryPoolRewardInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRewardInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolRewardInfoResponse) XXX_Size() int
- func (m *QueryPoolRewardInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolRewardsRequest
- func (*QueryPoolRewardsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolRewardsRequest) GetPagination() *query.PageRequest
- func (m *QueryPoolRewardsRequest) GetPoolIds() []uint64
- func (m *QueryPoolRewardsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRewardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRewardsRequest) ProtoMessage()
- func (m *QueryPoolRewardsRequest) Reset()
- func (m *QueryPoolRewardsRequest) Size() (n int)
- func (m *QueryPoolRewardsRequest) String() string
- func (m *QueryPoolRewardsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRewardsRequest) XXX_DiscardUnknown()
- func (m *QueryPoolRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRewardsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolRewardsRequest) XXX_Size() int
- func (m *QueryPoolRewardsRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolRewardsResponse
- func (*QueryPoolRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolRewardsResponse) GetPools() []PoolRewards
- func (m *QueryPoolRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRewardsResponse) ProtoMessage()
- func (m *QueryPoolRewardsResponse) Reset()
- func (m *QueryPoolRewardsResponse) Size() (n int)
- func (m *QueryPoolRewardsResponse) String() string
- func (m *QueryPoolRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryPoolRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolRewardsResponse) XXX_Size() int
- func (m *QueryPoolRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryShowFeeInfoRequest
- func (*QueryShowFeeInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryShowFeeInfoRequest) GetDate() string
- func (m *QueryShowFeeInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShowFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowFeeInfoRequest) ProtoMessage()
- func (m *QueryShowFeeInfoRequest) Reset()
- func (m *QueryShowFeeInfoRequest) Size() (n int)
- func (m *QueryShowFeeInfoRequest) String() string
- func (m *QueryShowFeeInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShowFeeInfoRequest) XXX_DiscardUnknown()
- func (m *QueryShowFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowFeeInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryShowFeeInfoRequest) XXX_Size() int
- func (m *QueryShowFeeInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryShowFeeInfoResponse
- func (*QueryShowFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryShowFeeInfoResponse) GetFeeInfo() FeeInfo
- func (m *QueryShowFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShowFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowFeeInfoResponse) ProtoMessage()
- func (m *QueryShowFeeInfoResponse) Reset()
- func (m *QueryShowFeeInfoResponse) Size() (n int)
- func (m *QueryShowFeeInfoResponse) String() string
- func (m *QueryShowFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShowFeeInfoResponse) XXX_DiscardUnknown()
- func (m *QueryShowFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryShowFeeInfoResponse) XXX_Size() int
- func (m *QueryShowFeeInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryStableStakeAprRequest
- func (*QueryStableStakeAprRequest) Descriptor() ([]byte, []int)
- func (m *QueryStableStakeAprRequest) GetDenom() string
- func (m *QueryStableStakeAprRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStableStakeAprRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStableStakeAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStableStakeAprRequest) ProtoMessage()
- func (m *QueryStableStakeAprRequest) Reset()
- func (m *QueryStableStakeAprRequest) Size() (n int)
- func (m *QueryStableStakeAprRequest) String() string
- func (m *QueryStableStakeAprRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStableStakeAprRequest) XXX_DiscardUnknown()
- func (m *QueryStableStakeAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStableStakeAprRequest) XXX_Merge(src proto.Message)
- func (m *QueryStableStakeAprRequest) XXX_Size() int
- func (m *QueryStableStakeAprRequest) XXX_Unmarshal(b []byte) error
- type QueryStableStakeAprResponse
- func (*QueryStableStakeAprResponse) Descriptor() ([]byte, []int)
- func (m *QueryStableStakeAprResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStableStakeAprResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStableStakeAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStableStakeAprResponse) ProtoMessage()
- func (m *QueryStableStakeAprResponse) Reset()
- func (m *QueryStableStakeAprResponse) Size() (n int)
- func (m *QueryStableStakeAprResponse) String() string
- func (m *QueryStableStakeAprResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStableStakeAprResponse) XXX_DiscardUnknown()
- func (m *QueryStableStakeAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStableStakeAprResponse) XXX_Merge(src proto.Message)
- func (m *QueryStableStakeAprResponse) XXX_Size() int
- func (m *QueryStableStakeAprResponse) XXX_Unmarshal(b []byte) error
- type QueryUserPendingRewardRequest
- func (*QueryUserPendingRewardRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserPendingRewardRequest) GetUser() string
- func (m *QueryUserPendingRewardRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserPendingRewardRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserPendingRewardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserPendingRewardRequest) ProtoMessage()
- func (m *QueryUserPendingRewardRequest) Reset()
- func (m *QueryUserPendingRewardRequest) Size() (n int)
- func (m *QueryUserPendingRewardRequest) String() string
- func (m *QueryUserPendingRewardRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserPendingRewardRequest) XXX_DiscardUnknown()
- func (m *QueryUserPendingRewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserPendingRewardRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserPendingRewardRequest) XXX_Size() int
- func (m *QueryUserPendingRewardRequest) XXX_Unmarshal(b []byte) error
- type QueryUserPendingRewardResponse
- func (*QueryUserPendingRewardResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserPendingRewardResponse) GetRewards() []*RewardInfo
- func (m *QueryUserPendingRewardResponse) GetTotalRewards() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryUserPendingRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserPendingRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserPendingRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserPendingRewardResponse) ProtoMessage()
- func (m *QueryUserPendingRewardResponse) Reset()
- func (m *QueryUserPendingRewardResponse) Size() (n int)
- func (m *QueryUserPendingRewardResponse) String() string
- func (m *QueryUserPendingRewardResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserPendingRewardResponse) XXX_DiscardUnknown()
- func (m *QueryUserPendingRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserPendingRewardResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserPendingRewardResponse) XXX_Size() int
- func (m *QueryUserPendingRewardResponse) XXX_Unmarshal(b []byte) error
- type QueryUserRewardInfoRequest
- func (*QueryUserRewardInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserRewardInfoRequest) GetPoolId() uint64
- func (m *QueryUserRewardInfoRequest) GetRewardDenom() string
- func (m *QueryUserRewardInfoRequest) GetUser() string
- func (m *QueryUserRewardInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserRewardInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserRewardInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserRewardInfoRequest) ProtoMessage()
- func (m *QueryUserRewardInfoRequest) Reset()
- func (m *QueryUserRewardInfoRequest) Size() (n int)
- func (m *QueryUserRewardInfoRequest) String() string
- func (m *QueryUserRewardInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserRewardInfoRequest) XXX_DiscardUnknown()
- func (m *QueryUserRewardInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserRewardInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserRewardInfoRequest) XXX_Size() int
- func (m *QueryUserRewardInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryUserRewardInfoResponse
- func (*QueryUserRewardInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserRewardInfoResponse) GetUserRewardInfo() UserRewardInfo
- func (m *QueryUserRewardInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserRewardInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserRewardInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserRewardInfoResponse) ProtoMessage()
- func (m *QueryUserRewardInfoResponse) Reset()
- func (m *QueryUserRewardInfoResponse) Size() (n int)
- func (m *QueryUserRewardInfoResponse) String() string
- func (m *QueryUserRewardInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserRewardInfoResponse) XXX_DiscardUnknown()
- func (m *QueryUserRewardInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserRewardInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserRewardInfoResponse) XXX_Size() int
- func (m *QueryUserRewardInfoResponse) XXX_Unmarshal(b []byte) error
- type RewardInfo
- func (*RewardInfo) Descriptor() ([]byte, []int)
- func (m *RewardInfo) GetPoolId() uint64
- func (m *RewardInfo) GetReward() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *RewardInfo) Marshal() (dAtA []byte, err error)
- func (m *RewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardInfo) ProtoMessage()
- func (m *RewardInfo) Reset()
- func (m *RewardInfo) Size() (n int)
- func (m *RewardInfo) String() string
- func (m *RewardInfo) Unmarshal(dAtA []byte) error
- func (m *RewardInfo) XXX_DiscardUnknown()
- func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardInfo) XXX_Merge(src proto.Message)
- func (m *RewardInfo) XXX_Size() int
- func (m *RewardInfo) XXX_Unmarshal(b []byte) error
- type StableStakeKeeper
- type StakingKeeper
- type SupportedRewardDenom
- func (*SupportedRewardDenom) Descriptor() ([]byte, []int)
- func (m *SupportedRewardDenom) GetDenom() string
- func (m *SupportedRewardDenom) Marshal() (dAtA []byte, err error)
- func (m *SupportedRewardDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *SupportedRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SupportedRewardDenom) ProtoMessage()
- func (m *SupportedRewardDenom) Reset()
- func (m *SupportedRewardDenom) Size() (n int)
- func (m *SupportedRewardDenom) String() string
- func (m *SupportedRewardDenom) Unmarshal(dAtA []byte) error
- func (m *SupportedRewardDenom) XXX_DiscardUnknown()
- func (m *SupportedRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SupportedRewardDenom) XXX_Merge(src proto.Message)
- func (m *SupportedRewardDenom) XXX_Size() int
- func (m *SupportedRewardDenom) XXX_Unmarshal(b []byte) error
- type TokenomicsKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddExternalIncentive(ctx context.Context, req *MsgAddExternalIncentive) (*MsgAddExternalIncentiveResponse, error)
- func (*UnimplementedMsgServer) AddExternalRewardDenom(ctx context.Context, req *MsgAddExternalRewardDenom) (*MsgAddExternalRewardDenomResponse, error)
- func (*UnimplementedMsgServer) ClaimRewards(ctx context.Context, req *MsgClaimRewards) (*MsgClaimRewardsResponse, error)
- func (*UnimplementedMsgServer) TogglePoolEdenRewards(ctx context.Context, req *MsgTogglePoolEdenRewards) (*MsgTogglePoolEdenRewardsResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdatePoolMultipliers(ctx context.Context, req *MsgUpdatePoolMultipliers) (*MsgUpdatePoolMultipliersResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Apr(ctx context.Context, req *QueryAprRequest) (*QueryAprResponse, error)
- func (*UnimplementedQueryServer) Aprs(ctx context.Context, req *QueryAprsRequest) (*QueryAprsResponse, error)
- func (*UnimplementedQueryServer) ExternalIncentive(ctx context.Context, req *QueryExternalIncentiveRequest) (*QueryExternalIncentiveResponse, error)
- func (*UnimplementedQueryServer) ListFeeInfo(ctx context.Context, req *QueryListFeeInfoRequest) (*QueryListFeeInfoResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) PoolAprs(ctx context.Context, req *QueryPoolAprsRequest) (*QueryPoolAprsResponse, error)
- func (*UnimplementedQueryServer) PoolInfo(ctx context.Context, req *QueryPoolInfoRequest) (*QueryPoolInfoResponse, error)
- func (*UnimplementedQueryServer) PoolRewardInfo(ctx context.Context, req *QueryPoolRewardInfoRequest) (*QueryPoolRewardInfoResponse, error)
- func (*UnimplementedQueryServer) PoolRewards(ctx context.Context, req *QueryPoolRewardsRequest) (*QueryPoolRewardsResponse, error)
- func (*UnimplementedQueryServer) ShowFeeInfo(ctx context.Context, req *QueryShowFeeInfoRequest) (*QueryShowFeeInfoResponse, error)
- func (*UnimplementedQueryServer) StableStakeApr(ctx context.Context, req *QueryStableStakeAprRequest) (*QueryStableStakeAprResponse, error)
- func (*UnimplementedQueryServer) UserPendingReward(ctx context.Context, req *QueryUserPendingRewardRequest) (*QueryUserPendingRewardResponse, error)
- func (*UnimplementedQueryServer) UserRewardInfo(ctx context.Context, req *QueryUserRewardInfoRequest) (*QueryUserRewardInfoResponse, error)
- type UserRewardInfo
- func (*UserRewardInfo) Descriptor() ([]byte, []int)
- func (m *UserRewardInfo) GetPoolId() uint64
- func (m *UserRewardInfo) GetRewardDenom() string
- func (m *UserRewardInfo) GetUser() string
- func (u UserRewardInfo) GetUserAccount() sdk.AccAddress
- func (m *UserRewardInfo) Marshal() (dAtA []byte, err error)
- func (m *UserRewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *UserRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserRewardInfo) ProtoMessage()
- func (m *UserRewardInfo) Reset()
- func (m *UserRewardInfo) Size() (n int)
- func (m *UserRewardInfo) String() string
- func (m *UserRewardInfo) Unmarshal(dAtA []byte) error
- func (m *UserRewardInfo) XXX_DiscardUnknown()
- func (m *UserRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRewardInfo) XXX_Merge(src proto.Message)
- func (m *UserRewardInfo) XXX_Size() int
- func (m *UserRewardInfo) XXX_Unmarshal(b []byte) error
Constants ¶
const ( TypeEvtAddExternalRewardDenom = "add_external_reward_denom" TypeEvtAddExternalIncentive = "add_external_incentive" TypeEvtClaimRewards = "claim_rewards" TypeEvtSetPoolMultiplier = "set_pool_multiplier" TypeEvtSkipSwap = "skip_conversion_of_fee" AttributeRewardDenom = "reward_denom" AttributeMinAmount = "min_amount" AttributeSupported = "supported" AttributePoolId = "pool_id" AttributePoolIds = "pool_ids" AttributeFromBlock = "from_block" AttributeToBlock = "to_block" AttributeAmountPerBlock = "amount_per_block" AttributeSender = "sender" AttributeRecipient = "recipient" AttributeMultiplier = "multiplier" )
const ( // ModuleName defines the module name ModuleName = "masterchef" // StoreKey defines the primary module store key StoreKey = ModuleName )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( ErrNoInflationaryParams = errorsmod.Register(ModuleName, 1, "no inflationary rewards params") ErrPoolRewardsAccumNotFound = errorsmod.Register(ModuleName, 2, "pool rewards accumulation not found") ErrPoolNotFound = errorsmod.Register(ModuleName, 3, "pool not found") ErrInvalidBlockRange = errorsmod.Register(ModuleName, 4, "invalid block range") ErrInvalidAmountPerBlock = errorsmod.Register(ModuleName, 5, "error invalid amount per block") ErrInvalidMinAmount = errorsmod.Register(ModuleName, 6, "error invalid min amount") ErrInvalidPoolMultiplier = errorsmod.Register(ModuleName, 7, "error invalid pool multiplier") )
x/masterchef module sentinel errors
var ( ErrInvalidLengthExternalIncentive = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExternalIncentive = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupExternalIncentive = fmt.Errorf("proto: unexpected end of group") )
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 ( ParamsKey = []byte{0x01} UserRewardInfoKeyPrefix = []byte{0x02} PoolInfoKeyPrefix = []byte{0x03} ExternalIncentiveIndexKeyPrefix = []byte{0x04} ExternalIncentiveKeyPrefix = []byte{0x05} PoolRewardInfoKeyPrefix = []byte{0x06} PoolRewardsAccumKeyPrefix = []byte{0x07} FeeInfoKeyPrefix = []byte{0x08} )
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 ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func GetExternalIncentiveKey ¶ added in v0.42.0
func GetFeeInfoKey ¶ added in v0.44.0
Timestamp will be a date in the format of YYYY-MM-DD
func GetPoolInfoKey ¶ added in v0.42.0
func GetPoolRewardInfoKey ¶ added in v0.42.0
func GetPoolRewardsAccumKey ¶ added in v0.33.0
func GetPoolRewardsAccumPrefix ¶ added in v0.33.0
func GetUserRewardInfoKey ¶ added in v0.42.0
func GetUserRewardInfoKey(user sdk.AccAddress, poolId uint64, rewardDenom string) []byte
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.50.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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 context.Context, addr sdk.AccAddress) sdk.AccountI GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx context.Context, name string) sdk.ModuleAccountI }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AccountedPoolKeeper ¶
AccountedPoolKeeper
type AmmKeeper ¶
type AmmKeeper interface { GetBestPoolWithDenoms(ctx sdk.Context, denoms []string, usesOracle bool) (pool ammtypes.Pool, found bool) // 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) GetAccountedPoolSnapshotOrSet(ctx sdk.Context, pool ammtypes.Pool) (val ammtypes.Pool) CalcOutAmtGivenIn(ctx sdk.Context, poolId uint64, oracle ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee math.LegacyDec) (sdk.Coin, math.LegacyDec, error) GetEdenDenomPrice(ctx sdk.Context, baseCurrency string) math.LegacyDec GetTokenPrice(ctx sdk.Context, tokenInDenom, baseCurrency string) math.LegacyDec InternalSwapExactAmountIn( ctx sdk.Context, sender sdk.AccAddress, recipient sdk.AccAddress, pool ammtypes.Pool, tokenIn sdk.Coin, tokenOutDenom string, tokenOutMinAmount math.Int, swapFee math.LegacyDec, ) (tokenOutAmount math.Int, err error) }
AmmKeeper defines the expected interface needed to swap tokens
type AssetProfileKeeper ¶
type AssetProfileKeeper interface { GetEntry(ctx sdk.Context, baseDenom string) (val assetprofiletypes.Entry, found bool) // GetUsdcDenom returns USDC denom GetUsdcDenom(ctx sdk.Context) (string, bool) }
AssetProfileKeeper defines the expected interface needed to retrieve denom info
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool BurnCoins(ctx context.Context, name string, amt sdk.Coins) error MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommitmentKeeper ¶
type CommitmentKeeper interface { IterateCommitments(sdk.Context, func(ctypes.Commitments) (stop bool)) GetCommitments(sdk.Context, sdk.AccAddress) ctypes.Commitments SetCommitments(sdk.Context, ctypes.Commitments) MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error BurnEdenBoost(ctx sdk.Context, creator sdk.AccAddress, denom string, amount math.Int) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error GetParams(sdk.Context) ctypes.Params }
CommitmentKeeper
type ExternalIncentive ¶
type ExternalIncentive struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` PoolId uint64 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` FromBlock int64 `protobuf:"varint,4,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"` ToBlock int64 `protobuf:"varint,5,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"` AmountPerBlock cosmossdk_io_math.Int `` /* 128-byte string literal not displayed */ Apr cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"` }
ExternalIncentive defines the external incentives.
func (*ExternalIncentive) Descriptor ¶
func (*ExternalIncentive) Descriptor() ([]byte, []int)
func (*ExternalIncentive) GetFromBlock ¶
func (m *ExternalIncentive) GetFromBlock() int64
func (*ExternalIncentive) GetId ¶
func (m *ExternalIncentive) GetId() uint64
func (*ExternalIncentive) GetPoolId ¶
func (m *ExternalIncentive) GetPoolId() uint64
func (*ExternalIncentive) GetRewardDenom ¶
func (m *ExternalIncentive) GetRewardDenom() string
func (*ExternalIncentive) GetToBlock ¶
func (m *ExternalIncentive) GetToBlock() int64
func (*ExternalIncentive) Marshal ¶
func (m *ExternalIncentive) Marshal() (dAtA []byte, err error)
func (*ExternalIncentive) MarshalTo ¶
func (m *ExternalIncentive) MarshalTo(dAtA []byte) (int, error)
func (*ExternalIncentive) MarshalToSizedBuffer ¶
func (m *ExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalIncentive) ProtoMessage ¶
func (*ExternalIncentive) ProtoMessage()
func (*ExternalIncentive) Reset ¶
func (m *ExternalIncentive) Reset()
func (*ExternalIncentive) Size ¶
func (m *ExternalIncentive) Size() (n int)
func (*ExternalIncentive) String ¶
func (m *ExternalIncentive) String() string
func (*ExternalIncentive) Unmarshal ¶
func (m *ExternalIncentive) Unmarshal(dAtA []byte) error
func (*ExternalIncentive) XXX_DiscardUnknown ¶
func (m *ExternalIncentive) XXX_DiscardUnknown()
func (*ExternalIncentive) XXX_Marshal ¶
func (m *ExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalIncentive) XXX_Merge ¶
func (m *ExternalIncentive) XXX_Merge(src proto.Message)
func (*ExternalIncentive) XXX_Size ¶
func (m *ExternalIncentive) XXX_Size() int
func (*ExternalIncentive) XXX_Unmarshal ¶
func (m *ExternalIncentive) XXX_Unmarshal(b []byte) error
type FeeInfo ¶ added in v0.44.0
type FeeInfo struct { GasLp cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=gas_lp,json=gasLp,proto3,customtype=cosmossdk.io/math.Int" json:"gas_lp"` GasStakers cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=gas_stakers,json=gasStakers,proto3,customtype=cosmossdk.io/math.Int" json:"gas_stakers"` GasProtocol cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=gas_protocol,json=gasProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"gas_protocol"` DexLp cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=dex_lp,json=dexLp,proto3,customtype=cosmossdk.io/math.Int" json:"dex_lp"` DexStakers cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=dex_stakers,json=dexStakers,proto3,customtype=cosmossdk.io/math.Int" json:"dex_stakers"` DexProtocol cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=dex_protocol,json=dexProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"dex_protocol"` PerpLp cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=perp_lp,json=perpLp,proto3,customtype=cosmossdk.io/math.Int" json:"perp_lp"` PerpStakers cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=perp_stakers,json=perpStakers,proto3,customtype=cosmossdk.io/math.Int" json:"perp_stakers"` PerpProtocol cosmossdk_io_math.Int `protobuf:"bytes,9,opt,name=perp_protocol,json=perpProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"perp_protocol"` EdenLp cosmossdk_io_math.Int `protobuf:"bytes,10,opt,name=eden_lp,json=edenLp,proto3,customtype=cosmossdk.io/math.Int" json:"eden_lp"` }
func (*FeeInfo) Descriptor ¶ added in v0.44.0
func (*FeeInfo) MarshalToSizedBuffer ¶ added in v0.44.0
func (*FeeInfo) ProtoMessage ¶ added in v0.44.0
func (*FeeInfo) ProtoMessage()
func (*FeeInfo) XXX_DiscardUnknown ¶ added in v0.44.0
func (m *FeeInfo) XXX_DiscardUnknown()
func (*FeeInfo) XXX_Marshal ¶ added in v0.44.0
func (*FeeInfo) XXX_Unmarshal ¶ added in v0.44.0
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ExternalIncentives []ExternalIncentive `protobuf:"bytes,2,rep,name=external_incentives,json=externalIncentives,proto3" json:"external_incentives"` ExternalIncentiveIndex uint64 `` /* 130-byte string literal not displayed */ PoolInfos []PoolInfo `protobuf:"bytes,4,rep,name=pool_infos,json=poolInfos,proto3" json:"pool_infos"` PoolRewardInfos []PoolRewardInfo `protobuf:"bytes,5,rep,name=pool_reward_infos,json=poolRewardInfos,proto3" json:"pool_reward_infos"` UserRewardInfos []UserRewardInfo `protobuf:"bytes,6,rep,name=user_reward_infos,json=userRewardInfos,proto3" json:"user_reward_infos"` PoolRewardsAccum []PoolRewardsAccum `protobuf:"bytes,7,rep,name=pool_rewards_accum,json=poolRewardsAccum,proto3" json:"pool_rewards_accum"` }
GenesisState defines the masterchef module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetExternalIncentiveIndex ¶
func (m *GenesisState) GetExternalIncentiveIndex() uint64
func (*GenesisState) GetExternalIncentives ¶
func (m *GenesisState) GetExternalIncentives() []ExternalIncentive
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPoolInfos ¶
func (m *GenesisState) GetPoolInfos() []PoolInfo
func (*GenesisState) GetPoolRewardInfos ¶
func (m *GenesisState) GetPoolRewardInfos() []PoolRewardInfo
func (*GenesisState) GetPoolRewardsAccum ¶ added in v0.33.0
func (m *GenesisState) GetPoolRewardsAccum() []PoolRewardsAccum
func (*GenesisState) GetUserRewardInfos ¶
func (m *GenesisState) GetUserRewardInfos() []UserRewardInfo
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 cosmossdk_io_math.Int `` /* 139-byte string literal not displayed */ // blocks distributed BlocksDistributed int64 `protobuf:"varint,2,opt,name=blocks_distributed,json=blocksDistributed,proto3" json:"blocks_distributed,omitempty"` }
func (*IncentiveInfo) Descriptor ¶
func (*IncentiveInfo) Descriptor() ([]byte, []int)
func (*IncentiveInfo) GetBlocksDistributed ¶ added in v0.45.0
func (m *IncentiveInfo) GetBlocksDistributed() int64
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 LegacyIncentiveInfo ¶ added in v0.45.0
type LegacyIncentiveInfo struct { // reward amount in eden for 1 year EdenAmountPerYear cosmossdk_io_math.Int `` /* 139-byte string literal not displayed */ // starting block height of the distribution DistributionStartBlock cosmossdk_io_math.Int `` /* 152-byte string literal not displayed */ // distribution duration - block number per year TotalBlocksPerYear cosmossdk_io_math.Int `` /* 142-byte string literal not displayed */ // blocks distributed BlocksDistributed cosmossdk_io_math.Int `` /* 135-byte string literal not displayed */ }
Incentive Info
func (*LegacyIncentiveInfo) Descriptor ¶ added in v0.45.0
func (*LegacyIncentiveInfo) Descriptor() ([]byte, []int)
func (*LegacyIncentiveInfo) Marshal ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) Marshal() (dAtA []byte, err error)
func (*LegacyIncentiveInfo) MarshalTo ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) MarshalTo(dAtA []byte) (int, error)
func (*LegacyIncentiveInfo) MarshalToSizedBuffer ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyIncentiveInfo) ProtoMessage ¶ added in v0.45.0
func (*LegacyIncentiveInfo) ProtoMessage()
func (*LegacyIncentiveInfo) Reset ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) Reset()
func (*LegacyIncentiveInfo) Size ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) Size() (n int)
func (*LegacyIncentiveInfo) String ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) String() string
func (*LegacyIncentiveInfo) Unmarshal ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) Unmarshal(dAtA []byte) error
func (*LegacyIncentiveInfo) XXX_DiscardUnknown ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) XXX_DiscardUnknown()
func (*LegacyIncentiveInfo) XXX_Marshal ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyIncentiveInfo) XXX_Merge ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) XXX_Merge(src proto.Message)
func (*LegacyIncentiveInfo) XXX_Size ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) XXX_Size() int
func (*LegacyIncentiveInfo) XXX_Unmarshal ¶ added in v0.45.0
func (m *LegacyIncentiveInfo) XXX_Unmarshal(b []byte) error
type LegacyParams ¶ added in v0.33.0
type LegacyParams struct { LpIncentives *LegacyIncentiveInfo `protobuf:"bytes,1,opt,name=lp_incentives,json=lpIncentives,proto3" json:"lp_incentives,omitempty"` // gas fees and swap fees portion for lps, `100 - reward_portion_for_lps - // reward_portion_for_stakers = revenue percent for protocol`. RewardPortionForLps cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */ // gas fees and swap fees portion for stakers, `100 - reward_portion_for_lps - // reward_portion_for_stakers = revenue percent for protocol`. RewardPortionForStakers cosmossdk_io_math.LegacyDec `` /* 163-byte string literal not displayed */ // Maximum eden reward apr for lps - [0 - 0.3] MaxEdenRewardAprLps cosmossdk_io_math.LegacyDec `` /* 153-byte string literal not displayed */ SupportedRewardDenoms []*SupportedRewardDenom `` /* 126-byte string literal not displayed */ ProtocolRevenueAddress string `` /* 129-byte string literal not displayed */ }
Params defines the parameters for the module.
func (*LegacyParams) Descriptor ¶ added in v0.33.0
func (*LegacyParams) Descriptor() ([]byte, []int)
func (*LegacyParams) GetLpIncentives ¶ added in v0.33.0
func (m *LegacyParams) GetLpIncentives() *LegacyIncentiveInfo
func (*LegacyParams) GetProtocolRevenueAddress ¶ added in v0.33.0
func (m *LegacyParams) GetProtocolRevenueAddress() string
func (*LegacyParams) GetSupportedRewardDenoms ¶ added in v0.33.0
func (m *LegacyParams) GetSupportedRewardDenoms() []*SupportedRewardDenom
func (*LegacyParams) Marshal ¶ added in v0.33.0
func (m *LegacyParams) Marshal() (dAtA []byte, err error)
func (*LegacyParams) MarshalTo ¶ added in v0.33.0
func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)
func (*LegacyParams) MarshalToSizedBuffer ¶ added in v0.33.0
func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyParams) ProtoMessage ¶ added in v0.33.0
func (*LegacyParams) ProtoMessage()
func (*LegacyParams) Reset ¶ added in v0.33.0
func (m *LegacyParams) Reset()
func (*LegacyParams) Size ¶ added in v0.33.0
func (m *LegacyParams) Size() (n int)
func (LegacyParams) String ¶ added in v0.33.0
func (p LegacyParams) String() string
String implements the Stringer interface.
func (*LegacyParams) Unmarshal ¶ added in v0.33.0
func (m *LegacyParams) Unmarshal(dAtA []byte) error
func (*LegacyParams) XXX_DiscardUnknown ¶ added in v0.33.0
func (m *LegacyParams) XXX_DiscardUnknown()
func (*LegacyParams) XXX_Marshal ¶ added in v0.33.0
func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyParams) XXX_Merge ¶ added in v0.33.0
func (m *LegacyParams) XXX_Merge(src proto.Message)
func (*LegacyParams) XXX_Size ¶ added in v0.33.0
func (m *LegacyParams) XXX_Size() int
func (*LegacyParams) XXX_Unmarshal ¶ added in v0.33.0
func (m *LegacyParams) XXX_Unmarshal(b []byte) error
type LegacyPoolInfo ¶ added in v0.33.0
type LegacyPoolInfo struct { 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"` // Eden APR, updated at every distribution EdenApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"` // Dex APR, updated based on 24hr accumulation DexApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_apr"` // Gas APR, updated based on 24hr accumulation GasApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_apr"` // External Incentive APR, updated at every distribution ExternalIncentiveApr cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */ // external reward denoms on the pool ExternalRewardDenoms []string `protobuf:"bytes,8,rep,name=external_reward_denoms,json=externalRewardDenoms,proto3" json:"external_reward_denoms,omitempty"` }
func (*LegacyPoolInfo) Descriptor ¶ added in v0.33.0
func (*LegacyPoolInfo) Descriptor() ([]byte, []int)
func (*LegacyPoolInfo) GetExternalRewardDenoms ¶ added in v0.33.0
func (m *LegacyPoolInfo) GetExternalRewardDenoms() []string
func (*LegacyPoolInfo) GetPoolId ¶ added in v0.33.0
func (m *LegacyPoolInfo) GetPoolId() uint64
func (*LegacyPoolInfo) GetRewardWallet ¶ added in v0.33.0
func (m *LegacyPoolInfo) GetRewardWallet() string
func (*LegacyPoolInfo) Marshal ¶ added in v0.33.0
func (m *LegacyPoolInfo) Marshal() (dAtA []byte, err error)
func (*LegacyPoolInfo) MarshalTo ¶ added in v0.33.0
func (m *LegacyPoolInfo) MarshalTo(dAtA []byte) (int, error)
func (*LegacyPoolInfo) MarshalToSizedBuffer ¶ added in v0.33.0
func (m *LegacyPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyPoolInfo) ProtoMessage ¶ added in v0.33.0
func (*LegacyPoolInfo) ProtoMessage()
func (*LegacyPoolInfo) Reset ¶ added in v0.33.0
func (m *LegacyPoolInfo) Reset()
func (*LegacyPoolInfo) Size ¶ added in v0.33.0
func (m *LegacyPoolInfo) Size() (n int)
func (*LegacyPoolInfo) String ¶ added in v0.33.0
func (m *LegacyPoolInfo) String() string
func (*LegacyPoolInfo) Unmarshal ¶ added in v0.33.0
func (m *LegacyPoolInfo) Unmarshal(dAtA []byte) error
func (*LegacyPoolInfo) XXX_DiscardUnknown ¶ added in v0.33.0
func (m *LegacyPoolInfo) XXX_DiscardUnknown()
func (*LegacyPoolInfo) XXX_Marshal ¶ added in v0.33.0
func (m *LegacyPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyPoolInfo) XXX_Merge ¶ added in v0.33.0
func (m *LegacyPoolInfo) XXX_Merge(src proto.Message)
func (*LegacyPoolInfo) XXX_Size ¶ added in v0.33.0
func (m *LegacyPoolInfo) XXX_Size() int
func (*LegacyPoolInfo) XXX_Unmarshal ¶ added in v0.33.0
func (m *LegacyPoolInfo) XXX_Unmarshal(b []byte) error
type MsgAddExternalIncentive ¶
type MsgAddExternalIncentive struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` PoolId uint64 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` FromBlock int64 `protobuf:"varint,4,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"` ToBlock int64 `protobuf:"varint,5,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"` AmountPerBlock cosmossdk_io_math.Int `` /* 128-byte string literal not displayed */ }
func (*MsgAddExternalIncentive) Descriptor ¶
func (*MsgAddExternalIncentive) Descriptor() ([]byte, []int)
func (*MsgAddExternalIncentive) GetFromBlock ¶
func (m *MsgAddExternalIncentive) GetFromBlock() int64
func (*MsgAddExternalIncentive) GetPoolId ¶
func (m *MsgAddExternalIncentive) GetPoolId() uint64
func (*MsgAddExternalIncentive) GetRewardDenom ¶
func (m *MsgAddExternalIncentive) GetRewardDenom() string
func (*MsgAddExternalIncentive) GetSender ¶
func (m *MsgAddExternalIncentive) GetSender() string
func (*MsgAddExternalIncentive) GetToBlock ¶
func (m *MsgAddExternalIncentive) GetToBlock() int64
func (*MsgAddExternalIncentive) Marshal ¶
func (m *MsgAddExternalIncentive) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalIncentive) MarshalTo ¶
func (m *MsgAddExternalIncentive) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalIncentive) MarshalToSizedBuffer ¶
func (m *MsgAddExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalIncentive) ProtoMessage ¶
func (*MsgAddExternalIncentive) ProtoMessage()
func (*MsgAddExternalIncentive) Reset ¶
func (m *MsgAddExternalIncentive) Reset()
func (*MsgAddExternalIncentive) Size ¶
func (m *MsgAddExternalIncentive) Size() (n int)
func (*MsgAddExternalIncentive) String ¶
func (m *MsgAddExternalIncentive) String() string
func (*MsgAddExternalIncentive) Unmarshal ¶
func (m *MsgAddExternalIncentive) Unmarshal(dAtA []byte) error
func (*MsgAddExternalIncentive) ValidateBasic ¶
func (msg *MsgAddExternalIncentive) ValidateBasic() error
func (*MsgAddExternalIncentive) XXX_DiscardUnknown ¶
func (m *MsgAddExternalIncentive) XXX_DiscardUnknown()
func (*MsgAddExternalIncentive) XXX_Marshal ¶
func (m *MsgAddExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalIncentive) XXX_Merge ¶
func (m *MsgAddExternalIncentive) XXX_Merge(src proto.Message)
func (*MsgAddExternalIncentive) XXX_Size ¶
func (m *MsgAddExternalIncentive) XXX_Size() int
func (*MsgAddExternalIncentive) XXX_Unmarshal ¶
func (m *MsgAddExternalIncentive) XXX_Unmarshal(b []byte) error
type MsgAddExternalIncentiveResponse ¶
type MsgAddExternalIncentiveResponse struct { }
func (*MsgAddExternalIncentiveResponse) Descriptor ¶
func (*MsgAddExternalIncentiveResponse) Descriptor() ([]byte, []int)
func (*MsgAddExternalIncentiveResponse) Marshal ¶
func (m *MsgAddExternalIncentiveResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalIncentiveResponse) MarshalTo ¶
func (m *MsgAddExternalIncentiveResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalIncentiveResponse) MarshalToSizedBuffer ¶
func (m *MsgAddExternalIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalIncentiveResponse) ProtoMessage ¶
func (*MsgAddExternalIncentiveResponse) ProtoMessage()
func (*MsgAddExternalIncentiveResponse) Reset ¶
func (m *MsgAddExternalIncentiveResponse) Reset()
func (*MsgAddExternalIncentiveResponse) Size ¶
func (m *MsgAddExternalIncentiveResponse) Size() (n int)
func (*MsgAddExternalIncentiveResponse) String ¶
func (m *MsgAddExternalIncentiveResponse) String() string
func (*MsgAddExternalIncentiveResponse) Unmarshal ¶
func (m *MsgAddExternalIncentiveResponse) Unmarshal(dAtA []byte) error
func (*MsgAddExternalIncentiveResponse) XXX_DiscardUnknown ¶
func (m *MsgAddExternalIncentiveResponse) XXX_DiscardUnknown()
func (*MsgAddExternalIncentiveResponse) XXX_Marshal ¶
func (m *MsgAddExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalIncentiveResponse) XXX_Merge ¶
func (m *MsgAddExternalIncentiveResponse) XXX_Merge(src proto.Message)
func (*MsgAddExternalIncentiveResponse) XXX_Size ¶
func (m *MsgAddExternalIncentiveResponse) XXX_Size() int
func (*MsgAddExternalIncentiveResponse) XXX_Unmarshal ¶
func (m *MsgAddExternalIncentiveResponse) XXX_Unmarshal(b []byte) error
type MsgAddExternalRewardDenom ¶
type MsgAddExternalRewardDenom struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` MinAmount cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=min_amount,json=minAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_amount"` Supported bool `protobuf:"varint,4,opt,name=supported,proto3" json:"supported,omitempty"` }
func (*MsgAddExternalRewardDenom) Descriptor ¶
func (*MsgAddExternalRewardDenom) Descriptor() ([]byte, []int)
func (*MsgAddExternalRewardDenom) GetAuthority ¶
func (m *MsgAddExternalRewardDenom) GetAuthority() string
func (*MsgAddExternalRewardDenom) GetRewardDenom ¶
func (m *MsgAddExternalRewardDenom) GetRewardDenom() string
func (*MsgAddExternalRewardDenom) GetSupported ¶
func (m *MsgAddExternalRewardDenom) GetSupported() bool
func (*MsgAddExternalRewardDenom) Marshal ¶
func (m *MsgAddExternalRewardDenom) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalRewardDenom) MarshalTo ¶
func (m *MsgAddExternalRewardDenom) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalRewardDenom) MarshalToSizedBuffer ¶
func (m *MsgAddExternalRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalRewardDenom) ProtoMessage ¶
func (*MsgAddExternalRewardDenom) ProtoMessage()
func (*MsgAddExternalRewardDenom) Reset ¶
func (m *MsgAddExternalRewardDenom) Reset()
func (*MsgAddExternalRewardDenom) Size ¶
func (m *MsgAddExternalRewardDenom) Size() (n int)
func (*MsgAddExternalRewardDenom) String ¶
func (m *MsgAddExternalRewardDenom) String() string
func (*MsgAddExternalRewardDenom) Unmarshal ¶
func (m *MsgAddExternalRewardDenom) Unmarshal(dAtA []byte) error
func (*MsgAddExternalRewardDenom) ValidateBasic ¶
func (msg *MsgAddExternalRewardDenom) ValidateBasic() error
func (*MsgAddExternalRewardDenom) XXX_DiscardUnknown ¶
func (m *MsgAddExternalRewardDenom) XXX_DiscardUnknown()
func (*MsgAddExternalRewardDenom) XXX_Marshal ¶
func (m *MsgAddExternalRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalRewardDenom) XXX_Merge ¶
func (m *MsgAddExternalRewardDenom) XXX_Merge(src proto.Message)
func (*MsgAddExternalRewardDenom) XXX_Size ¶
func (m *MsgAddExternalRewardDenom) XXX_Size() int
func (*MsgAddExternalRewardDenom) XXX_Unmarshal ¶
func (m *MsgAddExternalRewardDenom) XXX_Unmarshal(b []byte) error
type MsgAddExternalRewardDenomResponse ¶
type MsgAddExternalRewardDenomResponse struct { }
func (*MsgAddExternalRewardDenomResponse) Descriptor ¶
func (*MsgAddExternalRewardDenomResponse) Descriptor() ([]byte, []int)
func (*MsgAddExternalRewardDenomResponse) Marshal ¶
func (m *MsgAddExternalRewardDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalRewardDenomResponse) MarshalTo ¶
func (m *MsgAddExternalRewardDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalRewardDenomResponse) ProtoMessage ¶
func (*MsgAddExternalRewardDenomResponse) ProtoMessage()
func (*MsgAddExternalRewardDenomResponse) Reset ¶
func (m *MsgAddExternalRewardDenomResponse) Reset()
func (*MsgAddExternalRewardDenomResponse) Size ¶
func (m *MsgAddExternalRewardDenomResponse) Size() (n int)
func (*MsgAddExternalRewardDenomResponse) String ¶
func (m *MsgAddExternalRewardDenomResponse) String() string
func (*MsgAddExternalRewardDenomResponse) Unmarshal ¶
func (m *MsgAddExternalRewardDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgAddExternalRewardDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgAddExternalRewardDenomResponse) XXX_DiscardUnknown()
func (*MsgAddExternalRewardDenomResponse) XXX_Marshal ¶
func (m *MsgAddExternalRewardDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalRewardDenomResponse) XXX_Merge ¶
func (m *MsgAddExternalRewardDenomResponse) XXX_Merge(src proto.Message)
func (*MsgAddExternalRewardDenomResponse) XXX_Size ¶
func (m *MsgAddExternalRewardDenomResponse) XXX_Size() int
func (*MsgAddExternalRewardDenomResponse) XXX_Unmarshal ¶
func (m *MsgAddExternalRewardDenomResponse) XXX_Unmarshal(b []byte) error
type MsgClaimRewards ¶
type MsgClaimRewards struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` PoolIds []uint64 `protobuf:"varint,2,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"` }
func (*MsgClaimRewards) Descriptor ¶
func (*MsgClaimRewards) Descriptor() ([]byte, []int)
func (*MsgClaimRewards) GetPoolIds ¶
func (m *MsgClaimRewards) GetPoolIds() []uint64
func (*MsgClaimRewards) GetSender ¶
func (m *MsgClaimRewards) GetSender() string
func (*MsgClaimRewards) Marshal ¶
func (m *MsgClaimRewards) Marshal() (dAtA []byte, err error)
func (*MsgClaimRewards) MarshalToSizedBuffer ¶
func (m *MsgClaimRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimRewards) ProtoMessage ¶
func (*MsgClaimRewards) ProtoMessage()
func (*MsgClaimRewards) Reset ¶
func (m *MsgClaimRewards) Reset()
func (*MsgClaimRewards) Size ¶
func (m *MsgClaimRewards) Size() (n int)
func (*MsgClaimRewards) String ¶
func (m *MsgClaimRewards) String() string
func (*MsgClaimRewards) Unmarshal ¶
func (m *MsgClaimRewards) Unmarshal(dAtA []byte) error
func (*MsgClaimRewards) ValidateBasic ¶
func (msg *MsgClaimRewards) ValidateBasic() error
func (*MsgClaimRewards) XXX_DiscardUnknown ¶
func (m *MsgClaimRewards) XXX_DiscardUnknown()
func (*MsgClaimRewards) XXX_Marshal ¶
func (m *MsgClaimRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimRewards) XXX_Merge ¶
func (m *MsgClaimRewards) XXX_Merge(src proto.Message)
func (*MsgClaimRewards) XXX_Size ¶
func (m *MsgClaimRewards) XXX_Size() int
func (*MsgClaimRewards) XXX_Unmarshal ¶
func (m *MsgClaimRewards) XXX_Unmarshal(b []byte) error
type MsgClaimRewardsResponse ¶
type MsgClaimRewardsResponse struct { }
func (*MsgClaimRewardsResponse) Descriptor ¶
func (*MsgClaimRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgClaimRewardsResponse) Marshal ¶
func (m *MsgClaimRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimRewardsResponse) MarshalTo ¶
func (m *MsgClaimRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimRewardsResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimRewardsResponse) ProtoMessage ¶
func (*MsgClaimRewardsResponse) ProtoMessage()
func (*MsgClaimRewardsResponse) Reset ¶
func (m *MsgClaimRewardsResponse) Reset()
func (*MsgClaimRewardsResponse) Size ¶
func (m *MsgClaimRewardsResponse) Size() (n int)
func (*MsgClaimRewardsResponse) String ¶
func (m *MsgClaimRewardsResponse) String() string
func (*MsgClaimRewardsResponse) Unmarshal ¶
func (m *MsgClaimRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimRewardsResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimRewardsResponse) XXX_DiscardUnknown()
func (*MsgClaimRewardsResponse) XXX_Marshal ¶
func (m *MsgClaimRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimRewardsResponse) XXX_Merge ¶
func (m *MsgClaimRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgClaimRewardsResponse) XXX_Size ¶
func (m *MsgClaimRewardsResponse) XXX_Size() int
func (*MsgClaimRewardsResponse) XXX_Unmarshal ¶
func (m *MsgClaimRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddExternalRewardDenom(ctx context.Context, in *MsgAddExternalRewardDenom, opts ...grpc.CallOption) (*MsgAddExternalRewardDenomResponse, error) AddExternalIncentive(ctx context.Context, in *MsgAddExternalIncentive, opts ...grpc.CallOption) (*MsgAddExternalIncentiveResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) UpdatePoolMultipliers(ctx context.Context, in *MsgUpdatePoolMultipliers, opts ...grpc.CallOption) (*MsgUpdatePoolMultipliersResponse, error) ClaimRewards(ctx context.Context, in *MsgClaimRewards, opts ...grpc.CallOption) (*MsgClaimRewardsResponse, error) TogglePoolEdenRewards(ctx context.Context, in *MsgTogglePoolEdenRewards, opts ...grpc.CallOption) (*MsgTogglePoolEdenRewardsResponse, 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 { AddExternalRewardDenom(context.Context, *MsgAddExternalRewardDenom) (*MsgAddExternalRewardDenomResponse, error) AddExternalIncentive(context.Context, *MsgAddExternalIncentive) (*MsgAddExternalIncentiveResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) UpdatePoolMultipliers(context.Context, *MsgUpdatePoolMultipliers) (*MsgUpdatePoolMultipliersResponse, error) ClaimRewards(context.Context, *MsgClaimRewards) (*MsgClaimRewardsResponse, error) TogglePoolEdenRewards(context.Context, *MsgTogglePoolEdenRewards) (*MsgTogglePoolEdenRewardsResponse, error) }
MsgServer is the server API for Msg service.
type MsgTogglePoolEdenRewards ¶ added in v0.45.0
type MsgTogglePoolEdenRewards struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` }
func (*MsgTogglePoolEdenRewards) Descriptor ¶ added in v0.45.0
func (*MsgTogglePoolEdenRewards) Descriptor() ([]byte, []int)
func (*MsgTogglePoolEdenRewards) GetAuthority ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) GetAuthority() string
func (*MsgTogglePoolEdenRewards) GetEnable ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) GetEnable() bool
func (*MsgTogglePoolEdenRewards) GetPoolId ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) GetPoolId() uint64
func (*MsgTogglePoolEdenRewards) Marshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) Marshal() (dAtA []byte, err error)
func (*MsgTogglePoolEdenRewards) MarshalTo ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgTogglePoolEdenRewards) MarshalToSizedBuffer ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTogglePoolEdenRewards) ProtoMessage ¶ added in v0.45.0
func (*MsgTogglePoolEdenRewards) ProtoMessage()
func (*MsgTogglePoolEdenRewards) Reset ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) Reset()
func (*MsgTogglePoolEdenRewards) Size ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) Size() (n int)
func (*MsgTogglePoolEdenRewards) String ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) String() string
func (*MsgTogglePoolEdenRewards) Unmarshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) Unmarshal(dAtA []byte) error
func (*MsgTogglePoolEdenRewards) ValidateBasic ¶ added in v0.45.0
func (msg *MsgTogglePoolEdenRewards) ValidateBasic() error
func (*MsgTogglePoolEdenRewards) XXX_DiscardUnknown ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) XXX_DiscardUnknown()
func (*MsgTogglePoolEdenRewards) XXX_Marshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTogglePoolEdenRewards) XXX_Merge ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) XXX_Merge(src proto.Message)
func (*MsgTogglePoolEdenRewards) XXX_Size ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) XXX_Size() int
func (*MsgTogglePoolEdenRewards) XXX_Unmarshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewards) XXX_Unmarshal(b []byte) error
type MsgTogglePoolEdenRewardsResponse ¶ added in v0.45.0
type MsgTogglePoolEdenRewardsResponse struct { }
func (*MsgTogglePoolEdenRewardsResponse) Descriptor ¶ added in v0.45.0
func (*MsgTogglePoolEdenRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgTogglePoolEdenRewardsResponse) Marshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgTogglePoolEdenRewardsResponse) MarshalTo ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTogglePoolEdenRewardsResponse) MarshalToSizedBuffer ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTogglePoolEdenRewardsResponse) ProtoMessage ¶ added in v0.45.0
func (*MsgTogglePoolEdenRewardsResponse) ProtoMessage()
func (*MsgTogglePoolEdenRewardsResponse) Reset ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) Reset()
func (*MsgTogglePoolEdenRewardsResponse) Size ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) Size() (n int)
func (*MsgTogglePoolEdenRewardsResponse) String ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) String() string
func (*MsgTogglePoolEdenRewardsResponse) Unmarshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgTogglePoolEdenRewardsResponse) XXX_DiscardUnknown ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) XXX_DiscardUnknown()
func (*MsgTogglePoolEdenRewardsResponse) XXX_Marshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTogglePoolEdenRewardsResponse) XXX_Merge ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgTogglePoolEdenRewardsResponse) XXX_Size ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) XXX_Size() int
func (*MsgTogglePoolEdenRewardsResponse) XXX_Unmarshal ¶ added in v0.45.0
func (m *MsgTogglePoolEdenRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (msg *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePoolMultipliers ¶
type MsgUpdatePoolMultipliers struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` PoolMultipliers []PoolMultiplier `protobuf:"bytes,2,rep,name=pool_multipliers,json=poolMultipliers,proto3" json:"pool_multipliers"` }
func (*MsgUpdatePoolMultipliers) Descriptor ¶
func (*MsgUpdatePoolMultipliers) Descriptor() ([]byte, []int)
func (*MsgUpdatePoolMultipliers) GetAuthority ¶
func (m *MsgUpdatePoolMultipliers) GetAuthority() string
func (*MsgUpdatePoolMultipliers) GetPoolMultipliers ¶
func (m *MsgUpdatePoolMultipliers) GetPoolMultipliers() []PoolMultiplier
func (*MsgUpdatePoolMultipliers) Marshal ¶
func (m *MsgUpdatePoolMultipliers) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePoolMultipliers) MarshalTo ¶
func (m *MsgUpdatePoolMultipliers) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePoolMultipliers) MarshalToSizedBuffer ¶
func (m *MsgUpdatePoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePoolMultipliers) ProtoMessage ¶
func (*MsgUpdatePoolMultipliers) ProtoMessage()
func (*MsgUpdatePoolMultipliers) Reset ¶
func (m *MsgUpdatePoolMultipliers) Reset()
func (*MsgUpdatePoolMultipliers) Size ¶
func (m *MsgUpdatePoolMultipliers) Size() (n int)
func (*MsgUpdatePoolMultipliers) String ¶
func (m *MsgUpdatePoolMultipliers) String() string
func (*MsgUpdatePoolMultipliers) Unmarshal ¶
func (m *MsgUpdatePoolMultipliers) Unmarshal(dAtA []byte) error
func (*MsgUpdatePoolMultipliers) ValidateBasic ¶
func (msg *MsgUpdatePoolMultipliers) ValidateBasic() error
func (*MsgUpdatePoolMultipliers) XXX_DiscardUnknown ¶
func (m *MsgUpdatePoolMultipliers) XXX_DiscardUnknown()
func (*MsgUpdatePoolMultipliers) XXX_Marshal ¶
func (m *MsgUpdatePoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePoolMultipliers) XXX_Merge ¶
func (m *MsgUpdatePoolMultipliers) XXX_Merge(src proto.Message)
func (*MsgUpdatePoolMultipliers) XXX_Size ¶
func (m *MsgUpdatePoolMultipliers) XXX_Size() int
func (*MsgUpdatePoolMultipliers) XXX_Unmarshal ¶
func (m *MsgUpdatePoolMultipliers) XXX_Unmarshal(b []byte) error
type MsgUpdatePoolMultipliersResponse ¶
type MsgUpdatePoolMultipliersResponse struct { }
func (*MsgUpdatePoolMultipliersResponse) Descriptor ¶
func (*MsgUpdatePoolMultipliersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdatePoolMultipliersResponse) Marshal ¶
func (m *MsgUpdatePoolMultipliersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePoolMultipliersResponse) MarshalTo ¶
func (m *MsgUpdatePoolMultipliersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePoolMultipliersResponse) ProtoMessage ¶
func (*MsgUpdatePoolMultipliersResponse) ProtoMessage()
func (*MsgUpdatePoolMultipliersResponse) Reset ¶
func (m *MsgUpdatePoolMultipliersResponse) Reset()
func (*MsgUpdatePoolMultipliersResponse) Size ¶
func (m *MsgUpdatePoolMultipliersResponse) Size() (n int)
func (*MsgUpdatePoolMultipliersResponse) String ¶
func (m *MsgUpdatePoolMultipliersResponse) String() string
func (*MsgUpdatePoolMultipliersResponse) Unmarshal ¶
func (m *MsgUpdatePoolMultipliersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdatePoolMultipliersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdatePoolMultipliersResponse) XXX_DiscardUnknown()
func (*MsgUpdatePoolMultipliersResponse) XXX_Marshal ¶
func (m *MsgUpdatePoolMultipliersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePoolMultipliersResponse) XXX_Merge ¶
func (m *MsgUpdatePoolMultipliersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdatePoolMultipliersResponse) XXX_Size ¶
func (m *MsgUpdatePoolMultipliersResponse) XXX_Size() int
func (*MsgUpdatePoolMultipliersResponse) XXX_Unmarshal ¶
func (m *MsgUpdatePoolMultipliersResponse) 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) math.LegacyDec GetPriceFeeder(ctx sdk.Context, feeder sdk.AccAddress) (val oracletypes.PriceFeeder, found bool) }
OracleKeeper defines the expected interface needed to retrieve price info
type ParameterKeeper ¶
type ParameterKeeper interface {
GetParams(ctx sdk.Context) (params parametertypes.Params)
}
type Params ¶
type Params struct { LpIncentives *IncentiveInfo `protobuf:"bytes,1,opt,name=lp_incentives,json=lpIncentives,proto3" json:"lp_incentives,omitempty"` // gas fees and swap fees portion for lps, `100 - reward_portion_for_lps - // reward_portion_for_stakers = revenue percent for protocol`. RewardPortionForLps cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */ // gas fees and swap fees portion for stakers, `100 - reward_portion_for_lps - // reward_portion_for_stakers = revenue percent for protocol`. RewardPortionForStakers cosmossdk_io_math.LegacyDec `` /* 163-byte string literal not displayed */ // Maximum eden reward apr for lps - [0 - 0.3] MaxEdenRewardAprLps cosmossdk_io_math.LegacyDec `` /* 153-byte string literal not displayed */ SupportedRewardDenoms []*SupportedRewardDenom `` /* 126-byte string literal not displayed */ ProtocolRevenueAddress string `` /* 129-byte string literal not displayed */ }
func NewParams ¶
func NewParams( lpIncentives *IncentiveInfo, rewardPortionForLps sdkmath.LegacyDec, rewardPortionForStakers sdkmath.LegacyDec, maxEdenRewardAprLps sdkmath.LegacyDec, protocolRevenueAddress string, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetLpIncentives ¶
func (m *Params) GetLpIncentives() *IncentiveInfo
func (*Params) GetProtocolRevenueAddress ¶
func (*Params) GetSupportedRewardDenoms ¶
func (m *Params) GetSupportedRewardDenoms() []*SupportedRewardDenom
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PoolApr ¶
type PoolApr struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` EdenApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"` UsdcApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=usdc_apr,json=usdcApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr"` TotalApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=total_apr,json=totalApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"total_apr"` }
func (*PoolApr) Descriptor ¶
func (*PoolApr) MarshalToSizedBuffer ¶
func (*PoolApr) ProtoMessage ¶
func (*PoolApr) ProtoMessage()
func (*PoolApr) XXX_DiscardUnknown ¶
func (m *PoolApr) XXX_DiscardUnknown()
func (*PoolApr) XXX_Marshal ¶
func (*PoolApr) XXX_Unmarshal ¶
type PoolInfo ¶
type PoolInfo struct { 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 cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"` // Eden APR, updated at every distribution EdenApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"` // Dex APR, updated based on 24hr accumulation DexApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_apr"` // Gas APR, updated based on 24hr accumulation GasApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_apr"` // External Incentive APR, updated at every distribution ExternalIncentiveApr cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */ // external reward denoms on the pool ExternalRewardDenoms []string `protobuf:"bytes,8,rep,name=external_reward_denoms,json=externalRewardDenoms,proto3" json:"external_reward_denoms,omitempty"` // Enable or disable eden rewards EnableEdenRewards bool `protobuf:"varint,9,opt,name=enable_eden_rewards,json=enableEdenRewards,proto3" json:"enable_eden_rewards,omitempty"` }
func (*PoolInfo) Descriptor ¶
func (*PoolInfo) GetEnableEdenRewards ¶ added in v0.45.0
func (*PoolInfo) GetExternalRewardDenoms ¶
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 PoolMultiplier ¶
type PoolMultiplier struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Multiplier cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"` }
func (*PoolMultiplier) Descriptor ¶
func (*PoolMultiplier) Descriptor() ([]byte, []int)
func (*PoolMultiplier) GetPoolId ¶
func (m *PoolMultiplier) GetPoolId() uint64
func (*PoolMultiplier) Marshal ¶
func (m *PoolMultiplier) Marshal() (dAtA []byte, err error)
func (*PoolMultiplier) MarshalToSizedBuffer ¶
func (m *PoolMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolMultiplier) ProtoMessage ¶
func (*PoolMultiplier) ProtoMessage()
func (*PoolMultiplier) Reset ¶
func (m *PoolMultiplier) Reset()
func (*PoolMultiplier) Size ¶
func (m *PoolMultiplier) Size() (n int)
func (*PoolMultiplier) String ¶
func (m *PoolMultiplier) String() string
func (*PoolMultiplier) Unmarshal ¶
func (m *PoolMultiplier) Unmarshal(dAtA []byte) error
func (*PoolMultiplier) XXX_DiscardUnknown ¶
func (m *PoolMultiplier) XXX_DiscardUnknown()
func (*PoolMultiplier) XXX_Marshal ¶
func (m *PoolMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolMultiplier) XXX_Merge ¶
func (m *PoolMultiplier) XXX_Merge(src proto.Message)
func (*PoolMultiplier) XXX_Size ¶
func (m *PoolMultiplier) XXX_Size() int
func (*PoolMultiplier) XXX_Unmarshal ¶
func (m *PoolMultiplier) XXX_Unmarshal(b []byte) error
type PoolRewardInfo ¶
type PoolRewardInfo struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` LastUpdatedBlock uint64 `protobuf:"varint,4,opt,name=last_updated_block,json=lastUpdatedBlock,proto3" json:"last_updated_block,omitempty"` }
func (*PoolRewardInfo) Descriptor ¶
func (*PoolRewardInfo) Descriptor() ([]byte, []int)
func (*PoolRewardInfo) GetLastUpdatedBlock ¶
func (m *PoolRewardInfo) GetLastUpdatedBlock() uint64
func (*PoolRewardInfo) GetPoolId ¶
func (m *PoolRewardInfo) GetPoolId() uint64
func (*PoolRewardInfo) GetRewardDenom ¶
func (m *PoolRewardInfo) GetRewardDenom() string
func (*PoolRewardInfo) Marshal ¶
func (m *PoolRewardInfo) Marshal() (dAtA []byte, err error)
func (*PoolRewardInfo) MarshalToSizedBuffer ¶
func (m *PoolRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolRewardInfo) ProtoMessage ¶
func (*PoolRewardInfo) ProtoMessage()
func (*PoolRewardInfo) Reset ¶
func (m *PoolRewardInfo) Reset()
func (*PoolRewardInfo) Size ¶
func (m *PoolRewardInfo) Size() (n int)
func (*PoolRewardInfo) String ¶
func (m *PoolRewardInfo) String() string
func (*PoolRewardInfo) Unmarshal ¶
func (m *PoolRewardInfo) Unmarshal(dAtA []byte) error
func (*PoolRewardInfo) XXX_DiscardUnknown ¶
func (m *PoolRewardInfo) XXX_DiscardUnknown()
func (*PoolRewardInfo) XXX_Marshal ¶
func (m *PoolRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolRewardInfo) XXX_Merge ¶
func (m *PoolRewardInfo) XXX_Merge(src proto.Message)
func (*PoolRewardInfo) XXX_Size ¶
func (m *PoolRewardInfo) XXX_Size() int
func (*PoolRewardInfo) XXX_Unmarshal ¶
func (m *PoolRewardInfo) XXX_Unmarshal(b []byte) error
type PoolRewards ¶ added in v0.49.0
type PoolRewards struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardsUsd cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=rewards_usd,json=rewardsUsd,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rewards_usd"` RewardCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ EdenForward types.Coin `protobuf:"bytes,4,opt,name=eden_forward,json=edenForward,proto3" json:"eden_forward"` RewardsUsdApr cosmossdk_io_math.LegacyDec `` /* 131-byte string literal not displayed */ ExternalRewardsApr cosmossdk_io_math.LegacyDec `` /* 146-byte string literal not displayed */ }
func (*PoolRewards) Descriptor ¶ added in v0.49.0
func (*PoolRewards) Descriptor() ([]byte, []int)
func (*PoolRewards) GetEdenForward ¶ added in v0.49.0
func (m *PoolRewards) GetEdenForward() types.Coin
func (*PoolRewards) GetPoolId ¶ added in v0.49.0
func (m *PoolRewards) GetPoolId() uint64
func (*PoolRewards) GetRewardCoins ¶ added in v0.49.0
func (m *PoolRewards) GetRewardCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*PoolRewards) Marshal ¶ added in v0.49.0
func (m *PoolRewards) Marshal() (dAtA []byte, err error)
func (*PoolRewards) MarshalTo ¶ added in v0.49.0
func (m *PoolRewards) MarshalTo(dAtA []byte) (int, error)
func (*PoolRewards) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *PoolRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolRewards) ProtoMessage ¶ added in v0.49.0
func (*PoolRewards) ProtoMessage()
func (*PoolRewards) Reset ¶ added in v0.49.0
func (m *PoolRewards) Reset()
func (*PoolRewards) Size ¶ added in v0.49.0
func (m *PoolRewards) Size() (n int)
func (*PoolRewards) String ¶ added in v0.49.0
func (m *PoolRewards) String() string
func (*PoolRewards) Unmarshal ¶ added in v0.49.0
func (m *PoolRewards) Unmarshal(dAtA []byte) error
func (*PoolRewards) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *PoolRewards) XXX_DiscardUnknown()
func (*PoolRewards) XXX_Marshal ¶ added in v0.49.0
func (m *PoolRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolRewards) XXX_Merge ¶ added in v0.49.0
func (m *PoolRewards) XXX_Merge(src proto.Message)
func (*PoolRewards) XXX_Size ¶ added in v0.49.0
func (m *PoolRewards) XXX_Size() int
func (*PoolRewards) XXX_Unmarshal ¶ added in v0.49.0
func (m *PoolRewards) XXX_Unmarshal(b []byte) error
type PoolRewardsAccum ¶ added in v0.33.0
type PoolRewardsAccum struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` DexReward cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=dex_reward,json=dexReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_reward"` GasReward cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=gas_reward,json=gasReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_reward"` EdenReward cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=eden_reward,json=edenReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_reward"` }
func (*PoolRewardsAccum) Descriptor ¶ added in v0.33.0
func (*PoolRewardsAccum) Descriptor() ([]byte, []int)
func (*PoolRewardsAccum) GetBlockHeight ¶ added in v0.33.0
func (m *PoolRewardsAccum) GetBlockHeight() int64
func (*PoolRewardsAccum) GetPoolId ¶ added in v0.33.0
func (m *PoolRewardsAccum) GetPoolId() uint64
func (*PoolRewardsAccum) GetTimestamp ¶ added in v0.33.0
func (m *PoolRewardsAccum) GetTimestamp() uint64
func (*PoolRewardsAccum) Marshal ¶ added in v0.33.0
func (m *PoolRewardsAccum) Marshal() (dAtA []byte, err error)
func (*PoolRewardsAccum) MarshalTo ¶ added in v0.33.0
func (m *PoolRewardsAccum) MarshalTo(dAtA []byte) (int, error)
func (*PoolRewardsAccum) MarshalToSizedBuffer ¶ added in v0.33.0
func (m *PoolRewardsAccum) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolRewardsAccum) ProtoMessage ¶ added in v0.33.0
func (*PoolRewardsAccum) ProtoMessage()
func (*PoolRewardsAccum) Reset ¶ added in v0.33.0
func (m *PoolRewardsAccum) Reset()
func (*PoolRewardsAccum) Size ¶ added in v0.33.0
func (m *PoolRewardsAccum) Size() (n int)
func (*PoolRewardsAccum) String ¶ added in v0.33.0
func (m *PoolRewardsAccum) String() string
func (*PoolRewardsAccum) Unmarshal ¶ added in v0.33.0
func (m *PoolRewardsAccum) Unmarshal(dAtA []byte) error
func (*PoolRewardsAccum) XXX_DiscardUnknown ¶ added in v0.33.0
func (m *PoolRewardsAccum) XXX_DiscardUnknown()
func (*PoolRewardsAccum) XXX_Marshal ¶ added in v0.33.0
func (m *PoolRewardsAccum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolRewardsAccum) XXX_Merge ¶ added in v0.33.0
func (m *PoolRewardsAccum) XXX_Merge(src proto.Message)
func (*PoolRewardsAccum) XXX_Size ¶ added in v0.33.0
func (m *PoolRewardsAccum) XXX_Size() int
func (*PoolRewardsAccum) XXX_Unmarshal ¶ added in v0.33.0
func (m *PoolRewardsAccum) XXX_Unmarshal(b []byte) error
type QueryAprRequest ¶ added in v0.49.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.49.0
func (*QueryAprRequest) Descriptor() ([]byte, []int)
func (*QueryAprRequest) GetDenom ¶ added in v0.49.0
func (m *QueryAprRequest) GetDenom() string
func (*QueryAprRequest) GetWithdrawType ¶ added in v0.49.0
func (m *QueryAprRequest) GetWithdrawType() types1.EarnType
func (*QueryAprRequest) Marshal ¶ added in v0.49.0
func (m *QueryAprRequest) Marshal() (dAtA []byte, err error)
func (*QueryAprRequest) MarshalTo ¶ added in v0.49.0
func (m *QueryAprRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprRequest) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprRequest) ProtoMessage ¶ added in v0.49.0
func (*QueryAprRequest) ProtoMessage()
func (*QueryAprRequest) Reset ¶ added in v0.49.0
func (m *QueryAprRequest) Reset()
func (*QueryAprRequest) Size ¶ added in v0.49.0
func (m *QueryAprRequest) Size() (n int)
func (*QueryAprRequest) String ¶ added in v0.49.0
func (m *QueryAprRequest) String() string
func (*QueryAprRequest) Unmarshal ¶ added in v0.49.0
func (m *QueryAprRequest) Unmarshal(dAtA []byte) error
func (*QueryAprRequest) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryAprRequest) XXX_DiscardUnknown()
func (*QueryAprRequest) XXX_Marshal ¶ added in v0.49.0
func (m *QueryAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprRequest) XXX_Merge ¶ added in v0.49.0
func (m *QueryAprRequest) XXX_Merge(src proto.Message)
func (*QueryAprRequest) XXX_Size ¶ added in v0.49.0
func (m *QueryAprRequest) XXX_Size() int
func (*QueryAprRequest) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryAprRequest) XXX_Unmarshal(b []byte) error
type QueryAprResponse ¶ added in v0.49.0
type QueryAprResponse struct {
Apr cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"`
}
func (*QueryAprResponse) Descriptor ¶ added in v0.49.0
func (*QueryAprResponse) Descriptor() ([]byte, []int)
func (*QueryAprResponse) Marshal ¶ added in v0.49.0
func (m *QueryAprResponse) Marshal() (dAtA []byte, err error)
func (*QueryAprResponse) MarshalTo ¶ added in v0.49.0
func (m *QueryAprResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprResponse) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprResponse) ProtoMessage ¶ added in v0.49.0
func (*QueryAprResponse) ProtoMessage()
func (*QueryAprResponse) Reset ¶ added in v0.49.0
func (m *QueryAprResponse) Reset()
func (*QueryAprResponse) Size ¶ added in v0.49.0
func (m *QueryAprResponse) Size() (n int)
func (*QueryAprResponse) String ¶ added in v0.49.0
func (m *QueryAprResponse) String() string
func (*QueryAprResponse) Unmarshal ¶ added in v0.49.0
func (m *QueryAprResponse) Unmarshal(dAtA []byte) error
func (*QueryAprResponse) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryAprResponse) XXX_DiscardUnknown()
func (*QueryAprResponse) XXX_Marshal ¶ added in v0.49.0
func (m *QueryAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprResponse) XXX_Merge ¶ added in v0.49.0
func (m *QueryAprResponse) XXX_Merge(src proto.Message)
func (*QueryAprResponse) XXX_Size ¶ added in v0.49.0
func (m *QueryAprResponse) XXX_Size() int
func (*QueryAprResponse) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryAprResponse) XXX_Unmarshal(b []byte) error
type QueryAprsRequest ¶ added in v0.49.0
type QueryAprsRequest struct { }
func (*QueryAprsRequest) Descriptor ¶ added in v0.49.0
func (*QueryAprsRequest) Descriptor() ([]byte, []int)
func (*QueryAprsRequest) Marshal ¶ added in v0.49.0
func (m *QueryAprsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAprsRequest) MarshalTo ¶ added in v0.49.0
func (m *QueryAprsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprsRequest) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprsRequest) ProtoMessage ¶ added in v0.49.0
func (*QueryAprsRequest) ProtoMessage()
func (*QueryAprsRequest) Reset ¶ added in v0.49.0
func (m *QueryAprsRequest) Reset()
func (*QueryAprsRequest) Size ¶ added in v0.49.0
func (m *QueryAprsRequest) Size() (n int)
func (*QueryAprsRequest) String ¶ added in v0.49.0
func (m *QueryAprsRequest) String() string
func (*QueryAprsRequest) Unmarshal ¶ added in v0.49.0
func (m *QueryAprsRequest) Unmarshal(dAtA []byte) error
func (*QueryAprsRequest) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryAprsRequest) XXX_DiscardUnknown()
func (*QueryAprsRequest) XXX_Marshal ¶ added in v0.49.0
func (m *QueryAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprsRequest) XXX_Merge ¶ added in v0.49.0
func (m *QueryAprsRequest) XXX_Merge(src proto.Message)
func (*QueryAprsRequest) XXX_Size ¶ added in v0.49.0
func (m *QueryAprsRequest) XXX_Size() int
func (*QueryAprsRequest) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryAprsRequest) XXX_Unmarshal(b []byte) error
type QueryAprsResponse ¶ added in v0.49.0
type QueryAprsResponse struct { UsdcAprUsdc cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=usdc_apr_usdc,json=usdcAprUsdc,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_usdc"` EdenAprUsdc cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=eden_apr_usdc,json=edenAprUsdc,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_usdc"` UsdcAprEdenb cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */ EdenAprEdenb cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */ UsdcAprEden cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=usdc_apr_eden,json=usdcAprEden,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_eden"` EdenAprEden cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=eden_apr_eden,json=edenAprEden,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_eden"` EdenbAprEden cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */ UsdcAprElys cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=usdc_apr_elys,json=usdcAprElys,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_elys"` EdenAprElys cosmossdk_io_math.LegacyDec `protobuf:"bytes,9,opt,name=eden_apr_elys,json=edenAprElys,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_elys"` EdenbAprElys cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */ }
func (*QueryAprsResponse) Descriptor ¶ added in v0.49.0
func (*QueryAprsResponse) Descriptor() ([]byte, []int)
func (*QueryAprsResponse) Marshal ¶ added in v0.49.0
func (m *QueryAprsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAprsResponse) MarshalTo ¶ added in v0.49.0
func (m *QueryAprsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAprsResponse) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAprsResponse) ProtoMessage ¶ added in v0.49.0
func (*QueryAprsResponse) ProtoMessage()
func (*QueryAprsResponse) Reset ¶ added in v0.49.0
func (m *QueryAprsResponse) Reset()
func (*QueryAprsResponse) Size ¶ added in v0.49.0
func (m *QueryAprsResponse) Size() (n int)
func (*QueryAprsResponse) String ¶ added in v0.49.0
func (m *QueryAprsResponse) String() string
func (*QueryAprsResponse) Unmarshal ¶ added in v0.49.0
func (m *QueryAprsResponse) Unmarshal(dAtA []byte) error
func (*QueryAprsResponse) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryAprsResponse) XXX_DiscardUnknown()
func (*QueryAprsResponse) XXX_Marshal ¶ added in v0.49.0
func (m *QueryAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAprsResponse) XXX_Merge ¶ added in v0.49.0
func (m *QueryAprsResponse) XXX_Merge(src proto.Message)
func (*QueryAprsResponse) XXX_Size ¶ added in v0.49.0
func (m *QueryAprsResponse) XXX_Size() int
func (*QueryAprsResponse) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryAprsResponse) 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) ExternalIncentive(ctx context.Context, in *QueryExternalIncentiveRequest, opts ...grpc.CallOption) (*QueryExternalIncentiveResponse, error) PoolInfo(ctx context.Context, in *QueryPoolInfoRequest, opts ...grpc.CallOption) (*QueryPoolInfoResponse, error) PoolRewardInfo(ctx context.Context, in *QueryPoolRewardInfoRequest, opts ...grpc.CallOption) (*QueryPoolRewardInfoResponse, error) UserRewardInfo(ctx context.Context, in *QueryUserRewardInfoRequest, opts ...grpc.CallOption) (*QueryUserRewardInfoResponse, error) UserPendingReward(ctx context.Context, in *QueryUserPendingRewardRequest, opts ...grpc.CallOption) (*QueryUserPendingRewardResponse, error) StableStakeApr(ctx context.Context, in *QueryStableStakeAprRequest, opts ...grpc.CallOption) (*QueryStableStakeAprResponse, error) PoolAprs(ctx context.Context, in *QueryPoolAprsRequest, opts ...grpc.CallOption) (*QueryPoolAprsResponse, error) // Queries a list of ShowFeeInfo items. ShowFeeInfo(ctx context.Context, in *QueryShowFeeInfoRequest, opts ...grpc.CallOption) (*QueryShowFeeInfoResponse, error) // Queries a list of ListFeeInfo items. ListFeeInfo(ctx context.Context, in *QueryListFeeInfoRequest, opts ...grpc.CallOption) (*QueryListFeeInfoResponse, error) // Calculate APR Apr(ctx context.Context, in *QueryAprRequest, opts ...grpc.CallOption) (*QueryAprResponse, error) // Calculate APRs Aprs(ctx context.Context, in *QueryAprsRequest, opts ...grpc.CallOption) (*QueryAprsResponse, error) // Queries PoolReward items PoolRewards(ctx context.Context, in *QueryPoolRewardsRequest, opts ...grpc.CallOption) (*QueryPoolRewardsResponse, 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 QueryExternalIncentiveRequest ¶
type QueryExternalIncentiveRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryExternalIncentiveRequest) Descriptor ¶
func (*QueryExternalIncentiveRequest) Descriptor() ([]byte, []int)
func (*QueryExternalIncentiveRequest) GetId ¶
func (m *QueryExternalIncentiveRequest) GetId() uint64
func (*QueryExternalIncentiveRequest) Marshal ¶
func (m *QueryExternalIncentiveRequest) Marshal() (dAtA []byte, err error)
func (*QueryExternalIncentiveRequest) MarshalTo ¶
func (m *QueryExternalIncentiveRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryExternalIncentiveRequest) MarshalToSizedBuffer ¶
func (m *QueryExternalIncentiveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExternalIncentiveRequest) ProtoMessage ¶
func (*QueryExternalIncentiveRequest) ProtoMessage()
func (*QueryExternalIncentiveRequest) Reset ¶
func (m *QueryExternalIncentiveRequest) Reset()
func (*QueryExternalIncentiveRequest) Size ¶
func (m *QueryExternalIncentiveRequest) Size() (n int)
func (*QueryExternalIncentiveRequest) String ¶
func (m *QueryExternalIncentiveRequest) String() string
func (*QueryExternalIncentiveRequest) Unmarshal ¶
func (m *QueryExternalIncentiveRequest) Unmarshal(dAtA []byte) error
func (*QueryExternalIncentiveRequest) XXX_DiscardUnknown ¶
func (m *QueryExternalIncentiveRequest) XXX_DiscardUnknown()
func (*QueryExternalIncentiveRequest) XXX_Marshal ¶
func (m *QueryExternalIncentiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExternalIncentiveRequest) XXX_Merge ¶
func (m *QueryExternalIncentiveRequest) XXX_Merge(src proto.Message)
func (*QueryExternalIncentiveRequest) XXX_Size ¶
func (m *QueryExternalIncentiveRequest) XXX_Size() int
func (*QueryExternalIncentiveRequest) XXX_Unmarshal ¶
func (m *QueryExternalIncentiveRequest) XXX_Unmarshal(b []byte) error
type QueryExternalIncentiveResponse ¶
type QueryExternalIncentiveResponse struct {
ExternalIncentive ExternalIncentive `protobuf:"bytes,1,opt,name=external_incentive,json=externalIncentive,proto3" json:"external_incentive"`
}
func (*QueryExternalIncentiveResponse) Descriptor ¶
func (*QueryExternalIncentiveResponse) Descriptor() ([]byte, []int)
func (*QueryExternalIncentiveResponse) GetExternalIncentive ¶
func (m *QueryExternalIncentiveResponse) GetExternalIncentive() ExternalIncentive
func (*QueryExternalIncentiveResponse) Marshal ¶
func (m *QueryExternalIncentiveResponse) Marshal() (dAtA []byte, err error)
func (*QueryExternalIncentiveResponse) MarshalTo ¶
func (m *QueryExternalIncentiveResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExternalIncentiveResponse) MarshalToSizedBuffer ¶
func (m *QueryExternalIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExternalIncentiveResponse) ProtoMessage ¶
func (*QueryExternalIncentiveResponse) ProtoMessage()
func (*QueryExternalIncentiveResponse) Reset ¶
func (m *QueryExternalIncentiveResponse) Reset()
func (*QueryExternalIncentiveResponse) Size ¶
func (m *QueryExternalIncentiveResponse) Size() (n int)
func (*QueryExternalIncentiveResponse) String ¶
func (m *QueryExternalIncentiveResponse) String() string
func (*QueryExternalIncentiveResponse) Unmarshal ¶
func (m *QueryExternalIncentiveResponse) Unmarshal(dAtA []byte) error
func (*QueryExternalIncentiveResponse) XXX_DiscardUnknown ¶
func (m *QueryExternalIncentiveResponse) XXX_DiscardUnknown()
func (*QueryExternalIncentiveResponse) XXX_Marshal ¶
func (m *QueryExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExternalIncentiveResponse) XXX_Merge ¶
func (m *QueryExternalIncentiveResponse) XXX_Merge(src proto.Message)
func (*QueryExternalIncentiveResponse) XXX_Size ¶
func (m *QueryExternalIncentiveResponse) XXX_Size() int
func (*QueryExternalIncentiveResponse) XXX_Unmarshal ¶
func (m *QueryExternalIncentiveResponse) XXX_Unmarshal(b []byte) error
type QueryListFeeInfoRequest ¶ added in v0.44.0
type QueryListFeeInfoRequest struct { }
func (*QueryListFeeInfoRequest) Descriptor ¶ added in v0.44.0
func (*QueryListFeeInfoRequest) Descriptor() ([]byte, []int)
func (*QueryListFeeInfoRequest) Marshal ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryListFeeInfoRequest) MarshalTo ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListFeeInfoRequest) MarshalToSizedBuffer ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListFeeInfoRequest) ProtoMessage ¶ added in v0.44.0
func (*QueryListFeeInfoRequest) ProtoMessage()
func (*QueryListFeeInfoRequest) Reset ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) Reset()
func (*QueryListFeeInfoRequest) Size ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) Size() (n int)
func (*QueryListFeeInfoRequest) String ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) String() string
func (*QueryListFeeInfoRequest) Unmarshal ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryListFeeInfoRequest) XXX_DiscardUnknown ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) XXX_DiscardUnknown()
func (*QueryListFeeInfoRequest) XXX_Marshal ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListFeeInfoRequest) XXX_Merge ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) XXX_Merge(src proto.Message)
func (*QueryListFeeInfoRequest) XXX_Size ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) XXX_Size() int
func (*QueryListFeeInfoRequest) XXX_Unmarshal ¶ added in v0.44.0
func (m *QueryListFeeInfoRequest) XXX_Unmarshal(b []byte) error
type QueryListFeeInfoResponse ¶ added in v0.44.0
type QueryListFeeInfoResponse struct {
FeeInfo []FeeInfo `protobuf:"bytes,1,rep,name=fee_info,json=feeInfo,proto3" json:"fee_info"`
}
func (*QueryListFeeInfoResponse) Descriptor ¶ added in v0.44.0
func (*QueryListFeeInfoResponse) Descriptor() ([]byte, []int)
func (*QueryListFeeInfoResponse) GetFeeInfo ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) GetFeeInfo() []FeeInfo
func (*QueryListFeeInfoResponse) Marshal ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryListFeeInfoResponse) MarshalTo ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListFeeInfoResponse) MarshalToSizedBuffer ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListFeeInfoResponse) ProtoMessage ¶ added in v0.44.0
func (*QueryListFeeInfoResponse) ProtoMessage()
func (*QueryListFeeInfoResponse) Reset ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) Reset()
func (*QueryListFeeInfoResponse) Size ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) Size() (n int)
func (*QueryListFeeInfoResponse) String ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) String() string
func (*QueryListFeeInfoResponse) Unmarshal ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryListFeeInfoResponse) XXX_DiscardUnknown ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) XXX_DiscardUnknown()
func (*QueryListFeeInfoResponse) XXX_Marshal ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListFeeInfoResponse) XXX_Merge ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) XXX_Merge(src proto.Message)
func (*QueryListFeeInfoResponse) XXX_Size ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) XXX_Size() int
func (*QueryListFeeInfoResponse) XXX_Unmarshal ¶ added in v0.44.0
func (m *QueryListFeeInfoResponse) 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 QueryPoolAprsRequest ¶
type QueryPoolAprsRequest struct {
PoolIds []uint64 `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
}
func (*QueryPoolAprsRequest) Descriptor ¶
func (*QueryPoolAprsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolAprsRequest) GetPoolIds ¶
func (m *QueryPoolAprsRequest) GetPoolIds() []uint64
func (*QueryPoolAprsRequest) Marshal ¶
func (m *QueryPoolAprsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolAprsRequest) MarshalTo ¶
func (m *QueryPoolAprsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolAprsRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolAprsRequest) ProtoMessage ¶
func (*QueryPoolAprsRequest) ProtoMessage()
func (*QueryPoolAprsRequest) Reset ¶
func (m *QueryPoolAprsRequest) Reset()
func (*QueryPoolAprsRequest) Size ¶
func (m *QueryPoolAprsRequest) Size() (n int)
func (*QueryPoolAprsRequest) String ¶
func (m *QueryPoolAprsRequest) String() string
func (*QueryPoolAprsRequest) Unmarshal ¶
func (m *QueryPoolAprsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolAprsRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolAprsRequest) XXX_DiscardUnknown()
func (*QueryPoolAprsRequest) XXX_Marshal ¶
func (m *QueryPoolAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolAprsRequest) XXX_Merge ¶
func (m *QueryPoolAprsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolAprsRequest) XXX_Size ¶
func (m *QueryPoolAprsRequest) XXX_Size() int
func (*QueryPoolAprsRequest) XXX_Unmarshal ¶
func (m *QueryPoolAprsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolAprsResponse ¶
type QueryPoolAprsResponse struct {
Data []PoolApr `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}
func (*QueryPoolAprsResponse) Descriptor ¶
func (*QueryPoolAprsResponse) Descriptor() ([]byte, []int)
func (*QueryPoolAprsResponse) GetData ¶
func (m *QueryPoolAprsResponse) GetData() []PoolApr
func (*QueryPoolAprsResponse) Marshal ¶
func (m *QueryPoolAprsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolAprsResponse) MarshalTo ¶
func (m *QueryPoolAprsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolAprsResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolAprsResponse) ProtoMessage ¶
func (*QueryPoolAprsResponse) ProtoMessage()
func (*QueryPoolAprsResponse) Reset ¶
func (m *QueryPoolAprsResponse) Reset()
func (*QueryPoolAprsResponse) Size ¶
func (m *QueryPoolAprsResponse) Size() (n int)
func (*QueryPoolAprsResponse) String ¶
func (m *QueryPoolAprsResponse) String() string
func (*QueryPoolAprsResponse) Unmarshal ¶
func (m *QueryPoolAprsResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolAprsResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolAprsResponse) XXX_DiscardUnknown()
func (*QueryPoolAprsResponse) XXX_Marshal ¶
func (m *QueryPoolAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolAprsResponse) XXX_Merge ¶
func (m *QueryPoolAprsResponse) XXX_Merge(src proto.Message)
func (*QueryPoolAprsResponse) XXX_Size ¶
func (m *QueryPoolAprsResponse) XXX_Size() int
func (*QueryPoolAprsResponse) XXX_Unmarshal ¶
func (m *QueryPoolAprsResponse) XXX_Unmarshal(b []byte) error
type QueryPoolInfoRequest ¶
type QueryPoolInfoRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*QueryPoolInfoRequest) Descriptor ¶
func (*QueryPoolInfoRequest) Descriptor() ([]byte, []int)
func (*QueryPoolInfoRequest) GetPoolId ¶
func (m *QueryPoolInfoRequest) GetPoolId() uint64
func (*QueryPoolInfoRequest) Marshal ¶
func (m *QueryPoolInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolInfoRequest) MarshalTo ¶
func (m *QueryPoolInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolInfoRequest) ProtoMessage ¶
func (*QueryPoolInfoRequest) ProtoMessage()
func (*QueryPoolInfoRequest) Reset ¶
func (m *QueryPoolInfoRequest) Reset()
func (*QueryPoolInfoRequest) Size ¶
func (m *QueryPoolInfoRequest) Size() (n int)
func (*QueryPoolInfoRequest) String ¶
func (m *QueryPoolInfoRequest) String() string
func (*QueryPoolInfoRequest) Unmarshal ¶
func (m *QueryPoolInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolInfoRequest) XXX_DiscardUnknown()
func (*QueryPoolInfoRequest) XXX_Marshal ¶
func (m *QueryPoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolInfoRequest) XXX_Merge ¶
func (m *QueryPoolInfoRequest) XXX_Merge(src proto.Message)
func (*QueryPoolInfoRequest) XXX_Size ¶
func (m *QueryPoolInfoRequest) XXX_Size() int
func (*QueryPoolInfoRequest) XXX_Unmarshal ¶
func (m *QueryPoolInfoRequest) XXX_Unmarshal(b []byte) error
type QueryPoolInfoResponse ¶
type QueryPoolInfoResponse struct {
PoolInfo PoolInfo `protobuf:"bytes,1,opt,name=pool_info,json=poolInfo,proto3" json:"pool_info"`
}
func (*QueryPoolInfoResponse) Descriptor ¶
func (*QueryPoolInfoResponse) Descriptor() ([]byte, []int)
func (*QueryPoolInfoResponse) GetPoolInfo ¶
func (m *QueryPoolInfoResponse) GetPoolInfo() PoolInfo
func (*QueryPoolInfoResponse) Marshal ¶
func (m *QueryPoolInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolInfoResponse) MarshalTo ¶
func (m *QueryPoolInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolInfoResponse) ProtoMessage ¶
func (*QueryPoolInfoResponse) ProtoMessage()
func (*QueryPoolInfoResponse) Reset ¶
func (m *QueryPoolInfoResponse) Reset()
func (*QueryPoolInfoResponse) Size ¶
func (m *QueryPoolInfoResponse) Size() (n int)
func (*QueryPoolInfoResponse) String ¶
func (m *QueryPoolInfoResponse) String() string
func (*QueryPoolInfoResponse) Unmarshal ¶
func (m *QueryPoolInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolInfoResponse) XXX_DiscardUnknown()
func (*QueryPoolInfoResponse) XXX_Marshal ¶
func (m *QueryPoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolInfoResponse) XXX_Merge ¶
func (m *QueryPoolInfoResponse) XXX_Merge(src proto.Message)
func (*QueryPoolInfoResponse) XXX_Size ¶
func (m *QueryPoolInfoResponse) XXX_Size() int
func (*QueryPoolInfoResponse) XXX_Unmarshal ¶
func (m *QueryPoolInfoResponse) XXX_Unmarshal(b []byte) error
type QueryPoolRewardInfoRequest ¶
type QueryPoolRewardInfoRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` }
func (*QueryPoolRewardInfoRequest) Descriptor ¶
func (*QueryPoolRewardInfoRequest) Descriptor() ([]byte, []int)
func (*QueryPoolRewardInfoRequest) GetPoolId ¶
func (m *QueryPoolRewardInfoRequest) GetPoolId() uint64
func (*QueryPoolRewardInfoRequest) GetRewardDenom ¶
func (m *QueryPoolRewardInfoRequest) GetRewardDenom() string
func (*QueryPoolRewardInfoRequest) Marshal ¶
func (m *QueryPoolRewardInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolRewardInfoRequest) MarshalTo ¶
func (m *QueryPoolRewardInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolRewardInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolRewardInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRewardInfoRequest) ProtoMessage ¶
func (*QueryPoolRewardInfoRequest) ProtoMessage()
func (*QueryPoolRewardInfoRequest) Reset ¶
func (m *QueryPoolRewardInfoRequest) Reset()
func (*QueryPoolRewardInfoRequest) Size ¶
func (m *QueryPoolRewardInfoRequest) Size() (n int)
func (*QueryPoolRewardInfoRequest) String ¶
func (m *QueryPoolRewardInfoRequest) String() string
func (*QueryPoolRewardInfoRequest) Unmarshal ¶
func (m *QueryPoolRewardInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolRewardInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolRewardInfoRequest) XXX_DiscardUnknown()
func (*QueryPoolRewardInfoRequest) XXX_Marshal ¶
func (m *QueryPoolRewardInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRewardInfoRequest) XXX_Merge ¶
func (m *QueryPoolRewardInfoRequest) XXX_Merge(src proto.Message)
func (*QueryPoolRewardInfoRequest) XXX_Size ¶
func (m *QueryPoolRewardInfoRequest) XXX_Size() int
func (*QueryPoolRewardInfoRequest) XXX_Unmarshal ¶
func (m *QueryPoolRewardInfoRequest) XXX_Unmarshal(b []byte) error
type QueryPoolRewardInfoResponse ¶
type QueryPoolRewardInfoResponse struct {
PoolRewardInfo PoolRewardInfo `protobuf:"bytes,1,opt,name=pool_reward_info,json=poolRewardInfo,proto3" json:"pool_reward_info"`
}
func (*QueryPoolRewardInfoResponse) Descriptor ¶
func (*QueryPoolRewardInfoResponse) Descriptor() ([]byte, []int)
func (*QueryPoolRewardInfoResponse) GetPoolRewardInfo ¶
func (m *QueryPoolRewardInfoResponse) GetPoolRewardInfo() PoolRewardInfo
func (*QueryPoolRewardInfoResponse) Marshal ¶
func (m *QueryPoolRewardInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolRewardInfoResponse) MarshalTo ¶
func (m *QueryPoolRewardInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolRewardInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolRewardInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRewardInfoResponse) ProtoMessage ¶
func (*QueryPoolRewardInfoResponse) ProtoMessage()
func (*QueryPoolRewardInfoResponse) Reset ¶
func (m *QueryPoolRewardInfoResponse) Reset()
func (*QueryPoolRewardInfoResponse) Size ¶
func (m *QueryPoolRewardInfoResponse) Size() (n int)
func (*QueryPoolRewardInfoResponse) String ¶
func (m *QueryPoolRewardInfoResponse) String() string
func (*QueryPoolRewardInfoResponse) Unmarshal ¶
func (m *QueryPoolRewardInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolRewardInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolRewardInfoResponse) XXX_DiscardUnknown()
func (*QueryPoolRewardInfoResponse) XXX_Marshal ¶
func (m *QueryPoolRewardInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRewardInfoResponse) XXX_Merge ¶
func (m *QueryPoolRewardInfoResponse) XXX_Merge(src proto.Message)
func (*QueryPoolRewardInfoResponse) XXX_Size ¶
func (m *QueryPoolRewardInfoResponse) XXX_Size() int
func (*QueryPoolRewardInfoResponse) XXX_Unmarshal ¶
func (m *QueryPoolRewardInfoResponse) XXX_Unmarshal(b []byte) error
type QueryPoolRewardsRequest ¶ added in v0.49.0
type QueryPoolRewardsRequest struct { PoolIds []uint64 `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPoolRewardsRequest) Descriptor ¶ added in v0.49.0
func (*QueryPoolRewardsRequest) Descriptor() ([]byte, []int)
func (*QueryPoolRewardsRequest) GetPagination ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) GetPagination() *query.PageRequest
func (*QueryPoolRewardsRequest) GetPoolIds ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) GetPoolIds() []uint64
func (*QueryPoolRewardsRequest) Marshal ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolRewardsRequest) MarshalTo ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolRewardsRequest) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRewardsRequest) ProtoMessage ¶ added in v0.49.0
func (*QueryPoolRewardsRequest) ProtoMessage()
func (*QueryPoolRewardsRequest) Reset ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) Reset()
func (*QueryPoolRewardsRequest) Size ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) Size() (n int)
func (*QueryPoolRewardsRequest) String ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) String() string
func (*QueryPoolRewardsRequest) Unmarshal ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolRewardsRequest) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) XXX_DiscardUnknown()
func (*QueryPoolRewardsRequest) XXX_Marshal ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRewardsRequest) XXX_Merge ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) XXX_Merge(src proto.Message)
func (*QueryPoolRewardsRequest) XXX_Size ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) XXX_Size() int
func (*QueryPoolRewardsRequest) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryPoolRewardsRequest) XXX_Unmarshal(b []byte) error
type QueryPoolRewardsResponse ¶ added in v0.49.0
type QueryPoolRewardsResponse struct {
Pools []PoolRewards `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}
func (*QueryPoolRewardsResponse) Descriptor ¶ added in v0.49.0
func (*QueryPoolRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryPoolRewardsResponse) GetPools ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) GetPools() []PoolRewards
func (*QueryPoolRewardsResponse) Marshal ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolRewardsResponse) MarshalTo ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolRewardsResponse) MarshalToSizedBuffer ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRewardsResponse) ProtoMessage ¶ added in v0.49.0
func (*QueryPoolRewardsResponse) ProtoMessage()
func (*QueryPoolRewardsResponse) Reset ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) Reset()
func (*QueryPoolRewardsResponse) Size ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) Size() (n int)
func (*QueryPoolRewardsResponse) String ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) String() string
func (*QueryPoolRewardsResponse) Unmarshal ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolRewardsResponse) XXX_DiscardUnknown ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) XXX_DiscardUnknown()
func (*QueryPoolRewardsResponse) XXX_Marshal ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRewardsResponse) XXX_Merge ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryPoolRewardsResponse) XXX_Size ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) XXX_Size() int
func (*QueryPoolRewardsResponse) XXX_Unmarshal ¶ added in v0.49.0
func (m *QueryPoolRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) ExternalIncentive(context.Context, *QueryExternalIncentiveRequest) (*QueryExternalIncentiveResponse, error) PoolInfo(context.Context, *QueryPoolInfoRequest) (*QueryPoolInfoResponse, error) PoolRewardInfo(context.Context, *QueryPoolRewardInfoRequest) (*QueryPoolRewardInfoResponse, error) UserRewardInfo(context.Context, *QueryUserRewardInfoRequest) (*QueryUserRewardInfoResponse, error) UserPendingReward(context.Context, *QueryUserPendingRewardRequest) (*QueryUserPendingRewardResponse, error) StableStakeApr(context.Context, *QueryStableStakeAprRequest) (*QueryStableStakeAprResponse, error) PoolAprs(context.Context, *QueryPoolAprsRequest) (*QueryPoolAprsResponse, error) // Queries a list of ShowFeeInfo items. ShowFeeInfo(context.Context, *QueryShowFeeInfoRequest) (*QueryShowFeeInfoResponse, error) // Queries a list of ListFeeInfo items. ListFeeInfo(context.Context, *QueryListFeeInfoRequest) (*QueryListFeeInfoResponse, error) // Calculate APR Apr(context.Context, *QueryAprRequest) (*QueryAprResponse, error) // Calculate APRs Aprs(context.Context, *QueryAprsRequest) (*QueryAprsResponse, error) // Queries PoolReward items PoolRewards(context.Context, *QueryPoolRewardsRequest) (*QueryPoolRewardsResponse, error) }
QueryServer is the server API for Query service.
type QueryShowFeeInfoRequest ¶ added in v0.44.0
type QueryShowFeeInfoRequest struct {
Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
}
func (*QueryShowFeeInfoRequest) Descriptor ¶ added in v0.44.0
func (*QueryShowFeeInfoRequest) Descriptor() ([]byte, []int)
func (*QueryShowFeeInfoRequest) GetDate ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) GetDate() string
func (*QueryShowFeeInfoRequest) Marshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryShowFeeInfoRequest) MarshalTo ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowFeeInfoRequest) MarshalToSizedBuffer ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowFeeInfoRequest) ProtoMessage ¶ added in v0.44.0
func (*QueryShowFeeInfoRequest) ProtoMessage()
func (*QueryShowFeeInfoRequest) Reset ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) Reset()
func (*QueryShowFeeInfoRequest) Size ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) Size() (n int)
func (*QueryShowFeeInfoRequest) String ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) String() string
func (*QueryShowFeeInfoRequest) Unmarshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryShowFeeInfoRequest) XXX_DiscardUnknown ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) XXX_DiscardUnknown()
func (*QueryShowFeeInfoRequest) XXX_Marshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowFeeInfoRequest) XXX_Merge ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) XXX_Merge(src proto.Message)
func (*QueryShowFeeInfoRequest) XXX_Size ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) XXX_Size() int
func (*QueryShowFeeInfoRequest) XXX_Unmarshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoRequest) XXX_Unmarshal(b []byte) error
type QueryShowFeeInfoResponse ¶ added in v0.44.0
type QueryShowFeeInfoResponse struct {
FeeInfo FeeInfo `protobuf:"bytes,1,opt,name=fee_info,json=feeInfo,proto3" json:"fee_info"`
}
func (*QueryShowFeeInfoResponse) Descriptor ¶ added in v0.44.0
func (*QueryShowFeeInfoResponse) Descriptor() ([]byte, []int)
func (*QueryShowFeeInfoResponse) GetFeeInfo ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) GetFeeInfo() FeeInfo
func (*QueryShowFeeInfoResponse) Marshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryShowFeeInfoResponse) MarshalTo ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowFeeInfoResponse) MarshalToSizedBuffer ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowFeeInfoResponse) ProtoMessage ¶ added in v0.44.0
func (*QueryShowFeeInfoResponse) ProtoMessage()
func (*QueryShowFeeInfoResponse) Reset ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) Reset()
func (*QueryShowFeeInfoResponse) Size ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) Size() (n int)
func (*QueryShowFeeInfoResponse) String ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) String() string
func (*QueryShowFeeInfoResponse) Unmarshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryShowFeeInfoResponse) XXX_DiscardUnknown ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) XXX_DiscardUnknown()
func (*QueryShowFeeInfoResponse) XXX_Marshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowFeeInfoResponse) XXX_Merge ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) XXX_Merge(src proto.Message)
func (*QueryShowFeeInfoResponse) XXX_Size ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) XXX_Size() int
func (*QueryShowFeeInfoResponse) XXX_Unmarshal ¶ added in v0.44.0
func (m *QueryShowFeeInfoResponse) XXX_Unmarshal(b []byte) error
type QueryStableStakeAprRequest ¶
type QueryStableStakeAprRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryStableStakeAprRequest) Descriptor ¶
func (*QueryStableStakeAprRequest) Descriptor() ([]byte, []int)
func (*QueryStableStakeAprRequest) GetDenom ¶
func (m *QueryStableStakeAprRequest) GetDenom() string
func (*QueryStableStakeAprRequest) Marshal ¶
func (m *QueryStableStakeAprRequest) Marshal() (dAtA []byte, err error)
func (*QueryStableStakeAprRequest) MarshalTo ¶
func (m *QueryStableStakeAprRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStableStakeAprRequest) MarshalToSizedBuffer ¶
func (m *QueryStableStakeAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStableStakeAprRequest) ProtoMessage ¶
func (*QueryStableStakeAprRequest) ProtoMessage()
func (*QueryStableStakeAprRequest) Reset ¶
func (m *QueryStableStakeAprRequest) Reset()
func (*QueryStableStakeAprRequest) Size ¶
func (m *QueryStableStakeAprRequest) Size() (n int)
func (*QueryStableStakeAprRequest) String ¶
func (m *QueryStableStakeAprRequest) String() string
func (*QueryStableStakeAprRequest) Unmarshal ¶
func (m *QueryStableStakeAprRequest) Unmarshal(dAtA []byte) error
func (*QueryStableStakeAprRequest) XXX_DiscardUnknown ¶
func (m *QueryStableStakeAprRequest) XXX_DiscardUnknown()
func (*QueryStableStakeAprRequest) XXX_Marshal ¶
func (m *QueryStableStakeAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStableStakeAprRequest) XXX_Merge ¶
func (m *QueryStableStakeAprRequest) XXX_Merge(src proto.Message)
func (*QueryStableStakeAprRequest) XXX_Size ¶
func (m *QueryStableStakeAprRequest) XXX_Size() int
func (*QueryStableStakeAprRequest) XXX_Unmarshal ¶
func (m *QueryStableStakeAprRequest) XXX_Unmarshal(b []byte) error
type QueryStableStakeAprResponse ¶
type QueryStableStakeAprResponse struct {
Apr cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"`
}
func (*QueryStableStakeAprResponse) Descriptor ¶
func (*QueryStableStakeAprResponse) Descriptor() ([]byte, []int)
func (*QueryStableStakeAprResponse) Marshal ¶
func (m *QueryStableStakeAprResponse) Marshal() (dAtA []byte, err error)
func (*QueryStableStakeAprResponse) MarshalTo ¶
func (m *QueryStableStakeAprResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStableStakeAprResponse) MarshalToSizedBuffer ¶
func (m *QueryStableStakeAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStableStakeAprResponse) ProtoMessage ¶
func (*QueryStableStakeAprResponse) ProtoMessage()
func (*QueryStableStakeAprResponse) Reset ¶
func (m *QueryStableStakeAprResponse) Reset()
func (*QueryStableStakeAprResponse) Size ¶
func (m *QueryStableStakeAprResponse) Size() (n int)
func (*QueryStableStakeAprResponse) String ¶
func (m *QueryStableStakeAprResponse) String() string
func (*QueryStableStakeAprResponse) Unmarshal ¶
func (m *QueryStableStakeAprResponse) Unmarshal(dAtA []byte) error
func (*QueryStableStakeAprResponse) XXX_DiscardUnknown ¶
func (m *QueryStableStakeAprResponse) XXX_DiscardUnknown()
func (*QueryStableStakeAprResponse) XXX_Marshal ¶
func (m *QueryStableStakeAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStableStakeAprResponse) XXX_Merge ¶
func (m *QueryStableStakeAprResponse) XXX_Merge(src proto.Message)
func (*QueryStableStakeAprResponse) XXX_Size ¶
func (m *QueryStableStakeAprResponse) XXX_Size() int
func (*QueryStableStakeAprResponse) XXX_Unmarshal ¶
func (m *QueryStableStakeAprResponse) XXX_Unmarshal(b []byte) error
type QueryUserPendingRewardRequest ¶
type QueryUserPendingRewardRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryUserPendingRewardRequest) Descriptor ¶
func (*QueryUserPendingRewardRequest) Descriptor() ([]byte, []int)
func (*QueryUserPendingRewardRequest) GetUser ¶
func (m *QueryUserPendingRewardRequest) GetUser() string
func (*QueryUserPendingRewardRequest) Marshal ¶
func (m *QueryUserPendingRewardRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserPendingRewardRequest) MarshalTo ¶
func (m *QueryUserPendingRewardRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserPendingRewardRequest) MarshalToSizedBuffer ¶
func (m *QueryUserPendingRewardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserPendingRewardRequest) ProtoMessage ¶
func (*QueryUserPendingRewardRequest) ProtoMessage()
func (*QueryUserPendingRewardRequest) Reset ¶
func (m *QueryUserPendingRewardRequest) Reset()
func (*QueryUserPendingRewardRequest) Size ¶
func (m *QueryUserPendingRewardRequest) Size() (n int)
func (*QueryUserPendingRewardRequest) String ¶
func (m *QueryUserPendingRewardRequest) String() string
func (*QueryUserPendingRewardRequest) Unmarshal ¶
func (m *QueryUserPendingRewardRequest) Unmarshal(dAtA []byte) error
func (*QueryUserPendingRewardRequest) XXX_DiscardUnknown ¶
func (m *QueryUserPendingRewardRequest) XXX_DiscardUnknown()
func (*QueryUserPendingRewardRequest) XXX_Marshal ¶
func (m *QueryUserPendingRewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserPendingRewardRequest) XXX_Merge ¶
func (m *QueryUserPendingRewardRequest) XXX_Merge(src proto.Message)
func (*QueryUserPendingRewardRequest) XXX_Size ¶
func (m *QueryUserPendingRewardRequest) XXX_Size() int
func (*QueryUserPendingRewardRequest) XXX_Unmarshal ¶
func (m *QueryUserPendingRewardRequest) XXX_Unmarshal(b []byte) error
type QueryUserPendingRewardResponse ¶
type QueryUserPendingRewardResponse struct { Rewards []*RewardInfo `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` TotalRewards github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */ }
func (*QueryUserPendingRewardResponse) Descriptor ¶
func (*QueryUserPendingRewardResponse) Descriptor() ([]byte, []int)
func (*QueryUserPendingRewardResponse) GetRewards ¶
func (m *QueryUserPendingRewardResponse) GetRewards() []*RewardInfo
func (*QueryUserPendingRewardResponse) GetTotalRewards ¶
func (m *QueryUserPendingRewardResponse) GetTotalRewards() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryUserPendingRewardResponse) Marshal ¶
func (m *QueryUserPendingRewardResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserPendingRewardResponse) MarshalTo ¶
func (m *QueryUserPendingRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserPendingRewardResponse) MarshalToSizedBuffer ¶
func (m *QueryUserPendingRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserPendingRewardResponse) ProtoMessage ¶
func (*QueryUserPendingRewardResponse) ProtoMessage()
func (*QueryUserPendingRewardResponse) Reset ¶
func (m *QueryUserPendingRewardResponse) Reset()
func (*QueryUserPendingRewardResponse) Size ¶
func (m *QueryUserPendingRewardResponse) Size() (n int)
func (*QueryUserPendingRewardResponse) String ¶
func (m *QueryUserPendingRewardResponse) String() string
func (*QueryUserPendingRewardResponse) Unmarshal ¶
func (m *QueryUserPendingRewardResponse) Unmarshal(dAtA []byte) error
func (*QueryUserPendingRewardResponse) XXX_DiscardUnknown ¶
func (m *QueryUserPendingRewardResponse) XXX_DiscardUnknown()
func (*QueryUserPendingRewardResponse) XXX_Marshal ¶
func (m *QueryUserPendingRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserPendingRewardResponse) XXX_Merge ¶
func (m *QueryUserPendingRewardResponse) XXX_Merge(src proto.Message)
func (*QueryUserPendingRewardResponse) XXX_Size ¶
func (m *QueryUserPendingRewardResponse) XXX_Size() int
func (*QueryUserPendingRewardResponse) XXX_Unmarshal ¶
func (m *QueryUserPendingRewardResponse) XXX_Unmarshal(b []byte) error
type QueryUserRewardInfoRequest ¶
type QueryUserRewardInfoRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardDenom string `protobuf:"bytes,3,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` }
func (*QueryUserRewardInfoRequest) Descriptor ¶
func (*QueryUserRewardInfoRequest) Descriptor() ([]byte, []int)
func (*QueryUserRewardInfoRequest) GetPoolId ¶
func (m *QueryUserRewardInfoRequest) GetPoolId() uint64
func (*QueryUserRewardInfoRequest) GetRewardDenom ¶
func (m *QueryUserRewardInfoRequest) GetRewardDenom() string
func (*QueryUserRewardInfoRequest) GetUser ¶
func (m *QueryUserRewardInfoRequest) GetUser() string
func (*QueryUserRewardInfoRequest) Marshal ¶
func (m *QueryUserRewardInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserRewardInfoRequest) MarshalTo ¶
func (m *QueryUserRewardInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserRewardInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryUserRewardInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserRewardInfoRequest) ProtoMessage ¶
func (*QueryUserRewardInfoRequest) ProtoMessage()
func (*QueryUserRewardInfoRequest) Reset ¶
func (m *QueryUserRewardInfoRequest) Reset()
func (*QueryUserRewardInfoRequest) Size ¶
func (m *QueryUserRewardInfoRequest) Size() (n int)
func (*QueryUserRewardInfoRequest) String ¶
func (m *QueryUserRewardInfoRequest) String() string
func (*QueryUserRewardInfoRequest) Unmarshal ¶
func (m *QueryUserRewardInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryUserRewardInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryUserRewardInfoRequest) XXX_DiscardUnknown()
func (*QueryUserRewardInfoRequest) XXX_Marshal ¶
func (m *QueryUserRewardInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserRewardInfoRequest) XXX_Merge ¶
func (m *QueryUserRewardInfoRequest) XXX_Merge(src proto.Message)
func (*QueryUserRewardInfoRequest) XXX_Size ¶
func (m *QueryUserRewardInfoRequest) XXX_Size() int
func (*QueryUserRewardInfoRequest) XXX_Unmarshal ¶
func (m *QueryUserRewardInfoRequest) XXX_Unmarshal(b []byte) error
type QueryUserRewardInfoResponse ¶
type QueryUserRewardInfoResponse struct {
UserRewardInfo UserRewardInfo `protobuf:"bytes,1,opt,name=user_reward_info,json=userRewardInfo,proto3" json:"user_reward_info"`
}
func (*QueryUserRewardInfoResponse) Descriptor ¶
func (*QueryUserRewardInfoResponse) Descriptor() ([]byte, []int)
func (*QueryUserRewardInfoResponse) GetUserRewardInfo ¶
func (m *QueryUserRewardInfoResponse) GetUserRewardInfo() UserRewardInfo
func (*QueryUserRewardInfoResponse) Marshal ¶
func (m *QueryUserRewardInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserRewardInfoResponse) MarshalTo ¶
func (m *QueryUserRewardInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserRewardInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryUserRewardInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserRewardInfoResponse) ProtoMessage ¶
func (*QueryUserRewardInfoResponse) ProtoMessage()
func (*QueryUserRewardInfoResponse) Reset ¶
func (m *QueryUserRewardInfoResponse) Reset()
func (*QueryUserRewardInfoResponse) Size ¶
func (m *QueryUserRewardInfoResponse) Size() (n int)
func (*QueryUserRewardInfoResponse) String ¶
func (m *QueryUserRewardInfoResponse) String() string
func (*QueryUserRewardInfoResponse) Unmarshal ¶
func (m *QueryUserRewardInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryUserRewardInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryUserRewardInfoResponse) XXX_DiscardUnknown()
func (*QueryUserRewardInfoResponse) XXX_Marshal ¶
func (m *QueryUserRewardInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserRewardInfoResponse) XXX_Merge ¶
func (m *QueryUserRewardInfoResponse) XXX_Merge(src proto.Message)
func (*QueryUserRewardInfoResponse) XXX_Size ¶
func (m *QueryUserRewardInfoResponse) XXX_Size() int
func (*QueryUserRewardInfoResponse) XXX_Unmarshal ¶
func (m *QueryUserRewardInfoResponse) XXX_Unmarshal(b []byte) error
type RewardInfo ¶
type RewardInfo struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Reward github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"reward"` }
func (*RewardInfo) Descriptor ¶
func (*RewardInfo) Descriptor() ([]byte, []int)
func (*RewardInfo) GetPoolId ¶
func (m *RewardInfo) GetPoolId() uint64
func (*RewardInfo) GetReward ¶
func (m *RewardInfo) GetReward() github_com_cosmos_cosmos_sdk_types.Coins
func (*RewardInfo) Marshal ¶
func (m *RewardInfo) Marshal() (dAtA []byte, err error)
func (*RewardInfo) MarshalToSizedBuffer ¶
func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardInfo) ProtoMessage ¶
func (*RewardInfo) ProtoMessage()
func (*RewardInfo) Reset ¶
func (m *RewardInfo) Reset()
func (*RewardInfo) Size ¶
func (m *RewardInfo) Size() (n int)
func (*RewardInfo) String ¶
func (m *RewardInfo) String() string
func (*RewardInfo) Unmarshal ¶
func (m *RewardInfo) Unmarshal(dAtA []byte) error
func (*RewardInfo) XXX_DiscardUnknown ¶
func (m *RewardInfo) XXX_DiscardUnknown()
func (*RewardInfo) XXX_Marshal ¶
func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardInfo) XXX_Merge ¶
func (m *RewardInfo) XXX_Merge(src proto.Message)
func (*RewardInfo) XXX_Size ¶
func (m *RewardInfo) XXX_Size() int
func (*RewardInfo) XXX_Unmarshal ¶
func (m *RewardInfo) XXX_Unmarshal(b []byte) error
type StableStakeKeeper ¶
type StableStakeKeeper interface { GetParams(ctx sdk.Context) (params stabletypes.Params) BorrowRatio(goCtx context.Context, req *stabletypes.QueryBorrowRatioRequest) (*stabletypes.QueryBorrowRatioResponse, error) TVL(ctx sdk.Context, oracleKeeper stabletypes.OracleKeeper, baseCurrency string) math.LegacyDec }
StableStakeKeeper defines the expected stablestake keeper used for simulations (noalias)
type StakingKeeper ¶
type StakingKeeper interface { TotalBondedTokens(context.Context) math.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 context.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) // get a particular validator by operator address Validator(context.Context, sdk.ValAddress) stakingtypes.ValidatorI // GetDelegatorDelegations returns a given amount of all the delegations from a delegator. GetDelegatorDelegations(ctx context.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation) // get a particular validator by consensus address ValidatorByConsAddr(context.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(context.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI }
Staking keeper
type SupportedRewardDenom ¶
type SupportedRewardDenom struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` MinAmount cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=min_amount,json=minAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_amount"` }
func (*SupportedRewardDenom) Descriptor ¶
func (*SupportedRewardDenom) Descriptor() ([]byte, []int)
func (*SupportedRewardDenom) GetDenom ¶
func (m *SupportedRewardDenom) GetDenom() string
func (*SupportedRewardDenom) Marshal ¶
func (m *SupportedRewardDenom) Marshal() (dAtA []byte, err error)
func (*SupportedRewardDenom) MarshalTo ¶
func (m *SupportedRewardDenom) MarshalTo(dAtA []byte) (int, error)
func (*SupportedRewardDenom) MarshalToSizedBuffer ¶
func (m *SupportedRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SupportedRewardDenom) ProtoMessage ¶
func (*SupportedRewardDenom) ProtoMessage()
func (*SupportedRewardDenom) Reset ¶
func (m *SupportedRewardDenom) Reset()
func (*SupportedRewardDenom) Size ¶
func (m *SupportedRewardDenom) Size() (n int)
func (*SupportedRewardDenom) String ¶
func (m *SupportedRewardDenom) String() string
func (*SupportedRewardDenom) Unmarshal ¶
func (m *SupportedRewardDenom) Unmarshal(dAtA []byte) error
func (*SupportedRewardDenom) XXX_DiscardUnknown ¶
func (m *SupportedRewardDenom) XXX_DiscardUnknown()
func (*SupportedRewardDenom) XXX_Marshal ¶
func (m *SupportedRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SupportedRewardDenom) XXX_Merge ¶
func (m *SupportedRewardDenom) XXX_Merge(src proto.Message)
func (*SupportedRewardDenom) XXX_Size ¶
func (m *SupportedRewardDenom) XXX_Size() int
func (*SupportedRewardDenom) XXX_Unmarshal ¶
func (m *SupportedRewardDenom) XXX_Unmarshal(b []byte) error
type TokenomicsKeeper ¶
type TokenomicsKeeper interface {
GetAllTimeBasedInflation(ctx sdk.Context) (list []tokenomictypes.TimeBasedInflation)
}
TokenomicsKeeper defines the expected tokenomics keeper used for simulations (noalias)
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddExternalIncentive ¶
func (*UnimplementedMsgServer) AddExternalIncentive(ctx context.Context, req *MsgAddExternalIncentive) (*MsgAddExternalIncentiveResponse, error)
func (*UnimplementedMsgServer) AddExternalRewardDenom ¶
func (*UnimplementedMsgServer) AddExternalRewardDenom(ctx context.Context, req *MsgAddExternalRewardDenom) (*MsgAddExternalRewardDenomResponse, error)
func (*UnimplementedMsgServer) ClaimRewards ¶
func (*UnimplementedMsgServer) ClaimRewards(ctx context.Context, req *MsgClaimRewards) (*MsgClaimRewardsResponse, error)
func (*UnimplementedMsgServer) TogglePoolEdenRewards ¶ added in v0.45.0
func (*UnimplementedMsgServer) TogglePoolEdenRewards(ctx context.Context, req *MsgTogglePoolEdenRewards) (*MsgTogglePoolEdenRewardsResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdatePoolMultipliers ¶
func (*UnimplementedMsgServer) UpdatePoolMultipliers(ctx context.Context, req *MsgUpdatePoolMultipliers) (*MsgUpdatePoolMultipliersResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Apr ¶ added in v0.49.0
func (*UnimplementedQueryServer) Apr(ctx context.Context, req *QueryAprRequest) (*QueryAprResponse, error)
func (*UnimplementedQueryServer) Aprs ¶ added in v0.49.0
func (*UnimplementedQueryServer) Aprs(ctx context.Context, req *QueryAprsRequest) (*QueryAprsResponse, error)
func (*UnimplementedQueryServer) ExternalIncentive ¶
func (*UnimplementedQueryServer) ExternalIncentive(ctx context.Context, req *QueryExternalIncentiveRequest) (*QueryExternalIncentiveResponse, error)
func (*UnimplementedQueryServer) ListFeeInfo ¶ added in v0.44.0
func (*UnimplementedQueryServer) ListFeeInfo(ctx context.Context, req *QueryListFeeInfoRequest) (*QueryListFeeInfoResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) PoolAprs ¶
func (*UnimplementedQueryServer) PoolAprs(ctx context.Context, req *QueryPoolAprsRequest) (*QueryPoolAprsResponse, error)
func (*UnimplementedQueryServer) PoolInfo ¶
func (*UnimplementedQueryServer) PoolInfo(ctx context.Context, req *QueryPoolInfoRequest) (*QueryPoolInfoResponse, error)
func (*UnimplementedQueryServer) PoolRewardInfo ¶
func (*UnimplementedQueryServer) PoolRewardInfo(ctx context.Context, req *QueryPoolRewardInfoRequest) (*QueryPoolRewardInfoResponse, error)
func (*UnimplementedQueryServer) PoolRewards ¶ added in v0.49.0
func (*UnimplementedQueryServer) PoolRewards(ctx context.Context, req *QueryPoolRewardsRequest) (*QueryPoolRewardsResponse, error)
func (*UnimplementedQueryServer) ShowFeeInfo ¶ added in v0.44.0
func (*UnimplementedQueryServer) ShowFeeInfo(ctx context.Context, req *QueryShowFeeInfoRequest) (*QueryShowFeeInfoResponse, error)
func (*UnimplementedQueryServer) StableStakeApr ¶
func (*UnimplementedQueryServer) StableStakeApr(ctx context.Context, req *QueryStableStakeAprRequest) (*QueryStableStakeAprResponse, error)
func (*UnimplementedQueryServer) UserPendingReward ¶
func (*UnimplementedQueryServer) UserPendingReward(ctx context.Context, req *QueryUserPendingRewardRequest) (*QueryUserPendingRewardResponse, error)
func (*UnimplementedQueryServer) UserRewardInfo ¶
func (*UnimplementedQueryServer) UserRewardInfo(ctx context.Context, req *QueryUserRewardInfoRequest) (*QueryUserRewardInfoResponse, error)
type UserRewardInfo ¶
type UserRewardInfo struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardDenom string `protobuf:"bytes,3,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` RewardDebt cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=reward_debt,json=rewardDebt,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"reward_debt"` RewardPending cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */ }
func (*UserRewardInfo) Descriptor ¶
func (*UserRewardInfo) Descriptor() ([]byte, []int)
func (*UserRewardInfo) GetPoolId ¶
func (m *UserRewardInfo) GetPoolId() uint64
func (*UserRewardInfo) GetRewardDenom ¶
func (m *UserRewardInfo) GetRewardDenom() string
func (*UserRewardInfo) GetUser ¶
func (m *UserRewardInfo) GetUser() string
func (UserRewardInfo) GetUserAccount ¶ added in v0.42.0
func (u UserRewardInfo) GetUserAccount() sdk.AccAddress
func (*UserRewardInfo) Marshal ¶
func (m *UserRewardInfo) Marshal() (dAtA []byte, err error)
func (*UserRewardInfo) MarshalToSizedBuffer ¶
func (m *UserRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserRewardInfo) ProtoMessage ¶
func (*UserRewardInfo) ProtoMessage()
func (*UserRewardInfo) Reset ¶
func (m *UserRewardInfo) Reset()
func (*UserRewardInfo) Size ¶
func (m *UserRewardInfo) Size() (n int)
func (*UserRewardInfo) String ¶
func (m *UserRewardInfo) String() string
func (*UserRewardInfo) Unmarshal ¶
func (m *UserRewardInfo) Unmarshal(dAtA []byte) error
func (*UserRewardInfo) XXX_DiscardUnknown ¶
func (m *UserRewardInfo) XXX_DiscardUnknown()
func (*UserRewardInfo) XXX_Marshal ¶
func (m *UserRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRewardInfo) XXX_Merge ¶
func (m *UserRewardInfo) XXX_Merge(src proto.Message)
func (*UserRewardInfo) XXX_Size ¶
func (m *UserRewardInfo) XXX_Size() int
func (*UserRewardInfo) XXX_Unmarshal ¶
func (m *UserRewardInfo) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- errors.go
- events.go
- expected_keepers.go
- external_incentive.pb.go
- genesis.go
- genesis.pb.go
- incentive.pb.go
- keys.go
- message_add_external_incentive.go
- message_add_external_reward_denom.go
- message_claim_rewards.go
- message_toggle_pool_eden_rewards.go
- message_update_params.go
- message_update_pool_multipliers.go
- params.go
- params.pb.go
- pool.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- types.pb.go
- user_reward_info.go