types

package
v6.0.0-...-d56d304 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout = "timeout"
	EventTypePacket  = "interchain_ibc_packet"

	EventTypeSingleDepositOrder = "single_deposit"
	EventTypeLiquidityWithdraw  = "liquidity_withdraw"
	EventTypeSwap               = "swap_assets"
	EventTypeIBCStep            = ""

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"

	AttributeKeyAction              = "action"
	AttributeKeyPoolId              = "pool_id"
	AttributeKeyMultiDepositOrderId = "order_id"
	AttributeKeyMultiDeposits       = "deposit"
	AttributeKeyTokenIn             = "token_in"
	AttributeKeyTokenOut            = "token_out"
	AttributeKeyLpToken             = "liquidity_pool_token"
	AttributeKeyLpSupply            = "liquidity_pool_token_supply"
	AttributeKeyPoolCreator         = "pool_creator"
	AttributeKeyOrderCreator        = "order_creator"
	AttributeKeyName                = "name"
	AttributeKeyPoolStatus          = "pool_status"
	AttributeKeyMsgSender           = "msg_sender"
)

IBC events

View Source
const (
	EventValueActionMakePool   = "make_pool"
	EventValueActionTakePool   = "take_pool"
	EventValueActionCancelPool = "cancel_pool"

	EventValueActionMakeOrder            = "make_order"
	EventValueActionTakeOrder            = "take_order"
	EventValueActionCancelOrder          = "cancel_order"
	EventValueActionSingleDeposit        = "single_deposit"
	EventValueActionMakeMultiDeposit     = "make_multi_deposit_order"
	EventValueActionTakeMultiDeposit     = "take_multi_deposit_order"
	EventValueActionCancelMultiDeposit   = "cancel_multi_deposit_order"
	EventValueActionWithdrawMultiDeposit = "withdraw_multi_deposit_order"
	EventValueActionSwap                 = "swap"
	EventOwner                           = "interchain_swap"
)
View Source
const (
	EventValueSuffixReceived     = "received"
	EventValueSuffixAcknowledged = "acknowledged"
)
View Source
const (
	// MultiDepositOrderKeyPrefix is the prefix to retrieve all MultiDepositOrder
	MultiDepositOrderKeyPrefix      = "MultiDepositOrder/value/"
	MultiDepositOrderCountKeyPrefix = "MultiDepositOrderCount/value/"

	MultiDepositOrderIDByCreatorsKeyPrefix = "MultiDepositOrderIDByCreator/value/"
)
View Source
const (
	// ModuleName defines the IBC swap name
	ModuleName = "interchainswap"

	// Version defines the current version the IBC swap
	// module supports
	Version = "ics101-1"

	// PortID is the default port id that swap module binds to
	PortID = ModuleName

	// StoreKey is the store key string for IBC swap
	StoreKey = ModuleName

	// RouterKey is the message route for IBC swap
	RouterKey = ModuleName

	// QuerierRoute is the querier route for IBC swap
	QuerierRoute = ModuleName

	Multiplier      = 1e18
	MaximumSlippage = 10000

	MaxPoolCount = 100000000

	MULTI_DEPOSIT_PENDING_LIMIT = 10
)
View Source
const (
	DefaultSwapEnabled = true
	// DefaultMaxFeeRate is 0.003
	DefaultMaxFeeRate = 300
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// InterchainLiquidityPoolKeyPrefix is the prefix to retrieve all InterchainLiquidityPool
	InterchainLiquidityPoolKeyPrefix = "InterchainLiquidityPool/value/"
)
View Source
const (
	// InterchainMarketMakerKeyPrefix is the prefix to retrieve all InterchainMarketMaker
	InterchainMarketMakerKeyPrefix = "InterchainMarketMaker/value/"
)
View Source
const (
	// ProposalTypeMarketFeeUpdate defines the type for a MarketFeeUpdateProposal
	ProposalTypeMarketFeeUpdate = "MarketFeeUpdate"
)
View Source
const TypeMsgCancelMultiAssetDeposit = "cancel_multi_asset_deposit"
View Source
const TypeMsgCancelPool = "cancel_pool"
View Source
const TypeMsgDeposit = "deposit"
View Source
const TypeMsgMakeMultiAssetDeposit = "make_multi_asset_deposit"
View Source
const TypeMsgMakePool = "make_pool"
View Source
const TypeMsgSwap = "swap"
View Source
const TypeMsgTakeMultiAssetDeposit = "take_multi_asset_deposit"
View Source
const TypeMsgTakePool = "take_pool"
View Source
const TypeMsgWithdraw = "withdraw"

Variables

View Source
var (
	ErrSample                         = errorsmod.Register(ModuleName, 1100, "sample error")
	ErrInvalidRequest                 = errorsmod.Register(ModuleName, 1101, "invalid request")
	ErrInvalidType                    = errorsmod.Register(ModuleName, 1102, "invalid packet type")
	ErrUnknownRequest                 = errorsmod.Register(ModuleName, 1103, "unknown request")
	ErrInvalidPacketTimeout           = errorsmod.Register(ModuleName, 1500, "invalid packet timeout")
	ErrInvalidVersion                 = errorsmod.Register(ModuleName, 1501, "invalid version")
	ErrNotFoundPool                   = errorsmod.Register(ModuleName, 1502, "did not find pool")
	ErrInvalidAmount                  = errorsmod.Register(ModuleName, 1503, "Invalid token amount")
	ErrInvalidTokenLength             = errorsmod.Register(ModuleName, 1504, "Invalid token length")
	ErrUnknownDataPacket              = errorsmod.Register(ModuleName, 1505, "unknown packet")
	ErrInvalidAddress                 = errorsmod.Register(ModuleName, 1506, "invalid address")
	ErrInvalidPort                    = errorsmod.Register(ModuleName, 1507, "invalid port")
	ErrInvalidChannel                 = errorsmod.Register(ModuleName, 1508, "invalid channel")
	ErrNotFoundDenomInPool            = errorsmod.Register(ModuleName, 1509, "not find denom in the pool")
	ErrInvalidDenomPair               = errorsmod.Register(ModuleName, 1510, "invalid denom pair")
	ErrInvalidDecimalPair             = errorsmod.Register(ModuleName, 1511, "invalid decimal pair")
	ErrInvalidWeightPair              = errorsmod.Register(ModuleName, 1512, "invalid weight pair")
	ErrEmptyDenom                     = errorsmod.Register(ModuleName, 1513, "dropped denom")
	ErrInvalidSlippage                = errorsmod.Register(ModuleName, 1514, "invalid slippage")
	ErrNotReadyForSwap                = errorsmod.Register(ModuleName, 1515, "pool is not ready for swap")
	ErrNumberOfLocalAsset             = errorsmod.Register(ModuleName, 1516, "should have 1 native asset on the chain")
	ErrNotNativeDenom                 = errorsmod.Register(ModuleName, 1517, "invalid native denom")
	ErrFailedMakePool                 = errorsmod.Register(ModuleName, 1518, "failed to create pool")
	ErrFailedDeposit                  = errorsmod.Register(ModuleName, 1519, "failed to deposit")
	ErrFailedWithdraw                 = errorsmod.Register(ModuleName, 1520, "failed to withdraw")
	ErrFailedSwap                     = errorsmod.Register(ModuleName, 1521, "failed to interchain swap")
	ErrFailedOnCreatePoolReceived     = errorsmod.Register(ModuleName, 1522, "failed to treat create pool msg!")
	ErrFailedOnDepositReceived        = errorsmod.Register(ModuleName, 1523, "failed to treat deposit msg!")
	ErrFailedOnWithdrawReceived       = errorsmod.Register(ModuleName, 1524, "failed to treat withdraw msg!")
	ErrFailedOnSwapReceived           = errorsmod.Register(ModuleName, 1525, "failed to treat swap msg!")
	ErrFailedOnCreatePoolAck          = errorsmod.Register(ModuleName, 1526, "failed to treat create pool ack!")
	ErrFailedOnDepositAck             = errorsmod.Register(ModuleName, 1527, "failed to treat deposit ack!")
	ErrFailedOnWithdrawAck            = errorsmod.Register(ModuleName, 1528, "failed to treat withdraw ack!")
	ErrFailedOnSwapAck                = errorsmod.Register(ModuleName, 1529, "failed to treat swap ack!")
	ErrMaxTransferChannels            = errorsmod.Register(ModuleName, 1530, "max transfer channels")
	ErrAlreadyExistPool               = errorsmod.Register(ModuleName, 1531, "already exist pool!")
	ErrSwapEnabled                    = errorsmod.Register(ModuleName, 1532, "swap is disabled!")
	ErrEmptyInitialLiquidity          = errorsmod.Register(ModuleName, 1533, "creator don't have liquidity!")
	ErrIncorrectInitialLiquidityDenom = errorsmod.Register(ModuleName, 1534, "initial liquidity denom has to match with one of pool denom pair")
	ErrInvalidSwapType                = errorsmod.Register(ModuleName, 1535, "invalid swap type!")
	ErrInvalidDenom                   = errorsmod.Register(ModuleName, 1536, "invalid denom")
	ErrInvalidAddressPair             = errorsmod.Register(ModuleName, 1537, "invalid address pair!")
	ErrInvalidInitialDeposit          = errorsmod.Register(ModuleName, 1538, "Invalid token amount for initial deposit")
	ErrNotAllowedAmount               = errorsmod.Register(ModuleName, 1539, "not allowed single deposit amount")
	ErrInvalidSignature               = errorsmod.Register(ModuleName, 1540, "invalid signature")
	ErrInvalidMessageType             = errorsmod.Register(ModuleName, 1541, "invalid message type!")
	ErrSubDepositTxExecutionFailed    = errorsmod.Register(ModuleName, 1542, "sub deposit tx excution failed!")
	ErrInvalidMsgRouter               = errorsmod.Register(ModuleName, 1543, "invalid msg router")
	ErrInvalidMsg                     = errorsmod.Register(ModuleName, 1544, "invalid transaction message")
	ErrFailedMultiAssetDeposit        = errorsmod.Register(ModuleName, 1545, "failed to double deposit")
	ErrInvalidPubKey                  = errorsmod.Register(ModuleName, 1546, "invalid pub key")
	ErrInvalidMessage                 = errorsmod.Register(ModuleName, 1547, "invalid message")
	ErrInEnoughAmount                 = errorsmod.Register(ModuleName, 1548, "invalid enough amount")
	ErrInvalidPairRatio               = errorsmod.Register(ModuleName, 1549, "invalid ratio of inputted tokens")
	ErrInvalidDecimal                 = errorsmod.Register(ModuleName, 1551, "invalid decimal")
	ErrInvalidWeight                  = errorsmod.Register(ModuleName, 1552, "invalid weight pair")
	ErrInvalidLiquidity               = errorsmod.Register(ModuleName, 1554, "doesn't exist this denom in the chain")
	ErrInvalidSwapFee                 = errorsmod.Register(ModuleName, 1555, "invalid swap Fee!")
	ErrEmptyPoolId                    = errorsmod.Register(ModuleName, 1556, "empty poolID")
	ErrFailedTakePool                 = errorsmod.Register(ModuleName, 1557, "failed to enable pool")
	ErrMultipleAssetDepositNotAllowed = errorsmod.Register(ModuleName, 1558, "can't take other's deposit order")
	ErrSameChain                      = errorsmod.Register(ModuleName, 1559, "can't take operation in same chain")
	ErrPreviousOrderNotCompleted      = errorsmod.Register(ModuleName, 1560, "can't take deposit, previous order did not complete.")
	ErrNotFoundMultiDepositOrder      = errorsmod.Register(ModuleName, 1561, "did not find multi deposit order")
	ErrOverflowAmount                 = errorsmod.Register(ModuleName, 1562, "over flow token amount")
	ErrConnection                     = errorsmod.Register(ModuleName, 1563, "connection doesn't establish")
	ErrAlreadyCompletedOrder          = errorsmod.Register(ModuleName, 1564, "already completed order")
	ErrNotEnoughPermission            = errorsmod.Register(ModuleName, 1565, "not enough permission.")
	ErrInvalidLiquidityPair           = errorsmod.Register(ModuleName, 1566, "invalid liquidity pair")
	ErrMissedIBCParams                = errorsmod.Register(ModuleName, 1567, "port, channel have to point to broadcast ibc message!")
	ErrNotFoundOrder                  = errorsmod.Register(ModuleName, 1568, "did not find order")
	ErrCancelPool                     = errorsmod.Register(ModuleName, 1569, "failed to cancel pool")
	ErrCancelOrder                    = errorsmod.Register(ModuleName, 1570, "failed to cancel order")
	ErrInvalidPoolId                  = errorsmod.Register(ModuleName, 1571, "invalid poolID")
)

x/interchainswap module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// PortKey defines the key to store the port ID in store
	PortKey                = []byte{0x01}
	PoolIdToCountKeyPrefix = []byte{0x02}
	CurrentPoolCountKey    = []byte{0x03}
)
View Source
var (
	ErrInvalidLengthMarket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMarket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMarket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParam        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParam          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParam = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeySwapEnabled    = []byte("SwapEnabled")
	KeySwapMaxFeeRate = []byte("MaxFeeRate")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ibc.applications.interchain_swap.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "MakePool",
			Handler:    _Msg_MakePool_Handler,
		},
		{
			MethodName: "TakePool",
			Handler:    _Msg_TakePool_Handler,
		},
		{
			MethodName: "CancelPool",
			Handler:    _Msg_CancelPool_Handler,
		},
		{
			MethodName: "SingleAssetDeposit",
			Handler:    _Msg_SingleAssetDeposit_Handler,
		},
		{
			MethodName: "MakeMultiAssetDeposit",
			Handler:    _Msg_MakeMultiAssetDeposit_Handler,
		},
		{
			MethodName: "TakeMultiAssetDeposit",
			Handler:    _Msg_TakeMultiAssetDeposit_Handler,
		},
		{
			MethodName: "CancelMultiAssetDeposit",
			Handler:    _Msg_CancelMultiAssetDeposit_Handler,
		},
		{
			MethodName: "MultiAssetWithdraw",
			Handler:    _Msg_MultiAssetWithdraw_Handler,
		},
		{
			MethodName: "Swap",
			Handler:    _Msg_Swap_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ibc/applications/interchain_swap/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrderStatus_name = map[int32]string{
	0: "PENDING",
	1: "COMPLETE",
}
View Source
var OrderStatus_value = map[string]int32{
	"PENDING":  0,
	"COMPLETE": 1,
}
View Source
var PoolAssetSide_name = map[int32]string{
	0: "SOURCE",
	1: "DESTINATION",
}
View Source
var PoolAssetSide_value = map[string]int32{
	"SOURCE":      0,
	"DESTINATION": 1,
}
View Source
var PoolStatus_name = map[int32]string{
	0: "INITIALIZED",
	1: "ACTIVE",
}
View Source
var PoolStatus_value = map[string]int32{
	"INITIALIZED": 0,
	"ACTIVE":      1,
}
View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ibc.applications.interchain_swap.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "EscrowAddress",
			Handler:    _Query_EscrowAddress_Handler,
		},
		{
			MethodName: "InterchainLiquidityPool",
			Handler:    _Query_InterchainLiquidityPool_Handler,
		},
		{
			MethodName: "InterchainLiquidityPoolAll",
			Handler:    _Query_InterchainLiquidityPoolAll_Handler,
		},
		{
			MethodName: "InterchainLiquidityMyPoolAll",
			Handler:    _Query_InterchainLiquidityMyPoolAll_Handler,
		},
		{
			MethodName: "InterchainMarketMaker",
			Handler:    _Query_InterchainMarketMaker_Handler,
		},
		{
			MethodName: "InterchainMarketMakerAll",
			Handler:    _Query_InterchainMarketMakerAll_Handler,
		},
		{
			MethodName: "InterchainMultiDepositOrder",
			Handler:    _Query_InterchainMultiDepositOrder_Handler,
		},
		{
			MethodName: "InterchainLatestMultiDepositOrderByCreator",
			Handler:    _Query_InterchainLatestMultiDepositOrderByCreator_Handler,
		},
		{
			MethodName: "InterchainMultiDepositOrdersAll",
			Handler:    _Query_InterchainMultiDepositOrdersAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ibc/applications/interchain_swap/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SwapMessageType_name = map[int32]string{
	0:  "TYPE_UNSPECIFIED",
	1:  "TYPE_MAKE_POOL",
	2:  "TYPE_TAKE_POOL",
	3:  "TYPE_CANCEL_POOL",
	4:  "TYPE_SINGLE_DEPOSIT",
	5:  "TYPE_MAKE_MULTI_DEPOSIT",
	6:  "TYPE_CANCEL_MULTI_DEPOSIT",
	7:  "TYPE_TAKE_MULTI_DEPOSIT",
	8:  "TYPE_MULTI_WITHDRAW",
	9:  "TYPE_LEFT_SWAP",
	10: "TYPE_RIGHT_SWAP",
}
View Source
var SwapMessageType_value = map[string]int32{
	"TYPE_UNSPECIFIED":          0,
	"TYPE_MAKE_POOL":            1,
	"TYPE_TAKE_POOL":            2,
	"TYPE_CANCEL_POOL":          3,
	"TYPE_SINGLE_DEPOSIT":       4,
	"TYPE_MAKE_MULTI_DEPOSIT":   5,
	"TYPE_CANCEL_MULTI_DEPOSIT": 6,
	"TYPE_TAKE_MULTI_DEPOSIT":   7,
	"TYPE_MULTI_WITHDRAW":       8,
	"TYPE_LEFT_SWAP":            9,
	"TYPE_RIGHT_SWAP":           10,
}
View Source
var SwapMsgType_name = map[int32]string{
	0: "LEFT",
	1: "RIGHT",
}
View Source
var SwapMsgType_value = map[string]int32{
	"LEFT":  0,
	"RIGHT": 1,
}

Functions

func BytesToUint

func BytesToUint(b []byte) (uint, error)

func CheckSlippage

func CheckSlippage(expect, result sdk.Dec, desireSlippage int64) error

slippage value have to be in 0~10000

func CreateEscrowAccount

func CreateEscrowAccount(portID, channelID string)

func DeserializeDepositTx

func DeserializeDepositTx(cdc codec.BinaryCodec, data []byte) (*banktypes.MsgSend, error)

func Exp

func Exp(dec types.Dec) types.Dec

Exponential function

func GenerateRandomString

func GenerateRandomString(chainID string, n int) string

func GetCoinsFromDepositAssets

func GetCoinsFromDepositAssets(assets []*DepositAsset) []*sdk.Coin

func GetConnectID

func GetConnectID(chainIds ...string) string

func GetDefaultTimeOut

func GetDefaultTimeOut(ctx *sdk.Context) (clienttypes.Height, uint64)

func GetEscrowAddress

func GetEscrowAddress(portID, channelID string) sdk.AccAddress

func GetEscrowAddressWithModuleName

func GetEscrowAddressWithModuleName(name string) sdk.AccAddress

func GetEscrowModuleName

func GetEscrowModuleName(portID, channelID string) string

func GetEventAttrOfAsset

func GetEventAttrOfAsset(assets []*DepositAsset) []sdk.Attribute

func GetEventValueWithSuffix

func GetEventValueWithSuffix(value, suffix string) string

func GetOrderId

func GetOrderId(maker string, sequence uint64) string

func GetPoolId

func GetPoolId(sourceChainId, destinationChainId string, denoms []string) string

func InitialPoolTokenKey

func InitialPoolTokenKey(
	poolId string,
) []byte

InterchainLiquidityPoolKey returns the store key to retrieve a InterchainLiquidityPool from the index fields

func InterchainLiquidityPoolKey

func InterchainLiquidityPoolKey(
	poolId string,
) []byte

InterchainLiquidityPoolKey returns the store key to retrieve a InterchainLiquidityPool from the index fields

func InterchainMarketMakerKey

func InterchainMarketMakerKey(
	poolId string,
) []byte

InterchainMarketMakerKey returns the store key to retrieve a InterchainMarketMaker from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func Ln

func Ln(dec types.Dec) types.Dec

Natural logarithm with the Newton-Raphson method

func MultiDepositOrderPrefixKey

func MultiDepositOrderPrefixKey(
	orderId string,
) []byte

MultiDepositOrderPrefixKey returns the store key to retrieve a MultiDepositOrder from the index fields

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

func UintToBytes

func UintToBytes(num uint) ([]byte, error)

func ValidateLiquidityBasic

func ValidateLiquidityBasic(liquidity []*PoolAsset) error

Types

type AccountKeeper

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

	NewAccount(ctx sdk.Context, acc types.AccountI) types.AccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

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

type AckData

type AckData[T any, U any] struct {
	Req T
	Res U
}

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error

	// Methods imported from bank should be defined here
	MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error

	HasSupply(ctx sdk.Context, denom string) bool
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	BlockedAddr(addr sdk.AccAddress) bool
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool)
	GetConnection(ctx sdk.Context, connectionID string) (exported.ConnectionI, error)
	GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper.

type DepositAsset

type DepositAsset struct {
	Sender  string       `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Balance *types1.Coin `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
}

func (*DepositAsset) Descriptor

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

func (*DepositAsset) GetBalance

func (m *DepositAsset) GetBalance() *types1.Coin

func (*DepositAsset) GetSender

func (m *DepositAsset) GetSender() string

func (*DepositAsset) Marshal

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

func (*DepositAsset) MarshalTo

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

func (*DepositAsset) MarshalToSizedBuffer

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

func (*DepositAsset) ProtoMessage

func (*DepositAsset) ProtoMessage()

func (*DepositAsset) Reset

func (m *DepositAsset) Reset()

func (*DepositAsset) Size

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

func (*DepositAsset) String

func (m *DepositAsset) String() string

func (*DepositAsset) Unmarshal

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

func (*DepositAsset) XXX_DiscardUnknown

func (m *DepositAsset) XXX_DiscardUnknown()

func (*DepositAsset) XXX_Marshal

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

func (*DepositAsset) XXX_Merge

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

func (*DepositAsset) XXX_Size

func (m *DepositAsset) XXX_Size() int

func (*DepositAsset) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	PortId                      string                    `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"`
	Params                      Params                    `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
	InterchainLiquidityPoolList []InterchainLiquidityPool `protobuf:"bytes,3,rep,name=interchainLiquidityPoolList,proto3" json:"interchainLiquidityPoolList"`
	InterchainMarketMakerList   []InterchainMarketMaker   `protobuf:"bytes,4,rep,name=interchainMarketMakerList,proto3" json:"interchainMarketMakerList"`
}

GenesisState defines the ibc-transfer genesis state

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetInterchainLiquidityPoolList

func (m *GenesisState) GetInterchainLiquidityPoolList() []InterchainLiquidityPool

func (*GenesisState) GetInterchainMarketMakerList

func (m *GenesisState) GetInterchainMarketMakerList() []InterchainMarketMaker

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IBCSwapPacketData

type IBCSwapPacketData struct {
	Type SwapMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=ibc.applications.interchain_swap.v1.SwapMessageType" json:"type,omitempty"`
	// marshall data of transactions
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// current pool states on source chain, could be empty.
	StateChange []byte `protobuf:"bytes,3,opt,name=stateChange,proto3" json:"stateChange,omitempty"`
	Memo        string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
}

IBCSwapPacketData is comprised of a raw transaction, type of transaction and optional memo field.

func NewInterchainSwapPacketData

func NewInterchainSwapPacketData(
	mType SwapMessageType,
	data []byte,
) IBCSwapPacketData

func (*IBCSwapPacketData) Descriptor

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

func (IBCSwapPacketData) GetBytes

func (pd IBCSwapPacketData) GetBytes() []byte

GetBytes is a helper for serialising

func (*IBCSwapPacketData) GetData

func (m *IBCSwapPacketData) GetData() []byte

func (*IBCSwapPacketData) GetMemo

func (m *IBCSwapPacketData) GetMemo() string

func (*IBCSwapPacketData) GetStateChange

func (m *IBCSwapPacketData) GetStateChange() []byte

func (*IBCSwapPacketData) GetType

func (m *IBCSwapPacketData) GetType() SwapMessageType

func (*IBCSwapPacketData) Marshal

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

func (*IBCSwapPacketData) MarshalTo

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

func (*IBCSwapPacketData) MarshalToSizedBuffer

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

func (*IBCSwapPacketData) ProtoMessage

func (*IBCSwapPacketData) ProtoMessage()

func (*IBCSwapPacketData) Reset

func (m *IBCSwapPacketData) Reset()

func (*IBCSwapPacketData) Size

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

func (*IBCSwapPacketData) String

func (m *IBCSwapPacketData) String() string

func (*IBCSwapPacketData) Unmarshal

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

func (IBCSwapPacketData) ValidateBasic

func (pd IBCSwapPacketData) ValidateBasic() error

ValidateBasic is used for validating the token swap.

func (*IBCSwapPacketData) XXX_DiscardUnknown

func (m *IBCSwapPacketData) XXX_DiscardUnknown()

func (*IBCSwapPacketData) XXX_Marshal

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

func (*IBCSwapPacketData) XXX_Merge

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

func (*IBCSwapPacketData) XXX_Size

func (m *IBCSwapPacketData) XXX_Size() int

func (*IBCSwapPacketData) XXX_Unmarshal

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

type ICS4Wrapper

type ICS4Wrapper interface {
	SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, packet ibcexported.PacketI) error
}

ICS4Wrapper defines the expected ICS4Wrapper for middleware

type InterchainLiquidityPool

type InterchainLiquidityPool struct {
	Id                  string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SourceCreator       string       `protobuf:"bytes,2,opt,name=sourceCreator,proto3" json:"sourceCreator,omitempty"`
	DestinationCreator  string       `protobuf:"bytes,3,opt,name=destinationCreator,proto3" json:"destinationCreator,omitempty"`
	Assets              []*PoolAsset `protobuf:"bytes,4,rep,name=assets,proto3" json:"assets,omitempty"`
	SwapFee             uint32       `protobuf:"varint,5,opt,name=swapFee,proto3" json:"swapFee,omitempty"`
	Supply              *types.Coin  `protobuf:"bytes,6,opt,name=supply,proto3" json:"supply,omitempty"`
	Status              PoolStatus   `protobuf:"varint,7,opt,name=status,proto3,enum=ibc.applications.interchain_swap.v1.PoolStatus" json:"status,omitempty"`
	PoolPrice           uint64       `protobuf:"varint,8,opt,name=pool_price,json=poolPrice,proto3" json:"pool_price,omitempty"`
	SourceChainId       string       `protobuf:"bytes,9,opt,name=sourceChainId,proto3" json:"sourceChainId,omitempty"`
	CounterPartyPort    string       `protobuf:"bytes,12,opt,name=counterPartyPort,proto3" json:"counterPartyPort,omitempty"`
	CounterPartyChannel string       `protobuf:"bytes,13,opt,name=counterPartyChannel,proto3" json:"counterPartyChannel,omitempty"`
}

func NewInterchainLiquidityPool

func NewInterchainLiquidityPool(
	ctx types.Context,
	sourceCreator string,
	destinationCreator string,
	store BankKeeper,
	poolId string,
	assets []*PoolAsset,
	swapFee uint32,
	portId string,
	channelId string,

) *InterchainLiquidityPool

create new liquidity pool

func (*InterchainLiquidityPool) AddAsset

func (ilp *InterchainLiquidityPool) AddAsset(token types.Coin) error

add assets

func (*InterchainLiquidityPool) AddPoolSupply

func (ilp *InterchainLiquidityPool) AddPoolSupply(token types.Coin) error

Increase pool suppy

func (*InterchainLiquidityPool) AllAssetsWithdrawn

func (ilp *InterchainLiquidityPool) AllAssetsWithdrawn() bool

Decrease pool suppy

func (*InterchainLiquidityPool) Descriptor

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

func (*InterchainLiquidityPool) FindAssetByDenom

func (ilp *InterchainLiquidityPool) FindAssetByDenom(denom string) (*PoolAsset, error)

find pool asset by denom

func (*InterchainLiquidityPool) FindAssetBySide

func (ilp *InterchainLiquidityPool) FindAssetBySide(side PoolAssetSide) (*types.Coin, error)

find pool asset by denom

func (*InterchainLiquidityPool) FindDenomBySide

func (ilp *InterchainLiquidityPool) FindDenomBySide(side PoolAssetSide) (*string, error)

find pool asset by denom

func (*InterchainLiquidityPool) FindPoolAssetBySide

func (ilp *InterchainLiquidityPool) FindPoolAssetBySide(side PoolAssetSide) (*PoolAsset, error)

find pool asset by denom

func (*InterchainLiquidityPool) GetAssets

func (m *InterchainLiquidityPool) GetAssets() []*PoolAsset

func (*InterchainLiquidityPool) GetCounterPartyChannel

func (m *InterchainLiquidityPool) GetCounterPartyChannel() string

func (*InterchainLiquidityPool) GetCounterPartyPort

func (m *InterchainLiquidityPool) GetCounterPartyPort() string

func (*InterchainLiquidityPool) GetDestinationCreator

func (m *InterchainLiquidityPool) GetDestinationCreator() string

func (*InterchainLiquidityPool) GetId

func (m *InterchainLiquidityPool) GetId() string

func (*InterchainLiquidityPool) GetPoolPrice

func (m *InterchainLiquidityPool) GetPoolPrice() uint64

func (*InterchainLiquidityPool) GetSourceChainId

func (m *InterchainLiquidityPool) GetSourceChainId() string

func (*InterchainLiquidityPool) GetSourceCreator

func (m *InterchainLiquidityPool) GetSourceCreator() string

func (*InterchainLiquidityPool) GetStatus

func (m *InterchainLiquidityPool) GetStatus() PoolStatus

func (*InterchainLiquidityPool) GetSupply

func (m *InterchainLiquidityPool) GetSupply() *types.Coin

func (*InterchainLiquidityPool) GetSwapFee

func (m *InterchainLiquidityPool) GetSwapFee() uint32

func (*InterchainLiquidityPool) Marshal

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

func (*InterchainLiquidityPool) MarshalTo

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

func (*InterchainLiquidityPool) MarshalToSizedBuffer

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

func (*InterchainLiquidityPool) ProtoMessage

func (*InterchainLiquidityPool) ProtoMessage()

func (*InterchainLiquidityPool) Reset

func (m *InterchainLiquidityPool) Reset()

func (*InterchainLiquidityPool) SetSupply

func (ilp *InterchainLiquidityPool) SetSupply(amount types.Int)

find pool asset by denom

func (*InterchainLiquidityPool) Size

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

func (*InterchainLiquidityPool) String

func (m *InterchainLiquidityPool) String() string

func (*InterchainLiquidityPool) SubtractAsset

func (ilp *InterchainLiquidityPool) SubtractAsset(token types.Coin) (*types.Coin, error)

Update denom

func (*InterchainLiquidityPool) SubtractPoolSupply

func (ilp *InterchainLiquidityPool) SubtractPoolSupply(token types.Coin) error

Decrease pool suppy

func (*InterchainLiquidityPool) SumOfPoolAssets

func (ilp *InterchainLiquidityPool) SumOfPoolAssets() types.Int

Calculate total amount of assets in pool

func (*InterchainLiquidityPool) Unmarshal

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

func (*InterchainLiquidityPool) UpdateAssetPoolSide

func (ilp *InterchainLiquidityPool) UpdateAssetPoolSide(denom string, side PoolAssetSide) (*PoolAsset, error)

update denom

func (*InterchainLiquidityPool) XXX_DiscardUnknown

func (m *InterchainLiquidityPool) XXX_DiscardUnknown()

func (*InterchainLiquidityPool) XXX_Marshal

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

func (*InterchainLiquidityPool) XXX_Merge

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

func (*InterchainLiquidityPool) XXX_Size

func (m *InterchainLiquidityPool) XXX_Size() int

func (*InterchainLiquidityPool) XXX_Unmarshal

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

type InterchainMarketMaker

type InterchainMarketMaker struct {
	PoolId string                   `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Pool   *InterchainLiquidityPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"`
}

func NewInterchainMarketMaker

func NewInterchainMarketMaker(
	pool *InterchainLiquidityPool,
) *InterchainMarketMaker

Create new market maker

func (*InterchainMarketMaker) DepositMultiAsset

func (imm *InterchainMarketMaker) DepositMultiAsset(coins types.Coins) ([]*types.Coin, error)

P_issued = P_supply * Wt * Dt/Bt

func (*InterchainMarketMaker) DepositSingleAsset

func (imm *InterchainMarketMaker) DepositSingleAsset(token types.Coin) (*types.Coin, error)

P_issued = P_supply * ((1 + At/Bt) ** Wt -1)

func (*InterchainMarketMaker) Descriptor

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

func (*InterchainMarketMaker) GetPool

func (*InterchainMarketMaker) GetPoolId

func (m *InterchainMarketMaker) GetPoolId() string

func (*InterchainMarketMaker) Invariant

func (imm *InterchainMarketMaker) Invariant() types.Dec

Worth Function V=M)

func (*InterchainMarketMaker) LeftSwap

func (imm *InterchainMarketMaker) LeftSwap(amountIn types.Coin, denomOut string) (*types.Coin, error)

LeftSwap implements OutGivenIn Input how many coins you want to sell, output an amount you will receive Ao = Bo * ((1 - Bi / (Bi + Ai)) ** Wi/Wo)

func (*InterchainMarketMaker) MarketPrice

func (imm *InterchainMarketMaker) MarketPrice(denomIn, denomOut string) (*types.Dec, error)

MarketPrice Bi / Wi / (Bo / Wo)

func (*InterchainMarketMaker) Marshal

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

func (*InterchainMarketMaker) MarshalTo

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

func (*InterchainMarketMaker) MarshalToSizedBuffer

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

func (*InterchainMarketMaker) MinusFees

func (imm *InterchainMarketMaker) MinusFees(amount types.Int) types.Dec

func (*InterchainMarketMaker) MultiAssetWithdraw

func (imm *InterchainMarketMaker) MultiAssetWithdraw(redeem types.Coin) ([]*types.Coin, error)

input the supply token, output the expected token. At = Bt * (P_redeemed / P_supply)/Wt

func (*InterchainMarketMaker) ProtoMessage

func (*InterchainMarketMaker) ProtoMessage()

func (*InterchainMarketMaker) Reset

func (m *InterchainMarketMaker) Reset()

func (*InterchainMarketMaker) RightSwap

func (imm *InterchainMarketMaker) RightSwap(amountIn types.Coin, amountOut types.Coin) (*types.Coin, error)

/ RightSwap implements InGivenOut Input how many coins you want to buy, output an amount you need to pay Ai = Bi * ((Bo/(Bo - Ao)) ** Wo/Wi -1)

func (*InterchainMarketMaker) Size

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

func (*InterchainMarketMaker) String

func (m *InterchainMarketMaker) String() string

func (*InterchainMarketMaker) Unmarshal

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

func (*InterchainMarketMaker) XXX_DiscardUnknown

func (m *InterchainMarketMaker) XXX_DiscardUnknown()

func (*InterchainMarketMaker) XXX_Marshal

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

func (*InterchainMarketMaker) XXX_Merge

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

func (*InterchainMarketMaker) XXX_Size

func (m *InterchainMarketMaker) XXX_Size() int

func (*InterchainMarketMaker) XXX_Unmarshal

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

type MarketFeeUpdateProposal deprecated

type MarketFeeUpdateProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PoolId      string `protobuf:"bytes,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	FeeRate     uint32 `protobuf:"varint,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
}

Deprecated: Do not use.

func NewMarketFeeUpdateProposal

func NewMarketFeeUpdateProposal(title, description string, poolId string, fee uint32) *MarketFeeUpdateProposal

NewMarketFeeUpdateProposal creates a new community pool spend proposal.

func (*MarketFeeUpdateProposal) Descriptor

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

func (*MarketFeeUpdateProposal) GetDescription

func (csp *MarketFeeUpdateProposal) GetDescription() string

GetDescription returns the description of a community pool spend proposal.

func (*MarketFeeUpdateProposal) GetTitle

func (csp *MarketFeeUpdateProposal) GetTitle() string

GetTitle returns the title of a community pool spend proposal.

func (*MarketFeeUpdateProposal) Marshal

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

func (*MarketFeeUpdateProposal) MarshalTo

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

func (*MarketFeeUpdateProposal) MarshalToSizedBuffer

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

func (*MarketFeeUpdateProposal) ProposalRoute

func (csp *MarketFeeUpdateProposal) ProposalRoute() string

GetDescription returns the routing key of a community pool spend proposal.

func (*MarketFeeUpdateProposal) ProposalType

func (csp *MarketFeeUpdateProposal) ProposalType() string

ProposalType returns the type of a community pool spend proposal.

func (*MarketFeeUpdateProposal) ProtoMessage

func (*MarketFeeUpdateProposal) ProtoMessage()

func (*MarketFeeUpdateProposal) Reset

func (m *MarketFeeUpdateProposal) Reset()

func (*MarketFeeUpdateProposal) Size

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

func (*MarketFeeUpdateProposal) String

func (m *MarketFeeUpdateProposal) String() string

func (*MarketFeeUpdateProposal) Unmarshal

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

func (*MarketFeeUpdateProposal) ValidateBasic

func (csp *MarketFeeUpdateProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*MarketFeeUpdateProposal) XXX_DiscardUnknown

func (m *MarketFeeUpdateProposal) XXX_DiscardUnknown()

func (*MarketFeeUpdateProposal) XXX_Marshal

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

func (*MarketFeeUpdateProposal) XXX_Merge

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

func (*MarketFeeUpdateProposal) XXX_Size

func (m *MarketFeeUpdateProposal) XXX_Size() int

func (*MarketFeeUpdateProposal) XXX_Unmarshal

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

type MessageRouter

type MessageRouter interface {
	Handler(msg sdk.Msg) baseapp.MsgServiceHandler
}

MessageRouter ADR 031 request type routing https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-031-msg-service.md

type MsgCancelMultiAssetDepositRequest

type MsgCancelMultiAssetDepositRequest struct {
	PoolId           string        `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	OrderId          string        `protobuf:"bytes,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
	Creator          string        `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	SourcePort       string        `protobuf:"bytes,4,opt,name=sourcePort,proto3" json:"sourcePort,omitempty"`
	SourceChannel    string        `protobuf:"bytes,5,opt,name=sourceChannel,proto3" json:"sourceChannel,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,6,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp uint64        `protobuf:"varint,7,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgCancelMultiAssetDeposit

func NewMsgCancelMultiAssetDeposit(
	sourcePort,
	sourceChannel,
	creator,
	poolId,
	orderId string,
) *MsgCancelMultiAssetDepositRequest

func (*MsgCancelMultiAssetDepositRequest) Descriptor

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

func (*MsgCancelMultiAssetDepositRequest) GetCreator

func (m *MsgCancelMultiAssetDepositRequest) GetCreator() string

func (*MsgCancelMultiAssetDepositRequest) GetOrderId

func (m *MsgCancelMultiAssetDepositRequest) GetOrderId() string

func (*MsgCancelMultiAssetDepositRequest) GetPoolId

func (*MsgCancelMultiAssetDepositRequest) GetSignBytes

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

func (*MsgCancelMultiAssetDepositRequest) GetSigners

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

func (*MsgCancelMultiAssetDepositRequest) GetSourceChannel

func (m *MsgCancelMultiAssetDepositRequest) GetSourceChannel() string

func (*MsgCancelMultiAssetDepositRequest) GetSourcePort

func (m *MsgCancelMultiAssetDepositRequest) GetSourcePort() string

func (*MsgCancelMultiAssetDepositRequest) GetTimeoutHeight

func (m *MsgCancelMultiAssetDepositRequest) GetTimeoutHeight() *types.Height

func (*MsgCancelMultiAssetDepositRequest) GetTimeoutTimeStamp

func (m *MsgCancelMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64

func (*MsgCancelMultiAssetDepositRequest) Marshal

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

func (*MsgCancelMultiAssetDepositRequest) MarshalTo

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

func (*MsgCancelMultiAssetDepositRequest) MarshalToSizedBuffer

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

func (*MsgCancelMultiAssetDepositRequest) ProtoMessage

func (*MsgCancelMultiAssetDepositRequest) ProtoMessage()

func (*MsgCancelMultiAssetDepositRequest) Reset

func (*MsgCancelMultiAssetDepositRequest) Route

func (*MsgCancelMultiAssetDepositRequest) Size

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

func (*MsgCancelMultiAssetDepositRequest) String

func (*MsgCancelMultiAssetDepositRequest) Type

func (*MsgCancelMultiAssetDepositRequest) Unmarshal

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

func (*MsgCancelMultiAssetDepositRequest) ValidateBasic

func (msg *MsgCancelMultiAssetDepositRequest) ValidateBasic() error

func (*MsgCancelMultiAssetDepositRequest) XXX_DiscardUnknown

func (m *MsgCancelMultiAssetDepositRequest) XXX_DiscardUnknown()

func (*MsgCancelMultiAssetDepositRequest) XXX_Marshal

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

func (*MsgCancelMultiAssetDepositRequest) XXX_Merge

func (*MsgCancelMultiAssetDepositRequest) XXX_Size

func (m *MsgCancelMultiAssetDepositRequest) XXX_Size() int

func (*MsgCancelMultiAssetDepositRequest) XXX_Unmarshal

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

type MsgCancelMultiAssetDepositResponse

type MsgCancelMultiAssetDepositResponse struct {
	PoolId  string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	OrderId string `protobuf:"bytes,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
}

func (*MsgCancelMultiAssetDepositResponse) Descriptor

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

func (*MsgCancelMultiAssetDepositResponse) GetOrderId

func (*MsgCancelMultiAssetDepositResponse) GetPoolId

func (*MsgCancelMultiAssetDepositResponse) Marshal

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

func (*MsgCancelMultiAssetDepositResponse) MarshalTo

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

func (*MsgCancelMultiAssetDepositResponse) MarshalToSizedBuffer

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

func (*MsgCancelMultiAssetDepositResponse) ProtoMessage

func (*MsgCancelMultiAssetDepositResponse) ProtoMessage()

func (*MsgCancelMultiAssetDepositResponse) Reset

func (*MsgCancelMultiAssetDepositResponse) Size

func (*MsgCancelMultiAssetDepositResponse) String

func (*MsgCancelMultiAssetDepositResponse) Unmarshal

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

func (*MsgCancelMultiAssetDepositResponse) XXX_DiscardUnknown

func (m *MsgCancelMultiAssetDepositResponse) XXX_DiscardUnknown()

func (*MsgCancelMultiAssetDepositResponse) XXX_Marshal

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

func (*MsgCancelMultiAssetDepositResponse) XXX_Merge

func (*MsgCancelMultiAssetDepositResponse) XXX_Size

func (*MsgCancelMultiAssetDepositResponse) XXX_Unmarshal

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

type MsgCancelPoolRequest

type MsgCancelPoolRequest struct {
	SourcePort       string        `protobuf:"bytes,1,opt,name=sourcePort,proto3" json:"sourcePort,omitempty"`
	SourceChannel    string        `protobuf:"bytes,2,opt,name=sourceChannel,proto3" json:"sourceChannel,omitempty"`
	Creator          string        `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolId           string        `protobuf:"bytes,4,opt,name=poolId,proto3" json:"poolId,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,5,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty" yaml:"timeout_height"`
	TimeoutTimeStamp uint64        `protobuf:"varint,6,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgCancelPool

func NewMsgCancelPool(
	sourcePort string,
	sourceChannel string,
	creator string,
	poolID string,
) *MsgCancelPoolRequest

func (*MsgCancelPoolRequest) Descriptor

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

func (*MsgCancelPoolRequest) GetCreator

func (m *MsgCancelPoolRequest) GetCreator() string

func (*MsgCancelPoolRequest) GetPoolId

func (m *MsgCancelPoolRequest) GetPoolId() string

func (*MsgCancelPoolRequest) GetSignBytes

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

func (*MsgCancelPoolRequest) GetSigners

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

func (*MsgCancelPoolRequest) GetSourceChannel

func (m *MsgCancelPoolRequest) GetSourceChannel() string

func (*MsgCancelPoolRequest) GetSourcePort

func (m *MsgCancelPoolRequest) GetSourcePort() string

func (*MsgCancelPoolRequest) GetTimeoutHeight

func (m *MsgCancelPoolRequest) GetTimeoutHeight() *types.Height

func (*MsgCancelPoolRequest) GetTimeoutTimeStamp

func (m *MsgCancelPoolRequest) GetTimeoutTimeStamp() uint64

func (*MsgCancelPoolRequest) Marshal

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

func (*MsgCancelPoolRequest) MarshalTo

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

func (*MsgCancelPoolRequest) MarshalToSizedBuffer

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

func (*MsgCancelPoolRequest) ProtoMessage

func (*MsgCancelPoolRequest) ProtoMessage()

func (*MsgCancelPoolRequest) Reset

func (m *MsgCancelPoolRequest) Reset()

func (*MsgCancelPoolRequest) Route

func (msg *MsgCancelPoolRequest) Route() string

func (*MsgCancelPoolRequest) Size

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

func (*MsgCancelPoolRequest) String

func (m *MsgCancelPoolRequest) String() string

func (*MsgCancelPoolRequest) Type

func (msg *MsgCancelPoolRequest) Type() string

func (*MsgCancelPoolRequest) Unmarshal

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

func (*MsgCancelPoolRequest) ValidateBasic

func (msg *MsgCancelPoolRequest) ValidateBasic() error

func (*MsgCancelPoolRequest) XXX_DiscardUnknown

func (m *MsgCancelPoolRequest) XXX_DiscardUnknown()

func (*MsgCancelPoolRequest) XXX_Marshal

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

func (*MsgCancelPoolRequest) XXX_Merge

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

func (*MsgCancelPoolRequest) XXX_Size

func (m *MsgCancelPoolRequest) XXX_Size() int

func (*MsgCancelPoolRequest) XXX_Unmarshal

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

type MsgCancelPoolResponse

type MsgCancelPoolResponse struct {
	PoolId string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
}

func (*MsgCancelPoolResponse) Descriptor

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

func (*MsgCancelPoolResponse) GetPoolId

func (m *MsgCancelPoolResponse) GetPoolId() string

func (*MsgCancelPoolResponse) Marshal

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

func (*MsgCancelPoolResponse) MarshalTo

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

func (*MsgCancelPoolResponse) MarshalToSizedBuffer

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

func (*MsgCancelPoolResponse) ProtoMessage

func (*MsgCancelPoolResponse) ProtoMessage()

func (*MsgCancelPoolResponse) Reset

func (m *MsgCancelPoolResponse) Reset()

func (*MsgCancelPoolResponse) Size

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

func (*MsgCancelPoolResponse) String

func (m *MsgCancelPoolResponse) String() string

func (*MsgCancelPoolResponse) Unmarshal

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

func (*MsgCancelPoolResponse) XXX_DiscardUnknown

func (m *MsgCancelPoolResponse) XXX_DiscardUnknown()

func (*MsgCancelPoolResponse) XXX_Marshal

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

func (*MsgCancelPoolResponse) XXX_Merge

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

func (*MsgCancelPoolResponse) XXX_Size

func (m *MsgCancelPoolResponse) XXX_Size() int

func (*MsgCancelPoolResponse) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgMakeMultiAssetDepositRequest

type MsgMakeMultiAssetDepositRequest struct {
	PoolId           string          `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Deposits         []*DepositAsset `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"`
	Port             string          `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	Channel          string          `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight    *types.Height   `protobuf:"bytes,5,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp uint64          `protobuf:"varint,6,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

make multi-asset deposit order

func NewMsgMakeMultiAssetDeposit

func NewMsgMakeMultiAssetDeposit(poolId string, senders []string, tokens sdk.Coins, port, channel string) *MsgMakeMultiAssetDepositRequest

func (*MsgMakeMultiAssetDepositRequest) Descriptor

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

func (*MsgMakeMultiAssetDepositRequest) GetChannel

func (m *MsgMakeMultiAssetDepositRequest) GetChannel() string

func (*MsgMakeMultiAssetDepositRequest) GetDeposits

func (m *MsgMakeMultiAssetDepositRequest) GetDeposits() []*DepositAsset

func (*MsgMakeMultiAssetDepositRequest) GetPoolId

func (m *MsgMakeMultiAssetDepositRequest) GetPoolId() string

func (*MsgMakeMultiAssetDepositRequest) GetPort

func (*MsgMakeMultiAssetDepositRequest) GetSignBytes

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

func (*MsgMakeMultiAssetDepositRequest) GetSigners

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

func (*MsgMakeMultiAssetDepositRequest) GetTimeoutHeight

func (m *MsgMakeMultiAssetDepositRequest) GetTimeoutHeight() *types.Height

func (*MsgMakeMultiAssetDepositRequest) GetTimeoutTimeStamp

func (m *MsgMakeMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64

func (*MsgMakeMultiAssetDepositRequest) Marshal

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

func (*MsgMakeMultiAssetDepositRequest) MarshalTo

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

func (*MsgMakeMultiAssetDepositRequest) MarshalToSizedBuffer

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

func (*MsgMakeMultiAssetDepositRequest) ProtoMessage

func (*MsgMakeMultiAssetDepositRequest) ProtoMessage()

func (*MsgMakeMultiAssetDepositRequest) Reset

func (*MsgMakeMultiAssetDepositRequest) Route

func (*MsgMakeMultiAssetDepositRequest) Size

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

func (*MsgMakeMultiAssetDepositRequest) String

func (*MsgMakeMultiAssetDepositRequest) Type

func (*MsgMakeMultiAssetDepositRequest) Unmarshal

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

func (*MsgMakeMultiAssetDepositRequest) ValidateBasic

func (msg *MsgMakeMultiAssetDepositRequest) ValidateBasic() error

func (*MsgMakeMultiAssetDepositRequest) XXX_DiscardUnknown

func (m *MsgMakeMultiAssetDepositRequest) XXX_DiscardUnknown()

func (*MsgMakeMultiAssetDepositRequest) XXX_Marshal

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

func (*MsgMakeMultiAssetDepositRequest) XXX_Merge

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

func (*MsgMakeMultiAssetDepositRequest) XXX_Size

func (m *MsgMakeMultiAssetDepositRequest) XXX_Size() int

func (*MsgMakeMultiAssetDepositRequest) XXX_Unmarshal

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

type MsgMakePoolRequest

type MsgMakePoolRequest struct {
	SourcePort          string        `protobuf:"bytes,1,opt,name=sourcePort,proto3" json:"sourcePort,omitempty"`
	SourceChannel       string        `protobuf:"bytes,2,opt,name=sourceChannel,proto3" json:"sourceChannel,omitempty"`
	Creator             string        `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	CounterPartyCreator string        `protobuf:"bytes,4,opt,name=counterPartyCreator,proto3" json:"counterPartyCreator,omitempty"`
	Liquidity           []*PoolAsset  `protobuf:"bytes,5,rep,name=liquidity,proto3" json:"liquidity,omitempty"`
	SwapFee             uint32        `protobuf:"varint,6,opt,name=swapFee,proto3" json:"swapFee,omitempty"`
	TimeoutHeight       *types.Height `protobuf:"bytes,8,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty" yaml:"timeout_height"`
	TimeoutTimeStamp    uint64        `protobuf:"varint,9,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgMakePool

func NewMsgMakePool(
	sourcePort string,
	sourceChannel string,
	creator string,
	counterPartyCreator string,
	sourceLiquidity,
	targetLiquidity PoolAsset,
	swapFee uint32,
) *MsgMakePoolRequest

func (*MsgMakePoolRequest) Descriptor

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

func (*MsgMakePoolRequest) GetCounterPartyCreator

func (m *MsgMakePoolRequest) GetCounterPartyCreator() string

func (*MsgMakePoolRequest) GetCreator

func (m *MsgMakePoolRequest) GetCreator() string

func (*MsgMakePoolRequest) GetLiquidity

func (m *MsgMakePoolRequest) GetLiquidity() []*PoolAsset

func (*MsgMakePoolRequest) GetLiquidityDenoms

func (msg *MsgMakePoolRequest) GetLiquidityDenoms() []string

func (*MsgMakePoolRequest) GetSignBytes

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

func (*MsgMakePoolRequest) GetSigners

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

func (*MsgMakePoolRequest) GetSourceChannel

func (m *MsgMakePoolRequest) GetSourceChannel() string

func (*MsgMakePoolRequest) GetSourcePort

func (m *MsgMakePoolRequest) GetSourcePort() string

func (*MsgMakePoolRequest) GetSwapFee

func (m *MsgMakePoolRequest) GetSwapFee() uint32

func (*MsgMakePoolRequest) GetTimeoutHeight

func (m *MsgMakePoolRequest) GetTimeoutHeight() *types.Height

func (*MsgMakePoolRequest) GetTimeoutTimeStamp

func (m *MsgMakePoolRequest) GetTimeoutTimeStamp() uint64

func (*MsgMakePoolRequest) Marshal

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

func (*MsgMakePoolRequest) MarshalTo

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

func (*MsgMakePoolRequest) MarshalToSizedBuffer

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

func (*MsgMakePoolRequest) ProtoMessage

func (*MsgMakePoolRequest) ProtoMessage()

func (*MsgMakePoolRequest) Reset

func (m *MsgMakePoolRequest) Reset()

func (*MsgMakePoolRequest) Route

func (msg *MsgMakePoolRequest) Route() string

func (*MsgMakePoolRequest) Size

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

func (*MsgMakePoolRequest) String

func (m *MsgMakePoolRequest) String() string

func (*MsgMakePoolRequest) Type

func (msg *MsgMakePoolRequest) Type() string

func (*MsgMakePoolRequest) Unmarshal

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

func (*MsgMakePoolRequest) ValidateBasic

func (msg *MsgMakePoolRequest) ValidateBasic() error

func (*MsgMakePoolRequest) XXX_DiscardUnknown

func (m *MsgMakePoolRequest) XXX_DiscardUnknown()

func (*MsgMakePoolRequest) XXX_Marshal

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

func (*MsgMakePoolRequest) XXX_Merge

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

func (*MsgMakePoolRequest) XXX_Size

func (m *MsgMakePoolRequest) XXX_Size() int

func (*MsgMakePoolRequest) XXX_Unmarshal

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

type MsgMakePoolResponse

type MsgMakePoolResponse struct {
	PoolId string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
}

func (*MsgMakePoolResponse) Descriptor

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

func (*MsgMakePoolResponse) GetPoolId

func (m *MsgMakePoolResponse) GetPoolId() string

func (*MsgMakePoolResponse) Marshal

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

func (*MsgMakePoolResponse) MarshalTo

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

func (*MsgMakePoolResponse) MarshalToSizedBuffer

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

func (*MsgMakePoolResponse) ProtoMessage

func (*MsgMakePoolResponse) ProtoMessage()

func (*MsgMakePoolResponse) Reset

func (m *MsgMakePoolResponse) Reset()

func (*MsgMakePoolResponse) Size

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

func (*MsgMakePoolResponse) String

func (m *MsgMakePoolResponse) String() string

func (*MsgMakePoolResponse) Unmarshal

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

func (*MsgMakePoolResponse) XXX_DiscardUnknown

func (m *MsgMakePoolResponse) XXX_DiscardUnknown()

func (*MsgMakePoolResponse) XXX_Marshal

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

func (*MsgMakePoolResponse) XXX_Merge

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

func (*MsgMakePoolResponse) XXX_Size

func (m *MsgMakePoolResponse) XXX_Size() int

func (*MsgMakePoolResponse) XXX_Unmarshal

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

type MsgMultiAssetDepositResponse

type MsgMultiAssetDepositResponse struct {
	PoolTokens []*types1.Coin `protobuf:"bytes,1,rep,name=poolTokens,proto3" json:"poolTokens,omitempty"`
}

func (*MsgMultiAssetDepositResponse) Descriptor

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

func (*MsgMultiAssetDepositResponse) GetPoolTokens

func (m *MsgMultiAssetDepositResponse) GetPoolTokens() []*types1.Coin

func (*MsgMultiAssetDepositResponse) Marshal

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

func (*MsgMultiAssetDepositResponse) MarshalTo

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

func (*MsgMultiAssetDepositResponse) MarshalToSizedBuffer

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

func (*MsgMultiAssetDepositResponse) ProtoMessage

func (*MsgMultiAssetDepositResponse) ProtoMessage()

func (*MsgMultiAssetDepositResponse) Reset

func (m *MsgMultiAssetDepositResponse) Reset()

func (*MsgMultiAssetDepositResponse) Size

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

func (*MsgMultiAssetDepositResponse) String

func (*MsgMultiAssetDepositResponse) Unmarshal

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

func (*MsgMultiAssetDepositResponse) XXX_DiscardUnknown

func (m *MsgMultiAssetDepositResponse) XXX_DiscardUnknown()

func (*MsgMultiAssetDepositResponse) XXX_Marshal

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

func (*MsgMultiAssetDepositResponse) XXX_Merge

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

func (*MsgMultiAssetDepositResponse) XXX_Size

func (m *MsgMultiAssetDepositResponse) XXX_Size() int

func (*MsgMultiAssetDepositResponse) XXX_Unmarshal

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

type MsgMultiAssetWithdrawRequest

type MsgMultiAssetWithdrawRequest struct {
	PoolId               string        `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Receiver             string        `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	CounterPartyReceiver string        `protobuf:"bytes,3,opt,name=counterPartyReceiver,proto3" json:"counterPartyReceiver,omitempty"`
	PoolToken            *types1.Coin  `protobuf:"bytes,4,opt,name=poolToken,proto3" json:"poolToken,omitempty"`
	Port                 string        `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"`
	Channel              string        `protobuf:"bytes,6,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight        *types.Height `protobuf:"bytes,7,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp     uint64        `protobuf:"varint,8,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgMultiAssetWithdraw

func NewMsgMultiAssetWithdraw(poolId string, sourceReceiver, destinationReceiver string, poolToken *sdk.Coin, port, channel string) *MsgMultiAssetWithdrawRequest

func (*MsgMultiAssetWithdrawRequest) Descriptor

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

func (*MsgMultiAssetWithdrawRequest) GetChannel

func (m *MsgMultiAssetWithdrawRequest) GetChannel() string

func (*MsgMultiAssetWithdrawRequest) GetCounterPartyReceiver

func (m *MsgMultiAssetWithdrawRequest) GetCounterPartyReceiver() string

func (*MsgMultiAssetWithdrawRequest) GetPoolId

func (m *MsgMultiAssetWithdrawRequest) GetPoolId() string

func (*MsgMultiAssetWithdrawRequest) GetPoolToken

func (m *MsgMultiAssetWithdrawRequest) GetPoolToken() *types1.Coin

func (*MsgMultiAssetWithdrawRequest) GetPort

func (m *MsgMultiAssetWithdrawRequest) GetPort() string

func (*MsgMultiAssetWithdrawRequest) GetReceiver

func (m *MsgMultiAssetWithdrawRequest) GetReceiver() string

func (*MsgMultiAssetWithdrawRequest) GetSignBytes

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

func (*MsgMultiAssetWithdrawRequest) GetSigners

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

func (*MsgMultiAssetWithdrawRequest) GetTimeoutHeight

func (m *MsgMultiAssetWithdrawRequest) GetTimeoutHeight() *types.Height

func (*MsgMultiAssetWithdrawRequest) GetTimeoutTimeStamp

func (m *MsgMultiAssetWithdrawRequest) GetTimeoutTimeStamp() uint64

func (*MsgMultiAssetWithdrawRequest) Marshal

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

func (*MsgMultiAssetWithdrawRequest) MarshalTo

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

func (*MsgMultiAssetWithdrawRequest) MarshalToSizedBuffer

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

func (*MsgMultiAssetWithdrawRequest) ProtoMessage

func (*MsgMultiAssetWithdrawRequest) ProtoMessage()

func (*MsgMultiAssetWithdrawRequest) Reset

func (m *MsgMultiAssetWithdrawRequest) Reset()

func (*MsgMultiAssetWithdrawRequest) Route

func (msg *MsgMultiAssetWithdrawRequest) Route() string

func (*MsgMultiAssetWithdrawRequest) Size

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

func (*MsgMultiAssetWithdrawRequest) String

func (*MsgMultiAssetWithdrawRequest) Type

func (*MsgMultiAssetWithdrawRequest) Unmarshal

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

func (*MsgMultiAssetWithdrawRequest) ValidateBasic

func (msg *MsgMultiAssetWithdrawRequest) ValidateBasic() error

func (*MsgMultiAssetWithdrawRequest) XXX_DiscardUnknown

func (m *MsgMultiAssetWithdrawRequest) XXX_DiscardUnknown()

func (*MsgMultiAssetWithdrawRequest) XXX_Marshal

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

func (*MsgMultiAssetWithdrawRequest) XXX_Merge

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

func (*MsgMultiAssetWithdrawRequest) XXX_Size

func (m *MsgMultiAssetWithdrawRequest) XXX_Size() int

func (*MsgMultiAssetWithdrawRequest) XXX_Unmarshal

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

type MsgMultiAssetWithdrawResponse

type MsgMultiAssetWithdrawResponse struct {
	Tokens []*types1.Coin `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
}

func (*MsgMultiAssetWithdrawResponse) Descriptor

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

func (*MsgMultiAssetWithdrawResponse) GetTokens

func (m *MsgMultiAssetWithdrawResponse) GetTokens() []*types1.Coin

func (*MsgMultiAssetWithdrawResponse) Marshal

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

func (*MsgMultiAssetWithdrawResponse) MarshalTo

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

func (*MsgMultiAssetWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgMultiAssetWithdrawResponse) ProtoMessage

func (*MsgMultiAssetWithdrawResponse) ProtoMessage()

func (*MsgMultiAssetWithdrawResponse) Reset

func (m *MsgMultiAssetWithdrawResponse) Reset()

func (*MsgMultiAssetWithdrawResponse) Size

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

func (*MsgMultiAssetWithdrawResponse) String

func (*MsgMultiAssetWithdrawResponse) Unmarshal

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

func (*MsgMultiAssetWithdrawResponse) XXX_DiscardUnknown

func (m *MsgMultiAssetWithdrawResponse) XXX_DiscardUnknown()

func (*MsgMultiAssetWithdrawResponse) XXX_Marshal

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

func (*MsgMultiAssetWithdrawResponse) XXX_Merge

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

func (*MsgMultiAssetWithdrawResponse) XXX_Size

func (m *MsgMultiAssetWithdrawResponse) XXX_Size() int

func (*MsgMultiAssetWithdrawResponse) XXX_Unmarshal

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

type MsgSingleAssetDepositRequest

type MsgSingleAssetDepositRequest struct {
	PoolId           string        `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Sender           string        `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Token            *types1.Coin  `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Port             string        `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
	Channel          string        `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,6,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp uint64        `protobuf:"varint,7,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgSingleAssetDeposit

func NewMsgSingleAssetDeposit(poolId string, sender string, token *sdk.Coin, port, channel string) *MsgSingleAssetDepositRequest

func (*MsgSingleAssetDepositRequest) Descriptor

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

func (*MsgSingleAssetDepositRequest) GetChannel

func (m *MsgSingleAssetDepositRequest) GetChannel() string

func (*MsgSingleAssetDepositRequest) GetPoolId

func (m *MsgSingleAssetDepositRequest) GetPoolId() string

func (*MsgSingleAssetDepositRequest) GetPort

func (m *MsgSingleAssetDepositRequest) GetPort() string

func (*MsgSingleAssetDepositRequest) GetSender

func (m *MsgSingleAssetDepositRequest) GetSender() string

func (*MsgSingleAssetDepositRequest) GetSignBytes

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

func (*MsgSingleAssetDepositRequest) GetSigners

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

func (*MsgSingleAssetDepositRequest) GetTimeoutHeight

func (m *MsgSingleAssetDepositRequest) GetTimeoutHeight() *types.Height

func (*MsgSingleAssetDepositRequest) GetTimeoutTimeStamp

func (m *MsgSingleAssetDepositRequest) GetTimeoutTimeStamp() uint64

func (*MsgSingleAssetDepositRequest) GetToken

func (m *MsgSingleAssetDepositRequest) GetToken() *types1.Coin

func (*MsgSingleAssetDepositRequest) Marshal

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

func (*MsgSingleAssetDepositRequest) MarshalTo

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

func (*MsgSingleAssetDepositRequest) MarshalToSizedBuffer

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

func (*MsgSingleAssetDepositRequest) ProtoMessage

func (*MsgSingleAssetDepositRequest) ProtoMessage()

func (*MsgSingleAssetDepositRequest) Reset

func (m *MsgSingleAssetDepositRequest) Reset()

func (*MsgSingleAssetDepositRequest) Route

func (msg *MsgSingleAssetDepositRequest) Route() string

func (*MsgSingleAssetDepositRequest) Size

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

func (*MsgSingleAssetDepositRequest) String

func (*MsgSingleAssetDepositRequest) Type

func (*MsgSingleAssetDepositRequest) Unmarshal

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

func (*MsgSingleAssetDepositRequest) ValidateBasic

func (msg *MsgSingleAssetDepositRequest) ValidateBasic() error

func (*MsgSingleAssetDepositRequest) XXX_DiscardUnknown

func (m *MsgSingleAssetDepositRequest) XXX_DiscardUnknown()

func (*MsgSingleAssetDepositRequest) XXX_Marshal

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

func (*MsgSingleAssetDepositRequest) XXX_Merge

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

func (*MsgSingleAssetDepositRequest) XXX_Size

func (m *MsgSingleAssetDepositRequest) XXX_Size() int

func (*MsgSingleAssetDepositRequest) XXX_Unmarshal

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

type MsgSingleAssetDepositResponse

type MsgSingleAssetDepositResponse struct {
	PoolToken *types1.Coin `protobuf:"bytes,1,opt,name=poolToken,proto3" json:"poolToken,omitempty"`
}

func (*MsgSingleAssetDepositResponse) Descriptor

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

func (*MsgSingleAssetDepositResponse) GetPoolToken

func (m *MsgSingleAssetDepositResponse) GetPoolToken() *types1.Coin

func (*MsgSingleAssetDepositResponse) Marshal

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

func (*MsgSingleAssetDepositResponse) MarshalTo

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

func (*MsgSingleAssetDepositResponse) MarshalToSizedBuffer

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

func (*MsgSingleAssetDepositResponse) ProtoMessage

func (*MsgSingleAssetDepositResponse) ProtoMessage()

func (*MsgSingleAssetDepositResponse) Reset

func (m *MsgSingleAssetDepositResponse) Reset()

func (*MsgSingleAssetDepositResponse) Size

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

func (*MsgSingleAssetDepositResponse) String

func (*MsgSingleAssetDepositResponse) Unmarshal

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

func (*MsgSingleAssetDepositResponse) XXX_DiscardUnknown

func (m *MsgSingleAssetDepositResponse) XXX_DiscardUnknown()

func (*MsgSingleAssetDepositResponse) XXX_Marshal

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

func (*MsgSingleAssetDepositResponse) XXX_Merge

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

func (*MsgSingleAssetDepositResponse) XXX_Size

func (m *MsgSingleAssetDepositResponse) XXX_Size() int

func (*MsgSingleAssetDepositResponse) XXX_Unmarshal

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

type MsgSwapRequest

type MsgSwapRequest struct {
	SwapType         SwapMsgType   `` /* 139-byte string literal not displayed */
	Sender           string        `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolId           string        `protobuf:"bytes,3,opt,name=poolId,proto3" json:"poolId,omitempty"`
	TokenIn          *types1.Coin  `protobuf:"bytes,4,opt,name=tokenIn,proto3" json:"tokenIn,omitempty"`
	TokenOut         *types1.Coin  `protobuf:"bytes,5,opt,name=tokenOut,proto3" json:"tokenOut,omitempty"`
	Slippage         uint64        `protobuf:"varint,6,opt,name=slippage,proto3" json:"slippage,omitempty"`
	Recipient        string        `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Port             string        `protobuf:"bytes,8,opt,name=port,proto3" json:"port,omitempty"`
	Channel          string        `protobuf:"bytes,9,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,10,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp uint64        `protobuf:"varint,11,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgSwap

func NewMsgSwap(swapType SwapMsgType, sender, poolId string, slippage uint64, recipient string, tokenIn, tokenOut *sdk.Coin, port, channel string) *MsgSwapRequest

func (*MsgSwapRequest) Descriptor

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

func (*MsgSwapRequest) GetChannel

func (m *MsgSwapRequest) GetChannel() string

func (*MsgSwapRequest) GetPoolId

func (m *MsgSwapRequest) GetPoolId() string

func (*MsgSwapRequest) GetPort

func (m *MsgSwapRequest) GetPort() string

func (*MsgSwapRequest) GetRecipient

func (m *MsgSwapRequest) GetRecipient() string

func (*MsgSwapRequest) GetSender

func (m *MsgSwapRequest) GetSender() string

func (*MsgSwapRequest) GetSignBytes

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

func (*MsgSwapRequest) GetSigners

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

func (*MsgSwapRequest) GetSlippage

func (m *MsgSwapRequest) GetSlippage() uint64

func (*MsgSwapRequest) GetSwapType

func (m *MsgSwapRequest) GetSwapType() SwapMsgType

func (*MsgSwapRequest) GetTimeoutHeight

func (m *MsgSwapRequest) GetTimeoutHeight() *types.Height

func (*MsgSwapRequest) GetTimeoutTimeStamp

func (m *MsgSwapRequest) GetTimeoutTimeStamp() uint64

func (*MsgSwapRequest) GetTokenIn

func (m *MsgSwapRequest) GetTokenIn() *types1.Coin

func (*MsgSwapRequest) GetTokenOut

func (m *MsgSwapRequest) GetTokenOut() *types1.Coin

func (*MsgSwapRequest) Marshal

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

func (*MsgSwapRequest) MarshalTo

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

func (*MsgSwapRequest) MarshalToSizedBuffer

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

func (*MsgSwapRequest) ProtoMessage

func (*MsgSwapRequest) ProtoMessage()

func (*MsgSwapRequest) Reset

func (m *MsgSwapRequest) Reset()

func (*MsgSwapRequest) Route

func (msg *MsgSwapRequest) Route() string

func (*MsgSwapRequest) Size

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

func (*MsgSwapRequest) String

func (m *MsgSwapRequest) String() string

func (*MsgSwapRequest) Type

func (msg *MsgSwapRequest) Type() string

func (*MsgSwapRequest) Unmarshal

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

func (*MsgSwapRequest) ValidateBasic

func (msg *MsgSwapRequest) ValidateBasic() error

func (*MsgSwapRequest) XXX_DiscardUnknown

func (m *MsgSwapRequest) XXX_DiscardUnknown()

func (*MsgSwapRequest) XXX_Marshal

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

func (*MsgSwapRequest) XXX_Merge

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

func (*MsgSwapRequest) XXX_Size

func (m *MsgSwapRequest) XXX_Size() int

func (*MsgSwapRequest) XXX_Unmarshal

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

type MsgSwapResponse

type MsgSwapResponse struct {
	SwapType SwapMsgType    `` /* 139-byte string literal not displayed */
	Tokens   []*types1.Coin `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
}

func (*MsgSwapResponse) Descriptor

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

func (*MsgSwapResponse) GetSwapType

func (m *MsgSwapResponse) GetSwapType() SwapMsgType

func (*MsgSwapResponse) GetTokens

func (m *MsgSwapResponse) GetTokens() []*types1.Coin

func (*MsgSwapResponse) Marshal

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

func (*MsgSwapResponse) MarshalTo

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

func (*MsgSwapResponse) MarshalToSizedBuffer

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

func (*MsgSwapResponse) ProtoMessage

func (*MsgSwapResponse) ProtoMessage()

func (*MsgSwapResponse) Reset

func (m *MsgSwapResponse) Reset()

func (*MsgSwapResponse) Size

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

func (*MsgSwapResponse) String

func (m *MsgSwapResponse) String() string

func (*MsgSwapResponse) Unmarshal

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

func (*MsgSwapResponse) XXX_DiscardUnknown

func (m *MsgSwapResponse) XXX_DiscardUnknown()

func (*MsgSwapResponse) XXX_Marshal

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

func (*MsgSwapResponse) XXX_Merge

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

func (*MsgSwapResponse) XXX_Size

func (m *MsgSwapResponse) XXX_Size() int

func (*MsgSwapResponse) XXX_Unmarshal

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

type MsgTakeMultiAssetDepositRequest

type MsgTakeMultiAssetDepositRequest struct {
	Sender           string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolId           string        `protobuf:"bytes,2,opt,name=poolId,proto3" json:"poolId,omitempty"`
	OrderId          string        `protobuf:"bytes,3,opt,name=orderId,proto3" json:"orderId,omitempty"`
	Port             string        `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
	Channel          string        `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,6,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty"`
	TimeoutTimeStamp uint64        `protobuf:"varint,7,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

make multi-asset deposit order

func NewMsgTakeMultiAssetDeposit

func NewMsgTakeMultiAssetDeposit(sender, poolId string, orderId string, port, channel string) *MsgTakeMultiAssetDepositRequest

func (*MsgTakeMultiAssetDepositRequest) Descriptor

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

func (*MsgTakeMultiAssetDepositRequest) GetChannel

func (m *MsgTakeMultiAssetDepositRequest) GetChannel() string

func (*MsgTakeMultiAssetDepositRequest) GetOrderId

func (m *MsgTakeMultiAssetDepositRequest) GetOrderId() string

func (*MsgTakeMultiAssetDepositRequest) GetPoolId

func (m *MsgTakeMultiAssetDepositRequest) GetPoolId() string

func (*MsgTakeMultiAssetDepositRequest) GetPort

func (*MsgTakeMultiAssetDepositRequest) GetSender

func (m *MsgTakeMultiAssetDepositRequest) GetSender() string

func (*MsgTakeMultiAssetDepositRequest) GetSignBytes

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

func (*MsgTakeMultiAssetDepositRequest) GetSigners

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

func (*MsgTakeMultiAssetDepositRequest) GetTimeoutHeight

func (m *MsgTakeMultiAssetDepositRequest) GetTimeoutHeight() *types.Height

func (*MsgTakeMultiAssetDepositRequest) GetTimeoutTimeStamp

func (m *MsgTakeMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64

func (*MsgTakeMultiAssetDepositRequest) Marshal

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

func (*MsgTakeMultiAssetDepositRequest) MarshalTo

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

func (*MsgTakeMultiAssetDepositRequest) MarshalToSizedBuffer

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

func (*MsgTakeMultiAssetDepositRequest) ProtoMessage

func (*MsgTakeMultiAssetDepositRequest) ProtoMessage()

func (*MsgTakeMultiAssetDepositRequest) Reset

func (*MsgTakeMultiAssetDepositRequest) Route

func (*MsgTakeMultiAssetDepositRequest) Size

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

func (*MsgTakeMultiAssetDepositRequest) String

func (*MsgTakeMultiAssetDepositRequest) Type

func (*MsgTakeMultiAssetDepositRequest) Unmarshal

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

func (*MsgTakeMultiAssetDepositRequest) ValidateBasic

func (msg *MsgTakeMultiAssetDepositRequest) ValidateBasic() error

func (*MsgTakeMultiAssetDepositRequest) XXX_DiscardUnknown

func (m *MsgTakeMultiAssetDepositRequest) XXX_DiscardUnknown()

func (*MsgTakeMultiAssetDepositRequest) XXX_Marshal

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

func (*MsgTakeMultiAssetDepositRequest) XXX_Merge

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

func (*MsgTakeMultiAssetDepositRequest) XXX_Size

func (m *MsgTakeMultiAssetDepositRequest) XXX_Size() int

func (*MsgTakeMultiAssetDepositRequest) XXX_Unmarshal

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

type MsgTakePoolRequest

type MsgTakePoolRequest struct {
	Creator          string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PoolId           string        `protobuf:"bytes,2,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Port             string        `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	Channel          string        `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"`
	TimeoutHeight    *types.Height `protobuf:"bytes,5,opt,name=timeoutHeight,proto3" json:"timeoutHeight,omitempty" yaml:"timeout_height"`
	TimeoutTimeStamp uint64        `protobuf:"varint,6,opt,name=timeoutTimeStamp,proto3" json:"timeoutTimeStamp,omitempty"`
}

func NewMsgTakePool

func NewMsgTakePool(creator, poolId, port, channel string) *MsgTakePoolRequest

func (*MsgTakePoolRequest) Descriptor

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

func (*MsgTakePoolRequest) GetChannel

func (m *MsgTakePoolRequest) GetChannel() string

func (*MsgTakePoolRequest) GetCreator

func (m *MsgTakePoolRequest) GetCreator() string

func (*MsgTakePoolRequest) GetPoolId

func (m *MsgTakePoolRequest) GetPoolId() string

func (*MsgTakePoolRequest) GetPort

func (m *MsgTakePoolRequest) GetPort() string

func (*MsgTakePoolRequest) GetSignBytes

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

func (*MsgTakePoolRequest) GetSigners

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

func (*MsgTakePoolRequest) GetTimeoutHeight

func (m *MsgTakePoolRequest) GetTimeoutHeight() *types.Height

func (*MsgTakePoolRequest) GetTimeoutTimeStamp

func (m *MsgTakePoolRequest) GetTimeoutTimeStamp() uint64

func (*MsgTakePoolRequest) Marshal

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

func (*MsgTakePoolRequest) MarshalTo

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

func (*MsgTakePoolRequest) MarshalToSizedBuffer

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

func (*MsgTakePoolRequest) ProtoMessage

func (*MsgTakePoolRequest) ProtoMessage()

func (*MsgTakePoolRequest) Reset

func (m *MsgTakePoolRequest) Reset()

func (*MsgTakePoolRequest) Route

func (msg *MsgTakePoolRequest) Route() string

func (*MsgTakePoolRequest) Size

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

func (*MsgTakePoolRequest) String

func (m *MsgTakePoolRequest) String() string

func (*MsgTakePoolRequest) Type

func (msg *MsgTakePoolRequest) Type() string

func (*MsgTakePoolRequest) Unmarshal

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

func (*MsgTakePoolRequest) ValidateBasic

func (msg *MsgTakePoolRequest) ValidateBasic() error

func (*MsgTakePoolRequest) XXX_DiscardUnknown

func (m *MsgTakePoolRequest) XXX_DiscardUnknown()

func (*MsgTakePoolRequest) XXX_Marshal

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

func (*MsgTakePoolRequest) XXX_Merge

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

func (*MsgTakePoolRequest) XXX_Size

func (m *MsgTakePoolRequest) XXX_Size() int

func (*MsgTakePoolRequest) XXX_Unmarshal

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

type MsgTakePoolResponse

type MsgTakePoolResponse struct {
	PoolId string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
}

func (*MsgTakePoolResponse) Descriptor

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

func (*MsgTakePoolResponse) GetPoolId

func (m *MsgTakePoolResponse) GetPoolId() string

func (*MsgTakePoolResponse) Marshal

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

func (*MsgTakePoolResponse) MarshalTo

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

func (*MsgTakePoolResponse) MarshalToSizedBuffer

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

func (*MsgTakePoolResponse) ProtoMessage

func (*MsgTakePoolResponse) ProtoMessage()

func (*MsgTakePoolResponse) Reset

func (m *MsgTakePoolResponse) Reset()

func (*MsgTakePoolResponse) Size

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

func (*MsgTakePoolResponse) String

func (m *MsgTakePoolResponse) String() string

func (*MsgTakePoolResponse) Unmarshal

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

func (*MsgTakePoolResponse) XXX_DiscardUnknown

func (m *MsgTakePoolResponse) XXX_DiscardUnknown()

func (*MsgTakePoolResponse) XXX_Marshal

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

func (*MsgTakePoolResponse) XXX_Merge

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

func (*MsgTakePoolResponse) XXX_Size

func (m *MsgTakePoolResponse) XXX_Size() int

func (*MsgTakePoolResponse) XXX_Unmarshal

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

type MultiAssetDepositOrder

type MultiAssetDepositOrder struct {
	Id               string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PoolId           string        `protobuf:"bytes,2,opt,name=poolId,proto3" json:"poolId,omitempty"`
	ChainId          string        `protobuf:"bytes,3,opt,name=chainId,proto3" json:"chainId,omitempty"`
	SourceMaker      string        `protobuf:"bytes,4,opt,name=sourceMaker,proto3" json:"sourceMaker,omitempty"`
	DestinationTaker string        `protobuf:"bytes,5,opt,name=destinationTaker,proto3" json:"destinationTaker,omitempty"`
	Deposits         []*types.Coin `protobuf:"bytes,6,rep,name=deposits,proto3" json:"deposits,omitempty"`
	Status           OrderStatus   `protobuf:"varint,8,opt,name=status,proto3,enum=ibc.applications.interchain_swap.v1.OrderStatus" json:"status,omitempty"`
	CreatedAt        int64         `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
}

multi asset deposit order

func (*MultiAssetDepositOrder) Descriptor

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

func (*MultiAssetDepositOrder) GetChainId

func (m *MultiAssetDepositOrder) GetChainId() string

func (*MultiAssetDepositOrder) GetCreatedAt

func (m *MultiAssetDepositOrder) GetCreatedAt() int64

func (*MultiAssetDepositOrder) GetDeposits

func (m *MultiAssetDepositOrder) GetDeposits() []*types.Coin

func (*MultiAssetDepositOrder) GetDestinationTaker

func (m *MultiAssetDepositOrder) GetDestinationTaker() string

func (*MultiAssetDepositOrder) GetId

func (m *MultiAssetDepositOrder) GetId() string

func (*MultiAssetDepositOrder) GetPoolId

func (m *MultiAssetDepositOrder) GetPoolId() string

func (*MultiAssetDepositOrder) GetSourceMaker

func (m *MultiAssetDepositOrder) GetSourceMaker() string

func (*MultiAssetDepositOrder) GetStatus

func (m *MultiAssetDepositOrder) GetStatus() OrderStatus

func (*MultiAssetDepositOrder) Marshal

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

func (*MultiAssetDepositOrder) MarshalTo

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

func (*MultiAssetDepositOrder) MarshalToSizedBuffer

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

func (*MultiAssetDepositOrder) ProtoMessage

func (*MultiAssetDepositOrder) ProtoMessage()

func (*MultiAssetDepositOrder) Reset

func (m *MultiAssetDepositOrder) Reset()

func (*MultiAssetDepositOrder) Size

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

func (*MultiAssetDepositOrder) String

func (m *MultiAssetDepositOrder) String() string

func (*MultiAssetDepositOrder) Unmarshal

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

func (*MultiAssetDepositOrder) XXX_DiscardUnknown

func (m *MultiAssetDepositOrder) XXX_DiscardUnknown()

func (*MultiAssetDepositOrder) XXX_Marshal

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

func (*MultiAssetDepositOrder) XXX_Merge

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

func (*MultiAssetDepositOrder) XXX_Size

func (m *MultiAssetDepositOrder) XXX_Size() int

func (*MultiAssetDepositOrder) XXX_Unmarshal

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

type OrderStatus

type OrderStatus int32
const (
	OrderStatus_PENDING  OrderStatus = 0
	OrderStatus_COMPLETE OrderStatus = 1
)

func (OrderStatus) EnumDescriptor

func (OrderStatus) EnumDescriptor() ([]byte, []int)

func (OrderStatus) String

func (x OrderStatus) String() string

type Params

type Params struct {
	// swap_enabled enables or disables all cross-chain token transfers from this chain.
	SwapEnabled bool `protobuf:"varint,1,opt,name=swap_enabled,json=swapEnabled,proto3" json:"swap_enabled,omitempty" yaml:"swap_enabled"`
	// max_fee_rate set a max value of fee, it's base point, 1/10000
	MaxFeeRate uint32 `protobuf:"varint,2,opt,name=max_fee_rate,json=maxFeeRate,proto3" json:"max_fee_rate,omitempty" yaml:"max_fee_rate"`
}

Params defines the set of IBC swap parameters.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(enable bool, feeRate uint32) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetMaxFeeRate

func (m *Params) GetMaxFeeRate() uint32

func (*Params) GetSwapEnabled

func (m *Params) GetSwapEnabled() bool

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PoolAsset

type PoolAsset struct {
	Side    PoolAssetSide `protobuf:"varint,1,opt,name=side,proto3,enum=ibc.applications.interchain_swap.v1.PoolAssetSide" json:"side,omitempty"`
	Balance *types.Coin   `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Weight  uint32        `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	Decimal uint32        `protobuf:"varint,4,opt,name=decimal,proto3" json:"decimal,omitempty"`
}

func (*PoolAsset) Descriptor

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

func (*PoolAsset) GetBalance

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

func (*PoolAsset) GetDecimal

func (m *PoolAsset) GetDecimal() uint32

func (*PoolAsset) GetSide

func (m *PoolAsset) GetSide() PoolAssetSide

func (*PoolAsset) GetWeight

func (m *PoolAsset) GetWeight() uint32

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 PoolAssetSide

type PoolAssetSide int32
const (
	PoolAssetSide_SOURCE      PoolAssetSide = 0
	PoolAssetSide_DESTINATION PoolAssetSide = 1
)

func (PoolAssetSide) EnumDescriptor

func (PoolAssetSide) EnumDescriptor() ([]byte, []int)

func (PoolAssetSide) String

func (x PoolAssetSide) String() string

type PoolStatus

type PoolStatus int32
const (
	PoolStatus_INITIALIZED PoolStatus = 0
	PoolStatus_ACTIVE      PoolStatus = 1
)

func (PoolStatus) EnumDescriptor

func (PoolStatus) EnumDescriptor() ([]byte, []int)

func (PoolStatus) String

func (x PoolStatus) String() string

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper.

type QueryAllInterchainLiquidityMyPoolRequest

type QueryAllInterchainLiquidityMyPoolRequest struct {
	Creator    string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainLiquidityMyPoolRequest) Descriptor

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

func (*QueryAllInterchainLiquidityMyPoolRequest) GetCreator

func (*QueryAllInterchainLiquidityMyPoolRequest) GetPagination

func (*QueryAllInterchainLiquidityMyPoolRequest) Marshal

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

func (*QueryAllInterchainLiquidityMyPoolRequest) MarshalTo

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

func (*QueryAllInterchainLiquidityMyPoolRequest) MarshalToSizedBuffer

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

func (*QueryAllInterchainLiquidityMyPoolRequest) ProtoMessage

func (*QueryAllInterchainLiquidityMyPoolRequest) Reset

func (*QueryAllInterchainLiquidityMyPoolRequest) Size

func (*QueryAllInterchainLiquidityMyPoolRequest) String

func (*QueryAllInterchainLiquidityMyPoolRequest) Unmarshal

func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_DiscardUnknown

func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_DiscardUnknown()

func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_Marshal

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

func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_Merge

func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_Size

func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_Unmarshal

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

type QueryAllInterchainLiquidityPoolRequest

type QueryAllInterchainLiquidityPoolRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainLiquidityPoolRequest) Descriptor

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

func (*QueryAllInterchainLiquidityPoolRequest) GetPagination

func (*QueryAllInterchainLiquidityPoolRequest) Marshal

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

func (*QueryAllInterchainLiquidityPoolRequest) MarshalTo

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

func (*QueryAllInterchainLiquidityPoolRequest) MarshalToSizedBuffer

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

func (*QueryAllInterchainLiquidityPoolRequest) ProtoMessage

func (*QueryAllInterchainLiquidityPoolRequest) Reset

func (*QueryAllInterchainLiquidityPoolRequest) Size

func (*QueryAllInterchainLiquidityPoolRequest) String

func (*QueryAllInterchainLiquidityPoolRequest) Unmarshal

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

func (*QueryAllInterchainLiquidityPoolRequest) XXX_DiscardUnknown

func (m *QueryAllInterchainLiquidityPoolRequest) XXX_DiscardUnknown()

func (*QueryAllInterchainLiquidityPoolRequest) XXX_Marshal

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

func (*QueryAllInterchainLiquidityPoolRequest) XXX_Merge

func (*QueryAllInterchainLiquidityPoolRequest) XXX_Size

func (*QueryAllInterchainLiquidityPoolRequest) XXX_Unmarshal

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

type QueryAllInterchainLiquidityPoolResponse

type QueryAllInterchainLiquidityPoolResponse struct {
	InterchainLiquidityPool []InterchainLiquidityPool `protobuf:"bytes,1,rep,name=interchainLiquidityPool,proto3" json:"interchainLiquidityPool"`
	Pagination              *query.PageResponse       `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainLiquidityPoolResponse) Descriptor

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

func (*QueryAllInterchainLiquidityPoolResponse) GetInterchainLiquidityPool

func (m *QueryAllInterchainLiquidityPoolResponse) GetInterchainLiquidityPool() []InterchainLiquidityPool

func (*QueryAllInterchainLiquidityPoolResponse) GetPagination

func (*QueryAllInterchainLiquidityPoolResponse) Marshal

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

func (*QueryAllInterchainLiquidityPoolResponse) MarshalTo

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

func (*QueryAllInterchainLiquidityPoolResponse) MarshalToSizedBuffer

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

func (*QueryAllInterchainLiquidityPoolResponse) ProtoMessage

func (*QueryAllInterchainLiquidityPoolResponse) Reset

func (*QueryAllInterchainLiquidityPoolResponse) Size

func (*QueryAllInterchainLiquidityPoolResponse) String

func (*QueryAllInterchainLiquidityPoolResponse) Unmarshal

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

func (*QueryAllInterchainLiquidityPoolResponse) XXX_DiscardUnknown

func (m *QueryAllInterchainLiquidityPoolResponse) XXX_DiscardUnknown()

func (*QueryAllInterchainLiquidityPoolResponse) XXX_Marshal

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

func (*QueryAllInterchainLiquidityPoolResponse) XXX_Merge

func (*QueryAllInterchainLiquidityPoolResponse) XXX_Size

func (*QueryAllInterchainLiquidityPoolResponse) XXX_Unmarshal

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

type QueryAllInterchainMarketMakerRequest

type QueryAllInterchainMarketMakerRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainMarketMakerRequest) Descriptor

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

func (*QueryAllInterchainMarketMakerRequest) GetPagination

func (*QueryAllInterchainMarketMakerRequest) Marshal

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

func (*QueryAllInterchainMarketMakerRequest) MarshalTo

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

func (*QueryAllInterchainMarketMakerRequest) MarshalToSizedBuffer

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

func (*QueryAllInterchainMarketMakerRequest) ProtoMessage

func (*QueryAllInterchainMarketMakerRequest) ProtoMessage()

func (*QueryAllInterchainMarketMakerRequest) Reset

func (*QueryAllInterchainMarketMakerRequest) Size

func (*QueryAllInterchainMarketMakerRequest) String

func (*QueryAllInterchainMarketMakerRequest) Unmarshal

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

func (*QueryAllInterchainMarketMakerRequest) XXX_DiscardUnknown

func (m *QueryAllInterchainMarketMakerRequest) XXX_DiscardUnknown()

func (*QueryAllInterchainMarketMakerRequest) XXX_Marshal

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

func (*QueryAllInterchainMarketMakerRequest) XXX_Merge

func (*QueryAllInterchainMarketMakerRequest) XXX_Size

func (*QueryAllInterchainMarketMakerRequest) XXX_Unmarshal

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

type QueryAllInterchainMarketMakerResponse

type QueryAllInterchainMarketMakerResponse struct {
	InterchainMarketMaker []InterchainMarketMaker `protobuf:"bytes,1,rep,name=interchainMarketMaker,proto3" json:"interchainMarketMaker"`
	Pagination            *query.PageResponse     `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainMarketMakerResponse) Descriptor

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

func (*QueryAllInterchainMarketMakerResponse) GetInterchainMarketMaker

func (m *QueryAllInterchainMarketMakerResponse) GetInterchainMarketMaker() []InterchainMarketMaker

func (*QueryAllInterchainMarketMakerResponse) GetPagination

func (*QueryAllInterchainMarketMakerResponse) Marshal

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

func (*QueryAllInterchainMarketMakerResponse) MarshalTo

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

func (*QueryAllInterchainMarketMakerResponse) MarshalToSizedBuffer

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

func (*QueryAllInterchainMarketMakerResponse) ProtoMessage

func (*QueryAllInterchainMarketMakerResponse) ProtoMessage()

func (*QueryAllInterchainMarketMakerResponse) Reset

func (*QueryAllInterchainMarketMakerResponse) Size

func (*QueryAllInterchainMarketMakerResponse) String

func (*QueryAllInterchainMarketMakerResponse) Unmarshal

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

func (*QueryAllInterchainMarketMakerResponse) XXX_DiscardUnknown

func (m *QueryAllInterchainMarketMakerResponse) XXX_DiscardUnknown()

func (*QueryAllInterchainMarketMakerResponse) XXX_Marshal

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

func (*QueryAllInterchainMarketMakerResponse) XXX_Merge

func (*QueryAllInterchainMarketMakerResponse) XXX_Size

func (*QueryAllInterchainMarketMakerResponse) XXX_Unmarshal

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

type QueryAllInterchainMultiDepositOrdersRequest

type QueryAllInterchainMultiDepositOrdersRequest struct {
	PoolId     string             `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryOrdersRequest is the request type for the Query/MutliDepositOrder RPC method

func (*QueryAllInterchainMultiDepositOrdersRequest) Descriptor

func (*QueryAllInterchainMultiDepositOrdersRequest) GetPagination

func (*QueryAllInterchainMultiDepositOrdersRequest) GetPoolId

func (*QueryAllInterchainMultiDepositOrdersRequest) Marshal

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

func (*QueryAllInterchainMultiDepositOrdersRequest) MarshalTo

func (*QueryAllInterchainMultiDepositOrdersRequest) MarshalToSizedBuffer

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

func (*QueryAllInterchainMultiDepositOrdersRequest) ProtoMessage

func (*QueryAllInterchainMultiDepositOrdersRequest) Reset

func (*QueryAllInterchainMultiDepositOrdersRequest) Size

func (*QueryAllInterchainMultiDepositOrdersRequest) String

func (*QueryAllInterchainMultiDepositOrdersRequest) Unmarshal

func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_DiscardUnknown

func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_DiscardUnknown()

func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Marshal

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

func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Merge

func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Size

func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Unmarshal

type QueryAllInterchainMultiDepositOrdersResponse

type QueryAllInterchainMultiDepositOrdersResponse struct {
	// params defines the parameters of the module.
	Orders     []*MultiAssetDepositOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	Pagination *query.PageResponse       `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInterchainMultiDepositOrdersResponse) Descriptor

func (*QueryAllInterchainMultiDepositOrdersResponse) GetOrders

func (*QueryAllInterchainMultiDepositOrdersResponse) GetPagination

func (*QueryAllInterchainMultiDepositOrdersResponse) Marshal

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

func (*QueryAllInterchainMultiDepositOrdersResponse) MarshalTo

func (*QueryAllInterchainMultiDepositOrdersResponse) MarshalToSizedBuffer

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

func (*QueryAllInterchainMultiDepositOrdersResponse) ProtoMessage

func (*QueryAllInterchainMultiDepositOrdersResponse) Reset

func (*QueryAllInterchainMultiDepositOrdersResponse) Size

func (*QueryAllInterchainMultiDepositOrdersResponse) String

func (*QueryAllInterchainMultiDepositOrdersResponse) Unmarshal

func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_DiscardUnknown

func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_DiscardUnknown()

func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Marshal

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

func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Merge

func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Size

func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	// Params queries all parameters of the ibc-transfer module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// EscrowAddress returns the escrow address for a particular port and channel id.
	EscrowAddress(ctx context.Context, in *QueryEscrowAddressRequest, opts ...grpc.CallOption) (*QueryEscrowAddressResponse, error)
	// Queries a list of InterchainLiquidityPool items.
	InterchainLiquidityPool(ctx context.Context, in *QueryGetInterchainLiquidityPoolRequest, opts ...grpc.CallOption) (*QueryGetInterchainLiquidityPoolResponse, error)
	InterchainLiquidityPoolAll(ctx context.Context, in *QueryAllInterchainLiquidityPoolRequest, opts ...grpc.CallOption) (*QueryAllInterchainLiquidityPoolResponse, error)
	InterchainLiquidityMyPoolAll(ctx context.Context, in *QueryAllInterchainLiquidityMyPoolRequest, opts ...grpc.CallOption) (*QueryAllInterchainLiquidityPoolResponse, error)
	// Queries a list of InterchainMarketMaker items.
	InterchainMarketMaker(ctx context.Context, in *QueryGetInterchainMarketMakerRequest, opts ...grpc.CallOption) (*QueryGetInterchainMarketMakerResponse, error)
	InterchainMarketMakerAll(ctx context.Context, in *QueryAllInterchainMarketMakerRequest, opts ...grpc.CallOption) (*QueryAllInterchainMarketMakerResponse, error)
	InterchainMultiDepositOrder(ctx context.Context, in *QueryGetInterchainMultiDepositOrderRequest, opts ...grpc.CallOption) (*QueryGetInterchainMultiDepositOrderResponse, error)
	InterchainLatestMultiDepositOrderByCreator(ctx context.Context, in *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest, opts ...grpc.CallOption) (*QueryGetInterchainMultiDepositOrderResponse, error)
	InterchainMultiDepositOrdersAll(ctx context.Context, in *QueryAllInterchainMultiDepositOrdersRequest, opts ...grpc.CallOption) (*QueryAllInterchainMultiDepositOrdersResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryEscrowAddressRequest

type QueryEscrowAddressRequest struct {
	// unique port identifier
	PortId string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	// unique channel identifier
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method.

func (*QueryEscrowAddressRequest) Descriptor

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

func (*QueryEscrowAddressRequest) GetChannelId

func (m *QueryEscrowAddressRequest) GetChannelId() string

func (*QueryEscrowAddressRequest) GetPortId

func (m *QueryEscrowAddressRequest) GetPortId() string

func (*QueryEscrowAddressRequest) Marshal

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

func (*QueryEscrowAddressRequest) MarshalTo

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

func (*QueryEscrowAddressRequest) MarshalToSizedBuffer

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

func (*QueryEscrowAddressRequest) ProtoMessage

func (*QueryEscrowAddressRequest) ProtoMessage()

func (*QueryEscrowAddressRequest) Reset

func (m *QueryEscrowAddressRequest) Reset()

func (*QueryEscrowAddressRequest) Size

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

func (*QueryEscrowAddressRequest) String

func (m *QueryEscrowAddressRequest) String() string

func (*QueryEscrowAddressRequest) Unmarshal

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

func (*QueryEscrowAddressRequest) XXX_DiscardUnknown

func (m *QueryEscrowAddressRequest) XXX_DiscardUnknown()

func (*QueryEscrowAddressRequest) XXX_Marshal

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

func (*QueryEscrowAddressRequest) XXX_Merge

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

func (*QueryEscrowAddressRequest) XXX_Size

func (m *QueryEscrowAddressRequest) XXX_Size() int

func (*QueryEscrowAddressRequest) XXX_Unmarshal

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

type QueryEscrowAddressResponse

type QueryEscrowAddressResponse struct {
	// the escrow account address
	EscrowAddress string `protobuf:"bytes,1,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty"`
}

QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.

func (*QueryEscrowAddressResponse) Descriptor

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

func (*QueryEscrowAddressResponse) GetEscrowAddress

func (m *QueryEscrowAddressResponse) GetEscrowAddress() string

func (*QueryEscrowAddressResponse) Marshal

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

func (*QueryEscrowAddressResponse) MarshalTo

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

func (*QueryEscrowAddressResponse) MarshalToSizedBuffer

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

func (*QueryEscrowAddressResponse) ProtoMessage

func (*QueryEscrowAddressResponse) ProtoMessage()

func (*QueryEscrowAddressResponse) Reset

func (m *QueryEscrowAddressResponse) Reset()

func (*QueryEscrowAddressResponse) Size

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

func (*QueryEscrowAddressResponse) String

func (m *QueryEscrowAddressResponse) String() string

func (*QueryEscrowAddressResponse) Unmarshal

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

func (*QueryEscrowAddressResponse) XXX_DiscardUnknown

func (m *QueryEscrowAddressResponse) XXX_DiscardUnknown()

func (*QueryEscrowAddressResponse) XXX_Marshal

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

func (*QueryEscrowAddressResponse) XXX_Merge

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

func (*QueryEscrowAddressResponse) XXX_Size

func (m *QueryEscrowAddressResponse) XXX_Size() int

func (*QueryEscrowAddressResponse) XXX_Unmarshal

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

type QueryGetInterchainLiquidityPoolRequest

type QueryGetInterchainLiquidityPoolRequest struct {
	PoolId string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
}

func (*QueryGetInterchainLiquidityPoolRequest) Descriptor

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

func (*QueryGetInterchainLiquidityPoolRequest) GetPoolId

func (*QueryGetInterchainLiquidityPoolRequest) Marshal

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

func (*QueryGetInterchainLiquidityPoolRequest) MarshalTo

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

func (*QueryGetInterchainLiquidityPoolRequest) MarshalToSizedBuffer

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

func (*QueryGetInterchainLiquidityPoolRequest) ProtoMessage

func (*QueryGetInterchainLiquidityPoolRequest) Reset

func (*QueryGetInterchainLiquidityPoolRequest) Size

func (*QueryGetInterchainLiquidityPoolRequest) String

func (*QueryGetInterchainLiquidityPoolRequest) Unmarshal

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

func (*QueryGetInterchainLiquidityPoolRequest) XXX_DiscardUnknown

func (m *QueryGetInterchainLiquidityPoolRequest) XXX_DiscardUnknown()

func (*QueryGetInterchainLiquidityPoolRequest) XXX_Marshal

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

func (*QueryGetInterchainLiquidityPoolRequest) XXX_Merge

func (*QueryGetInterchainLiquidityPoolRequest) XXX_Size

func (*QueryGetInterchainLiquidityPoolRequest) XXX_Unmarshal

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

type QueryGetInterchainLiquidityPoolResponse

type QueryGetInterchainLiquidityPoolResponse struct {
	InterchainLiquidityPool InterchainLiquidityPool `protobuf:"bytes,1,opt,name=interchainLiquidityPool,proto3" json:"interchainLiquidityPool"`
}

func (*QueryGetInterchainLiquidityPoolResponse) Descriptor

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

func (*QueryGetInterchainLiquidityPoolResponse) GetInterchainLiquidityPool

func (m *QueryGetInterchainLiquidityPoolResponse) GetInterchainLiquidityPool() InterchainLiquidityPool

func (*QueryGetInterchainLiquidityPoolResponse) Marshal

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

func (*QueryGetInterchainLiquidityPoolResponse) MarshalTo

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

func (*QueryGetInterchainLiquidityPoolResponse) MarshalToSizedBuffer

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

func (*QueryGetInterchainLiquidityPoolResponse) ProtoMessage

func (*QueryGetInterchainLiquidityPoolResponse) Reset

func (*QueryGetInterchainLiquidityPoolResponse) Size

func (*QueryGetInterchainLiquidityPoolResponse) String

func (*QueryGetInterchainLiquidityPoolResponse) Unmarshal

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

func (*QueryGetInterchainLiquidityPoolResponse) XXX_DiscardUnknown

func (m *QueryGetInterchainLiquidityPoolResponse) XXX_DiscardUnknown()

func (*QueryGetInterchainLiquidityPoolResponse) XXX_Marshal

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

func (*QueryGetInterchainLiquidityPoolResponse) XXX_Merge

func (*QueryGetInterchainLiquidityPoolResponse) XXX_Size

func (*QueryGetInterchainLiquidityPoolResponse) XXX_Unmarshal

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

type QueryGetInterchainMarketMakerRequest

type QueryGetInterchainMarketMakerRequest struct {
	PoolId string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
}

func (*QueryGetInterchainMarketMakerRequest) Descriptor

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

func (*QueryGetInterchainMarketMakerRequest) GetPoolId

func (*QueryGetInterchainMarketMakerRequest) Marshal

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

func (*QueryGetInterchainMarketMakerRequest) MarshalTo

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

func (*QueryGetInterchainMarketMakerRequest) MarshalToSizedBuffer

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

func (*QueryGetInterchainMarketMakerRequest) ProtoMessage

func (*QueryGetInterchainMarketMakerRequest) ProtoMessage()

func (*QueryGetInterchainMarketMakerRequest) Reset

func (*QueryGetInterchainMarketMakerRequest) Size

func (*QueryGetInterchainMarketMakerRequest) String

func (*QueryGetInterchainMarketMakerRequest) Unmarshal

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

func (*QueryGetInterchainMarketMakerRequest) XXX_DiscardUnknown

func (m *QueryGetInterchainMarketMakerRequest) XXX_DiscardUnknown()

func (*QueryGetInterchainMarketMakerRequest) XXX_Marshal

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

func (*QueryGetInterchainMarketMakerRequest) XXX_Merge

func (*QueryGetInterchainMarketMakerRequest) XXX_Size

func (*QueryGetInterchainMarketMakerRequest) XXX_Unmarshal

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

type QueryGetInterchainMarketMakerResponse

type QueryGetInterchainMarketMakerResponse struct {
	InterchainMarketMaker InterchainMarketMaker `protobuf:"bytes,1,opt,name=interchainMarketMaker,proto3" json:"interchainMarketMaker"`
}

func (*QueryGetInterchainMarketMakerResponse) Descriptor

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

func (*QueryGetInterchainMarketMakerResponse) GetInterchainMarketMaker

func (m *QueryGetInterchainMarketMakerResponse) GetInterchainMarketMaker() InterchainMarketMaker

func (*QueryGetInterchainMarketMakerResponse) Marshal

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

func (*QueryGetInterchainMarketMakerResponse) MarshalTo

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

func (*QueryGetInterchainMarketMakerResponse) MarshalToSizedBuffer

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

func (*QueryGetInterchainMarketMakerResponse) ProtoMessage

func (*QueryGetInterchainMarketMakerResponse) ProtoMessage()

func (*QueryGetInterchainMarketMakerResponse) Reset

func (*QueryGetInterchainMarketMakerResponse) Size

func (*QueryGetInterchainMarketMakerResponse) String

func (*QueryGetInterchainMarketMakerResponse) Unmarshal

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

func (*QueryGetInterchainMarketMakerResponse) XXX_DiscardUnknown

func (m *QueryGetInterchainMarketMakerResponse) XXX_DiscardUnknown()

func (*QueryGetInterchainMarketMakerResponse) XXX_Marshal

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

func (*QueryGetInterchainMarketMakerResponse) XXX_Merge

func (*QueryGetInterchainMarketMakerResponse) XXX_Size

func (*QueryGetInterchainMarketMakerResponse) XXX_Unmarshal

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

type QueryGetInterchainMultiDepositOrderRequest

type QueryGetInterchainMultiDepositOrderRequest struct {
	PoolId  string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	OrderId string `protobuf:"bytes,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
}

QueryOrdersRequest is the request type for the Query/MutliDepositOrder RPC method

func (*QueryGetInterchainMultiDepositOrderRequest) Descriptor

func (*QueryGetInterchainMultiDepositOrderRequest) GetOrderId

func (*QueryGetInterchainMultiDepositOrderRequest) GetPoolId

func (*QueryGetInterchainMultiDepositOrderRequest) Marshal

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

func (*QueryGetInterchainMultiDepositOrderRequest) MarshalTo

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

func (*QueryGetInterchainMultiDepositOrderRequest) MarshalToSizedBuffer

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

func (*QueryGetInterchainMultiDepositOrderRequest) ProtoMessage

func (*QueryGetInterchainMultiDepositOrderRequest) Reset

func (*QueryGetInterchainMultiDepositOrderRequest) Size

func (*QueryGetInterchainMultiDepositOrderRequest) String

func (*QueryGetInterchainMultiDepositOrderRequest) Unmarshal

func (*QueryGetInterchainMultiDepositOrderRequest) XXX_DiscardUnknown

func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_DiscardUnknown()

func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Marshal

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

func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Merge

func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Size

func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Unmarshal

type QueryGetInterchainMultiDepositOrderResponse

type QueryGetInterchainMultiDepositOrderResponse struct {
	// params defines the parameters of the module.
	Order *MultiAssetDepositOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
}

func (*QueryGetInterchainMultiDepositOrderResponse) Descriptor

func (*QueryGetInterchainMultiDepositOrderResponse) GetOrder

func (*QueryGetInterchainMultiDepositOrderResponse) Marshal

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

func (*QueryGetInterchainMultiDepositOrderResponse) MarshalTo

func (*QueryGetInterchainMultiDepositOrderResponse) MarshalToSizedBuffer

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

func (*QueryGetInterchainMultiDepositOrderResponse) ProtoMessage

func (*QueryGetInterchainMultiDepositOrderResponse) Reset

func (*QueryGetInterchainMultiDepositOrderResponse) Size

func (*QueryGetInterchainMultiDepositOrderResponse) String

func (*QueryGetInterchainMultiDepositOrderResponse) Unmarshal

func (*QueryGetInterchainMultiDepositOrderResponse) XXX_DiscardUnknown

func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_DiscardUnknown()

func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Marshal

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

func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Merge

func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Size

func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Unmarshal

type QueryLatestInterchainMultiDepositOrderBySourceMakerRequest

type QueryLatestInterchainMultiDepositOrderBySourceMakerRequest struct {
	PoolId      string `protobuf:"bytes,1,opt,name=poolId,proto3" json:"poolId,omitempty"`
	SourceMaker string `protobuf:"bytes,2,opt,name=sourceMaker,proto3" json:"sourceMaker,omitempty"`
}

// Query latest interchain multi-deposit order

message QueryLatestInterchainMultiDepositOrderRequest {
  string poolId = 1;
  cosmos.base.query.v1beta1.PageRequest pagination = 3;
}

Query latest interchain multi-deposit order by creators

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Descriptor

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetPoolId

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetSourceMaker

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Marshal

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalTo

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalToSizedBuffer

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

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) ProtoMessage

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Reset

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Size

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) String

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Unmarshal

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_DiscardUnknown

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Marshal

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

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Merge

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Size

func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Unmarshal

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Params queries all parameters of the ibc-transfer module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// EscrowAddress returns the escrow address for a particular port and channel id.
	EscrowAddress(context.Context, *QueryEscrowAddressRequest) (*QueryEscrowAddressResponse, error)
	// Queries a list of InterchainLiquidityPool items.
	InterchainLiquidityPool(context.Context, *QueryGetInterchainLiquidityPoolRequest) (*QueryGetInterchainLiquidityPoolResponse, error)
	InterchainLiquidityPoolAll(context.Context, *QueryAllInterchainLiquidityPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
	InterchainLiquidityMyPoolAll(context.Context, *QueryAllInterchainLiquidityMyPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
	// Queries a list of InterchainMarketMaker items.
	InterchainMarketMaker(context.Context, *QueryGetInterchainMarketMakerRequest) (*QueryGetInterchainMarketMakerResponse, error)
	InterchainMarketMakerAll(context.Context, *QueryAllInterchainMarketMakerRequest) (*QueryAllInterchainMarketMakerResponse, error)
	InterchainMultiDepositOrder(context.Context, *QueryGetInterchainMultiDepositOrderRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
	InterchainLatestMultiDepositOrderByCreator(context.Context, *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
	InterchainMultiDepositOrdersAll(context.Context, *QueryAllInterchainMultiDepositOrdersRequest) (*QueryAllInterchainMultiDepositOrdersResponse, error)
}

QueryServer is the server API for Query service. All implementations should embed UnimplementedQueryServer for forward compatibility

type StateChange

type StateChange struct {
	In                  []*types.Coin `protobuf:"bytes,1,rep,name=in,proto3" json:"in,omitempty"`
	Out                 []*types.Coin `protobuf:"bytes,2,rep,name=out,proto3" json:"out,omitempty"`
	PoolTokens          []*types.Coin `protobuf:"bytes,3,rep,name=poolTokens,proto3" json:"poolTokens,omitempty"`
	PoolId              string        `protobuf:"bytes,4,opt,name=poolId,proto3" json:"poolId,omitempty"`
	MultiDepositOrderId string        `protobuf:"bytes,5,opt,name=multiDepositOrderId,proto3" json:"multiDepositOrderId,omitempty"`
	SourceChainId       string        `protobuf:"bytes,6,opt,name=sourceChainId,proto3" json:"sourceChainId,omitempty"`
}

func (*StateChange) Descriptor

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

func (*StateChange) FindOutByDenom

func (s *StateChange) FindOutByDenom(denom string) (*sdk.Coin, error)

func (*StateChange) GetIn

func (m *StateChange) GetIn() []*types.Coin

func (*StateChange) GetMultiDepositOrderId

func (m *StateChange) GetMultiDepositOrderId() string

func (*StateChange) GetOut

func (m *StateChange) GetOut() []*types.Coin

func (*StateChange) GetPoolId

func (m *StateChange) GetPoolId() string

func (*StateChange) GetPoolTokens

func (m *StateChange) GetPoolTokens() []*types.Coin

func (*StateChange) GetSourceChainId

func (m *StateChange) GetSourceChainId() string

func (*StateChange) Marshal

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

func (*StateChange) MarshalTo

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

func (*StateChange) MarshalToSizedBuffer

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

func (*StateChange) ProtoMessage

func (*StateChange) ProtoMessage()

func (*StateChange) Reset

func (m *StateChange) Reset()

func (*StateChange) Size

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

func (*StateChange) String

func (m *StateChange) String() string

func (*StateChange) Unmarshal

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

func (*StateChange) XXX_DiscardUnknown

func (m *StateChange) XXX_DiscardUnknown()

func (*StateChange) XXX_Marshal

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

func (*StateChange) XXX_Merge

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

func (*StateChange) XXX_Size

func (m *StateChange) XXX_Size() int

func (*StateChange) XXX_Unmarshal

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

type SwapMessageType

type SwapMessageType int32

Type defines a classification of swap messages

const (
	// Default zero value enumeration
	UNSPECIFIED          SwapMessageType = 0
	MAKE_POOL            SwapMessageType = 1
	TAKE_POOL            SwapMessageType = 2
	CANCEL_POOL          SwapMessageType = 3
	SINGLE_DEPOSIT       SwapMessageType = 4
	MAKE_MULTI_DEPOSIT   SwapMessageType = 5
	CANCEL_MULTI_DEPOSIT SwapMessageType = 6
	TAKE_MULTI_DEPOSIT   SwapMessageType = 7
	MULTI_WITHDRAW       SwapMessageType = 8
	LEFT_SWAP            SwapMessageType = 9
	RIGHT_SWAP           SwapMessageType = 10
)

func (SwapMessageType) EnumDescriptor

func (SwapMessageType) EnumDescriptor() ([]byte, []int)

func (SwapMessageType) String

func (x SwapMessageType) String() string

type SwapMsgType

type SwapMsgType int32
const (
	SwapMsgType_LEFT  SwapMsgType = 0
	SwapMsgType_RIGHT SwapMsgType = 1
)

func (SwapMsgType) EnumDescriptor

func (SwapMsgType) EnumDescriptor() ([]byte, []int)

func (SwapMsgType) String

func (x SwapMsgType) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer should be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CancelPool

func (UnimplementedMsgServer) MakePool

func (UnimplementedMsgServer) Swap

func (UnimplementedMsgServer) TakePool

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer should be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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