Commit Graph

8 Commits

Author SHA1 Message Date
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
4e926a2d33
Move chain params to apps-config (#4102) 2020-11-29 18:45:44 +01:00
Jaco Greeff
e940117fac
Show nominator return % per target (#4091)
* Show nominator return % per target

* 2 decimals

* Remove commented
2020-11-28 16:32:53 +01:00
Jaco Greeff
4add11e7d7
Display inflation & stakedReturn info (#4085)
* Introduce useInflation hook

* linting

* Display inflation & stakedReturns
2020-11-28 14:29:51 +01:00
Jaco Greeff
f8dc3d3641
Introduce useInflation hook (#4084)
* Introduce useInflation hook

* linting
2020-11-26 15:51:59 +01:00