Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AdjustPriceToTickSpacing(price sdk.Dec, tickSpacing uint32, roundUp bool) int32
- func AdjustTickToTickSpacing(tick int32, tickSpacing uint32, roundUp bool) int32
- func Amount0Delta(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int) sdk.Int
- func Amount0DeltaRounding(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int, roundUp bool) sdk.Int
- func Amount0DeltaRoundingDec(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int, roundUp bool) sdk.Dec
- func Amount1Delta(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int) sdk.Int
- func Amount1DeltaDec(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int) sdk.Dec
- func Amount1DeltaRounding(sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int, roundUp bool) sdk.Int
- func AmountsForLiquidity(currentSqrtPrice, sqrtPriceA, sqrtPriceB sdk.Dec, liquidity sdk.Int) (amt0, amt1 sdk.Int)
- func BytesToTick(bz []byte) int32
- func DeriveFarmingPoolAddress(planId uint64) sdk.AccAddress
- func DerivePoolReserveAddress(poolId uint64) sdk.AccAddress
- func DerivePoolRewardsPoolAddress(poolId uint64) sdk.AccAddress
- func GetFarmingPlanKey(planId uint64) []byte
- func GetPoolByMarketIndexKey(marketId uint64) []byte
- func GetPoolByReserveAddressIndexKey(reserveAddr sdk.AccAddress) []byte
- func GetPoolKey(poolId uint64) []byte
- func GetPoolStateKey(poolId uint64) []byte
- func GetPositionByParamsIndexKey(ownerAddr sdk.AccAddress, poolId uint64, lowerTick, upperTick int32) []byte
- func GetPositionKey(positionId uint64) []byte
- func GetPositionsByOwnerAndPoolIteratorPrefix(ownerAddr sdk.AccAddress, poolId uint64) []byte
- func GetPositionsByOwnerIteratorPrefix(ownerAddr sdk.AccAddress) []byte
- func GetPositionsByPoolIndexKey(poolId, positionId uint64) []byte
- func GetPositionsByPoolIteratorPrefix(poolId uint64) []byte
- func GetTickInfoKey(poolId uint64, tick int32) []byte
- func GetTickInfosByPoolIteratorPrefix(poolId uint64) []byte
- func IsAllowedTickSpacing(tickSpacing uint32) bool
- func LiquidityForAmount0(sqrtPriceA, sqrtPriceB sdk.Dec, amt0 sdk.Int) sdk.Int
- func LiquidityForAmount1(sqrtPriceA, sqrtPriceB sdk.Dec, amt1 sdk.Int) sdk.Int
- func LiquidityForAmounts(currentSqrtPrice, sqrtPriceA, sqrtPriceB sdk.Dec, amt0, amt1 sdk.Int) sdk.Int
- func NextSqrtPriceFromOutput(sqrtPrice sdk.Dec, liquidity sdk.Int, amt sdk.Dec, isBuy bool) sdk.Dec
- func ParamKeyTable() paramstypes.KeyTable
- func ParsePositionsByPoolIndexKey(key []byte) (poolId, positionId uint64)
- func ParseTickInfoKey(key []byte) (poolId uint64, tick int32)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RewardsForBlock(rewardsPerDay sdk.Coins, blockDuration time.Duration) sdk.DecCoins
- func SqrtPriceAtTick(tick int32) sdk.Dec
- func TickToBytes(tick int32) []byte
- func ValidateFarmingRewardAllocations(rewardAllocs []FarmingRewardAllocation) error
- func ValidateTickSpacing(prevTickSpacing, tickSpacing uint32) error
- type AccountKeeper
- type BankKeeper
- type CreatePublicFarmingPlanRequest
- func (*CreatePublicFarmingPlanRequest) Descriptor() ([]byte, []int)
- func (m *CreatePublicFarmingPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *CreatePublicFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreatePublicFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreatePublicFarmingPlanRequest) ProtoMessage()
- func (m *CreatePublicFarmingPlanRequest) Reset()
- func (m *CreatePublicFarmingPlanRequest) Size() (n int)
- func (m *CreatePublicFarmingPlanRequest) String() string
- func (m *CreatePublicFarmingPlanRequest) Unmarshal(dAtA []byte) error
- func (req CreatePublicFarmingPlanRequest) Validate() error
- func (m *CreatePublicFarmingPlanRequest) XXX_DiscardUnknown()
- func (m *CreatePublicFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePublicFarmingPlanRequest) XXX_Merge(src proto.Message)
- func (m *CreatePublicFarmingPlanRequest) XXX_Size() int
- func (m *CreatePublicFarmingPlanRequest) XXX_Unmarshal(b []byte) error
- type EventAddLiquidity
- func (*EventAddLiquidity) Descriptor() ([]byte, []int)
- func (m *EventAddLiquidity) Marshal() (dAtA []byte, err error)
- func (m *EventAddLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddLiquidity) ProtoMessage()
- func (m *EventAddLiquidity) Reset()
- func (m *EventAddLiquidity) Size() (n int)
- func (m *EventAddLiquidity) String() string
- func (m *EventAddLiquidity) Unmarshal(dAtA []byte) error
- func (m *EventAddLiquidity) XXX_DiscardUnknown()
- func (m *EventAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddLiquidity) XXX_Merge(src proto.Message)
- func (m *EventAddLiquidity) XXX_Size() int
- func (m *EventAddLiquidity) XXX_Unmarshal(b []byte) error
- type EventCollect
- func (*EventCollect) Descriptor() ([]byte, []int)
- func (m *EventCollect) Marshal() (dAtA []byte, err error)
- func (m *EventCollect) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCollect) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCollect) ProtoMessage()
- func (m *EventCollect) Reset()
- func (m *EventCollect) Size() (n int)
- func (m *EventCollect) String() string
- func (m *EventCollect) Unmarshal(dAtA []byte) error
- func (m *EventCollect) XXX_DiscardUnknown()
- func (m *EventCollect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCollect) XXX_Merge(src proto.Message)
- func (m *EventCollect) XXX_Size() int
- func (m *EventCollect) XXX_Unmarshal(b []byte) error
- type EventCreatePool
- func (*EventCreatePool) Descriptor() ([]byte, []int)
- func (m *EventCreatePool) Marshal() (dAtA []byte, err error)
- func (m *EventCreatePool) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreatePool) ProtoMessage()
- func (m *EventCreatePool) Reset()
- func (m *EventCreatePool) Size() (n int)
- func (m *EventCreatePool) String() string
- func (m *EventCreatePool) Unmarshal(dAtA []byte) error
- func (m *EventCreatePool) XXX_DiscardUnknown()
- func (m *EventCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreatePool) XXX_Merge(src proto.Message)
- func (m *EventCreatePool) XXX_Size() int
- func (m *EventCreatePool) XXX_Unmarshal(b []byte) error
- type EventCreatePrivateFarmingPlan
- func (*EventCreatePrivateFarmingPlan) Descriptor() ([]byte, []int)
- func (m *EventCreatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
- func (m *EventCreatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreatePrivateFarmingPlan) ProtoMessage()
- func (m *EventCreatePrivateFarmingPlan) Reset()
- func (m *EventCreatePrivateFarmingPlan) Size() (n int)
- func (m *EventCreatePrivateFarmingPlan) String() string
- func (m *EventCreatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
- func (m *EventCreatePrivateFarmingPlan) XXX_DiscardUnknown()
- func (m *EventCreatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreatePrivateFarmingPlan) XXX_Merge(src proto.Message)
- func (m *EventCreatePrivateFarmingPlan) XXX_Size() int
- func (m *EventCreatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
- type EventCreatePublicFarmingPlan
- func (*EventCreatePublicFarmingPlan) Descriptor() ([]byte, []int)
- func (m *EventCreatePublicFarmingPlan) Marshal() (dAtA []byte, err error)
- func (m *EventCreatePublicFarmingPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreatePublicFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreatePublicFarmingPlan) ProtoMessage()
- func (m *EventCreatePublicFarmingPlan) Reset()
- func (m *EventCreatePublicFarmingPlan) Size() (n int)
- func (m *EventCreatePublicFarmingPlan) String() string
- func (m *EventCreatePublicFarmingPlan) Unmarshal(dAtA []byte) error
- func (m *EventCreatePublicFarmingPlan) XXX_DiscardUnknown()
- func (m *EventCreatePublicFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreatePublicFarmingPlan) XXX_Merge(src proto.Message)
- func (m *EventCreatePublicFarmingPlan) XXX_Size() int
- func (m *EventCreatePublicFarmingPlan) XXX_Unmarshal(b []byte) error
- type EventFarmingPlanTerminated
- func (*EventFarmingPlanTerminated) Descriptor() ([]byte, []int)
- func (m *EventFarmingPlanTerminated) Marshal() (dAtA []byte, err error)
- func (m *EventFarmingPlanTerminated) MarshalTo(dAtA []byte) (int, error)
- func (m *EventFarmingPlanTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventFarmingPlanTerminated) ProtoMessage()
- func (m *EventFarmingPlanTerminated) Reset()
- func (m *EventFarmingPlanTerminated) Size() (n int)
- func (m *EventFarmingPlanTerminated) String() string
- func (m *EventFarmingPlanTerminated) Unmarshal(dAtA []byte) error
- func (m *EventFarmingPlanTerminated) XXX_DiscardUnknown()
- func (m *EventFarmingPlanTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventFarmingPlanTerminated) XXX_Merge(src proto.Message)
- func (m *EventFarmingPlanTerminated) XXX_Size() int
- func (m *EventFarmingPlanTerminated) XXX_Unmarshal(b []byte) error
- type EventPoolParameterChanged
- func (*EventPoolParameterChanged) Descriptor() ([]byte, []int)
- func (m *EventPoolParameterChanged) Marshal() (dAtA []byte, err error)
- func (m *EventPoolParameterChanged) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPoolParameterChanged) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPoolParameterChanged) ProtoMessage()
- func (m *EventPoolParameterChanged) Reset()
- func (m *EventPoolParameterChanged) Size() (n int)
- func (m *EventPoolParameterChanged) String() string
- func (m *EventPoolParameterChanged) Unmarshal(dAtA []byte) error
- func (m *EventPoolParameterChanged) XXX_DiscardUnknown()
- func (m *EventPoolParameterChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPoolParameterChanged) XXX_Merge(src proto.Message)
- func (m *EventPoolParameterChanged) XXX_Size() int
- func (m *EventPoolParameterChanged) XXX_Unmarshal(b []byte) error
- type EventRemoveLiquidity
- func (*EventRemoveLiquidity) Descriptor() ([]byte, []int)
- func (m *EventRemoveLiquidity) Marshal() (dAtA []byte, err error)
- func (m *EventRemoveLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRemoveLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRemoveLiquidity) ProtoMessage()
- func (m *EventRemoveLiquidity) Reset()
- func (m *EventRemoveLiquidity) Size() (n int)
- func (m *EventRemoveLiquidity) String() string
- func (m *EventRemoveLiquidity) Unmarshal(dAtA []byte) error
- func (m *EventRemoveLiquidity) XXX_DiscardUnknown()
- func (m *EventRemoveLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRemoveLiquidity) XXX_Merge(src proto.Message)
- func (m *EventRemoveLiquidity) XXX_Size() int
- func (m *EventRemoveLiquidity) XXX_Unmarshal(b []byte) error
- type ExchangeKeeper
- type FarmingPlan
- func (*FarmingPlan) Descriptor() ([]byte, []int)
- func (plan FarmingPlan) IsActiveAt(t time.Time) bool
- func (m *FarmingPlan) Marshal() (dAtA []byte, err error)
- func (m *FarmingPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *FarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FarmingPlan) ProtoMessage()
- func (m *FarmingPlan) Reset()
- func (m *FarmingPlan) Size() (n int)
- func (m *FarmingPlan) String() string
- func (m *FarmingPlan) Unmarshal(dAtA []byte) error
- func (plan FarmingPlan) Validate() error
- func (m *FarmingPlan) XXX_DiscardUnknown()
- func (m *FarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FarmingPlan) XXX_Merge(src proto.Message)
- func (m *FarmingPlan) XXX_Size() int
- func (m *FarmingPlan) XXX_Unmarshal(b []byte) error
- type FarmingRewardAllocation
- func (*FarmingRewardAllocation) Descriptor() ([]byte, []int)
- func (m *FarmingRewardAllocation) Marshal() (dAtA []byte, err error)
- func (m *FarmingRewardAllocation) MarshalTo(dAtA []byte) (int, error)
- func (m *FarmingRewardAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FarmingRewardAllocation) ProtoMessage()
- func (m *FarmingRewardAllocation) Reset()
- func (m *FarmingRewardAllocation) Size() (n int)
- func (m *FarmingRewardAllocation) String() string
- func (m *FarmingRewardAllocation) Unmarshal(dAtA []byte) error
- func (m *FarmingRewardAllocation) XXX_DiscardUnknown()
- func (m *FarmingRewardAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FarmingRewardAllocation) XXX_Merge(src proto.Message)
- func (m *FarmingRewardAllocation) XXX_Size() int
- func (m *FarmingRewardAllocation) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (genState GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MarkerKeeper
- type MsgAddLiquidity
- func (*MsgAddLiquidity) Descriptor() ([]byte, []int)
- func (msg MsgAddLiquidity) GetSignBytes() []byte
- func (msg MsgAddLiquidity) GetSigners() []sdk.AccAddress
- func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)
- func (m *MsgAddLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddLiquidity) ProtoMessage()
- func (m *MsgAddLiquidity) Reset()
- func (msg MsgAddLiquidity) Route() string
- func (m *MsgAddLiquidity) Size() (n int)
- func (m *MsgAddLiquidity) String() string
- func (msg MsgAddLiquidity) Type() string
- func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error
- func (msg MsgAddLiquidity) ValidateBasic() error
- func (m *MsgAddLiquidity) XXX_DiscardUnknown()
- func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)
- func (m *MsgAddLiquidity) XXX_Size() int
- func (m *MsgAddLiquidity) XXX_Unmarshal(b []byte) error
- type MsgAddLiquidityResponse
- func (*MsgAddLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddLiquidityResponse) ProtoMessage()
- func (m *MsgAddLiquidityResponse) Reset()
- func (m *MsgAddLiquidityResponse) Size() (n int)
- func (m *MsgAddLiquidityResponse) String() string
- func (m *MsgAddLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddLiquidityResponse) XXX_DiscardUnknown()
- func (m *MsgAddLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddLiquidityResponse) XXX_Size() int
- func (m *MsgAddLiquidityResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCollect
- func (*MsgCollect) Descriptor() ([]byte, []int)
- func (msg MsgCollect) GetSignBytes() []byte
- func (msg MsgCollect) GetSigners() []sdk.AccAddress
- func (m *MsgCollect) Marshal() (dAtA []byte, err error)
- func (m *MsgCollect) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCollect) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCollect) ProtoMessage()
- func (m *MsgCollect) Reset()
- func (msg MsgCollect) Route() string
- func (m *MsgCollect) Size() (n int)
- func (m *MsgCollect) String() string
- func (msg MsgCollect) Type() string
- func (m *MsgCollect) Unmarshal(dAtA []byte) error
- func (msg MsgCollect) ValidateBasic() error
- func (m *MsgCollect) XXX_DiscardUnknown()
- func (m *MsgCollect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCollect) XXX_Merge(src proto.Message)
- func (m *MsgCollect) XXX_Size() int
- func (m *MsgCollect) XXX_Unmarshal(b []byte) error
- type MsgCollectResponse
- func (*MsgCollectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCollectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCollectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCollectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCollectResponse) ProtoMessage()
- func (m *MsgCollectResponse) Reset()
- func (m *MsgCollectResponse) Size() (n int)
- func (m *MsgCollectResponse) String() string
- func (m *MsgCollectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCollectResponse) XXX_DiscardUnknown()
- func (m *MsgCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCollectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCollectResponse) XXX_Size() int
- func (m *MsgCollectResponse) XXX_Unmarshal(b []byte) error
- type MsgCreatePool
- func (*MsgCreatePool) Descriptor() ([]byte, []int)
- func (msg MsgCreatePool) GetSignBytes() []byte
- func (msg MsgCreatePool) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePool) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePool) ProtoMessage()
- func (m *MsgCreatePool) Reset()
- func (msg MsgCreatePool) Route() string
- func (m *MsgCreatePool) Size() (n int)
- func (m *MsgCreatePool) String() string
- func (msg MsgCreatePool) Type() string
- func (m *MsgCreatePool) Unmarshal(dAtA []byte) error
- func (msg MsgCreatePool) ValidateBasic() error
- func (m *MsgCreatePool) XXX_DiscardUnknown()
- func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePool) XXX_Merge(src proto.Message)
- func (m *MsgCreatePool) XXX_Size() int
- func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error
- type MsgCreatePoolResponse
- func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePoolResponse) ProtoMessage()
- func (m *MsgCreatePoolResponse) Reset()
- func (m *MsgCreatePoolResponse) Size() (n int)
- func (m *MsgCreatePoolResponse) String() string
- func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePoolResponse) XXX_Size() int
- func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgCreatePrivateFarmingPlan
- func (*MsgCreatePrivateFarmingPlan) Descriptor() ([]byte, []int)
- func (msg MsgCreatePrivateFarmingPlan) GetSignBytes() []byte
- func (msg MsgCreatePrivateFarmingPlan) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePrivateFarmingPlan) ProtoMessage()
- func (m *MsgCreatePrivateFarmingPlan) Reset()
- func (msg MsgCreatePrivateFarmingPlan) Route() string
- func (m *MsgCreatePrivateFarmingPlan) Size() (n int)
- func (m *MsgCreatePrivateFarmingPlan) String() string
- func (msg MsgCreatePrivateFarmingPlan) Type() string
- func (m *MsgCreatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
- func (msg MsgCreatePrivateFarmingPlan) ValidateBasic() error
- func (m *MsgCreatePrivateFarmingPlan) XXX_DiscardUnknown()
- func (m *MsgCreatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePrivateFarmingPlan) XXX_Merge(src proto.Message)
- func (m *MsgCreatePrivateFarmingPlan) XXX_Size() int
- func (m *MsgCreatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
- type MsgCreatePrivateFarmingPlanResponse
- func (*MsgCreatePrivateFarmingPlanResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePrivateFarmingPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePrivateFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePrivateFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePrivateFarmingPlanResponse) ProtoMessage()
- func (m *MsgCreatePrivateFarmingPlanResponse) Reset()
- func (m *MsgCreatePrivateFarmingPlanResponse) Size() (n int)
- func (m *MsgCreatePrivateFarmingPlanResponse) String() string
- func (m *MsgCreatePrivateFarmingPlanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePrivateFarmingPlanResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Size() int
- func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveLiquidity
- func (*MsgRemoveLiquidity) Descriptor() ([]byte, []int)
- func (msg MsgRemoveLiquidity) GetSignBytes() []byte
- func (msg MsgRemoveLiquidity) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveLiquidity) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveLiquidity) ProtoMessage()
- func (m *MsgRemoveLiquidity) Reset()
- func (msg MsgRemoveLiquidity) Route() string
- func (m *MsgRemoveLiquidity) Size() (n int)
- func (m *MsgRemoveLiquidity) String() string
- func (msg MsgRemoveLiquidity) Type() string
- func (m *MsgRemoveLiquidity) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveLiquidity) ValidateBasic() error
- func (m *MsgRemoveLiquidity) XXX_DiscardUnknown()
- func (m *MsgRemoveLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveLiquidity) XXX_Merge(src proto.Message)
- func (m *MsgRemoveLiquidity) XXX_Size() int
- func (m *MsgRemoveLiquidity) XXX_Unmarshal(b []byte) error
- type MsgRemoveLiquidityResponse
- func (*MsgRemoveLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveLiquidityResponse) ProtoMessage()
- func (m *MsgRemoveLiquidityResponse) Reset()
- func (m *MsgRemoveLiquidityResponse) Size() (n int)
- func (m *MsgRemoveLiquidityResponse) String() string
- func (m *MsgRemoveLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveLiquidityResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveLiquidityResponse) XXX_Size() int
- func (m *MsgRemoveLiquidityResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTerminatePrivateFarmingPlan
- func (*MsgTerminatePrivateFarmingPlan) Descriptor() ([]byte, []int)
- func (msg MsgTerminatePrivateFarmingPlan) GetSignBytes() []byte
- func (msg MsgTerminatePrivateFarmingPlan) GetSigners() []sdk.AccAddress
- func (m *MsgTerminatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
- func (m *MsgTerminatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTerminatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTerminatePrivateFarmingPlan) ProtoMessage()
- func (m *MsgTerminatePrivateFarmingPlan) Reset()
- func (msg MsgTerminatePrivateFarmingPlan) Route() string
- func (m *MsgTerminatePrivateFarmingPlan) Size() (n int)
- func (m *MsgTerminatePrivateFarmingPlan) String() string
- func (msg MsgTerminatePrivateFarmingPlan) Type() string
- func (m *MsgTerminatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
- func (msg MsgTerminatePrivateFarmingPlan) ValidateBasic() error
- func (m *MsgTerminatePrivateFarmingPlan) XXX_DiscardUnknown()
- func (m *MsgTerminatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTerminatePrivateFarmingPlan) XXX_Merge(src proto.Message)
- func (m *MsgTerminatePrivateFarmingPlan) XXX_Size() int
- func (m *MsgTerminatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
- type MsgTerminatePrivateFarmingPlanResponse
- func (*MsgTerminatePrivateFarmingPlanResponse) Descriptor() ([]byte, []int)
- func (m *MsgTerminatePrivateFarmingPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTerminatePrivateFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTerminatePrivateFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTerminatePrivateFarmingPlanResponse) ProtoMessage()
- func (m *MsgTerminatePrivateFarmingPlanResponse) Reset()
- func (m *MsgTerminatePrivateFarmingPlanResponse) Size() (n int)
- func (m *MsgTerminatePrivateFarmingPlanResponse) String() string
- func (m *MsgTerminatePrivateFarmingPlanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_DiscardUnknown()
- func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Merge(src proto.Message)
- func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Size() int
- func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (params Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Pool
- func (pool Pool) DenomIn(isBuy bool) string
- func (pool Pool) DenomOut(isBuy bool) string
- func (*Pool) Descriptor() ([]byte, []int)
- func (m *Pool) Marshal() (dAtA []byte, err error)
- func (m *Pool) MarshalTo(dAtA []byte) (int, error)
- func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (pool Pool) MustGetReserveAddress() sdk.AccAddress
- func (pool Pool) MustGetRewardsPoolAddress() sdk.AccAddress
- func (*Pool) ProtoMessage()
- func (m *Pool) Reset()
- func (m *Pool) Size() (n int)
- func (m *Pool) String() string
- func (m *Pool) Unmarshal(dAtA []byte) error
- func (pool Pool) Validate() error
- func (m *Pool) XXX_DiscardUnknown()
- func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pool) XXX_Merge(src proto.Message)
- func (m *Pool) XXX_Size() int
- func (m *Pool) XXX_Unmarshal(b []byte) error
- type PoolParameterChange
- func (*PoolParameterChange) Descriptor() ([]byte, []int)
- func (m *PoolParameterChange) Marshal() (dAtA []byte, err error)
- func (m *PoolParameterChange) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolParameterChange) ProtoMessage()
- func (m *PoolParameterChange) Reset()
- func (m *PoolParameterChange) Size() (n int)
- func (m *PoolParameterChange) String() string
- func (m *PoolParameterChange) Unmarshal(dAtA []byte) error
- func (change PoolParameterChange) Validate() error
- func (m *PoolParameterChange) XXX_DiscardUnknown()
- func (m *PoolParameterChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolParameterChange) XXX_Merge(src proto.Message)
- func (m *PoolParameterChange) XXX_Size() int
- func (m *PoolParameterChange) XXX_Unmarshal(b []byte) error
- type PoolParameterChangeProposal
- func (*PoolParameterChangeProposal) Descriptor() ([]byte, []int)
- func (p *PoolParameterChangeProposal) GetDescription() string
- func (p *PoolParameterChangeProposal) GetTitle() string
- func (m *PoolParameterChangeProposal) Marshal() (dAtA []byte, err error)
- func (m *PoolParameterChangeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolParameterChangeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *PoolParameterChangeProposal) ProposalRoute() string
- func (p *PoolParameterChangeProposal) ProposalType() string
- func (*PoolParameterChangeProposal) ProtoMessage()
- func (m *PoolParameterChangeProposal) Reset()
- func (m *PoolParameterChangeProposal) Size() (n int)
- func (p PoolParameterChangeProposal) String() string
- func (m *PoolParameterChangeProposal) Unmarshal(dAtA []byte) error
- func (p *PoolParameterChangeProposal) ValidateBasic() error
- func (m *PoolParameterChangeProposal) XXX_DiscardUnknown()
- func (m *PoolParameterChangeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolParameterChangeProposal) XXX_Merge(src proto.Message)
- func (m *PoolParameterChangeProposal) XXX_Size() int
- func (m *PoolParameterChangeProposal) XXX_Unmarshal(b []byte) error
- type PoolRecord
- func (*PoolRecord) Descriptor() ([]byte, []int)
- func (m *PoolRecord) Marshal() (dAtA []byte, err error)
- func (m *PoolRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolRecord) ProtoMessage()
- func (m *PoolRecord) Reset()
- func (m *PoolRecord) Size() (n int)
- func (m *PoolRecord) String() string
- func (m *PoolRecord) Unmarshal(dAtA []byte) error
- func (record PoolRecord) Validate() error
- func (m *PoolRecord) XXX_DiscardUnknown()
- func (m *PoolRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolRecord) XXX_Merge(src proto.Message)
- func (m *PoolRecord) XXX_Size() int
- func (m *PoolRecord) XXX_Unmarshal(b []byte) error
- type PoolResponse
- func (*PoolResponse) Descriptor() ([]byte, []int)
- func (m *PoolResponse) Marshal() (dAtA []byte, err error)
- func (m *PoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolResponse) ProtoMessage()
- func (m *PoolResponse) Reset()
- func (m *PoolResponse) Size() (n int)
- func (m *PoolResponse) String() string
- func (m *PoolResponse) Unmarshal(dAtA []byte) error
- func (m *PoolResponse) XXX_DiscardUnknown()
- func (m *PoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolResponse) XXX_Merge(src proto.Message)
- func (m *PoolResponse) XXX_Size() int
- func (m *PoolResponse) XXX_Unmarshal(b []byte) error
- type PoolState
- func (*PoolState) Descriptor() ([]byte, []int)
- func (m *PoolState) Marshal() (dAtA []byte, err error)
- func (m *PoolState) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolState) ProtoMessage()
- func (m *PoolState) Reset()
- func (m *PoolState) Size() (n int)
- func (m *PoolState) String() string
- func (m *PoolState) Unmarshal(dAtA []byte) error
- func (poolState PoolState) Validate() error
- func (m *PoolState) XXX_DiscardUnknown()
- func (m *PoolState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolState) XXX_Merge(src proto.Message)
- func (m *PoolState) XXX_Size() int
- func (m *PoolState) XXX_Unmarshal(b []byte) error
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (position Position) MustGetOwnerAddress() sdk.AccAddress
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- func (position Position) Validate() error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type PositionResponse
- func (*PositionResponse) Descriptor() ([]byte, []int)
- func (m *PositionResponse) Marshal() (dAtA []byte, err error)
- func (m *PositionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionResponse) ProtoMessage()
- func (m *PositionResponse) Reset()
- func (m *PositionResponse) Size() (n int)
- func (m *PositionResponse) String() string
- func (m *PositionResponse) Unmarshal(dAtA []byte) error
- func (m *PositionResponse) XXX_DiscardUnknown()
- func (m *PositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionResponse) XXX_Merge(src proto.Message)
- func (m *PositionResponse) XXX_Size() int
- func (m *PositionResponse) XXX_Unmarshal(b []byte) error
- type PublicFarmingPlanProposal
- func (*PublicFarmingPlanProposal) Descriptor() ([]byte, []int)
- func (p *PublicFarmingPlanProposal) GetDescription() string
- func (p *PublicFarmingPlanProposal) GetTitle() string
- func (m *PublicFarmingPlanProposal) Marshal() (dAtA []byte, err error)
- func (m *PublicFarmingPlanProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicFarmingPlanProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *PublicFarmingPlanProposal) ProposalRoute() string
- func (p *PublicFarmingPlanProposal) ProposalType() string
- func (*PublicFarmingPlanProposal) ProtoMessage()
- func (m *PublicFarmingPlanProposal) Reset()
- func (m *PublicFarmingPlanProposal) Size() (n int)
- func (p PublicFarmingPlanProposal) String() string
- func (m *PublicFarmingPlanProposal) Unmarshal(dAtA []byte) error
- func (p *PublicFarmingPlanProposal) ValidateBasic() error
- func (m *PublicFarmingPlanProposal) XXX_DiscardUnknown()
- func (m *PublicFarmingPlanProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicFarmingPlanProposal) XXX_Merge(src proto.Message)
- func (m *PublicFarmingPlanProposal) XXX_Size() int
- func (m *PublicFarmingPlanProposal) XXX_Unmarshal(b []byte) error
- type QueryAddLiquiditySimulationRequest
- func (*QueryAddLiquiditySimulationRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddLiquiditySimulationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddLiquiditySimulationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddLiquiditySimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddLiquiditySimulationRequest) ProtoMessage()
- func (m *QueryAddLiquiditySimulationRequest) Reset()
- func (m *QueryAddLiquiditySimulationRequest) Size() (n int)
- func (m *QueryAddLiquiditySimulationRequest) String() string
- func (m *QueryAddLiquiditySimulationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddLiquiditySimulationRequest) XXX_DiscardUnknown()
- func (m *QueryAddLiquiditySimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddLiquiditySimulationRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddLiquiditySimulationRequest) XXX_Size() int
- func (m *QueryAddLiquiditySimulationRequest) XXX_Unmarshal(b []byte) error
- type QueryAddLiquiditySimulationResponse
- func (*QueryAddLiquiditySimulationResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddLiquiditySimulationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddLiquiditySimulationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddLiquiditySimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddLiquiditySimulationResponse) ProtoMessage()
- func (m *QueryAddLiquiditySimulationResponse) Reset()
- func (m *QueryAddLiquiditySimulationResponse) Size() (n int)
- func (m *QueryAddLiquiditySimulationResponse) String() string
- func (m *QueryAddLiquiditySimulationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddLiquiditySimulationResponse) XXX_DiscardUnknown()
- func (m *QueryAddLiquiditySimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddLiquiditySimulationResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddLiquiditySimulationResponse) XXX_Size() int
- func (m *QueryAddLiquiditySimulationResponse) XXX_Unmarshal(b []byte) error
- type QueryAllFarmingPlansRequest
- func (*QueryAllFarmingPlansRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllFarmingPlansRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFarmingPlansRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFarmingPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFarmingPlansRequest) ProtoMessage()
- func (m *QueryAllFarmingPlansRequest) Reset()
- func (m *QueryAllFarmingPlansRequest) Size() (n int)
- func (m *QueryAllFarmingPlansRequest) String() string
- func (m *QueryAllFarmingPlansRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllFarmingPlansRequest) XXX_DiscardUnknown()
- func (m *QueryAllFarmingPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFarmingPlansRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllFarmingPlansRequest) XXX_Size() int
- func (m *QueryAllFarmingPlansRequest) XXX_Unmarshal(b []byte) error
- type QueryAllFarmingPlansResponse
- func (*QueryAllFarmingPlansResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllFarmingPlansResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFarmingPlansResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFarmingPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFarmingPlansResponse) ProtoMessage()
- func (m *QueryAllFarmingPlansResponse) Reset()
- func (m *QueryAllFarmingPlansResponse) Size() (n int)
- func (m *QueryAllFarmingPlansResponse) String() string
- func (m *QueryAllFarmingPlansResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllFarmingPlansResponse) XXX_DiscardUnknown()
- func (m *QueryAllFarmingPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFarmingPlansResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllFarmingPlansResponse) XXX_Size() int
- func (m *QueryAllFarmingPlansResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPoolsRequest
- func (*QueryAllPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolsRequest) ProtoMessage()
- func (m *QueryAllPoolsRequest) Reset()
- func (m *QueryAllPoolsRequest) Size() (n int)
- func (m *QueryAllPoolsRequest) String() string
- func (m *QueryAllPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryAllPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolsRequest) XXX_Size() int
- func (m *QueryAllPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPoolsResponse
- func (*QueryAllPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolsResponse) ProtoMessage()
- func (m *QueryAllPoolsResponse) Reset()
- func (m *QueryAllPoolsResponse) Size() (n int)
- func (m *QueryAllPoolsResponse) String() string
- func (m *QueryAllPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryAllPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolsResponse) XXX_Size() int
- func (m *QueryAllPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPositionsRequest
- func (*QueryAllPositionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPositionsRequest) ProtoMessage()
- func (m *QueryAllPositionsRequest) Reset()
- func (m *QueryAllPositionsRequest) Size() (n int)
- func (m *QueryAllPositionsRequest) String() string
- func (m *QueryAllPositionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPositionsRequest) XXX_DiscardUnknown()
- func (m *QueryAllPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPositionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPositionsRequest) XXX_Size() int
- func (m *QueryAllPositionsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPositionsResponse
- func (*QueryAllPositionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPositionsResponse) ProtoMessage()
- func (m *QueryAllPositionsResponse) Reset()
- func (m *QueryAllPositionsResponse) Size() (n int)
- func (m *QueryAllPositionsResponse) String() string
- func (m *QueryAllPositionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPositionsResponse) XXX_DiscardUnknown()
- func (m *QueryAllPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPositionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPositionsResponse) XXX_Size() int
- func (m *QueryAllPositionsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllTickInfosRequest
- func (*QueryAllTickInfosRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllTickInfosRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllTickInfosRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllTickInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllTickInfosRequest) ProtoMessage()
- func (m *QueryAllTickInfosRequest) Reset()
- func (m *QueryAllTickInfosRequest) Size() (n int)
- func (m *QueryAllTickInfosRequest) String() string
- func (m *QueryAllTickInfosRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllTickInfosRequest) XXX_DiscardUnknown()
- func (m *QueryAllTickInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllTickInfosRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllTickInfosRequest) XXX_Size() int
- func (m *QueryAllTickInfosRequest) XXX_Unmarshal(b []byte) error
- type QueryAllTickInfosResponse
- func (*QueryAllTickInfosResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllTickInfosResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllTickInfosResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllTickInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllTickInfosResponse) ProtoMessage()
- func (m *QueryAllTickInfosResponse) Reset()
- func (m *QueryAllTickInfosResponse) Size() (n int)
- func (m *QueryAllTickInfosResponse) String() string
- func (m *QueryAllTickInfosResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllTickInfosResponse) XXX_DiscardUnknown()
- func (m *QueryAllTickInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllTickInfosResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllTickInfosResponse) XXX_Size() int
- func (m *QueryAllTickInfosResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCollectibleCoinsRequest
- func (*QueryCollectibleCoinsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectibleCoinsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectibleCoinsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectibleCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectibleCoinsRequest) ProtoMessage()
- func (m *QueryCollectibleCoinsRequest) Reset()
- func (m *QueryCollectibleCoinsRequest) Size() (n int)
- func (m *QueryCollectibleCoinsRequest) String() string
- func (m *QueryCollectibleCoinsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectibleCoinsRequest) XXX_DiscardUnknown()
- func (m *QueryCollectibleCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectibleCoinsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectibleCoinsRequest) XXX_Size() int
- func (m *QueryCollectibleCoinsRequest) XXX_Unmarshal(b []byte) error
- type QueryCollectibleCoinsResponse
- func (*QueryCollectibleCoinsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectibleCoinsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectibleCoinsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectibleCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectibleCoinsResponse) ProtoMessage()
- func (m *QueryCollectibleCoinsResponse) Reset()
- func (m *QueryCollectibleCoinsResponse) Size() (n int)
- func (m *QueryCollectibleCoinsResponse) String() string
- func (m *QueryCollectibleCoinsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectibleCoinsResponse) XXX_DiscardUnknown()
- func (m *QueryCollectibleCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectibleCoinsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectibleCoinsResponse) XXX_Size() int
- func (m *QueryCollectibleCoinsResponse) XXX_Unmarshal(b []byte) error
- type QueryFarmingPlanRequest
- func (*QueryFarmingPlanRequest) Descriptor() ([]byte, []int)
- func (m *QueryFarmingPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFarmingPlanRequest) ProtoMessage()
- func (m *QueryFarmingPlanRequest) Reset()
- func (m *QueryFarmingPlanRequest) Size() (n int)
- func (m *QueryFarmingPlanRequest) String() string
- func (m *QueryFarmingPlanRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFarmingPlanRequest) XXX_DiscardUnknown()
- func (m *QueryFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFarmingPlanRequest) XXX_Merge(src proto.Message)
- func (m *QueryFarmingPlanRequest) XXX_Size() int
- func (m *QueryFarmingPlanRequest) XXX_Unmarshal(b []byte) error
- type QueryFarmingPlanResponse
- func (*QueryFarmingPlanResponse) Descriptor() ([]byte, []int)
- func (m *QueryFarmingPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFarmingPlanResponse) ProtoMessage()
- func (m *QueryFarmingPlanResponse) Reset()
- func (m *QueryFarmingPlanResponse) Size() (n int)
- func (m *QueryFarmingPlanResponse) String() string
- func (m *QueryFarmingPlanResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFarmingPlanResponse) XXX_DiscardUnknown()
- func (m *QueryFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFarmingPlanResponse) XXX_Merge(src proto.Message)
- func (m *QueryFarmingPlanResponse) XXX_Size() int
- func (m *QueryFarmingPlanResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolRequest
- func (*QueryPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRequest) ProtoMessage()
- func (m *QueryPoolRequest) Reset()
- func (m *QueryPoolRequest) Size() (n int)
- func (m *QueryPoolRequest) String() string
- func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRequest) XXX_DiscardUnknown()
- func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolRequest) XXX_Size() int
- func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolResponse
- func (*QueryPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolResponse) ProtoMessage()
- func (m *QueryPoolResponse) Reset()
- func (m *QueryPoolResponse) Size() (n int)
- func (m *QueryPoolResponse) String() string
- func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolResponse) XXX_DiscardUnknown()
- func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolResponse) XXX_Size() int
- func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryPositionAssetsRequest
- func (*QueryPositionAssetsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPositionAssetsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionAssetsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionAssetsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionAssetsRequest) ProtoMessage()
- func (m *QueryPositionAssetsRequest) Reset()
- func (m *QueryPositionAssetsRequest) Size() (n int)
- func (m *QueryPositionAssetsRequest) String() string
- func (m *QueryPositionAssetsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPositionAssetsRequest) XXX_DiscardUnknown()
- func (m *QueryPositionAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionAssetsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPositionAssetsRequest) XXX_Size() int
- func (m *QueryPositionAssetsRequest) XXX_Unmarshal(b []byte) error
- type QueryPositionAssetsResponse
- func (*QueryPositionAssetsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPositionAssetsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionAssetsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionAssetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionAssetsResponse) ProtoMessage()
- func (m *QueryPositionAssetsResponse) Reset()
- func (m *QueryPositionAssetsResponse) Size() (n int)
- func (m *QueryPositionAssetsResponse) String() string
- func (m *QueryPositionAssetsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPositionAssetsResponse) XXX_DiscardUnknown()
- func (m *QueryPositionAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionAssetsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPositionAssetsResponse) XXX_Size() int
- func (m *QueryPositionAssetsResponse) XXX_Unmarshal(b []byte) error
- type QueryPositionRequest
- func (*QueryPositionRequest) Descriptor() ([]byte, []int)
- func (m *QueryPositionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionRequest) ProtoMessage()
- func (m *QueryPositionRequest) Reset()
- func (m *QueryPositionRequest) Size() (n int)
- func (m *QueryPositionRequest) String() string
- func (m *QueryPositionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPositionRequest) XXX_DiscardUnknown()
- func (m *QueryPositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionRequest) XXX_Merge(src proto.Message)
- func (m *QueryPositionRequest) XXX_Size() int
- func (m *QueryPositionRequest) XXX_Unmarshal(b []byte) error
- type QueryPositionResponse
- func (*QueryPositionResponse) Descriptor() ([]byte, []int)
- func (m *QueryPositionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionResponse) ProtoMessage()
- func (m *QueryPositionResponse) Reset()
- func (m *QueryPositionResponse) Size() (n int)
- func (m *QueryPositionResponse) String() string
- func (m *QueryPositionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPositionResponse) XXX_DiscardUnknown()
- func (m *QueryPositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionResponse) XXX_Merge(src proto.Message)
- func (m *QueryPositionResponse) XXX_Size() int
- func (m *QueryPositionResponse) XXX_Unmarshal(b []byte) error
- type QueryRemoveLiquiditySimulationRequest
- func (*QueryRemoveLiquiditySimulationRequest) Descriptor() ([]byte, []int)
- func (m *QueryRemoveLiquiditySimulationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRemoveLiquiditySimulationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRemoveLiquiditySimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRemoveLiquiditySimulationRequest) ProtoMessage()
- func (m *QueryRemoveLiquiditySimulationRequest) Reset()
- func (m *QueryRemoveLiquiditySimulationRequest) Size() (n int)
- func (m *QueryRemoveLiquiditySimulationRequest) String() string
- func (m *QueryRemoveLiquiditySimulationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRemoveLiquiditySimulationRequest) XXX_DiscardUnknown()
- func (m *QueryRemoveLiquiditySimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRemoveLiquiditySimulationRequest) XXX_Merge(src proto.Message)
- func (m *QueryRemoveLiquiditySimulationRequest) XXX_Size() int
- func (m *QueryRemoveLiquiditySimulationRequest) XXX_Unmarshal(b []byte) error
- type QueryRemoveLiquiditySimulationResponse
- func (*QueryRemoveLiquiditySimulationResponse) Descriptor() ([]byte, []int)
- func (m *QueryRemoveLiquiditySimulationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRemoveLiquiditySimulationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRemoveLiquiditySimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRemoveLiquiditySimulationResponse) ProtoMessage()
- func (m *QueryRemoveLiquiditySimulationResponse) Reset()
- func (m *QueryRemoveLiquiditySimulationResponse) Size() (n int)
- func (m *QueryRemoveLiquiditySimulationResponse) String() string
- func (m *QueryRemoveLiquiditySimulationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRemoveLiquiditySimulationResponse) XXX_DiscardUnknown()
- func (m *QueryRemoveLiquiditySimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRemoveLiquiditySimulationResponse) XXX_Merge(src proto.Message)
- func (m *QueryRemoveLiquiditySimulationResponse) XXX_Size() int
- func (m *QueryRemoveLiquiditySimulationResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTickInfoRequest
- func (*QueryTickInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryTickInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTickInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTickInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTickInfoRequest) ProtoMessage()
- func (m *QueryTickInfoRequest) Reset()
- func (m *QueryTickInfoRequest) Size() (n int)
- func (m *QueryTickInfoRequest) String() string
- func (m *QueryTickInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTickInfoRequest) XXX_DiscardUnknown()
- func (m *QueryTickInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTickInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryTickInfoRequest) XXX_Size() int
- func (m *QueryTickInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryTickInfoResponse
- func (*QueryTickInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryTickInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTickInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTickInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTickInfoResponse) ProtoMessage()
- func (m *QueryTickInfoResponse) Reset()
- func (m *QueryTickInfoResponse) Size() (n int)
- func (m *QueryTickInfoResponse) String() string
- func (m *QueryTickInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTickInfoResponse) XXX_DiscardUnknown()
- func (m *QueryTickInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTickInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryTickInfoResponse) XXX_Size() int
- func (m *QueryTickInfoResponse) XXX_Unmarshal(b []byte) error
- type TerminateFarmingPlanRequest
- func (*TerminateFarmingPlanRequest) Descriptor() ([]byte, []int)
- func (m *TerminateFarmingPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *TerminateFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TerminateFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TerminateFarmingPlanRequest) ProtoMessage()
- func (m *TerminateFarmingPlanRequest) Reset()
- func (m *TerminateFarmingPlanRequest) Size() (n int)
- func (m *TerminateFarmingPlanRequest) String() string
- func (m *TerminateFarmingPlanRequest) Unmarshal(dAtA []byte) error
- func (req TerminateFarmingPlanRequest) Validate() error
- func (m *TerminateFarmingPlanRequest) XXX_DiscardUnknown()
- func (m *TerminateFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TerminateFarmingPlanRequest) XXX_Merge(src proto.Message)
- func (m *TerminateFarmingPlanRequest) XXX_Size() int
- func (m *TerminateFarmingPlanRequest) XXX_Unmarshal(b []byte) error
- type TickInfo
- func (*TickInfo) Descriptor() ([]byte, []int)
- func (m *TickInfo) Marshal() (dAtA []byte, err error)
- func (m *TickInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TickInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TickInfo) ProtoMessage()
- func (m *TickInfo) Reset()
- func (m *TickInfo) Size() (n int)
- func (m *TickInfo) String() string
- func (m *TickInfo) Unmarshal(dAtA []byte) error
- func (tickInfo TickInfo) Validate() error
- func (m *TickInfo) XXX_DiscardUnknown()
- func (m *TickInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickInfo) XXX_Merge(src proto.Message)
- func (m *TickInfo) XXX_Size() int
- func (m *TickInfo) XXX_Unmarshal(b []byte) error
- type TickInfoRecord
- func (*TickInfoRecord) Descriptor() ([]byte, []int)
- func (m *TickInfoRecord) Marshal() (dAtA []byte, err error)
- func (m *TickInfoRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *TickInfoRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TickInfoRecord) ProtoMessage()
- func (m *TickInfoRecord) Reset()
- func (m *TickInfoRecord) Size() (n int)
- func (m *TickInfoRecord) String() string
- func (m *TickInfoRecord) Unmarshal(dAtA []byte) error
- func (record TickInfoRecord) Validate() error
- func (m *TickInfoRecord) XXX_DiscardUnknown()
- func (m *TickInfoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickInfoRecord) XXX_Merge(src proto.Message)
- func (m *TickInfoRecord) XXX_Size() int
- func (m *TickInfoRecord) XXX_Unmarshal(b []byte) error
- type TickInfoResponse
- func (*TickInfoResponse) Descriptor() ([]byte, []int)
- func (m *TickInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *TickInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TickInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TickInfoResponse) ProtoMessage()
- func (m *TickInfoResponse) Reset()
- func (m *TickInfoResponse) Size() (n int)
- func (m *TickInfoResponse) String() string
- func (m *TickInfoResponse) Unmarshal(dAtA []byte) error
- func (m *TickInfoResponse) XXX_DiscardUnknown()
- func (m *TickInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickInfoResponse) XXX_Merge(src proto.Message)
- func (m *TickInfoResponse) XXX_Size() int
- func (m *TickInfoResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddLiquidity(ctx context.Context, req *MsgAddLiquidity) (*MsgAddLiquidityResponse, error)
- func (*UnimplementedMsgServer) Collect(ctx context.Context, req *MsgCollect) (*MsgCollectResponse, error)
- func (*UnimplementedMsgServer) CreatePool(ctx context.Context, req *MsgCreatePool) (*MsgCreatePoolResponse, error)
- func (*UnimplementedMsgServer) CreatePrivateFarmingPlan(ctx context.Context, req *MsgCreatePrivateFarmingPlan) (*MsgCreatePrivateFarmingPlanResponse, error)
- func (*UnimplementedMsgServer) RemoveLiquidity(ctx context.Context, req *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error)
- func (*UnimplementedMsgServer) TerminatePrivateFarmingPlan(ctx context.Context, req *MsgTerminatePrivateFarmingPlan) (*MsgTerminatePrivateFarmingPlanResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AddLiquiditySimulation(ctx context.Context, req *QueryAddLiquiditySimulationRequest) (*QueryAddLiquiditySimulationResponse, error)
- func (*UnimplementedQueryServer) AllFarmingPlans(ctx context.Context, req *QueryAllFarmingPlansRequest) (*QueryAllFarmingPlansResponse, error)
- func (*UnimplementedQueryServer) AllPools(ctx context.Context, req *QueryAllPoolsRequest) (*QueryAllPoolsResponse, error)
- func (*UnimplementedQueryServer) AllPositions(ctx context.Context, req *QueryAllPositionsRequest) (*QueryAllPositionsResponse, error)
- func (*UnimplementedQueryServer) AllTickInfos(ctx context.Context, req *QueryAllTickInfosRequest) (*QueryAllTickInfosResponse, error)
- func (*UnimplementedQueryServer) CollectibleCoins(ctx context.Context, req *QueryCollectibleCoinsRequest) (*QueryCollectibleCoinsResponse, error)
- func (*UnimplementedQueryServer) FarmingPlan(ctx context.Context, req *QueryFarmingPlanRequest) (*QueryFarmingPlanResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
- func (*UnimplementedQueryServer) Position(ctx context.Context, req *QueryPositionRequest) (*QueryPositionResponse, error)
- func (*UnimplementedQueryServer) PositionAssets(ctx context.Context, req *QueryPositionAssetsRequest) (*QueryPositionAssetsResponse, error)
- func (*UnimplementedQueryServer) RemoveLiquiditySimulation(ctx context.Context, req *QueryRemoveLiquiditySimulationRequest) (*QueryRemoveLiquiditySimulationResponse, error)
- func (*UnimplementedQueryServer) TickInfo(ctx context.Context, req *QueryTickInfoRequest) (*QueryTickInfoResponse, error)
Examples ¶
Constants ¶
const ( // ModuleName defines the module name ModuleName = "amm" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName )
const ( TypeMsgCreatePool = "create_pool" TypeMsgAddLiquidity = "add_liquidity" TypeMsgRemoveLiquidity = "remove_liquidity" TypeMsgCollect = "collect" TypeMsgCreatePrivateFarmingPlan = "create_private_farming_plan" TypeMsgTerminatePrivateFarmingPlan = "terminate_private_farming_plan" )
Message types for the module
const ( MinTick = -1260000 MaxTick = 3600000 )
const ( ProposalTypePoolParameterChange string = "PoolParameterChange" ProposalTypePublicFarmingPlan string = "PublicFarmingPlan" )
const (
MaxPlanDescriptionLen = 200 // Maximum length of a plan's description
)
Variables ¶
var ( ErrInvalidLengthAmm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAmm = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAmm = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthFarming = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFarming = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFarming = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( LastPoolIdKey = []byte{0x40} LastPositionIdKey = []byte{0x41} PoolKeyPrefix = []byte{0x42} // poolId => Pool PoolStateKeyPrefix = []byte{0x43} // poolId => PoolState PoolByReserveAddressIndexKeyPrefix = []byte{0x44} // reserveAddress => poolId PoolByMarketIndexKeyPrefix = []byte{0x45} // marketId => poolId PositionKeyPrefix = []byte{0x46} // positionId => Position PositionByParamsIndexKeyPrefix = []byte{0x47} // poolId + owner + lowerTick + upperTick => positionId PositionsByPoolIndexKeyPrefix = []byte{0x48} // poolId + positionId => nil TickInfoKeyPrefix = []byte{0x49} // poolId + tick => TickInfo LastFarmingPlanIdKey = []byte{0x4a} FarmingPlanKeyPrefix = []byte{0x4b} // planId => FarmingPlan NumPrivateFarmingPlansKey = []byte{0x4c} )
var ( MinPrice = exchangetypes.PriceAtTick(MinTick) // 0.000000000000010000 MaxPrice = exchangetypes.PriceAtTick(MaxTick) // 10000000000000000000000000000000000000000 )
var ( KeyPoolCreationFee = []byte("PoolCreationFee") KeyDefaultTickSpacing = []byte("DefaultTickSpacing") KeyPrivateFarmingPlanCreationFee = []byte("PrivateFarmingPlanCreationFee") KeyMaxNumPrivateFarmingPlans = []byte("MaxNumPrivateFarmingPlans") KeyMaxFarmingBlockTime = []byte("MaxFarmingBlockTime") )
var ( DefaultPoolCreationFee = sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, 1000000)) DefaultDefaultTickSpacing = uint32(50) DefaultPrivateFarmingPlanCreationFee = sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, 1000000)) DefaultMaxNumPrivateFarmingPlans = uint32(50) DefaultMaxFarmingBlockTime = 10 * time.Second AllowedTickSpacings = []uint32{1, 5, 10, 50} // DecMulFactor is multiplied to fee and farming rewards growth variables // so that small amount of rewards can be handled correctly. DecMulFactor = sdk.NewDecFromInt(sdk.NewIntWithDecimal(1, 12)) DefaultMinOrderQuantity = sdk.NewDec(1) DefaultMinOrderQuote = sdk.NewDec(1) )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var RewardsPoolAddress = sdk.AccAddress(address.Module(ModuleName, []byte("RewardsPool")))
Functions ¶
func AdjustTickToTickSpacing ¶
AdjustTickToTickSpacing returns rounded tick based on tickSpacing.
func Amount0DeltaRounding ¶
func Amount0DeltaRoundingDec ¶
func Amount1DeltaDec ¶
func Amount1DeltaRounding ¶
func AmountsForLiquidity ¶
func BytesToTick ¶
func DeriveFarmingPoolAddress ¶
func DeriveFarmingPoolAddress(planId uint64) sdk.AccAddress
func DerivePoolReserveAddress ¶
func DerivePoolReserveAddress(poolId uint64) sdk.AccAddress
func DerivePoolRewardsPoolAddress ¶
func DerivePoolRewardsPoolAddress(poolId uint64) sdk.AccAddress
func GetFarmingPlanKey ¶
func GetPoolByMarketIndexKey ¶
func GetPoolByReserveAddressIndexKey ¶
func GetPoolByReserveAddressIndexKey(reserveAddr sdk.AccAddress) []byte
func GetPoolKey ¶
func GetPoolStateKey ¶
func GetPositionByParamsIndexKey ¶
func GetPositionByParamsIndexKey(ownerAddr sdk.AccAddress, poolId uint64, lowerTick, upperTick int32) []byte
func GetPositionKey ¶
func GetPositionsByOwnerAndPoolIteratorPrefix ¶
func GetPositionsByOwnerAndPoolIteratorPrefix(ownerAddr sdk.AccAddress, poolId uint64) []byte
func GetPositionsByOwnerIteratorPrefix ¶
func GetPositionsByOwnerIteratorPrefix(ownerAddr sdk.AccAddress) []byte
func GetTickInfoKey ¶
func IsAllowedTickSpacing ¶
func LiquidityForAmount0 ¶
func LiquidityForAmount1 ¶
func LiquidityForAmounts ¶
func NextSqrtPriceFromOutput ¶
func ParamKeyTable ¶
func ParamKeyTable() paramstypes.KeyTable
func ParseTickInfoKey ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers the x/amm interfaces types with the interface registry.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/amm interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RewardsForBlock ¶
func SqrtPriceAtTick ¶
func TickToBytes ¶
func ValidateFarmingRewardAllocations ¶
func ValidateFarmingRewardAllocations(rewardAllocs []FarmingRewardAllocation) error
func ValidateTickSpacing ¶
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI GetModuleAddress(moduleName string) sdk.AccAddress }
AccountKeeper defines the expected keeper interface of the auth module. Some methods are used only in simulation tests.
type BankKeeper ¶
type BankKeeper interface { HasSupply(ctx sdk.Context, denom string) bool SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error // Just for simulations MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected keeper interface of the bank module. Some methods are used only in simulation tests.
type CreatePublicFarmingPlanRequest ¶
type CreatePublicFarmingPlanRequest struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` FarmingPoolAddress string `protobuf:"bytes,2,opt,name=farming_pool_address,json=farmingPoolAddress,proto3" json:"farming_pool_address,omitempty"` TerminationAddress string `protobuf:"bytes,3,opt,name=termination_address,json=terminationAddress,proto3" json:"termination_address,omitempty"` RewardAllocations []FarmingRewardAllocation `protobuf:"bytes,4,rep,name=reward_allocations,json=rewardAllocations,proto3" json:"reward_allocations"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` }
func NewCreatePublicFarmingPlanRequest ¶
func NewCreatePublicFarmingPlanRequest( description string, farmingPoolAddr, termAddr sdk.AccAddress, rewardAllocs []FarmingRewardAllocation, startTime, endTime time.Time) CreatePublicFarmingPlanRequest
func (*CreatePublicFarmingPlanRequest) Descriptor ¶
func (*CreatePublicFarmingPlanRequest) Descriptor() ([]byte, []int)
func (*CreatePublicFarmingPlanRequest) Marshal ¶
func (m *CreatePublicFarmingPlanRequest) Marshal() (dAtA []byte, err error)
func (*CreatePublicFarmingPlanRequest) MarshalTo ¶
func (m *CreatePublicFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreatePublicFarmingPlanRequest) MarshalToSizedBuffer ¶
func (m *CreatePublicFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreatePublicFarmingPlanRequest) ProtoMessage ¶
func (*CreatePublicFarmingPlanRequest) ProtoMessage()
func (*CreatePublicFarmingPlanRequest) Reset ¶
func (m *CreatePublicFarmingPlanRequest) Reset()
func (*CreatePublicFarmingPlanRequest) Size ¶
func (m *CreatePublicFarmingPlanRequest) Size() (n int)
func (*CreatePublicFarmingPlanRequest) String ¶
func (m *CreatePublicFarmingPlanRequest) String() string
func (*CreatePublicFarmingPlanRequest) Unmarshal ¶
func (m *CreatePublicFarmingPlanRequest) Unmarshal(dAtA []byte) error
func (CreatePublicFarmingPlanRequest) Validate ¶
func (req CreatePublicFarmingPlanRequest) Validate() error
func (*CreatePublicFarmingPlanRequest) XXX_DiscardUnknown ¶
func (m *CreatePublicFarmingPlanRequest) XXX_DiscardUnknown()
func (*CreatePublicFarmingPlanRequest) XXX_Marshal ¶
func (m *CreatePublicFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePublicFarmingPlanRequest) XXX_Merge ¶
func (m *CreatePublicFarmingPlanRequest) XXX_Merge(src proto.Message)
func (*CreatePublicFarmingPlanRequest) XXX_Size ¶
func (m *CreatePublicFarmingPlanRequest) XXX_Size() int
func (*CreatePublicFarmingPlanRequest) XXX_Unmarshal ¶
func (m *CreatePublicFarmingPlanRequest) XXX_Unmarshal(b []byte) error
type EventAddLiquidity ¶
type EventAddLiquidity struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` LowerPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ UpperPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ PositionId uint64 `protobuf:"varint,5,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*EventAddLiquidity) Descriptor ¶
func (*EventAddLiquidity) Descriptor() ([]byte, []int)
func (*EventAddLiquidity) Marshal ¶
func (m *EventAddLiquidity) Marshal() (dAtA []byte, err error)
func (*EventAddLiquidity) MarshalTo ¶
func (m *EventAddLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*EventAddLiquidity) MarshalToSizedBuffer ¶
func (m *EventAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddLiquidity) ProtoMessage ¶
func (*EventAddLiquidity) ProtoMessage()
func (*EventAddLiquidity) Reset ¶
func (m *EventAddLiquidity) Reset()
func (*EventAddLiquidity) Size ¶
func (m *EventAddLiquidity) Size() (n int)
func (*EventAddLiquidity) String ¶
func (m *EventAddLiquidity) String() string
func (*EventAddLiquidity) Unmarshal ¶
func (m *EventAddLiquidity) Unmarshal(dAtA []byte) error
func (*EventAddLiquidity) XXX_DiscardUnknown ¶
func (m *EventAddLiquidity) XXX_DiscardUnknown()
func (*EventAddLiquidity) XXX_Marshal ¶
func (m *EventAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddLiquidity) XXX_Merge ¶
func (m *EventAddLiquidity) XXX_Merge(src proto.Message)
func (*EventAddLiquidity) XXX_Size ¶
func (m *EventAddLiquidity) XXX_Size() int
func (*EventAddLiquidity) XXX_Unmarshal ¶
func (m *EventAddLiquidity) XXX_Unmarshal(b []byte) error
type EventCollect ¶
type EventCollect struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PositionId uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*EventCollect) Descriptor ¶
func (*EventCollect) Descriptor() ([]byte, []int)
func (*EventCollect) Marshal ¶
func (m *EventCollect) Marshal() (dAtA []byte, err error)
func (*EventCollect) MarshalToSizedBuffer ¶
func (m *EventCollect) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCollect) ProtoMessage ¶
func (*EventCollect) ProtoMessage()
func (*EventCollect) Reset ¶
func (m *EventCollect) Reset()
func (*EventCollect) Size ¶
func (m *EventCollect) Size() (n int)
func (*EventCollect) String ¶
func (m *EventCollect) String() string
func (*EventCollect) Unmarshal ¶
func (m *EventCollect) Unmarshal(dAtA []byte) error
func (*EventCollect) XXX_DiscardUnknown ¶
func (m *EventCollect) XXX_DiscardUnknown()
func (*EventCollect) XXX_Marshal ¶
func (m *EventCollect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCollect) XXX_Merge ¶
func (m *EventCollect) XXX_Merge(src proto.Message)
func (*EventCollect) XXX_Size ¶
func (m *EventCollect) XXX_Size() int
func (*EventCollect) XXX_Unmarshal ¶
func (m *EventCollect) XXX_Unmarshal(b []byte) error
type EventCreatePool ¶
type EventCreatePool struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MarketId uint64 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` PoolId uint64 `protobuf:"varint,4,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` }
func (*EventCreatePool) Descriptor ¶
func (*EventCreatePool) Descriptor() ([]byte, []int)
func (*EventCreatePool) Marshal ¶
func (m *EventCreatePool) Marshal() (dAtA []byte, err error)
func (*EventCreatePool) MarshalToSizedBuffer ¶
func (m *EventCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreatePool) ProtoMessage ¶
func (*EventCreatePool) ProtoMessage()
func (*EventCreatePool) Reset ¶
func (m *EventCreatePool) Reset()
func (*EventCreatePool) Size ¶
func (m *EventCreatePool) Size() (n int)
func (*EventCreatePool) String ¶
func (m *EventCreatePool) String() string
func (*EventCreatePool) Unmarshal ¶
func (m *EventCreatePool) Unmarshal(dAtA []byte) error
func (*EventCreatePool) XXX_DiscardUnknown ¶
func (m *EventCreatePool) XXX_DiscardUnknown()
func (*EventCreatePool) XXX_Marshal ¶
func (m *EventCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreatePool) XXX_Merge ¶
func (m *EventCreatePool) XXX_Merge(src proto.Message)
func (*EventCreatePool) XXX_Size ¶
func (m *EventCreatePool) XXX_Size() int
func (*EventCreatePool) XXX_Unmarshal ¶
func (m *EventCreatePool) XXX_Unmarshal(b []byte) error
type EventCreatePrivateFarmingPlan ¶
type EventCreatePrivateFarmingPlan struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TerminationAddress string `protobuf:"bytes,3,opt,name=termination_address,json=terminationAddress,proto3" json:"termination_address,omitempty"` RewardAllocations []FarmingRewardAllocation `protobuf:"bytes,4,rep,name=reward_allocations,json=rewardAllocations,proto3" json:"reward_allocations"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` FarmingPlanId uint64 `protobuf:"varint,7,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"` FarmingPoolAddress string `protobuf:"bytes,8,opt,name=farming_pool_address,json=farmingPoolAddress,proto3" json:"farming_pool_address,omitempty"` }
func (*EventCreatePrivateFarmingPlan) Descriptor ¶
func (*EventCreatePrivateFarmingPlan) Descriptor() ([]byte, []int)
func (*EventCreatePrivateFarmingPlan) Marshal ¶
func (m *EventCreatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
func (*EventCreatePrivateFarmingPlan) MarshalTo ¶
func (m *EventCreatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
func (*EventCreatePrivateFarmingPlan) MarshalToSizedBuffer ¶
func (m *EventCreatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreatePrivateFarmingPlan) ProtoMessage ¶
func (*EventCreatePrivateFarmingPlan) ProtoMessage()
func (*EventCreatePrivateFarmingPlan) Reset ¶
func (m *EventCreatePrivateFarmingPlan) Reset()
func (*EventCreatePrivateFarmingPlan) Size ¶
func (m *EventCreatePrivateFarmingPlan) Size() (n int)
func (*EventCreatePrivateFarmingPlan) String ¶
func (m *EventCreatePrivateFarmingPlan) String() string
func (*EventCreatePrivateFarmingPlan) Unmarshal ¶
func (m *EventCreatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
func (*EventCreatePrivateFarmingPlan) XXX_DiscardUnknown ¶
func (m *EventCreatePrivateFarmingPlan) XXX_DiscardUnknown()
func (*EventCreatePrivateFarmingPlan) XXX_Marshal ¶
func (m *EventCreatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreatePrivateFarmingPlan) XXX_Merge ¶
func (m *EventCreatePrivateFarmingPlan) XXX_Merge(src proto.Message)
func (*EventCreatePrivateFarmingPlan) XXX_Size ¶
func (m *EventCreatePrivateFarmingPlan) XXX_Size() int
func (*EventCreatePrivateFarmingPlan) XXX_Unmarshal ¶
func (m *EventCreatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
type EventCreatePublicFarmingPlan ¶
type EventCreatePublicFarmingPlan struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` FarmingPoolAddress string `protobuf:"bytes,2,opt,name=farming_pool_address,json=farmingPoolAddress,proto3" json:"farming_pool_address,omitempty"` TerminationAddress string `protobuf:"bytes,3,opt,name=termination_address,json=terminationAddress,proto3" json:"termination_address,omitempty"` RewardAllocations []FarmingRewardAllocation `protobuf:"bytes,4,rep,name=reward_allocations,json=rewardAllocations,proto3" json:"reward_allocations"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` FarmingPlanId uint64 `protobuf:"varint,7,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"` }
func (*EventCreatePublicFarmingPlan) Descriptor ¶
func (*EventCreatePublicFarmingPlan) Descriptor() ([]byte, []int)
func (*EventCreatePublicFarmingPlan) Marshal ¶
func (m *EventCreatePublicFarmingPlan) Marshal() (dAtA []byte, err error)
func (*EventCreatePublicFarmingPlan) MarshalTo ¶
func (m *EventCreatePublicFarmingPlan) MarshalTo(dAtA []byte) (int, error)
func (*EventCreatePublicFarmingPlan) MarshalToSizedBuffer ¶
func (m *EventCreatePublicFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreatePublicFarmingPlan) ProtoMessage ¶
func (*EventCreatePublicFarmingPlan) ProtoMessage()
func (*EventCreatePublicFarmingPlan) Reset ¶
func (m *EventCreatePublicFarmingPlan) Reset()
func (*EventCreatePublicFarmingPlan) Size ¶
func (m *EventCreatePublicFarmingPlan) Size() (n int)
func (*EventCreatePublicFarmingPlan) String ¶
func (m *EventCreatePublicFarmingPlan) String() string
func (*EventCreatePublicFarmingPlan) Unmarshal ¶
func (m *EventCreatePublicFarmingPlan) Unmarshal(dAtA []byte) error
func (*EventCreatePublicFarmingPlan) XXX_DiscardUnknown ¶
func (m *EventCreatePublicFarmingPlan) XXX_DiscardUnknown()
func (*EventCreatePublicFarmingPlan) XXX_Marshal ¶
func (m *EventCreatePublicFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreatePublicFarmingPlan) XXX_Merge ¶
func (m *EventCreatePublicFarmingPlan) XXX_Merge(src proto.Message)
func (*EventCreatePublicFarmingPlan) XXX_Size ¶
func (m *EventCreatePublicFarmingPlan) XXX_Size() int
func (*EventCreatePublicFarmingPlan) XXX_Unmarshal ¶
func (m *EventCreatePublicFarmingPlan) XXX_Unmarshal(b []byte) error
type EventFarmingPlanTerminated ¶
type EventFarmingPlanTerminated struct {
FarmingPlanId uint64 `protobuf:"varint,1,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"`
}
func (*EventFarmingPlanTerminated) Descriptor ¶
func (*EventFarmingPlanTerminated) Descriptor() ([]byte, []int)
func (*EventFarmingPlanTerminated) Marshal ¶
func (m *EventFarmingPlanTerminated) Marshal() (dAtA []byte, err error)
func (*EventFarmingPlanTerminated) MarshalTo ¶
func (m *EventFarmingPlanTerminated) MarshalTo(dAtA []byte) (int, error)
func (*EventFarmingPlanTerminated) MarshalToSizedBuffer ¶
func (m *EventFarmingPlanTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventFarmingPlanTerminated) ProtoMessage ¶
func (*EventFarmingPlanTerminated) ProtoMessage()
func (*EventFarmingPlanTerminated) Reset ¶
func (m *EventFarmingPlanTerminated) Reset()
func (*EventFarmingPlanTerminated) Size ¶
func (m *EventFarmingPlanTerminated) Size() (n int)
func (*EventFarmingPlanTerminated) String ¶
func (m *EventFarmingPlanTerminated) String() string
func (*EventFarmingPlanTerminated) Unmarshal ¶
func (m *EventFarmingPlanTerminated) Unmarshal(dAtA []byte) error
func (*EventFarmingPlanTerminated) XXX_DiscardUnknown ¶
func (m *EventFarmingPlanTerminated) XXX_DiscardUnknown()
func (*EventFarmingPlanTerminated) XXX_Marshal ¶
func (m *EventFarmingPlanTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventFarmingPlanTerminated) XXX_Merge ¶
func (m *EventFarmingPlanTerminated) XXX_Merge(src proto.Message)
func (*EventFarmingPlanTerminated) XXX_Size ¶
func (m *EventFarmingPlanTerminated) XXX_Size() int
func (*EventFarmingPlanTerminated) XXX_Unmarshal ¶
func (m *EventFarmingPlanTerminated) XXX_Unmarshal(b []byte) error
type EventPoolParameterChanged ¶
type EventPoolParameterChanged struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` TickSpacing uint32 `protobuf:"varint,2,opt,name=tick_spacing,json=tickSpacing,proto3" json:"tick_spacing,omitempty"` MinOrderQuantity *github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */ MinOrderQuote *github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */ }
func (*EventPoolParameterChanged) Descriptor ¶
func (*EventPoolParameterChanged) Descriptor() ([]byte, []int)
func (*EventPoolParameterChanged) Marshal ¶
func (m *EventPoolParameterChanged) Marshal() (dAtA []byte, err error)
func (*EventPoolParameterChanged) MarshalTo ¶
func (m *EventPoolParameterChanged) MarshalTo(dAtA []byte) (int, error)
func (*EventPoolParameterChanged) MarshalToSizedBuffer ¶
func (m *EventPoolParameterChanged) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPoolParameterChanged) ProtoMessage ¶
func (*EventPoolParameterChanged) ProtoMessage()
func (*EventPoolParameterChanged) Reset ¶
func (m *EventPoolParameterChanged) Reset()
func (*EventPoolParameterChanged) Size ¶
func (m *EventPoolParameterChanged) Size() (n int)
func (*EventPoolParameterChanged) String ¶
func (m *EventPoolParameterChanged) String() string
func (*EventPoolParameterChanged) Unmarshal ¶
func (m *EventPoolParameterChanged) Unmarshal(dAtA []byte) error
func (*EventPoolParameterChanged) XXX_DiscardUnknown ¶
func (m *EventPoolParameterChanged) XXX_DiscardUnknown()
func (*EventPoolParameterChanged) XXX_Marshal ¶
func (m *EventPoolParameterChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPoolParameterChanged) XXX_Merge ¶
func (m *EventPoolParameterChanged) XXX_Merge(src proto.Message)
func (*EventPoolParameterChanged) XXX_Size ¶
func (m *EventPoolParameterChanged) XXX_Size() int
func (*EventPoolParameterChanged) XXX_Unmarshal ¶
func (m *EventPoolParameterChanged) XXX_Unmarshal(b []byte) error
type EventRemoveLiquidity ¶
type EventRemoveLiquidity struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PositionId uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*EventRemoveLiquidity) Descriptor ¶
func (*EventRemoveLiquidity) Descriptor() ([]byte, []int)
func (*EventRemoveLiquidity) Marshal ¶
func (m *EventRemoveLiquidity) Marshal() (dAtA []byte, err error)
func (*EventRemoveLiquidity) MarshalTo ¶
func (m *EventRemoveLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*EventRemoveLiquidity) MarshalToSizedBuffer ¶
func (m *EventRemoveLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRemoveLiquidity) ProtoMessage ¶
func (*EventRemoveLiquidity) ProtoMessage()
func (*EventRemoveLiquidity) Reset ¶
func (m *EventRemoveLiquidity) Reset()
func (*EventRemoveLiquidity) Size ¶
func (m *EventRemoveLiquidity) Size() (n int)
func (*EventRemoveLiquidity) String ¶
func (m *EventRemoveLiquidity) String() string
func (*EventRemoveLiquidity) Unmarshal ¶
func (m *EventRemoveLiquidity) Unmarshal(dAtA []byte) error
func (*EventRemoveLiquidity) XXX_DiscardUnknown ¶
func (m *EventRemoveLiquidity) XXX_DiscardUnknown()
func (*EventRemoveLiquidity) XXX_Marshal ¶
func (m *EventRemoveLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRemoveLiquidity) XXX_Merge ¶
func (m *EventRemoveLiquidity) XXX_Merge(src proto.Message)
func (*EventRemoveLiquidity) XXX_Size ¶
func (m *EventRemoveLiquidity) XXX_Size() int
func (*EventRemoveLiquidity) XXX_Unmarshal ¶
func (m *EventRemoveLiquidity) XXX_Unmarshal(b []byte) error
type ExchangeKeeper ¶
type ExchangeKeeper interface { GetMarket(ctx sdk.Context, marketId uint64) (market exchangetypes.Market, found bool) LookupMarket(ctx sdk.Context, marketId uint64) (found bool) IterateAllMarkets(ctx sdk.Context, cb func(market exchangetypes.Market) (stop bool)) MustGetMarketState(ctx sdk.Context, marketId uint64) (marketState exchangetypes.MarketState) }
type FarmingPlan ¶
type FarmingPlan struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` FarmingPoolAddress string `protobuf:"bytes,3,opt,name=farming_pool_address,json=farmingPoolAddress,proto3" json:"farming_pool_address,omitempty"` TerminationAddress string `protobuf:"bytes,4,opt,name=termination_address,json=terminationAddress,proto3" json:"termination_address,omitempty"` RewardAllocations []FarmingRewardAllocation `protobuf:"bytes,5,rep,name=reward_allocations,json=rewardAllocations,proto3" json:"reward_allocations"` StartTime time.Time `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` IsPrivate bool `protobuf:"varint,8,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` IsTerminated bool `protobuf:"varint,9,opt,name=is_terminated,json=isTerminated,proto3" json:"is_terminated,omitempty"` }
func NewFarmingPlan ¶
func NewFarmingPlan( id uint64, description string, farmingPoolAddr, termAddr sdk.AccAddress, rewardAllocs []FarmingRewardAllocation, startTime, endTime time.Time, isPrivate bool) FarmingPlan
func (*FarmingPlan) Descriptor ¶
func (*FarmingPlan) Descriptor() ([]byte, []int)
func (FarmingPlan) IsActiveAt ¶
func (plan FarmingPlan) IsActiveAt(t time.Time) bool
func (*FarmingPlan) Marshal ¶
func (m *FarmingPlan) Marshal() (dAtA []byte, err error)
func (*FarmingPlan) MarshalToSizedBuffer ¶
func (m *FarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FarmingPlan) ProtoMessage ¶
func (*FarmingPlan) ProtoMessage()
func (*FarmingPlan) Reset ¶
func (m *FarmingPlan) Reset()
func (*FarmingPlan) Size ¶
func (m *FarmingPlan) Size() (n int)
func (*FarmingPlan) String ¶
func (m *FarmingPlan) String() string
func (*FarmingPlan) Unmarshal ¶
func (m *FarmingPlan) Unmarshal(dAtA []byte) error
func (FarmingPlan) Validate ¶
func (plan FarmingPlan) Validate() error
func (*FarmingPlan) XXX_DiscardUnknown ¶
func (m *FarmingPlan) XXX_DiscardUnknown()
func (*FarmingPlan) XXX_Marshal ¶
func (m *FarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FarmingPlan) XXX_Merge ¶
func (m *FarmingPlan) XXX_Merge(src proto.Message)
func (*FarmingPlan) XXX_Size ¶
func (m *FarmingPlan) XXX_Size() int
func (*FarmingPlan) XXX_Unmarshal ¶
func (m *FarmingPlan) XXX_Unmarshal(b []byte) error
type FarmingRewardAllocation ¶
type FarmingRewardAllocation struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RewardsPerDay github_com_cosmos_cosmos_sdk_types.Coins `` /* 146-byte string literal not displayed */ }
func NewFarmingRewardAllocation ¶
func NewFarmingRewardAllocation(poolId uint64, rewardsPerDay sdk.Coins) FarmingRewardAllocation
func (*FarmingRewardAllocation) Descriptor ¶
func (*FarmingRewardAllocation) Descriptor() ([]byte, []int)
func (*FarmingRewardAllocation) Marshal ¶
func (m *FarmingRewardAllocation) Marshal() (dAtA []byte, err error)
func (*FarmingRewardAllocation) MarshalTo ¶
func (m *FarmingRewardAllocation) MarshalTo(dAtA []byte) (int, error)
func (*FarmingRewardAllocation) MarshalToSizedBuffer ¶
func (m *FarmingRewardAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FarmingRewardAllocation) ProtoMessage ¶
func (*FarmingRewardAllocation) ProtoMessage()
func (*FarmingRewardAllocation) Reset ¶
func (m *FarmingRewardAllocation) Reset()
func (*FarmingRewardAllocation) Size ¶
func (m *FarmingRewardAllocation) Size() (n int)
func (*FarmingRewardAllocation) String ¶
func (m *FarmingRewardAllocation) String() string
func (*FarmingRewardAllocation) Unmarshal ¶
func (m *FarmingRewardAllocation) Unmarshal(dAtA []byte) error
func (*FarmingRewardAllocation) XXX_DiscardUnknown ¶
func (m *FarmingRewardAllocation) XXX_DiscardUnknown()
func (*FarmingRewardAllocation) XXX_Marshal ¶
func (m *FarmingRewardAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FarmingRewardAllocation) XXX_Merge ¶
func (m *FarmingRewardAllocation) XXX_Merge(src proto.Message)
func (*FarmingRewardAllocation) XXX_Size ¶
func (m *FarmingRewardAllocation) XXX_Size() int
func (*FarmingRewardAllocation) XXX_Unmarshal ¶
func (m *FarmingRewardAllocation) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` LastPoolId uint64 `protobuf:"varint,2,opt,name=last_pool_id,json=lastPoolId,proto3" json:"last_pool_id,omitempty"` LastPositionId uint64 `protobuf:"varint,3,opt,name=last_position_id,json=lastPositionId,proto3" json:"last_position_id,omitempty"` PoolRecords []PoolRecord `protobuf:"bytes,4,rep,name=pool_records,json=poolRecords,proto3" json:"pool_records"` Positions []Position `protobuf:"bytes,5,rep,name=positions,proto3" json:"positions"` TickInfoRecords []TickInfoRecord `protobuf:"bytes,6,rep,name=tick_info_records,json=tickInfoRecords,proto3" json:"tick_info_records"` LastFarmingPlanId uint64 `protobuf:"varint,7,opt,name=last_farming_plan_id,json=lastFarmingPlanId,proto3" json:"last_farming_plan_id,omitempty"` NumPrivateFarmingPlans uint32 `` /* 132-byte string literal not displayed */ FarmingPlans []FarmingPlan `protobuf:"bytes,9,rep,name=farming_plans,json=farmingPlans,proto3" json:"farming_plans"` }
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state for the module.
func NewGenesisState ¶
func NewGenesisState( params Params, lastPoolId, lastPositionId uint64, poolRecords []PoolRecord, positions []Position, tickInfoRecords []TickInfoRecord, lastFarmingPlanId uint64, numPrivateFarmingPlans uint32, farmingPlans []FarmingPlan) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (genState GenesisState) Validate() error
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 MarkerKeeper ¶
type MsgAddLiquidity ¶
type MsgAddLiquidity struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` LowerPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ UpperPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ DesiredAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */ }
func NewMsgAddLiquidity ¶
func NewMsgAddLiquidity( senderAddr sdk.AccAddress, poolId uint64, lowerPrice, upperPrice sdk.Dec, desiredAmt sdk.Coins) *MsgAddLiquidity
func (*MsgAddLiquidity) Descriptor ¶
func (*MsgAddLiquidity) Descriptor() ([]byte, []int)
func (MsgAddLiquidity) GetSignBytes ¶
func (msg MsgAddLiquidity) GetSignBytes() []byte
func (MsgAddLiquidity) GetSigners ¶
func (msg MsgAddLiquidity) GetSigners() []sdk.AccAddress
func (*MsgAddLiquidity) Marshal ¶
func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)
func (*MsgAddLiquidity) MarshalToSizedBuffer ¶
func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddLiquidity) ProtoMessage ¶
func (*MsgAddLiquidity) ProtoMessage()
func (*MsgAddLiquidity) Reset ¶
func (m *MsgAddLiquidity) Reset()
func (MsgAddLiquidity) Route ¶
func (msg MsgAddLiquidity) Route() string
func (*MsgAddLiquidity) Size ¶
func (m *MsgAddLiquidity) Size() (n int)
func (*MsgAddLiquidity) String ¶
func (m *MsgAddLiquidity) String() string
func (MsgAddLiquidity) Type ¶
func (msg MsgAddLiquidity) Type() string
func (*MsgAddLiquidity) Unmarshal ¶
func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error
func (MsgAddLiquidity) ValidateBasic ¶
func (msg MsgAddLiquidity) ValidateBasic() error
func (*MsgAddLiquidity) XXX_DiscardUnknown ¶
func (m *MsgAddLiquidity) XXX_DiscardUnknown()
func (*MsgAddLiquidity) XXX_Marshal ¶
func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddLiquidity) XXX_Merge ¶
func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)
func (*MsgAddLiquidity) XXX_Size ¶
func (m *MsgAddLiquidity) XXX_Size() int
func (*MsgAddLiquidity) XXX_Unmarshal ¶
func (m *MsgAddLiquidity) XXX_Unmarshal(b []byte) error
type MsgAddLiquidityResponse ¶
type MsgAddLiquidityResponse struct { PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*MsgAddLiquidityResponse) Descriptor ¶
func (*MsgAddLiquidityResponse) Descriptor() ([]byte, []int)
func (*MsgAddLiquidityResponse) Marshal ¶
func (m *MsgAddLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddLiquidityResponse) MarshalTo ¶
func (m *MsgAddLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddLiquidityResponse) MarshalToSizedBuffer ¶
func (m *MsgAddLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddLiquidityResponse) ProtoMessage ¶
func (*MsgAddLiquidityResponse) ProtoMessage()
func (*MsgAddLiquidityResponse) Reset ¶
func (m *MsgAddLiquidityResponse) Reset()
func (*MsgAddLiquidityResponse) Size ¶
func (m *MsgAddLiquidityResponse) Size() (n int)
func (*MsgAddLiquidityResponse) String ¶
func (m *MsgAddLiquidityResponse) String() string
func (*MsgAddLiquidityResponse) Unmarshal ¶
func (m *MsgAddLiquidityResponse) Unmarshal(dAtA []byte) error
func (*MsgAddLiquidityResponse) XXX_DiscardUnknown ¶
func (m *MsgAddLiquidityResponse) XXX_DiscardUnknown()
func (*MsgAddLiquidityResponse) XXX_Marshal ¶
func (m *MsgAddLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddLiquidityResponse) XXX_Merge ¶
func (m *MsgAddLiquidityResponse) XXX_Merge(src proto.Message)
func (*MsgAddLiquidityResponse) XXX_Size ¶
func (m *MsgAddLiquidityResponse) XXX_Size() int
func (*MsgAddLiquidityResponse) XXX_Unmarshal ¶
func (m *MsgAddLiquidityResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreatePool(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error) AddLiquidity(ctx context.Context, in *MsgAddLiquidity, opts ...grpc.CallOption) (*MsgAddLiquidityResponse, error) RemoveLiquidity(ctx context.Context, in *MsgRemoveLiquidity, opts ...grpc.CallOption) (*MsgRemoveLiquidityResponse, error) Collect(ctx context.Context, in *MsgCollect, opts ...grpc.CallOption) (*MsgCollectResponse, error) CreatePrivateFarmingPlan(ctx context.Context, in *MsgCreatePrivateFarmingPlan, opts ...grpc.CallOption) (*MsgCreatePrivateFarmingPlanResponse, error) TerminatePrivateFarmingPlan(ctx context.Context, in *MsgTerminatePrivateFarmingPlan, opts ...grpc.CallOption) (*MsgTerminatePrivateFarmingPlanResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCollect ¶
type MsgCollect struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` PositionId uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // TODO: if amount is nil, collect all? Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func NewMsgCollect ¶
func NewMsgCollect(senderAddr sdk.AccAddress, positionId uint64, amt sdk.Coins) *MsgCollect
func (*MsgCollect) Descriptor ¶
func (*MsgCollect) Descriptor() ([]byte, []int)
func (MsgCollect) GetSignBytes ¶
func (msg MsgCollect) GetSignBytes() []byte
func (MsgCollect) GetSigners ¶
func (msg MsgCollect) GetSigners() []sdk.AccAddress
func (*MsgCollect) Marshal ¶
func (m *MsgCollect) Marshal() (dAtA []byte, err error)
func (*MsgCollect) MarshalToSizedBuffer ¶
func (m *MsgCollect) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCollect) ProtoMessage ¶
func (*MsgCollect) ProtoMessage()
func (*MsgCollect) Reset ¶
func (m *MsgCollect) Reset()
func (MsgCollect) Route ¶
func (msg MsgCollect) Route() string
func (*MsgCollect) Size ¶
func (m *MsgCollect) Size() (n int)
func (*MsgCollect) String ¶
func (m *MsgCollect) String() string
func (MsgCollect) Type ¶
func (msg MsgCollect) Type() string
func (*MsgCollect) Unmarshal ¶
func (m *MsgCollect) Unmarshal(dAtA []byte) error
func (MsgCollect) ValidateBasic ¶
func (msg MsgCollect) ValidateBasic() error
func (*MsgCollect) XXX_DiscardUnknown ¶
func (m *MsgCollect) XXX_DiscardUnknown()
func (*MsgCollect) XXX_Marshal ¶
func (m *MsgCollect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCollect) XXX_Merge ¶
func (m *MsgCollect) XXX_Merge(src proto.Message)
func (*MsgCollect) XXX_Size ¶
func (m *MsgCollect) XXX_Size() int
func (*MsgCollect) XXX_Unmarshal ¶
func (m *MsgCollect) XXX_Unmarshal(b []byte) error
type MsgCollectResponse ¶
type MsgCollectResponse struct { }
func (*MsgCollectResponse) Descriptor ¶
func (*MsgCollectResponse) Descriptor() ([]byte, []int)
func (*MsgCollectResponse) Marshal ¶
func (m *MsgCollectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCollectResponse) MarshalTo ¶
func (m *MsgCollectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCollectResponse) MarshalToSizedBuffer ¶
func (m *MsgCollectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCollectResponse) ProtoMessage ¶
func (*MsgCollectResponse) ProtoMessage()
func (*MsgCollectResponse) Reset ¶
func (m *MsgCollectResponse) Reset()
func (*MsgCollectResponse) Size ¶
func (m *MsgCollectResponse) Size() (n int)
func (*MsgCollectResponse) String ¶
func (m *MsgCollectResponse) String() string
func (*MsgCollectResponse) Unmarshal ¶
func (m *MsgCollectResponse) Unmarshal(dAtA []byte) error
func (*MsgCollectResponse) XXX_DiscardUnknown ¶
func (m *MsgCollectResponse) XXX_DiscardUnknown()
func (*MsgCollectResponse) XXX_Marshal ¶
func (m *MsgCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCollectResponse) XXX_Merge ¶
func (m *MsgCollectResponse) XXX_Merge(src proto.Message)
func (*MsgCollectResponse) XXX_Size ¶
func (m *MsgCollectResponse) XXX_Size() int
func (*MsgCollectResponse) XXX_Unmarshal ¶
func (m *MsgCollectResponse) XXX_Unmarshal(b []byte) error
type MsgCreatePool ¶
type MsgCreatePool struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` MarketId uint64 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` }
func NewMsgCreatePool ¶
func NewMsgCreatePool( senderAddr sdk.AccAddress, marketId uint64, price sdk.Dec) *MsgCreatePool
func (*MsgCreatePool) Descriptor ¶
func (*MsgCreatePool) Descriptor() ([]byte, []int)
func (MsgCreatePool) GetSignBytes ¶
func (msg MsgCreatePool) GetSignBytes() []byte
func (MsgCreatePool) GetSigners ¶
func (msg MsgCreatePool) GetSigners() []sdk.AccAddress
func (*MsgCreatePool) Marshal ¶
func (m *MsgCreatePool) Marshal() (dAtA []byte, err error)
func (*MsgCreatePool) MarshalToSizedBuffer ¶
func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePool) ProtoMessage ¶
func (*MsgCreatePool) ProtoMessage()
func (*MsgCreatePool) Reset ¶
func (m *MsgCreatePool) Reset()
func (MsgCreatePool) Route ¶
func (msg MsgCreatePool) Route() string
func (*MsgCreatePool) Size ¶
func (m *MsgCreatePool) Size() (n int)
func (*MsgCreatePool) String ¶
func (m *MsgCreatePool) String() string
func (MsgCreatePool) Type ¶
func (msg MsgCreatePool) Type() string
func (*MsgCreatePool) Unmarshal ¶
func (m *MsgCreatePool) Unmarshal(dAtA []byte) error
func (MsgCreatePool) ValidateBasic ¶
func (msg MsgCreatePool) ValidateBasic() error
func (*MsgCreatePool) XXX_DiscardUnknown ¶
func (m *MsgCreatePool) XXX_DiscardUnknown()
func (*MsgCreatePool) XXX_Marshal ¶
func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePool) XXX_Merge ¶
func (m *MsgCreatePool) XXX_Merge(src proto.Message)
func (*MsgCreatePool) XXX_Size ¶
func (m *MsgCreatePool) XXX_Size() int
func (*MsgCreatePool) XXX_Unmarshal ¶
func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error
type MsgCreatePoolResponse ¶
type MsgCreatePoolResponse struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*MsgCreatePoolResponse) Descriptor ¶
func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePoolResponse) Marshal ¶
func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePoolResponse) MarshalTo ¶
func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePoolResponse) ProtoMessage ¶
func (*MsgCreatePoolResponse) ProtoMessage()
func (*MsgCreatePoolResponse) Reset ¶
func (m *MsgCreatePoolResponse) Reset()
func (*MsgCreatePoolResponse) Size ¶
func (m *MsgCreatePoolResponse) Size() (n int)
func (*MsgCreatePoolResponse) String ¶
func (m *MsgCreatePoolResponse) String() string
func (*MsgCreatePoolResponse) Unmarshal ¶
func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePoolResponse) XXX_DiscardUnknown()
func (*MsgCreatePoolResponse) XXX_Marshal ¶
func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePoolResponse) XXX_Merge ¶
func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePoolResponse) XXX_Size ¶
func (m *MsgCreatePoolResponse) XXX_Size() int
func (*MsgCreatePoolResponse) XXX_Unmarshal ¶
func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error
type MsgCreatePrivateFarmingPlan ¶
type MsgCreatePrivateFarmingPlan struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TerminationAddress string `protobuf:"bytes,3,opt,name=termination_address,json=terminationAddress,proto3" json:"termination_address,omitempty"` RewardAllocations []FarmingRewardAllocation `protobuf:"bytes,4,rep,name=reward_allocations,json=rewardAllocations,proto3" json:"reward_allocations"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` }
func NewMsgCreatePrivateFarmingPlan ¶
func NewMsgCreatePrivateFarmingPlan( senderAddr sdk.AccAddress, description string, termAddr sdk.AccAddress, rewardAllocs []FarmingRewardAllocation, startTime, endTime time.Time) *MsgCreatePrivateFarmingPlan
func (*MsgCreatePrivateFarmingPlan) Descriptor ¶
func (*MsgCreatePrivateFarmingPlan) Descriptor() ([]byte, []int)
func (MsgCreatePrivateFarmingPlan) GetSignBytes ¶
func (msg MsgCreatePrivateFarmingPlan) GetSignBytes() []byte
func (MsgCreatePrivateFarmingPlan) GetSigners ¶
func (msg MsgCreatePrivateFarmingPlan) GetSigners() []sdk.AccAddress
func (*MsgCreatePrivateFarmingPlan) Marshal ¶
func (m *MsgCreatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
func (*MsgCreatePrivateFarmingPlan) MarshalTo ¶
func (m *MsgCreatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePrivateFarmingPlan) MarshalToSizedBuffer ¶
func (m *MsgCreatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePrivateFarmingPlan) ProtoMessage ¶
func (*MsgCreatePrivateFarmingPlan) ProtoMessage()
func (*MsgCreatePrivateFarmingPlan) Reset ¶
func (m *MsgCreatePrivateFarmingPlan) Reset()
func (MsgCreatePrivateFarmingPlan) Route ¶
func (msg MsgCreatePrivateFarmingPlan) Route() string
func (*MsgCreatePrivateFarmingPlan) Size ¶
func (m *MsgCreatePrivateFarmingPlan) Size() (n int)
func (*MsgCreatePrivateFarmingPlan) String ¶
func (m *MsgCreatePrivateFarmingPlan) String() string
func (MsgCreatePrivateFarmingPlan) Type ¶
func (msg MsgCreatePrivateFarmingPlan) Type() string
func (*MsgCreatePrivateFarmingPlan) Unmarshal ¶
func (m *MsgCreatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
func (MsgCreatePrivateFarmingPlan) ValidateBasic ¶
func (msg MsgCreatePrivateFarmingPlan) ValidateBasic() error
func (*MsgCreatePrivateFarmingPlan) XXX_DiscardUnknown ¶
func (m *MsgCreatePrivateFarmingPlan) XXX_DiscardUnknown()
func (*MsgCreatePrivateFarmingPlan) XXX_Marshal ¶
func (m *MsgCreatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePrivateFarmingPlan) XXX_Merge ¶
func (m *MsgCreatePrivateFarmingPlan) XXX_Merge(src proto.Message)
func (*MsgCreatePrivateFarmingPlan) XXX_Size ¶
func (m *MsgCreatePrivateFarmingPlan) XXX_Size() int
func (*MsgCreatePrivateFarmingPlan) XXX_Unmarshal ¶
func (m *MsgCreatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
type MsgCreatePrivateFarmingPlanResponse ¶
type MsgCreatePrivateFarmingPlanResponse struct { FarmingPlanId uint64 `protobuf:"varint,1,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"` FarmingPoolAddress string `protobuf:"bytes,2,opt,name=farming_pool_address,json=farmingPoolAddress,proto3" json:"farming_pool_address,omitempty"` }
func (*MsgCreatePrivateFarmingPlanResponse) Descriptor ¶
func (*MsgCreatePrivateFarmingPlanResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePrivateFarmingPlanResponse) Marshal ¶
func (m *MsgCreatePrivateFarmingPlanResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePrivateFarmingPlanResponse) MarshalTo ¶
func (m *MsgCreatePrivateFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePrivateFarmingPlanResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePrivateFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePrivateFarmingPlanResponse) ProtoMessage ¶
func (*MsgCreatePrivateFarmingPlanResponse) ProtoMessage()
func (*MsgCreatePrivateFarmingPlanResponse) Reset ¶
func (m *MsgCreatePrivateFarmingPlanResponse) Reset()
func (*MsgCreatePrivateFarmingPlanResponse) Size ¶
func (m *MsgCreatePrivateFarmingPlanResponse) Size() (n int)
func (*MsgCreatePrivateFarmingPlanResponse) String ¶
func (m *MsgCreatePrivateFarmingPlanResponse) String() string
func (*MsgCreatePrivateFarmingPlanResponse) Unmarshal ¶
func (m *MsgCreatePrivateFarmingPlanResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePrivateFarmingPlanResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePrivateFarmingPlanResponse) XXX_DiscardUnknown()
func (*MsgCreatePrivateFarmingPlanResponse) XXX_Marshal ¶
func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePrivateFarmingPlanResponse) XXX_Merge ¶
func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePrivateFarmingPlanResponse) XXX_Size ¶
func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Size() int
func (*MsgCreatePrivateFarmingPlanResponse) XXX_Unmarshal ¶
func (m *MsgCreatePrivateFarmingPlanResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveLiquidity ¶
type MsgRemoveLiquidity struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` PositionId uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` }
func NewMsgRemoveLiquidity ¶
func NewMsgRemoveLiquidity( senderAddr sdk.AccAddress, positionId uint64, liquidity sdk.Int) *MsgRemoveLiquidity
func (*MsgRemoveLiquidity) Descriptor ¶
func (*MsgRemoveLiquidity) Descriptor() ([]byte, []int)
func (MsgRemoveLiquidity) GetSignBytes ¶
func (msg MsgRemoveLiquidity) GetSignBytes() []byte
func (MsgRemoveLiquidity) GetSigners ¶
func (msg MsgRemoveLiquidity) GetSigners() []sdk.AccAddress
func (*MsgRemoveLiquidity) Marshal ¶
func (m *MsgRemoveLiquidity) Marshal() (dAtA []byte, err error)
func (*MsgRemoveLiquidity) MarshalTo ¶
func (m *MsgRemoveLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveLiquidity) MarshalToSizedBuffer ¶
func (m *MsgRemoveLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveLiquidity) ProtoMessage ¶
func (*MsgRemoveLiquidity) ProtoMessage()
func (*MsgRemoveLiquidity) Reset ¶
func (m *MsgRemoveLiquidity) Reset()
func (MsgRemoveLiquidity) Route ¶
func (msg MsgRemoveLiquidity) Route() string
func (*MsgRemoveLiquidity) Size ¶
func (m *MsgRemoveLiquidity) Size() (n int)
func (*MsgRemoveLiquidity) String ¶
func (m *MsgRemoveLiquidity) String() string
func (MsgRemoveLiquidity) Type ¶
func (msg MsgRemoveLiquidity) Type() string
func (*MsgRemoveLiquidity) Unmarshal ¶
func (m *MsgRemoveLiquidity) Unmarshal(dAtA []byte) error
func (MsgRemoveLiquidity) ValidateBasic ¶
func (msg MsgRemoveLiquidity) ValidateBasic() error
func (*MsgRemoveLiquidity) XXX_DiscardUnknown ¶
func (m *MsgRemoveLiquidity) XXX_DiscardUnknown()
func (*MsgRemoveLiquidity) XXX_Marshal ¶
func (m *MsgRemoveLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveLiquidity) XXX_Merge ¶
func (m *MsgRemoveLiquidity) XXX_Merge(src proto.Message)
func (*MsgRemoveLiquidity) XXX_Size ¶
func (m *MsgRemoveLiquidity) XXX_Size() int
func (*MsgRemoveLiquidity) XXX_Unmarshal ¶
func (m *MsgRemoveLiquidity) XXX_Unmarshal(b []byte) error
type MsgRemoveLiquidityResponse ¶
type MsgRemoveLiquidityResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (*MsgRemoveLiquidityResponse) Descriptor ¶
func (*MsgRemoveLiquidityResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveLiquidityResponse) Marshal ¶
func (m *MsgRemoveLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveLiquidityResponse) MarshalTo ¶
func (m *MsgRemoveLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveLiquidityResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveLiquidityResponse) ProtoMessage ¶
func (*MsgRemoveLiquidityResponse) ProtoMessage()
func (*MsgRemoveLiquidityResponse) Reset ¶
func (m *MsgRemoveLiquidityResponse) Reset()
func (*MsgRemoveLiquidityResponse) Size ¶
func (m *MsgRemoveLiquidityResponse) Size() (n int)
func (*MsgRemoveLiquidityResponse) String ¶
func (m *MsgRemoveLiquidityResponse) String() string
func (*MsgRemoveLiquidityResponse) Unmarshal ¶
func (m *MsgRemoveLiquidityResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveLiquidityResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveLiquidityResponse) XXX_DiscardUnknown()
func (*MsgRemoveLiquidityResponse) XXX_Marshal ¶
func (m *MsgRemoveLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveLiquidityResponse) XXX_Merge ¶
func (m *MsgRemoveLiquidityResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveLiquidityResponse) XXX_Size ¶
func (m *MsgRemoveLiquidityResponse) XXX_Size() int
func (*MsgRemoveLiquidityResponse) XXX_Unmarshal ¶
func (m *MsgRemoveLiquidityResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreatePool(context.Context, *MsgCreatePool) (*MsgCreatePoolResponse, error) AddLiquidity(context.Context, *MsgAddLiquidity) (*MsgAddLiquidityResponse, error) RemoveLiquidity(context.Context, *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error) Collect(context.Context, *MsgCollect) (*MsgCollectResponse, error) CreatePrivateFarmingPlan(context.Context, *MsgCreatePrivateFarmingPlan) (*MsgCreatePrivateFarmingPlanResponse, error) TerminatePrivateFarmingPlan(context.Context, *MsgTerminatePrivateFarmingPlan) (*MsgTerminatePrivateFarmingPlanResponse, error) }
MsgServer is the server API for Msg service.
type MsgTerminatePrivateFarmingPlan ¶
type MsgTerminatePrivateFarmingPlan struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` FarmingPlanId uint64 `protobuf:"varint,2,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"` }
func NewMsgTerminatePrivateFarmingPlan ¶
func NewMsgTerminatePrivateFarmingPlan( senderAddr sdk.AccAddress, farmingPlanId uint64) *MsgTerminatePrivateFarmingPlan
func (*MsgTerminatePrivateFarmingPlan) Descriptor ¶
func (*MsgTerminatePrivateFarmingPlan) Descriptor() ([]byte, []int)
func (MsgTerminatePrivateFarmingPlan) GetSignBytes ¶
func (msg MsgTerminatePrivateFarmingPlan) GetSignBytes() []byte
func (MsgTerminatePrivateFarmingPlan) GetSigners ¶
func (msg MsgTerminatePrivateFarmingPlan) GetSigners() []sdk.AccAddress
func (*MsgTerminatePrivateFarmingPlan) Marshal ¶
func (m *MsgTerminatePrivateFarmingPlan) Marshal() (dAtA []byte, err error)
func (*MsgTerminatePrivateFarmingPlan) MarshalTo ¶
func (m *MsgTerminatePrivateFarmingPlan) MarshalTo(dAtA []byte) (int, error)
func (*MsgTerminatePrivateFarmingPlan) MarshalToSizedBuffer ¶
func (m *MsgTerminatePrivateFarmingPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTerminatePrivateFarmingPlan) ProtoMessage ¶
func (*MsgTerminatePrivateFarmingPlan) ProtoMessage()
func (*MsgTerminatePrivateFarmingPlan) Reset ¶
func (m *MsgTerminatePrivateFarmingPlan) Reset()
func (MsgTerminatePrivateFarmingPlan) Route ¶
func (msg MsgTerminatePrivateFarmingPlan) Route() string
func (*MsgTerminatePrivateFarmingPlan) Size ¶
func (m *MsgTerminatePrivateFarmingPlan) Size() (n int)
func (*MsgTerminatePrivateFarmingPlan) String ¶
func (m *MsgTerminatePrivateFarmingPlan) String() string
func (MsgTerminatePrivateFarmingPlan) Type ¶
func (msg MsgTerminatePrivateFarmingPlan) Type() string
func (*MsgTerminatePrivateFarmingPlan) Unmarshal ¶
func (m *MsgTerminatePrivateFarmingPlan) Unmarshal(dAtA []byte) error
func (MsgTerminatePrivateFarmingPlan) ValidateBasic ¶
func (msg MsgTerminatePrivateFarmingPlan) ValidateBasic() error
func (*MsgTerminatePrivateFarmingPlan) XXX_DiscardUnknown ¶
func (m *MsgTerminatePrivateFarmingPlan) XXX_DiscardUnknown()
func (*MsgTerminatePrivateFarmingPlan) XXX_Marshal ¶
func (m *MsgTerminatePrivateFarmingPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTerminatePrivateFarmingPlan) XXX_Merge ¶
func (m *MsgTerminatePrivateFarmingPlan) XXX_Merge(src proto.Message)
func (*MsgTerminatePrivateFarmingPlan) XXX_Size ¶
func (m *MsgTerminatePrivateFarmingPlan) XXX_Size() int
func (*MsgTerminatePrivateFarmingPlan) XXX_Unmarshal ¶
func (m *MsgTerminatePrivateFarmingPlan) XXX_Unmarshal(b []byte) error
type MsgTerminatePrivateFarmingPlanResponse ¶
type MsgTerminatePrivateFarmingPlanResponse struct { }
func (*MsgTerminatePrivateFarmingPlanResponse) Descriptor ¶
func (*MsgTerminatePrivateFarmingPlanResponse) Descriptor() ([]byte, []int)
func (*MsgTerminatePrivateFarmingPlanResponse) Marshal ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) Marshal() (dAtA []byte, err error)
func (*MsgTerminatePrivateFarmingPlanResponse) MarshalTo ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTerminatePrivateFarmingPlanResponse) MarshalToSizedBuffer ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTerminatePrivateFarmingPlanResponse) ProtoMessage ¶
func (*MsgTerminatePrivateFarmingPlanResponse) ProtoMessage()
func (*MsgTerminatePrivateFarmingPlanResponse) Reset ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) Reset()
func (*MsgTerminatePrivateFarmingPlanResponse) Size ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) Size() (n int)
func (*MsgTerminatePrivateFarmingPlanResponse) String ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) String() string
func (*MsgTerminatePrivateFarmingPlanResponse) Unmarshal ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) Unmarshal(dAtA []byte) error
func (*MsgTerminatePrivateFarmingPlanResponse) XXX_DiscardUnknown ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_DiscardUnknown()
func (*MsgTerminatePrivateFarmingPlanResponse) XXX_Marshal ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTerminatePrivateFarmingPlanResponse) XXX_Merge ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Merge(src proto.Message)
func (*MsgTerminatePrivateFarmingPlanResponse) XXX_Size ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Size() int
func (*MsgTerminatePrivateFarmingPlanResponse) XXX_Unmarshal ¶
func (m *MsgTerminatePrivateFarmingPlanResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { PoolCreationFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 152-byte string literal not displayed */ DefaultTickSpacing uint32 `protobuf:"varint,2,opt,name=default_tick_spacing,json=defaultTickSpacing,proto3" json:"default_tick_spacing,omitempty"` PrivateFarmingPlanCreationFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 198-byte string literal not displayed */ MaxNumPrivateFarmingPlans uint32 `` /* 143-byte string literal not displayed */ MaxFarmingBlockTime time.Duration `protobuf:"bytes,5,opt,name=max_farming_block_time,json=maxFarmingBlockTime,proto3,stdduration" json:"max_farming_block_time"` }
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns a default params for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs
ParamSetPairs implements ParamSet.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Pool ¶
type Pool struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MarketId uint64 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Denom0 string `protobuf:"bytes,3,opt,name=denom0,proto3" json:"denom0,omitempty"` Denom1 string `protobuf:"bytes,4,opt,name=denom1,proto3" json:"denom1,omitempty"` ReserveAddress string `protobuf:"bytes,5,opt,name=reserve_address,json=reserveAddress,proto3" json:"reserve_address,omitempty"` RewardsPool string `protobuf:"bytes,6,opt,name=rewards_pool,json=rewardsPool,proto3" json:"rewards_pool,omitempty"` TickSpacing uint32 `protobuf:"varint,7,opt,name=tick_spacing,json=tickSpacing,proto3" json:"tick_spacing,omitempty"` MinOrderQuantity github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ MinOrderQuote github_com_cosmos_cosmos_sdk_types.Dec `` /* 142-byte string literal not displayed */ }
func (*Pool) Descriptor ¶
func (Pool) MustGetReserveAddress ¶
func (pool Pool) MustGetReserveAddress() sdk.AccAddress
func (Pool) MustGetRewardsPoolAddress ¶
func (pool Pool) MustGetRewardsPoolAddress() sdk.AccAddress
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) XXX_DiscardUnknown ¶
func (m *Pool) XXX_DiscardUnknown()
func (*Pool) XXX_Unmarshal ¶
type PoolParameterChange ¶
type PoolParameterChange struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` TickSpacing uint32 `protobuf:"varint,2,opt,name=tick_spacing,json=tickSpacing,proto3" json:"tick_spacing,omitempty"` MinOrderQuantity *github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */ MinOrderQuote *github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */ }
func NewPoolParameterChange ¶
func NewPoolParameterChange( poolId uint64, tickSpacing uint32, minOrderQty, minOrderQuote *sdk.Dec) PoolParameterChange
func (*PoolParameterChange) Descriptor ¶
func (*PoolParameterChange) Descriptor() ([]byte, []int)
func (*PoolParameterChange) Marshal ¶
func (m *PoolParameterChange) Marshal() (dAtA []byte, err error)
func (*PoolParameterChange) MarshalTo ¶
func (m *PoolParameterChange) MarshalTo(dAtA []byte) (int, error)
func (*PoolParameterChange) MarshalToSizedBuffer ¶
func (m *PoolParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolParameterChange) ProtoMessage ¶
func (*PoolParameterChange) ProtoMessage()
func (*PoolParameterChange) Reset ¶
func (m *PoolParameterChange) Reset()
func (*PoolParameterChange) Size ¶
func (m *PoolParameterChange) Size() (n int)
func (*PoolParameterChange) String ¶
func (m *PoolParameterChange) String() string
func (*PoolParameterChange) Unmarshal ¶
func (m *PoolParameterChange) Unmarshal(dAtA []byte) error
func (PoolParameterChange) Validate ¶
func (change PoolParameterChange) Validate() error
func (*PoolParameterChange) XXX_DiscardUnknown ¶
func (m *PoolParameterChange) XXX_DiscardUnknown()
func (*PoolParameterChange) XXX_Marshal ¶
func (m *PoolParameterChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolParameterChange) XXX_Merge ¶
func (m *PoolParameterChange) XXX_Merge(src proto.Message)
func (*PoolParameterChange) XXX_Size ¶
func (m *PoolParameterChange) XXX_Size() int
func (*PoolParameterChange) XXX_Unmarshal ¶
func (m *PoolParameterChange) XXX_Unmarshal(b []byte) error
type PoolParameterChangeProposal ¶
type PoolParameterChangeProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Changes []PoolParameterChange `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"` }
func NewPoolParameterChangeProposal ¶
func NewPoolParameterChangeProposal(title, description string, changes []PoolParameterChange) *PoolParameterChangeProposal
func (*PoolParameterChangeProposal) Descriptor ¶
func (*PoolParameterChangeProposal) Descriptor() ([]byte, []int)
func (*PoolParameterChangeProposal) GetDescription ¶
func (p *PoolParameterChangeProposal) GetDescription() string
func (*PoolParameterChangeProposal) GetTitle ¶
func (p *PoolParameterChangeProposal) GetTitle() string
func (*PoolParameterChangeProposal) Marshal ¶
func (m *PoolParameterChangeProposal) Marshal() (dAtA []byte, err error)
func (*PoolParameterChangeProposal) MarshalTo ¶
func (m *PoolParameterChangeProposal) MarshalTo(dAtA []byte) (int, error)
func (*PoolParameterChangeProposal) MarshalToSizedBuffer ¶
func (m *PoolParameterChangeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolParameterChangeProposal) ProposalRoute ¶
func (p *PoolParameterChangeProposal) ProposalRoute() string
func (*PoolParameterChangeProposal) ProposalType ¶
func (p *PoolParameterChangeProposal) ProposalType() string
func (*PoolParameterChangeProposal) ProtoMessage ¶
func (*PoolParameterChangeProposal) ProtoMessage()
func (*PoolParameterChangeProposal) Reset ¶
func (m *PoolParameterChangeProposal) Reset()
func (*PoolParameterChangeProposal) Size ¶
func (m *PoolParameterChangeProposal) Size() (n int)
func (PoolParameterChangeProposal) String ¶
func (p PoolParameterChangeProposal) String() string
Example ¶
package main import ( "fmt" utils "github.com/crescent-network/crescent/v5/types" "github.com/crescent-network/crescent/v5/x/amm/types" ) func main() { p := types.NewPoolParameterChangeProposal( "Title", "Description", []types.PoolParameterChange{ types.NewPoolParameterChange(1, 5, nil, nil), types.NewPoolParameterChange(2, 10, utils.ParseDecP("100"), nil), types.NewPoolParameterChange(2, 10, nil, utils.ParseDecP("1000")), }) fmt.Println(p.String()) }
Output: Pool Parameter Change Proposal: Title: Title Description: Description Changes: Pool Parameter Change: Pool Id: 1 Tick Spacing: 5 Min Order Quantity: <nil> Min Order Quote: <nil> Pool Parameter Change: Pool Id: 2 Tick Spacing: 10 Min Order Quantity: 100.000000000000000000 Min Order Quote: <nil> Pool Parameter Change: Pool Id: 2 Tick Spacing: 10 Min Order Quantity: <nil> Min Order Quote: 1000.000000000000000000
func (*PoolParameterChangeProposal) Unmarshal ¶
func (m *PoolParameterChangeProposal) Unmarshal(dAtA []byte) error
func (*PoolParameterChangeProposal) ValidateBasic ¶
func (p *PoolParameterChangeProposal) ValidateBasic() error
func (*PoolParameterChangeProposal) XXX_DiscardUnknown ¶
func (m *PoolParameterChangeProposal) XXX_DiscardUnknown()
func (*PoolParameterChangeProposal) XXX_Marshal ¶
func (m *PoolParameterChangeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolParameterChangeProposal) XXX_Merge ¶
func (m *PoolParameterChangeProposal) XXX_Merge(src proto.Message)
func (*PoolParameterChangeProposal) XXX_Size ¶
func (m *PoolParameterChangeProposal) XXX_Size() int
func (*PoolParameterChangeProposal) XXX_Unmarshal ¶
func (m *PoolParameterChangeProposal) XXX_Unmarshal(b []byte) error
type PoolRecord ¶
type PoolRecord struct { Pool Pool `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` State PoolState `protobuf:"bytes,2,opt,name=state,proto3" json:"state"` }
func (*PoolRecord) Descriptor ¶
func (*PoolRecord) Descriptor() ([]byte, []int)
func (*PoolRecord) Marshal ¶
func (m *PoolRecord) Marshal() (dAtA []byte, err error)
func (*PoolRecord) MarshalToSizedBuffer ¶
func (m *PoolRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolRecord) ProtoMessage ¶
func (*PoolRecord) ProtoMessage()
func (*PoolRecord) Reset ¶
func (m *PoolRecord) Reset()
func (*PoolRecord) Size ¶
func (m *PoolRecord) Size() (n int)
func (*PoolRecord) String ¶
func (m *PoolRecord) String() string
func (*PoolRecord) Unmarshal ¶
func (m *PoolRecord) Unmarshal(dAtA []byte) error
func (PoolRecord) Validate ¶
func (record PoolRecord) Validate() error
func (*PoolRecord) XXX_DiscardUnknown ¶
func (m *PoolRecord) XXX_DiscardUnknown()
func (*PoolRecord) XXX_Marshal ¶
func (m *PoolRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolRecord) XXX_Merge ¶
func (m *PoolRecord) XXX_Merge(src proto.Message)
func (*PoolRecord) XXX_Size ¶
func (m *PoolRecord) XXX_Size() int
func (*PoolRecord) XXX_Unmarshal ¶
func (m *PoolRecord) XXX_Unmarshal(b []byte) error
type PoolResponse ¶
type PoolResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MarketId uint64 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Balance0 types.Coin `protobuf:"bytes,3,opt,name=balance0,proto3" json:"balance0"` Balance1 types.Coin `protobuf:"bytes,4,opt,name=balance1,proto3" json:"balance1"` ReserveAddress string `protobuf:"bytes,5,opt,name=reserve_address,json=reserveAddress,proto3" json:"reserve_address,omitempty"` RewardsPool string `protobuf:"bytes,6,opt,name=rewards_pool,json=rewardsPool,proto3" json:"rewards_pool,omitempty"` TickSpacing uint32 `protobuf:"varint,7,opt,name=tick_spacing,json=tickSpacing,proto3" json:"tick_spacing,omitempty"` MinOrderQuantity github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ MinOrderQuote github_com_cosmos_cosmos_sdk_types.Dec `` /* 142-byte string literal not displayed */ CurrentTick int32 `protobuf:"varint,10,opt,name=current_tick,json=currentTick,proto3" json:"current_tick,omitempty"` CurrentPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */ CurrentLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */ TotalLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 144-byte string literal not displayed */ FeeGrowthGlobal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 156-byte string literal not displayed */ FarmingRewardsGrowthGlobal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 191-byte string literal not displayed */ }
func NewPoolResponse ¶
func NewPoolResponse(pool Pool, poolState PoolState, balances sdk.Coins) PoolResponse
func (*PoolResponse) Descriptor ¶
func (*PoolResponse) Descriptor() ([]byte, []int)
func (*PoolResponse) Marshal ¶
func (m *PoolResponse) Marshal() (dAtA []byte, err error)
func (*PoolResponse) MarshalToSizedBuffer ¶
func (m *PoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolResponse) ProtoMessage ¶
func (*PoolResponse) ProtoMessage()
func (*PoolResponse) Reset ¶
func (m *PoolResponse) Reset()
func (*PoolResponse) Size ¶
func (m *PoolResponse) Size() (n int)
func (*PoolResponse) String ¶
func (m *PoolResponse) String() string
func (*PoolResponse) Unmarshal ¶
func (m *PoolResponse) Unmarshal(dAtA []byte) error
func (*PoolResponse) XXX_DiscardUnknown ¶
func (m *PoolResponse) XXX_DiscardUnknown()
func (*PoolResponse) XXX_Marshal ¶
func (m *PoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolResponse) XXX_Merge ¶
func (m *PoolResponse) XXX_Merge(src proto.Message)
func (*PoolResponse) XXX_Size ¶
func (m *PoolResponse) XXX_Size() int
func (*PoolResponse) XXX_Unmarshal ¶
func (m *PoolResponse) XXX_Unmarshal(b []byte) error
type PoolState ¶
type PoolState struct { CurrentTick int32 `protobuf:"varint,1,opt,name=current_tick,json=currentTick,proto3" json:"current_tick,omitempty"` CurrentPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ CurrentLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 149-byte string literal not displayed */ TotalLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ FeeGrowthGlobal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 155-byte string literal not displayed */ FarmingRewardsGrowthGlobal github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 190-byte string literal not displayed */ }
func (*PoolState) Descriptor ¶
func (*PoolState) MarshalToSizedBuffer ¶
func (*PoolState) ProtoMessage ¶
func (*PoolState) ProtoMessage()
func (*PoolState) XXX_DiscardUnknown ¶
func (m *PoolState) XXX_DiscardUnknown()
func (*PoolState) XXX_Marshal ¶
func (*PoolState) XXX_Unmarshal ¶
type Position ¶
type Position struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` LowerTick int32 `protobuf:"varint,4,opt,name=lower_tick,json=lowerTick,proto3" json:"lower_tick,omitempty"` UpperTick int32 `protobuf:"varint,5,opt,name=upper_tick,json=upperTick,proto3" json:"upper_tick,omitempty"` Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` LastFeeGrowthInside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 169-byte string literal not displayed */ OwedFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 126-byte string literal not displayed */ LastFarmingRewardsGrowthInside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 204-byte string literal not displayed */ OwedFarmingRewards github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */ }
func NewPosition ¶
func NewPosition(id, poolId uint64, ownerAddr sdk.AccAddress, lowerTick, upperTick int32) Position
func (*Position) Descriptor ¶
func (*Position) MarshalToSizedBuffer ¶
func (Position) MustGetOwnerAddress ¶
func (position Position) MustGetOwnerAddress() sdk.AccAddress
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶
func (*Position) XXX_Unmarshal ¶
type PositionResponse ¶
type PositionResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` LowerPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ UpperPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` LastFeeGrowthInside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 169-byte string literal not displayed */ OwedFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 126-byte string literal not displayed */ LastFarmingRewardsGrowthInside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 204-byte string literal not displayed */ OwedFarmingRewards github_com_cosmos_cosmos_sdk_types.Coins `` /* 162-byte string literal not displayed */ }
func NewPositionResponse ¶
func NewPositionResponse(position Position) PositionResponse
func (*PositionResponse) Descriptor ¶
func (*PositionResponse) Descriptor() ([]byte, []int)
func (*PositionResponse) Marshal ¶
func (m *PositionResponse) Marshal() (dAtA []byte, err error)
func (*PositionResponse) MarshalToSizedBuffer ¶
func (m *PositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionResponse) ProtoMessage ¶
func (*PositionResponse) ProtoMessage()
func (*PositionResponse) Reset ¶
func (m *PositionResponse) Reset()
func (*PositionResponse) Size ¶
func (m *PositionResponse) Size() (n int)
func (*PositionResponse) String ¶
func (m *PositionResponse) String() string
func (*PositionResponse) Unmarshal ¶
func (m *PositionResponse) Unmarshal(dAtA []byte) error
func (*PositionResponse) XXX_DiscardUnknown ¶
func (m *PositionResponse) XXX_DiscardUnknown()
func (*PositionResponse) XXX_Marshal ¶
func (m *PositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionResponse) XXX_Merge ¶
func (m *PositionResponse) XXX_Merge(src proto.Message)
func (*PositionResponse) XXX_Size ¶
func (m *PositionResponse) XXX_Size() int
func (*PositionResponse) XXX_Unmarshal ¶
func (m *PositionResponse) XXX_Unmarshal(b []byte) error
type PublicFarmingPlanProposal ¶
type PublicFarmingPlanProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` CreateRequests []CreatePublicFarmingPlanRequest `protobuf:"bytes,3,rep,name=create_requests,json=createRequests,proto3" json:"create_requests"` TerminateRequests []TerminateFarmingPlanRequest `protobuf:"bytes,4,rep,name=terminate_requests,json=terminateRequests,proto3" json:"terminate_requests"` }
func NewPublicFarmingPlanProposal ¶
func NewPublicFarmingPlanProposal( title, description string, createReqs []CreatePublicFarmingPlanRequest, termReqs []TerminateFarmingPlanRequest) *PublicFarmingPlanProposal
func (*PublicFarmingPlanProposal) Descriptor ¶
func (*PublicFarmingPlanProposal) Descriptor() ([]byte, []int)
func (*PublicFarmingPlanProposal) GetDescription ¶
func (p *PublicFarmingPlanProposal) GetDescription() string
func (*PublicFarmingPlanProposal) GetTitle ¶
func (p *PublicFarmingPlanProposal) GetTitle() string
func (*PublicFarmingPlanProposal) Marshal ¶
func (m *PublicFarmingPlanProposal) Marshal() (dAtA []byte, err error)
func (*PublicFarmingPlanProposal) MarshalTo ¶
func (m *PublicFarmingPlanProposal) MarshalTo(dAtA []byte) (int, error)
func (*PublicFarmingPlanProposal) MarshalToSizedBuffer ¶
func (m *PublicFarmingPlanProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicFarmingPlanProposal) ProposalRoute ¶
func (p *PublicFarmingPlanProposal) ProposalRoute() string
func (*PublicFarmingPlanProposal) ProposalType ¶
func (p *PublicFarmingPlanProposal) ProposalType() string
func (*PublicFarmingPlanProposal) ProtoMessage ¶
func (*PublicFarmingPlanProposal) ProtoMessage()
func (*PublicFarmingPlanProposal) Reset ¶
func (m *PublicFarmingPlanProposal) Reset()
func (*PublicFarmingPlanProposal) Size ¶
func (m *PublicFarmingPlanProposal) Size() (n int)
func (PublicFarmingPlanProposal) String ¶
func (p PublicFarmingPlanProposal) String() string
Example ¶
package main import ( "fmt" utils "github.com/crescent-network/crescent/v5/types" "github.com/crescent-network/crescent/v5/x/amm/types" ) func main() { farmingPoolAddr1 := utils.TestAddress(10000) farmingPoolAddr2 := utils.TestAddress(20000) termAddr1 := utils.TestAddress(30000) p := types.NewPublicFarmingPlanProposal( "Title", "Description", []types.CreatePublicFarmingPlanRequest{ types.NewCreatePublicFarmingPlanRequest( "First plan", farmingPoolAddr1, farmingPoolAddr1, []types.FarmingRewardAllocation{ types.NewFarmingRewardAllocation(1, utils.ParseCoins("100_000000ucre,50_000000uatom")), types.NewFarmingRewardAllocation(2, utils.ParseCoins("200_000000ucre,50_000000uatom")), }, utils.ParseTime("2023-01-01T00:00:00Z"), utils.ParseTime("2024-01-01T00:00:00Z")), types.NewCreatePublicFarmingPlanRequest( "Second plan", farmingPoolAddr2, termAddr1, []types.FarmingRewardAllocation{ types.NewFarmingRewardAllocation(3, utils.ParseCoins("500_000000ucre")), }, utils.ParseTime("2023-01-01T00:00:00Z"), utils.ParseTime("2023-07-01T00:00:00Z")), }, []types.TerminateFarmingPlanRequest{ types.NewTerminateFarmingPlanRequest(1), types.NewTerminateFarmingPlanRequest(2), }) fmt.Println(p.String()) }
Output: Public Farming Plan Proposal: Title: Title Description: Description Create Requests: Create Public Farming Plan Request: Description: First plan Farming Pool Address: cosmos15zwqzqqqqqqqqqqqqqqqqqqqqqqqqqqqg6q7lu Termination Address: cosmos15zwqzqqqqqqqqqqqqqqqqqqqqqqqqqqqg6q7lu Start Time: 2023-01-01 00:00:00 +0000 UTC End Time: 2024-01-01 00:00:00 +0000 UTC Reward Allocations: Reward Allocation: Pool Id: 1 Rewards Per Day: 50000000uatom,100000000ucre Reward Allocation: Pool Id: 2 Rewards Per Day: 50000000uatom,200000000ucre Create Public Farming Plan Request: Description: Second plan Farming Pool Address: cosmos1czuqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqvvkq5 Termination Address: cosmos1ur2qxqqqqqqqqqqqqqqqqqqqqqqqqqqqa33g34 Start Time: 2023-01-01 00:00:00 +0000 UTC End Time: 2023-07-01 00:00:00 +0000 UTC Reward Allocations: Reward Allocation: Pool Id: 3 Rewards Per Day: 500000000ucre Terminate Farming Plan Request: Terminate Public Farming Plan Request: Farming Plan Id: 1 Terminate Public Farming Plan Request: Farming Plan Id: 2
func (*PublicFarmingPlanProposal) Unmarshal ¶
func (m *PublicFarmingPlanProposal) Unmarshal(dAtA []byte) error
func (*PublicFarmingPlanProposal) ValidateBasic ¶
func (p *PublicFarmingPlanProposal) ValidateBasic() error
func (*PublicFarmingPlanProposal) XXX_DiscardUnknown ¶
func (m *PublicFarmingPlanProposal) XXX_DiscardUnknown()
func (*PublicFarmingPlanProposal) XXX_Marshal ¶
func (m *PublicFarmingPlanProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublicFarmingPlanProposal) XXX_Merge ¶
func (m *PublicFarmingPlanProposal) XXX_Merge(src proto.Message)
func (*PublicFarmingPlanProposal) XXX_Size ¶
func (m *PublicFarmingPlanProposal) XXX_Size() int
func (*PublicFarmingPlanProposal) XXX_Unmarshal ¶
func (m *PublicFarmingPlanProposal) XXX_Unmarshal(b []byte) error
type QueryAddLiquiditySimulationRequest ¶
type QueryAddLiquiditySimulationRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` LowerPrice string `protobuf:"bytes,2,opt,name=lower_price,json=lowerPrice,proto3" json:"lower_price,omitempty"` UpperPrice string `protobuf:"bytes,3,opt,name=upper_price,json=upperPrice,proto3" json:"upper_price,omitempty"` DesiredAmount string `protobuf:"bytes,4,opt,name=desired_amount,json=desiredAmount,proto3" json:"desired_amount,omitempty"` }
func (*QueryAddLiquiditySimulationRequest) Descriptor ¶
func (*QueryAddLiquiditySimulationRequest) Descriptor() ([]byte, []int)
func (*QueryAddLiquiditySimulationRequest) Marshal ¶
func (m *QueryAddLiquiditySimulationRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddLiquiditySimulationRequest) MarshalTo ¶
func (m *QueryAddLiquiditySimulationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddLiquiditySimulationRequest) MarshalToSizedBuffer ¶
func (m *QueryAddLiquiditySimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddLiquiditySimulationRequest) ProtoMessage ¶
func (*QueryAddLiquiditySimulationRequest) ProtoMessage()
func (*QueryAddLiquiditySimulationRequest) Reset ¶
func (m *QueryAddLiquiditySimulationRequest) Reset()
func (*QueryAddLiquiditySimulationRequest) Size ¶
func (m *QueryAddLiquiditySimulationRequest) Size() (n int)
func (*QueryAddLiquiditySimulationRequest) String ¶
func (m *QueryAddLiquiditySimulationRequest) String() string
func (*QueryAddLiquiditySimulationRequest) Unmarshal ¶
func (m *QueryAddLiquiditySimulationRequest) Unmarshal(dAtA []byte) error
func (*QueryAddLiquiditySimulationRequest) XXX_DiscardUnknown ¶
func (m *QueryAddLiquiditySimulationRequest) XXX_DiscardUnknown()
func (*QueryAddLiquiditySimulationRequest) XXX_Marshal ¶
func (m *QueryAddLiquiditySimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddLiquiditySimulationRequest) XXX_Merge ¶
func (m *QueryAddLiquiditySimulationRequest) XXX_Merge(src proto.Message)
func (*QueryAddLiquiditySimulationRequest) XXX_Size ¶
func (m *QueryAddLiquiditySimulationRequest) XXX_Size() int
func (*QueryAddLiquiditySimulationRequest) XXX_Unmarshal ¶
func (m *QueryAddLiquiditySimulationRequest) XXX_Unmarshal(b []byte) error
type QueryAddLiquiditySimulationResponse ¶
type QueryAddLiquiditySimulationResponse struct { Liquidity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=liquidity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"liquidity"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*QueryAddLiquiditySimulationResponse) Descriptor ¶
func (*QueryAddLiquiditySimulationResponse) Descriptor() ([]byte, []int)
func (*QueryAddLiquiditySimulationResponse) Marshal ¶
func (m *QueryAddLiquiditySimulationResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddLiquiditySimulationResponse) MarshalTo ¶
func (m *QueryAddLiquiditySimulationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddLiquiditySimulationResponse) MarshalToSizedBuffer ¶
func (m *QueryAddLiquiditySimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddLiquiditySimulationResponse) ProtoMessage ¶
func (*QueryAddLiquiditySimulationResponse) ProtoMessage()
func (*QueryAddLiquiditySimulationResponse) Reset ¶
func (m *QueryAddLiquiditySimulationResponse) Reset()
func (*QueryAddLiquiditySimulationResponse) Size ¶
func (m *QueryAddLiquiditySimulationResponse) Size() (n int)
func (*QueryAddLiquiditySimulationResponse) String ¶
func (m *QueryAddLiquiditySimulationResponse) String() string
func (*QueryAddLiquiditySimulationResponse) Unmarshal ¶
func (m *QueryAddLiquiditySimulationResponse) Unmarshal(dAtA []byte) error
func (*QueryAddLiquiditySimulationResponse) XXX_DiscardUnknown ¶
func (m *QueryAddLiquiditySimulationResponse) XXX_DiscardUnknown()
func (*QueryAddLiquiditySimulationResponse) XXX_Marshal ¶
func (m *QueryAddLiquiditySimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddLiquiditySimulationResponse) XXX_Merge ¶
func (m *QueryAddLiquiditySimulationResponse) XXX_Merge(src proto.Message)
func (*QueryAddLiquiditySimulationResponse) XXX_Size ¶
func (m *QueryAddLiquiditySimulationResponse) XXX_Size() int
func (*QueryAddLiquiditySimulationResponse) XXX_Unmarshal ¶
func (m *QueryAddLiquiditySimulationResponse) XXX_Unmarshal(b []byte) error
type QueryAllFarmingPlansRequest ¶
type QueryAllFarmingPlansRequest struct { IsPrivate string `protobuf:"bytes,1,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` IsTerminated string `protobuf:"bytes,2,opt,name=is_terminated,json=isTerminated,proto3" json:"is_terminated,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllFarmingPlansRequest) Descriptor ¶
func (*QueryAllFarmingPlansRequest) Descriptor() ([]byte, []int)
func (*QueryAllFarmingPlansRequest) Marshal ¶
func (m *QueryAllFarmingPlansRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllFarmingPlansRequest) MarshalTo ¶
func (m *QueryAllFarmingPlansRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFarmingPlansRequest) MarshalToSizedBuffer ¶
func (m *QueryAllFarmingPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFarmingPlansRequest) ProtoMessage ¶
func (*QueryAllFarmingPlansRequest) ProtoMessage()
func (*QueryAllFarmingPlansRequest) Reset ¶
func (m *QueryAllFarmingPlansRequest) Reset()
func (*QueryAllFarmingPlansRequest) Size ¶
func (m *QueryAllFarmingPlansRequest) Size() (n int)
func (*QueryAllFarmingPlansRequest) String ¶
func (m *QueryAllFarmingPlansRequest) String() string
func (*QueryAllFarmingPlansRequest) Unmarshal ¶
func (m *QueryAllFarmingPlansRequest) Unmarshal(dAtA []byte) error
func (*QueryAllFarmingPlansRequest) XXX_DiscardUnknown ¶
func (m *QueryAllFarmingPlansRequest) XXX_DiscardUnknown()
func (*QueryAllFarmingPlansRequest) XXX_Marshal ¶
func (m *QueryAllFarmingPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFarmingPlansRequest) XXX_Merge ¶
func (m *QueryAllFarmingPlansRequest) XXX_Merge(src proto.Message)
func (*QueryAllFarmingPlansRequest) XXX_Size ¶
func (m *QueryAllFarmingPlansRequest) XXX_Size() int
func (*QueryAllFarmingPlansRequest) XXX_Unmarshal ¶
func (m *QueryAllFarmingPlansRequest) XXX_Unmarshal(b []byte) error
type QueryAllFarmingPlansResponse ¶
type QueryAllFarmingPlansResponse struct { FarmingPlans []FarmingPlan `protobuf:"bytes,1,rep,name=farming_plans,json=farmingPlans,proto3" json:"farming_plans"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllFarmingPlansResponse) Descriptor ¶
func (*QueryAllFarmingPlansResponse) Descriptor() ([]byte, []int)
func (*QueryAllFarmingPlansResponse) Marshal ¶
func (m *QueryAllFarmingPlansResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllFarmingPlansResponse) MarshalTo ¶
func (m *QueryAllFarmingPlansResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFarmingPlansResponse) MarshalToSizedBuffer ¶
func (m *QueryAllFarmingPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFarmingPlansResponse) ProtoMessage ¶
func (*QueryAllFarmingPlansResponse) ProtoMessage()
func (*QueryAllFarmingPlansResponse) Reset ¶
func (m *QueryAllFarmingPlansResponse) Reset()
func (*QueryAllFarmingPlansResponse) Size ¶
func (m *QueryAllFarmingPlansResponse) Size() (n int)
func (*QueryAllFarmingPlansResponse) String ¶
func (m *QueryAllFarmingPlansResponse) String() string
func (*QueryAllFarmingPlansResponse) Unmarshal ¶
func (m *QueryAllFarmingPlansResponse) Unmarshal(dAtA []byte) error
func (*QueryAllFarmingPlansResponse) XXX_DiscardUnknown ¶
func (m *QueryAllFarmingPlansResponse) XXX_DiscardUnknown()
func (*QueryAllFarmingPlansResponse) XXX_Marshal ¶
func (m *QueryAllFarmingPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFarmingPlansResponse) XXX_Merge ¶
func (m *QueryAllFarmingPlansResponse) XXX_Merge(src proto.Message)
func (*QueryAllFarmingPlansResponse) XXX_Size ¶
func (m *QueryAllFarmingPlansResponse) XXX_Size() int
func (*QueryAllFarmingPlansResponse) XXX_Unmarshal ¶
func (m *QueryAllFarmingPlansResponse) XXX_Unmarshal(b []byte) error
type QueryAllPoolsRequest ¶
type QueryAllPoolsRequest struct { MarketId uint64 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPoolsRequest) Descriptor ¶
func (*QueryAllPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryAllPoolsRequest) Marshal ¶
func (m *QueryAllPoolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolsRequest) MarshalTo ¶
func (m *QueryAllPoolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolsRequest) ProtoMessage ¶
func (*QueryAllPoolsRequest) ProtoMessage()
func (*QueryAllPoolsRequest) Reset ¶
func (m *QueryAllPoolsRequest) Reset()
func (*QueryAllPoolsRequest) Size ¶
func (m *QueryAllPoolsRequest) Size() (n int)
func (*QueryAllPoolsRequest) String ¶
func (m *QueryAllPoolsRequest) String() string
func (*QueryAllPoolsRequest) Unmarshal ¶
func (m *QueryAllPoolsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPoolsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPoolsRequest) XXX_DiscardUnknown()
func (*QueryAllPoolsRequest) XXX_Marshal ¶
func (m *QueryAllPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolsRequest) XXX_Merge ¶
func (m *QueryAllPoolsRequest) XXX_Merge(src proto.Message)
func (*QueryAllPoolsRequest) XXX_Size ¶
func (m *QueryAllPoolsRequest) XXX_Size() int
func (*QueryAllPoolsRequest) XXX_Unmarshal ¶
func (m *QueryAllPoolsRequest) XXX_Unmarshal(b []byte) error
type QueryAllPoolsResponse ¶
type QueryAllPoolsResponse struct { Pools []PoolResponse `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPoolsResponse) Descriptor ¶
func (*QueryAllPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryAllPoolsResponse) Marshal ¶
func (m *QueryAllPoolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolsResponse) MarshalTo ¶
func (m *QueryAllPoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolsResponse) ProtoMessage ¶
func (*QueryAllPoolsResponse) ProtoMessage()
func (*QueryAllPoolsResponse) Reset ¶
func (m *QueryAllPoolsResponse) Reset()
func (*QueryAllPoolsResponse) Size ¶
func (m *QueryAllPoolsResponse) Size() (n int)
func (*QueryAllPoolsResponse) String ¶
func (m *QueryAllPoolsResponse) String() string
func (*QueryAllPoolsResponse) Unmarshal ¶
func (m *QueryAllPoolsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPoolsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPoolsResponse) XXX_DiscardUnknown()
func (*QueryAllPoolsResponse) XXX_Marshal ¶
func (m *QueryAllPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolsResponse) XXX_Merge ¶
func (m *QueryAllPoolsResponse) XXX_Merge(src proto.Message)
func (*QueryAllPoolsResponse) XXX_Size ¶
func (m *QueryAllPoolsResponse) XXX_Size() int
func (*QueryAllPoolsResponse) XXX_Unmarshal ¶
func (m *QueryAllPoolsResponse) XXX_Unmarshal(b []byte) error
type QueryAllPositionsRequest ¶
type QueryAllPositionsRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPositionsRequest) Descriptor ¶
func (*QueryAllPositionsRequest) Descriptor() ([]byte, []int)
func (*QueryAllPositionsRequest) Marshal ¶
func (m *QueryAllPositionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPositionsRequest) MarshalTo ¶
func (m *QueryAllPositionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPositionsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPositionsRequest) ProtoMessage ¶
func (*QueryAllPositionsRequest) ProtoMessage()
func (*QueryAllPositionsRequest) Reset ¶
func (m *QueryAllPositionsRequest) Reset()
func (*QueryAllPositionsRequest) Size ¶
func (m *QueryAllPositionsRequest) Size() (n int)
func (*QueryAllPositionsRequest) String ¶
func (m *QueryAllPositionsRequest) String() string
func (*QueryAllPositionsRequest) Unmarshal ¶
func (m *QueryAllPositionsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPositionsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPositionsRequest) XXX_DiscardUnknown()
func (*QueryAllPositionsRequest) XXX_Marshal ¶
func (m *QueryAllPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPositionsRequest) XXX_Merge ¶
func (m *QueryAllPositionsRequest) XXX_Merge(src proto.Message)
func (*QueryAllPositionsRequest) XXX_Size ¶
func (m *QueryAllPositionsRequest) XXX_Size() int
func (*QueryAllPositionsRequest) XXX_Unmarshal ¶
func (m *QueryAllPositionsRequest) XXX_Unmarshal(b []byte) error
type QueryAllPositionsResponse ¶
type QueryAllPositionsResponse struct { Positions []PositionResponse `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPositionsResponse) Descriptor ¶
func (*QueryAllPositionsResponse) Descriptor() ([]byte, []int)
func (*QueryAllPositionsResponse) Marshal ¶
func (m *QueryAllPositionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPositionsResponse) MarshalTo ¶
func (m *QueryAllPositionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPositionsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPositionsResponse) ProtoMessage ¶
func (*QueryAllPositionsResponse) ProtoMessage()
func (*QueryAllPositionsResponse) Reset ¶
func (m *QueryAllPositionsResponse) Reset()
func (*QueryAllPositionsResponse) Size ¶
func (m *QueryAllPositionsResponse) Size() (n int)
func (*QueryAllPositionsResponse) String ¶
func (m *QueryAllPositionsResponse) String() string
func (*QueryAllPositionsResponse) Unmarshal ¶
func (m *QueryAllPositionsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPositionsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPositionsResponse) XXX_DiscardUnknown()
func (*QueryAllPositionsResponse) XXX_Marshal ¶
func (m *QueryAllPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPositionsResponse) XXX_Merge ¶
func (m *QueryAllPositionsResponse) XXX_Merge(src proto.Message)
func (*QueryAllPositionsResponse) XXX_Size ¶
func (m *QueryAllPositionsResponse) XXX_Size() int
func (*QueryAllPositionsResponse) XXX_Unmarshal ¶
func (m *QueryAllPositionsResponse) XXX_Unmarshal(b []byte) error
type QueryAllTickInfosRequest ¶
type QueryAllTickInfosRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` LowerTick string `protobuf:"bytes,2,opt,name=lower_tick,json=lowerTick,proto3" json:"lower_tick,omitempty"` UpperTick string `protobuf:"bytes,3,opt,name=upper_tick,json=upperTick,proto3" json:"upper_tick,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllTickInfosRequest) Descriptor ¶
func (*QueryAllTickInfosRequest) Descriptor() ([]byte, []int)
func (*QueryAllTickInfosRequest) Marshal ¶
func (m *QueryAllTickInfosRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllTickInfosRequest) MarshalTo ¶
func (m *QueryAllTickInfosRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllTickInfosRequest) MarshalToSizedBuffer ¶
func (m *QueryAllTickInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllTickInfosRequest) ProtoMessage ¶
func (*QueryAllTickInfosRequest) ProtoMessage()
func (*QueryAllTickInfosRequest) Reset ¶
func (m *QueryAllTickInfosRequest) Reset()
func (*QueryAllTickInfosRequest) Size ¶
func (m *QueryAllTickInfosRequest) Size() (n int)
func (*QueryAllTickInfosRequest) String ¶
func (m *QueryAllTickInfosRequest) String() string
func (*QueryAllTickInfosRequest) Unmarshal ¶
func (m *QueryAllTickInfosRequest) Unmarshal(dAtA []byte) error
func (*QueryAllTickInfosRequest) XXX_DiscardUnknown ¶
func (m *QueryAllTickInfosRequest) XXX_DiscardUnknown()
func (*QueryAllTickInfosRequest) XXX_Marshal ¶
func (m *QueryAllTickInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllTickInfosRequest) XXX_Merge ¶
func (m *QueryAllTickInfosRequest) XXX_Merge(src proto.Message)
func (*QueryAllTickInfosRequest) XXX_Size ¶
func (m *QueryAllTickInfosRequest) XXX_Size() int
func (*QueryAllTickInfosRequest) XXX_Unmarshal ¶
func (m *QueryAllTickInfosRequest) XXX_Unmarshal(b []byte) error
type QueryAllTickInfosResponse ¶
type QueryAllTickInfosResponse struct { TickInfos []TickInfoResponse `protobuf:"bytes,1,rep,name=tick_infos,json=tickInfos,proto3" json:"tick_infos"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllTickInfosResponse) Descriptor ¶
func (*QueryAllTickInfosResponse) Descriptor() ([]byte, []int)
func (*QueryAllTickInfosResponse) Marshal ¶
func (m *QueryAllTickInfosResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllTickInfosResponse) MarshalTo ¶
func (m *QueryAllTickInfosResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllTickInfosResponse) MarshalToSizedBuffer ¶
func (m *QueryAllTickInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllTickInfosResponse) ProtoMessage ¶
func (*QueryAllTickInfosResponse) ProtoMessage()
func (*QueryAllTickInfosResponse) Reset ¶
func (m *QueryAllTickInfosResponse) Reset()
func (*QueryAllTickInfosResponse) Size ¶
func (m *QueryAllTickInfosResponse) Size() (n int)
func (*QueryAllTickInfosResponse) String ¶
func (m *QueryAllTickInfosResponse) String() string
func (*QueryAllTickInfosResponse) Unmarshal ¶
func (m *QueryAllTickInfosResponse) Unmarshal(dAtA []byte) error
func (*QueryAllTickInfosResponse) XXX_DiscardUnknown ¶
func (m *QueryAllTickInfosResponse) XXX_DiscardUnknown()
func (*QueryAllTickInfosResponse) XXX_Marshal ¶
func (m *QueryAllTickInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllTickInfosResponse) XXX_Merge ¶
func (m *QueryAllTickInfosResponse) XXX_Merge(src proto.Message)
func (*QueryAllTickInfosResponse) XXX_Size ¶
func (m *QueryAllTickInfosResponse) XXX_Size() int
func (*QueryAllTickInfosResponse) XXX_Unmarshal ¶
func (m *QueryAllTickInfosResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) AllPools(ctx context.Context, in *QueryAllPoolsRequest, opts ...grpc.CallOption) (*QueryAllPoolsResponse, error) Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) AllPositions(ctx context.Context, in *QueryAllPositionsRequest, opts ...grpc.CallOption) (*QueryAllPositionsResponse, error) Position(ctx context.Context, in *QueryPositionRequest, opts ...grpc.CallOption) (*QueryPositionResponse, error) PositionAssets(ctx context.Context, in *QueryPositionAssetsRequest, opts ...grpc.CallOption) (*QueryPositionAssetsResponse, error) AddLiquiditySimulation(ctx context.Context, in *QueryAddLiquiditySimulationRequest, opts ...grpc.CallOption) (*QueryAddLiquiditySimulationResponse, error) RemoveLiquiditySimulation(ctx context.Context, in *QueryRemoveLiquiditySimulationRequest, opts ...grpc.CallOption) (*QueryRemoveLiquiditySimulationResponse, error) CollectibleCoins(ctx context.Context, in *QueryCollectibleCoinsRequest, opts ...grpc.CallOption) (*QueryCollectibleCoinsResponse, error) AllTickInfos(ctx context.Context, in *QueryAllTickInfosRequest, opts ...grpc.CallOption) (*QueryAllTickInfosResponse, error) TickInfo(ctx context.Context, in *QueryTickInfoRequest, opts ...grpc.CallOption) (*QueryTickInfoResponse, error) AllFarmingPlans(ctx context.Context, in *QueryAllFarmingPlansRequest, opts ...grpc.CallOption) (*QueryAllFarmingPlansResponse, error) FarmingPlan(ctx context.Context, in *QueryFarmingPlanRequest, opts ...grpc.CallOption) (*QueryFarmingPlanResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCollectibleCoinsRequest ¶
type QueryCollectibleCoinsRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PositionId uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` }
func (*QueryCollectibleCoinsRequest) Descriptor ¶
func (*QueryCollectibleCoinsRequest) Descriptor() ([]byte, []int)
func (*QueryCollectibleCoinsRequest) Marshal ¶
func (m *QueryCollectibleCoinsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollectibleCoinsRequest) MarshalTo ¶
func (m *QueryCollectibleCoinsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectibleCoinsRequest) MarshalToSizedBuffer ¶
func (m *QueryCollectibleCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectibleCoinsRequest) ProtoMessage ¶
func (*QueryCollectibleCoinsRequest) ProtoMessage()
func (*QueryCollectibleCoinsRequest) Reset ¶
func (m *QueryCollectibleCoinsRequest) Reset()
func (*QueryCollectibleCoinsRequest) Size ¶
func (m *QueryCollectibleCoinsRequest) Size() (n int)
func (*QueryCollectibleCoinsRequest) String ¶
func (m *QueryCollectibleCoinsRequest) String() string
func (*QueryCollectibleCoinsRequest) Unmarshal ¶
func (m *QueryCollectibleCoinsRequest) Unmarshal(dAtA []byte) error
func (*QueryCollectibleCoinsRequest) XXX_DiscardUnknown ¶
func (m *QueryCollectibleCoinsRequest) XXX_DiscardUnknown()
func (*QueryCollectibleCoinsRequest) XXX_Marshal ¶
func (m *QueryCollectibleCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectibleCoinsRequest) XXX_Merge ¶
func (m *QueryCollectibleCoinsRequest) XXX_Merge(src proto.Message)
func (*QueryCollectibleCoinsRequest) XXX_Size ¶
func (m *QueryCollectibleCoinsRequest) XXX_Size() int
func (*QueryCollectibleCoinsRequest) XXX_Unmarshal ¶
func (m *QueryCollectibleCoinsRequest) XXX_Unmarshal(b []byte) error
type QueryCollectibleCoinsResponse ¶
type QueryCollectibleCoinsResponse struct { Fee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=fee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"fee"` FarmingRewards github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */ }
func (*QueryCollectibleCoinsResponse) Descriptor ¶
func (*QueryCollectibleCoinsResponse) Descriptor() ([]byte, []int)
func (*QueryCollectibleCoinsResponse) Marshal ¶
func (m *QueryCollectibleCoinsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollectibleCoinsResponse) MarshalTo ¶
func (m *QueryCollectibleCoinsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectibleCoinsResponse) MarshalToSizedBuffer ¶
func (m *QueryCollectibleCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectibleCoinsResponse) ProtoMessage ¶
func (*QueryCollectibleCoinsResponse) ProtoMessage()
func (*QueryCollectibleCoinsResponse) Reset ¶
func (m *QueryCollectibleCoinsResponse) Reset()
func (*QueryCollectibleCoinsResponse) Size ¶
func (m *QueryCollectibleCoinsResponse) Size() (n int)
func (*QueryCollectibleCoinsResponse) String ¶
func (m *QueryCollectibleCoinsResponse) String() string
func (*QueryCollectibleCoinsResponse) Unmarshal ¶
func (m *QueryCollectibleCoinsResponse) Unmarshal(dAtA []byte) error
func (*QueryCollectibleCoinsResponse) XXX_DiscardUnknown ¶
func (m *QueryCollectibleCoinsResponse) XXX_DiscardUnknown()
func (*QueryCollectibleCoinsResponse) XXX_Marshal ¶
func (m *QueryCollectibleCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectibleCoinsResponse) XXX_Merge ¶
func (m *QueryCollectibleCoinsResponse) XXX_Merge(src proto.Message)
func (*QueryCollectibleCoinsResponse) XXX_Size ¶
func (m *QueryCollectibleCoinsResponse) XXX_Size() int
func (*QueryCollectibleCoinsResponse) XXX_Unmarshal ¶
func (m *QueryCollectibleCoinsResponse) XXX_Unmarshal(b []byte) error
type QueryFarmingPlanRequest ¶
type QueryFarmingPlanRequest struct {
PlanId uint64 `protobuf:"varint,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
}
func (*QueryFarmingPlanRequest) Descriptor ¶
func (*QueryFarmingPlanRequest) Descriptor() ([]byte, []int)
func (*QueryFarmingPlanRequest) Marshal ¶
func (m *QueryFarmingPlanRequest) Marshal() (dAtA []byte, err error)
func (*QueryFarmingPlanRequest) MarshalTo ¶
func (m *QueryFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFarmingPlanRequest) MarshalToSizedBuffer ¶
func (m *QueryFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFarmingPlanRequest) ProtoMessage ¶
func (*QueryFarmingPlanRequest) ProtoMessage()
func (*QueryFarmingPlanRequest) Reset ¶
func (m *QueryFarmingPlanRequest) Reset()
func (*QueryFarmingPlanRequest) Size ¶
func (m *QueryFarmingPlanRequest) Size() (n int)
func (*QueryFarmingPlanRequest) String ¶
func (m *QueryFarmingPlanRequest) String() string
func (*QueryFarmingPlanRequest) Unmarshal ¶
func (m *QueryFarmingPlanRequest) Unmarshal(dAtA []byte) error
func (*QueryFarmingPlanRequest) XXX_DiscardUnknown ¶
func (m *QueryFarmingPlanRequest) XXX_DiscardUnknown()
func (*QueryFarmingPlanRequest) XXX_Marshal ¶
func (m *QueryFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFarmingPlanRequest) XXX_Merge ¶
func (m *QueryFarmingPlanRequest) XXX_Merge(src proto.Message)
func (*QueryFarmingPlanRequest) XXX_Size ¶
func (m *QueryFarmingPlanRequest) XXX_Size() int
func (*QueryFarmingPlanRequest) XXX_Unmarshal ¶
func (m *QueryFarmingPlanRequest) XXX_Unmarshal(b []byte) error
type QueryFarmingPlanResponse ¶
type QueryFarmingPlanResponse struct {
FarmingPlan FarmingPlan `protobuf:"bytes,1,opt,name=farming_plan,json=farmingPlan,proto3" json:"farming_plan"`
}
func (*QueryFarmingPlanResponse) Descriptor ¶
func (*QueryFarmingPlanResponse) Descriptor() ([]byte, []int)
func (*QueryFarmingPlanResponse) Marshal ¶
func (m *QueryFarmingPlanResponse) Marshal() (dAtA []byte, err error)
func (*QueryFarmingPlanResponse) MarshalTo ¶
func (m *QueryFarmingPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFarmingPlanResponse) MarshalToSizedBuffer ¶
func (m *QueryFarmingPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFarmingPlanResponse) ProtoMessage ¶
func (*QueryFarmingPlanResponse) ProtoMessage()
func (*QueryFarmingPlanResponse) Reset ¶
func (m *QueryFarmingPlanResponse) Reset()
func (*QueryFarmingPlanResponse) Size ¶
func (m *QueryFarmingPlanResponse) Size() (n int)
func (*QueryFarmingPlanResponse) String ¶
func (m *QueryFarmingPlanResponse) String() string
func (*QueryFarmingPlanResponse) Unmarshal ¶
func (m *QueryFarmingPlanResponse) Unmarshal(dAtA []byte) error
func (*QueryFarmingPlanResponse) XXX_DiscardUnknown ¶
func (m *QueryFarmingPlanResponse) XXX_DiscardUnknown()
func (*QueryFarmingPlanResponse) XXX_Marshal ¶
func (m *QueryFarmingPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFarmingPlanResponse) XXX_Merge ¶
func (m *QueryFarmingPlanResponse) XXX_Merge(src proto.Message)
func (*QueryFarmingPlanResponse) XXX_Size ¶
func (m *QueryFarmingPlanResponse) XXX_Size() int
func (*QueryFarmingPlanResponse) XXX_Unmarshal ¶
func (m *QueryFarmingPlanResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
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 QueryPoolRequest ¶
type QueryPoolRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*QueryPoolRequest) Descriptor ¶
func (*QueryPoolRequest) Descriptor() ([]byte, []int)
func (*QueryPoolRequest) Marshal ¶
func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRequest) ProtoMessage ¶
func (*QueryPoolRequest) ProtoMessage()
func (*QueryPoolRequest) Reset ¶
func (m *QueryPoolRequest) Reset()
func (*QueryPoolRequest) Size ¶
func (m *QueryPoolRequest) Size() (n int)
func (*QueryPoolRequest) String ¶
func (m *QueryPoolRequest) String() string
func (*QueryPoolRequest) Unmarshal ¶
func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolRequest) XXX_DiscardUnknown()
func (*QueryPoolRequest) XXX_Marshal ¶
func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRequest) XXX_Merge ¶
func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
func (*QueryPoolRequest) XXX_Size ¶
func (m *QueryPoolRequest) XXX_Size() int
func (*QueryPoolRequest) XXX_Unmarshal ¶
func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
type QueryPoolResponse ¶
type QueryPoolResponse struct {
Pool PoolResponse `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"`
}
func (*QueryPoolResponse) Descriptor ¶
func (*QueryPoolResponse) Descriptor() ([]byte, []int)
func (*QueryPoolResponse) Marshal ¶
func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolResponse) MarshalTo ¶
func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolResponse) ProtoMessage ¶
func (*QueryPoolResponse) ProtoMessage()
func (*QueryPoolResponse) Reset ¶
func (m *QueryPoolResponse) Reset()
func (*QueryPoolResponse) Size ¶
func (m *QueryPoolResponse) Size() (n int)
func (*QueryPoolResponse) String ¶
func (m *QueryPoolResponse) String() string
func (*QueryPoolResponse) Unmarshal ¶
func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolResponse) XXX_DiscardUnknown()
func (*QueryPoolResponse) XXX_Marshal ¶
func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolResponse) XXX_Merge ¶
func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
func (*QueryPoolResponse) XXX_Size ¶
func (m *QueryPoolResponse) XXX_Size() int
func (*QueryPoolResponse) XXX_Unmarshal ¶
func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
type QueryPositionAssetsRequest ¶
type QueryPositionAssetsRequest struct {
PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
}
func (*QueryPositionAssetsRequest) Descriptor ¶
func (*QueryPositionAssetsRequest) Descriptor() ([]byte, []int)
func (*QueryPositionAssetsRequest) Marshal ¶
func (m *QueryPositionAssetsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPositionAssetsRequest) MarshalTo ¶
func (m *QueryPositionAssetsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPositionAssetsRequest) MarshalToSizedBuffer ¶
func (m *QueryPositionAssetsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPositionAssetsRequest) ProtoMessage ¶
func (*QueryPositionAssetsRequest) ProtoMessage()
func (*QueryPositionAssetsRequest) Reset ¶
func (m *QueryPositionAssetsRequest) Reset()
func (*QueryPositionAssetsRequest) Size ¶
func (m *QueryPositionAssetsRequest) Size() (n int)
func (*QueryPositionAssetsRequest) String ¶
func (m *QueryPositionAssetsRequest) String() string
func (*QueryPositionAssetsRequest) Unmarshal ¶
func (m *QueryPositionAssetsRequest) Unmarshal(dAtA []byte) error
func (*QueryPositionAssetsRequest) XXX_DiscardUnknown ¶
func (m *QueryPositionAssetsRequest) XXX_DiscardUnknown()
func (*QueryPositionAssetsRequest) XXX_Marshal ¶
func (m *QueryPositionAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPositionAssetsRequest) XXX_Merge ¶
func (m *QueryPositionAssetsRequest) XXX_Merge(src proto.Message)
func (*QueryPositionAssetsRequest) XXX_Size ¶
func (m *QueryPositionAssetsRequest) XXX_Size() int
func (*QueryPositionAssetsRequest) XXX_Unmarshal ¶
func (m *QueryPositionAssetsRequest) XXX_Unmarshal(b []byte) error
type QueryPositionAssetsResponse ¶
type QueryPositionAssetsResponse struct { Coin0 types.Coin `protobuf:"bytes,1,opt,name=coin0,proto3" json:"coin0"` Coin1 types.Coin `protobuf:"bytes,2,opt,name=coin1,proto3" json:"coin1"` }
func (*QueryPositionAssetsResponse) Descriptor ¶
func (*QueryPositionAssetsResponse) Descriptor() ([]byte, []int)
func (*QueryPositionAssetsResponse) Marshal ¶
func (m *QueryPositionAssetsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPositionAssetsResponse) MarshalTo ¶
func (m *QueryPositionAssetsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPositionAssetsResponse) MarshalToSizedBuffer ¶
func (m *QueryPositionAssetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPositionAssetsResponse) ProtoMessage ¶
func (*QueryPositionAssetsResponse) ProtoMessage()
func (*QueryPositionAssetsResponse) Reset ¶
func (m *QueryPositionAssetsResponse) Reset()
func (*QueryPositionAssetsResponse) Size ¶
func (m *QueryPositionAssetsResponse) Size() (n int)
func (*QueryPositionAssetsResponse) String ¶
func (m *QueryPositionAssetsResponse) String() string
func (*QueryPositionAssetsResponse) Unmarshal ¶
func (m *QueryPositionAssetsResponse) Unmarshal(dAtA []byte) error
func (*QueryPositionAssetsResponse) XXX_DiscardUnknown ¶
func (m *QueryPositionAssetsResponse) XXX_DiscardUnknown()
func (*QueryPositionAssetsResponse) XXX_Marshal ¶
func (m *QueryPositionAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPositionAssetsResponse) XXX_Merge ¶
func (m *QueryPositionAssetsResponse) XXX_Merge(src proto.Message)
func (*QueryPositionAssetsResponse) XXX_Size ¶
func (m *QueryPositionAssetsResponse) XXX_Size() int
func (*QueryPositionAssetsResponse) XXX_Unmarshal ¶
func (m *QueryPositionAssetsResponse) XXX_Unmarshal(b []byte) error
type QueryPositionRequest ¶
type QueryPositionRequest struct {
PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
}
func (*QueryPositionRequest) Descriptor ¶
func (*QueryPositionRequest) Descriptor() ([]byte, []int)
func (*QueryPositionRequest) Marshal ¶
func (m *QueryPositionRequest) Marshal() (dAtA []byte, err error)
func (*QueryPositionRequest) MarshalTo ¶
func (m *QueryPositionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPositionRequest) MarshalToSizedBuffer ¶
func (m *QueryPositionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPositionRequest) ProtoMessage ¶
func (*QueryPositionRequest) ProtoMessage()
func (*QueryPositionRequest) Reset ¶
func (m *QueryPositionRequest) Reset()
func (*QueryPositionRequest) Size ¶
func (m *QueryPositionRequest) Size() (n int)
func (*QueryPositionRequest) String ¶
func (m *QueryPositionRequest) String() string
func (*QueryPositionRequest) Unmarshal ¶
func (m *QueryPositionRequest) Unmarshal(dAtA []byte) error
func (*QueryPositionRequest) XXX_DiscardUnknown ¶
func (m *QueryPositionRequest) XXX_DiscardUnknown()
func (*QueryPositionRequest) XXX_Marshal ¶
func (m *QueryPositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPositionRequest) XXX_Merge ¶
func (m *QueryPositionRequest) XXX_Merge(src proto.Message)
func (*QueryPositionRequest) XXX_Size ¶
func (m *QueryPositionRequest) XXX_Size() int
func (*QueryPositionRequest) XXX_Unmarshal ¶
func (m *QueryPositionRequest) XXX_Unmarshal(b []byte) error
type QueryPositionResponse ¶
type QueryPositionResponse struct {
Position PositionResponse `protobuf:"bytes,1,opt,name=position,proto3" json:"position"`
}
func (*QueryPositionResponse) Descriptor ¶
func (*QueryPositionResponse) Descriptor() ([]byte, []int)
func (*QueryPositionResponse) Marshal ¶
func (m *QueryPositionResponse) Marshal() (dAtA []byte, err error)
func (*QueryPositionResponse) MarshalTo ¶
func (m *QueryPositionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPositionResponse) MarshalToSizedBuffer ¶
func (m *QueryPositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPositionResponse) ProtoMessage ¶
func (*QueryPositionResponse) ProtoMessage()
func (*QueryPositionResponse) Reset ¶
func (m *QueryPositionResponse) Reset()
func (*QueryPositionResponse) Size ¶
func (m *QueryPositionResponse) Size() (n int)
func (*QueryPositionResponse) String ¶
func (m *QueryPositionResponse) String() string
func (*QueryPositionResponse) Unmarshal ¶
func (m *QueryPositionResponse) Unmarshal(dAtA []byte) error
func (*QueryPositionResponse) XXX_DiscardUnknown ¶
func (m *QueryPositionResponse) XXX_DiscardUnknown()
func (*QueryPositionResponse) XXX_Marshal ¶
func (m *QueryPositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPositionResponse) XXX_Merge ¶
func (m *QueryPositionResponse) XXX_Merge(src proto.Message)
func (*QueryPositionResponse) XXX_Size ¶
func (m *QueryPositionResponse) XXX_Size() int
func (*QueryPositionResponse) XXX_Unmarshal ¶
func (m *QueryPositionResponse) XXX_Unmarshal(b []byte) error
type QueryRemoveLiquiditySimulationRequest ¶
type QueryRemoveLiquiditySimulationRequest struct { PositionId uint64 `protobuf:"varint,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Liquidity string `protobuf:"bytes,2,opt,name=liquidity,proto3" json:"liquidity,omitempty"` }
func (*QueryRemoveLiquiditySimulationRequest) Descriptor ¶
func (*QueryRemoveLiquiditySimulationRequest) Descriptor() ([]byte, []int)
func (*QueryRemoveLiquiditySimulationRequest) Marshal ¶
func (m *QueryRemoveLiquiditySimulationRequest) Marshal() (dAtA []byte, err error)
func (*QueryRemoveLiquiditySimulationRequest) MarshalTo ¶
func (m *QueryRemoveLiquiditySimulationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRemoveLiquiditySimulationRequest) MarshalToSizedBuffer ¶
func (m *QueryRemoveLiquiditySimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRemoveLiquiditySimulationRequest) ProtoMessage ¶
func (*QueryRemoveLiquiditySimulationRequest) ProtoMessage()
func (*QueryRemoveLiquiditySimulationRequest) Reset ¶
func (m *QueryRemoveLiquiditySimulationRequest) Reset()
func (*QueryRemoveLiquiditySimulationRequest) Size ¶
func (m *QueryRemoveLiquiditySimulationRequest) Size() (n int)
func (*QueryRemoveLiquiditySimulationRequest) String ¶
func (m *QueryRemoveLiquiditySimulationRequest) String() string
func (*QueryRemoveLiquiditySimulationRequest) Unmarshal ¶
func (m *QueryRemoveLiquiditySimulationRequest) Unmarshal(dAtA []byte) error
func (*QueryRemoveLiquiditySimulationRequest) XXX_DiscardUnknown ¶
func (m *QueryRemoveLiquiditySimulationRequest) XXX_DiscardUnknown()
func (*QueryRemoveLiquiditySimulationRequest) XXX_Marshal ¶
func (m *QueryRemoveLiquiditySimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRemoveLiquiditySimulationRequest) XXX_Merge ¶
func (m *QueryRemoveLiquiditySimulationRequest) XXX_Merge(src proto.Message)
func (*QueryRemoveLiquiditySimulationRequest) XXX_Size ¶
func (m *QueryRemoveLiquiditySimulationRequest) XXX_Size() int
func (*QueryRemoveLiquiditySimulationRequest) XXX_Unmarshal ¶
func (m *QueryRemoveLiquiditySimulationRequest) XXX_Unmarshal(b []byte) error
type QueryRemoveLiquiditySimulationResponse ¶
type QueryRemoveLiquiditySimulationResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (*QueryRemoveLiquiditySimulationResponse) Descriptor ¶
func (*QueryRemoveLiquiditySimulationResponse) Descriptor() ([]byte, []int)
func (*QueryRemoveLiquiditySimulationResponse) Marshal ¶
func (m *QueryRemoveLiquiditySimulationResponse) Marshal() (dAtA []byte, err error)
func (*QueryRemoveLiquiditySimulationResponse) MarshalTo ¶
func (m *QueryRemoveLiquiditySimulationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRemoveLiquiditySimulationResponse) MarshalToSizedBuffer ¶
func (m *QueryRemoveLiquiditySimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRemoveLiquiditySimulationResponse) ProtoMessage ¶
func (*QueryRemoveLiquiditySimulationResponse) ProtoMessage()
func (*QueryRemoveLiquiditySimulationResponse) Reset ¶
func (m *QueryRemoveLiquiditySimulationResponse) Reset()
func (*QueryRemoveLiquiditySimulationResponse) Size ¶
func (m *QueryRemoveLiquiditySimulationResponse) Size() (n int)
func (*QueryRemoveLiquiditySimulationResponse) String ¶
func (m *QueryRemoveLiquiditySimulationResponse) String() string
func (*QueryRemoveLiquiditySimulationResponse) Unmarshal ¶
func (m *QueryRemoveLiquiditySimulationResponse) Unmarshal(dAtA []byte) error
func (*QueryRemoveLiquiditySimulationResponse) XXX_DiscardUnknown ¶
func (m *QueryRemoveLiquiditySimulationResponse) XXX_DiscardUnknown()
func (*QueryRemoveLiquiditySimulationResponse) XXX_Marshal ¶
func (m *QueryRemoveLiquiditySimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRemoveLiquiditySimulationResponse) XXX_Merge ¶
func (m *QueryRemoveLiquiditySimulationResponse) XXX_Merge(src proto.Message)
func (*QueryRemoveLiquiditySimulationResponse) XXX_Size ¶
func (m *QueryRemoveLiquiditySimulationResponse) XXX_Size() int
func (*QueryRemoveLiquiditySimulationResponse) XXX_Unmarshal ¶
func (m *QueryRemoveLiquiditySimulationResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) AllPools(context.Context, *QueryAllPoolsRequest) (*QueryAllPoolsResponse, error) Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error) AllPositions(context.Context, *QueryAllPositionsRequest) (*QueryAllPositionsResponse, error) Position(context.Context, *QueryPositionRequest) (*QueryPositionResponse, error) PositionAssets(context.Context, *QueryPositionAssetsRequest) (*QueryPositionAssetsResponse, error) AddLiquiditySimulation(context.Context, *QueryAddLiquiditySimulationRequest) (*QueryAddLiquiditySimulationResponse, error) RemoveLiquiditySimulation(context.Context, *QueryRemoveLiquiditySimulationRequest) (*QueryRemoveLiquiditySimulationResponse, error) CollectibleCoins(context.Context, *QueryCollectibleCoinsRequest) (*QueryCollectibleCoinsResponse, error) AllTickInfos(context.Context, *QueryAllTickInfosRequest) (*QueryAllTickInfosResponse, error) TickInfo(context.Context, *QueryTickInfoRequest) (*QueryTickInfoResponse, error) AllFarmingPlans(context.Context, *QueryAllFarmingPlansRequest) (*QueryAllFarmingPlansResponse, error) FarmingPlan(context.Context, *QueryFarmingPlanRequest) (*QueryFarmingPlanResponse, error) }
QueryServer is the server API for Query service.
type QueryTickInfoRequest ¶
type QueryTickInfoRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Tick int32 `protobuf:"varint,2,opt,name=tick,proto3" json:"tick,omitempty"` }
func (*QueryTickInfoRequest) Descriptor ¶
func (*QueryTickInfoRequest) Descriptor() ([]byte, []int)
func (*QueryTickInfoRequest) Marshal ¶
func (m *QueryTickInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryTickInfoRequest) MarshalTo ¶
func (m *QueryTickInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTickInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryTickInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTickInfoRequest) ProtoMessage ¶
func (*QueryTickInfoRequest) ProtoMessage()
func (*QueryTickInfoRequest) Reset ¶
func (m *QueryTickInfoRequest) Reset()
func (*QueryTickInfoRequest) Size ¶
func (m *QueryTickInfoRequest) Size() (n int)
func (*QueryTickInfoRequest) String ¶
func (m *QueryTickInfoRequest) String() string
func (*QueryTickInfoRequest) Unmarshal ¶
func (m *QueryTickInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryTickInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryTickInfoRequest) XXX_DiscardUnknown()
func (*QueryTickInfoRequest) XXX_Marshal ¶
func (m *QueryTickInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTickInfoRequest) XXX_Merge ¶
func (m *QueryTickInfoRequest) XXX_Merge(src proto.Message)
func (*QueryTickInfoRequest) XXX_Size ¶
func (m *QueryTickInfoRequest) XXX_Size() int
func (*QueryTickInfoRequest) XXX_Unmarshal ¶
func (m *QueryTickInfoRequest) XXX_Unmarshal(b []byte) error
type QueryTickInfoResponse ¶
type QueryTickInfoResponse struct {
TickInfo TickInfoResponse `protobuf:"bytes,1,opt,name=tick_info,json=tickInfo,proto3" json:"tick_info"`
}
func (*QueryTickInfoResponse) Descriptor ¶
func (*QueryTickInfoResponse) Descriptor() ([]byte, []int)
func (*QueryTickInfoResponse) Marshal ¶
func (m *QueryTickInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryTickInfoResponse) MarshalTo ¶
func (m *QueryTickInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTickInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryTickInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTickInfoResponse) ProtoMessage ¶
func (*QueryTickInfoResponse) ProtoMessage()
func (*QueryTickInfoResponse) Reset ¶
func (m *QueryTickInfoResponse) Reset()
func (*QueryTickInfoResponse) Size ¶
func (m *QueryTickInfoResponse) Size() (n int)
func (*QueryTickInfoResponse) String ¶
func (m *QueryTickInfoResponse) String() string
func (*QueryTickInfoResponse) Unmarshal ¶
func (m *QueryTickInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryTickInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryTickInfoResponse) XXX_DiscardUnknown()
func (*QueryTickInfoResponse) XXX_Marshal ¶
func (m *QueryTickInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTickInfoResponse) XXX_Merge ¶
func (m *QueryTickInfoResponse) XXX_Merge(src proto.Message)
func (*QueryTickInfoResponse) XXX_Size ¶
func (m *QueryTickInfoResponse) XXX_Size() int
func (*QueryTickInfoResponse) XXX_Unmarshal ¶
func (m *QueryTickInfoResponse) XXX_Unmarshal(b []byte) error
type TerminateFarmingPlanRequest ¶
type TerminateFarmingPlanRequest struct {
FarmingPlanId uint64 `protobuf:"varint,1,opt,name=farming_plan_id,json=farmingPlanId,proto3" json:"farming_plan_id,omitempty"`
}
func NewTerminateFarmingPlanRequest ¶
func NewTerminateFarmingPlanRequest(planId uint64) TerminateFarmingPlanRequest
func (*TerminateFarmingPlanRequest) Descriptor ¶
func (*TerminateFarmingPlanRequest) Descriptor() ([]byte, []int)
func (*TerminateFarmingPlanRequest) Marshal ¶
func (m *TerminateFarmingPlanRequest) Marshal() (dAtA []byte, err error)
func (*TerminateFarmingPlanRequest) MarshalTo ¶
func (m *TerminateFarmingPlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*TerminateFarmingPlanRequest) MarshalToSizedBuffer ¶
func (m *TerminateFarmingPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TerminateFarmingPlanRequest) ProtoMessage ¶
func (*TerminateFarmingPlanRequest) ProtoMessage()
func (*TerminateFarmingPlanRequest) Reset ¶
func (m *TerminateFarmingPlanRequest) Reset()
func (*TerminateFarmingPlanRequest) Size ¶
func (m *TerminateFarmingPlanRequest) Size() (n int)
func (*TerminateFarmingPlanRequest) String ¶
func (m *TerminateFarmingPlanRequest) String() string
func (*TerminateFarmingPlanRequest) Unmarshal ¶
func (m *TerminateFarmingPlanRequest) Unmarshal(dAtA []byte) error
func (TerminateFarmingPlanRequest) Validate ¶
func (req TerminateFarmingPlanRequest) Validate() error
func (*TerminateFarmingPlanRequest) XXX_DiscardUnknown ¶
func (m *TerminateFarmingPlanRequest) XXX_DiscardUnknown()
func (*TerminateFarmingPlanRequest) XXX_Marshal ¶
func (m *TerminateFarmingPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TerminateFarmingPlanRequest) XXX_Merge ¶
func (m *TerminateFarmingPlanRequest) XXX_Merge(src proto.Message)
func (*TerminateFarmingPlanRequest) XXX_Size ¶
func (m *TerminateFarmingPlanRequest) XXX_Size() int
func (*TerminateFarmingPlanRequest) XXX_Unmarshal ¶
func (m *TerminateFarmingPlanRequest) XXX_Unmarshal(b []byte) error
type TickInfo ¶
type TickInfo struct { GrossLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ NetLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ FeeGrowthOutside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 158-byte string literal not displayed */ FarmingRewardsGrowthOutside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 193-byte string literal not displayed */ }
func NewTickInfo ¶
func (*TickInfo) Descriptor ¶
func (*TickInfo) MarshalToSizedBuffer ¶
func (*TickInfo) ProtoMessage ¶
func (*TickInfo) ProtoMessage()
func (*TickInfo) XXX_DiscardUnknown ¶
func (m *TickInfo) XXX_DiscardUnknown()
func (*TickInfo) XXX_Marshal ¶
func (*TickInfo) XXX_Unmarshal ¶
type TickInfoRecord ¶
type TickInfoRecord struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Tick int32 `protobuf:"varint,2,opt,name=tick,proto3" json:"tick,omitempty"` TickInfo TickInfo `protobuf:"bytes,3,opt,name=tick_info,json=tickInfo,proto3" json:"tick_info"` }
func (*TickInfoRecord) Descriptor ¶
func (*TickInfoRecord) Descriptor() ([]byte, []int)
func (*TickInfoRecord) Marshal ¶
func (m *TickInfoRecord) Marshal() (dAtA []byte, err error)
func (*TickInfoRecord) MarshalToSizedBuffer ¶
func (m *TickInfoRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TickInfoRecord) ProtoMessage ¶
func (*TickInfoRecord) ProtoMessage()
func (*TickInfoRecord) Reset ¶
func (m *TickInfoRecord) Reset()
func (*TickInfoRecord) Size ¶
func (m *TickInfoRecord) Size() (n int)
func (*TickInfoRecord) String ¶
func (m *TickInfoRecord) String() string
func (*TickInfoRecord) Unmarshal ¶
func (m *TickInfoRecord) Unmarshal(dAtA []byte) error
func (TickInfoRecord) Validate ¶
func (record TickInfoRecord) Validate() error
func (*TickInfoRecord) XXX_DiscardUnknown ¶
func (m *TickInfoRecord) XXX_DiscardUnknown()
func (*TickInfoRecord) XXX_Marshal ¶
func (m *TickInfoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickInfoRecord) XXX_Merge ¶
func (m *TickInfoRecord) XXX_Merge(src proto.Message)
func (*TickInfoRecord) XXX_Size ¶
func (m *TickInfoRecord) XXX_Size() int
func (*TickInfoRecord) XXX_Unmarshal ¶
func (m *TickInfoRecord) XXX_Unmarshal(b []byte) error
type TickInfoResponse ¶
type TickInfoResponse struct { Tick int32 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"` GrossLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ NetLiquidity github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ FeeGrowthOutside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 158-byte string literal not displayed */ FarmingRewardsGrowthOutside github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 193-byte string literal not displayed */ }
func NewTickInfoResponse ¶
func NewTickInfoResponse(tick int32, tickInfo TickInfo) TickInfoResponse
func (*TickInfoResponse) Descriptor ¶
func (*TickInfoResponse) Descriptor() ([]byte, []int)
func (*TickInfoResponse) Marshal ¶
func (m *TickInfoResponse) Marshal() (dAtA []byte, err error)
func (*TickInfoResponse) MarshalToSizedBuffer ¶
func (m *TickInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TickInfoResponse) ProtoMessage ¶
func (*TickInfoResponse) ProtoMessage()
func (*TickInfoResponse) Reset ¶
func (m *TickInfoResponse) Reset()
func (*TickInfoResponse) Size ¶
func (m *TickInfoResponse) Size() (n int)
func (*TickInfoResponse) String ¶
func (m *TickInfoResponse) String() string
func (*TickInfoResponse) Unmarshal ¶
func (m *TickInfoResponse) Unmarshal(dAtA []byte) error
func (*TickInfoResponse) XXX_DiscardUnknown ¶
func (m *TickInfoResponse) XXX_DiscardUnknown()
func (*TickInfoResponse) XXX_Marshal ¶
func (m *TickInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickInfoResponse) XXX_Merge ¶
func (m *TickInfoResponse) XXX_Merge(src proto.Message)
func (*TickInfoResponse) XXX_Size ¶
func (m *TickInfoResponse) XXX_Size() int
func (*TickInfoResponse) XXX_Unmarshal ¶
func (m *TickInfoResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddLiquidity ¶
func (*UnimplementedMsgServer) AddLiquidity(ctx context.Context, req *MsgAddLiquidity) (*MsgAddLiquidityResponse, error)
func (*UnimplementedMsgServer) Collect ¶
func (*UnimplementedMsgServer) Collect(ctx context.Context, req *MsgCollect) (*MsgCollectResponse, error)
func (*UnimplementedMsgServer) CreatePool ¶
func (*UnimplementedMsgServer) CreatePool(ctx context.Context, req *MsgCreatePool) (*MsgCreatePoolResponse, error)
func (*UnimplementedMsgServer) CreatePrivateFarmingPlan ¶
func (*UnimplementedMsgServer) CreatePrivateFarmingPlan(ctx context.Context, req *MsgCreatePrivateFarmingPlan) (*MsgCreatePrivateFarmingPlanResponse, error)
func (*UnimplementedMsgServer) RemoveLiquidity ¶
func (*UnimplementedMsgServer) RemoveLiquidity(ctx context.Context, req *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error)
func (*UnimplementedMsgServer) TerminatePrivateFarmingPlan ¶
func (*UnimplementedMsgServer) TerminatePrivateFarmingPlan(ctx context.Context, req *MsgTerminatePrivateFarmingPlan) (*MsgTerminatePrivateFarmingPlanResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AddLiquiditySimulation ¶
func (*UnimplementedQueryServer) AddLiquiditySimulation(ctx context.Context, req *QueryAddLiquiditySimulationRequest) (*QueryAddLiquiditySimulationResponse, error)
func (*UnimplementedQueryServer) AllFarmingPlans ¶
func (*UnimplementedQueryServer) AllFarmingPlans(ctx context.Context, req *QueryAllFarmingPlansRequest) (*QueryAllFarmingPlansResponse, error)
func (*UnimplementedQueryServer) AllPools ¶
func (*UnimplementedQueryServer) AllPools(ctx context.Context, req *QueryAllPoolsRequest) (*QueryAllPoolsResponse, error)
func (*UnimplementedQueryServer) AllPositions ¶
func (*UnimplementedQueryServer) AllPositions(ctx context.Context, req *QueryAllPositionsRequest) (*QueryAllPositionsResponse, error)
func (*UnimplementedQueryServer) AllTickInfos ¶
func (*UnimplementedQueryServer) AllTickInfos(ctx context.Context, req *QueryAllTickInfosRequest) (*QueryAllTickInfosResponse, error)
func (*UnimplementedQueryServer) CollectibleCoins ¶
func (*UnimplementedQueryServer) CollectibleCoins(ctx context.Context, req *QueryCollectibleCoinsRequest) (*QueryCollectibleCoinsResponse, error)
func (*UnimplementedQueryServer) FarmingPlan ¶
func (*UnimplementedQueryServer) FarmingPlan(ctx context.Context, req *QueryFarmingPlanRequest) (*QueryFarmingPlanResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Pool ¶
func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
func (*UnimplementedQueryServer) Position ¶
func (*UnimplementedQueryServer) Position(ctx context.Context, req *QueryPositionRequest) (*QueryPositionResponse, error)
func (*UnimplementedQueryServer) PositionAssets ¶
func (*UnimplementedQueryServer) PositionAssets(ctx context.Context, req *QueryPositionAssetsRequest) (*QueryPositionAssetsResponse, error)
func (*UnimplementedQueryServer) RemoveLiquiditySimulation ¶
func (*UnimplementedQueryServer) RemoveLiquiditySimulation(ctx context.Context, req *QueryRemoveLiquiditySimulationRequest) (*QueryRemoveLiquiditySimulationResponse, error)
func (*UnimplementedQueryServer) TickInfo ¶
func (*UnimplementedQueryServer) TickInfo(ctx context.Context, req *QueryTickInfoRequest) (*QueryTickInfoResponse, error)