types

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 44 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"

	AttributeRewardDenom    = "reward_denom"
	AttributeMinAmount      = "min_amount"
	AttributeSupported      = "supported"
	AttributePoolId         = "pool_id"
	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

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_masterchef"

	ParamsKey = "ParamsKey"

	PoolInfoKeyPrefix = "PoolInfo"

	ExternalIncentiveIndexKeyPrefix = "IndexExternalIncentive"

	ExternalIncentiveKeyPrefix = "ExternalIncentive"

	PoolRewardInfoKeyPrefix = "PoolRewardInfo"

	UserRewardInfoKeyPrefix = "UserRewardInfo"

	PoolRewardsAccumKeyPrefix = "PoolRewardsAccum"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgAddExternalIncentive = "add_external_incentive"
View Source
const TypeMsgAddExternalRewardDenom = "add_external_reward_denom"
View Source
const TypeMsgClaimRewards = "claim_rewards"
View Source
const TypeMsgUpdateParams = "update_incentive_params"
View Source
const TypeMsgUpdatePoolMultipliers = "update_pool_multipliers"

Variables

View Source
var (
	ErrInvalidLengthDexRewardsTraker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDexRewardsTraker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDexRewardsTraker = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrNoInflationaryParams     = errorsmod.Register(ModuleName, 1, "no inflationary rewards params")
	ErrPoolRewardsAccumNotFound = errorsmod.Register(ModuleName, 2, "pool rewards accumulation not found")
)

x/masterchef module sentinel errors

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 (
	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 (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func ExternalIncentiveIndex

func ExternalIncentiveIndex() []byte

func ExternalIncentiveKey

func ExternalIncentiveKey(incentiveId uint64) []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 KeyPrefix

func KeyPrefix(p string) []byte

func PoolInfoKey

func PoolInfoKey(poolId uint64) []byte

func PoolRewardInfoKey

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

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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)

func UserRewardInfoKey

func UserRewardInfoKey(user string, poolId uint64, rewardDenom string) []byte

Types

type AccountKeeper

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

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

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

type AccountedPoolKeeper

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

AccountedPoolKeeper

type AmmKeeper

type AmmKeeper interface {
	// UpdatePoolForSwap takes a pool, sender, and tokenIn, tokenOut amounts
	// It then updates the pool's balances to the new reserve amounts, and
	// sends the in tokens from the sender to the pool, and the out tokens from the pool to the sender.
	UpdatePoolForSwap(
		ctx sdk.Context,
		pool ammtypes.Pool,
		sender sdk.AccAddress,
		recipient sdk.AccAddress,
		tokenIn sdk.Coin,
		tokenOut sdk.Coin,
		swapFeeIn sdk.Dec,
		swapFeeOut sdk.Dec,
		weightBalanceBonus sdk.Dec,
	) (math.Int, error)
	GetBestPoolWithDenoms(ctx sdk.Context, denoms []string) (pool ammtypes.Pool, found bool)
	// GetPool returns a pool from its index
	GetPool(sdk.Context, uint64) (ammtypes.Pool, bool)
	// Get all pools
	GetAllPool(sdk.Context) []ammtypes.Pool
	// IterateCommitments iterates over all Commitments and performs a callback.
	IterateLiquidityPools(sdk.Context, func(ammtypes.Pool) bool)
	GetPoolSnapshotOrSet(ctx sdk.Context, pool ammtypes.Pool) (val ammtypes.Pool)

	SwapOutAmtGivenIn(
		ctx sdk.Context, poolId uint64,
		oracleKeeper ammtypes.OracleKeeper,
		snapshot *ammtypes.Pool,
		tokensIn sdk.Coins,
		tokenOutDenom string,
		swapFee sdk.Dec,
	) (tokenOut sdk.Coin, slippage, slippageAmount sdk.Dec, weightBalanceBonus sdk.Dec, err error)
	CalcOutAmtGivenIn(ctx sdk.Context, poolId uint64, oracle ammtypes.OracleKeeper, snapshot *ammtypes.Pool, tokensIn sdk.Coins, tokenOutDenom string, swapFee sdk.Dec) (sdk.Coin, sdk.Dec, error)
	GetEdenDenomPrice(ctx sdk.Context, baseCurrency string) math.LegacyDec
	GetTokenPrice(ctx sdk.Context, tokenInDenom, baseCurrency string) math.LegacyDec
}

AmmKeeper defines the expected interface needed to swap tokens

type AssetProfileKeeper

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

AssetProfileKeeper defines the expected interface needed to retrieve denom info

type BankKeeper

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

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

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

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

BankKeeper defines the expected interface needed to retrieve account balances.

type CommitmentKeeper

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

CommitmentKeeper

type DexRewardsTracker

type DexRewardsTracker struct {
	// Number of blocks since start of epoch (distribution epoch)
	NumBlocks github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
	// Accumulated amount at distribution epoch - recalculated at every distribution epoch
	Amount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"amount"`
}

DexRewardsTracker is used for tracking rewards for LPs, all amount here is in USDC

func (*DexRewardsTracker) Descriptor

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

func (*DexRewardsTracker) Equal

func (this *DexRewardsTracker) Equal(that interface{}) bool

func (*DexRewardsTracker) Marshal

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

func (*DexRewardsTracker) MarshalTo

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

func (*DexRewardsTracker) MarshalToSizedBuffer

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

func (*DexRewardsTracker) ProtoMessage

func (*DexRewardsTracker) ProtoMessage()

func (*DexRewardsTracker) Reset

func (m *DexRewardsTracker) Reset()

func (*DexRewardsTracker) Size

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

func (*DexRewardsTracker) String

func (m *DexRewardsTracker) String() string

func (*DexRewardsTracker) Unmarshal

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

func (*DexRewardsTracker) XXX_DiscardUnknown

func (m *DexRewardsTracker) XXX_DiscardUnknown()

func (*DexRewardsTracker) XXX_Marshal

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

func (*DexRewardsTracker) XXX_Merge

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

func (*DexRewardsTracker) XXX_Size

func (m *DexRewardsTracker) XXX_Size() int

func (*DexRewardsTracker) XXX_Unmarshal

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

type ExternalIncentive

type ExternalIncentive struct {
	Id             uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RewardDenom    string                                 `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	PoolId         uint64                                 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	FromBlock      int64                                  `protobuf:"varint,4,opt,name=from_block,json=fromBlock,proto3" json:"from_block,omitempty"`
	ToBlock        int64                                  `protobuf:"varint,5,opt,name=to_block,json=toBlock,proto3" json:"to_block,omitempty"`
	AmountPerBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	Apr            github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=apr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"apr"`
}

ExternalIncentive defines the external incentives.

func (*ExternalIncentive) Descriptor

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

func (*ExternalIncentive) GetFromBlock

func (m *ExternalIncentive) GetFromBlock() int64

func (*ExternalIncentive) GetId

func (m *ExternalIncentive) GetId() uint64

func (*ExternalIncentive) GetPoolId

func (m *ExternalIncentive) GetPoolId() uint64

func (*ExternalIncentive) GetRewardDenom

func (m *ExternalIncentive) GetRewardDenom() string

func (*ExternalIncentive) GetToBlock

func (m *ExternalIncentive) GetToBlock() int64

func (*ExternalIncentive) Marshal

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

func (*ExternalIncentive) MarshalTo

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

func (*ExternalIncentive) MarshalToSizedBuffer

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

func (*ExternalIncentive) ProtoMessage

func (*ExternalIncentive) ProtoMessage()

func (*ExternalIncentive) Reset

func (m *ExternalIncentive) Reset()

func (*ExternalIncentive) Size

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

func (*ExternalIncentive) String

func (m *ExternalIncentive) String() string

func (*ExternalIncentive) Unmarshal

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

func (*ExternalIncentive) XXX_DiscardUnknown

func (m *ExternalIncentive) XXX_DiscardUnknown()

func (*ExternalIncentive) XXX_Marshal

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

func (*ExternalIncentive) XXX_Merge

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

func (*ExternalIncentive) XXX_Size

func (m *ExternalIncentive) XXX_Size() int

func (*ExternalIncentive) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                 Params              `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ExternalIncentives     []ExternalIncentive `protobuf:"bytes,2,rep,name=external_incentives,json=externalIncentives,proto3" json:"external_incentives"`
	ExternalIncentiveIndex uint64              `` /* 130-byte string literal not displayed */
	PoolInfos              []PoolInfo          `protobuf:"bytes,4,rep,name=pool_infos,json=poolInfos,proto3" json:"pool_infos"`
	PoolRewardInfos        []PoolRewardInfo    `protobuf:"bytes,5,rep,name=pool_reward_infos,json=poolRewardInfos,proto3" json:"pool_reward_infos"`
	UserRewardInfos        []UserRewardInfo    `protobuf:"bytes,6,rep,name=user_reward_infos,json=userRewardInfos,proto3" json:"user_reward_infos"`
	PoolRewardsAccum       []PoolRewardsAccum  `protobuf:"bytes,7,rep,name=pool_rewards_accum,json=poolRewardsAccum,proto3" json:"pool_rewards_accum"`
}

GenesisState defines the masterchef module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetExternalIncentiveIndex

func (m *GenesisState) GetExternalIncentiveIndex() uint64

func (*GenesisState) GetExternalIncentives

func (m *GenesisState) GetExternalIncentives() []ExternalIncentive

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPoolInfos

func (m *GenesisState) GetPoolInfos() []PoolInfo

func (*GenesisState) GetPoolRewardInfos

func (m *GenesisState) GetPoolRewardInfos() []PoolRewardInfo

func (*GenesisState) GetPoolRewardsAccum added in v0.33.0

func (m *GenesisState) GetPoolRewardsAccum() []PoolRewardsAccum

func (*GenesisState) GetUserRewardInfos

func (m *GenesisState) GetUserRewardInfos() []UserRewardInfo

func (*GenesisState) Marshal

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

func (*GenesisState) 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 github_com_cosmos_cosmos_sdk_types.Int `` /* 156-byte string literal not displayed */
	// starting block height of the distribution
	DistributionStartBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
	// distribution duration - block number per year
	TotalBlocksPerYear github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */
	// blocks distributed
	BlocksDistributed github_com_cosmos_cosmos_sdk_types.Int `` /* 152-byte string literal not displayed */
}

Incentive Info

func (*IncentiveInfo) Descriptor

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

func (*IncentiveInfo) Marshal

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

func (*IncentiveInfo) 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 MsgAddExternalIncentive

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

func (*MsgAddExternalIncentive) Descriptor

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

func (*MsgAddExternalIncentive) GetFromBlock

func (m *MsgAddExternalIncentive) GetFromBlock() int64

func (*MsgAddExternalIncentive) GetPoolId

func (m *MsgAddExternalIncentive) GetPoolId() uint64

func (*MsgAddExternalIncentive) GetRewardDenom

func (m *MsgAddExternalIncentive) GetRewardDenom() string

func (*MsgAddExternalIncentive) GetSender

func (m *MsgAddExternalIncentive) GetSender() string

func (*MsgAddExternalIncentive) GetSignBytes

func (msg *MsgAddExternalIncentive) GetSignBytes() []byte

func (*MsgAddExternalIncentive) GetSigners

func (msg *MsgAddExternalIncentive) GetSigners() []sdk.AccAddress

func (*MsgAddExternalIncentive) GetToBlock

func (m *MsgAddExternalIncentive) GetToBlock() int64

func (*MsgAddExternalIncentive) Marshal

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

func (*MsgAddExternalIncentive) MarshalTo

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

func (*MsgAddExternalIncentive) MarshalToSizedBuffer

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

func (*MsgAddExternalIncentive) ProtoMessage

func (*MsgAddExternalIncentive) ProtoMessage()

func (*MsgAddExternalIncentive) Reset

func (m *MsgAddExternalIncentive) Reset()

func (*MsgAddExternalIncentive) Route

func (msg *MsgAddExternalIncentive) Route() string

func (*MsgAddExternalIncentive) Size

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

func (*MsgAddExternalIncentive) String

func (m *MsgAddExternalIncentive) String() string

func (*MsgAddExternalIncentive) Type

func (msg *MsgAddExternalIncentive) Type() string

func (*MsgAddExternalIncentive) Unmarshal

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

func (*MsgAddExternalIncentive) ValidateBasic

func (msg *MsgAddExternalIncentive) ValidateBasic() error

func (*MsgAddExternalIncentive) XXX_DiscardUnknown

func (m *MsgAddExternalIncentive) XXX_DiscardUnknown()

func (*MsgAddExternalIncentive) XXX_Marshal

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

func (*MsgAddExternalIncentive) XXX_Merge

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

func (*MsgAddExternalIncentive) XXX_Size

func (m *MsgAddExternalIncentive) XXX_Size() int

func (*MsgAddExternalIncentive) XXX_Unmarshal

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

type MsgAddExternalIncentiveResponse

type MsgAddExternalIncentiveResponse struct {
}

func (*MsgAddExternalIncentiveResponse) Descriptor

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

func (*MsgAddExternalIncentiveResponse) Marshal

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

func (*MsgAddExternalIncentiveResponse) MarshalTo

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

func (*MsgAddExternalIncentiveResponse) MarshalToSizedBuffer

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

func (*MsgAddExternalIncentiveResponse) ProtoMessage

func (*MsgAddExternalIncentiveResponse) ProtoMessage()

func (*MsgAddExternalIncentiveResponse) Reset

func (*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   github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
	Supported   bool                                   `protobuf:"varint,4,opt,name=supported,proto3" json:"supported,omitempty"`
}

func (*MsgAddExternalRewardDenom) Descriptor

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

func (*MsgAddExternalRewardDenom) GetAuthority

func (m *MsgAddExternalRewardDenom) GetAuthority() string

func (*MsgAddExternalRewardDenom) GetRewardDenom

func (m *MsgAddExternalRewardDenom) GetRewardDenom() string

func (*MsgAddExternalRewardDenom) GetSignBytes

func (msg *MsgAddExternalRewardDenom) GetSignBytes() []byte

func (*MsgAddExternalRewardDenom) GetSigners

func (msg *MsgAddExternalRewardDenom) GetSigners() []sdk.AccAddress

func (*MsgAddExternalRewardDenom) GetSupported

func (m *MsgAddExternalRewardDenom) GetSupported() bool

func (*MsgAddExternalRewardDenom) Marshal

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

func (*MsgAddExternalRewardDenom) MarshalTo

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

func (*MsgAddExternalRewardDenom) MarshalToSizedBuffer

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

func (*MsgAddExternalRewardDenom) ProtoMessage

func (*MsgAddExternalRewardDenom) ProtoMessage()

func (*MsgAddExternalRewardDenom) Reset

func (m *MsgAddExternalRewardDenom) Reset()

func (*MsgAddExternalRewardDenom) Route

func (msg *MsgAddExternalRewardDenom) Route() string

func (*MsgAddExternalRewardDenom) Size

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

func (*MsgAddExternalRewardDenom) String

func (m *MsgAddExternalRewardDenom) String() string

func (*MsgAddExternalRewardDenom) Type

func (msg *MsgAddExternalRewardDenom) Type() string

func (*MsgAddExternalRewardDenom) Unmarshal

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

func (*MsgAddExternalRewardDenom) ValidateBasic

func (msg *MsgAddExternalRewardDenom) ValidateBasic() error

func (*MsgAddExternalRewardDenom) XXX_DiscardUnknown

func (m *MsgAddExternalRewardDenom) XXX_DiscardUnknown()

func (*MsgAddExternalRewardDenom) XXX_Marshal

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

func (*MsgAddExternalRewardDenom) XXX_Merge

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

func (*MsgAddExternalRewardDenom) XXX_Size

func (m *MsgAddExternalRewardDenom) XXX_Size() int

func (*MsgAddExternalRewardDenom) XXX_Unmarshal

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

type MsgAddExternalRewardDenomResponse

type MsgAddExternalRewardDenomResponse struct {
}

func (*MsgAddExternalRewardDenomResponse) Descriptor

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

func (*MsgAddExternalRewardDenomResponse) Marshal

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

func (*MsgAddExternalRewardDenomResponse) MarshalTo

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

func (*MsgAddExternalRewardDenomResponse) MarshalToSizedBuffer

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

func (*MsgAddExternalRewardDenomResponse) ProtoMessage

func (*MsgAddExternalRewardDenomResponse) ProtoMessage()

func (*MsgAddExternalRewardDenomResponse) Reset

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

func (msg *MsgClaimRewards) GetSignBytes() []byte

func (*MsgClaimRewards) GetSigners

func (msg *MsgClaimRewards) GetSigners() []sdk.AccAddress

func (*MsgClaimRewards) Marshal

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

func (*MsgClaimRewards) 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) Route

func (msg *MsgClaimRewards) Route() string

func (*MsgClaimRewards) Size

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

func (*MsgClaimRewards) String

func (m *MsgClaimRewards) String() string

func (*MsgClaimRewards) Type

func (msg *MsgClaimRewards) Type() string

func (*MsgClaimRewards) Unmarshal

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

func (*MsgClaimRewards) ValidateBasic

func (msg *MsgClaimRewards) ValidateBasic() error

func (*MsgClaimRewards) XXX_DiscardUnknown

func (m *MsgClaimRewards) XXX_DiscardUnknown()

func (*MsgClaimRewards) XXX_Marshal

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

func (*MsgClaimRewards) XXX_Merge

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

func (*MsgClaimRewards) XXX_Size

func (m *MsgClaimRewards) XXX_Size() int

func (*MsgClaimRewards) XXX_Unmarshal

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

type MsgClaimRewardsResponse

type MsgClaimRewardsResponse struct {
}

func (*MsgClaimRewardsResponse) Descriptor

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

func (*MsgClaimRewardsResponse) Marshal

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

func (*MsgClaimRewardsResponse) MarshalTo

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

func (*MsgClaimRewardsResponse) MarshalToSizedBuffer

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

func (*MsgClaimRewardsResponse) ProtoMessage

func (*MsgClaimRewardsResponse) ProtoMessage()

func (*MsgClaimRewardsResponse) Reset

func (m *MsgClaimRewardsResponse) Reset()

func (*MsgClaimRewardsResponse) Size

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

func (*MsgClaimRewardsResponse) String

func (m *MsgClaimRewardsResponse) String() string

func (*MsgClaimRewardsResponse) Unmarshal

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

func (*MsgClaimRewardsResponse) XXX_DiscardUnknown

func (m *MsgClaimRewardsResponse) XXX_DiscardUnknown()

func (*MsgClaimRewardsResponse) XXX_Marshal

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

func (*MsgClaimRewardsResponse) XXX_Merge

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

func (*MsgClaimRewardsResponse) XXX_Size

func (m *MsgClaimRewardsResponse) XXX_Size() int

func (*MsgClaimRewardsResponse) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgServer

MsgServer is the server API for Msg service.

type MsgUpdateParams

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

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes

func (msg *MsgUpdateParams) GetSignBytes() []byte

func (*MsgUpdateParams) GetSigners

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) 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) Route

func (msg *MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Type

func (msg *MsgUpdateParams) Type() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MsgUpdatePoolMultipliers

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

func (*MsgUpdatePoolMultipliers) Descriptor

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

func (*MsgUpdatePoolMultipliers) GetAuthority

func (m *MsgUpdatePoolMultipliers) GetAuthority() string

func (*MsgUpdatePoolMultipliers) GetPoolMultipliers

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

func (*MsgUpdatePoolMultipliers) GetSignBytes

func (msg *MsgUpdatePoolMultipliers) GetSignBytes() []byte

func (*MsgUpdatePoolMultipliers) GetSigners

func (msg *MsgUpdatePoolMultipliers) GetSigners() []sdk.AccAddress

func (*MsgUpdatePoolMultipliers) Marshal

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

func (*MsgUpdatePoolMultipliers) MarshalTo

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

func (*MsgUpdatePoolMultipliers) MarshalToSizedBuffer

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

func (*MsgUpdatePoolMultipliers) ProtoMessage

func (*MsgUpdatePoolMultipliers) ProtoMessage()

func (*MsgUpdatePoolMultipliers) Reset

func (m *MsgUpdatePoolMultipliers) Reset()

func (*MsgUpdatePoolMultipliers) Route

func (msg *MsgUpdatePoolMultipliers) Route() string

func (*MsgUpdatePoolMultipliers) Size

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

func (*MsgUpdatePoolMultipliers) String

func (m *MsgUpdatePoolMultipliers) String() string

func (*MsgUpdatePoolMultipliers) Type

func (msg *MsgUpdatePoolMultipliers) Type() string

func (*MsgUpdatePoolMultipliers) Unmarshal

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

func (*MsgUpdatePoolMultipliers) ValidateBasic

func (msg *MsgUpdatePoolMultipliers) ValidateBasic() error

func (*MsgUpdatePoolMultipliers) XXX_DiscardUnknown

func (m *MsgUpdatePoolMultipliers) XXX_DiscardUnknown()

func (*MsgUpdatePoolMultipliers) XXX_Marshal

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

func (*MsgUpdatePoolMultipliers) XXX_Merge

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

func (*MsgUpdatePoolMultipliers) XXX_Size

func (m *MsgUpdatePoolMultipliers) XXX_Size() int

func (*MsgUpdatePoolMultipliers) XXX_Unmarshal

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

type MsgUpdatePoolMultipliersResponse

type MsgUpdatePoolMultipliersResponse struct {
}

func (*MsgUpdatePoolMultipliersResponse) Descriptor

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

func (*MsgUpdatePoolMultipliersResponse) Marshal

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

func (*MsgUpdatePoolMultipliersResponse) MarshalTo

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

func (*MsgUpdatePoolMultipliersResponse) MarshalToSizedBuffer

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

func (*MsgUpdatePoolMultipliersResponse) ProtoMessage

func (*MsgUpdatePoolMultipliersResponse) ProtoMessage()

func (*MsgUpdatePoolMultipliersResponse) Reset

func (*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) sdk.Dec
	GetPriceFeeder(ctx sdk.Context, feeder string) (val oracletypes.PriceFeeder, found bool)
}

OracleKeeper defines the expected interface needed to retrieve price info

type ParameterKeeper

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

type Params

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

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	lpIncentives *IncentiveInfo,
	rewardPortionForLps sdk.Dec,
	rewardPortionForStakers sdk.Dec,
	maxEdenRewardAprLps sdk.Dec,
	protocolRevenueAddress string,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) 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 (p Params) String() string

String implements the Stringer interface.

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  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=eden_apr,json=edenApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"eden_apr"`
	UsdcApr  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=usdc_apr,json=usdcApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"usdc_apr"`
	TotalApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=total_apr,json=totalApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total_apr"`
}

func (*PoolApr) Descriptor

func (*PoolApr) 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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"`
	// Eden APR, updated at every distribution
	EdenApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=eden_apr,json=edenApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"eden_apr"`
	// Dex APR, updated based on 24hr accumulation
	DexApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=dex_apr,json=dexApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"dex_apr"`
	// Gas APR, updated based on 24hr accumulation
	GasApr github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=gas_apr,json=gasApr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"gas_apr"`
	// External Incentive APR, updated at every distribution
	ExternalIncentiveApr github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// external reward denoms on the pool
	ExternalRewardDenoms []string `protobuf:"bytes,8,rep,name=external_reward_denoms,json=externalRewardDenoms,proto3" json:"external_reward_denoms,omitempty"`
}

func (*PoolInfo) Descriptor

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

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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"`
}

func (*PoolMultiplier) Descriptor

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

func (*PoolMultiplier) GetPoolId

func (m *PoolMultiplier) GetPoolId() uint64

func (*PoolMultiplier) Marshal

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

func (*PoolMultiplier) 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 github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-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 PoolRewardsAccum added in v0.33.0

type PoolRewardsAccum struct {
	PoolId      uint64                                 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	BlockHeight int64                                  `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Timestamp   uint64                                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	DexReward   github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	GasReward   github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	EdenReward  github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
}

func (*PoolRewardsAccum) Descriptor added in v0.33.0

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

func (*PoolRewardsAccum) GetBlockHeight added in v0.33.0

func (m *PoolRewardsAccum) GetBlockHeight() int64

func (*PoolRewardsAccum) GetPoolId added in v0.33.0

func (m *PoolRewardsAccum) GetPoolId() uint64

func (*PoolRewardsAccum) GetTimestamp added in v0.33.0

func (m *PoolRewardsAccum) GetTimestamp() uint64

func (*PoolRewardsAccum) Marshal added in v0.33.0

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

func (*PoolRewardsAccum) MarshalTo added in v0.33.0

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

func (*PoolRewardsAccum) MarshalToSizedBuffer added in v0.33.0

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

func (*PoolRewardsAccum) ProtoMessage added in v0.33.0

func (*PoolRewardsAccum) ProtoMessage()

func (*PoolRewardsAccum) Reset added in v0.33.0

func (m *PoolRewardsAccum) Reset()

func (*PoolRewardsAccum) Size added in v0.33.0

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

func (*PoolRewardsAccum) String added in v0.33.0

func (m *PoolRewardsAccum) String() string

func (*PoolRewardsAccum) Unmarshal added in v0.33.0

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

func (*PoolRewardsAccum) XXX_DiscardUnknown added in v0.33.0

func (m *PoolRewardsAccum) XXX_DiscardUnknown()

func (*PoolRewardsAccum) XXX_Marshal added in v0.33.0

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

func (*PoolRewardsAccum) XXX_Merge added in v0.33.0

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

func (*PoolRewardsAccum) XXX_Size added in v0.33.0

func (m *PoolRewardsAccum) XXX_Size() int

func (*PoolRewardsAccum) XXX_Unmarshal added in v0.33.0

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

type QueryClient

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 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 QueryStableStakeAprRequest

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

func (*QueryStableStakeAprRequest) Descriptor

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

func (*QueryStableStakeAprRequest) GetDenom

func (m *QueryStableStakeAprRequest) GetDenom() string

func (*QueryStableStakeAprRequest) Marshal

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

func (*QueryStableStakeAprRequest) MarshalTo

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

func (*QueryStableStakeAprRequest) MarshalToSizedBuffer

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

func (*QueryStableStakeAprRequest) ProtoMessage

func (*QueryStableStakeAprRequest) ProtoMessage()

func (*QueryStableStakeAprRequest) Reset

func (m *QueryStableStakeAprRequest) Reset()

func (*QueryStableStakeAprRequest) Size

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

func (*QueryStableStakeAprRequest) String

func (m *QueryStableStakeAprRequest) String() string

func (*QueryStableStakeAprRequest) Unmarshal

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

func (*QueryStableStakeAprRequest) XXX_DiscardUnknown

func (m *QueryStableStakeAprRequest) XXX_DiscardUnknown()

func (*QueryStableStakeAprRequest) XXX_Marshal

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

func (*QueryStableStakeAprRequest) XXX_Merge

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

func (*QueryStableStakeAprRequest) XXX_Size

func (m *QueryStableStakeAprRequest) XXX_Size() int

func (*QueryStableStakeAprRequest) XXX_Unmarshal

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

type QueryStableStakeAprResponse

type QueryStableStakeAprResponse struct {
	Apr github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=apr,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"apr"`
}

func (*QueryStableStakeAprResponse) Descriptor

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

func (*QueryStableStakeAprResponse) Marshal

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

func (*QueryStableStakeAprResponse) MarshalTo

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

func (*QueryStableStakeAprResponse) MarshalToSizedBuffer

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

func (*QueryStableStakeAprResponse) ProtoMessage

func (*QueryStableStakeAprResponse) ProtoMessage()

func (*QueryStableStakeAprResponse) Reset

func (m *QueryStableStakeAprResponse) Reset()

func (*QueryStableStakeAprResponse) Size

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

func (*QueryStableStakeAprResponse) String

func (m *QueryStableStakeAprResponse) String() string

func (*QueryStableStakeAprResponse) Unmarshal

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

func (*QueryStableStakeAprResponse) XXX_DiscardUnknown

func (m *QueryStableStakeAprResponse) XXX_DiscardUnknown()

func (*QueryStableStakeAprResponse) XXX_Marshal

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

func (*QueryStableStakeAprResponse) XXX_Merge

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

func (*QueryStableStakeAprResponse) XXX_Size

func (m *QueryStableStakeAprResponse) XXX_Size() int

func (*QueryStableStakeAprResponse) XXX_Unmarshal

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

type QueryUserPendingRewardRequest

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

func (*QueryUserPendingRewardRequest) Descriptor

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

func (*QueryUserPendingRewardRequest) GetUser

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

Staking keeper

type SupportedRewardDenom

type SupportedRewardDenom struct {
	Denom     string                                 `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	MinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 128-byte string literal not displayed */
}

func (*SupportedRewardDenom) Descriptor

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

func (*SupportedRewardDenom) GetDenom

func (m *SupportedRewardDenom) GetDenom() string

func (*SupportedRewardDenom) Marshal

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

func (*SupportedRewardDenom) MarshalTo

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

func (*SupportedRewardDenom) MarshalToSizedBuffer

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

func (*SupportedRewardDenom) ProtoMessage

func (*SupportedRewardDenom) ProtoMessage()

func (*SupportedRewardDenom) Reset

func (m *SupportedRewardDenom) Reset()

func (*SupportedRewardDenom) Size

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

func (*SupportedRewardDenom) String

func (m *SupportedRewardDenom) String() string

func (*SupportedRewardDenom) Unmarshal

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

func (*SupportedRewardDenom) XXX_DiscardUnknown

func (m *SupportedRewardDenom) XXX_DiscardUnknown()

func (*SupportedRewardDenom) XXX_Marshal

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

func (*SupportedRewardDenom) XXX_Merge

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

func (*SupportedRewardDenom) XXX_Size

func (m *SupportedRewardDenom) XXX_Size() int

func (*SupportedRewardDenom) XXX_Unmarshal

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

type TokenomicsKeeper

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

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddExternalIncentive

func (*UnimplementedMsgServer) AddExternalRewardDenom

func (*UnimplementedMsgServer) ClaimRewards

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdatePoolMultipliers

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ExternalIncentive

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PoolAprs

func (*UnimplementedQueryServer) PoolInfo

func (*UnimplementedQueryServer) PoolRewardInfo

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    github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	RewardPending github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
}

func (*UserRewardInfo) Descriptor

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

func (*UserRewardInfo) GetPoolId

func (m *UserRewardInfo) GetPoolId() uint64

func (*UserRewardInfo) GetRewardDenom

func (m *UserRewardInfo) GetRewardDenom() string

func (*UserRewardInfo) GetUser

func (m *UserRewardInfo) GetUser() string

func (*UserRewardInfo) Marshal

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

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