Closed JonRay15 closed 1 month ago
I guess this info box needs to have the chain in brackets too?
And as per #6491 this should include both assets for spot markets ... but I dont think that is done yet.
It feels strange to me that the only thing on this ticket that seems to support the chain ID is the size / notional switcher.
I think we tried to avoid putting it EVERYWHERE ... but in the USDT Arb v USDT Eth market you kind of need it or you just cant make sense of it. I suspect the right thing here is to have different behaviour on SPOT vs FUTR / PERP.
FUTR / PERP
SPOT: I think we want to add it bloody everywhere .... all across the deal ticket:
We seem to have some recurrence of that weird "no accounts" bug appearing in the collateral table? Dont know if its related or just we havent noticed.
The Chore
NB. I think we need to see where Art has got to with the cross asset flows before we can say for sure what needs to happen here so I want to see this in the wild asap.
Acceptance criteria
Trading screen
If the user has no balance of the required asset but they have some of an asset which can be swapped for the required asset using an existing spot market we should display an additional button showing "Swap for asset"#6520If user clicks "Swap for asset" button it should open the simple swap UI in the sidebar and default the received asset appropriately to receive the asset needed for that market (doing this in the sidebar might require #6459 to be complete)#6520Leave the pay asset blank and let the user set it manually#6520Deposit screen - Should be done by Art's PR
Withdraw screen - Should be done by Art''s PR
Cross chain deposit - Should be covered by #6507
Transfer screen
Portfolio screen
In the new transaction list we should show the chain name in brackets after the asset codeMoved to #6101Rewards screen
Competitions screen
Additional details / background info