Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + const ModuleName + var ErrIntOverflowCoinswap = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthCoinswap = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupCoinswap = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(amino) + func GetLiquidityDenomFrom(denom string) (string, error) + func GetTokenDenomFrom(liquidityDenom string) (string, error) + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AddLiquidityRequest struct + BaseAmt sdk.Int + Deadline int64 + MaxToken sdk.Coin + MinLiquidity sdk.Int + type AddLiquidityResponse struct + BaseAmt sdk.Int + Liquidity sdk.Int + TokenAmt sdk.Int + TxHash string + type Client interface + AddLiquidity func(request AddLiquidityRequest, baseTx sdk.BaseTx) (*AddLiquidityResponse, error) + BuyTokenWithAutoEstimate func(paidTokenDenom string, boughtCoin sdk.Coin, deadline int64, baseTx sdk.BaseTx) (res *SwapCoinResponse, err error) + EstimateBaseForBoughtToken func(boughtToken sdk.Coin) (sdk.Int, error) + EstimateBaseForSoldToken func(soldToken sdk.Coin) (sdk.Int, error) + EstimateTokenForBoughtBase func(soldTokenDenom string, boughtBase sdk.Int) (sdk.Int, error) + EstimateTokenForBoughtToken func(soldTokenDenom string, boughtToken sdk.Coin) (sdk.Int, error) + EstimateTokenForSoldBase func(tokenDenom string, soldBase sdk.Int) (sdk.Int, error) + EstimateTokenForSoldToken func(boughtTokenDenom string, soldToken sdk.Coin) (sdk.Int, error) + QueryAllPools func(pageReq sdk.PageRequest) (*QueryAllPoolsResponse, error) + QueryPool func(lptDenom string) (*QueryPoolResponse, error) + RemoveLiquidity func(request RemoveLiquidityRequest, baseTx sdk.BaseTx) (*RemoveLiquidityResponse, error) + SellTokenWithAutoEstimate func(gotTokenDenom string, soldCoin sdk.Coin, deadline int64, baseTx sdk.BaseTx) (res *SwapCoinResponse, err error) + SwapCoin func(request SwapCoinRequest, baseTx sdk.BaseTx) (*SwapCoinResponse, error) + func NewClient(bc sdk.BaseClient, cdc codec.Marshaler, queryTotalSupply totalSupply) Client + type GenesisState struct + Params Params + Pool []Pool + Sequence uint64 + StandardDenom string + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetPool() []Pool + func (m *GenesisState) GetSequence() uint64 + func (m *GenesisState) GetStandardDenom() string + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 Input struct + Address string + Coin types.Coin + func (*Input) Descriptor() ([]byte, []int) + func (*Input) ProtoMessage() + func (m *Input) Marshal() (dAtA []byte, err error) + func (m *Input) MarshalTo(dAtA []byte) (int, error) + func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Input) Reset() + func (m *Input) Size() (n int) + func (m *Input) String() string + func (m *Input) Unmarshal(dAtA []byte) error + func (m *Input) XXX_DiscardUnknown() + func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Input) XXX_Merge(src proto.Message) + func (m *Input) XXX_Size() int + func (m *Input) XXX_Unmarshal(b []byte) error + type MsgAddLiquidity struct + Deadline int64 + ExactStandardAmt github_com_cosmos_cosmos_sdk_types.Int + MaxToken types.Coin + MinLiquidity github_com_cosmos_cosmos_sdk_types.Int + Sender string + func (*MsgAddLiquidity) Descriptor() ([]byte, []int) + func (*MsgAddLiquidity) ProtoMessage() + 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 (m *MsgAddLiquidity) Reset() + func (m *MsgAddLiquidity) Size() (n int) + func (m *MsgAddLiquidity) String() string + func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) 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 + func (msg MsgAddLiquidity) GetSignBytes() []byte + func (msg MsgAddLiquidity) GetSigners() []sdk.AccAddress + func (msg MsgAddLiquidity) Route() string + func (msg MsgAddLiquidity) Type() string + func (msg MsgAddLiquidity) ValidateBasic() error + type MsgAddLiquidityResponse struct + MintToken *types.Coin + func (*MsgAddLiquidityResponse) Descriptor() ([]byte, []int) + func (*MsgAddLiquidityResponse) ProtoMessage() + 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 (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 interface + AddLiquidity func(ctx context.Context, in *MsgAddLiquidity, opts ...grpc.CallOption) (*MsgAddLiquidityResponse, error) + RemoveLiquidity func(ctx context.Context, in *MsgRemoveLiquidity, opts ...grpc.CallOption) (*MsgRemoveLiquidityResponse, error) + SwapCoin func(ctx context.Context, in *MsgSwapOrder, opts ...grpc.CallOption) (*MsgSwapCoinResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgRemoveLiquidity struct + Deadline int64 + MinStandardAmt github_com_cosmos_cosmos_sdk_types.Int + MinToken github_com_cosmos_cosmos_sdk_types.Int + Sender string + WithdrawLiquidity types.Coin + func (*MsgRemoveLiquidity) Descriptor() ([]byte, []int) + func (*MsgRemoveLiquidity) ProtoMessage() + 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 (m *MsgRemoveLiquidity) Reset() + func (m *MsgRemoveLiquidity) Size() (n int) + func (m *MsgRemoveLiquidity) String() string + func (m *MsgRemoveLiquidity) Unmarshal(dAtA []byte) 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 + func (msg MsgRemoveLiquidity) GetSignBytes() []byte + func (msg MsgRemoveLiquidity) GetSigners() []sdk.AccAddress + func (msg MsgRemoveLiquidity) Route() string + func (msg MsgRemoveLiquidity) Type() string + func (msg MsgRemoveLiquidity) ValidateBasic() error + type MsgRemoveLiquidityResponse struct + WithdrawCoins []*types.Coin + func (*MsgRemoveLiquidityResponse) Descriptor() ([]byte, []int) + func (*MsgRemoveLiquidityResponse) ProtoMessage() + 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 (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 interface + AddLiquidity func(context.Context, *MsgAddLiquidity) (*MsgAddLiquidityResponse, error) + RemoveLiquidity func(context.Context, *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error) + SwapCoin func(context.Context, *MsgSwapOrder) (*MsgSwapCoinResponse, error) + type MsgSwapCoinResponse struct + func (*MsgSwapCoinResponse) Descriptor() ([]byte, []int) + func (*MsgSwapCoinResponse) ProtoMessage() + func (m *MsgSwapCoinResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSwapCoinResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSwapCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSwapCoinResponse) Reset() + func (m *MsgSwapCoinResponse) Size() (n int) + func (m *MsgSwapCoinResponse) String() string + func (m *MsgSwapCoinResponse) Unmarshal(dAtA []byte) error + func (m *MsgSwapCoinResponse) XXX_DiscardUnknown() + func (m *MsgSwapCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSwapCoinResponse) XXX_Merge(src proto.Message) + func (m *MsgSwapCoinResponse) XXX_Size() int + func (m *MsgSwapCoinResponse) XXX_Unmarshal(b []byte) error + type MsgSwapOrder struct + Deadline int64 + Input Input + IsBuyOrder bool + Output Output + func (*MsgSwapOrder) Descriptor() ([]byte, []int) + func (*MsgSwapOrder) ProtoMessage() + func (m *MsgSwapOrder) Marshal() (dAtA []byte, err error) + func (m *MsgSwapOrder) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSwapOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSwapOrder) Reset() + func (m *MsgSwapOrder) Size() (n int) + func (m *MsgSwapOrder) String() string + func (m *MsgSwapOrder) Unmarshal(dAtA []byte) error + func (m *MsgSwapOrder) XXX_DiscardUnknown() + func (m *MsgSwapOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSwapOrder) XXX_Merge(src proto.Message) + func (m *MsgSwapOrder) XXX_Size() int + func (m *MsgSwapOrder) XXX_Unmarshal(b []byte) error + func (msg MsgSwapOrder) GetSignBytes() []byte + func (msg MsgSwapOrder) GetSigners() []sdk.AccAddress + func (msg MsgSwapOrder) Route() string + func (msg MsgSwapOrder) Type() string + func (msg MsgSwapOrder) ValidateBasic() error + type Output struct + Address string + Coin types.Coin + func (*Output) Descriptor() ([]byte, []int) + func (*Output) ProtoMessage() + func (m *Output) Marshal() (dAtA []byte, err error) + func (m *Output) MarshalTo(dAtA []byte) (int, error) + func (m *Output) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Output) Reset() + func (m *Output) Size() (n int) + func (m *Output) String() string + func (m *Output) Unmarshal(dAtA []byte) error + func (m *Output) XXX_DiscardUnknown() + func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Output) XXX_Merge(src proto.Message) + func (m *Output) XXX_Size() int + func (m *Output) XXX_Unmarshal(b []byte) error + type Params struct + Fee github_com_cosmos_cosmos_sdk_types.Dec + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + 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 (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) 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 + func (this *Params) Equal(that interface{}) bool + type Pool struct + CounterpartyDenom string + EscrowAddress string + Id string + LptDenom string + StandardDenom string + func (*Pool) Descriptor() ([]byte, []int) + func (*Pool) ProtoMessage() + 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 (m *Pool) Reset() + func (m *Pool) Size() (n int) + func (m *Pool) String() string + func (m *Pool) Unmarshal(dAtA []byte) 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 PoolInfo struct + EscrowAddress string + Fee string + Id string + Lpt types.Coin + Standard types.Coin + Token types.Coin + func (*PoolInfo) Descriptor() ([]byte, []int) + func (*PoolInfo) ProtoMessage() + func (m *PoolInfo) GetEscrowAddress() string + func (m *PoolInfo) GetFee() string + func (m *PoolInfo) GetId() string + func (m *PoolInfo) GetLpt() types.Coin + func (m *PoolInfo) GetStandard() types.Coin + func (m *PoolInfo) GetToken() types.Coin + func (m *PoolInfo) Marshal() (dAtA []byte, err error) + func (m *PoolInfo) MarshalTo(dAtA []byte) (int, error) + func (m *PoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PoolInfo) Reset() + func (m *PoolInfo) Size() (n int) + func (m *PoolInfo) String() string + func (m *PoolInfo) Unmarshal(dAtA []byte) error + func (m *PoolInfo) XXX_DiscardUnknown() + func (m *PoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PoolInfo) XXX_Merge(src proto.Message) + func (m *PoolInfo) XXX_Size() int + func (m *PoolInfo) XXX_Unmarshal(b []byte) error + type QueryAllPoolsResponse struct + Pagination *query.PageResponse + Pools []sdk.PoolInfo + type QueryClient interface + LiquidityPool func(ctx context.Context, in *QueryLiquidityPoolRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error) + LiquidityPools func(ctx context.Context, in *QueryLiquidityPoolsRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryLiquidityPoolRequest struct + LptDenom string + func (*QueryLiquidityPoolRequest) Descriptor() ([]byte, []int) + func (*QueryLiquidityPoolRequest) ProtoMessage() + func (m *QueryLiquidityPoolRequest) GetLptDenom() string + func (m *QueryLiquidityPoolRequest) Marshal() (dAtA []byte, err error) + func (m *QueryLiquidityPoolRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolRequest) Reset() + func (m *QueryLiquidityPoolRequest) Size() (n int) + func (m *QueryLiquidityPoolRequest) String() string + func (m *QueryLiquidityPoolRequest) Unmarshal(dAtA []byte) error + func (m *QueryLiquidityPoolRequest) XXX_DiscardUnknown() + func (m *QueryLiquidityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLiquidityPoolRequest) XXX_Merge(src proto.Message) + func (m *QueryLiquidityPoolRequest) XXX_Size() int + func (m *QueryLiquidityPoolRequest) XXX_Unmarshal(b []byte) error + type QueryLiquidityPoolResponse struct + Pool PoolInfo + func (*QueryLiquidityPoolResponse) Descriptor() ([]byte, []int) + func (*QueryLiquidityPoolResponse) ProtoMessage() + func (m *QueryLiquidityPoolResponse) GetPool() PoolInfo + func (m *QueryLiquidityPoolResponse) Marshal() (dAtA []byte, err error) + func (m *QueryLiquidityPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolResponse) Reset() + func (m *QueryLiquidityPoolResponse) Size() (n int) + func (m *QueryLiquidityPoolResponse) String() string + func (m *QueryLiquidityPoolResponse) Unmarshal(dAtA []byte) error + func (m *QueryLiquidityPoolResponse) XXX_DiscardUnknown() + func (m *QueryLiquidityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLiquidityPoolResponse) XXX_Merge(src proto.Message) + func (m *QueryLiquidityPoolResponse) XXX_Size() int + func (m *QueryLiquidityPoolResponse) XXX_Unmarshal(b []byte) error + func (m QueryLiquidityPoolResponse) Convert() interface{} + type QueryLiquidityPoolsRequest struct + Pagination *query.PageRequest + func (*QueryLiquidityPoolsRequest) Descriptor() ([]byte, []int) + func (*QueryLiquidityPoolsRequest) ProtoMessage() + func (m *QueryLiquidityPoolsRequest) GetPagination() *query.PageRequest + func (m *QueryLiquidityPoolsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryLiquidityPoolsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolsRequest) Reset() + func (m *QueryLiquidityPoolsRequest) Size() (n int) + func (m *QueryLiquidityPoolsRequest) String() string + func (m *QueryLiquidityPoolsRequest) Unmarshal(dAtA []byte) error + func (m *QueryLiquidityPoolsRequest) XXX_DiscardUnknown() + func (m *QueryLiquidityPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLiquidityPoolsRequest) XXX_Merge(src proto.Message) + func (m *QueryLiquidityPoolsRequest) XXX_Size() int + func (m *QueryLiquidityPoolsRequest) XXX_Unmarshal(b []byte) error + type QueryLiquidityPoolsResponse struct + Pagination *query.PageResponse + Pools []PoolInfo + func (*QueryLiquidityPoolsResponse) Descriptor() ([]byte, []int) + func (*QueryLiquidityPoolsResponse) ProtoMessage() + func (m *QueryLiquidityPoolsResponse) GetPagination() *query.PageResponse + func (m *QueryLiquidityPoolsResponse) GetPools() []PoolInfo + func (m *QueryLiquidityPoolsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryLiquidityPoolsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryLiquidityPoolsResponse) Reset() + func (m *QueryLiquidityPoolsResponse) Size() (n int) + func (m *QueryLiquidityPoolsResponse) String() string + func (m *QueryLiquidityPoolsResponse) Unmarshal(dAtA []byte) error + func (m *QueryLiquidityPoolsResponse) XXX_DiscardUnknown() + func (m *QueryLiquidityPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryLiquidityPoolsResponse) XXX_Merge(src proto.Message) + func (m *QueryLiquidityPoolsResponse) XXX_Size() int + func (m *QueryLiquidityPoolsResponse) XXX_Unmarshal(b []byte) error + func (m QueryLiquidityPoolsResponse) Convert() interface{} + type QueryPoolResponse struct + Pool sdk.PoolInfo + type QueryServer interface + LiquidityPool func(context.Context, *QueryLiquidityPoolRequest) (*QueryLiquidityPoolResponse, error) + LiquidityPools func(context.Context, *QueryLiquidityPoolsRequest) (*QueryLiquidityPoolsResponse, error) + type RemoveLiquidityRequest struct + Deadline int64 + Liquidity sdk.Coin + MinBaseAmt sdk.Int + MinTokenAmt sdk.Int + type RemoveLiquidityResponse struct + BaseAmt sdk.Int + Liquidity sdk.Coin + TokenAmt sdk.Int + TxHash string + type SwapCoinRequest struct + Deadline int64 + Input sdk.Coin + IsBuyOrder bool + Output sdk.Coin + Receiver string + type SwapCoinResponse struct + InputAmt sdk.Int + OutputAmt sdk.Int + TxHash string + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AddLiquidity(ctx context.Context, req *MsgAddLiquidity) (*MsgAddLiquidityResponse, error) + func (*UnimplementedMsgServer) RemoveLiquidity(ctx context.Context, req *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error) + func (*UnimplementedMsgServer) SwapCoin(ctx context.Context, req *MsgSwapOrder) (*MsgSwapCoinResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) LiquidityPool(ctx context.Context, req *QueryLiquidityPoolRequest) (*QueryLiquidityPoolResponse, error) + func (*UnimplementedQueryServer) LiquidityPools(ctx context.Context, req *QueryLiquidityPoolsRequest) (*QueryLiquidityPoolsResponse, error)