Commit Graph

427 Commits

Author SHA1 Message Date
Jaco
83f62196c0
Badge for pool nominators (#7470) 2022-04-27 17:49:49 +03:00
Jaco
d831783009
Expand pool details (w/ all accounts) (#7469) 2022-04-27 17:14:59 +03:00
Jaco
47913892cd
Expansion to pools logic (#7384)
* Expansion to pools logic

* Add filtering

* Pass through own pools

* Allow pool nominate tx

* Start with account actions

* Asho pool nominees

* Nomination operational

* Adjust table rows

* BondExtra for pools

* use availableBalance in calcs (w/ existential)

* Re-use isAmountError check

* Pass through actual pool info

* s/id/poolId/

* Display payout stashes

* Display points balance

* OCD cleanups

* claimPayout

* Calculate pool claimable

* Unbond

* Fix Unbond max

* Display remaining witldrawal eras

* Stashed/Pooled selection

* Withdraw unbonded

* StakingRedeemable display

* Renames as per metadata

* Additional

* s/pool/pools/

* PoolInfo display hints

* Adjust usePoolInfo hook

* Ordering adjustments

* Additional dedupes

* Combine queries

* Combinations & renames

* Flatten transform

* Non-existent reward

* bnMax sub

* lint fixes

* Bump API
2022-04-26 18:21:38 +03:00
Jaco
471447180c
Cater for non-standard nominee maps (#7450) 2022-04-26 10:35:45 +03:00
Jaco
f96d483252
Pool param query updates (#7433) 2022-04-23 12:08:42 +03:00
Jaco
374bb47335
Adjust Menu.Item with label prop (#7413) 2022-04-21 10:52:48 +03:00
Jaco
818ab80982
Use ExpanderScroll on staking lists (#7406) 2022-04-20 12:10:17 +03:00
Jaco
2e8fc91ae7
Align info banners on staking (#7395) 2022-04-19 12:48:54 +03:00
Kami
8fe5646d87
Remove repeated "available" (#7388) 2022-04-18 19:20:05 +03:00
Jaco
ba90464cb3
Rename staking validators page to Validators (#7378)
* Rename staking validators page to Validators

* Adjust

* Dedupe summary

* Cleanups
2022-04-15 09:25:42 +03:00
Jaco
a983a07261
Make active/waiting click "snappy" (#7361) 2022-04-12 11:09:53 +03:00
Jaco
5f7662a60c
Consolidate *--hidden classes (#7359)
* Consolidate *--hidden classes

* Additional
2022-04-12 09:48:06 +03:00
Jaco
1e4f97c1d5
Combine active & waiting staking views (#7354)
* Combine active & waiting staking views

* Sort by stashes

* Filter by own

* useRef for options
2022-04-12 08:05:53 +03:00
Jaco
e27058540f
Pass through minComm to validate (#7343) 2022-04-10 08:52:10 +03:00
Jaco
325cd4a1c8
Combine bags ids & list hooks (#7335) 2022-04-09 11:22:38 +03:00
Jaco
298354881c
Don't show rebag button on load (#7320)
* Don't show rebag button on load

* Remove extra useEffect dep

* renames
2022-04-07 09:25:27 +03:00
Jaco
a5372949a3
Consolidate rebag operations (#7319)
* Consolidate rebag operations

* Don't pass stashNodes
2022-04-07 08:33:13 +03:00
Jaco
0e54bb3643
Adjust options for useTxBatch (#7311) 2022-04-06 08:21:07 +03:00
Jaco
c339e7166a
Rebag all dislocated (#7289)
* Perform per-loaded bag rebag calculations

* Allow global rebag
2022-04-02 11:27:12 +03:00
Jaco
97b4217610
Perform per-loaded bag rebag calculations (#7288) 2022-04-02 10:04:00 +03:00
Radha
7c637b71b6
Add info about Bags List (#7283)
* Add info about Bags List

* Update packages/page-staking/src/Bags/index.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/page-staking/src/Bags/index.tsx

Co-authored-by: Emre Surmeli <s.emre.s.8@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Emre Surmeli <s.emre.s.8@gmail.com>
2022-04-02 09:43:43 +03:00
Jaco
3f8a2df05f
Making staking Bags & Pools visible (#7273) 2022-03-30 17:59:31 +03:00
Jaco
326f0ecb1a
Bags summary adjustment (#7272)
* Filter for own/all bags

* Initial Own/All depending on stashes

* Adjust bags summaries
2022-03-30 14:00:34 +03:00
Jaco
3882a970ff
Filter for own/all bags (#7271)
* Filter for own/all bags

* Initial Own/All depending on stashes
2022-03-30 12:44:29 +03:00
Jaco
ac8deadece
Rebag on lower limit breached (#7270) 2022-03-30 11:07:58 +03:00
Jaco
9187f68bd2
Rebag on upper limit breached (#7269)
* Mrege prev/curr loadable bags

* Rebag on upper limit breached
2022-03-30 10:34:04 +03:00
Jaco
ab509efcf1
Mrege prev/curr loadable bags (#7268) 2022-03-30 10:00:17 +03:00
Jaco
e182d20853
Merge prev/current bags stash info (& React.memo) (#7267)
* Merge prev/current bags stash info (& React.memo)

* Adjust

* Adjust loading
2022-03-30 09:29:15 +03:00
Jaco
7c18a1fb4c
Format bags id as balance (#7265) 2022-03-29 17:37:26 +03:00
Jaco
18ef33433c
Small updates to pool creation logic (#7264) 2022-03-29 15:32:56 +03:00
Jaco
bf80de2205
Add trigger for bags refresh (#7263)
* Add trigger for bags refresh

* isLoading pass-through

* Adjust
2022-03-29 14:45:55 +03:00
Jaco
47cf9afc11
Add a move counter (#7260) 2022-03-29 12:05:33 +03:00
Jaco
3ead92db53
Add own stash jumps (#7259) 2022-03-29 11:36:31 +03:00
Jaco
2a7af81d16
Staking pools (#7089)
* Staking pools

* Fly-by comment fix

* Some infrastructure

* multi

* Create value

* Retrieve singular params instance

* defaultValue for multi query

* Retrieve list of pool ids

* Drive-by param formatting

* Pool list retrieval

* Retrieve pool info

* Adjust trigger placement

* Dump info

* Join modal

* Fix build

* Allow creation & joining

* caveman typing

* Adjust disabled state

* Adjust

* cowboy types

* Some basic stats

* Created/Destoyed events

* Adjust for latest

* Set metadata on creation

* Basic pools
2022-03-28 21:34:08 +03:00
Jaco
963f335336
Bags overview (#7257) 2022-03-28 20:22:34 +03:00
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Jaco
b520fda58a
Improve isChilled check (#7143) 2022-03-11 15:47:36 +02:00
Jaco
178afa65d9
Display chilled (only with minCommission) (#7141) 2022-03-11 15:18:37 +02:00
xnorly
84cbd83d36
trying to improve the filtering options for target validators (#7080)
* removing redundant word 'only'

When applying a filtering option, it is obvious that the resulting list will ONLY contain items that passed the filter. The remaining filtering options don't make use of the word 'only', o why use it here?.

* positive wording

These filtering options contain the word 'no' and may sound negative. Changing them slightly to achieve positive wording may improve UX.

* The label 'single from operator' may sound unclear, especially for new users. Maybe being a bit more descriptive with 'one validator per operator' could help.
2022-03-02 09:15:43 +02:00
xnorly
38d4c02659
changing 'tense' of label, because funds are not yet 'bonded' (#7077)
the label is shown when users are about to bond additional funds. Therefore, I propose to change the content of the label to 'additional funds to bond'. The old version 'additional bonded funds' suggests that the funds are already bonded which is not the case.
2022-03-01 11:49:43 +02:00
Jaco
525657ee01
Min commission check (#7068) 2022-02-28 14:34:34 +02:00
Jaco
cb60c73daa
0.105.1 (#6931)
* 0.105.1

* maxNominations
2022-02-07 09:01:29 +02:00
Dmytro Filippov
a9ff87ebf0
Targets page: fix validators sorting (#6886)
Co-authored-by: dmitry@fleetonomy.io <dmitry@fleetonomy.io>
2022-01-26 14:00:35 +02:00
Jaco
5e1b8a8f49
Prepare for selectable groups (#6842) 2022-01-18 09:23:55 +02: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
a7a48c1140
Extract derive.accounts.* into own hooks (#6755)
* Extract derive.accounts.* into own hooks

* useAccountApi as applicable

* Rename step 1

* useSystemApi
2021-12-30 10:02:41 +02:00
tarrball
16c757eb8b
Grammar fix in staking tooltip (#6727)
Co-authored-by: Andrew <andrew@tarrball.com>
2021-12-23 08:19:59 +02:00
Jaco
40c3e9c45b
Warn on large bond amount (#6585) 2021-11-21 16:00:15 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00