package
0.2.0
Repository: https://github.com/disperze/ibc-osmo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

InterGAMM

This is a middleware module around ICS20 transfer module to allow executing custom transactions (ex: swap) on osmosis chain.

IBC Swap

IbcPacketData

Data packet sent by a blockchain to Osmosis chain to make custom transaction. It contains the following parameters:

ParameterTypeDescription
DenomstringFrom ICS20
AmountstringFrom ICS20
SenderstringFrom ICS20
ReceiverstringFrom ICS20
gammobjectOsmosis action (optional)

GAMM actions supported:

SwapExactAmountInPacketData

Allows to make swap transaction on Osmosis chain, uses TokenIn from ICS20 data.

ParameterTypeDescription
SenderstringSender, useful for the caller
RoutesSwapAmountInRouteFrom osmosis
TokenOutMinAmountstringMin output amount

SwapExactAmountInAck

Returns the swap result

ParameterType
Denomstring
Amountstring