The selected_amount column of all previous swaps is filled with the total value of deposits that partook in these swaps.
since deposits have been normalized in the db in the context of a static address swap this commit now retrieves the deposit information as part of GetLoopInByHash and GetStaticAddressLoopInSwapsByStates.