Commit Graph

31 Commits

Author SHA1 Message Date
Demi M. Obenour 1df5a64024 Remove more code not needed for Ledgeracio 2020-09-11 20:26:14 -04:00
Demi M. Obenour 9f34f76d81 More deletions 2020-09-11 19:42:46 -04:00
Demi M. Obenour 33f1710909 Remove some code Ledgeracio does not need 2020-09-11 19:37:00 -04:00
Demi M. Obenour d3865a613e Fix tests 2020-09-11 15:40:45 -04:00
Demi M. Obenour 274412745b Chill support and update to latest Substrate 2020-08-31 15:21:16 -04:00
Demi M. Obenour 93fafcd8ac Merge remote-tracking branch 'origin/master' into staking 2020-08-24 13:36:10 -04:00
Demi M. Obenour 59decaf575 Make PayoutStakersCall public 2020-08-17 13:49:35 -04:00
Demi M. Obenour c330e687b1 Era reward points support 2020-08-13 11:54:44 -04:00
Demi M. Obenour 28533f68d4 Expose clipped exposure 2020-08-12 17:39:45 -04:00
Demi M. Obenour d5b11382d0 Era rewards point support
I also did some refactoring.
2020-08-12 14:59:15 -04:00
Demi M. Obenour da3667572b Expose properties and per-era preferences 2020-08-11 21:24:46 -04:00
Demi M. Obenour a95fd8a588 Use some upstream type definitions
Also add `Default` impls.
2020-06-19 13:02:11 -04:00
Demi M. Obenour 2bea59fac9 Fix return type of BondedStore 2020-06-18 13:53:14 -04:00
Demi M. Obenour 90e3b9bb4e Add Debug impls 2020-06-18 13:44:20 -04:00
Demi M. Obenour 57e2390a71 Switch to associated types for Staking 2020-06-02 20:28:04 -04:00
Demi M. Obenour 3314ea1dcb Implement set_payee call 2020-05-31 17:07:23 -04:00
Demi M. Obenour 49b3b1e820 Use the correct key for staking maps
They use the key type, not ‘PhantomData’.
2020-05-31 16:57:39 -04:00
Demi M. Obenour ab9612b381 Respond to code review
This fixes most of the issues found during review, with the exception of
tests.
2020-05-27 14:40:09 -04:00
Demi M. Obenour aaf190e1b9 Fix compilation errors and remove useless lifetimes 2020-05-18 19:20:18 -04:00
Demi M. Obenour ebfdc17459 Add staking payout support 2020-05-17 17:34:24 -04:00
Demi M. Obenour 1b4dc07f77 Don’t impl ‘Staking’ for all ‘T: System’ 2020-05-17 15:50:02 -04:00
Demi M. Obenour ffbffd44eb Use ‘#[module]’ and implement session for Kusama 2020-05-17 15:34:50 -04:00
Demi M. Obenour 88ac3cb2a8 Use the #[module] macro
This fixes a compile error
2020-05-17 13:46:15 -04:00
Demi M. Obenour 716dd13313 Try to implement nomination
This currently fails with compilation errors I do not understand.
2020-05-16 20:56:14 -04:00
Demi M. Obenour a28fb20264 Staking: use proc macros 2020-05-15 16:25:28 -04:00
Demi M. Obenour 3d6e2eebbc Reformat 2020-05-05 10:30:59 -04:00
Demi M. Obenour fef1260a00 Fix missing documentation 2020-05-01 17:57:36 -04:00
Demi M. Obenour 93c347cb18 Remove dead code 2020-05-01 15:31:19 -04:00
Demi M. Obenour c08e22a873 Reformat 2020-04-30 20:46:18 -04:00
Demi M. Obenour d4a085af7f Add more staking types 2020-04-30 20:36:36 -04:00
Demi M. Obenour 6bdf5e8d8b Initial Staking API 2020-04-30 18:15:28 -04:00