Commit Graph

104 Commits

Author SHA1 Message Date
Jaco Greeff
df9478807a
Cater for as_multi with storing argument (#2922) 2020-06-10 14:46:59 +02:00
Jaco Greeff
63139f1519
0.44 (#2917) 2020-06-10 11:34:11 +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
b713686aac
Re-encode others in signatories (#2909) 2020-06-09 14:32:25 +02:00
Jaco Greeff
be3aefd524
Re-encode who addresses (align with settings) (#2908)
* Re-encode who addresses (align with settings)

* Don't display password for external signatories
2020-06-09 13:50:01 +02:00
Jaco Greeff
a550b27282
Filter signatories based on outstanding approvals (#2901) 2020-06-08 14:52:10 +02:00
Jaco Greeff
dc7b4cb449
Multisig final detection (#2900) 2020-06-08 11:25:21 +02:00
Jaco Greeff
d5c6ecae28
Multisig in multisig or utility (#2895)
* Multisig in multisig or utility

* yarn.lock
2020-06-07 22:11:41 +02:00
Jaco Greeff
aa26694c76 Adjust qr size limit upwards 2020-06-03 21:22:45 +02:00
Jaco Greeff
575d6b439e
Bump API (#2875)
* Bump API

* Update consts
2020-06-03 16:29:44 +02:00
Jaco Greeff
c61fc5438b
Enable hashing for large payloads (#2851)
* Enable hashing for large payloads

* max size 4000

* Optimize hashing/conversion (only once)
2020-06-02 16:58:38 +02:00
Jaco Greeff
4a6d6c3124
genesisHash in QR (#2833)
* genesisHash in QR

* Bump UI
2020-05-27 18:07:00 +02:00
Jaco Greeff
8e30a8620e
Protect paymentInfo (#2811) 2020-05-26 09:08:36 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
6f4a8a4240
Refresh signatory between items (#2717) 2020-05-11 17:47:42 +02:00
Jaco Greeff
36f82cd4b1
Default to multisig approval first, call last (#2708)
* Default to multisig approval first, call last

* Reset multiCall to default between (update helper text)
2020-05-08 13:09:33 +02:00
Jaco Greeff
c72aa99195
Adjust signer modal with Columns (#2662)
* Adjust signer modal with Columns

* Small multisig adjustments
2020-04-30 14:24:53 +02:00
Jaco Greeff
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
1d80feaae5
Qr fix, scanning display (#2641)
* Qr fix, scanning display

* Don't display or
2020-04-27 20:57:17 +02:00
Jaco Greeff
1308ceb6c4
Move sending status to earlier in signer (#2638) 2020-04-27 17:00:55 +02:00
Jaco Greeff
8fc88eff66
Allow multisig asApproval via signer (#2634) 2020-04-26 14:30:39 +02:00
Jaco Greeff
e3400f7206
Multisig support (#2623)
* Multisig support

* Testing, sorting with timepoints

* Re-add

* lint (import fix)

* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts (#2509)
* UI support for simple payouts

* payout modal

* Adjust with era filtering

* Slow as molasses, but seems working

* Adjust th vertical alignment

* Bump API

* Update

* Cleanup reward retrievals

* linting

* Bumps

* Some rendering optimizations

* Re-add counter

* Fix new header linting

* Actual API bump

* Bumps

* Adjustments

* Adjust payouts as stand-alone tab

* Adjust nominations

* rm unused style

* change offsets

* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) (#2465) 2020-03-27 16:05:20 +01:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
ae3839a39f
Additional React.memo exports (#2456)
* Additional React.memo exports

* rm app-transfer artifacts
2020-03-25 12:30:19 +01:00
Jaco Greeff
c3d8a0be0b
Expander with optional meta (#2452) 2020-03-24 11:35:28 +01:00
Jaco Greeff
b9ebb3e175
Convert <details> to <Expander> (#2441) 2020-03-23 13:12:19 +01:00
Jaco Greeff
22fd0e2db1
Add support for new democracy (#2432)
* Add support for new democracy

* Add missing VoteValue component

* Signer unlock autoFocus by default

* Bump deps
2020-03-22 11:59:11 +01:00
Jaco Greeff
ac8ee10120
Update API to new jsonrpc structures (#2420) 2020-03-20 07:04:40 +01:00
Jaco Greeff
c912974868
Revert Kusama hack (#2409) 2020-03-18 01:06:07 +01:00
Jaco Greeff
fb60f89582
Bump API (+ small fixes) (#2410)
* Bump API (+ small fixes)

* Actual API bump
2020-03-18 00:46:20 +01:00
Jaco Greeff
ee62406170 Close signer dialog via console 2020-03-17 22:01:35 +01:00
Jaco Greeff
34e12b70a5 HACK for Kusama 2020-03-17 20:18:49 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components (#2389)
* React.memo-ize more func. components

* Rework status display determination

* isApiReady &&

* ApiSigner private class interface

* readonly #

* Remove isPrimary on council vote
2020-03-15 12:11:59 +01:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo (#2377)
* More React.memo

* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
304dab95cc
Add React.memo to some components (#2375)
* Add React.emomo to some components

* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
723f4d6487
ProposalCell with top alignment (#2353)
* ProposalCell to top

* Cleanup docs formatting
2020-03-09 08:02:27 +01:00
Jaco Greeff
6a9bfd4b31
Claim staking rewards (#2332)
* Claim staking rewards

* setHasUnclaimedRewards

* Staking payouts are batched

* Rework signing dialog with summary

* Remove isFull on password

* Highlight important bits

* Bump api

* Bump

* Direct payout click

* Fix build
2020-03-05 21:53:57 +01:00
Jaco Greeff
e1725e3ebb
Bump API (#2278)
* Bump API

* Adjust status colors

* Add missing types (change status colors)
2020-02-14 16:57:54 +01:00
Jaco Greeff
efd0e727d1
Bump API (#2224)
* Bump API

* Type adjustments

* Update zero const
2020-02-02 11:03:20 +01:00
Jaco Greeff
5d9161d6df
0.39 (#2220)
* 0.39

* Linting
2020-01-31 16:52:38 +01:00
Marcin Żółkiewski
be7e293d28
Expose signed transactions (#2203)
* sign offline WIP

* signing transactions from extrinsics screen

* signing tx from accounts screen

* added translations

* removed unnecessary value

* removed console logs

* removed unused import

* used new signAsync method

* fixed types

* removed unused imports

* added missing translations

* code review changes

* fixed signing with local account

* added sign toggle

* improvements for QR
2020-01-31 16:13:56 +01:00