looking at the code e.g in /mm2src/mm2_main/src/lp_swap/swap_v2_rpcs.rs it becomes obvious that the swap_status object received, are about to receive an update.
MakerV1(MakerSavedSwap), TakerV1(TakerSavedSwap), MakerV2(MySwapForRpc<MakerSwapEvent>), TakerV2(MySwapForRpc<TakerSwapEvent>),
The swap status object map lost the type field.
The map is represented now by a map
"swap_type": "TakerV1" <-- see above
"swap_data": swap status object map
`
This seems to be undocumented as well as how the v1 vs v2 obejcts differ.
looking at the code e.g in
/mm2src/mm2_main/src/lp_swap/swap_v2_rpcs.rsit becomes obvious that theswap_statusobject received, are about to receive an update.MakerV1(MakerSavedSwap), TakerV1(TakerSavedSwap), MakerV2(MySwapForRpc<MakerSwapEvent>), TakerV2(MySwapForRpc<TakerSwapEvent>),The swap status object map lost the type field.
The map is represented now by a map
"swap_type": "TakerV1" <-- see above
"swap_data": swap status object map
`
This seems to be undocumented as well as how the v1 vs v2 obejcts differ.