shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
157 stars 180 forks source link

Related assets selection is allowing dangerous unsupported assets selection #6913

Closed gomesalexandre closed 3 weeks ago

gomesalexandre commented 1 month ago

Overview

See Jam below. Lending correctly has narrowed down asset selection for borrows and repays.

For borrows

This is not putting user funds at risks as we simply won't be able to get a THOR asset from said asset and will bail, and even if we didn't still wouldn't be able to get a quote for an invalid asset, but should be fixed regardless.

References and additional details

N/A

Acceptance Criteria

Need By Date

No response

Screenshots/Mockups

https://jam.dev/c/881ce400-4e82-4d55-9783-0fc3eef4e72b

Estimated effort

No response