Commit Graph

112 Commits

Author SHA1 Message Date
Jaco Greeff
c5e5814585
Math sudo on wrapped balances (#2976)
* Math sudo on wrapped balances

* Cleanup filter

* Single filter
2020-06-17 17:48:13 +02:00
Jaco Greeff
02deef39d7
Filter proxies by held accounts (#2975) 2020-06-17 17:03:28 +02:00
Jaco Greeff
2e427e90e7
Multisig calls with weight (#2957)
* Multisig calls with weight

* approveAsMulti args check
2020-06-17 12:49:56 +02:00
Jaco Greeff
0973bf2aa5
Split sign/send for UI updates (#2971)
* Add ProxySigner (update wrapper)

* setTimeout(1)

* Split sign & send parts
2020-06-17 12:32:25 +02:00
Jaco Greeff
5b9cf5ba2a
Clear proxy/multisig state (#2963)
* Clear old state between use

* Patch

* Check tx outside multisig call

* Set key for modal
2020-06-16 11:15:11 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel (#2958)
* Add proxied accounts, fix multisig cancel

* Multi toggle hides input

* Modal description
2020-06-15 15:51:55 +02:00
Jaco Greeff
fc5e75f01e
Alert for multisig approvals (#2953)
* Alert for multisig approvals

* Trigger on multisig events

* Allow display/submission of call data
2020-06-15 09:23:40 +02:00
Jaco Greeff
601ae6da08
Toss creaky signer Modal, revamp (#2933)
* Toss creaky signer Modal, revamp

* WIP

* WIP

* WIP

* WIP

* Basics seem working

* Adjust layout

* WIP

* Cleanups for unsigned

* Unsigned

* Start at signing-only

* Signing should be ok

* Signing operational

* Remove old modal

* Update packages/react-signer/src/Modal/TxSigned.tsx

* JS app integration

* Small styling adjustments

* Prelim proxy support

* Proxy on/off switch

* isProxyActive

* Multi + Proxy ordering (& testing)

* Proxy with multisig

* Remove debug logs

* Qr with 2 column layout

* Padding adjustments

* Cleanups

* Cleanup PaymentInfo

* Generic asset cleanup

* flatten

* Don't save latest values when filter is active
2020-06-14 18:59:22 +02:00
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