Commit Graph

187 Commits

Author SHA1 Message Date
Jaco
e432429750
Check for registered code before crowdloan or bid (#5274) 2021-05-13 19:47:18 +02:00
Jaco
470b910d7f
Bump API (#5239)
* Bump API

* Adjust typing
2021-05-09 11:01:57 +02:00
Jaco
8df64b3221
Bump API (metadata v13 support) (#5209)
* Bump API (metadata v13 support)

* Actual API bump
2021-05-05 10:30:00 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco
8825a693f9
Remove deprecated contracts calls (#5183)
* Remove deprectaed contracts calls

* Drop support for contracts V2
2021-05-01 10:27:10 +02:00
Krzysztof Jelski
6bac862800
Check if accounts are loaded before hiding a tab (#5177) 2021-05-01 06:45:34 +02:00
Jaco
a298715c6e
useEventTrigger without string specifiers (#5166)
* useEventTrigger with section.method string specifiers

* Remove string useEventTrigger

* Adjust useExtrinsicTrigger

* Update packages/react-hooks/src/useExtrinsicTrigger.ts
2021-04-30 14:10:21 +02:00
Jaco
0c942dc10a
Add useMap{Entries, Keys} hooks (#5164) 2021-04-30 09:03:13 +02:00
Jaco
c5d71b429c
Membership app (#5147)
* Membership app

* Bump
2021-04-26 21:14:31 +02:00
Jaco
c2265a75e4
Bump deps (#5136) 2021-04-24 11:04:52 +02:00
Jaco
b3ba9a4b6a
Display asset balances (#5128) 2021-04-23 13:46:51 +02:00
Jaco
0c5934c13f
Use batch management hook for asset create (#5102) 2021-04-20 11:38:36 +02:00
Jaco Greeff
a45652525c
Fix paymentinfo with no accounts (#5022) 2021-04-04 08:10:07 +02:00
Jaco Greeff
7c9aba6e4d
Extract batch creation into hook (#5005)
* Extract batch creation into hook

* Adjust

* Adjustfallback weight (just in-case...)

* Batch
2021-04-03 08:37:05 +02:00
Jaco Greeff
498a4818ff
Sort parachain lists with known first (#5011)
* Sort parachain lists with known first

* leases re-sort

* Adjust sorting
2021-04-02 21:19:52 +02:00
Jaco Greeff
31448157eb
Split parathreads tab (#4997)
* Split parathreads tab

* Keep threads warm

* Remove extra ?.

* Type for id + leases
2021-04-01 15:58:27 +02:00
Jaco Greeff
b341581f51
Crowdloan withdrawals (#4966)
* Crowdloan withdrawals

* cleanups

* Modal

* withdraw batch & single
2021-03-29 11:20:51 +02:00
Jaco Greeff
5c1cfd472d
Refresh single fund info (#4956)
* Refresh single fund info

* Media queries

* className fix

* Countdown on ended

* s/count/unique/

* loading

* only count in state
2021-03-27 09:19:11 +01: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
e037ab2400
Bump API (derive extend) (#4867) 2021-03-18 18:46:07 +01:00
Jaco Greeff
d34bd33568
useBestNumber hook (#4846)
* useBestNumber hook

* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
ad913ef880
Rework auction end blockNumber (#4833) 2021-03-12 20:02:57 +01:00
Jaco Greeff
09c1fb716d
Initial display for auction bids (#4828)
* Initial display for auction bids

* Dedupe bids
2021-03-12 13:08:25 +01:00
Jaco Greeff
e566bc321f
Crowdloan contribution (#4819)
* Crowdload contribution

* Adjust

* Add percentage raised
2021-03-11 11:47:10 +01:00
Jaco Greeff
47590a2fdb
Retrieve upcoming via actionsQueue (#4810)
* Retrieve upcoming via actionsQueue

* useEventTrigger on global & extrinsic events
2021-03-10 16:15:41 +01:00
Jaco Greeff
7d2d1842d1
Update deps (& berry) (#4765)
* Update deps (& berry)

* linting

* Additional

* Bumps

* jest babel helpers esm
2021-03-03 11:52:39 +01:00
Jaco Greeff
c12cfac0e2
Fix slashing display (#4682) 2021-02-17 11:37:00 +01:00
Jaco Greeff
9b9cc54724
Add warning to bond, not send (#4656)
* Add warning to bond, not send

* Refresh update
2021-02-11 18:48:38 +01:00
Jaco Greeff
f84a55089b
Convert all specs to type bundles (#4646)
* Convert all specs to type bundles

* Additional

* s.specVersioned/spec/

* Fix paraApi typesSpec import

* Update

* small update

* comment on mapping
2021-02-11 11:54:27 +01:00
Jaco Greeff
a72f9be38c
Don't re-read storage on useFavorites (#4639) 2021-02-09 15:38:13 +01:00
Jaco Greeff
aa15c1e65e
Ensure useLoadingDelay fires only once (#4638) 2021-02-09 15:14:27 +01:00
Jaco Greeff
1a5f8fa4e1
Protect against overflows in target calcs (#4633) 2021-02-09 10:44:17 +01:00
Jaco Greeff
90ec5de731
Bump API (#4628)
* Bump API

* Adjust for networks
2021-02-08 09:13:22 +01:00
Jaco Greeff
1ec6dfd302
Support new contracts putCode (#4622)
* Support new contracts putCode

* New works

* Swap to default constructor as available

* Split into steps
2021-02-06 15:51:09 +01:00
Jaco Greeff
024c03ba9b
Crowdloans (#4613)
* Crowdloans

* update icon

* crowdloads -> crowdloan

* Overview start

* Fund indexes

* Fund displays stucture

* Fund view

* Fund view expanded

* Update packages/page-crowdloan/src/useFundIndexes.ts

* Add skeleton

* useEventTrigger

* Cleanups

* Fund proposal

* Registrar

* Adjust current versions

* Update README.md
2021-02-06 11:24:04 +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
cef6451064
Optional staking module for info queries (#4574) 2021-02-02 09:17:38 +01:00
Jaco Greeff
1a74b927fc
Remove some floating "as any" usages (#4565) 2021-02-01 20:46:31 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jhon
916a925cda
added validator/nominator flags (#4546)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

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

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

* added validator flag

* Update packages/react-hooks/src/useAccountInfo.ts

* Update packages/react-hooks/src/useAccountInfo.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +01:00
Jaco Greeff
6155dbd224
Check isEditable for network swap (#4495) 2021-01-25 15:29:32 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list (#4460) 2021-01-22 12:06:49 +01:00
Ewa Kowalska
ff616ce89f
Fix #4419 - using bounties without treasury (#4447)
* Fix issue with no treasury

* Apply review suggestions

* Use BN_ZERO instead of api.createType
2021-01-18 20:58:55 +01:00
Jaco Greeff
00563a240b
useCallMulti on parachain proposals (#4436) 2021-01-18 12:48:37 +01:00
Thibaut Sardan
96c5e785e3
Nit, use as LedgerTypes casting (#4425)
* as LedgerType

* import type
2021-01-15 14:07:55 +01:00
Jaco Greeff
53a4ba41c4
Bump deps (w/ ui, hw-ledger) (#4418)
* Bump deps (w/ ui, hw-ledger)

* trigger
2021-01-15 08:58:16 +01:00
Jaco Greeff
19d49f09be
Move to Ledger usage with hook (#4195)
* Move ledgerChains to apps-config

* Swap Ledger capabilities to hook

* Fix type usage

* getLedger returns promise

* Revert promise result

* cleanup

* use has ledger support (#4413)

* use hasLedgerSupport

* Bump common

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

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
fd9110f432
Swap parachain to multi calls (w/ useCallMulti) (#4414) 2021-01-14 18:15:29 +01:00
Jaco Greeff
5f3bd186c7
Add ump/dmp/hrmp queue sizes (#4412) 2021-01-14 14:37:43 +01:00