Closed L03TJ3 closed 3 months ago
@decentralauren @patpedrosa whenever there is room in a sprint I would like to add this. nothing is broken as far as I can tell, just would be pushing a standard across our dapps how we manage/handle/format Tokens and Currencies
Stale issue message
Currently in the app the Token class from uniswap sdk is being used. There are now multiple local helper methods, repeated passing down of multiple split-up props and formatting done in a way which makes for overcomplicated ui components.
I would like to see it replaced by https://usedapp-docs.netlify.app/docs/api%20reference/models/#currency
Likely this can be re-used as well: https://github.com/GoodDollar/GoodWeb3-Mono/blob/master/packages/sdk-v2/src/sdk/constants.ts