diff --git a/spec/app/ics-101-interchain-swap/interchain-swap.svg b/spec/app/ics-101-interchain-swap/interchain-swap.svg index 336c7f39e..eaec6cca0 100644 --- a/spec/app/ics-101-interchain-swap/interchain-swap.svg +++ b/spec/app/ics-101-interchain-swap/interchain-swap.svg @@ -1 +1 @@ -Source ChainDestination Chain1.Create Pool & Initial Deposit3.1.Save Pool(On Received)7.1.Ready for swap / issue pool token(On Receive)9.Ready for swap / issue pool token(On Acknowledge)Relayer2.Relay Create Pool Packet4.Ack Creat Pool Packet6. Relay Deposit Packet8. Acknowledge Deposit PacketTimeout3.2.Refund5. Initial/Single Deposit7.2. RefundTimeout1. Multi Deposit8. Acknowledge Multi Asset Deposit Packet3.Execute Deposit Tx(On Received)3.2.Refund6. Relay Deposit PacketMake Swap8. Acknowledge Swap Packet3 Execute Swap(On Received)Timeout3.2.Refund6. Relay Swap PacketSingle Withdrawupdate pool state 8. Acknowledge Withdraw Packet3.Update Pool State(On Received)3.2.Refund6. Relay Withdraw PacketClose Order / Update Pool StateOver slippage tolerance1. Calculate Swap Output Amount2. Check slippage tolerance3. Send Token4. Update pool states1. Create Swap Order2. Lock  Swap In Assets2. Delegate Swap RequestMulti Assets Withdrawupdate pool state8. Acknowledge Withdraw Packet3.Update pool stateWithdraw token(On Received)3.2.Refund6. Relay Withdraw PacketBurn LP TokenWithdraw TokenBurn LP TokenWithdraw Token1. Amount of Initial Deposit was specificed at pool creation2. Single Deposit can execute on source chain as well. \ No newline at end of file +Source ChainDestination Chain1.Create Pool & Initial Deposit3.1.Save Pool(On Received)7.1.Ready for swap / issue pool token(On Receive)9.Ready for swap / issue pool token(On Acknowledge)Relayer2.Relay Create Pool Packet4.Ack Creat Pool Packet6. Relay Deposit Packet8. Acknowledge Deposit PacketTimeout3.2.Refund5. Initial/Single Deposit7.2. RefundTimeout1. Multi Deposit8. Acknowledge Multi Asset Deposit Packet3.Execute Deposit Tx(On Received)3.2.Refund6. Relay Deposit PacketMake Swap8. Acknowledge Swap PacketUpdate Pool StateSend Token(On Received)Timeout3.2.Refund6. Relay Swap PacketSingle Withdrawupdate pool state 8. Acknowledge Withdraw Packet3.Update Pool State(On Received)3.2.Refund6. Relay Withdraw PacketClose Order / Update Pool State1. Calculate Swap Output Amount2. Check slippage tolerance3. Send Token4. Update pool states1. Create Swap Order2. Lock  Swap In Assets2. Delegate Swap RequestMulti Assets Withdrawupdate pool state8. Acknowledge Withdraw Packet3.Update pool stateWithdraw token(On Received)3.2.Refund6. Relay Withdraw PacketBurn LP TokenWithdraw TokenBurn LP TokenWithdraw Token1. Amount of Initial Deposit was specificed at pool creation2. Single Deposit can execute on source chain as well.Update pool stateExecute SwapUpdate Pool StateOver Slippage Tolerance \ No newline at end of file