Swap assets and add liquidity in osmosis from remote chains.
Transfer{}
: Transfer native tokens over IBC (ics20).
Ics20Packet
Data packet sent by a blockchain to Osmosis chain to make custom action. It contains the following parameters:
Parameter |
Type |
Description |
Denom |
string |
From ICS20 |
Amount |
string |
From ICS20 |
Sender |
string |
From ICS20 |
Receiver |
string |
From ICS20 |
action |
object |
Osmosis action (optional) |
Osmosis actions supported:
Swap
: Swap assets
JoinPool
: Add liquidity
ExitPool
: Exit liquidity
Parameter |
Type |
Description |
Routes |
SwapAmountInRoute |
From osmosis |
TokenOutMinAmount |
string |
Min output amount |
Parameter |
Type |
Description |
PoolID |
string |
Pool asset ID |
ShareOutMinAmount |
string |
Min share output amount |
Parameter |
Type |
Description |
TokenOutDenom |
string |
Output denom |
TokenOutMinAmount |
string |
Min output amount |
Parameter |
Type |
Description |
Duration |
string |
A valid osmosis lockup duration |
Parameter |
Type |
Description |
Denom |
string |
Denom of accumulated rewards |
Parameter |
Type |
Description |
ID |
string |
Lockup ID |
Ack result for actions (Swap, JoinPool, ExitPool, ClaimRewards)
Parameter |
Type |
Denom |
string |
Amount |
string |
Ack result for LockPacket action.
Parameter |
Type |
Description |
LockID |
string |
Lockup ID |