Commit Graph

25 Commits

Author SHA1 Message Date
Bastian Köcher
aab016e9ee
Update copyright year to make CI happy (#12142) 2026-01-30 11:03:02 +01:00
drgora
04b9e9c726
Add zkVerify Volta inflation parameters (#11448)
* Add inflation parameters for the zkVerify Volta testnet

* Fix division by 0

Fix division by 0 if ideal stake is set to 0 (i.e. not accounted for when computing the inflation).
2025-04-03 12:01:35 +05:30
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
f2e65785df
Link inflation calculations source (#8182)
* Link inflation calculations

* Update packages/react-hooks/src/useInflation.ts
2022-09-29 14:17:14 +03:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
68a423748b
Adjust createNamedHook (#6449)
* Adjust createNamedHook

* All (most) in react-hooks now named

* Add useValidators hook

* linting?
2021-10-30 13:36:05 +03:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
e32c48755d
Display ideal staked (#5346) 2021-05-22 09:52:53 +02:00
Jaco
ece5999bea
Inflation adjustment (based on auctions) (#5326)
* Inflation adjustment (based on auctions)

* Adjust

* Adjust

* Apply adjustment after inflation

* Update packages/react-hooks/src/useInflation.ts
2021-05-22 09:34:33 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco Greeff
2e68dc3cc0
Additional calcInflation check (#4900) 2021-03-22 10:44:49 +01:00
Jaco Greeff
bfd6e387d5
Avoind NaN for returns (#4899) 2021-03-22 10:26:07 +01:00
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