Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ExternalIncentiveIndex() []byte
- func ExternalIncentiveKey(incentiveId uint64) []byte
- func GetPoolRewardsAccumKey(poolId uint64, timestamp uint64) []byte
- func GetPoolRewardsAccumPrefix(poolId uint64) []byte
- func KeyPrefix(p string) []byte
- func PoolInfoKey(poolId uint64) []byte
- func PoolRewardInfoKey(poolId uint64, rewardDenom string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func UserRewardInfoKey(user string, poolId uint64, rewardDenom string) []byte
- type AccountKeeper
- type AccountedPoolKeeper
- type AmmKeeper
- type AssetProfileKeeper
- type BankKeeper
- type CommitmentKeeper
- type DexRewardsTracker
- func (*DexRewardsTracker) Descriptor() ([]byte, []int)
- func (this *DexRewardsTracker) Equal(that interface{}) bool
- func (m *DexRewardsTracker) Marshal() (dAtA []byte, err error)
- func (m *DexRewardsTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *DexRewardsTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DexRewardsTracker) ProtoMessage()
- func (m *DexRewardsTracker) Reset()
- func (m *DexRewardsTracker) Size() (n int)
- func (m *DexRewardsTracker) String() string
- func (m *DexRewardsTracker) Unmarshal(dAtA []byte) error
- func (m *DexRewardsTracker) XXX_DiscardUnknown()
- func (m *DexRewardsTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DexRewardsTracker) XXX_Merge(src proto.Message)
- func (m *DexRewardsTracker) XXX_Size() int
- func (m *DexRewardsTracker) XXX_Unmarshal(b []byte) error
- type 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 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) 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 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 (msg *MsgAddExternalIncentive) GetSignBytes() []byte
- func (msg *MsgAddExternalIncentive) GetSigners() []sdk.AccAddress
- 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 (msg *MsgAddExternalIncentive) Route() string
- func (m *MsgAddExternalIncentive) Size() (n int)
- func (m *MsgAddExternalIncentive) String() string
- func (msg *MsgAddExternalIncentive) Type() 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 (msg *MsgAddExternalRewardDenom) GetSignBytes() []byte
- func (msg *MsgAddExternalRewardDenom) GetSigners() []sdk.AccAddress
- 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 (msg *MsgAddExternalRewardDenom) Route() string
- func (m *MsgAddExternalRewardDenom) Size() (n int)
- func (m *MsgAddExternalRewardDenom) String() string
- func (msg *MsgAddExternalRewardDenom) Type() 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 (msg *MsgClaimRewards) GetSignBytes() []byte
- func (msg *MsgClaimRewards) GetSigners() []sdk.AccAddress
- 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 (msg *MsgClaimRewards) Route() string
- func (m *MsgClaimRewards) Size() (n int)
- func (m *MsgClaimRewards) String() string
- func (msg *MsgClaimRewards) Type() 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 MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg *MsgUpdateParams) Type() 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 (msg *MsgUpdatePoolMultipliers) GetSignBytes() []byte
- func (msg *MsgUpdatePoolMultipliers) GetSigners() []sdk.AccAddress
- 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 (msg *MsgUpdatePoolMultipliers) Route() string
- func (m *MsgUpdatePoolMultipliers) Size() (n int)
- func (m *MsgUpdatePoolMultipliers) String() string
- func (msg *MsgUpdatePoolMultipliers) Type() 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 (p 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) 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 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 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 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 QueryServer
- 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) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdatePoolMultipliers(ctx context.Context, req *MsgUpdatePoolMultipliers) (*MsgUpdatePoolMultipliersResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ExternalIncentive(ctx context.Context, req *QueryExternalIncentiveRequest) (*QueryExternalIncentiveResponse, 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) 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 (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" AttributeRewardDenom = "reward_denom" AttributeMinAmount = "min_amount" AttributeSupported = "supported" AttributePoolId = "pool_id" AttributeFromBlock = "from_block" AttributeToBlock = "to_block" AttributeAmountPerBlock = "amount_per_block" AttributeSender = "sender" AttributeMultiplier = "multiplier" )
const ( // ModuleName defines the module name ModuleName = "masterchef" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_masterchef" ParamsKey = "ParamsKey" PoolInfoKeyPrefix = "PoolInfo" ExternalIncentiveIndexKeyPrefix = "IndexExternalIncentive" ExternalIncentiveKeyPrefix = "ExternalIncentive" PoolRewardInfoKeyPrefix = "PoolRewardInfo" UserRewardInfoKeyPrefix = "UserRewardInfo" PoolRewardsAccumKeyPrefix = "PoolRewardsAccum" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgAddExternalIncentive = "add_external_incentive"
const TypeMsgAddExternalRewardDenom = "add_external_reward_denom"
const TypeMsgClaimRewards = "claim_rewards"
const TypeMsgUpdateParams = "update_incentive_params"
const TypeMsgUpdatePoolMultipliers = "update_pool_multipliers"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthDexRewardsTraker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDexRewardsTraker = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDexRewardsTraker = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNoInflationaryParams = errorsmod.Register(ModuleName, 1, "no inflationary rewards params") ErrPoolRewardsAccumNotFound = errorsmod.Register(ModuleName, 2, "pool rewards accumulation not found") )
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 ( 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") )
Functions ¶
func ExternalIncentiveIndex ¶
func ExternalIncentiveIndex() []byte
func ExternalIncentiveKey ¶
func GetPoolRewardsAccumKey ¶ added in v0.33.0
func GetPoolRewardsAccumPrefix ¶ added in v0.33.0
func PoolInfoKey ¶
func PoolRewardInfoKey ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AccountedPoolKeeper ¶
AccountedPoolKeeper
type AmmKeeper ¶
type AmmKeeper interface { // UpdatePoolForSwap takes a pool, sender, and tokenIn, tokenOut amounts // It then updates the pool's balances to the new reserve amounts, and // sends the in tokens from the sender to the pool, and the out tokens from the pool to the sender. UpdatePoolForSwap( ctx sdk.Context, pool ammtypes.Pool, sender sdk.AccAddress, recipient sdk.AccAddress, tokenIn sdk.Coin, tokenOut sdk.Coin, swapFeeIn sdk.Dec, swapFeeOut sdk.Dec, weightBalanceBonus sdk.Dec, ) (math.Int, error) GetBestPoolWithDenoms(ctx sdk.Context, denoms []string) (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) GetPoolSnapshotOrSet(ctx sdk.Context, pool ammtypes.Pool) (val ammtypes.Pool) SwapOutAmtGivenIn( ctx sdk.Context, poolId uint64, oracleKeeper ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee sdk.Dec, ) (tokenOut sdk.Coin, slippage, slippageAmount sdk.Dec, weightBalanceBonus sdk.Dec, err error) CalcOutAmtGivenIn(ctx sdk.Context, poolId uint64, oracle ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee sdk.Dec) (sdk.Coin, sdk.Dec, error) GetEdenDenomPrice(ctx sdk.Context, baseCurrency string) math.LegacyDec GetTokenPrice(ctx sdk.Context, tokenInDenom, baseCurrency string) math.LegacyDec }
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 sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommitmentKeeper ¶
type CommitmentKeeper interface { IterateCommitments(sdk.Context, func(ctypes.Commitments) (stop bool)) GetCommitments(sdk.Context, string) ctypes.Commitments SetCommitments(sdk.Context, ctypes.Commitments) MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnEdenBoost(ctx sdk.Context, creator string, denom string, amount math.Int) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error GetParams(sdk.Context) ctypes.Params }
CommitmentKeeper
type DexRewardsTracker ¶
type DexRewardsTracker struct { // Number of blocks since start of epoch (distribution epoch) NumBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */ // Accumulated amount at distribution epoch - recalculated at every distribution epoch Amount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"amount"` }
DexRewardsTracker is used for tracking rewards for LPs, all amount here is in USDC
func (*DexRewardsTracker) Descriptor ¶
func (*DexRewardsTracker) Descriptor() ([]byte, []int)
func (*DexRewardsTracker) Equal ¶
func (this *DexRewardsTracker) Equal(that interface{}) bool
func (*DexRewardsTracker) Marshal ¶
func (m *DexRewardsTracker) Marshal() (dAtA []byte, err error)
func (*DexRewardsTracker) MarshalTo ¶
func (m *DexRewardsTracker) MarshalTo(dAtA []byte) (int, error)
func (*DexRewardsTracker) MarshalToSizedBuffer ¶
func (m *DexRewardsTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DexRewardsTracker) ProtoMessage ¶
func (*DexRewardsTracker) ProtoMessage()
func (*DexRewardsTracker) Reset ¶
func (m *DexRewardsTracker) Reset()
func (*DexRewardsTracker) Size ¶
func (m *DexRewardsTracker) Size() (n int)
func (*DexRewardsTracker) String ¶
func (m *DexRewardsTracker) String() string
func (*DexRewardsTracker) Unmarshal ¶
func (m *DexRewardsTracker) Unmarshal(dAtA []byte) error
func (*DexRewardsTracker) XXX_DiscardUnknown ¶
func (m *DexRewardsTracker) XXX_DiscardUnknown()
func (*DexRewardsTracker) XXX_Marshal ¶
func (m *DexRewardsTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DexRewardsTracker) XXX_Merge ¶
func (m *DexRewardsTracker) XXX_Merge(src proto.Message)
func (*DexRewardsTracker) XXX_Size ¶
func (m *DexRewardsTracker) XXX_Size() int
func (*DexRewardsTracker) XXX_Unmarshal ¶
func (m *DexRewardsTracker) XXX_Unmarshal(b []byte) error
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 github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */ Apr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=apr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" 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 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 github_com_cosmos_cosmos_sdk_types.Int `` /* 156-byte string literal not displayed */ // starting block height of the distribution DistributionStartBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */ // distribution duration - block number per year TotalBlocksPerYear github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */ // blocks distributed BlocksDistributed github_com_cosmos_cosmos_sdk_types.Int `` /* 152-byte string literal not displayed */ }
Incentive Info
func (*IncentiveInfo) Descriptor ¶
func (*IncentiveInfo) Descriptor() ([]byte, []int)
func (*IncentiveInfo) Marshal ¶
func (m *IncentiveInfo) Marshal() (dAtA []byte, err error)
func (*IncentiveInfo) MarshalToSizedBuffer ¶
func (m *IncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncentiveInfo) ProtoMessage ¶
func (*IncentiveInfo) ProtoMessage()
func (*IncentiveInfo) Reset ¶
func (m *IncentiveInfo) Reset()
func (*IncentiveInfo) Size ¶
func (m *IncentiveInfo) Size() (n int)
func (*IncentiveInfo) String ¶
func (m *IncentiveInfo) String() string
func (*IncentiveInfo) Unmarshal ¶
func (m *IncentiveInfo) Unmarshal(dAtA []byte) error
func (*IncentiveInfo) XXX_DiscardUnknown ¶
func (m *IncentiveInfo) XXX_DiscardUnknown()
func (*IncentiveInfo) XXX_Marshal ¶
func (m *IncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncentiveInfo) XXX_Merge ¶
func (m *IncentiveInfo) XXX_Merge(src proto.Message)
func (*IncentiveInfo) XXX_Size ¶
func (m *IncentiveInfo) XXX_Size() int
func (*IncentiveInfo) XXX_Unmarshal ¶
func (m *IncentiveInfo) XXX_Unmarshal(b []byte) error
type 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 github_com_cosmos_cosmos_sdk_types.Int `` /* 145-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) GetSignBytes ¶
func (msg *MsgAddExternalIncentive) GetSignBytes() []byte
func (*MsgAddExternalIncentive) GetSigners ¶
func (msg *MsgAddExternalIncentive) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgAddExternalIncentive) Route() string
func (*MsgAddExternalIncentive) Size ¶
func (m *MsgAddExternalIncentive) Size() (n int)
func (*MsgAddExternalIncentive) String ¶
func (m *MsgAddExternalIncentive) String() string
func (*MsgAddExternalIncentive) Type ¶
func (msg *MsgAddExternalIncentive) Type() 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 github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */ 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) GetSignBytes ¶
func (msg *MsgAddExternalRewardDenom) GetSignBytes() []byte
func (*MsgAddExternalRewardDenom) GetSigners ¶
func (msg *MsgAddExternalRewardDenom) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgAddExternalRewardDenom) Route() string
func (*MsgAddExternalRewardDenom) Size ¶
func (m *MsgAddExternalRewardDenom) Size() (n int)
func (*MsgAddExternalRewardDenom) String ¶
func (m *MsgAddExternalRewardDenom) String() string
func (*MsgAddExternalRewardDenom) Type ¶
func (msg *MsgAddExternalRewardDenom) Type() 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) GetSignBytes ¶
func (msg *MsgClaimRewards) GetSignBytes() []byte
func (*MsgClaimRewards) GetSigners ¶
func (msg *MsgClaimRewards) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgClaimRewards) Route() string
func (*MsgClaimRewards) Size ¶
func (m *MsgClaimRewards) Size() (n int)
func (*MsgClaimRewards) String ¶
func (m *MsgClaimRewards) String() string
func (*MsgClaimRewards) Type ¶
func (msg *MsgClaimRewards) Type() 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) }
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) }
MsgServer is the server API for Msg service.
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) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (msg *MsgUpdateParams) Type() 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) GetSignBytes ¶
func (msg *MsgUpdatePoolMultipliers) GetSignBytes() []byte
func (*MsgUpdatePoolMultipliers) GetSigners ¶
func (msg *MsgUpdatePoolMultipliers) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgUpdatePoolMultipliers) Route() string
func (*MsgUpdatePoolMultipliers) Size ¶
func (m *MsgUpdatePoolMultipliers) Size() (n int)
func (*MsgUpdatePoolMultipliers) String ¶
func (m *MsgUpdatePoolMultipliers) String() string
func (*MsgUpdatePoolMultipliers) Type ¶
func (msg *MsgUpdatePoolMultipliers) Type() 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) sdk.Dec GetPriceFeeder(ctx sdk.Context, feeder string) (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 github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-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 github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */ // Maximum eden reward apr for lps - [0 - 0.3] MaxEdenRewardAprLps github_com_cosmos_cosmos_sdk_types.Dec `` /* 164-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 NewParams ¶
func NewParams( lpIncentives *IncentiveInfo, rewardPortionForLps sdk.Dec, rewardPortionForStakers sdk.Dec, maxEdenRewardAprLps sdk.Dec, 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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=eden_apr,json=edenApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"eden_apr"` UsdcApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=usdc_apr,json=usdcApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"usdc_apr"` TotalApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=total_apr,json=totalApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" 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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"` // Eden APR, updated at every distribution EdenApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"eden_apr"` // Dex APR, updated based on 24hr accumulation DexApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"dex_apr"` // Gas APR, updated based on 24hr accumulation GasApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"gas_apr"` // External Incentive APR, updated at every distribution ExternalIncentiveApr github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-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 (*PoolInfo) Descriptor ¶
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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"` }
func (*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 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 github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */ GasReward github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */ EdenReward github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ }
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 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) }
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 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 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) }
QueryServer is the server API for Query service.
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 github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=apr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"apr"`
}
func (*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(sdk.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 sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) // get a particular validator by operator address Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI // GetDelegatorDelegations returns a given amount of all the delegations from a delegator. GetDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation) // get a particular validator by consensus address ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI // Delegation allows for getting a particular delegation for a given validator // and delegator outside the scope of the staking module. Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI }
Staking keeper
type SupportedRewardDenom ¶
type SupportedRewardDenom struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` MinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */ }
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) 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) ExternalIncentive ¶
func (*UnimplementedQueryServer) ExternalIncentive(ctx context.Context, req *QueryExternalIncentiveRequest) (*QueryExternalIncentiveResponse, 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) 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 github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ RewardPending github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-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) 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
- dex_rewards_traker.pb.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_update_incentive_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