Waiting Time
Last updated
In the process of atomic swaps, participants need to wait for the previous step to be executed and safely confirmed before proceeding to the next step. This will determine the overall time of the swap. During the process of a Meson swap, we recommend the following waiting times.
postSwap → bondSwapRight away. If postSwap transaction is reverted, bondSwap cannot be executed. If postSwap tx is replaced by another swap with the same encoding but different initiator, the LP can still bond to it because the swap properties are the same.
Notice that postSwap may specify the bonded provider. In this case bondSwap is not needed and cannot be executed.
postSwap / bondSwap → lockWait for enough confirmations on the initial chains. Otherwise, postSwap or bondSwap transaction may be reverted.
lock → publish release signatureWait for enough confirmations on the target chains. Otherwise, the lock transaction may be reverted.
release & executeSwapRight away. The order doesn’t matter.
Last updated