Commit Graph

19 Commits

Author SHA1 Message Date
Jaco Greeff
158ab2ee19
Update Darwinia Crab IndividualExposure types (#3719)
* Update Darwininia Crab IndividualExposure types

* own comment

* Charts
2020-09-19 09:56:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
6308e359d7
Bump API (small staking opts) (#3626) 2020-09-06 19:29:41 +02:00
Jaco Greeff
ca4b0b9cca
Staking details query optimizations (#3618)
* Staking details query optimizations

* Map lookups

* Extras
2020-09-06 09:40:17 +02:00
Jaco Greeff
6a8d26f411
Cleanup average calcs for targets (#3604) 2020-09-03 23:22:58 +02:00
Jaco Greeff
2448b7f883
Hooks with useMemo (no extra re-renders) (#3567)
* Hooks with useMemo (no extra re-renders)

* Extract defaults

* sorted targets

* Linting
2020-08-29 13:16:27 +02:00
Jaco Greeff
b16f54d8bc
Small sorting optimizations (#3529) 2020-08-26 19:39:44 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
8cb2933860
Show lowest stake on targets (#3423)
* Show lowest stake on targets

* Non-zero total for usage
2020-08-15 16:23:13 +02:00
Jaco Greeff
811352d8fd
Dispaly staked average (#3416)
* Disaply staked average

* Rework avg
2020-08-14 13:43:01 +02:00
Jaco Greeff
ce49da0029
Remove auto validator defaults (#3306)
* Remove auto validator defaults

* Adjust

* Additional cleanups

* Disable nominate on no target validators

* Remove unused next from targets
2020-08-01 12:34:40 +02:00
Jaco Greeff
6a95966b88
Apply favorites consistently (#3105) 2020-07-01 17:32:03 +02:00
Jaco Greeff
3e6a3ae23f
Add missing elected badge on staking waiting (#3006) 2020-06-20 20:52:31 +02:00
Jaco Greeff
9b07c14ae0
Display waiting in targets (#3000)
* Display waiting in targets

* Bondtotal filter re-add

* Bump API
2020-06-20 15:53:54 +02:00
Jaco Greeff
d30b88b7f4
Adjust staking targets/overview sorting displays (#2999)
* Adjust staking targets/overview sorting displays

* Removce whack eslint bug comment
2020-06-20 14:02:42 +02:00
Jaco Greeff
a393d2eae8
Fix targets with zero input (#2989)
* Fix targets with zero input

* Simpler or check
2020-06-19 14:53:06 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
5e60d4d1e2
Pass targets from root (on-demand render) (#2643)
* Pass targets from root (on-demand render)

* Fix type import
2020-04-27 23:58:28 +02:00