msg

package
v26.0.2 Latest Latest
Warning

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

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

README

Common Messages

This package contains message definitions that are common to all contract pools.

TODO:

  • break down each message
  • link to transmuter for more details

Documentation

Overview

This file defines helpers for querying the cosmwasm pool contract from the cosmwasm pool module.

This file defines helpers for sudo messages issued to the cosmwasm pool contract from the cosmwasm pool module.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthInstantiateMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInstantiateMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInstantiateMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModuleQueryMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModuleQueryMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModuleQueryMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModuleSudoMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModuleSudoMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModuleSudoMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPoolQueryMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPoolQueryMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPoolQueryMsg = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CalcInAmtGivenOut

type CalcInAmtGivenOut struct {
	// token_out is the token out to be receoved from the pool.
	TokenOut types.Coin `protobuf:"bytes,1,opt,name=token_out,json=tokenOut,proto3" json:"token_out"`
	// token_in_denom is the token denom to be sentt to the pool.
	TokenInDenom string `protobuf:"bytes,2,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty"`
	// swap_fee is the swap fee for this swap estimate.
	SwapFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=swap_fee,json=swapFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_fee"`
}

===================== CalcInAmtGivenOut

func (*CalcInAmtGivenOut) Descriptor

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

func (*CalcInAmtGivenOut) GetTokenInDenom

func (m *CalcInAmtGivenOut) GetTokenInDenom() string

func (*CalcInAmtGivenOut) GetTokenOut

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

func (*CalcInAmtGivenOut) Marshal

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

func (*CalcInAmtGivenOut) MarshalTo

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

func (*CalcInAmtGivenOut) MarshalToSizedBuffer

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

func (*CalcInAmtGivenOut) ProtoMessage

func (*CalcInAmtGivenOut) ProtoMessage()

func (*CalcInAmtGivenOut) Reset

func (m *CalcInAmtGivenOut) Reset()

func (*CalcInAmtGivenOut) Size

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

func (*CalcInAmtGivenOut) String

func (m *CalcInAmtGivenOut) String() string

func (*CalcInAmtGivenOut) Unmarshal

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

func (*CalcInAmtGivenOut) XXX_DiscardUnknown

func (m *CalcInAmtGivenOut) XXX_DiscardUnknown()

func (*CalcInAmtGivenOut) XXX_Marshal

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

func (*CalcInAmtGivenOut) XXX_Merge

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

func (*CalcInAmtGivenOut) XXX_Size

func (m *CalcInAmtGivenOut) XXX_Size() int

func (*CalcInAmtGivenOut) XXX_Unmarshal

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

type CalcInAmtGivenOutRequest

type CalcInAmtGivenOutRequest struct {
	// calc_in_amt_given_out is the structure containing all the request
	// information for this query.
	CalcInAmtGivenOut CalcInAmtGivenOut `protobuf:"bytes,1,opt,name=calc_in_amt_given_out,json=calcInAmtGivenOut,proto3" json:"calc_in_amt_given_out"`
}

func NewCalcInAmtGivenOutRequest

func NewCalcInAmtGivenOutRequest(tokenInDenom string, tokenOut sdk.Coin, swapFee osmomath.Dec) CalcInAmtGivenOutRequest

CalcInAmtGivenOut

func (*CalcInAmtGivenOutRequest) Descriptor

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

func (*CalcInAmtGivenOutRequest) GetCalcInAmtGivenOut

func (m *CalcInAmtGivenOutRequest) GetCalcInAmtGivenOut() CalcInAmtGivenOut

func (*CalcInAmtGivenOutRequest) Marshal

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

func (*CalcInAmtGivenOutRequest) MarshalTo

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

func (*CalcInAmtGivenOutRequest) MarshalToSizedBuffer

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

func (*CalcInAmtGivenOutRequest) ProtoMessage

func (*CalcInAmtGivenOutRequest) ProtoMessage()

func (*CalcInAmtGivenOutRequest) Reset

func (m *CalcInAmtGivenOutRequest) Reset()

func (*CalcInAmtGivenOutRequest) Size

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

func (*CalcInAmtGivenOutRequest) String

func (m *CalcInAmtGivenOutRequest) String() string

func (*CalcInAmtGivenOutRequest) Unmarshal

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

func (*CalcInAmtGivenOutRequest) XXX_DiscardUnknown

func (m *CalcInAmtGivenOutRequest) XXX_DiscardUnknown()

func (*CalcInAmtGivenOutRequest) XXX_Marshal

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

func (*CalcInAmtGivenOutRequest) XXX_Merge

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

func (*CalcInAmtGivenOutRequest) XXX_Size

func (m *CalcInAmtGivenOutRequest) XXX_Size() int

func (*CalcInAmtGivenOutRequest) XXX_Unmarshal

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

type CalcInAmtGivenOutResponse

type CalcInAmtGivenOutResponse struct {
	// token_in is the token in computed from this swap estimate call.
	TokenIn types.Coin `protobuf:"bytes,1,opt,name=token_in,json=tokenIn,proto3" json:"token_in"`
}

func (*CalcInAmtGivenOutResponse) Descriptor

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

func (*CalcInAmtGivenOutResponse) GetTokenIn

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

func (*CalcInAmtGivenOutResponse) Marshal

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

func (*CalcInAmtGivenOutResponse) MarshalTo

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

func (*CalcInAmtGivenOutResponse) MarshalToSizedBuffer

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

func (*CalcInAmtGivenOutResponse) ProtoMessage

func (*CalcInAmtGivenOutResponse) ProtoMessage()

func (*CalcInAmtGivenOutResponse) Reset

func (m *CalcInAmtGivenOutResponse) Reset()

func (*CalcInAmtGivenOutResponse) Size

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

func (*CalcInAmtGivenOutResponse) String

func (m *CalcInAmtGivenOutResponse) String() string

func (*CalcInAmtGivenOutResponse) Unmarshal

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

func (*CalcInAmtGivenOutResponse) XXX_DiscardUnknown

func (m *CalcInAmtGivenOutResponse) XXX_DiscardUnknown()

func (*CalcInAmtGivenOutResponse) XXX_Marshal

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

func (*CalcInAmtGivenOutResponse) XXX_Merge

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

func (*CalcInAmtGivenOutResponse) XXX_Size

func (m *CalcInAmtGivenOutResponse) XXX_Size() int

func (*CalcInAmtGivenOutResponse) XXX_Unmarshal

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

type CalcOutAmtGivenIn

type CalcOutAmtGivenIn struct {
	// token_in is the token to be sent to the pool.
	TokenIn types.Coin `protobuf:"bytes,1,opt,name=token_in,json=tokenIn,proto3" json:"token_in"`
	// token_out_denom is the token denom to be received from the pool.
	TokenOutDenom string `protobuf:"bytes,2,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty"`
	// swap_fee is the swap fee for this swap estimate.
	SwapFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=swap_fee,json=swapFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_fee"`
}

===================== CalcOutAmtGivenIn

func (*CalcOutAmtGivenIn) Descriptor

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

func (*CalcOutAmtGivenIn) GetTokenIn

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

func (*CalcOutAmtGivenIn) GetTokenOutDenom

func (m *CalcOutAmtGivenIn) GetTokenOutDenom() string

func (*CalcOutAmtGivenIn) Marshal

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

func (*CalcOutAmtGivenIn) MarshalTo

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

func (*CalcOutAmtGivenIn) MarshalToSizedBuffer

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

func (*CalcOutAmtGivenIn) ProtoMessage

func (*CalcOutAmtGivenIn) ProtoMessage()

func (*CalcOutAmtGivenIn) Reset

func (m *CalcOutAmtGivenIn) Reset()

func (*CalcOutAmtGivenIn) Size

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

func (*CalcOutAmtGivenIn) String

func (m *CalcOutAmtGivenIn) String() string

func (*CalcOutAmtGivenIn) Unmarshal

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

func (*CalcOutAmtGivenIn) XXX_DiscardUnknown

func (m *CalcOutAmtGivenIn) XXX_DiscardUnknown()

func (*CalcOutAmtGivenIn) XXX_Marshal

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

func (*CalcOutAmtGivenIn) XXX_Merge

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

func (*CalcOutAmtGivenIn) XXX_Size

func (m *CalcOutAmtGivenIn) XXX_Size() int

func (*CalcOutAmtGivenIn) XXX_Unmarshal

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

type CalcOutAmtGivenInRequest

type CalcOutAmtGivenInRequest struct {
	// calc_out_amt_given_in is the structure containing all the request
	// information for this query.
	CalcOutAmtGivenIn CalcOutAmtGivenIn `protobuf:"bytes,1,opt,name=calc_out_amt_given_in,json=calcOutAmtGivenIn,proto3" json:"calc_out_amt_given_in"`
}

func NewCalcOutAmtGivenInRequest

func NewCalcOutAmtGivenInRequest(tokenIn sdk.Coin, tokenOutDenom string, swapFee osmomath.Dec) CalcOutAmtGivenInRequest

CalcOutAmtGivenIn

func (*CalcOutAmtGivenInRequest) Descriptor

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

func (*CalcOutAmtGivenInRequest) GetCalcOutAmtGivenIn

func (m *CalcOutAmtGivenInRequest) GetCalcOutAmtGivenIn() CalcOutAmtGivenIn

func (*CalcOutAmtGivenInRequest) Marshal

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

func (*CalcOutAmtGivenInRequest) MarshalTo

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

func (*CalcOutAmtGivenInRequest) MarshalToSizedBuffer

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

func (*CalcOutAmtGivenInRequest) ProtoMessage

func (*CalcOutAmtGivenInRequest) ProtoMessage()

func (*CalcOutAmtGivenInRequest) Reset

func (m *CalcOutAmtGivenInRequest) Reset()

func (*CalcOutAmtGivenInRequest) Size

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

func (*CalcOutAmtGivenInRequest) String

func (m *CalcOutAmtGivenInRequest) String() string

func (*CalcOutAmtGivenInRequest) Unmarshal

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

func (*CalcOutAmtGivenInRequest) XXX_DiscardUnknown

func (m *CalcOutAmtGivenInRequest) XXX_DiscardUnknown()

func (*CalcOutAmtGivenInRequest) XXX_Marshal

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

func (*CalcOutAmtGivenInRequest) XXX_Merge

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

func (*CalcOutAmtGivenInRequest) XXX_Size

func (m *CalcOutAmtGivenInRequest) XXX_Size() int

func (*CalcOutAmtGivenInRequest) XXX_Unmarshal

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

type CalcOutAmtGivenInResponse

type CalcOutAmtGivenInResponse struct {
	// token_out is the token out computed from this swap estimate call.
	TokenOut types.Coin `protobuf:"bytes,1,opt,name=token_out,json=tokenOut,proto3" json:"token_out"`
}

func (*CalcOutAmtGivenInResponse) Descriptor

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

func (*CalcOutAmtGivenInResponse) GetTokenOut

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

func (*CalcOutAmtGivenInResponse) Marshal

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

func (*CalcOutAmtGivenInResponse) MarshalTo

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

func (*CalcOutAmtGivenInResponse) MarshalToSizedBuffer

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

func (*CalcOutAmtGivenInResponse) ProtoMessage

func (*CalcOutAmtGivenInResponse) ProtoMessage()

func (*CalcOutAmtGivenInResponse) Reset

func (m *CalcOutAmtGivenInResponse) Reset()

func (*CalcOutAmtGivenInResponse) Size

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

func (*CalcOutAmtGivenInResponse) String

func (m *CalcOutAmtGivenInResponse) String() string

func (*CalcOutAmtGivenInResponse) Unmarshal

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

func (*CalcOutAmtGivenInResponse) XXX_DiscardUnknown

func (m *CalcOutAmtGivenInResponse) XXX_DiscardUnknown()

func (*CalcOutAmtGivenInResponse) XXX_Marshal

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

func (*CalcOutAmtGivenInResponse) XXX_Merge

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

func (*CalcOutAmtGivenInResponse) XXX_Size

func (m *CalcOutAmtGivenInResponse) XXX_Size() int

func (*CalcOutAmtGivenInResponse) XXX_Unmarshal

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

type EmptyStruct

type EmptyStruct struct {
}

===================== GetTotalPoolLiquidityQueryMsg

func (*EmptyStruct) Descriptor

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

func (*EmptyStruct) Marshal

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

func (*EmptyStruct) MarshalTo

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

func (*EmptyStruct) MarshalToSizedBuffer

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

func (*EmptyStruct) ProtoMessage

func (*EmptyStruct) ProtoMessage()

func (*EmptyStruct) Reset

func (m *EmptyStruct) Reset()

func (*EmptyStruct) Size

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

func (*EmptyStruct) String

func (m *EmptyStruct) String() string

func (*EmptyStruct) Unmarshal

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

func (*EmptyStruct) XXX_DiscardUnknown

func (m *EmptyStruct) XXX_DiscardUnknown()

func (*EmptyStruct) XXX_Marshal

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

func (*EmptyStruct) XXX_Merge

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

func (*EmptyStruct) XXX_Size

func (m *EmptyStruct) XXX_Size() int

func (*EmptyStruct) XXX_Unmarshal

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

type GetSwapFeeQueryMsg

type GetSwapFeeQueryMsg struct {
	// get_swap_fee is the query structure to get swap fee.
	GetSwapFee EmptyStruct `protobuf:"bytes,1,opt,name=get_swap_fee,json=getSwapFee,proto3" json:"get_swap_fee"`
}

===================== GetSwapFeeQueryMsg

func (*GetSwapFeeQueryMsg) Descriptor

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

func (*GetSwapFeeQueryMsg) GetGetSwapFee

func (m *GetSwapFeeQueryMsg) GetGetSwapFee() EmptyStruct

func (*GetSwapFeeQueryMsg) Marshal

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

func (*GetSwapFeeQueryMsg) MarshalTo

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

func (*GetSwapFeeQueryMsg) MarshalToSizedBuffer

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

func (*GetSwapFeeQueryMsg) ProtoMessage

func (*GetSwapFeeQueryMsg) ProtoMessage()

func (*GetSwapFeeQueryMsg) Reset

func (m *GetSwapFeeQueryMsg) Reset()

func (*GetSwapFeeQueryMsg) Size

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

func (*GetSwapFeeQueryMsg) String

func (m *GetSwapFeeQueryMsg) String() string

func (*GetSwapFeeQueryMsg) Unmarshal

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

func (*GetSwapFeeQueryMsg) XXX_DiscardUnknown

func (m *GetSwapFeeQueryMsg) XXX_DiscardUnknown()

func (*GetSwapFeeQueryMsg) XXX_Marshal

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

func (*GetSwapFeeQueryMsg) XXX_Merge

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

func (*GetSwapFeeQueryMsg) XXX_Size

func (m *GetSwapFeeQueryMsg) XXX_Size() int

func (*GetSwapFeeQueryMsg) XXX_Unmarshal

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

type GetSwapFeeQueryMsgResponse

type GetSwapFeeQueryMsgResponse struct {
	// swap_fee is the swap fee for this swap estimate.
	SwapFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=swap_fee,json=swapFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_fee"`
}

func (*GetSwapFeeQueryMsgResponse) Descriptor

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

func (*GetSwapFeeQueryMsgResponse) Marshal

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

func (*GetSwapFeeQueryMsgResponse) MarshalTo

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

func (*GetSwapFeeQueryMsgResponse) MarshalToSizedBuffer

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

func (*GetSwapFeeQueryMsgResponse) ProtoMessage

func (*GetSwapFeeQueryMsgResponse) ProtoMessage()

func (*GetSwapFeeQueryMsgResponse) Reset

func (m *GetSwapFeeQueryMsgResponse) Reset()

func (*GetSwapFeeQueryMsgResponse) Size

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

func (*GetSwapFeeQueryMsgResponse) String

func (m *GetSwapFeeQueryMsgResponse) String() string

func (*GetSwapFeeQueryMsgResponse) Unmarshal

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

func (*GetSwapFeeQueryMsgResponse) XXX_DiscardUnknown

func (m *GetSwapFeeQueryMsgResponse) XXX_DiscardUnknown()

func (*GetSwapFeeQueryMsgResponse) XXX_Marshal

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

func (*GetSwapFeeQueryMsgResponse) XXX_Merge

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

func (*GetSwapFeeQueryMsgResponse) XXX_Size

func (m *GetSwapFeeQueryMsgResponse) XXX_Size() int

func (*GetSwapFeeQueryMsgResponse) XXX_Unmarshal

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

type GetTotalPoolLiquidityQueryMsg

type GetTotalPoolLiquidityQueryMsg struct {
	// get_total_pool_liquidity is the structure containing request field of the
	// total pool liquidity query message.
	GetTotalPoolLiquidity EmptyStruct `protobuf:"bytes,1,opt,name=get_total_pool_liquidity,json=getTotalPoolLiquidity,proto3" json:"get_total_pool_liquidity"`
}

func (*GetTotalPoolLiquidityQueryMsg) Descriptor

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

func (*GetTotalPoolLiquidityQueryMsg) GetGetTotalPoolLiquidity

func (m *GetTotalPoolLiquidityQueryMsg) GetGetTotalPoolLiquidity() EmptyStruct

func (*GetTotalPoolLiquidityQueryMsg) Marshal

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

func (*GetTotalPoolLiquidityQueryMsg) MarshalTo

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

func (*GetTotalPoolLiquidityQueryMsg) MarshalToSizedBuffer

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

func (*GetTotalPoolLiquidityQueryMsg) ProtoMessage

func (*GetTotalPoolLiquidityQueryMsg) ProtoMessage()

func (*GetTotalPoolLiquidityQueryMsg) Reset

func (m *GetTotalPoolLiquidityQueryMsg) Reset()

func (*GetTotalPoolLiquidityQueryMsg) Size

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

func (*GetTotalPoolLiquidityQueryMsg) String

func (*GetTotalPoolLiquidityQueryMsg) Unmarshal

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

func (*GetTotalPoolLiquidityQueryMsg) XXX_DiscardUnknown

func (m *GetTotalPoolLiquidityQueryMsg) XXX_DiscardUnknown()

func (*GetTotalPoolLiquidityQueryMsg) XXX_Marshal

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

func (*GetTotalPoolLiquidityQueryMsg) XXX_Merge

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

func (*GetTotalPoolLiquidityQueryMsg) XXX_Size

func (m *GetTotalPoolLiquidityQueryMsg) XXX_Size() int

func (*GetTotalPoolLiquidityQueryMsg) XXX_Unmarshal

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

type GetTotalPoolLiquidityQueryMsgResponse

type GetTotalPoolLiquidityQueryMsgResponse struct {
	// total_pool_liquidity is the total liquidity in the pool denominated in
	// coins.
	TotalPoolLiquidity []types.Coin `protobuf:"bytes,1,rep,name=total_pool_liquidity,json=totalPoolLiquidity,proto3" json:"total_pool_liquidity"`
}

func (*GetTotalPoolLiquidityQueryMsgResponse) Descriptor

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

func (*GetTotalPoolLiquidityQueryMsgResponse) GetTotalPoolLiquidity

func (m *GetTotalPoolLiquidityQueryMsgResponse) GetTotalPoolLiquidity() []types.Coin

func (*GetTotalPoolLiquidityQueryMsgResponse) Marshal

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

func (*GetTotalPoolLiquidityQueryMsgResponse) MarshalTo

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

func (*GetTotalPoolLiquidityQueryMsgResponse) MarshalToSizedBuffer

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

func (*GetTotalPoolLiquidityQueryMsgResponse) ProtoMessage

func (*GetTotalPoolLiquidityQueryMsgResponse) ProtoMessage()

func (*GetTotalPoolLiquidityQueryMsgResponse) Reset

func (*GetTotalPoolLiquidityQueryMsgResponse) Size

func (*GetTotalPoolLiquidityQueryMsgResponse) String

func (*GetTotalPoolLiquidityQueryMsgResponse) Unmarshal

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

func (*GetTotalPoolLiquidityQueryMsgResponse) XXX_DiscardUnknown

func (m *GetTotalPoolLiquidityQueryMsgResponse) XXX_DiscardUnknown()

func (*GetTotalPoolLiquidityQueryMsgResponse) XXX_Marshal

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

func (*GetTotalPoolLiquidityQueryMsgResponse) XXX_Merge

func (*GetTotalPoolLiquidityQueryMsgResponse) XXX_Size

func (*GetTotalPoolLiquidityQueryMsgResponse) XXX_Unmarshal

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

type GetTotalSharesQueryMsg

type GetTotalSharesQueryMsg struct {
	// get_total_shares is the structure containing request field of the
	// total shares query message.
	GetTotalShares EmptyStruct `protobuf:"bytes,1,opt,name=get_total_shares,json=getTotalShares,proto3" json:"get_total_shares"`
}

===================== GetTotalSharesQueryMsg

func (*GetTotalSharesQueryMsg) Descriptor

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

func (*GetTotalSharesQueryMsg) GetGetTotalShares

func (m *GetTotalSharesQueryMsg) GetGetTotalShares() EmptyStruct

func (*GetTotalSharesQueryMsg) Marshal

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

func (*GetTotalSharesQueryMsg) MarshalTo

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

func (*GetTotalSharesQueryMsg) MarshalToSizedBuffer

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

func (*GetTotalSharesQueryMsg) ProtoMessage

func (*GetTotalSharesQueryMsg) ProtoMessage()

func (*GetTotalSharesQueryMsg) Reset

func (m *GetTotalSharesQueryMsg) Reset()

func (*GetTotalSharesQueryMsg) Size

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

func (*GetTotalSharesQueryMsg) String

func (m *GetTotalSharesQueryMsg) String() string

func (*GetTotalSharesQueryMsg) Unmarshal

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

func (*GetTotalSharesQueryMsg) XXX_DiscardUnknown

func (m *GetTotalSharesQueryMsg) XXX_DiscardUnknown()

func (*GetTotalSharesQueryMsg) XXX_Marshal

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

func (*GetTotalSharesQueryMsg) XXX_Merge

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

func (*GetTotalSharesQueryMsg) XXX_Size

func (m *GetTotalSharesQueryMsg) XXX_Size() int

func (*GetTotalSharesQueryMsg) XXX_Unmarshal

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

type GetTotalSharesQueryMsgResponse

type GetTotalSharesQueryMsgResponse struct {
	// total_shares is the amount of shares returned.
	TotalShares string `protobuf:"bytes,1,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,omitempty"`
}

func (*GetTotalSharesQueryMsgResponse) Descriptor

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

func (*GetTotalSharesQueryMsgResponse) GetTotalShares

func (m *GetTotalSharesQueryMsgResponse) GetTotalShares() string

func (*GetTotalSharesQueryMsgResponse) Marshal

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

func (*GetTotalSharesQueryMsgResponse) MarshalTo

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

func (*GetTotalSharesQueryMsgResponse) MarshalToSizedBuffer

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

func (*GetTotalSharesQueryMsgResponse) ProtoMessage

func (*GetTotalSharesQueryMsgResponse) ProtoMessage()

func (*GetTotalSharesQueryMsgResponse) Reset

func (m *GetTotalSharesQueryMsgResponse) Reset()

func (*GetTotalSharesQueryMsgResponse) Size

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

func (*GetTotalSharesQueryMsgResponse) String

func (*GetTotalSharesQueryMsgResponse) Unmarshal

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

func (*GetTotalSharesQueryMsgResponse) XXX_DiscardUnknown

func (m *GetTotalSharesQueryMsgResponse) XXX_DiscardUnknown()

func (*GetTotalSharesQueryMsgResponse) XXX_Marshal

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

func (*GetTotalSharesQueryMsgResponse) XXX_Merge

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

func (*GetTotalSharesQueryMsgResponse) XXX_Size

func (m *GetTotalSharesQueryMsgResponse) XXX_Size() int

func (*GetTotalSharesQueryMsgResponse) XXX_Unmarshal

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

type InstantiateMsg

type InstantiateMsg struct {
	// pool_asset_denoms is the list of asset denoms that are initialized
	// at pool creation time.
	PoolAssetDenoms []string `protobuf:"bytes,1,rep,name=pool_asset_denoms,json=poolAssetDenoms,proto3" json:"pool_asset_denoms,omitempty"`
}

===================== InstantiateMsg

func (*InstantiateMsg) Descriptor

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

func (*InstantiateMsg) GetPoolAssetDenoms

func (m *InstantiateMsg) GetPoolAssetDenoms() []string

func (*InstantiateMsg) Marshal

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

func (*InstantiateMsg) MarshalTo

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

func (*InstantiateMsg) MarshalToSizedBuffer

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

func (*InstantiateMsg) ProtoMessage

func (*InstantiateMsg) ProtoMessage()

func (*InstantiateMsg) Reset

func (m *InstantiateMsg) Reset()

func (*InstantiateMsg) Size

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

func (*InstantiateMsg) String

func (m *InstantiateMsg) String() string

func (*InstantiateMsg) Unmarshal

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

func (*InstantiateMsg) XXX_DiscardUnknown

func (m *InstantiateMsg) XXX_DiscardUnknown()

func (*InstantiateMsg) XXX_Marshal

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

func (*InstantiateMsg) XXX_Merge

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

func (*InstantiateMsg) XXX_Size

func (m *InstantiateMsg) XXX_Size() int

func (*InstantiateMsg) XXX_Unmarshal

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

type SpotPrice

type SpotPrice struct {
	// quote_asset_denom is the quote asset of the spot query.
	QuoteAssetDenom string `protobuf:"bytes,1,opt,name=quote_asset_denom,json=quoteAssetDenom,proto3" json:"quote_asset_denom,omitempty"`
	// base_asset_denom is the base asset of the spot query.
	BaseAssetDenom string `protobuf:"bytes,2,opt,name=base_asset_denom,json=baseAssetDenom,proto3" json:"base_asset_denom,omitempty"`
}

===================== SpotPriceQueryMsg

func (*SpotPrice) Descriptor

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

func (*SpotPrice) GetBaseAssetDenom

func (m *SpotPrice) GetBaseAssetDenom() string

func (*SpotPrice) GetQuoteAssetDenom

func (m *SpotPrice) GetQuoteAssetDenom() string

func (*SpotPrice) Marshal

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

func (*SpotPrice) MarshalTo

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

func (*SpotPrice) MarshalToSizedBuffer

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

func (*SpotPrice) ProtoMessage

func (*SpotPrice) ProtoMessage()

func (*SpotPrice) Reset

func (m *SpotPrice) Reset()

func (*SpotPrice) Size

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

func (*SpotPrice) String

func (m *SpotPrice) String() string

func (*SpotPrice) Unmarshal

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

func (*SpotPrice) XXX_DiscardUnknown

func (m *SpotPrice) XXX_DiscardUnknown()

func (*SpotPrice) XXX_Marshal

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

func (*SpotPrice) XXX_Merge

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

func (*SpotPrice) XXX_Size

func (m *SpotPrice) XXX_Size() int

func (*SpotPrice) XXX_Unmarshal

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

type SpotPriceQueryMsg

type SpotPriceQueryMsg struct {
	// spot_price is the structure containing request field of the spot price
	// query message.
	SpotPrice SpotPrice `protobuf:"bytes,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price"`
}

func (*SpotPriceQueryMsg) Descriptor

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

func (*SpotPriceQueryMsg) GetSpotPrice

func (m *SpotPriceQueryMsg) GetSpotPrice() SpotPrice

func (*SpotPriceQueryMsg) Marshal

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

func (*SpotPriceQueryMsg) MarshalTo

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

func (*SpotPriceQueryMsg) MarshalToSizedBuffer

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

func (*SpotPriceQueryMsg) ProtoMessage

func (*SpotPriceQueryMsg) ProtoMessage()

func (*SpotPriceQueryMsg) Reset

func (m *SpotPriceQueryMsg) Reset()

func (*SpotPriceQueryMsg) Size

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

func (*SpotPriceQueryMsg) String

func (m *SpotPriceQueryMsg) String() string

func (*SpotPriceQueryMsg) Unmarshal

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

func (*SpotPriceQueryMsg) XXX_DiscardUnknown

func (m *SpotPriceQueryMsg) XXX_DiscardUnknown()

func (*SpotPriceQueryMsg) XXX_Marshal

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

func (*SpotPriceQueryMsg) XXX_Merge

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

func (*SpotPriceQueryMsg) XXX_Size

func (m *SpotPriceQueryMsg) XXX_Size() int

func (*SpotPriceQueryMsg) XXX_Unmarshal

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

type SpotPriceQueryMsgResponse

type SpotPriceQueryMsgResponse struct {
	// spot_price is the spot price returned.
	SpotPrice string `protobuf:"bytes,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty"`
}

func (*SpotPriceQueryMsgResponse) Descriptor

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

func (*SpotPriceQueryMsgResponse) GetSpotPrice

func (m *SpotPriceQueryMsgResponse) GetSpotPrice() string

func (*SpotPriceQueryMsgResponse) Marshal

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

func (*SpotPriceQueryMsgResponse) MarshalTo

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

func (*SpotPriceQueryMsgResponse) MarshalToSizedBuffer

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

func (*SpotPriceQueryMsgResponse) ProtoMessage

func (*SpotPriceQueryMsgResponse) ProtoMessage()

func (*SpotPriceQueryMsgResponse) Reset

func (m *SpotPriceQueryMsgResponse) Reset()

func (*SpotPriceQueryMsgResponse) Size

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

func (*SpotPriceQueryMsgResponse) String

func (m *SpotPriceQueryMsgResponse) String() string

func (*SpotPriceQueryMsgResponse) Unmarshal

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

func (*SpotPriceQueryMsgResponse) XXX_DiscardUnknown

func (m *SpotPriceQueryMsgResponse) XXX_DiscardUnknown()

func (*SpotPriceQueryMsgResponse) XXX_Marshal

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

func (*SpotPriceQueryMsgResponse) XXX_Merge

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

func (*SpotPriceQueryMsgResponse) XXX_Size

func (m *SpotPriceQueryMsgResponse) XXX_Size() int

func (*SpotPriceQueryMsgResponse) XXX_Unmarshal

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

type SwapExactAmountIn

type SwapExactAmountIn struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// token_in is the token to be sent to the pool.
	TokenIn types.Coin `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in"`
	// token_out_denom is the token denom to be received from the pool.
	TokenOutDenom string `protobuf:"bytes,3,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty"`
	// token_out_min_amount is the minimum amount of token_out to be received from
	// the pool.
	TokenOutMinAmount cosmossdk_io_math.Int `` /* 139-byte string literal not displayed */
	// swap_fee is the swap fee for this swap estimate.
	SwapFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=swap_fee,json=swapFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_fee"`
}

===================== SwapExactAmountIn

func (*SwapExactAmountIn) Descriptor

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

func (*SwapExactAmountIn) GetSender

func (m *SwapExactAmountIn) GetSender() string

func (*SwapExactAmountIn) GetTokenIn

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

func (*SwapExactAmountIn) GetTokenOutDenom

func (m *SwapExactAmountIn) GetTokenOutDenom() string

func (*SwapExactAmountIn) Marshal

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

func (*SwapExactAmountIn) MarshalTo

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

func (*SwapExactAmountIn) MarshalToSizedBuffer

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

func (*SwapExactAmountIn) ProtoMessage

func (*SwapExactAmountIn) ProtoMessage()

func (*SwapExactAmountIn) Reset

func (m *SwapExactAmountIn) Reset()

func (*SwapExactAmountIn) Size

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

func (*SwapExactAmountIn) String

func (m *SwapExactAmountIn) String() string

func (*SwapExactAmountIn) Unmarshal

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

func (*SwapExactAmountIn) XXX_DiscardUnknown

func (m *SwapExactAmountIn) XXX_DiscardUnknown()

func (*SwapExactAmountIn) XXX_Marshal

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

func (*SwapExactAmountIn) XXX_Merge

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

func (*SwapExactAmountIn) XXX_Size

func (m *SwapExactAmountIn) XXX_Size() int

func (*SwapExactAmountIn) XXX_Unmarshal

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

type SwapExactAmountInSudoMsg

type SwapExactAmountInSudoMsg struct {
	// swap_exact_amount_in is the structure containing all the request
	// information for this message.
	SwapExactAmountIn SwapExactAmountIn `protobuf:"bytes,1,opt,name=swap_exact_amount_in,json=swapExactAmountIn,proto3" json:"swap_exact_amount_in"`
}

func NewSwapExactAmountInSudoMsg

func NewSwapExactAmountInSudoMsg(sender string, tokenIn sdk.Coin, tokenOutDenom string, tokenOutMin osmomath.Int, swapFee osmomath.Dec) SwapExactAmountInSudoMsg

SwapExactAmountIn

func (*SwapExactAmountInSudoMsg) Descriptor

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

func (*SwapExactAmountInSudoMsg) GetSwapExactAmountIn

func (m *SwapExactAmountInSudoMsg) GetSwapExactAmountIn() SwapExactAmountIn

func (*SwapExactAmountInSudoMsg) Marshal

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

func (*SwapExactAmountInSudoMsg) MarshalTo

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

func (*SwapExactAmountInSudoMsg) MarshalToSizedBuffer

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

func (*SwapExactAmountInSudoMsg) ProtoMessage

func (*SwapExactAmountInSudoMsg) ProtoMessage()

func (*SwapExactAmountInSudoMsg) Reset

func (m *SwapExactAmountInSudoMsg) Reset()

func (*SwapExactAmountInSudoMsg) Size

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

func (*SwapExactAmountInSudoMsg) String

func (m *SwapExactAmountInSudoMsg) String() string

func (*SwapExactAmountInSudoMsg) Unmarshal

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

func (*SwapExactAmountInSudoMsg) XXX_DiscardUnknown

func (m *SwapExactAmountInSudoMsg) XXX_DiscardUnknown()

func (*SwapExactAmountInSudoMsg) XXX_Marshal

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

func (*SwapExactAmountInSudoMsg) XXX_Merge

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

func (*SwapExactAmountInSudoMsg) XXX_Size

func (m *SwapExactAmountInSudoMsg) XXX_Size() int

func (*SwapExactAmountInSudoMsg) XXX_Unmarshal

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

type SwapExactAmountInSudoMsgResponse

type SwapExactAmountInSudoMsgResponse struct {
	// token_out_amount is the token out computed from this swap estimate call.
	TokenOutAmount cosmossdk_io_math.Int `` /* 128-byte string literal not displayed */
}

func (*SwapExactAmountInSudoMsgResponse) Descriptor

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

func (*SwapExactAmountInSudoMsgResponse) Marshal

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

func (*SwapExactAmountInSudoMsgResponse) MarshalTo

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

func (*SwapExactAmountInSudoMsgResponse) MarshalToSizedBuffer

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

func (*SwapExactAmountInSudoMsgResponse) ProtoMessage

func (*SwapExactAmountInSudoMsgResponse) ProtoMessage()

func (*SwapExactAmountInSudoMsgResponse) Reset

func (*SwapExactAmountInSudoMsgResponse) Size

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

func (*SwapExactAmountInSudoMsgResponse) String

func (*SwapExactAmountInSudoMsgResponse) Unmarshal

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

func (*SwapExactAmountInSudoMsgResponse) XXX_DiscardUnknown

func (m *SwapExactAmountInSudoMsgResponse) XXX_DiscardUnknown()

func (*SwapExactAmountInSudoMsgResponse) XXX_Marshal

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

func (*SwapExactAmountInSudoMsgResponse) XXX_Merge

func (*SwapExactAmountInSudoMsgResponse) XXX_Size

func (m *SwapExactAmountInSudoMsgResponse) XXX_Size() int

func (*SwapExactAmountInSudoMsgResponse) XXX_Unmarshal

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

type SwapExactAmountOut

type SwapExactAmountOut struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// token_out is the token to be sent out of the pool.
	TokenOut types.Coin `protobuf:"bytes,2,opt,name=token_out,json=tokenOut,proto3" json:"token_out"`
	// token_in_denom is the token denom to be sent too the pool.
	TokenInDenom string `protobuf:"bytes,3,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty"`
	// token_in_max_amount is the maximum amount of token_in to be sent to the
	// pool.
	TokenInMaxAmount cosmossdk_io_math.Int `` /* 136-byte string literal not displayed */
	// swap_fee is the swap fee for this swap estimate.
	SwapFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=swap_fee,json=swapFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_fee"`
}

===================== SwapExactAmountOut

func (*SwapExactAmountOut) Descriptor

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

func (*SwapExactAmountOut) GetSender

func (m *SwapExactAmountOut) GetSender() string

func (*SwapExactAmountOut) GetTokenInDenom

func (m *SwapExactAmountOut) GetTokenInDenom() string

func (*SwapExactAmountOut) GetTokenOut

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

func (*SwapExactAmountOut) Marshal

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

func (*SwapExactAmountOut) MarshalTo

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

func (*SwapExactAmountOut) MarshalToSizedBuffer

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

func (*SwapExactAmountOut) ProtoMessage

func (*SwapExactAmountOut) ProtoMessage()

func (*SwapExactAmountOut) Reset

func (m *SwapExactAmountOut) Reset()

func (*SwapExactAmountOut) Size

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

func (*SwapExactAmountOut) String

func (m *SwapExactAmountOut) String() string

func (*SwapExactAmountOut) Unmarshal

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

func (*SwapExactAmountOut) XXX_DiscardUnknown

func (m *SwapExactAmountOut) XXX_DiscardUnknown()

func (*SwapExactAmountOut) XXX_Marshal

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

func (*SwapExactAmountOut) XXX_Merge

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

func (*SwapExactAmountOut) XXX_Size

func (m *SwapExactAmountOut) XXX_Size() int

func (*SwapExactAmountOut) XXX_Unmarshal

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

type SwapExactAmountOutSudoMsg

type SwapExactAmountOutSudoMsg struct {
	// swap_exact_amount_out is the structure containing all the request
	// information for this message.
	SwapExactAmountOut SwapExactAmountOut `protobuf:"bytes,1,opt,name=swap_exact_amount_out,json=swapExactAmountOut,proto3" json:"swap_exact_amount_out"`
}

func NewSwapExactAmountOutSudoMsg

func NewSwapExactAmountOutSudoMsg(sender string, tokenInDenom string, tokenOut sdk.Coin, tokenInMaxAmount osmomath.Int, swapFee osmomath.Dec) SwapExactAmountOutSudoMsg

SwapExactAmountOut

func (*SwapExactAmountOutSudoMsg) Descriptor

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

func (*SwapExactAmountOutSudoMsg) GetSwapExactAmountOut

func (m *SwapExactAmountOutSudoMsg) GetSwapExactAmountOut() SwapExactAmountOut

func (*SwapExactAmountOutSudoMsg) Marshal

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

func (*SwapExactAmountOutSudoMsg) MarshalTo

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

func (*SwapExactAmountOutSudoMsg) MarshalToSizedBuffer

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

func (*SwapExactAmountOutSudoMsg) ProtoMessage

func (*SwapExactAmountOutSudoMsg) ProtoMessage()

func (*SwapExactAmountOutSudoMsg) Reset

func (m *SwapExactAmountOutSudoMsg) Reset()

func (*SwapExactAmountOutSudoMsg) Size

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

func (*SwapExactAmountOutSudoMsg) String

func (m *SwapExactAmountOutSudoMsg) String() string

func (*SwapExactAmountOutSudoMsg) Unmarshal

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

func (*SwapExactAmountOutSudoMsg) XXX_DiscardUnknown

func (m *SwapExactAmountOutSudoMsg) XXX_DiscardUnknown()

func (*SwapExactAmountOutSudoMsg) XXX_Marshal

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

func (*SwapExactAmountOutSudoMsg) XXX_Merge

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

func (*SwapExactAmountOutSudoMsg) XXX_Size

func (m *SwapExactAmountOutSudoMsg) XXX_Size() int

func (*SwapExactAmountOutSudoMsg) XXX_Unmarshal

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

type SwapExactAmountOutSudoMsgResponse

type SwapExactAmountOutSudoMsgResponse struct {
	// token_in_amount is the token in computed from this swap estimate call.
	TokenInAmount cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=token_in_amount,json=tokenInAmount,proto3,customtype=cosmossdk.io/math.Int" json:"token_in_amount"`
}

func (*SwapExactAmountOutSudoMsgResponse) Descriptor

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

func (*SwapExactAmountOutSudoMsgResponse) Marshal

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

func (*SwapExactAmountOutSudoMsgResponse) MarshalTo

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

func (*SwapExactAmountOutSudoMsgResponse) MarshalToSizedBuffer

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

func (*SwapExactAmountOutSudoMsgResponse) ProtoMessage

func (*SwapExactAmountOutSudoMsgResponse) ProtoMessage()

func (*SwapExactAmountOutSudoMsgResponse) Reset

func (*SwapExactAmountOutSudoMsgResponse) Size

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

func (*SwapExactAmountOutSudoMsgResponse) String

func (*SwapExactAmountOutSudoMsgResponse) Unmarshal

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

func (*SwapExactAmountOutSudoMsgResponse) XXX_DiscardUnknown

func (m *SwapExactAmountOutSudoMsgResponse) XXX_DiscardUnknown()

func (*SwapExactAmountOutSudoMsgResponse) XXX_Marshal

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

func (*SwapExactAmountOutSudoMsgResponse) XXX_Merge

func (*SwapExactAmountOutSudoMsgResponse) XXX_Size

func (m *SwapExactAmountOutSudoMsgResponse) XXX_Size() int

func (*SwapExactAmountOutSudoMsgResponse) XXX_Unmarshal

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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