divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

Fill Offer - Do not show offers where expiry date is in the past #750

Open Walodja1987 opened 1 year ago

Walodja1987 commented 1 year ago

Context

On the Fill Offer page, show that the pool has already expired or something else that is better than a lot of red alert messages.

Example offer: https://app.diva.finance/offer/0xc2052ee5845447e963d1e7fc1e5f82f42b820825edd518edc5c69d834661ce1d

image (34)

Best is to update the API server to delete these kind of offers. An issue was created there as well: https://github.com/divaprotocol/DIVA-0x-api/issues/25