types

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 43 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	TypeEvtAddExternalRewardDenom = "add_external_reward_denom"
	TypeEvtAddExternalIncentive   = "add_external_incentive"
	TypeEvtClaimRewards           = "claim_rewards"
	TypeEvtSetPoolMultiplier      = "set_pool_multiplier"
	TypeEvtSkipSwap               = "skip_conversion_of_fee"

	AttributeRewardDenom    = "reward_denom"
	AttributeMinAmount      = "min_amount"
	AttributeSupported      = "supported"
	AttributePoolId         = "pool_id"
	AttributePoolIds        = "pool_ids"
	AttributeFromBlock      = "from_block"
	AttributeToBlock        = "to_block"
	AttributeAmountPerBlock = "amount_per_block"
	AttributeSender         = "sender"
	AttributeRecipient      = "recipient"
	AttributeMultiplier     = "multiplier"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "masterchef"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrNoInflationaryParams     = errorsmod.Register(ModuleName, 1, "no inflationary rewards params")
	ErrPoolRewardsAccumNotFound = errorsmod.Register(ModuleName, 2, "pool rewards accumulation not found")
	ErrPoolNotFound             = errorsmod.Register(ModuleName, 3, "pool not found")
	ErrInvalidBlockRange        = errorsmod.Register(ModuleName, 4, "invalid block range")
	ErrInvalidAmountPerBlock    = errorsmod.Register(ModuleName, 5, "error invalid amount per block")
	ErrInvalidMinAmount         = errorsmod.Register(ModuleName, 6, "error invalid min amount")
	ErrInvalidPoolMultiplier    = errorsmod.Register(ModuleName, 7, "error invalid pool multiplier")
)

x/masterchef module sentinel errors

View Source
var (
	ErrInvalidLengthExternalIncentive        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExternalIncentive          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExternalIncentive = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthIncentive        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIncentive          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIncentive = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamsKey                       = []byte{0x01}
	UserRewardInfoKeyPrefix         = []byte{0x02}
	PoolInfoKeyPrefix               = []byte{0x03}
	ExternalIncentiveIndexKeyPrefix = []byte{0x04}
	ExternalIncentiveKeyPrefix      = []byte{0x05}
	PoolRewardInfoKeyPrefix         = []byte{0x06}
	PoolRewardsAccumKeyPrefix       = []byte{0x07}
	FeeInfoKeyPrefix                = []byte{0x08}
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

func GetExternalIncentiveKey added in v0.42.0

func GetExternalIncentiveKey(incentiveId uint64) []byte

func GetFeeInfoKey added in v0.44.0

func GetFeeInfoKey(timestamp string) []byte

Timestamp will be a date in the format of YYYY-MM-DD

func GetPoolInfoKey added in v0.42.0

func GetPoolInfoKey(poolId uint64) []byte

func GetPoolRewardInfoKey added in v0.42.0

func GetPoolRewardInfoKey(poolId uint64, rewardDenom string) []byte

func GetPoolRewardsAccumKey added in v0.33.0

func GetPoolRewardsAccumKey(poolId uint64, timestamp uint64) []byte

func GetPoolRewardsAccumPrefix added in v0.33.0

func GetPoolRewardsAccumPrefix(poolId uint64) []byte

func GetUserRewardInfoKey added in v0.42.0

func GetUserRewardInfoKey(user sdk.AccAddress, poolId uint64, rewardDenom string) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec added in v0.50.0

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI

	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx context.Context, name string) sdk.ModuleAccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AccountedPoolKeeper

type AccountedPoolKeeper interface {
	GetAccountedBalance(sdk.Context, uint64, string) math.Int
}

AccountedPoolKeeper

type AmmKeeper

type AmmKeeper interface {
	GetBestPoolWithDenoms(ctx sdk.Context, denoms []string, usesOracle bool) (pool ammtypes.Pool, found bool)
	// GetPool returns a pool from its index
	GetPool(sdk.Context, uint64) (ammtypes.Pool, bool)
	// Get all pools
	GetAllPool(sdk.Context) []ammtypes.Pool
	// IterateCommitments iterates over all Commitments and performs a callback.
	IterateLiquidityPools(sdk.Context, func(ammtypes.Pool) bool)
	GetAccountedPoolSnapshotOrSet(ctx sdk.Context, pool ammtypes.Pool) (val ammtypes.Pool)

	CalcOutAmtGivenIn(ctx sdk.Context, poolId uint64, oracle ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee math.LegacyDec) (sdk.Coin, math.LegacyDec, error)
	GetEdenDenomPrice(ctx sdk.Context, baseCurrency string) math.LegacyDec
	GetTokenPrice(ctx sdk.Context, tokenInDenom, baseCurrency string) math.LegacyDec
	InternalSwapExactAmountIn(
		ctx sdk.Context,
		sender sdk.AccAddress,
		recipient sdk.AccAddress,
		pool ammtypes.Pool,
		tokenIn sdk.Coin,
		tokenOutDenom string,
		tokenOutMinAmount math.Int,
		swapFee math.LegacyDec,
	) (tokenOutAmount math.Int, err error)
}

AmmKeeper defines the expected interface needed to swap tokens

type AssetProfileKeeper

type AssetProfileKeeper interface {
	GetEntry(ctx sdk.Context, baseDenom string) (val assetprofiletypes.Entry, found bool)
	// GetUsdcDenom returns USDC denom
	GetUsdcDenom(ctx sdk.Context) (string, bool)
}

AssetProfileKeeper defines the expected interface needed to retrieve denom info

type BankKeeper

type BankKeeper interface {
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin

	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins

	SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error

	BlockedAddr(addr sdk.AccAddress) bool
	BurnCoins(ctx context.Context, name string, amt sdk.Coins) error
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type CommitmentKeeper

type CommitmentKeeper interface {
	IterateCommitments(sdk.Context, func(ctypes.Commitments) (stop bool))
	GetCommitments(sdk.Context, sdk.AccAddress) ctypes.Commitments
	SetCommitments(sdk.Context, ctypes.Commitments)
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	BurnEdenBoost(ctx sdk.Context, creator sdk.AccAddress, denom string, amount math.Int) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	GetParams(sdk.Context) ctypes.Params
}

CommitmentKeeper

type ExternalIncentive

type ExternalIncentive struct {
	Id             uint64                      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RewardDenom    string                      `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	PoolId         uint64                      `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	FromBlock      int64                       `protobuf:"varint,4,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"`
	ToBlock        int64                       `protobuf:"varint,5,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"`
	AmountPerBlock cosmossdk_io_math.Int       `` /* 128-byte string literal not displayed */
	Apr            cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"`
}

ExternalIncentive defines the external incentives.

func (*ExternalIncentive) Descriptor

func (*ExternalIncentive) Descriptor() ([]byte, []int)

func (*ExternalIncentive) GetFromBlock

func (m *ExternalIncentive) GetFromBlock() int64

func (*ExternalIncentive) GetId

func (m *ExternalIncentive) GetId() uint64

func (*ExternalIncentive) GetPoolId

func (m *ExternalIncentive) GetPoolId() uint64

func (*ExternalIncentive) GetRewardDenom

func (m *ExternalIncentive) GetRewardDenom() string

func (*ExternalIncentive) GetToBlock

func (m *ExternalIncentive) GetToBlock() int64

func (*ExternalIncentive) Marshal

func (m *ExternalIncentive) Marshal() (dAtA []byte, err error)

func (*ExternalIncentive) MarshalTo

func (m *ExternalIncentive) MarshalTo(dAtA []byte) (int, error)

func (*ExternalIncentive) MarshalToSizedBuffer

func (m *ExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExternalIncentive) ProtoMessage

func (*ExternalIncentive) ProtoMessage()

func (*ExternalIncentive) Reset

func (m *ExternalIncentive) Reset()

func (*ExternalIncentive) Size

func (m *ExternalIncentive) Size() (n int)

func (*ExternalIncentive) String

func (m *ExternalIncentive) String() string

func (*ExternalIncentive) Unmarshal

func (m *ExternalIncentive) Unmarshal(dAtA []byte) error

func (*ExternalIncentive) XXX_DiscardUnknown

func (m *ExternalIncentive) XXX_DiscardUnknown()

func (*ExternalIncentive) XXX_Marshal

func (m *ExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalIncentive) XXX_Merge

func (m *ExternalIncentive) XXX_Merge(src proto.Message)

func (*ExternalIncentive) XXX_Size

func (m *ExternalIncentive) XXX_Size() int

func (*ExternalIncentive) XXX_Unmarshal

func (m *ExternalIncentive) XXX_Unmarshal(b []byte) error

type FeeInfo added in v0.44.0

type FeeInfo struct {
	GasLp        cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=gas_lp,json=gasLp,proto3,customtype=cosmossdk.io/math.Int" json:"gas_lp"`
	GasStakers   cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=gas_stakers,json=gasStakers,proto3,customtype=cosmossdk.io/math.Int" json:"gas_stakers"`
	GasProtocol  cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=gas_protocol,json=gasProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"gas_protocol"`
	DexLp        cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=dex_lp,json=dexLp,proto3,customtype=cosmossdk.io/math.Int" json:"dex_lp"`
	DexStakers   cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=dex_stakers,json=dexStakers,proto3,customtype=cosmossdk.io/math.Int" json:"dex_stakers"`
	DexProtocol  cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=dex_protocol,json=dexProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"dex_protocol"`
	PerpLp       cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=perp_lp,json=perpLp,proto3,customtype=cosmossdk.io/math.Int" json:"perp_lp"`
	PerpStakers  cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=perp_stakers,json=perpStakers,proto3,customtype=cosmossdk.io/math.Int" json:"perp_stakers"`
	PerpProtocol cosmossdk_io_math.Int `protobuf:"bytes,9,opt,name=perp_protocol,json=perpProtocol,proto3,customtype=cosmossdk.io/math.Int" json:"perp_protocol"`
	EdenLp       cosmossdk_io_math.Int `protobuf:"bytes,10,opt,name=eden_lp,json=edenLp,proto3,customtype=cosmossdk.io/math.Int" json:"eden_lp"`
}

func (*FeeInfo) Descriptor added in v0.44.0

func (*FeeInfo) Descriptor() ([]byte, []int)

func (*FeeInfo) Marshal added in v0.44.0

func (m *FeeInfo) Marshal() (dAtA []byte, err error)

func (*FeeInfo) MarshalTo added in v0.44.0

func (m *FeeInfo) MarshalTo(dAtA []byte) (int, error)

func (*FeeInfo) MarshalToSizedBuffer added in v0.44.0

func (m *FeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeInfo) ProtoMessage added in v0.44.0

func (*FeeInfo) ProtoMessage()

func (*FeeInfo) Reset added in v0.44.0

func (m *FeeInfo) Reset()

func (*FeeInfo) Size added in v0.44.0

func (m *FeeInfo) Size() (n int)

func (*FeeInfo) String added in v0.44.0

func (m *FeeInfo) String() string

func (*FeeInfo) Unmarshal added in v0.44.0

func (m *FeeInfo) Unmarshal(dAtA []byte) error

func (*FeeInfo) XXX_DiscardUnknown added in v0.44.0

func (m *FeeInfo) XXX_DiscardUnknown()

func (*FeeInfo) XXX_Marshal added in v0.44.0

func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeInfo) XXX_Merge added in v0.44.0

func (m *FeeInfo) XXX_Merge(src proto.Message)

func (*FeeInfo) XXX_Size added in v0.44.0

func (m *FeeInfo) XXX_Size() int

func (*FeeInfo) XXX_Unmarshal added in v0.44.0

func (m *FeeInfo) 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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type IncentiveInfo

type IncentiveInfo struct {
	// reward amount in eden for 1 year
	EdenAmountPerYear cosmossdk_io_math.Int `` /* 139-byte string literal not displayed */
	// blocks distributed
	BlocksDistributed int64 `protobuf:"varint,2,opt,name=blocks_distributed,json=blocksDistributed,proto3" json:"blocks_distributed,omitempty"`
}

func (*IncentiveInfo) Descriptor

func (*IncentiveInfo) Descriptor() ([]byte, []int)

func (*IncentiveInfo) GetBlocksDistributed added in v0.45.0

func (m *IncentiveInfo) GetBlocksDistributed() int64

func (*IncentiveInfo) Marshal

func (m *IncentiveInfo) Marshal() (dAtA []byte, err error)

func (*IncentiveInfo) MarshalTo

func (m *IncentiveInfo) MarshalTo(dAtA []byte) (int, error)

func (*IncentiveInfo) MarshalToSizedBuffer

func (m *IncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IncentiveInfo) ProtoMessage

func (*IncentiveInfo) ProtoMessage()

func (*IncentiveInfo) Reset

func (m *IncentiveInfo) Reset()

func (*IncentiveInfo) Size

func (m *IncentiveInfo) Size() (n int)

func (*IncentiveInfo) String

func (m *IncentiveInfo) String() string

func (*IncentiveInfo) Unmarshal

func (m *IncentiveInfo) Unmarshal(dAtA []byte) error

func (*IncentiveInfo) XXX_DiscardUnknown

func (m *IncentiveInfo) XXX_DiscardUnknown()

func (*IncentiveInfo) XXX_Marshal

func (m *IncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncentiveInfo) XXX_Merge

func (m *IncentiveInfo) XXX_Merge(src proto.Message)

func (*IncentiveInfo) XXX_Size

func (m *IncentiveInfo) XXX_Size() int

func (*IncentiveInfo) XXX_Unmarshal

func (m *IncentiveInfo) XXX_Unmarshal(b []byte) error

type LegacyIncentiveInfo added in v0.45.0

type LegacyIncentiveInfo struct {
	// reward amount in eden for 1 year
	EdenAmountPerYear cosmossdk_io_math.Int `` /* 139-byte string literal not displayed */
	// starting block height of the distribution
	DistributionStartBlock cosmossdk_io_math.Int `` /* 152-byte string literal not displayed */
	// distribution duration - block number per year
	TotalBlocksPerYear cosmossdk_io_math.Int `` /* 142-byte string literal not displayed */
	// blocks distributed
	BlocksDistributed cosmossdk_io_math.Int `` /* 135-byte string literal not displayed */
}

Incentive Info

func (*LegacyIncentiveInfo) Descriptor added in v0.45.0

func (*LegacyIncentiveInfo) Descriptor() ([]byte, []int)

func (*LegacyIncentiveInfo) Marshal added in v0.45.0

func (m *LegacyIncentiveInfo) Marshal() (dAtA []byte, err error)

func (*LegacyIncentiveInfo) MarshalTo added in v0.45.0

func (m *LegacyIncentiveInfo) MarshalTo(dAtA []byte) (int, error)

func (*LegacyIncentiveInfo) MarshalToSizedBuffer added in v0.45.0

func (m *LegacyIncentiveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LegacyIncentiveInfo) ProtoMessage added in v0.45.0

func (*LegacyIncentiveInfo) ProtoMessage()

func (*LegacyIncentiveInfo) Reset added in v0.45.0

func (m *LegacyIncentiveInfo) Reset()

func (*LegacyIncentiveInfo) Size added in v0.45.0

func (m *LegacyIncentiveInfo) Size() (n int)

func (*LegacyIncentiveInfo) String added in v0.45.0

func (m *LegacyIncentiveInfo) String() string

func (*LegacyIncentiveInfo) Unmarshal added in v0.45.0

func (m *LegacyIncentiveInfo) Unmarshal(dAtA []byte) error

func (*LegacyIncentiveInfo) XXX_DiscardUnknown added in v0.45.0

func (m *LegacyIncentiveInfo) XXX_DiscardUnknown()

func (*LegacyIncentiveInfo) XXX_Marshal added in v0.45.0

func (m *LegacyIncentiveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LegacyIncentiveInfo) XXX_Merge added in v0.45.0

func (m *LegacyIncentiveInfo) XXX_Merge(src proto.Message)

func (*LegacyIncentiveInfo) XXX_Size added in v0.45.0

func (m *LegacyIncentiveInfo) XXX_Size() int

func (*LegacyIncentiveInfo) XXX_Unmarshal added in v0.45.0

func (m *LegacyIncentiveInfo) XXX_Unmarshal(b []byte) error

type LegacyParams added in v0.33.0

type LegacyParams struct {
	LpIncentives *LegacyIncentiveInfo `protobuf:"bytes,1,opt,name=lp_incentives,json=lpIncentives,proto3" json:"lp_incentives,omitempty"`
	// gas fees and swap fees portion for lps, `100 - reward_portion_for_lps -
	// reward_portion_for_stakers = revenue percent for protocol`.
	RewardPortionForLps cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */
	// gas fees and swap fees portion for stakers, `100 - reward_portion_for_lps -
	// reward_portion_for_stakers = revenue percent for protocol`.
	RewardPortionForStakers cosmossdk_io_math.LegacyDec `` /* 163-byte string literal not displayed */
	// Maximum eden reward apr for lps - [0 - 0.3]
	MaxEdenRewardAprLps    cosmossdk_io_math.LegacyDec `` /* 153-byte string literal not displayed */
	SupportedRewardDenoms  []*SupportedRewardDenom     `` /* 126-byte string literal not displayed */
	ProtocolRevenueAddress string                      `` /* 129-byte string literal not displayed */
}

Params defines the parameters for the module.

func (*LegacyParams) Descriptor added in v0.33.0

func (*LegacyParams) Descriptor() ([]byte, []int)

func (*LegacyParams) GetLpIncentives added in v0.33.0

func (m *LegacyParams) GetLpIncentives() *LegacyIncentiveInfo

func (*LegacyParams) GetProtocolRevenueAddress added in v0.33.0

func (m *LegacyParams) GetProtocolRevenueAddress() string

func (*LegacyParams) GetSupportedRewardDenoms added in v0.33.0

func (m *LegacyParams) GetSupportedRewardDenoms() []*SupportedRewardDenom

func (*LegacyParams) Marshal added in v0.33.0

func (m *LegacyParams) Marshal() (dAtA []byte, err error)

func (*LegacyParams) MarshalTo added in v0.33.0

func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)

func (*LegacyParams) MarshalToSizedBuffer added in v0.33.0

func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LegacyParams) ProtoMessage added in v0.33.0

func (*LegacyParams) ProtoMessage()

func (*LegacyParams) Reset added in v0.33.0

func (m *LegacyParams) Reset()

func (*LegacyParams) Size added in v0.33.0

func (m *LegacyParams) Size() (n int)

func (LegacyParams) String added in v0.33.0

func (p LegacyParams) String() string

String implements the Stringer interface.

func (*LegacyParams) Unmarshal added in v0.33.0

func (m *LegacyParams) Unmarshal(dAtA []byte) error

func (*LegacyParams) XXX_DiscardUnknown added in v0.33.0

func (m *LegacyParams) XXX_DiscardUnknown()

func (*LegacyParams) XXX_Marshal added in v0.33.0

func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LegacyParams) XXX_Merge added in v0.33.0

func (m *LegacyParams) XXX_Merge(src proto.Message)

func (*LegacyParams) XXX_Size added in v0.33.0

func (m *LegacyParams) XXX_Size() int

func (*LegacyParams) XXX_Unmarshal added in v0.33.0

func (m *LegacyParams) XXX_Unmarshal(b []byte) error

type LegacyPoolInfo added in v0.33.0

type LegacyPoolInfo struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// reward wallet address
	RewardWallet string `protobuf:"bytes,2,opt,name=reward_wallet,json=rewardWallet,proto3" json:"reward_wallet,omitempty"`
	// multiplier for lp rewards
	Multiplier cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"`
	// Eden APR, updated at every distribution
	EdenApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"`
	// Dex APR, updated based on 24hr accumulation
	DexApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_apr"`
	// Gas APR, updated based on 24hr accumulation
	GasApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_apr"`
	// External Incentive APR, updated at every distribution
	ExternalIncentiveApr cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
	// external reward denoms on the pool
	ExternalRewardDenoms []string `protobuf:"bytes,8,rep,name=external_reward_denoms,json=externalRewardDenoms,proto3" json:"external_reward_denoms,omitempty"`
}

func (*LegacyPoolInfo) Descriptor added in v0.33.0

func (*LegacyPoolInfo) Descriptor() ([]byte, []int)

func (*LegacyPoolInfo) GetExternalRewardDenoms added in v0.33.0

func (m *LegacyPoolInfo) GetExternalRewardDenoms() []string

func (*LegacyPoolInfo) GetPoolId added in v0.33.0

func (m *LegacyPoolInfo) GetPoolId() uint64

func (*LegacyPoolInfo) GetRewardWallet added in v0.33.0

func (m *LegacyPoolInfo) GetRewardWallet() string

func (*LegacyPoolInfo) Marshal added in v0.33.0

func (m *LegacyPoolInfo) Marshal() (dAtA []byte, err error)

func (*LegacyPoolInfo) MarshalTo added in v0.33.0

func (m *LegacyPoolInfo) MarshalTo(dAtA []byte) (int, error)

func (*LegacyPoolInfo) MarshalToSizedBuffer added in v0.33.0

func (m *LegacyPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LegacyPoolInfo) ProtoMessage added in v0.33.0

func (*LegacyPoolInfo) ProtoMessage()

func (*LegacyPoolInfo) Reset added in v0.33.0

func (m *LegacyPoolInfo) Reset()

func (*LegacyPoolInfo) Size added in v0.33.0

func (m *LegacyPoolInfo) Size() (n int)

func (*LegacyPoolInfo) String added in v0.33.0

func (m *LegacyPoolInfo) String() string

func (*LegacyPoolInfo) Unmarshal added in v0.33.0

func (m *LegacyPoolInfo) Unmarshal(dAtA []byte) error

func (*LegacyPoolInfo) XXX_DiscardUnknown added in v0.33.0

func (m *LegacyPoolInfo) XXX_DiscardUnknown()

func (*LegacyPoolInfo) XXX_Marshal added in v0.33.0

func (m *LegacyPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LegacyPoolInfo) XXX_Merge added in v0.33.0

func (m *LegacyPoolInfo) XXX_Merge(src proto.Message)

func (*LegacyPoolInfo) XXX_Size added in v0.33.0

func (m *LegacyPoolInfo) XXX_Size() int

func (*LegacyPoolInfo) XXX_Unmarshal added in v0.33.0

func (m *LegacyPoolInfo) XXX_Unmarshal(b []byte) error

type MsgAddExternalIncentive

type MsgAddExternalIncentive struct {
	Sender         string                `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	RewardDenom    string                `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	PoolId         uint64                `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	FromBlock      int64                 `protobuf:"varint,4,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"`
	ToBlock        int64                 `protobuf:"varint,5,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"`
	AmountPerBlock cosmossdk_io_math.Int `` /* 128-byte string literal not displayed */
}

func (*MsgAddExternalIncentive) Descriptor

func (*MsgAddExternalIncentive) Descriptor() ([]byte, []int)

func (*MsgAddExternalIncentive) GetFromBlock

func (m *MsgAddExternalIncentive) GetFromBlock() int64

func (*MsgAddExternalIncentive) GetPoolId

func (m *MsgAddExternalIncentive) GetPoolId() uint64

func (*MsgAddExternalIncentive) GetRewardDenom

func (m *MsgAddExternalIncentive) GetRewardDenom() string

func (*MsgAddExternalIncentive) GetSender

func (m *MsgAddExternalIncentive) GetSender() string

func (*MsgAddExternalIncentive) GetToBlock

func (m *MsgAddExternalIncentive) GetToBlock() int64

func (*MsgAddExternalIncentive) Marshal

func (m *MsgAddExternalIncentive) Marshal() (dAtA []byte, err error)

func (*MsgAddExternalIncentive) MarshalTo

func (m *MsgAddExternalIncentive) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddExternalIncentive) MarshalToSizedBuffer

func (m *MsgAddExternalIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddExternalIncentive) ProtoMessage

func (*MsgAddExternalIncentive) ProtoMessage()

func (*MsgAddExternalIncentive) Reset

func (m *MsgAddExternalIncentive) Reset()

func (*MsgAddExternalIncentive) Size

func (m *MsgAddExternalIncentive) Size() (n int)

func (*MsgAddExternalIncentive) String

func (m *MsgAddExternalIncentive) String() string

func (*MsgAddExternalIncentive) Unmarshal

func (m *MsgAddExternalIncentive) Unmarshal(dAtA []byte) error

func (*MsgAddExternalIncentive) ValidateBasic

func (msg *MsgAddExternalIncentive) ValidateBasic() error

func (*MsgAddExternalIncentive) XXX_DiscardUnknown

func (m *MsgAddExternalIncentive) XXX_DiscardUnknown()

func (*MsgAddExternalIncentive) XXX_Marshal

func (m *MsgAddExternalIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddExternalIncentive) XXX_Merge

func (m *MsgAddExternalIncentive) XXX_Merge(src proto.Message)

func (*MsgAddExternalIncentive) XXX_Size

func (m *MsgAddExternalIncentive) XXX_Size() int

func (*MsgAddExternalIncentive) XXX_Unmarshal

func (m *MsgAddExternalIncentive) XXX_Unmarshal(b []byte) error

type MsgAddExternalIncentiveResponse

type MsgAddExternalIncentiveResponse struct {
}

func (*MsgAddExternalIncentiveResponse) Descriptor

func (*MsgAddExternalIncentiveResponse) Descriptor() ([]byte, []int)

func (*MsgAddExternalIncentiveResponse) Marshal

func (m *MsgAddExternalIncentiveResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddExternalIncentiveResponse) MarshalTo

func (m *MsgAddExternalIncentiveResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddExternalIncentiveResponse) MarshalToSizedBuffer

func (m *MsgAddExternalIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddExternalIncentiveResponse) ProtoMessage

func (*MsgAddExternalIncentiveResponse) ProtoMessage()

func (*MsgAddExternalIncentiveResponse) Reset

func (*MsgAddExternalIncentiveResponse) Size

func (m *MsgAddExternalIncentiveResponse) Size() (n int)

func (*MsgAddExternalIncentiveResponse) String

func (*MsgAddExternalIncentiveResponse) Unmarshal

func (m *MsgAddExternalIncentiveResponse) Unmarshal(dAtA []byte) error

func (*MsgAddExternalIncentiveResponse) XXX_DiscardUnknown

func (m *MsgAddExternalIncentiveResponse) XXX_DiscardUnknown()

func (*MsgAddExternalIncentiveResponse) XXX_Marshal

func (m *MsgAddExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddExternalIncentiveResponse) XXX_Merge

func (m *MsgAddExternalIncentiveResponse) XXX_Merge(src proto.Message)

func (*MsgAddExternalIncentiveResponse) XXX_Size

func (m *MsgAddExternalIncentiveResponse) XXX_Size() int

func (*MsgAddExternalIncentiveResponse) XXX_Unmarshal

func (m *MsgAddExternalIncentiveResponse) XXX_Unmarshal(b []byte) error

type MsgAddExternalRewardDenom

type MsgAddExternalRewardDenom struct {
	Authority   string                `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	RewardDenom string                `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	MinAmount   cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=min_amount,json=minAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_amount"`
	Supported   bool                  `protobuf:"varint,4,opt,name=supported,proto3" json:"supported,omitempty"`
}

func (*MsgAddExternalRewardDenom) Descriptor

func (*MsgAddExternalRewardDenom) Descriptor() ([]byte, []int)

func (*MsgAddExternalRewardDenom) GetAuthority

func (m *MsgAddExternalRewardDenom) GetAuthority() string

func (*MsgAddExternalRewardDenom) GetRewardDenom

func (m *MsgAddExternalRewardDenom) GetRewardDenom() string

func (*MsgAddExternalRewardDenom) GetSupported

func (m *MsgAddExternalRewardDenom) GetSupported() bool

func (*MsgAddExternalRewardDenom) Marshal

func (m *MsgAddExternalRewardDenom) Marshal() (dAtA []byte, err error)

func (*MsgAddExternalRewardDenom) MarshalTo

func (m *MsgAddExternalRewardDenom) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddExternalRewardDenom) MarshalToSizedBuffer

func (m *MsgAddExternalRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddExternalRewardDenom) ProtoMessage

func (*MsgAddExternalRewardDenom) ProtoMessage()

func (*MsgAddExternalRewardDenom) Reset

func (m *MsgAddExternalRewardDenom) Reset()

func (*MsgAddExternalRewardDenom) Size

func (m *MsgAddExternalRewardDenom) Size() (n int)

func (*MsgAddExternalRewardDenom) String

func (m *MsgAddExternalRewardDenom) String() string

func (*MsgAddExternalRewardDenom) Unmarshal

func (m *MsgAddExternalRewardDenom) Unmarshal(dAtA []byte) error

func (*MsgAddExternalRewardDenom) ValidateBasic

func (msg *MsgAddExternalRewardDenom) ValidateBasic() error

func (*MsgAddExternalRewardDenom) XXX_DiscardUnknown

func (m *MsgAddExternalRewardDenom) XXX_DiscardUnknown()

func (*MsgAddExternalRewardDenom) XXX_Marshal

func (m *MsgAddExternalRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddExternalRewardDenom) XXX_Merge

func (m *MsgAddExternalRewardDenom) XXX_Merge(src proto.Message)

func (*MsgAddExternalRewardDenom) XXX_Size

func (m *MsgAddExternalRewardDenom) XXX_Size() int

func (*MsgAddExternalRewardDenom) XXX_Unmarshal

func (m *MsgAddExternalRewardDenom) XXX_Unmarshal(b []byte) error

type MsgAddExternalRewardDenomResponse

type MsgAddExternalRewardDenomResponse struct {
}

func (*MsgAddExternalRewardDenomResponse) Descriptor

func (*MsgAddExternalRewardDenomResponse) Descriptor() ([]byte, []int)

func (*MsgAddExternalRewardDenomResponse) Marshal

func (m *MsgAddExternalRewardDenomResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddExternalRewardDenomResponse) MarshalTo

func (m *MsgAddExternalRewardDenomResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer

func (m *MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddExternalRewardDenomResponse) ProtoMessage

func (*MsgAddExternalRewardDenomResponse) ProtoMessage()

func (*MsgAddExternalRewardDenomResponse) Reset

func (*MsgAddExternalRewardDenomResponse) Size

func (m *MsgAddExternalRewardDenomResponse) Size() (n int)

func (*MsgAddExternalRewardDenomResponse) 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 (*MsgAddExternalRewardDenomResponse) XXX_Size

func (m *MsgAddExternalRewardDenomResponse) XXX_Size() int

func (*MsgAddExternalRewardDenomResponse) XXX_Unmarshal

func (m *MsgAddExternalRewardDenomResponse) XXX_Unmarshal(b []byte) error

type MsgClaimRewards

type MsgClaimRewards struct {
	Sender  string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolIds []uint64 `protobuf:"varint,2,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
}

func (*MsgClaimRewards) Descriptor

func (*MsgClaimRewards) Descriptor() ([]byte, []int)

func (*MsgClaimRewards) GetPoolIds

func (m *MsgClaimRewards) GetPoolIds() []uint64

func (*MsgClaimRewards) GetSender

func (m *MsgClaimRewards) GetSender() string

func (*MsgClaimRewards) Marshal

func (m *MsgClaimRewards) Marshal() (dAtA []byte, err error)

func (*MsgClaimRewards) MarshalTo

func (m *MsgClaimRewards) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimRewards) MarshalToSizedBuffer

func (m *MsgClaimRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimRewards) ProtoMessage

func (*MsgClaimRewards) ProtoMessage()

func (*MsgClaimRewards) Reset

func (m *MsgClaimRewards) Reset()

func (*MsgClaimRewards) Size

func (m *MsgClaimRewards) Size() (n int)

func (*MsgClaimRewards) String

func (m *MsgClaimRewards) String() string

func (*MsgClaimRewards) Unmarshal

func (m *MsgClaimRewards) Unmarshal(dAtA []byte) error

func (*MsgClaimRewards) ValidateBasic

func (msg *MsgClaimRewards) ValidateBasic() error

func (*MsgClaimRewards) XXX_DiscardUnknown

func (m *MsgClaimRewards) XXX_DiscardUnknown()

func (*MsgClaimRewards) XXX_Marshal

func (m *MsgClaimRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimRewards) XXX_Merge

func (m *MsgClaimRewards) XXX_Merge(src proto.Message)

func (*MsgClaimRewards) XXX_Size

func (m *MsgClaimRewards) XXX_Size() int

func (*MsgClaimRewards) XXX_Unmarshal

func (m *MsgClaimRewards) XXX_Unmarshal(b []byte) error

type MsgClaimRewardsResponse

type MsgClaimRewardsResponse struct {
}

func (*MsgClaimRewardsResponse) Descriptor

func (*MsgClaimRewardsResponse) Descriptor() ([]byte, []int)

func (*MsgClaimRewardsResponse) Marshal

func (m *MsgClaimRewardsResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimRewardsResponse) MarshalTo

func (m *MsgClaimRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimRewardsResponse) MarshalToSizedBuffer

func (m *MsgClaimRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimRewardsResponse) ProtoMessage

func (*MsgClaimRewardsResponse) ProtoMessage()

func (*MsgClaimRewardsResponse) Reset

func (m *MsgClaimRewardsResponse) Reset()

func (*MsgClaimRewardsResponse) Size

func (m *MsgClaimRewardsResponse) Size() (n int)

func (*MsgClaimRewardsResponse) String

func (m *MsgClaimRewardsResponse) String() string

func (*MsgClaimRewardsResponse) Unmarshal

func (m *MsgClaimRewardsResponse) Unmarshal(dAtA []byte) error

func (*MsgClaimRewardsResponse) XXX_DiscardUnknown

func (m *MsgClaimRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimRewardsResponse) XXX_Marshal

func (m *MsgClaimRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimRewardsResponse) XXX_Merge

func (m *MsgClaimRewardsResponse) XXX_Merge(src proto.Message)

func (*MsgClaimRewardsResponse) XXX_Size

func (m *MsgClaimRewardsResponse) XXX_Size() int

func (*MsgClaimRewardsResponse) XXX_Unmarshal

func (m *MsgClaimRewardsResponse) XXX_Unmarshal(b []byte) error

type MsgClient

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 MsgTogglePoolEdenRewards added in v0.45.0

type MsgTogglePoolEdenRewards struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	PoolId    uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Enable    bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
}

func (*MsgTogglePoolEdenRewards) Descriptor added in v0.45.0

func (*MsgTogglePoolEdenRewards) Descriptor() ([]byte, []int)

func (*MsgTogglePoolEdenRewards) GetAuthority added in v0.45.0

func (m *MsgTogglePoolEdenRewards) GetAuthority() string

func (*MsgTogglePoolEdenRewards) GetEnable added in v0.45.0

func (m *MsgTogglePoolEdenRewards) GetEnable() bool

func (*MsgTogglePoolEdenRewards) GetPoolId added in v0.45.0

func (m *MsgTogglePoolEdenRewards) GetPoolId() uint64

func (*MsgTogglePoolEdenRewards) Marshal added in v0.45.0

func (m *MsgTogglePoolEdenRewards) Marshal() (dAtA []byte, err error)

func (*MsgTogglePoolEdenRewards) MarshalTo added in v0.45.0

func (m *MsgTogglePoolEdenRewards) MarshalTo(dAtA []byte) (int, error)

func (*MsgTogglePoolEdenRewards) MarshalToSizedBuffer added in v0.45.0

func (m *MsgTogglePoolEdenRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTogglePoolEdenRewards) ProtoMessage added in v0.45.0

func (*MsgTogglePoolEdenRewards) ProtoMessage()

func (*MsgTogglePoolEdenRewards) Reset added in v0.45.0

func (m *MsgTogglePoolEdenRewards) Reset()

func (*MsgTogglePoolEdenRewards) Size added in v0.45.0

func (m *MsgTogglePoolEdenRewards) Size() (n int)

func (*MsgTogglePoolEdenRewards) String added in v0.45.0

func (m *MsgTogglePoolEdenRewards) String() string

func (*MsgTogglePoolEdenRewards) Unmarshal added in v0.45.0

func (m *MsgTogglePoolEdenRewards) Unmarshal(dAtA []byte) error

func (*MsgTogglePoolEdenRewards) ValidateBasic added in v0.45.0

func (msg *MsgTogglePoolEdenRewards) ValidateBasic() error

func (*MsgTogglePoolEdenRewards) XXX_DiscardUnknown added in v0.45.0

func (m *MsgTogglePoolEdenRewards) XXX_DiscardUnknown()

func (*MsgTogglePoolEdenRewards) XXX_Marshal added in v0.45.0

func (m *MsgTogglePoolEdenRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTogglePoolEdenRewards) XXX_Merge added in v0.45.0

func (m *MsgTogglePoolEdenRewards) XXX_Merge(src proto.Message)

func (*MsgTogglePoolEdenRewards) XXX_Size added in v0.45.0

func (m *MsgTogglePoolEdenRewards) XXX_Size() int

func (*MsgTogglePoolEdenRewards) XXX_Unmarshal added in v0.45.0

func (m *MsgTogglePoolEdenRewards) XXX_Unmarshal(b []byte) error

type MsgTogglePoolEdenRewardsResponse added in v0.45.0

type MsgTogglePoolEdenRewardsResponse struct {
}

func (*MsgTogglePoolEdenRewardsResponse) Descriptor added in v0.45.0

func (*MsgTogglePoolEdenRewardsResponse) Descriptor() ([]byte, []int)

func (*MsgTogglePoolEdenRewardsResponse) Marshal added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) Marshal() (dAtA []byte, err error)

func (*MsgTogglePoolEdenRewardsResponse) MarshalTo added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgTogglePoolEdenRewardsResponse) MarshalToSizedBuffer added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTogglePoolEdenRewardsResponse) ProtoMessage added in v0.45.0

func (*MsgTogglePoolEdenRewardsResponse) ProtoMessage()

func (*MsgTogglePoolEdenRewardsResponse) Reset added in v0.45.0

func (*MsgTogglePoolEdenRewardsResponse) Size added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) Size() (n int)

func (*MsgTogglePoolEdenRewardsResponse) String added in v0.45.0

func (*MsgTogglePoolEdenRewardsResponse) Unmarshal added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) Unmarshal(dAtA []byte) error

func (*MsgTogglePoolEdenRewardsResponse) XXX_DiscardUnknown added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) XXX_DiscardUnknown()

func (*MsgTogglePoolEdenRewardsResponse) XXX_Marshal added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTogglePoolEdenRewardsResponse) XXX_Merge added in v0.45.0

func (*MsgTogglePoolEdenRewardsResponse) XXX_Size added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) XXX_Size() int

func (*MsgTogglePoolEdenRewardsResponse) XXX_Unmarshal added in v0.45.0

func (m *MsgTogglePoolEdenRewardsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdatePoolMultipliers

type MsgUpdatePoolMultipliers struct {
	Authority       string           `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	PoolMultipliers []PoolMultiplier `protobuf:"bytes,2,rep,name=pool_multipliers,json=poolMultipliers,proto3" json:"pool_multipliers"`
}

func (*MsgUpdatePoolMultipliers) Descriptor

func (*MsgUpdatePoolMultipliers) Descriptor() ([]byte, []int)

func (*MsgUpdatePoolMultipliers) GetAuthority

func (m *MsgUpdatePoolMultipliers) GetAuthority() string

func (*MsgUpdatePoolMultipliers) GetPoolMultipliers

func (m *MsgUpdatePoolMultipliers) GetPoolMultipliers() []PoolMultiplier

func (*MsgUpdatePoolMultipliers) Marshal

func (m *MsgUpdatePoolMultipliers) Marshal() (dAtA []byte, err error)

func (*MsgUpdatePoolMultipliers) MarshalTo

func (m *MsgUpdatePoolMultipliers) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdatePoolMultipliers) MarshalToSizedBuffer

func (m *MsgUpdatePoolMultipliers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdatePoolMultipliers) ProtoMessage

func (*MsgUpdatePoolMultipliers) ProtoMessage()

func (*MsgUpdatePoolMultipliers) Reset

func (m *MsgUpdatePoolMultipliers) Reset()

func (*MsgUpdatePoolMultipliers) Size

func (m *MsgUpdatePoolMultipliers) Size() (n int)

func (*MsgUpdatePoolMultipliers) String

func (m *MsgUpdatePoolMultipliers) String() string

func (*MsgUpdatePoolMultipliers) Unmarshal

func (m *MsgUpdatePoolMultipliers) Unmarshal(dAtA []byte) error

func (*MsgUpdatePoolMultipliers) ValidateBasic

func (msg *MsgUpdatePoolMultipliers) ValidateBasic() error

func (*MsgUpdatePoolMultipliers) XXX_DiscardUnknown

func (m *MsgUpdatePoolMultipliers) XXX_DiscardUnknown()

func (*MsgUpdatePoolMultipliers) XXX_Marshal

func (m *MsgUpdatePoolMultipliers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdatePoolMultipliers) XXX_Merge

func (m *MsgUpdatePoolMultipliers) XXX_Merge(src proto.Message)

func (*MsgUpdatePoolMultipliers) XXX_Size

func (m *MsgUpdatePoolMultipliers) XXX_Size() int

func (*MsgUpdatePoolMultipliers) XXX_Unmarshal

func (m *MsgUpdatePoolMultipliers) XXX_Unmarshal(b []byte) error

type MsgUpdatePoolMultipliersResponse

type MsgUpdatePoolMultipliersResponse struct {
}

func (*MsgUpdatePoolMultipliersResponse) Descriptor

func (*MsgUpdatePoolMultipliersResponse) Descriptor() ([]byte, []int)

func (*MsgUpdatePoolMultipliersResponse) Marshal

func (m *MsgUpdatePoolMultipliersResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdatePoolMultipliersResponse) MarshalTo

func (m *MsgUpdatePoolMultipliersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer

func (m *MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdatePoolMultipliersResponse) ProtoMessage

func (*MsgUpdatePoolMultipliersResponse) ProtoMessage()

func (*MsgUpdatePoolMultipliersResponse) Reset

func (*MsgUpdatePoolMultipliersResponse) Size

func (m *MsgUpdatePoolMultipliersResponse) Size() (n int)

func (*MsgUpdatePoolMultipliersResponse) 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 (*MsgUpdatePoolMultipliersResponse) XXX_Size

func (m *MsgUpdatePoolMultipliersResponse) XXX_Size() int

func (*MsgUpdatePoolMultipliersResponse) XXX_Unmarshal

func (m *MsgUpdatePoolMultipliersResponse) XXX_Unmarshal(b []byte) error

type OracleKeeper

type OracleKeeper interface {
	GetAssetPrice(ctx sdk.Context, asset string) (oracletypes.Price, bool)
	GetAssetPriceFromDenom(ctx sdk.Context, denom string) math.LegacyDec
	GetPriceFeeder(ctx sdk.Context, feeder sdk.AccAddress) (val oracletypes.PriceFeeder, found bool)
}

OracleKeeper defines the expected interface needed to retrieve price info

type ParameterKeeper

type ParameterKeeper interface {
	GetParams(ctx sdk.Context) (params parametertypes.Params)
}

type Params

type Params struct {
	LpIncentives *IncentiveInfo `protobuf:"bytes,1,opt,name=lp_incentives,json=lpIncentives,proto3" json:"lp_incentives,omitempty"`
	// gas fees and swap fees portion for lps, `100 - reward_portion_for_lps -
	// reward_portion_for_stakers = revenue percent for protocol`.
	RewardPortionForLps cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */
	// gas fees and swap fees portion for stakers, `100 - reward_portion_for_lps -
	// reward_portion_for_stakers = revenue percent for protocol`.
	RewardPortionForStakers cosmossdk_io_math.LegacyDec `` /* 163-byte string literal not displayed */
	// Maximum eden reward apr for lps - [0 - 0.3]
	MaxEdenRewardAprLps    cosmossdk_io_math.LegacyDec `` /* 153-byte string literal not displayed */
	SupportedRewardDenoms  []*SupportedRewardDenom     `` /* 126-byte string literal not displayed */
	ProtocolRevenueAddress string                      `` /* 129-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	lpIncentives *IncentiveInfo,
	rewardPortionForLps sdkmath.LegacyDec,
	rewardPortionForStakers sdkmath.LegacyDec,
	maxEdenRewardAprLps sdkmath.LegacyDec,
	protocolRevenueAddress string,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetLpIncentives

func (m *Params) GetLpIncentives() *IncentiveInfo

func (*Params) GetProtocolRevenueAddress

func (m *Params) GetProtocolRevenueAddress() string

func (*Params) GetSupportedRewardDenoms

func (m *Params) GetSupportedRewardDenoms() []*SupportedRewardDenom

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PoolApr

type PoolApr struct {
	PoolId   uint64                      `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	EdenApr  cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"`
	UsdcApr  cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=usdc_apr,json=usdcApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr"`
	TotalApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=total_apr,json=totalApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"total_apr"`
}

func (*PoolApr) Descriptor

func (*PoolApr) Descriptor() ([]byte, []int)

func (*PoolApr) GetPoolId

func (m *PoolApr) GetPoolId() uint64

func (*PoolApr) Marshal

func (m *PoolApr) Marshal() (dAtA []byte, err error)

func (*PoolApr) MarshalTo

func (m *PoolApr) MarshalTo(dAtA []byte) (int, error)

func (*PoolApr) MarshalToSizedBuffer

func (m *PoolApr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolApr) ProtoMessage

func (*PoolApr) ProtoMessage()

func (*PoolApr) Reset

func (m *PoolApr) Reset()

func (*PoolApr) Size

func (m *PoolApr) Size() (n int)

func (*PoolApr) String

func (m *PoolApr) String() string

func (*PoolApr) Unmarshal

func (m *PoolApr) Unmarshal(dAtA []byte) error

func (*PoolApr) XXX_DiscardUnknown

func (m *PoolApr) XXX_DiscardUnknown()

func (*PoolApr) XXX_Marshal

func (m *PoolApr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolApr) XXX_Merge

func (m *PoolApr) XXX_Merge(src proto.Message)

func (*PoolApr) XXX_Size

func (m *PoolApr) XXX_Size() int

func (*PoolApr) XXX_Unmarshal

func (m *PoolApr) XXX_Unmarshal(b []byte) error

type PoolInfo

type PoolInfo struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// reward wallet address
	RewardWallet string `protobuf:"bytes,2,opt,name=reward_wallet,json=rewardWallet,proto3" json:"reward_wallet,omitempty"`
	// multiplier for lp rewards
	Multiplier cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"`
	// Eden APR, updated at every distribution
	EdenApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr"`
	// Dex APR, updated based on 24hr accumulation
	DexApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_apr"`
	// Gas APR, updated based on 24hr accumulation
	GasApr cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_apr"`
	// External Incentive APR, updated at every distribution
	ExternalIncentiveApr cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */
	// external reward denoms on the pool
	ExternalRewardDenoms []string `protobuf:"bytes,8,rep,name=external_reward_denoms,json=externalRewardDenoms,proto3" json:"external_reward_denoms,omitempty"`
	// Enable or disable eden rewards
	EnableEdenRewards bool `protobuf:"varint,9,opt,name=enable_eden_rewards,json=enableEdenRewards,proto3" json:"enable_eden_rewards,omitempty"`
}

func (*PoolInfo) Descriptor

func (*PoolInfo) Descriptor() ([]byte, []int)

func (*PoolInfo) GetEnableEdenRewards added in v0.45.0

func (m *PoolInfo) GetEnableEdenRewards() bool

func (*PoolInfo) GetExternalRewardDenoms

func (m *PoolInfo) GetExternalRewardDenoms() []string

func (*PoolInfo) GetPoolId

func (m *PoolInfo) GetPoolId() uint64

func (*PoolInfo) GetRewardWallet

func (m *PoolInfo) GetRewardWallet() string

func (*PoolInfo) Marshal

func (m *PoolInfo) Marshal() (dAtA []byte, err error)

func (*PoolInfo) MarshalTo

func (m *PoolInfo) MarshalTo(dAtA []byte) (int, error)

func (*PoolInfo) MarshalToSizedBuffer

func (m *PoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolInfo) ProtoMessage

func (*PoolInfo) ProtoMessage()

func (*PoolInfo) Reset

func (m *PoolInfo) Reset()

func (*PoolInfo) Size

func (m *PoolInfo) Size() (n int)

func (*PoolInfo) String

func (m *PoolInfo) String() string

func (*PoolInfo) Unmarshal

func (m *PoolInfo) Unmarshal(dAtA []byte) error

func (*PoolInfo) XXX_DiscardUnknown

func (m *PoolInfo) XXX_DiscardUnknown()

func (*PoolInfo) XXX_Marshal

func (m *PoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolInfo) XXX_Merge

func (m *PoolInfo) XXX_Merge(src proto.Message)

func (*PoolInfo) XXX_Size

func (m *PoolInfo) XXX_Size() int

func (*PoolInfo) XXX_Unmarshal

func (m *PoolInfo) XXX_Unmarshal(b []byte) error

type PoolMultiplier

type PoolMultiplier struct {
	PoolId     uint64                      `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Multiplier cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"multiplier"`
}

func (*PoolMultiplier) Descriptor

func (*PoolMultiplier) Descriptor() ([]byte, []int)

func (*PoolMultiplier) GetPoolId

func (m *PoolMultiplier) GetPoolId() uint64

func (*PoolMultiplier) Marshal

func (m *PoolMultiplier) Marshal() (dAtA []byte, err error)

func (*PoolMultiplier) MarshalTo

func (m *PoolMultiplier) MarshalTo(dAtA []byte) (int, 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"`
	PoolAccRewardPerShare cosmossdk_io_math.LegacyDec `` /* 159-byte string literal not displayed */
	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) MarshalTo

func (m *PoolRewardInfo) MarshalTo(dAtA []byte) (int, error)

func (*PoolRewardInfo) MarshalToSizedBuffer

func (m *PoolRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolRewardInfo) ProtoMessage

func (*PoolRewardInfo) ProtoMessage()

func (*PoolRewardInfo) Reset

func (m *PoolRewardInfo) Reset()

func (*PoolRewardInfo) Size

func (m *PoolRewardInfo) Size() (n int)

func (*PoolRewardInfo) String

func (m *PoolRewardInfo) String() string

func (*PoolRewardInfo) Unmarshal

func (m *PoolRewardInfo) Unmarshal(dAtA []byte) error

func (*PoolRewardInfo) XXX_DiscardUnknown

func (m *PoolRewardInfo) XXX_DiscardUnknown()

func (*PoolRewardInfo) XXX_Marshal

func (m *PoolRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolRewardInfo) XXX_Merge

func (m *PoolRewardInfo) XXX_Merge(src proto.Message)

func (*PoolRewardInfo) XXX_Size

func (m *PoolRewardInfo) XXX_Size() int

func (*PoolRewardInfo) XXX_Unmarshal

func (m *PoolRewardInfo) XXX_Unmarshal(b []byte) error

type PoolRewards added in v0.49.0

type PoolRewards struct {
	PoolId             uint64                                   `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	RewardsUsd         cosmossdk_io_math.LegacyDec              `protobuf:"bytes,2,opt,name=rewards_usd,json=rewardsUsd,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rewards_usd"`
	RewardCoins        github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
	EdenForward        types.Coin                               `protobuf:"bytes,4,opt,name=eden_forward,json=edenForward,proto3" json:"eden_forward"`
	RewardsUsdApr      cosmossdk_io_math.LegacyDec              `` /* 131-byte string literal not displayed */
	ExternalRewardsApr cosmossdk_io_math.LegacyDec              `` /* 146-byte string literal not displayed */
}

func (*PoolRewards) Descriptor added in v0.49.0

func (*PoolRewards) Descriptor() ([]byte, []int)

func (*PoolRewards) GetEdenForward added in v0.49.0

func (m *PoolRewards) GetEdenForward() types.Coin

func (*PoolRewards) GetPoolId added in v0.49.0

func (m *PoolRewards) GetPoolId() uint64

func (*PoolRewards) GetRewardCoins added in v0.49.0

func (*PoolRewards) Marshal added in v0.49.0

func (m *PoolRewards) Marshal() (dAtA []byte, err error)

func (*PoolRewards) MarshalTo added in v0.49.0

func (m *PoolRewards) MarshalTo(dAtA []byte) (int, error)

func (*PoolRewards) MarshalToSizedBuffer added in v0.49.0

func (m *PoolRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolRewards) ProtoMessage added in v0.49.0

func (*PoolRewards) ProtoMessage()

func (*PoolRewards) Reset added in v0.49.0

func (m *PoolRewards) Reset()

func (*PoolRewards) Size added in v0.49.0

func (m *PoolRewards) Size() (n int)

func (*PoolRewards) String added in v0.49.0

func (m *PoolRewards) String() string

func (*PoolRewards) Unmarshal added in v0.49.0

func (m *PoolRewards) Unmarshal(dAtA []byte) error

func (*PoolRewards) XXX_DiscardUnknown added in v0.49.0

func (m *PoolRewards) XXX_DiscardUnknown()

func (*PoolRewards) XXX_Marshal added in v0.49.0

func (m *PoolRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolRewards) XXX_Merge added in v0.49.0

func (m *PoolRewards) XXX_Merge(src proto.Message)

func (*PoolRewards) XXX_Size added in v0.49.0

func (m *PoolRewards) XXX_Size() int

func (*PoolRewards) XXX_Unmarshal added in v0.49.0

func (m *PoolRewards) XXX_Unmarshal(b []byte) error

type PoolRewardsAccum added in v0.33.0

type PoolRewardsAccum struct {
	PoolId      uint64                      `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	BlockHeight int64                       `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Timestamp   uint64                      `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	DexReward   cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=dex_reward,json=dexReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"dex_reward"`
	GasReward   cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=gas_reward,json=gasReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"gas_reward"`
	EdenReward  cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=eden_reward,json=edenReward,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_reward"`
}

func (*PoolRewardsAccum) Descriptor added in v0.33.0

func (*PoolRewardsAccum) Descriptor() ([]byte, []int)

func (*PoolRewardsAccum) GetBlockHeight added in v0.33.0

func (m *PoolRewardsAccum) GetBlockHeight() int64

func (*PoolRewardsAccum) GetPoolId added in v0.33.0

func (m *PoolRewardsAccum) GetPoolId() uint64

func (*PoolRewardsAccum) GetTimestamp added in v0.33.0

func (m *PoolRewardsAccum) GetTimestamp() uint64

func (*PoolRewardsAccum) Marshal added in v0.33.0

func (m *PoolRewardsAccum) Marshal() (dAtA []byte, err error)

func (*PoolRewardsAccum) MarshalTo added in v0.33.0

func (m *PoolRewardsAccum) MarshalTo(dAtA []byte) (int, error)

func (*PoolRewardsAccum) MarshalToSizedBuffer added in v0.33.0

func (m *PoolRewardsAccum) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolRewardsAccum) ProtoMessage added in v0.33.0

func (*PoolRewardsAccum) ProtoMessage()

func (*PoolRewardsAccum) Reset added in v0.33.0

func (m *PoolRewardsAccum) Reset()

func (*PoolRewardsAccum) Size added in v0.33.0

func (m *PoolRewardsAccum) Size() (n int)

func (*PoolRewardsAccum) String added in v0.33.0

func (m *PoolRewardsAccum) String() string

func (*PoolRewardsAccum) Unmarshal added in v0.33.0

func (m *PoolRewardsAccum) Unmarshal(dAtA []byte) error

func (*PoolRewardsAccum) XXX_DiscardUnknown added in v0.33.0

func (m *PoolRewardsAccum) XXX_DiscardUnknown()

func (*PoolRewardsAccum) XXX_Marshal added in v0.33.0

func (m *PoolRewardsAccum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolRewardsAccum) XXX_Merge added in v0.33.0

func (m *PoolRewardsAccum) XXX_Merge(src proto.Message)

func (*PoolRewardsAccum) XXX_Size added in v0.33.0

func (m *PoolRewardsAccum) XXX_Size() int

func (*PoolRewardsAccum) XXX_Unmarshal added in v0.33.0

func (m *PoolRewardsAccum) XXX_Unmarshal(b []byte) error

type QueryAprRequest added in v0.49.0

type QueryAprRequest struct {
	WithdrawType types1.EarnType `` /* 128-byte string literal not displayed */
	Denom        string          `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryAprRequest) Descriptor added in v0.49.0

func (*QueryAprRequest) Descriptor() ([]byte, []int)

func (*QueryAprRequest) GetDenom added in v0.49.0

func (m *QueryAprRequest) GetDenom() string

func (*QueryAprRequest) GetWithdrawType added in v0.49.0

func (m *QueryAprRequest) GetWithdrawType() types1.EarnType

func (*QueryAprRequest) Marshal added in v0.49.0

func (m *QueryAprRequest) Marshal() (dAtA []byte, err error)

func (*QueryAprRequest) MarshalTo added in v0.49.0

func (m *QueryAprRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAprRequest) MarshalToSizedBuffer added in v0.49.0

func (m *QueryAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAprRequest) ProtoMessage added in v0.49.0

func (*QueryAprRequest) ProtoMessage()

func (*QueryAprRequest) Reset added in v0.49.0

func (m *QueryAprRequest) Reset()

func (*QueryAprRequest) Size added in v0.49.0

func (m *QueryAprRequest) Size() (n int)

func (*QueryAprRequest) String added in v0.49.0

func (m *QueryAprRequest) String() string

func (*QueryAprRequest) Unmarshal added in v0.49.0

func (m *QueryAprRequest) Unmarshal(dAtA []byte) error

func (*QueryAprRequest) XXX_DiscardUnknown added in v0.49.0

func (m *QueryAprRequest) XXX_DiscardUnknown()

func (*QueryAprRequest) XXX_Marshal added in v0.49.0

func (m *QueryAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAprRequest) XXX_Merge added in v0.49.0

func (m *QueryAprRequest) XXX_Merge(src proto.Message)

func (*QueryAprRequest) XXX_Size added in v0.49.0

func (m *QueryAprRequest) XXX_Size() int

func (*QueryAprRequest) XXX_Unmarshal added in v0.49.0

func (m *QueryAprRequest) XXX_Unmarshal(b []byte) error

type QueryAprResponse added in v0.49.0

type QueryAprResponse struct {
	Apr cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"`
}

func (*QueryAprResponse) Descriptor added in v0.49.0

func (*QueryAprResponse) Descriptor() ([]byte, []int)

func (*QueryAprResponse) Marshal added in v0.49.0

func (m *QueryAprResponse) Marshal() (dAtA []byte, err error)

func (*QueryAprResponse) MarshalTo added in v0.49.0

func (m *QueryAprResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAprResponse) MarshalToSizedBuffer added in v0.49.0

func (m *QueryAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAprResponse) ProtoMessage added in v0.49.0

func (*QueryAprResponse) ProtoMessage()

func (*QueryAprResponse) Reset added in v0.49.0

func (m *QueryAprResponse) Reset()

func (*QueryAprResponse) Size added in v0.49.0

func (m *QueryAprResponse) Size() (n int)

func (*QueryAprResponse) String added in v0.49.0

func (m *QueryAprResponse) String() string

func (*QueryAprResponse) Unmarshal added in v0.49.0

func (m *QueryAprResponse) Unmarshal(dAtA []byte) error

func (*QueryAprResponse) XXX_DiscardUnknown added in v0.49.0

func (m *QueryAprResponse) XXX_DiscardUnknown()

func (*QueryAprResponse) XXX_Marshal added in v0.49.0

func (m *QueryAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAprResponse) XXX_Merge added in v0.49.0

func (m *QueryAprResponse) XXX_Merge(src proto.Message)

func (*QueryAprResponse) XXX_Size added in v0.49.0

func (m *QueryAprResponse) XXX_Size() int

func (*QueryAprResponse) XXX_Unmarshal added in v0.49.0

func (m *QueryAprResponse) XXX_Unmarshal(b []byte) error

type QueryAprsRequest added in v0.49.0

type QueryAprsRequest struct {
}

func (*QueryAprsRequest) Descriptor added in v0.49.0

func (*QueryAprsRequest) Descriptor() ([]byte, []int)

func (*QueryAprsRequest) Marshal added in v0.49.0

func (m *QueryAprsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAprsRequest) MarshalTo added in v0.49.0

func (m *QueryAprsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAprsRequest) MarshalToSizedBuffer added in v0.49.0

func (m *QueryAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAprsRequest) ProtoMessage added in v0.49.0

func (*QueryAprsRequest) ProtoMessage()

func (*QueryAprsRequest) Reset added in v0.49.0

func (m *QueryAprsRequest) Reset()

func (*QueryAprsRequest) Size added in v0.49.0

func (m *QueryAprsRequest) Size() (n int)

func (*QueryAprsRequest) String added in v0.49.0

func (m *QueryAprsRequest) String() string

func (*QueryAprsRequest) Unmarshal added in v0.49.0

func (m *QueryAprsRequest) Unmarshal(dAtA []byte) error

func (*QueryAprsRequest) XXX_DiscardUnknown added in v0.49.0

func (m *QueryAprsRequest) XXX_DiscardUnknown()

func (*QueryAprsRequest) XXX_Marshal added in v0.49.0

func (m *QueryAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAprsRequest) XXX_Merge added in v0.49.0

func (m *QueryAprsRequest) XXX_Merge(src proto.Message)

func (*QueryAprsRequest) XXX_Size added in v0.49.0

func (m *QueryAprsRequest) XXX_Size() int

func (*QueryAprsRequest) XXX_Unmarshal added in v0.49.0

func (m *QueryAprsRequest) XXX_Unmarshal(b []byte) error

type QueryAprsResponse added in v0.49.0

type QueryAprsResponse struct {
	UsdcAprUsdc  cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=usdc_apr_usdc,json=usdcAprUsdc,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_usdc"`
	EdenAprUsdc  cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=eden_apr_usdc,json=edenAprUsdc,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_usdc"`
	UsdcAprEdenb cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */
	EdenAprEdenb cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */
	UsdcAprEden  cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=usdc_apr_eden,json=usdcAprEden,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_eden"`
	EdenAprEden  cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=eden_apr_eden,json=edenAprEden,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_eden"`
	EdenbAprEden cosmossdk_io_math.LegacyDec `` /* 128-byte string literal not displayed */
	UsdcAprElys  cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=usdc_apr_elys,json=usdcAprElys,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"usdc_apr_elys"`
	EdenAprElys  cosmossdk_io_math.LegacyDec `protobuf:"bytes,9,opt,name=eden_apr_elys,json=edenAprElys,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"eden_apr_elys"`
	EdenbAprElys cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */
}

func (*QueryAprsResponse) Descriptor added in v0.49.0

func (*QueryAprsResponse) Descriptor() ([]byte, []int)

func (*QueryAprsResponse) Marshal added in v0.49.0

func (m *QueryAprsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAprsResponse) MarshalTo added in v0.49.0

func (m *QueryAprsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAprsResponse) MarshalToSizedBuffer added in v0.49.0

func (m *QueryAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAprsResponse) ProtoMessage added in v0.49.0

func (*QueryAprsResponse) ProtoMessage()

func (*QueryAprsResponse) Reset added in v0.49.0

func (m *QueryAprsResponse) Reset()

func (*QueryAprsResponse) Size added in v0.49.0

func (m *QueryAprsResponse) Size() (n int)

func (*QueryAprsResponse) String added in v0.49.0

func (m *QueryAprsResponse) String() string

func (*QueryAprsResponse) Unmarshal added in v0.49.0

func (m *QueryAprsResponse) Unmarshal(dAtA []byte) error

func (*QueryAprsResponse) XXX_DiscardUnknown added in v0.49.0

func (m *QueryAprsResponse) XXX_DiscardUnknown()

func (*QueryAprsResponse) XXX_Marshal added in v0.49.0

func (m *QueryAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAprsResponse) XXX_Merge added in v0.49.0

func (m *QueryAprsResponse) XXX_Merge(src proto.Message)

func (*QueryAprsResponse) XXX_Size added in v0.49.0

func (m *QueryAprsResponse) XXX_Size() int

func (*QueryAprsResponse) XXX_Unmarshal added in v0.49.0

func (m *QueryAprsResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	ExternalIncentive(ctx context.Context, in *QueryExternalIncentiveRequest, opts ...grpc.CallOption) (*QueryExternalIncentiveResponse, error)
	PoolInfo(ctx context.Context, in *QueryPoolInfoRequest, opts ...grpc.CallOption) (*QueryPoolInfoResponse, error)
	PoolRewardInfo(ctx context.Context, in *QueryPoolRewardInfoRequest, opts ...grpc.CallOption) (*QueryPoolRewardInfoResponse, error)
	UserRewardInfo(ctx context.Context, in *QueryUserRewardInfoRequest, opts ...grpc.CallOption) (*QueryUserRewardInfoResponse, error)
	UserPendingReward(ctx context.Context, in *QueryUserPendingRewardRequest, opts ...grpc.CallOption) (*QueryUserPendingRewardResponse, error)
	StableStakeApr(ctx context.Context, in *QueryStableStakeAprRequest, opts ...grpc.CallOption) (*QueryStableStakeAprResponse, error)
	PoolAprs(ctx context.Context, in *QueryPoolAprsRequest, opts ...grpc.CallOption) (*QueryPoolAprsResponse, error)
	// Queries a list of ShowFeeInfo items.
	ShowFeeInfo(ctx context.Context, in *QueryShowFeeInfoRequest, opts ...grpc.CallOption) (*QueryShowFeeInfoResponse, error)
	// Queries a list of ListFeeInfo items.
	ListFeeInfo(ctx context.Context, in *QueryListFeeInfoRequest, opts ...grpc.CallOption) (*QueryListFeeInfoResponse, error)
	// Calculate APR
	Apr(ctx context.Context, in *QueryAprRequest, opts ...grpc.CallOption) (*QueryAprResponse, error)
	// Calculate APRs
	Aprs(ctx context.Context, in *QueryAprsRequest, opts ...grpc.CallOption) (*QueryAprsResponse, error)
	// Queries PoolReward items
	PoolRewards(ctx context.Context, in *QueryPoolRewardsRequest, opts ...grpc.CallOption) (*QueryPoolRewardsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryExternalIncentiveRequest

type QueryExternalIncentiveRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryExternalIncentiveRequest) Descriptor

func (*QueryExternalIncentiveRequest) Descriptor() ([]byte, []int)

func (*QueryExternalIncentiveRequest) GetId

func (*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 (*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 (*QueryExternalIncentiveResponse) Unmarshal

func (m *QueryExternalIncentiveResponse) Unmarshal(dAtA []byte) error

func (*QueryExternalIncentiveResponse) XXX_DiscardUnknown

func (m *QueryExternalIncentiveResponse) XXX_DiscardUnknown()

func (*QueryExternalIncentiveResponse) XXX_Marshal

func (m *QueryExternalIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExternalIncentiveResponse) XXX_Merge

func (m *QueryExternalIncentiveResponse) XXX_Merge(src proto.Message)

func (*QueryExternalIncentiveResponse) XXX_Size

func (m *QueryExternalIncentiveResponse) XXX_Size() int

func (*QueryExternalIncentiveResponse) XXX_Unmarshal

func (m *QueryExternalIncentiveResponse) XXX_Unmarshal(b []byte) error

type QueryListFeeInfoRequest added in v0.44.0

type QueryListFeeInfoRequest struct {
}

func (*QueryListFeeInfoRequest) Descriptor added in v0.44.0

func (*QueryListFeeInfoRequest) Descriptor() ([]byte, []int)

func (*QueryListFeeInfoRequest) Marshal added in v0.44.0

func (m *QueryListFeeInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryListFeeInfoRequest) MarshalTo added in v0.44.0

func (m *QueryListFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListFeeInfoRequest) MarshalToSizedBuffer added in v0.44.0

func (m *QueryListFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListFeeInfoRequest) ProtoMessage added in v0.44.0

func (*QueryListFeeInfoRequest) ProtoMessage()

func (*QueryListFeeInfoRequest) Reset added in v0.44.0

func (m *QueryListFeeInfoRequest) Reset()

func (*QueryListFeeInfoRequest) Size added in v0.44.0

func (m *QueryListFeeInfoRequest) Size() (n int)

func (*QueryListFeeInfoRequest) String added in v0.44.0

func (m *QueryListFeeInfoRequest) String() string

func (*QueryListFeeInfoRequest) Unmarshal added in v0.44.0

func (m *QueryListFeeInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryListFeeInfoRequest) XXX_DiscardUnknown added in v0.44.0

func (m *QueryListFeeInfoRequest) XXX_DiscardUnknown()

func (*QueryListFeeInfoRequest) XXX_Marshal added in v0.44.0

func (m *QueryListFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListFeeInfoRequest) XXX_Merge added in v0.44.0

func (m *QueryListFeeInfoRequest) XXX_Merge(src proto.Message)

func (*QueryListFeeInfoRequest) XXX_Size added in v0.44.0

func (m *QueryListFeeInfoRequest) XXX_Size() int

func (*QueryListFeeInfoRequest) XXX_Unmarshal added in v0.44.0

func (m *QueryListFeeInfoRequest) XXX_Unmarshal(b []byte) error

type QueryListFeeInfoResponse added in v0.44.0

type QueryListFeeInfoResponse struct {
	FeeInfo []FeeInfo `protobuf:"bytes,1,rep,name=fee_info,json=feeInfo,proto3" json:"fee_info"`
}

func (*QueryListFeeInfoResponse) Descriptor added in v0.44.0

func (*QueryListFeeInfoResponse) Descriptor() ([]byte, []int)

func (*QueryListFeeInfoResponse) GetFeeInfo added in v0.44.0

func (m *QueryListFeeInfoResponse) GetFeeInfo() []FeeInfo

func (*QueryListFeeInfoResponse) Marshal added in v0.44.0

func (m *QueryListFeeInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryListFeeInfoResponse) MarshalTo added in v0.44.0

func (m *QueryListFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListFeeInfoResponse) MarshalToSizedBuffer added in v0.44.0

func (m *QueryListFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListFeeInfoResponse) ProtoMessage added in v0.44.0

func (*QueryListFeeInfoResponse) ProtoMessage()

func (*QueryListFeeInfoResponse) Reset added in v0.44.0

func (m *QueryListFeeInfoResponse) Reset()

func (*QueryListFeeInfoResponse) Size added in v0.44.0

func (m *QueryListFeeInfoResponse) Size() (n int)

func (*QueryListFeeInfoResponse) String added in v0.44.0

func (m *QueryListFeeInfoResponse) String() string

func (*QueryListFeeInfoResponse) Unmarshal added in v0.44.0

func (m *QueryListFeeInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryListFeeInfoResponse) XXX_DiscardUnknown added in v0.44.0

func (m *QueryListFeeInfoResponse) XXX_DiscardUnknown()

func (*QueryListFeeInfoResponse) XXX_Marshal added in v0.44.0

func (m *QueryListFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListFeeInfoResponse) XXX_Merge added in v0.44.0

func (m *QueryListFeeInfoResponse) XXX_Merge(src proto.Message)

func (*QueryListFeeInfoResponse) XXX_Size added in v0.44.0

func (m *QueryListFeeInfoResponse) XXX_Size() int

func (*QueryListFeeInfoResponse) XXX_Unmarshal added in v0.44.0

func (m *QueryListFeeInfoResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPoolAprsRequest

type QueryPoolAprsRequest struct {
	PoolIds []uint64 `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
}

func (*QueryPoolAprsRequest) Descriptor

func (*QueryPoolAprsRequest) Descriptor() ([]byte, []int)

func (*QueryPoolAprsRequest) GetPoolIds

func (m *QueryPoolAprsRequest) GetPoolIds() []uint64

func (*QueryPoolAprsRequest) Marshal

func (m *QueryPoolAprsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPoolAprsRequest) MarshalTo

func (m *QueryPoolAprsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolAprsRequest) MarshalToSizedBuffer

func (m *QueryPoolAprsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolAprsRequest) ProtoMessage

func (*QueryPoolAprsRequest) ProtoMessage()

func (*QueryPoolAprsRequest) Reset

func (m *QueryPoolAprsRequest) Reset()

func (*QueryPoolAprsRequest) Size

func (m *QueryPoolAprsRequest) Size() (n int)

func (*QueryPoolAprsRequest) String

func (m *QueryPoolAprsRequest) String() string

func (*QueryPoolAprsRequest) Unmarshal

func (m *QueryPoolAprsRequest) Unmarshal(dAtA []byte) error

func (*QueryPoolAprsRequest) XXX_DiscardUnknown

func (m *QueryPoolAprsRequest) XXX_DiscardUnknown()

func (*QueryPoolAprsRequest) XXX_Marshal

func (m *QueryPoolAprsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolAprsRequest) XXX_Merge

func (m *QueryPoolAprsRequest) XXX_Merge(src proto.Message)

func (*QueryPoolAprsRequest) XXX_Size

func (m *QueryPoolAprsRequest) XXX_Size() int

func (*QueryPoolAprsRequest) XXX_Unmarshal

func (m *QueryPoolAprsRequest) XXX_Unmarshal(b []byte) error

type QueryPoolAprsResponse

type QueryPoolAprsResponse struct {
	Data []PoolApr `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}

func (*QueryPoolAprsResponse) Descriptor

func (*QueryPoolAprsResponse) Descriptor() ([]byte, []int)

func (*QueryPoolAprsResponse) GetData

func (m *QueryPoolAprsResponse) GetData() []PoolApr

func (*QueryPoolAprsResponse) Marshal

func (m *QueryPoolAprsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPoolAprsResponse) MarshalTo

func (m *QueryPoolAprsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolAprsResponse) MarshalToSizedBuffer

func (m *QueryPoolAprsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolAprsResponse) ProtoMessage

func (*QueryPoolAprsResponse) ProtoMessage()

func (*QueryPoolAprsResponse) Reset

func (m *QueryPoolAprsResponse) Reset()

func (*QueryPoolAprsResponse) Size

func (m *QueryPoolAprsResponse) Size() (n int)

func (*QueryPoolAprsResponse) String

func (m *QueryPoolAprsResponse) String() string

func (*QueryPoolAprsResponse) Unmarshal

func (m *QueryPoolAprsResponse) Unmarshal(dAtA []byte) error

func (*QueryPoolAprsResponse) XXX_DiscardUnknown

func (m *QueryPoolAprsResponse) XXX_DiscardUnknown()

func (*QueryPoolAprsResponse) XXX_Marshal

func (m *QueryPoolAprsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolAprsResponse) XXX_Merge

func (m *QueryPoolAprsResponse) XXX_Merge(src proto.Message)

func (*QueryPoolAprsResponse) XXX_Size

func (m *QueryPoolAprsResponse) XXX_Size() int

func (*QueryPoolAprsResponse) XXX_Unmarshal

func (m *QueryPoolAprsResponse) XXX_Unmarshal(b []byte) error

type QueryPoolInfoRequest

type QueryPoolInfoRequest struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}

func (*QueryPoolInfoRequest) Descriptor

func (*QueryPoolInfoRequest) Descriptor() ([]byte, []int)

func (*QueryPoolInfoRequest) GetPoolId

func (m *QueryPoolInfoRequest) GetPoolId() uint64

func (*QueryPoolInfoRequest) Marshal

func (m *QueryPoolInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryPoolInfoRequest) MarshalTo

func (m *QueryPoolInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolInfoRequest) MarshalToSizedBuffer

func (m *QueryPoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolInfoRequest) ProtoMessage

func (*QueryPoolInfoRequest) ProtoMessage()

func (*QueryPoolInfoRequest) Reset

func (m *QueryPoolInfoRequest) Reset()

func (*QueryPoolInfoRequest) Size

func (m *QueryPoolInfoRequest) Size() (n int)

func (*QueryPoolInfoRequest) String

func (m *QueryPoolInfoRequest) String() string

func (*QueryPoolInfoRequest) Unmarshal

func (m *QueryPoolInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryPoolInfoRequest) XXX_DiscardUnknown

func (m *QueryPoolInfoRequest) XXX_DiscardUnknown()

func (*QueryPoolInfoRequest) XXX_Marshal

func (m *QueryPoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolInfoRequest) XXX_Merge

func (m *QueryPoolInfoRequest) XXX_Merge(src proto.Message)

func (*QueryPoolInfoRequest) XXX_Size

func (m *QueryPoolInfoRequest) XXX_Size() int

func (*QueryPoolInfoRequest) XXX_Unmarshal

func (m *QueryPoolInfoRequest) XXX_Unmarshal(b []byte) error

type QueryPoolInfoResponse

type QueryPoolInfoResponse struct {
	PoolInfo PoolInfo `protobuf:"bytes,1,opt,name=pool_info,json=poolInfo,proto3" json:"pool_info"`
}

func (*QueryPoolInfoResponse) Descriptor

func (*QueryPoolInfoResponse) Descriptor() ([]byte, []int)

func (*QueryPoolInfoResponse) GetPoolInfo

func (m *QueryPoolInfoResponse) GetPoolInfo() PoolInfo

func (*QueryPoolInfoResponse) Marshal

func (m *QueryPoolInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryPoolInfoResponse) MarshalTo

func (m *QueryPoolInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolInfoResponse) MarshalToSizedBuffer

func (m *QueryPoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolInfoResponse) ProtoMessage

func (*QueryPoolInfoResponse) ProtoMessage()

func (*QueryPoolInfoResponse) Reset

func (m *QueryPoolInfoResponse) Reset()

func (*QueryPoolInfoResponse) Size

func (m *QueryPoolInfoResponse) Size() (n int)

func (*QueryPoolInfoResponse) String

func (m *QueryPoolInfoResponse) String() string

func (*QueryPoolInfoResponse) Unmarshal

func (m *QueryPoolInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryPoolInfoResponse) XXX_DiscardUnknown

func (m *QueryPoolInfoResponse) XXX_DiscardUnknown()

func (*QueryPoolInfoResponse) XXX_Marshal

func (m *QueryPoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolInfoResponse) XXX_Merge

func (m *QueryPoolInfoResponse) XXX_Merge(src proto.Message)

func (*QueryPoolInfoResponse) XXX_Size

func (m *QueryPoolInfoResponse) XXX_Size() int

func (*QueryPoolInfoResponse) XXX_Unmarshal

func (m *QueryPoolInfoResponse) XXX_Unmarshal(b []byte) error

type QueryPoolRewardInfoRequest

type QueryPoolRewardInfoRequest struct {
	PoolId      uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
}

func (*QueryPoolRewardInfoRequest) Descriptor

func (*QueryPoolRewardInfoRequest) Descriptor() ([]byte, []int)

func (*QueryPoolRewardInfoRequest) GetPoolId

func (m *QueryPoolRewardInfoRequest) GetPoolId() uint64

func (*QueryPoolRewardInfoRequest) GetRewardDenom

func (m *QueryPoolRewardInfoRequest) GetRewardDenom() string

func (*QueryPoolRewardInfoRequest) Marshal

func (m *QueryPoolRewardInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryPoolRewardInfoRequest) MarshalTo

func (m *QueryPoolRewardInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolRewardInfoRequest) MarshalToSizedBuffer

func (m *QueryPoolRewardInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolRewardInfoRequest) ProtoMessage

func (*QueryPoolRewardInfoRequest) ProtoMessage()

func (*QueryPoolRewardInfoRequest) Reset

func (m *QueryPoolRewardInfoRequest) Reset()

func (*QueryPoolRewardInfoRequest) Size

func (m *QueryPoolRewardInfoRequest) Size() (n int)

func (*QueryPoolRewardInfoRequest) String

func (m *QueryPoolRewardInfoRequest) String() string

func (*QueryPoolRewardInfoRequest) Unmarshal

func (m *QueryPoolRewardInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryPoolRewardInfoRequest) XXX_DiscardUnknown

func (m *QueryPoolRewardInfoRequest) XXX_DiscardUnknown()

func (*QueryPoolRewardInfoRequest) XXX_Marshal

func (m *QueryPoolRewardInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolRewardInfoRequest) XXX_Merge

func (m *QueryPoolRewardInfoRequest) XXX_Merge(src proto.Message)

func (*QueryPoolRewardInfoRequest) XXX_Size

func (m *QueryPoolRewardInfoRequest) XXX_Size() int

func (*QueryPoolRewardInfoRequest) XXX_Unmarshal

func (m *QueryPoolRewardInfoRequest) XXX_Unmarshal(b []byte) error

type QueryPoolRewardInfoResponse

type QueryPoolRewardInfoResponse struct {
	PoolRewardInfo PoolRewardInfo `protobuf:"bytes,1,opt,name=pool_reward_info,json=poolRewardInfo,proto3" json:"pool_reward_info"`
}

func (*QueryPoolRewardInfoResponse) Descriptor

func (*QueryPoolRewardInfoResponse) Descriptor() ([]byte, []int)

func (*QueryPoolRewardInfoResponse) GetPoolRewardInfo

func (m *QueryPoolRewardInfoResponse) GetPoolRewardInfo() PoolRewardInfo

func (*QueryPoolRewardInfoResponse) Marshal

func (m *QueryPoolRewardInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryPoolRewardInfoResponse) MarshalTo

func (m *QueryPoolRewardInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolRewardInfoResponse) MarshalToSizedBuffer

func (m *QueryPoolRewardInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolRewardInfoResponse) ProtoMessage

func (*QueryPoolRewardInfoResponse) ProtoMessage()

func (*QueryPoolRewardInfoResponse) Reset

func (m *QueryPoolRewardInfoResponse) Reset()

func (*QueryPoolRewardInfoResponse) Size

func (m *QueryPoolRewardInfoResponse) Size() (n int)

func (*QueryPoolRewardInfoResponse) String

func (m *QueryPoolRewardInfoResponse) String() string

func (*QueryPoolRewardInfoResponse) Unmarshal

func (m *QueryPoolRewardInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryPoolRewardInfoResponse) XXX_DiscardUnknown

func (m *QueryPoolRewardInfoResponse) XXX_DiscardUnknown()

func (*QueryPoolRewardInfoResponse) XXX_Marshal

func (m *QueryPoolRewardInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolRewardInfoResponse) XXX_Merge

func (m *QueryPoolRewardInfoResponse) XXX_Merge(src proto.Message)

func (*QueryPoolRewardInfoResponse) XXX_Size

func (m *QueryPoolRewardInfoResponse) XXX_Size() int

func (*QueryPoolRewardInfoResponse) XXX_Unmarshal

func (m *QueryPoolRewardInfoResponse) XXX_Unmarshal(b []byte) error

type QueryPoolRewardsRequest added in v0.49.0

type QueryPoolRewardsRequest struct {
	PoolIds    []uint64           `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryPoolRewardsRequest) Descriptor added in v0.49.0

func (*QueryPoolRewardsRequest) Descriptor() ([]byte, []int)

func (*QueryPoolRewardsRequest) GetPagination added in v0.49.0

func (m *QueryPoolRewardsRequest) GetPagination() *query.PageRequest

func (*QueryPoolRewardsRequest) GetPoolIds added in v0.49.0

func (m *QueryPoolRewardsRequest) GetPoolIds() []uint64

func (*QueryPoolRewardsRequest) Marshal added in v0.49.0

func (m *QueryPoolRewardsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPoolRewardsRequest) MarshalTo added in v0.49.0

func (m *QueryPoolRewardsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolRewardsRequest) MarshalToSizedBuffer added in v0.49.0

func (m *QueryPoolRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolRewardsRequest) ProtoMessage added in v0.49.0

func (*QueryPoolRewardsRequest) ProtoMessage()

func (*QueryPoolRewardsRequest) Reset added in v0.49.0

func (m *QueryPoolRewardsRequest) Reset()

func (*QueryPoolRewardsRequest) Size added in v0.49.0

func (m *QueryPoolRewardsRequest) Size() (n int)

func (*QueryPoolRewardsRequest) String added in v0.49.0

func (m *QueryPoolRewardsRequest) String() string

func (*QueryPoolRewardsRequest) Unmarshal added in v0.49.0

func (m *QueryPoolRewardsRequest) Unmarshal(dAtA []byte) error

func (*QueryPoolRewardsRequest) XXX_DiscardUnknown added in v0.49.0

func (m *QueryPoolRewardsRequest) XXX_DiscardUnknown()

func (*QueryPoolRewardsRequest) XXX_Marshal added in v0.49.0

func (m *QueryPoolRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolRewardsRequest) XXX_Merge added in v0.49.0

func (m *QueryPoolRewardsRequest) XXX_Merge(src proto.Message)

func (*QueryPoolRewardsRequest) XXX_Size added in v0.49.0

func (m *QueryPoolRewardsRequest) XXX_Size() int

func (*QueryPoolRewardsRequest) XXX_Unmarshal added in v0.49.0

func (m *QueryPoolRewardsRequest) XXX_Unmarshal(b []byte) error

type QueryPoolRewardsResponse added in v0.49.0

type QueryPoolRewardsResponse struct {
	Pools []PoolRewards `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}

func (*QueryPoolRewardsResponse) Descriptor added in v0.49.0

func (*QueryPoolRewardsResponse) Descriptor() ([]byte, []int)

func (*QueryPoolRewardsResponse) GetPools added in v0.49.0

func (m *QueryPoolRewardsResponse) GetPools() []PoolRewards

func (*QueryPoolRewardsResponse) Marshal added in v0.49.0

func (m *QueryPoolRewardsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPoolRewardsResponse) MarshalTo added in v0.49.0

func (m *QueryPoolRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPoolRewardsResponse) MarshalToSizedBuffer added in v0.49.0

func (m *QueryPoolRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPoolRewardsResponse) ProtoMessage added in v0.49.0

func (*QueryPoolRewardsResponse) ProtoMessage()

func (*QueryPoolRewardsResponse) Reset added in v0.49.0

func (m *QueryPoolRewardsResponse) Reset()

func (*QueryPoolRewardsResponse) Size added in v0.49.0

func (m *QueryPoolRewardsResponse) Size() (n int)

func (*QueryPoolRewardsResponse) String added in v0.49.0

func (m *QueryPoolRewardsResponse) String() string

func (*QueryPoolRewardsResponse) Unmarshal added in v0.49.0

func (m *QueryPoolRewardsResponse) Unmarshal(dAtA []byte) error

func (*QueryPoolRewardsResponse) XXX_DiscardUnknown added in v0.49.0

func (m *QueryPoolRewardsResponse) XXX_DiscardUnknown()

func (*QueryPoolRewardsResponse) XXX_Marshal added in v0.49.0

func (m *QueryPoolRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPoolRewardsResponse) XXX_Merge added in v0.49.0

func (m *QueryPoolRewardsResponse) XXX_Merge(src proto.Message)

func (*QueryPoolRewardsResponse) XXX_Size added in v0.49.0

func (m *QueryPoolRewardsResponse) XXX_Size() int

func (*QueryPoolRewardsResponse) XXX_Unmarshal added in v0.49.0

func (m *QueryPoolRewardsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

QueryServer is the server API for Query service.

type QueryShowFeeInfoRequest added in v0.44.0

type QueryShowFeeInfoRequest struct {
	Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
}

func (*QueryShowFeeInfoRequest) Descriptor added in v0.44.0

func (*QueryShowFeeInfoRequest) Descriptor() ([]byte, []int)

func (*QueryShowFeeInfoRequest) GetDate added in v0.44.0

func (m *QueryShowFeeInfoRequest) GetDate() string

func (*QueryShowFeeInfoRequest) Marshal added in v0.44.0

func (m *QueryShowFeeInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryShowFeeInfoRequest) MarshalTo added in v0.44.0

func (m *QueryShowFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryShowFeeInfoRequest) MarshalToSizedBuffer added in v0.44.0

func (m *QueryShowFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryShowFeeInfoRequest) ProtoMessage added in v0.44.0

func (*QueryShowFeeInfoRequest) ProtoMessage()

func (*QueryShowFeeInfoRequest) Reset added in v0.44.0

func (m *QueryShowFeeInfoRequest) Reset()

func (*QueryShowFeeInfoRequest) Size added in v0.44.0

func (m *QueryShowFeeInfoRequest) Size() (n int)

func (*QueryShowFeeInfoRequest) String added in v0.44.0

func (m *QueryShowFeeInfoRequest) String() string

func (*QueryShowFeeInfoRequest) Unmarshal added in v0.44.0

func (m *QueryShowFeeInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryShowFeeInfoRequest) XXX_DiscardUnknown added in v0.44.0

func (m *QueryShowFeeInfoRequest) XXX_DiscardUnknown()

func (*QueryShowFeeInfoRequest) XXX_Marshal added in v0.44.0

func (m *QueryShowFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryShowFeeInfoRequest) XXX_Merge added in v0.44.0

func (m *QueryShowFeeInfoRequest) XXX_Merge(src proto.Message)

func (*QueryShowFeeInfoRequest) XXX_Size added in v0.44.0

func (m *QueryShowFeeInfoRequest) XXX_Size() int

func (*QueryShowFeeInfoRequest) XXX_Unmarshal added in v0.44.0

func (m *QueryShowFeeInfoRequest) XXX_Unmarshal(b []byte) error

type QueryShowFeeInfoResponse added in v0.44.0

type QueryShowFeeInfoResponse struct {
	FeeInfo FeeInfo `protobuf:"bytes,1,opt,name=fee_info,json=feeInfo,proto3" json:"fee_info"`
}

func (*QueryShowFeeInfoResponse) Descriptor added in v0.44.0

func (*QueryShowFeeInfoResponse) Descriptor() ([]byte, []int)

func (*QueryShowFeeInfoResponse) GetFeeInfo added in v0.44.0

func (m *QueryShowFeeInfoResponse) GetFeeInfo() FeeInfo

func (*QueryShowFeeInfoResponse) Marshal added in v0.44.0

func (m *QueryShowFeeInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryShowFeeInfoResponse) MarshalTo added in v0.44.0

func (m *QueryShowFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryShowFeeInfoResponse) MarshalToSizedBuffer added in v0.44.0

func (m *QueryShowFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryShowFeeInfoResponse) ProtoMessage added in v0.44.0

func (*QueryShowFeeInfoResponse) ProtoMessage()

func (*QueryShowFeeInfoResponse) Reset added in v0.44.0

func (m *QueryShowFeeInfoResponse) Reset()

func (*QueryShowFeeInfoResponse) Size added in v0.44.0

func (m *QueryShowFeeInfoResponse) Size() (n int)

func (*QueryShowFeeInfoResponse) String added in v0.44.0

func (m *QueryShowFeeInfoResponse) String() string

func (*QueryShowFeeInfoResponse) Unmarshal added in v0.44.0

func (m *QueryShowFeeInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryShowFeeInfoResponse) XXX_DiscardUnknown added in v0.44.0

func (m *QueryShowFeeInfoResponse) XXX_DiscardUnknown()

func (*QueryShowFeeInfoResponse) XXX_Marshal added in v0.44.0

func (m *QueryShowFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryShowFeeInfoResponse) XXX_Merge added in v0.44.0

func (m *QueryShowFeeInfoResponse) XXX_Merge(src proto.Message)

func (*QueryShowFeeInfoResponse) XXX_Size added in v0.44.0

func (m *QueryShowFeeInfoResponse) XXX_Size() int

func (*QueryShowFeeInfoResponse) XXX_Unmarshal added in v0.44.0

func (m *QueryShowFeeInfoResponse) XXX_Unmarshal(b []byte) error

type QueryStableStakeAprRequest

type QueryStableStakeAprRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryStableStakeAprRequest) Descriptor

func (*QueryStableStakeAprRequest) Descriptor() ([]byte, []int)

func (*QueryStableStakeAprRequest) GetDenom

func (m *QueryStableStakeAprRequest) GetDenom() string

func (*QueryStableStakeAprRequest) Marshal

func (m *QueryStableStakeAprRequest) Marshal() (dAtA []byte, err error)

func (*QueryStableStakeAprRequest) MarshalTo

func (m *QueryStableStakeAprRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryStableStakeAprRequest) MarshalToSizedBuffer

func (m *QueryStableStakeAprRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStableStakeAprRequest) ProtoMessage

func (*QueryStableStakeAprRequest) ProtoMessage()

func (*QueryStableStakeAprRequest) Reset

func (m *QueryStableStakeAprRequest) Reset()

func (*QueryStableStakeAprRequest) Size

func (m *QueryStableStakeAprRequest) Size() (n int)

func (*QueryStableStakeAprRequest) String

func (m *QueryStableStakeAprRequest) String() string

func (*QueryStableStakeAprRequest) Unmarshal

func (m *QueryStableStakeAprRequest) Unmarshal(dAtA []byte) error

func (*QueryStableStakeAprRequest) XXX_DiscardUnknown

func (m *QueryStableStakeAprRequest) XXX_DiscardUnknown()

func (*QueryStableStakeAprRequest) XXX_Marshal

func (m *QueryStableStakeAprRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStableStakeAprRequest) XXX_Merge

func (m *QueryStableStakeAprRequest) XXX_Merge(src proto.Message)

func (*QueryStableStakeAprRequest) XXX_Size

func (m *QueryStableStakeAprRequest) XXX_Size() int

func (*QueryStableStakeAprRequest) XXX_Unmarshal

func (m *QueryStableStakeAprRequest) XXX_Unmarshal(b []byte) error

type QueryStableStakeAprResponse

type QueryStableStakeAprResponse struct {
	Apr cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=apr,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"apr"`
}

func (*QueryStableStakeAprResponse) Descriptor

func (*QueryStableStakeAprResponse) Descriptor() ([]byte, []int)

func (*QueryStableStakeAprResponse) Marshal

func (m *QueryStableStakeAprResponse) Marshal() (dAtA []byte, err error)

func (*QueryStableStakeAprResponse) MarshalTo

func (m *QueryStableStakeAprResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryStableStakeAprResponse) MarshalToSizedBuffer

func (m *QueryStableStakeAprResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStableStakeAprResponse) ProtoMessage

func (*QueryStableStakeAprResponse) ProtoMessage()

func (*QueryStableStakeAprResponse) Reset

func (m *QueryStableStakeAprResponse) Reset()

func (*QueryStableStakeAprResponse) Size

func (m *QueryStableStakeAprResponse) Size() (n int)

func (*QueryStableStakeAprResponse) String

func (m *QueryStableStakeAprResponse) String() string

func (*QueryStableStakeAprResponse) Unmarshal

func (m *QueryStableStakeAprResponse) Unmarshal(dAtA []byte) error

func (*QueryStableStakeAprResponse) XXX_DiscardUnknown

func (m *QueryStableStakeAprResponse) XXX_DiscardUnknown()

func (*QueryStableStakeAprResponse) XXX_Marshal

func (m *QueryStableStakeAprResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStableStakeAprResponse) XXX_Merge

func (m *QueryStableStakeAprResponse) XXX_Merge(src proto.Message)

func (*QueryStableStakeAprResponse) XXX_Size

func (m *QueryStableStakeAprResponse) XXX_Size() int

func (*QueryStableStakeAprResponse) XXX_Unmarshal

func (m *QueryStableStakeAprResponse) XXX_Unmarshal(b []byte) error

type QueryUserPendingRewardRequest

type QueryUserPendingRewardRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}

func (*QueryUserPendingRewardRequest) Descriptor

func (*QueryUserPendingRewardRequest) Descriptor() ([]byte, []int)

func (*QueryUserPendingRewardRequest) GetUser

func (*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 (*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 (*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 (*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 (*RewardInfo) Marshal

func (m *RewardInfo) Marshal() (dAtA []byte, err error)

func (*RewardInfo) MarshalTo

func (m *RewardInfo) MarshalTo(dAtA []byte) (int, error)

func (*RewardInfo) MarshalToSizedBuffer

func (m *RewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardInfo) ProtoMessage

func (*RewardInfo) ProtoMessage()

func (*RewardInfo) Reset

func (m *RewardInfo) Reset()

func (*RewardInfo) Size

func (m *RewardInfo) Size() (n int)

func (*RewardInfo) String

func (m *RewardInfo) String() string

func (*RewardInfo) Unmarshal

func (m *RewardInfo) Unmarshal(dAtA []byte) error

func (*RewardInfo) XXX_DiscardUnknown

func (m *RewardInfo) XXX_DiscardUnknown()

func (*RewardInfo) XXX_Marshal

func (m *RewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardInfo) XXX_Merge

func (m *RewardInfo) XXX_Merge(src proto.Message)

func (*RewardInfo) XXX_Size

func (m *RewardInfo) XXX_Size() int

func (*RewardInfo) XXX_Unmarshal

func (m *RewardInfo) XXX_Unmarshal(b []byte) error

type StableStakeKeeper

type StableStakeKeeper interface {
	GetParams(ctx sdk.Context) (params stabletypes.Params)
	BorrowRatio(goCtx context.Context, req *stabletypes.QueryBorrowRatioRequest) (*stabletypes.QueryBorrowRatioResponse, error)
	TVL(ctx sdk.Context, oracleKeeper stabletypes.OracleKeeper, baseCurrency string) math.LegacyDec
}

StableStakeKeeper defines the expected stablestake keeper used for simulations (noalias)

type StakingKeeper

type StakingKeeper interface {
	TotalBondedTokens(context.Context) math.Int // total bonded tokens within the validator set
	// iterate through all delegations from one delegator by validator-AccAddress,
	// execute func for each validator
	IterateDelegations(ctx context.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool))
	// get a particular validator by operator address
	Validator(context.Context, sdk.ValAddress) stakingtypes.ValidatorI
	// GetDelegatorDelegations returns a given amount of all the delegations from a delegator.
	GetDelegatorDelegations(ctx context.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation)
	// get a particular validator by consensus address
	ValidatorByConsAddr(context.Context, sdk.ConsAddress) stakingtypes.ValidatorI
	// Delegation allows for getting a particular delegation for a given validator
	// and delegator outside the scope of the staking module.
	Delegation(context.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI
}

Staking keeper

type SupportedRewardDenom

type SupportedRewardDenom struct {
	Denom     string                `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	MinAmount cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=min_amount,json=minAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_amount"`
}

func (*SupportedRewardDenom) Descriptor

func (*SupportedRewardDenom) Descriptor() ([]byte, []int)

func (*SupportedRewardDenom) GetDenom

func (m *SupportedRewardDenom) GetDenom() string

func (*SupportedRewardDenom) Marshal

func (m *SupportedRewardDenom) Marshal() (dAtA []byte, err error)

func (*SupportedRewardDenom) MarshalTo

func (m *SupportedRewardDenom) MarshalTo(dAtA []byte) (int, error)

func (*SupportedRewardDenom) MarshalToSizedBuffer

func (m *SupportedRewardDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SupportedRewardDenom) ProtoMessage

func (*SupportedRewardDenom) ProtoMessage()

func (*SupportedRewardDenom) Reset

func (m *SupportedRewardDenom) Reset()

func (*SupportedRewardDenom) Size

func (m *SupportedRewardDenom) Size() (n int)

func (*SupportedRewardDenom) String

func (m *SupportedRewardDenom) String() string

func (*SupportedRewardDenom) Unmarshal

func (m *SupportedRewardDenom) Unmarshal(dAtA []byte) error

func (*SupportedRewardDenom) XXX_DiscardUnknown

func (m *SupportedRewardDenom) XXX_DiscardUnknown()

func (*SupportedRewardDenom) XXX_Marshal

func (m *SupportedRewardDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupportedRewardDenom) XXX_Merge

func (m *SupportedRewardDenom) XXX_Merge(src proto.Message)

func (*SupportedRewardDenom) XXX_Size

func (m *SupportedRewardDenom) XXX_Size() int

func (*SupportedRewardDenom) XXX_Unmarshal

func (m *SupportedRewardDenom) XXX_Unmarshal(b []byte) error

type TokenomicsKeeper

type TokenomicsKeeper interface {
	GetAllTimeBasedInflation(ctx sdk.Context) (list []tokenomictypes.TimeBasedInflation)
}

TokenomicsKeeper defines the expected tokenomics keeper used for simulations (noalias)

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddExternalIncentive

func (*UnimplementedMsgServer) AddExternalRewardDenom

func (*UnimplementedMsgServer) ClaimRewards

func (*UnimplementedMsgServer) TogglePoolEdenRewards added in v0.45.0

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdatePoolMultipliers

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Apr added in v0.49.0

func (*UnimplementedQueryServer) Aprs added in v0.49.0

func (*UnimplementedQueryServer) ExternalIncentive

func (*UnimplementedQueryServer) ListFeeInfo added in v0.44.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PoolAprs

func (*UnimplementedQueryServer) PoolInfo

func (*UnimplementedQueryServer) PoolRewardInfo

func (*UnimplementedQueryServer) PoolRewards added in v0.49.0

func (*UnimplementedQueryServer) ShowFeeInfo added in v0.44.0

func (*UnimplementedQueryServer) StableStakeApr

func (*UnimplementedQueryServer) UserPendingReward

func (*UnimplementedQueryServer) UserRewardInfo

type UserRewardInfo

type UserRewardInfo struct {
	User          string                      `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	PoolId        uint64                      `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	RewardDenom   string                      `protobuf:"bytes,3,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	RewardDebt    cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=reward_debt,json=rewardDebt,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"reward_debt"`
	RewardPending cosmossdk_io_math.LegacyDec `` /* 129-byte string literal not displayed */
}

func (*UserRewardInfo) Descriptor

func (*UserRewardInfo) Descriptor() ([]byte, []int)

func (*UserRewardInfo) GetPoolId

func (m *UserRewardInfo) GetPoolId() uint64

func (*UserRewardInfo) GetRewardDenom

func (m *UserRewardInfo) GetRewardDenom() string

func (*UserRewardInfo) GetUser

func (m *UserRewardInfo) GetUser() string

func (UserRewardInfo) GetUserAccount added in v0.42.0

func (u UserRewardInfo) GetUserAccount() sdk.AccAddress

func (*UserRewardInfo) Marshal

func (m *UserRewardInfo) Marshal() (dAtA []byte, err error)

func (*UserRewardInfo) MarshalTo

func (m *UserRewardInfo) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL