Joey
Joey
Is the big number sent back from the smart contract in a string format? We could use a package to help with this sorta stuff: https://www.npmjs.com/package/bignumber.js
If I click Max on the trade screen I get this value: `const value = 1.50812902664e-7` If I try to give that to `snxJSConnector.utils.formatEther(value)` It throws this error: ``` underflow...
I've started looking into this. Is the idea that we calculate new balances based on the event? It seems like the event gets triggered many times, which makes this tricky....
Yea ok that make sense. I still say it's less error prone to just refetch the new balance, but for the sake of minimising request it might be worth doing...
I thought that was weird too. I've started on it, just been a bit smashed this week. Just to confirm, the plan is to listen to events then fetch just...
Do we still want it to say ETH everywhere in the UI?  
I would think defaulting is fine and then everytime they pick we save it to localstorage? Up do you, I can obv make it default to unselected
I've tested minted and burning on both page one and page 2 with a trezor and it all seems to work fine!
It seems like it is already using the sUSD rate: https://github.com/Synthetixio/synthetix-mintr/blob/staging/src/screens/Dashboard/Dashboard.js#L110 Multiplying the balance with the price. But `snxJSConnector.snxJS.ExchangeRates.ratesForCurrencies` (inside `fetchData.js`) gives back a sUSD rate of 1 even though...