loop through availableVaults to get a route for each vault instead only for the first one
in RouteCard: use start and end step instead of relying on the collateralInput and debtInput. The point is to have the bridged and received amounts calculated by the sdk
when slippage > 0, that means user "suffer" from it so it needs to be in red
rename bridgeFees to bridgeFee to be consistent with returned name from sdk
bridgeFee needs to be formatted with the decimals of the asset being bridged
use RoutingStep enum values from the SDK instead of strings
added and changed tooltips that weren't in the designs
Minors
why don't you use array.find() rather than array.filter()[0]
we can use Address.from(ADDR) instead of new Address(ADDR)
Here are the changes I suggest for #286
Majors
collateralInput
anddebtInput
. The point is to have the bridged and received amounts calculated by the sdkbridgeFees
tobridgeFee
to be consistent with returned name from sdkbridgeFee
needs to be formatted with the decimals of the asset being bridgedRoutingStep
enum values from the SDK instead of stringsMinors