Balances rewrite (#761)
* Create the wallet store * Get the updater completed * Code complete * Fix token balance bug * Fix another bug in the hooks * Final bug fix, blockNumber can be undefined * Formalize the fact that block number can be undefined * Woops add package * Add more info to errors * Replace balances in the v1 methods with the new ones * Only return a balance value if it's present * Address comments * Trigger updateVersion before anything else
Showing
... | ... | @@ -13,6 +13,7 @@ |
"@ethersproject/strings": "^5.0.0-beta.136", | ||
"@ethersproject/units": "^5.0.0-beta.132", | ||
"@material-ui/core": "^4.9.5", | ||
"@mycrypto/eth-scan": "^2.1.0", | ||
"@reach/dialog": "^0.2.8", | ||
"@reach/tooltip": "^0.2.0", | ||
"@reduxjs/toolkit": "^1.3.5", | ||
... | ... |
This diff is collapsed.
src/data/Balances.ts
deleted
100644 → 0
src/state/wallet/actions.ts
0 → 100644
src/state/wallet/hooks.ts
0 → 100644
src/state/wallet/reducer.tsx
0 → 100644
src/state/wallet/updater.tsx
0 → 100644
Please register or sign in to comment