types

package
v0.0.0-...-8df4799 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (

	// ModuleCdc references the global x/liquidity module codec. Note, the
	// codec should ONLY be used in certain instances of tests and for JSON
	// encoding as Amino is still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/liquidity
	// and defined at the application level.
	ModuleCdc = codec.NewAminoCodec(amino)
)

legacy amino codecs

Functions

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the codec.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

Types

type MsgClient

type MsgClient interface {
	JoinPool(ctx context.Context, in *MsgJoinPool, opts ...grpc.CallOption) (*MsgJoinPoolResponse, error)
	ExitPool(ctx context.Context, in *MsgExitPool, opts ...grpc.CallOption) (*MsgExitPoolResponse, error)
	SwapExactAmountIn(ctx context.Context, in *MsgSwapExactAmountIn, opts ...grpc.CallOption) (*MsgSwapExactAmountInResponse, error)
	SwapExactAmountOut(ctx context.Context, in *MsgSwapExactAmountOut, opts ...grpc.CallOption) (*MsgSwapExactAmountOutResponse, error)
	JoinSwapExternAmountIn(ctx context.Context, in *MsgJoinSwapExternAmountIn, opts ...grpc.CallOption) (*MsgJoinSwapExternAmountInResponse, error)
	JoinSwapShareAmountOut(ctx context.Context, in *MsgJoinSwapShareAmountOut, opts ...grpc.CallOption) (*MsgJoinSwapShareAmountOutResponse, error)
	ExitSwapExternAmountOut(ctx context.Context, in *MsgExitSwapExternAmountOut, opts ...grpc.CallOption) (*MsgExitSwapExternAmountOutResponse, error)
	ExitSwapShareAmountIn(ctx context.Context, in *MsgExitSwapShareAmountIn, opts ...grpc.CallOption) (*MsgExitSwapShareAmountInResponse, error)
	// These are old Osmosis message types they deprecated and removed a long time ago, needed for backwards compatibility
	CreatePool(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error)
	CreateBalancerPool(ctx context.Context, in *MsgCreateBalancerPool, opts ...grpc.CallOption) (*MsgCreateBalancerPoolResponse, 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 MsgCreateBalancerPool

type MsgCreateBalancerPool struct {
	Sender             string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolParams         *PoolParams `protobuf:"bytes,2,opt,name=poolParams,proto3" json:"poolParams,omitempty" yaml:"pool_params"`
	PoolAssets         []PoolAsset `protobuf:"bytes,3,rep,name=poolAssets,proto3" json:"poolAssets"`
	FuturePoolGovernor string      `` /* 145-byte string literal not displayed */
}

func (*MsgCreateBalancerPool) Descriptor

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

func (*MsgCreateBalancerPool) GetFuturePoolGovernor

func (m *MsgCreateBalancerPool) GetFuturePoolGovernor() string

func (*MsgCreateBalancerPool) GetPoolAssets

func (m *MsgCreateBalancerPool) GetPoolAssets() []PoolAsset

func (*MsgCreateBalancerPool) GetPoolParams

func (m *MsgCreateBalancerPool) GetPoolParams() *PoolParams

func (*MsgCreateBalancerPool) GetSender

func (m *MsgCreateBalancerPool) GetSender() string

func (MsgCreateBalancerPool) GetSignBytes

func (msg MsgCreateBalancerPool) GetSignBytes() []byte

func (MsgCreateBalancerPool) GetSigners

func (msg MsgCreateBalancerPool) GetSigners() []sdk.AccAddress

func (*MsgCreateBalancerPool) Marshal

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

func (*MsgCreateBalancerPool) MarshalTo

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

func (*MsgCreateBalancerPool) MarshalToSizedBuffer

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

func (*MsgCreateBalancerPool) ProtoMessage

func (*MsgCreateBalancerPool) ProtoMessage()

func (*MsgCreateBalancerPool) Reset

func (m *MsgCreateBalancerPool) Reset()

func (MsgCreateBalancerPool) Route

func (msg MsgCreateBalancerPool) Route() string

CreatePool

func (*MsgCreateBalancerPool) Size

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

func (*MsgCreateBalancerPool) String

func (m *MsgCreateBalancerPool) String() string

func (MsgCreateBalancerPool) Type

func (msg MsgCreateBalancerPool) Type() string

func (*MsgCreateBalancerPool) Unmarshal

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

func (MsgCreateBalancerPool) ValidateBasic

func (msg MsgCreateBalancerPool) ValidateBasic() error

func (*MsgCreateBalancerPool) XXX_DiscardUnknown

func (m *MsgCreateBalancerPool) XXX_DiscardUnknown()

func (*MsgCreateBalancerPool) XXX_Marshal

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

func (*MsgCreateBalancerPool) XXX_Merge

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

func (*MsgCreateBalancerPool) XXX_Size

func (m *MsgCreateBalancerPool) XXX_Size() int

func (*MsgCreateBalancerPool) XXX_Unmarshal

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

type MsgCreateBalancerPoolResponse

type MsgCreateBalancerPoolResponse struct {
}

func (*MsgCreateBalancerPoolResponse) Descriptor

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

func (*MsgCreateBalancerPoolResponse) Marshal

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

func (*MsgCreateBalancerPoolResponse) MarshalTo

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

func (*MsgCreateBalancerPoolResponse) MarshalToSizedBuffer

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

func (*MsgCreateBalancerPoolResponse) ProtoMessage

func (*MsgCreateBalancerPoolResponse) ProtoMessage()

func (*MsgCreateBalancerPoolResponse) Reset

func (m *MsgCreateBalancerPoolResponse) Reset()

func (*MsgCreateBalancerPoolResponse) Size

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

func (*MsgCreateBalancerPoolResponse) String

func (*MsgCreateBalancerPoolResponse) Unmarshal

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

func (*MsgCreateBalancerPoolResponse) XXX_DiscardUnknown

func (m *MsgCreateBalancerPoolResponse) XXX_DiscardUnknown()

func (*MsgCreateBalancerPoolResponse) XXX_Marshal

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

func (*MsgCreateBalancerPoolResponse) XXX_Merge

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

func (*MsgCreateBalancerPoolResponse) XXX_Size

func (m *MsgCreateBalancerPoolResponse) XXX_Size() int

func (*MsgCreateBalancerPoolResponse) XXX_Unmarshal

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

type MsgCreatePool

type MsgCreatePool struct {
	Sender             string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolParams         PoolParams  `protobuf:"bytes,2,opt,name=poolParams,proto3" json:"poolParams" yaml:"pool_params"`
	PoolAssets         []PoolAsset `protobuf:"bytes,3,rep,name=poolAssets,proto3" json:"poolAssets"`
	FuturePoolGovernor string      `` /* 145-byte string literal not displayed */
}

Old Osmosis message types needed for backwards compatibility reasons

func (*MsgCreatePool) Descriptor

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

func (*MsgCreatePool) GetFuturePoolGovernor

func (m *MsgCreatePool) GetFuturePoolGovernor() string

func (*MsgCreatePool) GetPoolAssets

func (m *MsgCreatePool) GetPoolAssets() []PoolAsset

func (*MsgCreatePool) GetPoolParams

func (m *MsgCreatePool) GetPoolParams() PoolParams

func (*MsgCreatePool) GetSender

func (m *MsgCreatePool) GetSender() string

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) MarshalTo

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

CreatePool

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 {
}

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 MsgExitPool

type MsgExitPool struct {
	Sender        string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId        uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	ShareInAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	TokenOutMins  []types.Coin                           `protobuf:"bytes,4,rep,name=token_out_mins,json=tokenOutMins,proto3" json:"token_out_mins" yaml:"token_out_min_amounts"`
}

===================== MsgExitPool

func (*MsgExitPool) Descriptor

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

func (*MsgExitPool) GetPoolId

func (m *MsgExitPool) GetPoolId() uint64

func (*MsgExitPool) GetSender

func (m *MsgExitPool) GetSender() string

func (MsgExitPool) GetSignBytes

func (msg MsgExitPool) GetSignBytes() []byte

func (MsgExitPool) GetSigners

func (msg MsgExitPool) GetSigners() []sdk.AccAddress

func (*MsgExitPool) GetTokenOutMins

func (m *MsgExitPool) GetTokenOutMins() []types.Coin

func (*MsgExitPool) Marshal

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

func (*MsgExitPool) MarshalTo

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

func (*MsgExitPool) MarshalToSizedBuffer

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

func (*MsgExitPool) ProtoMessage

func (*MsgExitPool) ProtoMessage()

func (*MsgExitPool) Reset

func (m *MsgExitPool) Reset()

func (MsgExitPool) Route

func (msg MsgExitPool) Route() string

Exit

func (*MsgExitPool) Size

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

func (*MsgExitPool) String

func (m *MsgExitPool) String() string

func (MsgExitPool) Type

func (msg MsgExitPool) Type() string

func (*MsgExitPool) Unmarshal

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

func (MsgExitPool) ValidateBasic

func (msg MsgExitPool) ValidateBasic() error

func (*MsgExitPool) XXX_DiscardUnknown

func (m *MsgExitPool) XXX_DiscardUnknown()

func (*MsgExitPool) XXX_Marshal

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

func (*MsgExitPool) XXX_Merge

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

func (*MsgExitPool) XXX_Size

func (m *MsgExitPool) XXX_Size() int

func (*MsgExitPool) XXX_Unmarshal

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

type MsgExitPoolResponse

type MsgExitPoolResponse struct {
	TokenOut []types.Coin `protobuf:"bytes,1,rep,name=token_out,json=tokenOut,proto3" json:"token_out" yaml:"token_out"`
}

func (*MsgExitPoolResponse) Descriptor

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

func (*MsgExitPoolResponse) GetTokenOut

func (m *MsgExitPoolResponse) GetTokenOut() []types.Coin

func (*MsgExitPoolResponse) Marshal

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

func (*MsgExitPoolResponse) MarshalTo

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

func (*MsgExitPoolResponse) MarshalToSizedBuffer

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

func (*MsgExitPoolResponse) ProtoMessage

func (*MsgExitPoolResponse) ProtoMessage()

func (*MsgExitPoolResponse) Reset

func (m *MsgExitPoolResponse) Reset()

func (*MsgExitPoolResponse) Size

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

func (*MsgExitPoolResponse) String

func (m *MsgExitPoolResponse) String() string

func (*MsgExitPoolResponse) Unmarshal

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

func (*MsgExitPoolResponse) XXX_DiscardUnknown

func (m *MsgExitPoolResponse) XXX_DiscardUnknown()

func (*MsgExitPoolResponse) XXX_Marshal

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

func (*MsgExitPoolResponse) XXX_Merge

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

func (*MsgExitPoolResponse) XXX_Size

func (m *MsgExitPoolResponse) XXX_Size() int

func (*MsgExitPoolResponse) XXX_Unmarshal

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

type MsgExitSwapExternAmountOut

type MsgExitSwapExternAmountOut struct {
	Sender           string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId           uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TokenOut         types.Coin                             `protobuf:"bytes,3,opt,name=token_out,json=tokenOut,proto3" json:"token_out" yaml:"token_out"`
	ShareInMaxAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 180-byte string literal not displayed */
}

===================== MsgExitSwapExternAmountOut

func (*MsgExitSwapExternAmountOut) Descriptor

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

func (*MsgExitSwapExternAmountOut) GetPoolId

func (m *MsgExitSwapExternAmountOut) GetPoolId() uint64

func (*MsgExitSwapExternAmountOut) GetSender

func (m *MsgExitSwapExternAmountOut) GetSender() string

func (MsgExitSwapExternAmountOut) GetSignBytes

func (msg MsgExitSwapExternAmountOut) GetSignBytes() []byte

func (MsgExitSwapExternAmountOut) GetSigners

func (msg MsgExitSwapExternAmountOut) GetSigners() []sdk.AccAddress

func (*MsgExitSwapExternAmountOut) GetTokenOut

func (m *MsgExitSwapExternAmountOut) GetTokenOut() types.Coin

func (*MsgExitSwapExternAmountOut) Marshal

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

func (*MsgExitSwapExternAmountOut) MarshalTo

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

func (*MsgExitSwapExternAmountOut) MarshalToSizedBuffer

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

func (*MsgExitSwapExternAmountOut) ProtoMessage

func (*MsgExitSwapExternAmountOut) ProtoMessage()

func (*MsgExitSwapExternAmountOut) Reset

func (m *MsgExitSwapExternAmountOut) Reset()

func (MsgExitSwapExternAmountOut) Route

func (msg MsgExitSwapExternAmountOut) Route() string

ExitSwapExternOut

func (*MsgExitSwapExternAmountOut) Size

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

func (*MsgExitSwapExternAmountOut) String

func (m *MsgExitSwapExternAmountOut) String() string

func (MsgExitSwapExternAmountOut) Type

func (*MsgExitSwapExternAmountOut) Unmarshal

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

func (MsgExitSwapExternAmountOut) ValidateBasic

func (msg MsgExitSwapExternAmountOut) ValidateBasic() error

func (*MsgExitSwapExternAmountOut) XXX_DiscardUnknown

func (m *MsgExitSwapExternAmountOut) XXX_DiscardUnknown()

func (*MsgExitSwapExternAmountOut) XXX_Marshal

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

func (*MsgExitSwapExternAmountOut) XXX_Merge

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

func (*MsgExitSwapExternAmountOut) XXX_Size

func (m *MsgExitSwapExternAmountOut) XXX_Size() int

func (*MsgExitSwapExternAmountOut) XXX_Unmarshal

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

type MsgExitSwapExternAmountOutResponse

type MsgExitSwapExternAmountOutResponse struct {
	ShareInAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

func (*MsgExitSwapExternAmountOutResponse) Descriptor

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

func (*MsgExitSwapExternAmountOutResponse) Marshal

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

func (*MsgExitSwapExternAmountOutResponse) MarshalTo

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

func (*MsgExitSwapExternAmountOutResponse) MarshalToSizedBuffer

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

func (*MsgExitSwapExternAmountOutResponse) ProtoMessage

func (*MsgExitSwapExternAmountOutResponse) ProtoMessage()

func (*MsgExitSwapExternAmountOutResponse) Reset

func (*MsgExitSwapExternAmountOutResponse) Size

func (*MsgExitSwapExternAmountOutResponse) String

func (*MsgExitSwapExternAmountOutResponse) Unmarshal

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

func (*MsgExitSwapExternAmountOutResponse) XXX_DiscardUnknown

func (m *MsgExitSwapExternAmountOutResponse) XXX_DiscardUnknown()

func (*MsgExitSwapExternAmountOutResponse) XXX_Marshal

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

func (*MsgExitSwapExternAmountOutResponse) XXX_Merge

func (*MsgExitSwapExternAmountOutResponse) XXX_Size

func (*MsgExitSwapExternAmountOutResponse) XXX_Unmarshal

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

type MsgExitSwapShareAmountIn

type MsgExitSwapShareAmountIn struct {
	Sender            string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId            uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TokenOutDenom     string                                 `protobuf:"bytes,3,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty" yaml:"token_out_denom"`
	ShareInAmount     github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
	TokenOutMinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */
}

===================== MsgExitSwapShareAmountIn

func (*MsgExitSwapShareAmountIn) Descriptor

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

func (*MsgExitSwapShareAmountIn) GetPoolId

func (m *MsgExitSwapShareAmountIn) GetPoolId() uint64

func (*MsgExitSwapShareAmountIn) GetSender

func (m *MsgExitSwapShareAmountIn) GetSender() string

func (MsgExitSwapShareAmountIn) GetSignBytes

func (msg MsgExitSwapShareAmountIn) GetSignBytes() []byte

func (MsgExitSwapShareAmountIn) GetSigners

func (msg MsgExitSwapShareAmountIn) GetSigners() []sdk.AccAddress

func (*MsgExitSwapShareAmountIn) GetTokenOutDenom

func (m *MsgExitSwapShareAmountIn) GetTokenOutDenom() string

func (*MsgExitSwapShareAmountIn) Marshal

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

func (*MsgExitSwapShareAmountIn) MarshalTo

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

func (*MsgExitSwapShareAmountIn) MarshalToSizedBuffer

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

func (*MsgExitSwapShareAmountIn) ProtoMessage

func (*MsgExitSwapShareAmountIn) ProtoMessage()

func (*MsgExitSwapShareAmountIn) Reset

func (m *MsgExitSwapShareAmountIn) Reset()

func (MsgExitSwapShareAmountIn) Route

func (msg MsgExitSwapShareAmountIn) Route() string

ExitSwapShareIn

func (*MsgExitSwapShareAmountIn) Size

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

func (*MsgExitSwapShareAmountIn) String

func (m *MsgExitSwapShareAmountIn) String() string

func (MsgExitSwapShareAmountIn) Type

func (msg MsgExitSwapShareAmountIn) Type() string

func (*MsgExitSwapShareAmountIn) Unmarshal

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

func (MsgExitSwapShareAmountIn) ValidateBasic

func (msg MsgExitSwapShareAmountIn) ValidateBasic() error

func (*MsgExitSwapShareAmountIn) XXX_DiscardUnknown

func (m *MsgExitSwapShareAmountIn) XXX_DiscardUnknown()

func (*MsgExitSwapShareAmountIn) XXX_Marshal

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

func (*MsgExitSwapShareAmountIn) XXX_Merge

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

func (*MsgExitSwapShareAmountIn) XXX_Size

func (m *MsgExitSwapShareAmountIn) XXX_Size() int

func (*MsgExitSwapShareAmountIn) XXX_Unmarshal

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

type MsgExitSwapShareAmountInResponse

type MsgExitSwapShareAmountInResponse struct {
	TokenOutAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*MsgExitSwapShareAmountInResponse) Descriptor

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

func (*MsgExitSwapShareAmountInResponse) Marshal

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

func (*MsgExitSwapShareAmountInResponse) MarshalTo

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

func (*MsgExitSwapShareAmountInResponse) MarshalToSizedBuffer

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

func (*MsgExitSwapShareAmountInResponse) ProtoMessage

func (*MsgExitSwapShareAmountInResponse) ProtoMessage()

func (*MsgExitSwapShareAmountInResponse) Reset

func (*MsgExitSwapShareAmountInResponse) Size

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

func (*MsgExitSwapShareAmountInResponse) String

func (*MsgExitSwapShareAmountInResponse) Unmarshal

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

func (*MsgExitSwapShareAmountInResponse) XXX_DiscardUnknown

func (m *MsgExitSwapShareAmountInResponse) XXX_DiscardUnknown()

func (*MsgExitSwapShareAmountInResponse) XXX_Marshal

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

func (*MsgExitSwapShareAmountInResponse) XXX_Merge

func (*MsgExitSwapShareAmountInResponse) XXX_Size

func (m *MsgExitSwapShareAmountInResponse) XXX_Size() int

func (*MsgExitSwapShareAmountInResponse) XXX_Unmarshal

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

type MsgJoinPool

type MsgJoinPool struct {
	Sender         string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId         uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	ShareOutAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 168-byte string literal not displayed */
	TokenInMaxs    []types.Coin                           `protobuf:"bytes,4,rep,name=token_in_maxs,json=tokenInMaxs,proto3" json:"token_in_maxs" yaml:"token_in_max_amounts"`
}

===================== MsgJoinPool This is really MsgJoinPoolNoSwap

func (*MsgJoinPool) Descriptor

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

func (*MsgJoinPool) GetPoolId

func (m *MsgJoinPool) GetPoolId() uint64

func (*MsgJoinPool) GetSender

func (m *MsgJoinPool) GetSender() string

func (MsgJoinPool) GetSignBytes

func (msg MsgJoinPool) GetSignBytes() []byte

func (MsgJoinPool) GetSigners

func (msg MsgJoinPool) GetSigners() []sdk.AccAddress

func (*MsgJoinPool) GetTokenInMaxs

func (m *MsgJoinPool) GetTokenInMaxs() []types.Coin

func (*MsgJoinPool) Marshal

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

func (*MsgJoinPool) MarshalTo

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

func (*MsgJoinPool) MarshalToSizedBuffer

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

func (*MsgJoinPool) ProtoMessage

func (*MsgJoinPool) ProtoMessage()

func (*MsgJoinPool) Reset

func (m *MsgJoinPool) Reset()

func (MsgJoinPool) Route

func (msg MsgJoinPool) Route() string

Join

func (*MsgJoinPool) Size

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

func (*MsgJoinPool) String

func (m *MsgJoinPool) String() string

func (MsgJoinPool) Type

func (msg MsgJoinPool) Type() string

func (*MsgJoinPool) Unmarshal

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

func (MsgJoinPool) ValidateBasic

func (msg MsgJoinPool) ValidateBasic() error

func (*MsgJoinPool) XXX_DiscardUnknown

func (m *MsgJoinPool) XXX_DiscardUnknown()

func (*MsgJoinPool) XXX_Marshal

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

func (*MsgJoinPool) XXX_Merge

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

func (*MsgJoinPool) XXX_Size

func (m *MsgJoinPool) XXX_Size() int

func (*MsgJoinPool) XXX_Unmarshal

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

type MsgJoinPoolResponse

type MsgJoinPoolResponse struct {
	ShareOutAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
	TokenIn        []types.Coin                           `protobuf:"bytes,2,rep,name=token_in,json=tokenIn,proto3" json:"token_in" yaml:"token_in"`
}

func (*MsgJoinPoolResponse) Descriptor

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

func (*MsgJoinPoolResponse) GetTokenIn

func (m *MsgJoinPoolResponse) GetTokenIn() []types.Coin

func (*MsgJoinPoolResponse) Marshal

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

func (*MsgJoinPoolResponse) MarshalTo

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

func (*MsgJoinPoolResponse) MarshalToSizedBuffer

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

func (*MsgJoinPoolResponse) ProtoMessage

func (*MsgJoinPoolResponse) ProtoMessage()

func (*MsgJoinPoolResponse) Reset

func (m *MsgJoinPoolResponse) Reset()

func (*MsgJoinPoolResponse) Size

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

func (*MsgJoinPoolResponse) String

func (m *MsgJoinPoolResponse) String() string

func (*MsgJoinPoolResponse) Unmarshal

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

func (*MsgJoinPoolResponse) XXX_DiscardUnknown

func (m *MsgJoinPoolResponse) XXX_DiscardUnknown()

func (*MsgJoinPoolResponse) XXX_Marshal

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

func (*MsgJoinPoolResponse) XXX_Merge

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

func (*MsgJoinPoolResponse) XXX_Size

func (m *MsgJoinPoolResponse) XXX_Size() int

func (*MsgJoinPoolResponse) XXX_Unmarshal

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

type MsgJoinSwapExternAmountIn

type MsgJoinSwapExternAmountIn struct {
	Sender            string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId            uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TokenIn           types.Coin                             `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in" yaml:"token_in"`
	ShareOutMinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */
}

===================== MsgJoinSwapExternAmountIn TODO: Rename to MsgJoinSwapExactAmountIn

func (*MsgJoinSwapExternAmountIn) Descriptor

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

func (*MsgJoinSwapExternAmountIn) GetPoolId

func (m *MsgJoinSwapExternAmountIn) GetPoolId() uint64

func (*MsgJoinSwapExternAmountIn) GetSender

func (m *MsgJoinSwapExternAmountIn) GetSender() string

func (MsgJoinSwapExternAmountIn) GetSignBytes

func (msg MsgJoinSwapExternAmountIn) GetSignBytes() []byte

func (MsgJoinSwapExternAmountIn) GetSigners

func (msg MsgJoinSwapExternAmountIn) GetSigners() []sdk.AccAddress

func (*MsgJoinSwapExternAmountIn) GetTokenIn

func (m *MsgJoinSwapExternAmountIn) GetTokenIn() types.Coin

func (*MsgJoinSwapExternAmountIn) Marshal

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

func (*MsgJoinSwapExternAmountIn) MarshalTo

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

func (*MsgJoinSwapExternAmountIn) MarshalToSizedBuffer

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

func (*MsgJoinSwapExternAmountIn) ProtoMessage

func (*MsgJoinSwapExternAmountIn) ProtoMessage()

func (*MsgJoinSwapExternAmountIn) Reset

func (m *MsgJoinSwapExternAmountIn) Reset()

func (MsgJoinSwapExternAmountIn) Route

func (msg MsgJoinSwapExternAmountIn) Route() string

JoinSwapExternIn

func (*MsgJoinSwapExternAmountIn) Size

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

func (*MsgJoinSwapExternAmountIn) String

func (m *MsgJoinSwapExternAmountIn) String() string

func (MsgJoinSwapExternAmountIn) Type

func (msg MsgJoinSwapExternAmountIn) Type() string

func (*MsgJoinSwapExternAmountIn) Unmarshal

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

func (MsgJoinSwapExternAmountIn) ValidateBasic

func (msg MsgJoinSwapExternAmountIn) ValidateBasic() error

func (*MsgJoinSwapExternAmountIn) XXX_DiscardUnknown

func (m *MsgJoinSwapExternAmountIn) XXX_DiscardUnknown()

func (*MsgJoinSwapExternAmountIn) XXX_Marshal

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

func (*MsgJoinSwapExternAmountIn) XXX_Merge

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

func (*MsgJoinSwapExternAmountIn) XXX_Size

func (m *MsgJoinSwapExternAmountIn) XXX_Size() int

func (*MsgJoinSwapExternAmountIn) XXX_Unmarshal

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

type MsgJoinSwapExternAmountInResponse

type MsgJoinSwapExternAmountInResponse struct {
	ShareOutAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*MsgJoinSwapExternAmountInResponse) Descriptor

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

func (*MsgJoinSwapExternAmountInResponse) Marshal

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

func (*MsgJoinSwapExternAmountInResponse) MarshalTo

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

func (*MsgJoinSwapExternAmountInResponse) MarshalToSizedBuffer

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

func (*MsgJoinSwapExternAmountInResponse) ProtoMessage

func (*MsgJoinSwapExternAmountInResponse) ProtoMessage()

func (*MsgJoinSwapExternAmountInResponse) Reset

func (*MsgJoinSwapExternAmountInResponse) Size

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

func (*MsgJoinSwapExternAmountInResponse) String

func (*MsgJoinSwapExternAmountInResponse) Unmarshal

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

func (*MsgJoinSwapExternAmountInResponse) XXX_DiscardUnknown

func (m *MsgJoinSwapExternAmountInResponse) XXX_DiscardUnknown()

func (*MsgJoinSwapExternAmountInResponse) XXX_Marshal

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

func (*MsgJoinSwapExternAmountInResponse) XXX_Merge

func (*MsgJoinSwapExternAmountInResponse) XXX_Size

func (m *MsgJoinSwapExternAmountInResponse) XXX_Size() int

func (*MsgJoinSwapExternAmountInResponse) XXX_Unmarshal

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

type MsgJoinSwapShareAmountOut

type MsgJoinSwapShareAmountOut struct {
	Sender           string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	PoolId           uint64                                 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TokenInDenom     string                                 `protobuf:"bytes,3,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty" yaml:"token_in_denom"`
	ShareOutAmount   github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
	TokenInMaxAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 180-byte string literal not displayed */
}

===================== MsgJoinSwapShareAmountOut

func (*MsgJoinSwapShareAmountOut) Descriptor

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

func (*MsgJoinSwapShareAmountOut) GetPoolId

func (m *MsgJoinSwapShareAmountOut) GetPoolId() uint64

func (*MsgJoinSwapShareAmountOut) GetSender

func (m *MsgJoinSwapShareAmountOut) GetSender() string

func (MsgJoinSwapShareAmountOut) GetSignBytes

func (msg MsgJoinSwapShareAmountOut) GetSignBytes() []byte

func (MsgJoinSwapShareAmountOut) GetSigners

func (msg MsgJoinSwapShareAmountOut) GetSigners() []sdk.AccAddress

func (*MsgJoinSwapShareAmountOut) GetTokenInDenom

func (m *MsgJoinSwapShareAmountOut) GetTokenInDenom() string

func (*MsgJoinSwapShareAmountOut) Marshal

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

func (*MsgJoinSwapShareAmountOut) MarshalTo

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

func (*MsgJoinSwapShareAmountOut) MarshalToSizedBuffer

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

func (*MsgJoinSwapShareAmountOut) ProtoMessage

func (*MsgJoinSwapShareAmountOut) ProtoMessage()

func (*MsgJoinSwapShareAmountOut) Reset

func (m *MsgJoinSwapShareAmountOut) Reset()

func (MsgJoinSwapShareAmountOut) Route

func (msg MsgJoinSwapShareAmountOut) Route() string

JoinSwapShareOut

func (*MsgJoinSwapShareAmountOut) Size

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

func (*MsgJoinSwapShareAmountOut) String

func (m *MsgJoinSwapShareAmountOut) String() string

func (MsgJoinSwapShareAmountOut) Type

func (msg MsgJoinSwapShareAmountOut) Type() string

func (*MsgJoinSwapShareAmountOut) Unmarshal

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

func (MsgJoinSwapShareAmountOut) ValidateBasic

func (msg MsgJoinSwapShareAmountOut) ValidateBasic() error

func (*MsgJoinSwapShareAmountOut) XXX_DiscardUnknown

func (m *MsgJoinSwapShareAmountOut) XXX_DiscardUnknown()

func (*MsgJoinSwapShareAmountOut) XXX_Marshal

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

func (*MsgJoinSwapShareAmountOut) XXX_Merge

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

func (*MsgJoinSwapShareAmountOut) XXX_Size

func (m *MsgJoinSwapShareAmountOut) XXX_Size() int

func (*MsgJoinSwapShareAmountOut) XXX_Unmarshal

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

type MsgJoinSwapShareAmountOutResponse

type MsgJoinSwapShareAmountOutResponse struct {
	TokenInAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

func (*MsgJoinSwapShareAmountOutResponse) Descriptor

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

func (*MsgJoinSwapShareAmountOutResponse) Marshal

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

func (*MsgJoinSwapShareAmountOutResponse) MarshalTo

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

func (*MsgJoinSwapShareAmountOutResponse) MarshalToSizedBuffer

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

func (*MsgJoinSwapShareAmountOutResponse) ProtoMessage

func (*MsgJoinSwapShareAmountOutResponse) ProtoMessage()

func (*MsgJoinSwapShareAmountOutResponse) Reset

func (*MsgJoinSwapShareAmountOutResponse) Size

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

func (*MsgJoinSwapShareAmountOutResponse) String

func (*MsgJoinSwapShareAmountOutResponse) Unmarshal

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

func (*MsgJoinSwapShareAmountOutResponse) XXX_DiscardUnknown

func (m *MsgJoinSwapShareAmountOutResponse) XXX_DiscardUnknown()

func (*MsgJoinSwapShareAmountOutResponse) XXX_Marshal

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

func (*MsgJoinSwapShareAmountOutResponse) XXX_Merge

func (*MsgJoinSwapShareAmountOutResponse) XXX_Size

func (m *MsgJoinSwapShareAmountOutResponse) XXX_Size() int

func (*MsgJoinSwapShareAmountOutResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	JoinPool(context.Context, *MsgJoinPool) (*MsgJoinPoolResponse, error)
	ExitPool(context.Context, *MsgExitPool) (*MsgExitPoolResponse, error)
	SwapExactAmountIn(context.Context, *MsgSwapExactAmountIn) (*MsgSwapExactAmountInResponse, error)
	SwapExactAmountOut(context.Context, *MsgSwapExactAmountOut) (*MsgSwapExactAmountOutResponse, error)
	JoinSwapExternAmountIn(context.Context, *MsgJoinSwapExternAmountIn) (*MsgJoinSwapExternAmountInResponse, error)
	JoinSwapShareAmountOut(context.Context, *MsgJoinSwapShareAmountOut) (*MsgJoinSwapShareAmountOutResponse, error)
	ExitSwapExternAmountOut(context.Context, *MsgExitSwapExternAmountOut) (*MsgExitSwapExternAmountOutResponse, error)
	ExitSwapShareAmountIn(context.Context, *MsgExitSwapShareAmountIn) (*MsgExitSwapShareAmountInResponse, error)
	// These are old Osmosis message types they deprecated and removed a long time ago, needed for backwards compatibility
	CreatePool(context.Context, *MsgCreatePool) (*MsgCreatePoolResponse, error)
	CreateBalancerPool(context.Context, *MsgCreateBalancerPool) (*MsgCreateBalancerPoolResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSwapExactAmountIn

type MsgSwapExactAmountIn struct {
	Sender            string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Routes            []types1.SwapAmountInRoute             `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes"`
	TokenIn           types.Coin                             `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in" yaml:"token_in"`
	TokenOutMinAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */
}

===================== MsgSwapExactAmountIn

func (*MsgSwapExactAmountIn) Descriptor

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

func (*MsgSwapExactAmountIn) GetRoutes

func (*MsgSwapExactAmountIn) GetSender

func (m *MsgSwapExactAmountIn) GetSender() string

func (MsgSwapExactAmountIn) GetSignBytes

func (msg MsgSwapExactAmountIn) GetSignBytes() []byte

func (MsgSwapExactAmountIn) GetSigners

func (msg MsgSwapExactAmountIn) GetSigners() []sdk.AccAddress

func (*MsgSwapExactAmountIn) GetTokenIn

func (m *MsgSwapExactAmountIn) GetTokenIn() types.Coin

func (*MsgSwapExactAmountIn) Marshal

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

func (*MsgSwapExactAmountIn) MarshalTo

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

func (*MsgSwapExactAmountIn) MarshalToSizedBuffer

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

func (*MsgSwapExactAmountIn) ProtoMessage

func (*MsgSwapExactAmountIn) ProtoMessage()

func (*MsgSwapExactAmountIn) Reset

func (m *MsgSwapExactAmountIn) Reset()

func (MsgSwapExactAmountIn) Route

func (msg MsgSwapExactAmountIn) Route() string

SwapExactIn

func (*MsgSwapExactAmountIn) Size

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

func (*MsgSwapExactAmountIn) String

func (m *MsgSwapExactAmountIn) String() string

func (MsgSwapExactAmountIn) Type

func (msg MsgSwapExactAmountIn) Type() string

func (*MsgSwapExactAmountIn) Unmarshal

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

func (MsgSwapExactAmountIn) ValidateBasic

func (msg MsgSwapExactAmountIn) ValidateBasic() error

func (*MsgSwapExactAmountIn) XXX_DiscardUnknown

func (m *MsgSwapExactAmountIn) XXX_DiscardUnknown()

func (*MsgSwapExactAmountIn) XXX_Marshal

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

func (*MsgSwapExactAmountIn) XXX_Merge

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

func (*MsgSwapExactAmountIn) XXX_Size

func (m *MsgSwapExactAmountIn) XXX_Size() int

func (*MsgSwapExactAmountIn) XXX_Unmarshal

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

type MsgSwapExactAmountInResponse

type MsgSwapExactAmountInResponse struct {
	TokenOutAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
}

func (*MsgSwapExactAmountInResponse) Descriptor

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

func (*MsgSwapExactAmountInResponse) Marshal

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

func (*MsgSwapExactAmountInResponse) MarshalTo

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

func (*MsgSwapExactAmountInResponse) MarshalToSizedBuffer

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

func (*MsgSwapExactAmountInResponse) ProtoMessage

func (*MsgSwapExactAmountInResponse) ProtoMessage()

func (*MsgSwapExactAmountInResponse) Reset

func (m *MsgSwapExactAmountInResponse) Reset()

func (*MsgSwapExactAmountInResponse) Size

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

func (*MsgSwapExactAmountInResponse) String

func (*MsgSwapExactAmountInResponse) Unmarshal

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

func (*MsgSwapExactAmountInResponse) XXX_DiscardUnknown

func (m *MsgSwapExactAmountInResponse) XXX_DiscardUnknown()

func (*MsgSwapExactAmountInResponse) XXX_Marshal

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

func (*MsgSwapExactAmountInResponse) XXX_Merge

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

func (*MsgSwapExactAmountInResponse) XXX_Size

func (m *MsgSwapExactAmountInResponse) XXX_Size() int

func (*MsgSwapExactAmountInResponse) XXX_Unmarshal

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

type MsgSwapExactAmountOut

type MsgSwapExactAmountOut struct {
	Sender           string                                 `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Routes           []types1.SwapAmountOutRoute            `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes"`
	TokenInMaxAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 180-byte string literal not displayed */
	TokenOut         types.Coin                             `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out" yaml:"token_out"`
}

func (*MsgSwapExactAmountOut) Descriptor

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

func (*MsgSwapExactAmountOut) GetRoutes

func (*MsgSwapExactAmountOut) GetSender

func (m *MsgSwapExactAmountOut) GetSender() string

func (MsgSwapExactAmountOut) GetSignBytes

func (msg MsgSwapExactAmountOut) GetSignBytes() []byte

func (MsgSwapExactAmountOut) GetSigners

func (msg MsgSwapExactAmountOut) GetSigners() []sdk.AccAddress

func (*MsgSwapExactAmountOut) GetTokenOut

func (m *MsgSwapExactAmountOut) GetTokenOut() types.Coin

func (*MsgSwapExactAmountOut) Marshal

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

func (*MsgSwapExactAmountOut) MarshalTo

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

func (*MsgSwapExactAmountOut) MarshalToSizedBuffer

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

func (*MsgSwapExactAmountOut) ProtoMessage

func (*MsgSwapExactAmountOut) ProtoMessage()

func (*MsgSwapExactAmountOut) Reset

func (m *MsgSwapExactAmountOut) Reset()

func (MsgSwapExactAmountOut) Route

func (msg MsgSwapExactAmountOut) Route() string

SwapExactOut

func (*MsgSwapExactAmountOut) Size

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

func (*MsgSwapExactAmountOut) String

func (m *MsgSwapExactAmountOut) String() string

func (MsgSwapExactAmountOut) Type

func (msg MsgSwapExactAmountOut) Type() string

func (*MsgSwapExactAmountOut) Unmarshal

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

func (MsgSwapExactAmountOut) ValidateBasic

func (msg MsgSwapExactAmountOut) ValidateBasic() error

func (*MsgSwapExactAmountOut) XXX_DiscardUnknown

func (m *MsgSwapExactAmountOut) XXX_DiscardUnknown()

func (*MsgSwapExactAmountOut) XXX_Marshal

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

func (*MsgSwapExactAmountOut) XXX_Merge

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

func (*MsgSwapExactAmountOut) XXX_Size

func (m *MsgSwapExactAmountOut) XXX_Size() int

func (*MsgSwapExactAmountOut) XXX_Unmarshal

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

type MsgSwapExactAmountOutResponse

type MsgSwapExactAmountOutResponse struct {
	TokenInAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

func (*MsgSwapExactAmountOutResponse) Descriptor

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

func (*MsgSwapExactAmountOutResponse) Marshal

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

func (*MsgSwapExactAmountOutResponse) MarshalTo

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

func (*MsgSwapExactAmountOutResponse) MarshalToSizedBuffer

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

func (*MsgSwapExactAmountOutResponse) ProtoMessage

func (*MsgSwapExactAmountOutResponse) ProtoMessage()

func (*MsgSwapExactAmountOutResponse) Reset

func (m *MsgSwapExactAmountOutResponse) Reset()

func (*MsgSwapExactAmountOutResponse) Size

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

func (*MsgSwapExactAmountOutResponse) String

func (*MsgSwapExactAmountOutResponse) Unmarshal

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

func (*MsgSwapExactAmountOutResponse) XXX_DiscardUnknown

func (m *MsgSwapExactAmountOutResponse) XXX_DiscardUnknown()

func (*MsgSwapExactAmountOutResponse) XXX_Marshal

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

func (*MsgSwapExactAmountOutResponse) XXX_Merge

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

func (*MsgSwapExactAmountOutResponse) XXX_Size

func (m *MsgSwapExactAmountOutResponse) XXX_Size() int

func (*MsgSwapExactAmountOutResponse) XXX_Unmarshal

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

type PoolAsset

type PoolAsset struct {
	// Coins we are talking about,
	// the denomination must be unique amongst all PoolAssets for this pool.
	Token types.Coin `protobuf:"bytes,1,opt,name=token,proto3" json:"token" yaml:"token"`
	// Weight that is not normalized. This weight must be less than 2^50
	Weight github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"weight" yaml:"weight"`
}

func (*PoolAsset) Descriptor

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

func (*PoolAsset) GetToken

func (m *PoolAsset) GetToken() types.Coin

func (*PoolAsset) Marshal

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

func (*PoolAsset) MarshalTo

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

func (*PoolAsset) MarshalToSizedBuffer

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

func (*PoolAsset) ProtoMessage

func (*PoolAsset) ProtoMessage()

func (*PoolAsset) Reset

func (m *PoolAsset) Reset()

func (*PoolAsset) Size

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

func (*PoolAsset) String

func (m *PoolAsset) String() string

func (*PoolAsset) Unmarshal

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

func (*PoolAsset) XXX_DiscardUnknown

func (m *PoolAsset) XXX_DiscardUnknown()

func (*PoolAsset) XXX_Marshal

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

func (*PoolAsset) XXX_Merge

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

func (*PoolAsset) XXX_Size

func (m *PoolAsset) XXX_Size() int

func (*PoolAsset) XXX_Unmarshal

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

type PoolParams

type PoolParams struct {
	SwapFee                  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=swapFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"swapFee" yaml:"swap_fee"`
	ExitFee                  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=exitFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"exitFee" yaml:"exit_fee"`
	SmoothWeightChangeParams *SmoothWeightChangeParams              `` /* 136-byte string literal not displayed */
}

PoolParams defined the parameters that will be managed by the pool governance in the future. This params are not managed by the chain governanace. Instead they will be managed by the token holders of the pool. The pool's token holders are specified in future_pool_governor.

func (*PoolParams) Descriptor

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

func (*PoolParams) GetSmoothWeightChangeParams

func (m *PoolParams) GetSmoothWeightChangeParams() *SmoothWeightChangeParams

func (*PoolParams) Marshal

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

func (*PoolParams) MarshalTo

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

func (*PoolParams) MarshalToSizedBuffer

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

func (*PoolParams) ProtoMessage

func (*PoolParams) ProtoMessage()

func (*PoolParams) Reset

func (m *PoolParams) Reset()

func (*PoolParams) Size

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

func (*PoolParams) String

func (m *PoolParams) String() string

func (*PoolParams) Unmarshal

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

func (*PoolParams) XXX_DiscardUnknown

func (m *PoolParams) XXX_DiscardUnknown()

func (*PoolParams) XXX_Marshal

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

func (*PoolParams) XXX_Merge

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

func (*PoolParams) XXX_Size

func (m *PoolParams) XXX_Size() int

func (*PoolParams) XXX_Unmarshal

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

type SmoothWeightChangeParams

type SmoothWeightChangeParams struct {
	// The start time for beginning the weight change.
	// If a parameter change / pool instantiation leaves this blank,
	// it should be generated by the state_machine as the current time.
	StartTime time.Time `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"`
	// Duration for the weights to change over
	Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"`
	// The initial pool weights. These are copied from the pool's settings
	// at the time of weight change instantiation.
	// The amount PoolAsset.token.amount field is ignored if present,
	// future type refactorings should just have a type with the denom & weight
	// here.
	InitialPoolWeights []PoolAsset `protobuf:"bytes,3,rep,name=initialPoolWeights,proto3" json:"initialPoolWeights" yaml:"initial_pool_weights"`
	// The target pool weights. The pool weights will change linearly with respect
	// to time between start_time, and start_time + duration. The amount
	// PoolAsset.token.amount field is ignored if present, future type
	// refactorings should just have a type with the denom & weight here.
	TargetPoolWeights []PoolAsset `protobuf:"bytes,4,rep,name=targetPoolWeights,proto3" json:"targetPoolWeights" yaml:"target_pool_weights"`
}

func (*SmoothWeightChangeParams) Descriptor

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

func (*SmoothWeightChangeParams) GetDuration

func (m *SmoothWeightChangeParams) GetDuration() time.Duration

func (*SmoothWeightChangeParams) GetInitialPoolWeights

func (m *SmoothWeightChangeParams) GetInitialPoolWeights() []PoolAsset

func (*SmoothWeightChangeParams) GetStartTime

func (m *SmoothWeightChangeParams) GetStartTime() time.Time

func (*SmoothWeightChangeParams) GetTargetPoolWeights

func (m *SmoothWeightChangeParams) GetTargetPoolWeights() []PoolAsset

func (*SmoothWeightChangeParams) Marshal

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

func (*SmoothWeightChangeParams) MarshalTo

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

func (*SmoothWeightChangeParams) MarshalToSizedBuffer

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

func (*SmoothWeightChangeParams) ProtoMessage

func (*SmoothWeightChangeParams) ProtoMessage()

func (*SmoothWeightChangeParams) Reset

func (m *SmoothWeightChangeParams) Reset()

func (*SmoothWeightChangeParams) Size

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

func (*SmoothWeightChangeParams) String

func (m *SmoothWeightChangeParams) String() string

func (*SmoothWeightChangeParams) Unmarshal

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

func (*SmoothWeightChangeParams) XXX_DiscardUnknown

func (m *SmoothWeightChangeParams) XXX_DiscardUnknown()

func (*SmoothWeightChangeParams) XXX_Marshal

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

func (*SmoothWeightChangeParams) XXX_Merge

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

func (*SmoothWeightChangeParams) XXX_Size

func (m *SmoothWeightChangeParams) XXX_Size() int

func (*SmoothWeightChangeParams) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateBalancerPool

func (*UnimplementedMsgServer) CreatePool

func (*UnimplementedMsgServer) ExitPool

func (*UnimplementedMsgServer) ExitSwapExternAmountOut

func (*UnimplementedMsgServer) ExitSwapShareAmountIn

func (*UnimplementedMsgServer) JoinPool

func (*UnimplementedMsgServer) JoinSwapExternAmountIn

func (*UnimplementedMsgServer) JoinSwapShareAmountOut

func (*UnimplementedMsgServer) SwapExactAmountIn

func (*UnimplementedMsgServer) SwapExactAmountOut

Jump to

Keyboard shortcuts

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