Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BytesToUint(b []byte) (uint, error)
- func CheckSlippage(expect, result sdk.Dec, desireSlippage int64) error
- func CreateEscrowAccount(portID, channelID string)
- func DeserializeDepositTx(cdc codec.BinaryCodec, data []byte) (*banktypes.MsgSend, error)
- func Exp(dec types.Dec) types.Dec
- func GenerateRandomString(chainID string, n int) string
- func GetCoinsFromDepositAssets(assets []*DepositAsset) []*sdk.Coin
- func GetConnectID(chainIds ...string) string
- func GetDefaultTimeOut(ctx *sdk.Context) (clienttypes.Height, uint64)
- func GetEscrowAddress(portID, channelID string) sdk.AccAddress
- func GetEscrowAddressWithModuleName(name string) sdk.AccAddress
- func GetEscrowModuleName(portID, channelID string) string
- func GetEventAttrOfAsset(assets []*DepositAsset) []sdk.Attribute
- func GetEventValueWithSuffix(value, suffix string) string
- func GetOrderId(maker string, sequence uint64) string
- func GetPoolId(sourceChainId, destinationChainId string, denoms []string) string
- func InitialPoolTokenKey(poolId string) []byte
- func InterchainLiquidityPoolKey(poolId string) []byte
- func InterchainMarketMakerKey(poolId string) []byte
- func KeyPrefix(p string) []byte
- func Ln(dec types.Dec) types.Dec
- func MultiDepositOrderPrefixKey(orderId string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- func UintToBytes(num uint) ([]byte, error)
- func ValidateLiquidityBasic(liquidity []*PoolAsset) error
- type AccountKeeper
- type AckData
- type BankKeeper
- type ChannelKeeper
- type DepositAsset
- func (*DepositAsset) Descriptor() ([]byte, []int)
- func (m *DepositAsset) GetBalance() *types1.Coin
- func (m *DepositAsset) GetSender() string
- func (m *DepositAsset) Marshal() (dAtA []byte, err error)
- func (m *DepositAsset) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositAsset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositAsset) ProtoMessage()
- func (m *DepositAsset) Reset()
- func (m *DepositAsset) Size() (n int)
- func (m *DepositAsset) String() string
- func (m *DepositAsset) Unmarshal(dAtA []byte) error
- func (m *DepositAsset) XXX_DiscardUnknown()
- func (m *DepositAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositAsset) XXX_Merge(src proto.Message)
- func (m *DepositAsset) XXX_Size() int
- func (m *DepositAsset) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetInterchainLiquidityPoolList() []InterchainLiquidityPool
- func (m *GenesisState) GetInterchainMarketMakerList() []InterchainMarketMaker
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type IBCSwapPacketData
- func (*IBCSwapPacketData) Descriptor() ([]byte, []int)
- func (pd IBCSwapPacketData) GetBytes() []byte
- func (m *IBCSwapPacketData) GetData() []byte
- func (m *IBCSwapPacketData) GetMemo() string
- func (m *IBCSwapPacketData) GetStateChange() []byte
- func (m *IBCSwapPacketData) GetType() SwapMessageType
- func (m *IBCSwapPacketData) Marshal() (dAtA []byte, err error)
- func (m *IBCSwapPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *IBCSwapPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IBCSwapPacketData) ProtoMessage()
- func (m *IBCSwapPacketData) Reset()
- func (m *IBCSwapPacketData) Size() (n int)
- func (m *IBCSwapPacketData) String() string
- func (m *IBCSwapPacketData) Unmarshal(dAtA []byte) error
- func (pd IBCSwapPacketData) ValidateBasic() error
- func (m *IBCSwapPacketData) XXX_DiscardUnknown()
- func (m *IBCSwapPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IBCSwapPacketData) XXX_Merge(src proto.Message)
- func (m *IBCSwapPacketData) XXX_Size() int
- func (m *IBCSwapPacketData) XXX_Unmarshal(b []byte) error
- type ICS4Wrapper
- type InterchainLiquidityPool
- func (ilp *InterchainLiquidityPool) AddAsset(token types.Coin) error
- func (ilp *InterchainLiquidityPool) AddPoolSupply(token types.Coin) error
- func (ilp *InterchainLiquidityPool) AllAssetsWithdrawn() bool
- func (*InterchainLiquidityPool) Descriptor() ([]byte, []int)
- func (ilp *InterchainLiquidityPool) FindAssetByDenom(denom string) (*PoolAsset, error)
- func (ilp *InterchainLiquidityPool) FindAssetBySide(side PoolAssetSide) (*types.Coin, error)
- func (ilp *InterchainLiquidityPool) FindDenomBySide(side PoolAssetSide) (*string, error)
- func (ilp *InterchainLiquidityPool) FindPoolAssetBySide(side PoolAssetSide) (*PoolAsset, error)
- func (m *InterchainLiquidityPool) GetAssets() []*PoolAsset
- func (m *InterchainLiquidityPool) GetCounterPartyChannel() string
- func (m *InterchainLiquidityPool) GetCounterPartyPort() string
- func (m *InterchainLiquidityPool) GetDestinationCreator() string
- func (m *InterchainLiquidityPool) GetId() string
- func (m *InterchainLiquidityPool) GetPoolPrice() uint64
- func (m *InterchainLiquidityPool) GetSourceChainId() string
- func (m *InterchainLiquidityPool) GetSourceCreator() string
- func (m *InterchainLiquidityPool) GetStatus() PoolStatus
- func (m *InterchainLiquidityPool) GetSupply() *types.Coin
- func (m *InterchainLiquidityPool) GetSwapFee() uint32
- func (m *InterchainLiquidityPool) Marshal() (dAtA []byte, err error)
- func (m *InterchainLiquidityPool) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainLiquidityPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InterchainLiquidityPool) ProtoMessage()
- func (m *InterchainLiquidityPool) Reset()
- func (ilp *InterchainLiquidityPool) SetSupply(amount types.Int)
- func (m *InterchainLiquidityPool) Size() (n int)
- func (m *InterchainLiquidityPool) String() string
- func (ilp *InterchainLiquidityPool) SubtractAsset(token types.Coin) (*types.Coin, error)
- func (ilp *InterchainLiquidityPool) SubtractPoolSupply(token types.Coin) error
- func (ilp *InterchainLiquidityPool) SumOfPoolAssets() types.Int
- func (m *InterchainLiquidityPool) Unmarshal(dAtA []byte) error
- func (ilp *InterchainLiquidityPool) UpdateAssetPoolSide(denom string, side PoolAssetSide) (*PoolAsset, error)
- func (m *InterchainLiquidityPool) XXX_DiscardUnknown()
- func (m *InterchainLiquidityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainLiquidityPool) XXX_Merge(src proto.Message)
- func (m *InterchainLiquidityPool) XXX_Size() int
- func (m *InterchainLiquidityPool) XXX_Unmarshal(b []byte) error
- type InterchainMarketMaker
- func (imm *InterchainMarketMaker) DepositMultiAsset(coins types.Coins) ([]*types.Coin, error)
- func (imm *InterchainMarketMaker) DepositSingleAsset(token types.Coin) (*types.Coin, error)
- func (*InterchainMarketMaker) Descriptor() ([]byte, []int)
- func (m *InterchainMarketMaker) GetPool() *InterchainLiquidityPool
- func (m *InterchainMarketMaker) GetPoolId() string
- func (imm *InterchainMarketMaker) Invariant() types.Dec
- func (imm *InterchainMarketMaker) LeftSwap(amountIn types.Coin, denomOut string) (*types.Coin, error)
- func (imm *InterchainMarketMaker) MarketPrice(denomIn, denomOut string) (*types.Dec, error)
- func (m *InterchainMarketMaker) Marshal() (dAtA []byte, err error)
- func (m *InterchainMarketMaker) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainMarketMaker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (imm *InterchainMarketMaker) MinusFees(amount types.Int) types.Dec
- func (imm *InterchainMarketMaker) MultiAssetWithdraw(redeem types.Coin) ([]*types.Coin, error)
- func (*InterchainMarketMaker) ProtoMessage()
- func (m *InterchainMarketMaker) Reset()
- func (imm *InterchainMarketMaker) RightSwap(amountIn types.Coin, amountOut types.Coin) (*types.Coin, error)
- func (m *InterchainMarketMaker) Size() (n int)
- func (m *InterchainMarketMaker) String() string
- func (m *InterchainMarketMaker) Unmarshal(dAtA []byte) error
- func (m *InterchainMarketMaker) XXX_DiscardUnknown()
- func (m *InterchainMarketMaker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainMarketMaker) XXX_Merge(src proto.Message)
- func (m *InterchainMarketMaker) XXX_Size() int
- func (m *InterchainMarketMaker) XXX_Unmarshal(b []byte) error
- type MarketFeeUpdateProposaldeprecated
- func (*MarketFeeUpdateProposal) Descriptor() ([]byte, []int)
- func (csp *MarketFeeUpdateProposal) GetDescription() string
- func (csp *MarketFeeUpdateProposal) GetTitle() string
- func (m *MarketFeeUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *MarketFeeUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketFeeUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (csp *MarketFeeUpdateProposal) ProposalRoute() string
- func (csp *MarketFeeUpdateProposal) ProposalType() string
- func (*MarketFeeUpdateProposal) ProtoMessage()
- func (m *MarketFeeUpdateProposal) Reset()
- func (m *MarketFeeUpdateProposal) Size() (n int)
- func (m *MarketFeeUpdateProposal) String() string
- func (m *MarketFeeUpdateProposal) Unmarshal(dAtA []byte) error
- func (csp *MarketFeeUpdateProposal) ValidateBasic() error
- func (m *MarketFeeUpdateProposal) XXX_DiscardUnknown()
- func (m *MarketFeeUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketFeeUpdateProposal) XXX_Merge(src proto.Message)
- func (m *MarketFeeUpdateProposal) XXX_Size() int
- func (m *MarketFeeUpdateProposal) XXX_Unmarshal(b []byte) error
- type MessageRouter
- type MsgCancelMultiAssetDepositRequest
- func (*MsgCancelMultiAssetDepositRequest) Descriptor() ([]byte, []int)
- func (m *MsgCancelMultiAssetDepositRequest) GetCreator() string
- func (m *MsgCancelMultiAssetDepositRequest) GetOrderId() string
- func (m *MsgCancelMultiAssetDepositRequest) GetPoolId() string
- func (msg *MsgCancelMultiAssetDepositRequest) GetSignBytes() []byte
- func (msg *MsgCancelMultiAssetDepositRequest) GetSigners() []sdk.AccAddress
- func (m *MsgCancelMultiAssetDepositRequest) GetSourceChannel() string
- func (m *MsgCancelMultiAssetDepositRequest) GetSourcePort() string
- func (m *MsgCancelMultiAssetDepositRequest) GetTimeoutHeight() *types.Height
- func (m *MsgCancelMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgCancelMultiAssetDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelMultiAssetDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelMultiAssetDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelMultiAssetDepositRequest) ProtoMessage()
- func (m *MsgCancelMultiAssetDepositRequest) Reset()
- func (msg *MsgCancelMultiAssetDepositRequest) Route() string
- func (m *MsgCancelMultiAssetDepositRequest) Size() (n int)
- func (m *MsgCancelMultiAssetDepositRequest) String() string
- func (msg *MsgCancelMultiAssetDepositRequest) Type() string
- func (m *MsgCancelMultiAssetDepositRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelMultiAssetDepositRequest) ValidateBasic() error
- func (m *MsgCancelMultiAssetDepositRequest) XXX_DiscardUnknown()
- func (m *MsgCancelMultiAssetDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelMultiAssetDepositRequest) XXX_Merge(src proto.Message)
- func (m *MsgCancelMultiAssetDepositRequest) XXX_Size() int
- func (m *MsgCancelMultiAssetDepositRequest) XXX_Unmarshal(b []byte) error
- type MsgCancelMultiAssetDepositResponse
- func (*MsgCancelMultiAssetDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelMultiAssetDepositResponse) GetOrderId() string
- func (m *MsgCancelMultiAssetDepositResponse) GetPoolId() string
- func (m *MsgCancelMultiAssetDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelMultiAssetDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelMultiAssetDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelMultiAssetDepositResponse) ProtoMessage()
- func (m *MsgCancelMultiAssetDepositResponse) Reset()
- func (m *MsgCancelMultiAssetDepositResponse) Size() (n int)
- func (m *MsgCancelMultiAssetDepositResponse) String() string
- func (m *MsgCancelMultiAssetDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelMultiAssetDepositResponse) XXX_DiscardUnknown()
- func (m *MsgCancelMultiAssetDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelMultiAssetDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelMultiAssetDepositResponse) XXX_Size() int
- func (m *MsgCancelMultiAssetDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelPoolRequest
- func (*MsgCancelPoolRequest) Descriptor() ([]byte, []int)
- func (m *MsgCancelPoolRequest) GetCreator() string
- func (m *MsgCancelPoolRequest) GetPoolId() string
- func (msg *MsgCancelPoolRequest) GetSignBytes() []byte
- func (msg *MsgCancelPoolRequest) GetSigners() []sdk.AccAddress
- func (m *MsgCancelPoolRequest) GetSourceChannel() string
- func (m *MsgCancelPoolRequest) GetSourcePort() string
- func (m *MsgCancelPoolRequest) GetTimeoutHeight() *types.Height
- func (m *MsgCancelPoolRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgCancelPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelPoolRequest) ProtoMessage()
- func (m *MsgCancelPoolRequest) Reset()
- func (msg *MsgCancelPoolRequest) Route() string
- func (m *MsgCancelPoolRequest) Size() (n int)
- func (m *MsgCancelPoolRequest) String() string
- func (msg *MsgCancelPoolRequest) Type() string
- func (m *MsgCancelPoolRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelPoolRequest) ValidateBasic() error
- func (m *MsgCancelPoolRequest) XXX_DiscardUnknown()
- func (m *MsgCancelPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelPoolRequest) XXX_Merge(src proto.Message)
- func (m *MsgCancelPoolRequest) XXX_Size() int
- func (m *MsgCancelPoolRequest) XXX_Unmarshal(b []byte) error
- type MsgCancelPoolResponse
- func (*MsgCancelPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelPoolResponse) GetPoolId() string
- func (m *MsgCancelPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelPoolResponse) ProtoMessage()
- func (m *MsgCancelPoolResponse) Reset()
- func (m *MsgCancelPoolResponse) Size() (n int)
- func (m *MsgCancelPoolResponse) String() string
- func (m *MsgCancelPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelPoolResponse) XXX_DiscardUnknown()
- func (m *MsgCancelPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelPoolResponse) XXX_Size() int
- func (m *MsgCancelPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgMakeMultiAssetDepositRequest
- func (*MsgMakeMultiAssetDepositRequest) Descriptor() ([]byte, []int)
- func (m *MsgMakeMultiAssetDepositRequest) GetChannel() string
- func (m *MsgMakeMultiAssetDepositRequest) GetDeposits() []*DepositAsset
- func (m *MsgMakeMultiAssetDepositRequest) GetPoolId() string
- func (m *MsgMakeMultiAssetDepositRequest) GetPort() string
- func (msg *MsgMakeMultiAssetDepositRequest) GetSignBytes() []byte
- func (msg *MsgMakeMultiAssetDepositRequest) GetSigners() []sdk.AccAddress
- func (m *MsgMakeMultiAssetDepositRequest) GetTimeoutHeight() *types.Height
- func (m *MsgMakeMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgMakeMultiAssetDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeMultiAssetDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeMultiAssetDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeMultiAssetDepositRequest) ProtoMessage()
- func (m *MsgMakeMultiAssetDepositRequest) Reset()
- func (msg *MsgMakeMultiAssetDepositRequest) Route() string
- func (m *MsgMakeMultiAssetDepositRequest) Size() (n int)
- func (m *MsgMakeMultiAssetDepositRequest) String() string
- func (msg *MsgMakeMultiAssetDepositRequest) Type() string
- func (m *MsgMakeMultiAssetDepositRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgMakeMultiAssetDepositRequest) ValidateBasic() error
- func (m *MsgMakeMultiAssetDepositRequest) XXX_DiscardUnknown()
- func (m *MsgMakeMultiAssetDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeMultiAssetDepositRequest) XXX_Merge(src proto.Message)
- func (m *MsgMakeMultiAssetDepositRequest) XXX_Size() int
- func (m *MsgMakeMultiAssetDepositRequest) XXX_Unmarshal(b []byte) error
- type MsgMakePoolRequest
- func (*MsgMakePoolRequest) Descriptor() ([]byte, []int)
- func (m *MsgMakePoolRequest) GetCounterPartyCreator() string
- func (m *MsgMakePoolRequest) GetCreator() string
- func (m *MsgMakePoolRequest) GetLiquidity() []*PoolAsset
- func (msg *MsgMakePoolRequest) GetLiquidityDenoms() []string
- func (msg *MsgMakePoolRequest) GetSignBytes() []byte
- func (msg *MsgMakePoolRequest) GetSigners() []sdk.AccAddress
- func (m *MsgMakePoolRequest) GetSourceChannel() string
- func (m *MsgMakePoolRequest) GetSourcePort() string
- func (m *MsgMakePoolRequest) GetSwapFee() uint32
- func (m *MsgMakePoolRequest) GetTimeoutHeight() *types.Height
- func (m *MsgMakePoolRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgMakePoolRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgMakePoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakePoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakePoolRequest) ProtoMessage()
- func (m *MsgMakePoolRequest) Reset()
- func (msg *MsgMakePoolRequest) Route() string
- func (m *MsgMakePoolRequest) Size() (n int)
- func (m *MsgMakePoolRequest) String() string
- func (msg *MsgMakePoolRequest) Type() string
- func (m *MsgMakePoolRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgMakePoolRequest) ValidateBasic() error
- func (m *MsgMakePoolRequest) XXX_DiscardUnknown()
- func (m *MsgMakePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakePoolRequest) XXX_Merge(src proto.Message)
- func (m *MsgMakePoolRequest) XXX_Size() int
- func (m *MsgMakePoolRequest) XXX_Unmarshal(b []byte) error
- type MsgMakePoolResponse
- func (*MsgMakePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgMakePoolResponse) GetPoolId() string
- func (m *MsgMakePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMakePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakePoolResponse) ProtoMessage()
- func (m *MsgMakePoolResponse) Reset()
- func (m *MsgMakePoolResponse) Size() (n int)
- func (m *MsgMakePoolResponse) String() string
- func (m *MsgMakePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMakePoolResponse) XXX_DiscardUnknown()
- func (m *MsgMakePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgMakePoolResponse) XXX_Size() int
- func (m *MsgMakePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgMultiAssetDepositResponse
- func (*MsgMultiAssetDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiAssetDepositResponse) GetPoolTokens() []*types1.Coin
- func (m *MsgMultiAssetDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiAssetDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiAssetDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiAssetDepositResponse) ProtoMessage()
- func (m *MsgMultiAssetDepositResponse) Reset()
- func (m *MsgMultiAssetDepositResponse) Size() (n int)
- func (m *MsgMultiAssetDepositResponse) String() string
- func (m *MsgMultiAssetDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiAssetDepositResponse) XXX_DiscardUnknown()
- func (m *MsgMultiAssetDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiAssetDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiAssetDepositResponse) XXX_Size() int
- func (m *MsgMultiAssetDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgMultiAssetWithdrawRequest
- func (*MsgMultiAssetWithdrawRequest) Descriptor() ([]byte, []int)
- func (m *MsgMultiAssetWithdrawRequest) GetChannel() string
- func (m *MsgMultiAssetWithdrawRequest) GetCounterPartyReceiver() string
- func (m *MsgMultiAssetWithdrawRequest) GetPoolId() string
- func (m *MsgMultiAssetWithdrawRequest) GetPoolToken() *types1.Coin
- func (m *MsgMultiAssetWithdrawRequest) GetPort() string
- func (m *MsgMultiAssetWithdrawRequest) GetReceiver() string
- func (msg *MsgMultiAssetWithdrawRequest) GetSignBytes() []byte
- func (msg *MsgMultiAssetWithdrawRequest) GetSigners() []sdk.AccAddress
- func (m *MsgMultiAssetWithdrawRequest) GetTimeoutHeight() *types.Height
- func (m *MsgMultiAssetWithdrawRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgMultiAssetWithdrawRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiAssetWithdrawRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiAssetWithdrawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiAssetWithdrawRequest) ProtoMessage()
- func (m *MsgMultiAssetWithdrawRequest) Reset()
- func (msg *MsgMultiAssetWithdrawRequest) Route() string
- func (m *MsgMultiAssetWithdrawRequest) Size() (n int)
- func (m *MsgMultiAssetWithdrawRequest) String() string
- func (msg *MsgMultiAssetWithdrawRequest) Type() string
- func (m *MsgMultiAssetWithdrawRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgMultiAssetWithdrawRequest) ValidateBasic() error
- func (m *MsgMultiAssetWithdrawRequest) XXX_DiscardUnknown()
- func (m *MsgMultiAssetWithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiAssetWithdrawRequest) XXX_Merge(src proto.Message)
- func (m *MsgMultiAssetWithdrawRequest) XXX_Size() int
- func (m *MsgMultiAssetWithdrawRequest) XXX_Unmarshal(b []byte) error
- type MsgMultiAssetWithdrawResponse
- func (*MsgMultiAssetWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiAssetWithdrawResponse) GetTokens() []*types1.Coin
- func (m *MsgMultiAssetWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiAssetWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiAssetWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiAssetWithdrawResponse) ProtoMessage()
- func (m *MsgMultiAssetWithdrawResponse) Reset()
- func (m *MsgMultiAssetWithdrawResponse) Size() (n int)
- func (m *MsgMultiAssetWithdrawResponse) String() string
- func (m *MsgMultiAssetWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiAssetWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgMultiAssetWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiAssetWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiAssetWithdrawResponse) XXX_Size() int
- func (m *MsgMultiAssetWithdrawResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSingleAssetDepositRequest
- func (*MsgSingleAssetDepositRequest) Descriptor() ([]byte, []int)
- func (m *MsgSingleAssetDepositRequest) GetChannel() string
- func (m *MsgSingleAssetDepositRequest) GetPoolId() string
- func (m *MsgSingleAssetDepositRequest) GetPort() string
- func (m *MsgSingleAssetDepositRequest) GetSender() string
- func (msg *MsgSingleAssetDepositRequest) GetSignBytes() []byte
- func (msg *MsgSingleAssetDepositRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSingleAssetDepositRequest) GetTimeoutHeight() *types.Height
- func (m *MsgSingleAssetDepositRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgSingleAssetDepositRequest) GetToken() *types1.Coin
- func (m *MsgSingleAssetDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSingleAssetDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSingleAssetDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSingleAssetDepositRequest) ProtoMessage()
- func (m *MsgSingleAssetDepositRequest) Reset()
- func (msg *MsgSingleAssetDepositRequest) Route() string
- func (m *MsgSingleAssetDepositRequest) Size() (n int)
- func (m *MsgSingleAssetDepositRequest) String() string
- func (msg *MsgSingleAssetDepositRequest) Type() string
- func (m *MsgSingleAssetDepositRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgSingleAssetDepositRequest) ValidateBasic() error
- func (m *MsgSingleAssetDepositRequest) XXX_DiscardUnknown()
- func (m *MsgSingleAssetDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSingleAssetDepositRequest) XXX_Merge(src proto.Message)
- func (m *MsgSingleAssetDepositRequest) XXX_Size() int
- func (m *MsgSingleAssetDepositRequest) XXX_Unmarshal(b []byte) error
- type MsgSingleAssetDepositResponse
- func (*MsgSingleAssetDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgSingleAssetDepositResponse) GetPoolToken() *types1.Coin
- func (m *MsgSingleAssetDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSingleAssetDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSingleAssetDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSingleAssetDepositResponse) ProtoMessage()
- func (m *MsgSingleAssetDepositResponse) Reset()
- func (m *MsgSingleAssetDepositResponse) Size() (n int)
- func (m *MsgSingleAssetDepositResponse) String() string
- func (m *MsgSingleAssetDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSingleAssetDepositResponse) XXX_DiscardUnknown()
- func (m *MsgSingleAssetDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSingleAssetDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgSingleAssetDepositResponse) XXX_Size() int
- func (m *MsgSingleAssetDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgSwapRequest
- func (*MsgSwapRequest) Descriptor() ([]byte, []int)
- func (m *MsgSwapRequest) GetChannel() string
- func (m *MsgSwapRequest) GetPoolId() string
- func (m *MsgSwapRequest) GetPort() string
- func (m *MsgSwapRequest) GetRecipient() string
- func (m *MsgSwapRequest) GetSender() string
- func (msg *MsgSwapRequest) GetSignBytes() []byte
- func (msg *MsgSwapRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSwapRequest) GetSlippage() uint64
- func (m *MsgSwapRequest) GetSwapType() SwapMsgType
- func (m *MsgSwapRequest) GetTimeoutHeight() *types.Height
- func (m *MsgSwapRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgSwapRequest) GetTokenIn() *types1.Coin
- func (m *MsgSwapRequest) GetTokenOut() *types1.Coin
- func (m *MsgSwapRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwapRequest) ProtoMessage()
- func (m *MsgSwapRequest) Reset()
- func (msg *MsgSwapRequest) Route() string
- func (m *MsgSwapRequest) Size() (n int)
- func (m *MsgSwapRequest) String() string
- func (msg *MsgSwapRequest) Type() string
- func (m *MsgSwapRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgSwapRequest) ValidateBasic() error
- func (m *MsgSwapRequest) XXX_DiscardUnknown()
- func (m *MsgSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwapRequest) XXX_Merge(src proto.Message)
- func (m *MsgSwapRequest) XXX_Size() int
- func (m *MsgSwapRequest) XXX_Unmarshal(b []byte) error
- type MsgSwapResponse
- func (*MsgSwapResponse) Descriptor() ([]byte, []int)
- func (m *MsgSwapResponse) GetSwapType() SwapMsgType
- func (m *MsgSwapResponse) GetTokens() []*types1.Coin
- func (m *MsgSwapResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwapResponse) ProtoMessage()
- func (m *MsgSwapResponse) Reset()
- func (m *MsgSwapResponse) Size() (n int)
- func (m *MsgSwapResponse) String() string
- func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSwapResponse) XXX_DiscardUnknown()
- func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwapResponse) XXX_Merge(src proto.Message)
- func (m *MsgSwapResponse) XXX_Size() int
- func (m *MsgSwapResponse) XXX_Unmarshal(b []byte) error
- type MsgTakeMultiAssetDepositRequest
- func (*MsgTakeMultiAssetDepositRequest) Descriptor() ([]byte, []int)
- func (m *MsgTakeMultiAssetDepositRequest) GetChannel() string
- func (m *MsgTakeMultiAssetDepositRequest) GetOrderId() string
- func (m *MsgTakeMultiAssetDepositRequest) GetPoolId() string
- func (m *MsgTakeMultiAssetDepositRequest) GetPort() string
- func (m *MsgTakeMultiAssetDepositRequest) GetSender() string
- func (msg *MsgTakeMultiAssetDepositRequest) GetSignBytes() []byte
- func (msg *MsgTakeMultiAssetDepositRequest) GetSigners() []sdk.AccAddress
- func (m *MsgTakeMultiAssetDepositRequest) GetTimeoutHeight() *types.Height
- func (m *MsgTakeMultiAssetDepositRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgTakeMultiAssetDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgTakeMultiAssetDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTakeMultiAssetDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTakeMultiAssetDepositRequest) ProtoMessage()
- func (m *MsgTakeMultiAssetDepositRequest) Reset()
- func (msg *MsgTakeMultiAssetDepositRequest) Route() string
- func (m *MsgTakeMultiAssetDepositRequest) Size() (n int)
- func (m *MsgTakeMultiAssetDepositRequest) String() string
- func (msg *MsgTakeMultiAssetDepositRequest) Type() string
- func (m *MsgTakeMultiAssetDepositRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgTakeMultiAssetDepositRequest) ValidateBasic() error
- func (m *MsgTakeMultiAssetDepositRequest) XXX_DiscardUnknown()
- func (m *MsgTakeMultiAssetDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTakeMultiAssetDepositRequest) XXX_Merge(src proto.Message)
- func (m *MsgTakeMultiAssetDepositRequest) XXX_Size() int
- func (m *MsgTakeMultiAssetDepositRequest) XXX_Unmarshal(b []byte) error
- type MsgTakePoolRequest
- func (*MsgTakePoolRequest) Descriptor() ([]byte, []int)
- func (m *MsgTakePoolRequest) GetChannel() string
- func (m *MsgTakePoolRequest) GetCreator() string
- func (m *MsgTakePoolRequest) GetPoolId() string
- func (m *MsgTakePoolRequest) GetPort() string
- func (msg *MsgTakePoolRequest) GetSignBytes() []byte
- func (msg *MsgTakePoolRequest) GetSigners() []sdk.AccAddress
- func (m *MsgTakePoolRequest) GetTimeoutHeight() *types.Height
- func (m *MsgTakePoolRequest) GetTimeoutTimeStamp() uint64
- func (m *MsgTakePoolRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgTakePoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTakePoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTakePoolRequest) ProtoMessage()
- func (m *MsgTakePoolRequest) Reset()
- func (msg *MsgTakePoolRequest) Route() string
- func (m *MsgTakePoolRequest) Size() (n int)
- func (m *MsgTakePoolRequest) String() string
- func (msg *MsgTakePoolRequest) Type() string
- func (m *MsgTakePoolRequest) Unmarshal(dAtA []byte) error
- func (msg *MsgTakePoolRequest) ValidateBasic() error
- func (m *MsgTakePoolRequest) XXX_DiscardUnknown()
- func (m *MsgTakePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTakePoolRequest) XXX_Merge(src proto.Message)
- func (m *MsgTakePoolRequest) XXX_Size() int
- func (m *MsgTakePoolRequest) XXX_Unmarshal(b []byte) error
- type MsgTakePoolResponse
- func (*MsgTakePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgTakePoolResponse) GetPoolId() string
- func (m *MsgTakePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTakePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTakePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTakePoolResponse) ProtoMessage()
- func (m *MsgTakePoolResponse) Reset()
- func (m *MsgTakePoolResponse) Size() (n int)
- func (m *MsgTakePoolResponse) String() string
- func (m *MsgTakePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTakePoolResponse) XXX_DiscardUnknown()
- func (m *MsgTakePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTakePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgTakePoolResponse) XXX_Size() int
- func (m *MsgTakePoolResponse) XXX_Unmarshal(b []byte) error
- type MultiAssetDepositOrder
- func (*MultiAssetDepositOrder) Descriptor() ([]byte, []int)
- func (m *MultiAssetDepositOrder) GetChainId() string
- func (m *MultiAssetDepositOrder) GetCreatedAt() int64
- func (m *MultiAssetDepositOrder) GetDeposits() []*types.Coin
- func (m *MultiAssetDepositOrder) GetDestinationTaker() string
- func (m *MultiAssetDepositOrder) GetId() string
- func (m *MultiAssetDepositOrder) GetPoolId() string
- func (m *MultiAssetDepositOrder) GetSourceMaker() string
- func (m *MultiAssetDepositOrder) GetStatus() OrderStatus
- func (m *MultiAssetDepositOrder) Marshal() (dAtA []byte, err error)
- func (m *MultiAssetDepositOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiAssetDepositOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiAssetDepositOrder) ProtoMessage()
- func (m *MultiAssetDepositOrder) Reset()
- func (m *MultiAssetDepositOrder) Size() (n int)
- func (m *MultiAssetDepositOrder) String() string
- func (m *MultiAssetDepositOrder) Unmarshal(dAtA []byte) error
- func (m *MultiAssetDepositOrder) XXX_DiscardUnknown()
- func (m *MultiAssetDepositOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiAssetDepositOrder) XXX_Merge(src proto.Message)
- func (m *MultiAssetDepositOrder) XXX_Size() int
- func (m *MultiAssetDepositOrder) XXX_Unmarshal(b []byte) error
- type OrderStatus
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxFeeRate() uint32
- func (m *Params) GetSwapEnabled() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PoolAsset
- func (*PoolAsset) Descriptor() ([]byte, []int)
- func (m *PoolAsset) GetBalance() *types.Coin
- func (m *PoolAsset) GetDecimal() uint32
- func (m *PoolAsset) GetSide() PoolAssetSide
- func (m *PoolAsset) GetWeight() uint32
- func (m *PoolAsset) Marshal() (dAtA []byte, err error)
- func (m *PoolAsset) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolAsset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolAsset) ProtoMessage()
- func (m *PoolAsset) Reset()
- func (m *PoolAsset) Size() (n int)
- func (m *PoolAsset) String() string
- func (m *PoolAsset) Unmarshal(dAtA []byte) error
- func (m *PoolAsset) XXX_DiscardUnknown()
- func (m *PoolAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolAsset) XXX_Merge(src proto.Message)
- func (m *PoolAsset) XXX_Size() int
- func (m *PoolAsset) XXX_Unmarshal(b []byte) error
- type PoolAssetSide
- type PoolStatus
- type PortKeeper
- type QueryAllInterchainLiquidityMyPoolRequest
- func (*QueryAllInterchainLiquidityMyPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) GetCreator() string
- func (m *QueryAllInterchainLiquidityMyPoolRequest) GetPagination() *query.PageRequest
- func (m *QueryAllInterchainLiquidityMyPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainLiquidityMyPoolRequest) ProtoMessage()
- func (m *QueryAllInterchainLiquidityMyPoolRequest) Reset()
- func (m *QueryAllInterchainLiquidityMyPoolRequest) Size() (n int)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) String() string
- func (m *QueryAllInterchainLiquidityMyPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_DiscardUnknown()
- func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Size() int
- func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainLiquidityPoolRequest
- func (*QueryAllInterchainLiquidityPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainLiquidityPoolRequest) GetPagination() *query.PageRequest
- func (m *QueryAllInterchainLiquidityPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainLiquidityPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainLiquidityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainLiquidityPoolRequest) ProtoMessage()
- func (m *QueryAllInterchainLiquidityPoolRequest) Reset()
- func (m *QueryAllInterchainLiquidityPoolRequest) Size() (n int)
- func (m *QueryAllInterchainLiquidityPoolRequest) String() string
- func (m *QueryAllInterchainLiquidityPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainLiquidityPoolRequest) XXX_DiscardUnknown()
- func (m *QueryAllInterchainLiquidityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainLiquidityPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainLiquidityPoolRequest) XXX_Size() int
- func (m *QueryAllInterchainLiquidityPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainLiquidityPoolResponse
- func (*QueryAllInterchainLiquidityPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainLiquidityPoolResponse) GetInterchainLiquidityPool() []InterchainLiquidityPool
- func (m *QueryAllInterchainLiquidityPoolResponse) GetPagination() *query.PageResponse
- func (m *QueryAllInterchainLiquidityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainLiquidityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainLiquidityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainLiquidityPoolResponse) ProtoMessage()
- func (m *QueryAllInterchainLiquidityPoolResponse) Reset()
- func (m *QueryAllInterchainLiquidityPoolResponse) Size() (n int)
- func (m *QueryAllInterchainLiquidityPoolResponse) String() string
- func (m *QueryAllInterchainLiquidityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainLiquidityPoolResponse) XXX_DiscardUnknown()
- func (m *QueryAllInterchainLiquidityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainLiquidityPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainLiquidityPoolResponse) XXX_Size() int
- func (m *QueryAllInterchainLiquidityPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainMarketMakerRequest
- func (*QueryAllInterchainMarketMakerRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainMarketMakerRequest) GetPagination() *query.PageRequest
- func (m *QueryAllInterchainMarketMakerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainMarketMakerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainMarketMakerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainMarketMakerRequest) ProtoMessage()
- func (m *QueryAllInterchainMarketMakerRequest) Reset()
- func (m *QueryAllInterchainMarketMakerRequest) Size() (n int)
- func (m *QueryAllInterchainMarketMakerRequest) String() string
- func (m *QueryAllInterchainMarketMakerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainMarketMakerRequest) XXX_DiscardUnknown()
- func (m *QueryAllInterchainMarketMakerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainMarketMakerRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainMarketMakerRequest) XXX_Size() int
- func (m *QueryAllInterchainMarketMakerRequest) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainMarketMakerResponse
- func (*QueryAllInterchainMarketMakerResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainMarketMakerResponse) GetInterchainMarketMaker() []InterchainMarketMaker
- func (m *QueryAllInterchainMarketMakerResponse) GetPagination() *query.PageResponse
- func (m *QueryAllInterchainMarketMakerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainMarketMakerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainMarketMakerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainMarketMakerResponse) ProtoMessage()
- func (m *QueryAllInterchainMarketMakerResponse) Reset()
- func (m *QueryAllInterchainMarketMakerResponse) Size() (n int)
- func (m *QueryAllInterchainMarketMakerResponse) String() string
- func (m *QueryAllInterchainMarketMakerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainMarketMakerResponse) XXX_DiscardUnknown()
- func (m *QueryAllInterchainMarketMakerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainMarketMakerResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainMarketMakerResponse) XXX_Size() int
- func (m *QueryAllInterchainMarketMakerResponse) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainMultiDepositOrdersRequest
- func (*QueryAllInterchainMultiDepositOrdersRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) GetPagination() *query.PageRequest
- func (m *QueryAllInterchainMultiDepositOrdersRequest) GetPoolId() string
- func (m *QueryAllInterchainMultiDepositOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainMultiDepositOrdersRequest) ProtoMessage()
- func (m *QueryAllInterchainMultiDepositOrdersRequest) Reset()
- func (m *QueryAllInterchainMultiDepositOrdersRequest) Size() (n int)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) String() string
- func (m *QueryAllInterchainMultiDepositOrdersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_DiscardUnknown()
- func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Size() int
- func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Unmarshal(b []byte) error
- type QueryAllInterchainMultiDepositOrdersResponse
- func (*QueryAllInterchainMultiDepositOrdersResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) GetOrders() []*MultiAssetDepositOrder
- func (m *QueryAllInterchainMultiDepositOrdersResponse) GetPagination() *query.PageResponse
- func (m *QueryAllInterchainMultiDepositOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInterchainMultiDepositOrdersResponse) ProtoMessage()
- func (m *QueryAllInterchainMultiDepositOrdersResponse) Reset()
- func (m *QueryAllInterchainMultiDepositOrdersResponse) Size() (n int)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) String() string
- func (m *QueryAllInterchainMultiDepositOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_DiscardUnknown()
- func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Size() int
- func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEscrowAddressRequest
- func (*QueryEscrowAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryEscrowAddressRequest) GetChannelId() string
- func (m *QueryEscrowAddressRequest) GetPortId() string
- func (m *QueryEscrowAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEscrowAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEscrowAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEscrowAddressRequest) ProtoMessage()
- func (m *QueryEscrowAddressRequest) Reset()
- func (m *QueryEscrowAddressRequest) Size() (n int)
- func (m *QueryEscrowAddressRequest) String() string
- func (m *QueryEscrowAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEscrowAddressRequest) XXX_DiscardUnknown()
- func (m *QueryEscrowAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEscrowAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryEscrowAddressRequest) XXX_Size() int
- func (m *QueryEscrowAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryEscrowAddressResponse
- func (*QueryEscrowAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryEscrowAddressResponse) GetEscrowAddress() string
- func (m *QueryEscrowAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEscrowAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEscrowAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEscrowAddressResponse) ProtoMessage()
- func (m *QueryEscrowAddressResponse) Reset()
- func (m *QueryEscrowAddressResponse) Size() (n int)
- func (m *QueryEscrowAddressResponse) String() string
- func (m *QueryEscrowAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEscrowAddressResponse) XXX_DiscardUnknown()
- func (m *QueryEscrowAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEscrowAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryEscrowAddressResponse) XXX_Size() int
- func (m *QueryEscrowAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainLiquidityPoolRequest
- func (*QueryGetInterchainLiquidityPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainLiquidityPoolRequest) GetPoolId() string
- func (m *QueryGetInterchainLiquidityPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainLiquidityPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainLiquidityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainLiquidityPoolRequest) ProtoMessage()
- func (m *QueryGetInterchainLiquidityPoolRequest) Reset()
- func (m *QueryGetInterchainLiquidityPoolRequest) Size() (n int)
- func (m *QueryGetInterchainLiquidityPoolRequest) String() string
- func (m *QueryGetInterchainLiquidityPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainLiquidityPoolRequest) XXX_DiscardUnknown()
- func (m *QueryGetInterchainLiquidityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainLiquidityPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainLiquidityPoolRequest) XXX_Size() int
- func (m *QueryGetInterchainLiquidityPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainLiquidityPoolResponse
- func (*QueryGetInterchainLiquidityPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainLiquidityPoolResponse) GetInterchainLiquidityPool() InterchainLiquidityPool
- func (m *QueryGetInterchainLiquidityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainLiquidityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainLiquidityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainLiquidityPoolResponse) ProtoMessage()
- func (m *QueryGetInterchainLiquidityPoolResponse) Reset()
- func (m *QueryGetInterchainLiquidityPoolResponse) Size() (n int)
- func (m *QueryGetInterchainLiquidityPoolResponse) String() string
- func (m *QueryGetInterchainLiquidityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainLiquidityPoolResponse) XXX_DiscardUnknown()
- func (m *QueryGetInterchainLiquidityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainLiquidityPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainLiquidityPoolResponse) XXX_Size() int
- func (m *QueryGetInterchainLiquidityPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainMarketMakerRequest
- func (*QueryGetInterchainMarketMakerRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainMarketMakerRequest) GetPoolId() string
- func (m *QueryGetInterchainMarketMakerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainMarketMakerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainMarketMakerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainMarketMakerRequest) ProtoMessage()
- func (m *QueryGetInterchainMarketMakerRequest) Reset()
- func (m *QueryGetInterchainMarketMakerRequest) Size() (n int)
- func (m *QueryGetInterchainMarketMakerRequest) String() string
- func (m *QueryGetInterchainMarketMakerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainMarketMakerRequest) XXX_DiscardUnknown()
- func (m *QueryGetInterchainMarketMakerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainMarketMakerRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainMarketMakerRequest) XXX_Size() int
- func (m *QueryGetInterchainMarketMakerRequest) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainMarketMakerResponse
- func (*QueryGetInterchainMarketMakerResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainMarketMakerResponse) GetInterchainMarketMaker() InterchainMarketMaker
- func (m *QueryGetInterchainMarketMakerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainMarketMakerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainMarketMakerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainMarketMakerResponse) ProtoMessage()
- func (m *QueryGetInterchainMarketMakerResponse) Reset()
- func (m *QueryGetInterchainMarketMakerResponse) Size() (n int)
- func (m *QueryGetInterchainMarketMakerResponse) String() string
- func (m *QueryGetInterchainMarketMakerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainMarketMakerResponse) XXX_DiscardUnknown()
- func (m *QueryGetInterchainMarketMakerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainMarketMakerResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainMarketMakerResponse) XXX_Size() int
- func (m *QueryGetInterchainMarketMakerResponse) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainMultiDepositOrderRequest
- func (*QueryGetInterchainMultiDepositOrderRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainMultiDepositOrderRequest) GetOrderId() string
- func (m *QueryGetInterchainMultiDepositOrderRequest) GetPoolId() string
- func (m *QueryGetInterchainMultiDepositOrderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainMultiDepositOrderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainMultiDepositOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainMultiDepositOrderRequest) ProtoMessage()
- func (m *QueryGetInterchainMultiDepositOrderRequest) Reset()
- func (m *QueryGetInterchainMultiDepositOrderRequest) Size() (n int)
- func (m *QueryGetInterchainMultiDepositOrderRequest) String() string
- func (m *QueryGetInterchainMultiDepositOrderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_DiscardUnknown()
- func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Size() int
- func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Unmarshal(b []byte) error
- type QueryGetInterchainMultiDepositOrderResponse
- func (*QueryGetInterchainMultiDepositOrderResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetInterchainMultiDepositOrderResponse) GetOrder() *MultiAssetDepositOrder
- func (m *QueryGetInterchainMultiDepositOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInterchainMultiDepositOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInterchainMultiDepositOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInterchainMultiDepositOrderResponse) ProtoMessage()
- func (m *QueryGetInterchainMultiDepositOrderResponse) Reset()
- func (m *QueryGetInterchainMultiDepositOrderResponse) Size() (n int)
- func (m *QueryGetInterchainMultiDepositOrderResponse) String() string
- func (m *QueryGetInterchainMultiDepositOrderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_DiscardUnknown()
- func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Size() int
- func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestInterchainMultiDepositOrderBySourceMakerRequest
- func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetPoolId() string
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetSourceMaker() string
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) ProtoMessage()
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Reset()
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Size() (n int)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) String() string
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_DiscardUnknown()
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Size() int
- func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type StateChange
- func (*StateChange) Descriptor() ([]byte, []int)
- func (s *StateChange) FindOutByDenom(denom string) (*sdk.Coin, error)
- func (m *StateChange) GetIn() []*types.Coin
- func (m *StateChange) GetMultiDepositOrderId() string
- func (m *StateChange) GetOut() []*types.Coin
- func (m *StateChange) GetPoolId() string
- func (m *StateChange) GetPoolTokens() []*types.Coin
- func (m *StateChange) GetSourceChainId() string
- func (m *StateChange) Marshal() (dAtA []byte, err error)
- func (m *StateChange) MarshalTo(dAtA []byte) (int, error)
- func (m *StateChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateChange) ProtoMessage()
- func (m *StateChange) Reset()
- func (m *StateChange) Size() (n int)
- func (m *StateChange) String() string
- func (m *StateChange) Unmarshal(dAtA []byte) error
- func (m *StateChange) XXX_DiscardUnknown()
- func (m *StateChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateChange) XXX_Merge(src proto.Message)
- func (m *StateChange) XXX_Size() int
- func (m *StateChange) XXX_Unmarshal(b []byte) error
- type SwapMessageType
- type SwapMsgType
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CancelMultiAssetDeposit(context.Context, *MsgCancelMultiAssetDepositRequest) (*MsgCancelMultiAssetDepositResponse, error)
- func (UnimplementedMsgServer) CancelPool(context.Context, *MsgCancelPoolRequest) (*MsgCancelPoolResponse, error)
- func (UnimplementedMsgServer) MakeMultiAssetDeposit(context.Context, *MsgMakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error)
- func (UnimplementedMsgServer) MakePool(context.Context, *MsgMakePoolRequest) (*MsgMakePoolResponse, error)
- func (UnimplementedMsgServer) MultiAssetWithdraw(context.Context, *MsgMultiAssetWithdrawRequest) (*MsgMultiAssetWithdrawResponse, error)
- func (UnimplementedMsgServer) SingleAssetDeposit(context.Context, *MsgSingleAssetDepositRequest) (*MsgSingleAssetDepositResponse, error)
- func (UnimplementedMsgServer) Swap(context.Context, *MsgSwapRequest) (*MsgSwapResponse, error)
- func (UnimplementedMsgServer) TakeMultiAssetDeposit(context.Context, *MsgTakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error)
- func (UnimplementedMsgServer) TakePool(context.Context, *MsgTakePoolRequest) (*MsgTakePoolResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) EscrowAddress(context.Context, *QueryEscrowAddressRequest) (*QueryEscrowAddressResponse, error)
- func (UnimplementedQueryServer) InterchainLatestMultiDepositOrderByCreator(context.Context, *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
- func (UnimplementedQueryServer) InterchainLiquidityMyPoolAll(context.Context, *QueryAllInterchainLiquidityMyPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
- func (UnimplementedQueryServer) InterchainLiquidityPool(context.Context, *QueryGetInterchainLiquidityPoolRequest) (*QueryGetInterchainLiquidityPoolResponse, error)
- func (UnimplementedQueryServer) InterchainLiquidityPoolAll(context.Context, *QueryAllInterchainLiquidityPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
- func (UnimplementedQueryServer) InterchainMarketMaker(context.Context, *QueryGetInterchainMarketMakerRequest) (*QueryGetInterchainMarketMakerResponse, error)
- func (UnimplementedQueryServer) InterchainMarketMakerAll(context.Context, *QueryAllInterchainMarketMakerRequest) (*QueryAllInterchainMarketMakerResponse, error)
- func (UnimplementedQueryServer) InterchainMultiDepositOrder(context.Context, *QueryGetInterchainMultiDepositOrderRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
- func (UnimplementedQueryServer) InterchainMultiDepositOrdersAll(context.Context, *QueryAllInterchainMultiDepositOrdersRequest) (*QueryAllInterchainMultiDepositOrdersResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
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
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" )
const ( EventValueSuffixReceived = "received" EventValueSuffixAcknowledged = "acknowledged" )
const ( // MultiDepositOrderKeyPrefix is the prefix to retrieve all MultiDepositOrder MultiDepositOrderKeyPrefix = "MultiDepositOrder/value/" MultiDepositOrderCountKeyPrefix = "MultiDepositOrderCount/value/" MultiDepositOrderIDByCreatorsKeyPrefix = "MultiDepositOrderIDByCreator/value/" )
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 )
const ( DefaultSwapEnabled = true // DefaultMaxFeeRate is 0.003 DefaultMaxFeeRate = 300 )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// InterchainLiquidityPoolKeyPrefix is the prefix to retrieve all InterchainLiquidityPool
InterchainLiquidityPoolKeyPrefix = "InterchainLiquidityPool/value/"
)
const (
// InterchainMarketMakerKeyPrefix is the prefix to retrieve all InterchainMarketMaker
InterchainMarketMakerKeyPrefix = "InterchainMarketMaker/value/"
)
const (
// ProposalTypeMarketFeeUpdate defines the type for a MarketFeeUpdateProposal
ProposalTypeMarketFeeUpdate = "MarketFeeUpdate"
)
const TypeMsgCancelMultiAssetDeposit = "cancel_multi_asset_deposit"
const TypeMsgCancelPool = "cancel_pool"
const TypeMsgDeposit = "deposit"
const TypeMsgMakeMultiAssetDeposit = "make_multi_asset_deposit"
const TypeMsgMakePool = "make_pool"
const TypeMsgSwap = "swap"
const TypeMsgTakeMultiAssetDeposit = "take_multi_asset_deposit"
const TypeMsgTakePool = "take_pool"
const TypeMsgWithdraw = "withdraw"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
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
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // PortKey defines the key to store the port ID in store PortKey = []byte{0x01} PoolIdToCountKeyPrefix = []byte{0x02} CurrentPoolCountKey = []byte{0x03} )
var ( ErrInvalidLengthMarket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMarket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMarket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParam = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParam = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParam = fmt.Errorf("proto: unexpected end of group") )
var ( KeySwapEnabled = []byte("SwapEnabled") KeySwapMaxFeeRate = []byte("MaxFeeRate") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var 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)
var OrderStatus_name = map[int32]string{
0: "PENDING",
1: "COMPLETE",
}
var OrderStatus_value = map[string]int32{
"PENDING": 0,
"COMPLETE": 1,
}
var PoolAssetSide_name = map[int32]string{
0: "SOURCE",
1: "DESTINATION",
}
var PoolAssetSide_value = map[string]int32{
"SOURCE": 0,
"DESTINATION": 1,
}
var PoolStatus_name = map[int32]string{
0: "INITIALIZED",
1: "ACTIVE",
}
var PoolStatus_value = map[string]int32{
"INITIALIZED": 0,
"ACTIVE": 1,
}
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)
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",
}
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,
}
var SwapMsgType_name = map[int32]string{
0: "LEFT",
1: "RIGHT",
}
var SwapMsgType_value = map[string]int32{
"LEFT": 0,
"RIGHT": 1,
}
Functions ¶
func BytesToUint ¶
func CheckSlippage ¶
slippage value have to be in 0~10000
func CreateEscrowAccount ¶
func CreateEscrowAccount(portID, channelID string)
func DeserializeDepositTx ¶
func GenerateRandomString ¶
func GetCoinsFromDepositAssets ¶
func GetCoinsFromDepositAssets(assets []*DepositAsset) []*sdk.Coin
func GetConnectID ¶
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 GetEventAttrOfAsset ¶
func GetEventAttrOfAsset(assets []*DepositAsset) []sdk.Attribute
func GetEventValueWithSuffix ¶
func GetOrderId ¶
func InitialPoolTokenKey ¶
InterchainLiquidityPoolKey returns the store key to retrieve a InterchainLiquidityPool from the index fields
func InterchainLiquidityPoolKey ¶
InterchainLiquidityPoolKey returns the store key to retrieve a InterchainLiquidityPool from the index fields
func InterchainMarketMakerKey ¶
InterchainMarketMakerKey returns the store key to retrieve a InterchainMarketMaker from the index fields
func MultiDepositOrderPrefixKey ¶
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 ¶
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 ValidateLiquidityBasic ¶
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 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) 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) 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 ¶
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 ¶
P_issued = P_supply * Wt * Dt/Bt
func (*InterchainMarketMaker) DepositSingleAsset ¶
P_issued = P_supply * ((1 + At/Bt) ** Wt -1)
func (*InterchainMarketMaker) Descriptor ¶
func (*InterchainMarketMaker) Descriptor() ([]byte, []int)
func (*InterchainMarketMaker) GetPool ¶
func (m *InterchainMarketMaker) GetPool() *InterchainLiquidityPool
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 ¶
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 (m *MsgCancelMultiAssetDepositRequest) GetPoolId() string
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 (m *MsgCancelMultiAssetDepositRequest) Reset()
func (*MsgCancelMultiAssetDepositRequest) Route ¶
func (msg *MsgCancelMultiAssetDepositRequest) Route() string
func (*MsgCancelMultiAssetDepositRequest) Size ¶
func (m *MsgCancelMultiAssetDepositRequest) Size() (n int)
func (*MsgCancelMultiAssetDepositRequest) String ¶
func (m *MsgCancelMultiAssetDepositRequest) String() string
func (*MsgCancelMultiAssetDepositRequest) Type ¶
func (msg *MsgCancelMultiAssetDepositRequest) Type() string
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 (m *MsgCancelMultiAssetDepositRequest) XXX_Merge(src proto.Message)
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 (m *MsgCancelMultiAssetDepositResponse) GetOrderId() string
func (*MsgCancelMultiAssetDepositResponse) GetPoolId ¶
func (m *MsgCancelMultiAssetDepositResponse) GetPoolId() string
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 (m *MsgCancelMultiAssetDepositResponse) Reset()
func (*MsgCancelMultiAssetDepositResponse) Size ¶
func (m *MsgCancelMultiAssetDepositResponse) Size() (n int)
func (*MsgCancelMultiAssetDepositResponse) String ¶
func (m *MsgCancelMultiAssetDepositResponse) String() 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 (m *MsgCancelMultiAssetDepositResponse) XXX_Merge(src proto.Message)
func (*MsgCancelMultiAssetDepositResponse) XXX_Size ¶
func (m *MsgCancelMultiAssetDepositResponse) XXX_Size() int
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 ¶
type MsgClient interface { MakePool(ctx context.Context, in *MsgMakePoolRequest, opts ...grpc.CallOption) (*MsgMakePoolResponse, error) TakePool(ctx context.Context, in *MsgTakePoolRequest, opts ...grpc.CallOption) (*MsgTakePoolResponse, error) CancelPool(ctx context.Context, in *MsgCancelPoolRequest, opts ...grpc.CallOption) (*MsgCancelPoolResponse, error) SingleAssetDeposit(ctx context.Context, in *MsgSingleAssetDepositRequest, opts ...grpc.CallOption) (*MsgSingleAssetDepositResponse, error) MakeMultiAssetDeposit(ctx context.Context, in *MsgMakeMultiAssetDepositRequest, opts ...grpc.CallOption) (*MsgMultiAssetDepositResponse, error) TakeMultiAssetDeposit(ctx context.Context, in *MsgTakeMultiAssetDepositRequest, opts ...grpc.CallOption) (*MsgMultiAssetDepositResponse, error) CancelMultiAssetDeposit(ctx context.Context, in *MsgCancelMultiAssetDepositRequest, opts ...grpc.CallOption) (*MsgCancelMultiAssetDepositResponse, error) MultiAssetWithdraw(ctx context.Context, in *MsgMultiAssetWithdrawRequest, opts ...grpc.CallOption) (*MsgMultiAssetWithdrawResponse, error) Swap(ctx context.Context, in *MsgSwapRequest, opts ...grpc.CallOption) (*MsgSwapResponse, error) }
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 (*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 (m *MsgMakeMultiAssetDepositRequest) GetPort() string
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 (m *MsgMakeMultiAssetDepositRequest) Reset()
func (*MsgMakeMultiAssetDepositRequest) Route ¶
func (msg *MsgMakeMultiAssetDepositRequest) Route() string
func (*MsgMakeMultiAssetDepositRequest) Size ¶
func (m *MsgMakeMultiAssetDepositRequest) Size() (n int)
func (*MsgMakeMultiAssetDepositRequest) String ¶
func (m *MsgMakeMultiAssetDepositRequest) String() string
func (*MsgMakeMultiAssetDepositRequest) Type ¶
func (msg *MsgMakeMultiAssetDepositRequest) Type() string
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 (*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 (m *MsgMultiAssetDepositResponse) String() 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 (*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 (m *MsgMultiAssetWithdrawRequest) String() string
func (*MsgMultiAssetWithdrawRequest) Type ¶
func (msg *MsgMultiAssetWithdrawRequest) Type() string
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 (m *MsgMultiAssetWithdrawResponse) String() 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 MsgServer ¶
type MsgServer interface { MakePool(context.Context, *MsgMakePoolRequest) (*MsgMakePoolResponse, error) TakePool(context.Context, *MsgTakePoolRequest) (*MsgTakePoolResponse, error) CancelPool(context.Context, *MsgCancelPoolRequest) (*MsgCancelPoolResponse, error) SingleAssetDeposit(context.Context, *MsgSingleAssetDepositRequest) (*MsgSingleAssetDepositResponse, error) MakeMultiAssetDeposit(context.Context, *MsgMakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error) TakeMultiAssetDeposit(context.Context, *MsgTakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error) CancelMultiAssetDeposit(context.Context, *MsgCancelMultiAssetDepositRequest) (*MsgCancelMultiAssetDepositResponse, error) MultiAssetWithdraw(context.Context, *MsgMultiAssetWithdrawRequest) (*MsgMultiAssetWithdrawResponse, error) Swap(context.Context, *MsgSwapRequest) (*MsgSwapResponse, error) }
MsgServer is the server API for Msg service. All implementations should embed UnimplementedMsgServer for forward compatibility
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 (*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 (m *MsgSingleAssetDepositRequest) String() string
func (*MsgSingleAssetDepositRequest) Type ¶
func (msg *MsgSingleAssetDepositRequest) Type() string
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 (m *MsgSingleAssetDepositResponse) String() 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) 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) 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 (m *MsgTakeMultiAssetDepositRequest) GetPort() string
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 (m *MsgTakeMultiAssetDepositRequest) Reset()
func (*MsgTakeMultiAssetDepositRequest) Route ¶
func (msg *MsgTakeMultiAssetDepositRequest) Route() string
func (*MsgTakeMultiAssetDepositRequest) Size ¶
func (m *MsgTakeMultiAssetDepositRequest) Size() (n int)
func (*MsgTakeMultiAssetDepositRequest) String ¶
func (m *MsgTakeMultiAssetDepositRequest) String() string
func (*MsgTakeMultiAssetDepositRequest) Type ¶
func (msg *MsgTakeMultiAssetDepositRequest) Type() string
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 (*Params) Descriptor ¶
func (*Params) GetMaxFeeRate ¶
func (*Params) GetSwapEnabled ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type 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) GetBalance ¶
func (*PoolAsset) GetDecimal ¶
func (*PoolAsset) GetSide ¶
func (m *PoolAsset) GetSide() PoolAssetSide
func (*PoolAsset) MarshalToSizedBuffer ¶
func (*PoolAsset) ProtoMessage ¶
func (*PoolAsset) ProtoMessage()
func (*PoolAsset) XXX_DiscardUnknown ¶
func (m *PoolAsset) XXX_DiscardUnknown()
func (*PoolAsset) XXX_Marshal ¶
func (*PoolAsset) XXX_Unmarshal ¶
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 (m *QueryAllInterchainLiquidityMyPoolRequest) GetCreator() string
func (*QueryAllInterchainLiquidityMyPoolRequest) GetPagination ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) GetPagination() *query.PageRequest
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) ProtoMessage()
func (*QueryAllInterchainLiquidityMyPoolRequest) Reset ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) Reset()
func (*QueryAllInterchainLiquidityMyPoolRequest) Size ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) Size() (n int)
func (*QueryAllInterchainLiquidityMyPoolRequest) String ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) String() string
func (*QueryAllInterchainLiquidityMyPoolRequest) Unmarshal ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) Unmarshal(dAtA []byte) error
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 (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Merge(src proto.Message)
func (*QueryAllInterchainLiquidityMyPoolRequest) XXX_Size ¶
func (m *QueryAllInterchainLiquidityMyPoolRequest) XXX_Size() int
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 (m *QueryAllInterchainLiquidityPoolRequest) GetPagination() *query.PageRequest
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) ProtoMessage()
func (*QueryAllInterchainLiquidityPoolRequest) Reset ¶
func (m *QueryAllInterchainLiquidityPoolRequest) Reset()
func (*QueryAllInterchainLiquidityPoolRequest) Size ¶
func (m *QueryAllInterchainLiquidityPoolRequest) Size() (n int)
func (*QueryAllInterchainLiquidityPoolRequest) String ¶
func (m *QueryAllInterchainLiquidityPoolRequest) String() 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 (m *QueryAllInterchainLiquidityPoolRequest) XXX_Merge(src proto.Message)
func (*QueryAllInterchainLiquidityPoolRequest) XXX_Size ¶
func (m *QueryAllInterchainLiquidityPoolRequest) XXX_Size() int
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 (m *QueryAllInterchainLiquidityPoolResponse) GetPagination() *query.PageResponse
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) ProtoMessage()
func (*QueryAllInterchainLiquidityPoolResponse) Reset ¶
func (m *QueryAllInterchainLiquidityPoolResponse) Reset()
func (*QueryAllInterchainLiquidityPoolResponse) Size ¶
func (m *QueryAllInterchainLiquidityPoolResponse) Size() (n int)
func (*QueryAllInterchainLiquidityPoolResponse) String ¶
func (m *QueryAllInterchainLiquidityPoolResponse) String() 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 (m *QueryAllInterchainLiquidityPoolResponse) XXX_Merge(src proto.Message)
func (*QueryAllInterchainLiquidityPoolResponse) XXX_Size ¶
func (m *QueryAllInterchainLiquidityPoolResponse) XXX_Size() int
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 (m *QueryAllInterchainMarketMakerRequest) GetPagination() *query.PageRequest
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 (m *QueryAllInterchainMarketMakerRequest) Reset()
func (*QueryAllInterchainMarketMakerRequest) Size ¶
func (m *QueryAllInterchainMarketMakerRequest) Size() (n int)
func (*QueryAllInterchainMarketMakerRequest) String ¶
func (m *QueryAllInterchainMarketMakerRequest) String() 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 (m *QueryAllInterchainMarketMakerRequest) XXX_Merge(src proto.Message)
func (*QueryAllInterchainMarketMakerRequest) XXX_Size ¶
func (m *QueryAllInterchainMarketMakerRequest) XXX_Size() int
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 (m *QueryAllInterchainMarketMakerResponse) GetPagination() *query.PageResponse
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 (m *QueryAllInterchainMarketMakerResponse) Reset()
func (*QueryAllInterchainMarketMakerResponse) Size ¶
func (m *QueryAllInterchainMarketMakerResponse) Size() (n int)
func (*QueryAllInterchainMarketMakerResponse) String ¶
func (m *QueryAllInterchainMarketMakerResponse) String() 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 (m *QueryAllInterchainMarketMakerResponse) XXX_Merge(src proto.Message)
func (*QueryAllInterchainMarketMakerResponse) XXX_Size ¶
func (m *QueryAllInterchainMarketMakerResponse) XXX_Size() int
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) Descriptor() ([]byte, []int)
func (*QueryAllInterchainMultiDepositOrdersRequest) GetPagination ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) GetPagination() *query.PageRequest
func (*QueryAllInterchainMultiDepositOrdersRequest) GetPoolId ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) GetPoolId() string
func (*QueryAllInterchainMultiDepositOrdersRequest) Marshal ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllInterchainMultiDepositOrdersRequest) MarshalTo ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllInterchainMultiDepositOrdersRequest) MarshalToSizedBuffer ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllInterchainMultiDepositOrdersRequest) ProtoMessage ¶
func (*QueryAllInterchainMultiDepositOrdersRequest) ProtoMessage()
func (*QueryAllInterchainMultiDepositOrdersRequest) Reset ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) Reset()
func (*QueryAllInterchainMultiDepositOrdersRequest) Size ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) Size() (n int)
func (*QueryAllInterchainMultiDepositOrdersRequest) String ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) String() string
func (*QueryAllInterchainMultiDepositOrdersRequest) Unmarshal ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) Unmarshal(dAtA []byte) error
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 (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Merge(src proto.Message)
func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Size ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Size() int
func (*QueryAllInterchainMultiDepositOrdersRequest) XXX_Unmarshal ¶
func (m *QueryAllInterchainMultiDepositOrdersRequest) XXX_Unmarshal(b []byte) error
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) Descriptor() ([]byte, []int)
func (*QueryAllInterchainMultiDepositOrdersResponse) GetOrders ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) GetOrders() []*MultiAssetDepositOrder
func (*QueryAllInterchainMultiDepositOrdersResponse) GetPagination ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) GetPagination() *query.PageResponse
func (*QueryAllInterchainMultiDepositOrdersResponse) Marshal ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllInterchainMultiDepositOrdersResponse) MarshalTo ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllInterchainMultiDepositOrdersResponse) MarshalToSizedBuffer ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllInterchainMultiDepositOrdersResponse) ProtoMessage ¶
func (*QueryAllInterchainMultiDepositOrdersResponse) ProtoMessage()
func (*QueryAllInterchainMultiDepositOrdersResponse) Reset ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) Reset()
func (*QueryAllInterchainMultiDepositOrdersResponse) Size ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) Size() (n int)
func (*QueryAllInterchainMultiDepositOrdersResponse) String ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) String() string
func (*QueryAllInterchainMultiDepositOrdersResponse) Unmarshal ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) Unmarshal(dAtA []byte) error
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 (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Merge(src proto.Message)
func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Size ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Size() int
func (*QueryAllInterchainMultiDepositOrdersResponse) XXX_Unmarshal ¶
func (m *QueryAllInterchainMultiDepositOrdersResponse) XXX_Unmarshal(b []byte) error
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 (m *QueryGetInterchainLiquidityPoolRequest) GetPoolId() string
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) ProtoMessage()
func (*QueryGetInterchainLiquidityPoolRequest) Reset ¶
func (m *QueryGetInterchainLiquidityPoolRequest) Reset()
func (*QueryGetInterchainLiquidityPoolRequest) Size ¶
func (m *QueryGetInterchainLiquidityPoolRequest) Size() (n int)
func (*QueryGetInterchainLiquidityPoolRequest) String ¶
func (m *QueryGetInterchainLiquidityPoolRequest) String() 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 (m *QueryGetInterchainLiquidityPoolRequest) XXX_Merge(src proto.Message)
func (*QueryGetInterchainLiquidityPoolRequest) XXX_Size ¶
func (m *QueryGetInterchainLiquidityPoolRequest) XXX_Size() int
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) ProtoMessage()
func (*QueryGetInterchainLiquidityPoolResponse) Reset ¶
func (m *QueryGetInterchainLiquidityPoolResponse) Reset()
func (*QueryGetInterchainLiquidityPoolResponse) Size ¶
func (m *QueryGetInterchainLiquidityPoolResponse) Size() (n int)
func (*QueryGetInterchainLiquidityPoolResponse) String ¶
func (m *QueryGetInterchainLiquidityPoolResponse) String() 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 (m *QueryGetInterchainLiquidityPoolResponse) XXX_Merge(src proto.Message)
func (*QueryGetInterchainLiquidityPoolResponse) XXX_Size ¶
func (m *QueryGetInterchainLiquidityPoolResponse) XXX_Size() int
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 (m *QueryGetInterchainMarketMakerRequest) GetPoolId() string
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 (m *QueryGetInterchainMarketMakerRequest) Reset()
func (*QueryGetInterchainMarketMakerRequest) Size ¶
func (m *QueryGetInterchainMarketMakerRequest) Size() (n int)
func (*QueryGetInterchainMarketMakerRequest) String ¶
func (m *QueryGetInterchainMarketMakerRequest) String() 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 (m *QueryGetInterchainMarketMakerRequest) XXX_Merge(src proto.Message)
func (*QueryGetInterchainMarketMakerRequest) XXX_Size ¶
func (m *QueryGetInterchainMarketMakerRequest) XXX_Size() int
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 (m *QueryGetInterchainMarketMakerResponse) Reset()
func (*QueryGetInterchainMarketMakerResponse) Size ¶
func (m *QueryGetInterchainMarketMakerResponse) Size() (n int)
func (*QueryGetInterchainMarketMakerResponse) String ¶
func (m *QueryGetInterchainMarketMakerResponse) String() 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 (m *QueryGetInterchainMarketMakerResponse) XXX_Merge(src proto.Message)
func (*QueryGetInterchainMarketMakerResponse) XXX_Size ¶
func (m *QueryGetInterchainMarketMakerResponse) XXX_Size() int
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) Descriptor() ([]byte, []int)
func (*QueryGetInterchainMultiDepositOrderRequest) GetOrderId ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) GetOrderId() string
func (*QueryGetInterchainMultiDepositOrderRequest) GetPoolId ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) GetPoolId() string
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) ProtoMessage()
func (*QueryGetInterchainMultiDepositOrderRequest) Reset ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) Reset()
func (*QueryGetInterchainMultiDepositOrderRequest) Size ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) Size() (n int)
func (*QueryGetInterchainMultiDepositOrderRequest) String ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) String() string
func (*QueryGetInterchainMultiDepositOrderRequest) Unmarshal ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) Unmarshal(dAtA []byte) error
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 (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Merge(src proto.Message)
func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Size ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Size() int
func (*QueryGetInterchainMultiDepositOrderRequest) XXX_Unmarshal ¶
func (m *QueryGetInterchainMultiDepositOrderRequest) XXX_Unmarshal(b []byte) error
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) Descriptor() ([]byte, []int)
func (*QueryGetInterchainMultiDepositOrderResponse) GetOrder ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) GetOrder() *MultiAssetDepositOrder
func (*QueryGetInterchainMultiDepositOrderResponse) Marshal ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetInterchainMultiDepositOrderResponse) MarshalTo ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetInterchainMultiDepositOrderResponse) MarshalToSizedBuffer ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetInterchainMultiDepositOrderResponse) ProtoMessage ¶
func (*QueryGetInterchainMultiDepositOrderResponse) ProtoMessage()
func (*QueryGetInterchainMultiDepositOrderResponse) Reset ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) Reset()
func (*QueryGetInterchainMultiDepositOrderResponse) Size ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) Size() (n int)
func (*QueryGetInterchainMultiDepositOrderResponse) String ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) String() string
func (*QueryGetInterchainMultiDepositOrderResponse) Unmarshal ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) Unmarshal(dAtA []byte) error
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 (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Merge(src proto.Message)
func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Size ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Size() int
func (*QueryGetInterchainMultiDepositOrderResponse) XXX_Unmarshal ¶
func (m *QueryGetInterchainMultiDepositOrderResponse) XXX_Unmarshal(b []byte) error
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) Descriptor() ([]byte, []int)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetPoolId ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetPoolId() string
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetSourceMaker ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) GetSourceMaker() string
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Marshal ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalTo ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalToSizedBuffer ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) ProtoMessage ¶
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) ProtoMessage()
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Reset ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Reset()
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Size ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Size() (n int)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) String ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) String() string
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Unmarshal ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_DiscardUnknown ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_DiscardUnknown()
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Marshal ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Merge ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Merge(src proto.Message)
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Size ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Size() int
func (*QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Unmarshal ¶
func (m *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) XXX_Unmarshal(b []byte) error
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) 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) CancelMultiAssetDeposit ¶
func (UnimplementedMsgServer) CancelMultiAssetDeposit(context.Context, *MsgCancelMultiAssetDepositRequest) (*MsgCancelMultiAssetDepositResponse, error)
func (UnimplementedMsgServer) CancelPool ¶
func (UnimplementedMsgServer) CancelPool(context.Context, *MsgCancelPoolRequest) (*MsgCancelPoolResponse, error)
func (UnimplementedMsgServer) MakeMultiAssetDeposit ¶
func (UnimplementedMsgServer) MakeMultiAssetDeposit(context.Context, *MsgMakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error)
func (UnimplementedMsgServer) MakePool ¶
func (UnimplementedMsgServer) MakePool(context.Context, *MsgMakePoolRequest) (*MsgMakePoolResponse, error)
func (UnimplementedMsgServer) MultiAssetWithdraw ¶
func (UnimplementedMsgServer) MultiAssetWithdraw(context.Context, *MsgMultiAssetWithdrawRequest) (*MsgMultiAssetWithdrawResponse, error)
func (UnimplementedMsgServer) SingleAssetDeposit ¶
func (UnimplementedMsgServer) SingleAssetDeposit(context.Context, *MsgSingleAssetDepositRequest) (*MsgSingleAssetDepositResponse, error)
func (UnimplementedMsgServer) Swap ¶
func (UnimplementedMsgServer) Swap(context.Context, *MsgSwapRequest) (*MsgSwapResponse, error)
func (UnimplementedMsgServer) TakeMultiAssetDeposit ¶
func (UnimplementedMsgServer) TakeMultiAssetDeposit(context.Context, *MsgTakeMultiAssetDepositRequest) (*MsgMultiAssetDepositResponse, error)
func (UnimplementedMsgServer) TakePool ¶
func (UnimplementedMsgServer) TakePool(context.Context, *MsgTakePoolRequest) (*MsgTakePoolResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer should be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) EscrowAddress ¶
func (UnimplementedQueryServer) EscrowAddress(context.Context, *QueryEscrowAddressRequest) (*QueryEscrowAddressResponse, error)
func (UnimplementedQueryServer) InterchainLatestMultiDepositOrderByCreator ¶
func (UnimplementedQueryServer) InterchainLatestMultiDepositOrderByCreator(context.Context, *QueryLatestInterchainMultiDepositOrderBySourceMakerRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
func (UnimplementedQueryServer) InterchainLiquidityMyPoolAll ¶
func (UnimplementedQueryServer) InterchainLiquidityMyPoolAll(context.Context, *QueryAllInterchainLiquidityMyPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
func (UnimplementedQueryServer) InterchainLiquidityPool ¶
func (UnimplementedQueryServer) InterchainLiquidityPool(context.Context, *QueryGetInterchainLiquidityPoolRequest) (*QueryGetInterchainLiquidityPoolResponse, error)
func (UnimplementedQueryServer) InterchainLiquidityPoolAll ¶
func (UnimplementedQueryServer) InterchainLiquidityPoolAll(context.Context, *QueryAllInterchainLiquidityPoolRequest) (*QueryAllInterchainLiquidityPoolResponse, error)
func (UnimplementedQueryServer) InterchainMarketMaker ¶
func (UnimplementedQueryServer) InterchainMarketMaker(context.Context, *QueryGetInterchainMarketMakerRequest) (*QueryGetInterchainMarketMakerResponse, error)
func (UnimplementedQueryServer) InterchainMarketMakerAll ¶
func (UnimplementedQueryServer) InterchainMarketMakerAll(context.Context, *QueryAllInterchainMarketMakerRequest) (*QueryAllInterchainMarketMakerResponse, error)
func (UnimplementedQueryServer) InterchainMultiDepositOrder ¶
func (UnimplementedQueryServer) InterchainMultiDepositOrder(context.Context, *QueryGetInterchainMultiDepositOrderRequest) (*QueryGetInterchainMultiDepositOrderResponse, error)
func (UnimplementedQueryServer) InterchainMultiDepositOrdersAll ¶
func (UnimplementedQueryServer) InterchainMultiDepositOrdersAll(context.Context, *QueryAllInterchainMultiDepositOrdersRequest) (*QueryAllInterchainMultiDepositOrdersResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
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.
Source Files ¶
- codec.go
- errors.go
- events_ibc.go
- expected_ibc_keeper.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_interchain_liquidity_pool.go
- key_interchain_market_maker.go
- key_multi_deposit_order.go
- keys.go
- market.go
- market.pb.go
- message_cancel_multi_asset_deposit.go
- message_cancel_pool.go
- message_make_multi_asset_deposit.go
- message_make_pool.go
- message_multi_asset_withdraw.go
- message_single_asset_deposit.go
- message_swap.go
- message_take_multi_asset_deposit.go
- message_take_pool.go
- packet.go
- packet.pb.go
- param.pb.go
- params.go
- propersal.go
- query.pb.go
- query.pb.gw.go
- query_grpc.pb.go
- router.go
- tx.go
- tx.pb.go
- tx_grpc.pb.go
- types.go
- utils.go