Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagesResponse ¶
type MessagesResponse struct {
Msgs []*Transaction `json:"msgs"`
}
func ParseMessagesResponse ¶
func ParseMessagesResponse(jsonString string) (*MessagesResponse, error)
type Operation ¶
type Operation struct { Swap *SwapOperation `json:"swap,omitempty"` Transfer *TransferOperation `json:"transfer,omitempty"` }
type PoolSwapOperation ¶
type RouteResponse ¶
type RouteResponse struct { SourceAssetDenom string `json:"source_asset_denom"` SourceAssetChainId string `json:"source_asset_chain_id"` DestAssetDenom string `json:"dest_asset_denom"` DestAssetChainId string `json:"dest_asset_chain_id"` AmountIn string `json:"amount_in"` Operations []*Operation `json:"operations"` ChainIds []string `json:"chain_ids"` DoesSwap bool `json:"does_swap"` EstimatedAmountOut *string `json:"estimated_amount_out"` }
func ParseRouteResponse ¶
func ParseRouteResponse(jsonString string) (*RouteResponse, error)
type SkipClient ¶
type SkipClient struct {
// contains filtered or unexported fields
}
func NewSkipClient ¶
func NewSkipClient( registry *chains.OfflineChainRegistry, cdc *cdc.ProtoCodec, ) *SkipClient
func (*SkipClient) GetMessages ¶
func (sc *SkipClient) GetMessages( senderAddress string, senderPublicKey cryptotypes.PubKey, recipientAddress string, amountIn string, denomIn string, sourceChainID string, destDenom string, destChainID string, ) (sdk.Msg, error)
Send funds without discretion. Sanity checks and safety meausres are not enforced in this call.
type SwapInOperation ¶
type SwapInOperation struct { SwapVenue *SwapVenue `json:"swap_venue"` SwapOperations []*PoolSwapOperation `json:"swap_operations"` SwapAmountIn string `json:"swap_amount_in"` }
type SwapOperation ¶
type SwapOperation struct { SwapIn *SwapInOperation `json:"swap_in"` SwapExactCoinOut *SwapOutOperation `json:"swap_out"` }
type SwapOutOperation ¶
type SwapOutOperation struct { SwapVenue *SwapVenue `json:"swap_venue"` SwapOperations []*PoolSwapOperation `json:"swap_operations"` SwapAmountIn string `json:"swap_amount_in"` }
type Transaction ¶
Click to show internal directories.
Click to hide internal directories.