Jaco Greeff
0d1d42f6c2
Update promise combineLatest with generics ( #2214 )
2020-04-27 15:53:17 +02:00
Jaco Greeff
a135abaea2
Fix flags (council may not exist) ( #2207 )
2020-04-25 09:47:46 +02:00
Jaco Greeff
ea6bb83c01
Voting delegations ( #2205 )
2020-04-24 10:41:30 +02:00
Jaco Greeff
d983ee106c
migrateEra is first stakerPayouts era ( #2202 )
2020-04-23 11:39:39 +02:00
Keith Ingram
b18bdc37f9
Add api.derive.accounts.flags ( #2195 )
...
* account flags in new call
* Fix
2020-04-21 07:31:00 +02:00
Jaco Greeff
ab75863d94
Fix derive.democracy.preimage signature ( #2194 )
2020-04-20 11:12:03 +02:00
Jaco Greeff
a97cb6e25d
Return all identity hashes (not just as subset) ( #2179 )
2020-04-16 10:36:37 +02:00
Jaco Greeff
165179ebf2
Remove flags on derive.accounts.info ( #2167 )
...
* Remove flags from derive.account.info
* adjust types
2020-04-14 13:40:12 +02:00
Jaco Greeff
475cb4fa69
Move Digest to interfaces ( #2164 )
...
* Move Digest to interfaces
* Unconstructable typos
2020-04-14 12:09:36 +02:00
Jaco Greeff
a833dccdaf
All private prefixed with _ ( #2157 )
...
* All private prefixed with _
* Fix test
2020-04-11 22:21:55 +02:00
Jaco Greeff
e5d9bbc264
Filter old rewards with stakingLedger (ledger can update) ( #2155 )
...
* Filter old rewards with stakingLedger (ledger can update)
* Cleanup internal functions
2020-04-10 18:06:14 +02:00
Jaco Greeff
9ba91a3851
Use forkJoin for entries() retrieval ( #2152 )
...
* Use forkJoin for entries() retrieval
* Some current and validator retrieval opts
* Remove duplicate filtering
2020-04-10 12:12:10 +02:00
Jaco Greeff
afdb476796
Small cleanups & consistency ( #2151 )
...
* Small cleanups & consistency
* Fixes
2020-04-09 18:32:30 +02:00
Jaco Greeff
9184268c3d
Bump metadata ( #2148 )
...
* Bump metadata
* Adjust to non-customized democracy params
2020-04-09 14:46:48 +02:00
Jaco Greeff
c4708dcfca
Cleanup isPassing ( #2147 )
2020-04-09 09:19:56 +02:00
Jaco Greeff
2b4bd75499
Adjust calc with turnout add/sub
2020-04-08 21:47:22 +02:00
Jaco Greeff
a241bd1c38
Adjust change calc ( #2145 )
2020-04-08 17:23:59 +02:00
Jaco Greeff
b869695e40
Bump util ( #2144 )
2020-04-08 15:55:04 +02:00
Jaco Greeff
f5c140d1c2
Split derive.staking.currentPoints from overview ( #2140 )
2020-04-05 12:12:03 +02:00
Jaco Greeff
9ec1cb194a
Update StakingLedger (simpl payouts) ( #2102 )
...
* Update StakingLedger (simpl payouts)
* Chain defs
* Allow stakers queries with exclude filter
* Generate interfaces
* Return all exposures
* Rework exposures
* Cleanups
2020-04-04 18:25:32 +02:00
Jaco Greeff
641fe5c380
Refresh on scheduler entries ( #2135 )
...
* Refresh on scheduler entries
* Cleanups
2020-04-03 14:47:39 +02:00
Jaco Greeff
69351ceb9e
Cater for new dispatch scheduler ( #2130 )
...
* Cater for new dispatch scheduler
* Updated
* debug logs
* Update types.ts
2020-04-02 20:44:27 +02:00
Jaco Greeff
8213fa7cb9
Add validator total to staker rewards ( #2129 )
...
* Add validator total to staker rewards
* yarn rewrite
2020-04-02 16:16:10 +02:00
Jaco Greeff
58de0b8b9c
Rewrite yarn.lock ( #2127 )
2020-04-01 23:49:56 +02:00
Jaco Greeff
0dc46445bc
Bump dev (incl. lint fixes) ( #2126 )
...
* Bump dev (incl. lint fixes)
* Fix call encoding (stepped into that one)
* Event struct order
* Update with missing tuple type (getTypeDef type)
2020-04-01 22:44:34 +02:00
Jaco Greeff
5ab0bf3998
Aplit derive session.{info, progress} ( #2117 )
2020-03-30 18:20:34 +02:00
Jaco Greeff
d338fcb58c
Add derive for council voting info ( #2115 )
...
* Add derive for council voting info
* Update packages/api-derive/src/council/votes.ts
2020-03-30 13:48:14 +02:00
Jaco Greeff
2e83d92adc
Derive for deomcracy nextExternal ( #2108 )
2020-03-27 20:49:18 +01:00
Jaco Greeff
0d067c9484
Add api.derive.democracy.dispatchQueue ( #2107 )
2020-03-27 17:59:22 +01:00
Jaco Greeff
bb14471e60
Consistency in Derive* type names ( #2106 )
2020-03-27 15:34:41 +01:00
Jaco Greeff
21a2b5f0b7
signAndSend with finalized hash (depending on lag) ( #2104 )
...
* signAndSend with finalized hash (depending on drift)
* Extract lag calc
* mock update
* getSigningHeader
* api.derive.tx (with submittable cleanups)
* Adjust mortal calculations
* Cleanup new tx derives
* Optimize calcs
* Comment cleanups, next-up testing
* Adjust mocks
* Adjust sig (period is now based on metadata)
* Remove extra fn, tested and it works
2020-03-27 13:26:12 +01:00
Jaco Greeff
852e0d4f0b
Additional referendum derive cleanups ( #2093 )
2020-03-25 11:06:16 +01:00
Jaco Greeff
64f64c1001
Add referensumsActive ( #2091 )
2020-03-25 09:43:05 +01:00
Jaco Greeff
8bf5e51725
Return Observable when no referendums ( #2090 )
...
* Return Observable when no referendums
* Small ordering cleanups
2020-03-25 08:41:26 +01:00
Jaco Greeff
602bb1406b
derive.referendum extended info ( #2086 )
...
* derive.referendum extended info
* update
* util bump
2020-03-24 17:39:37 +01:00
Jaco Greeff
8c011cdc86
Adjust new vote retrieval with entries ( #2080 )
...
* Adjust new vote retrieval with entries
* testing
2020-03-23 11:24:06 +01:00
Keith Ingram and Jaco Greeff
aa37e372dd
Derived account info flags ( #2068 )
...
* Derived account info flags
* Update packages/api-derive/src/accounts/info.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com >
* Apply suggestions from code review
* Cleanups
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-03-22 18:16:43 +01:00
Jaco Greeff
7a7d6e9b8a
New democracy types ( #2078 )
...
* New democracy types
* ReferendumInfo
* Adjust democracy derives
* Spring cleaning
* Remove ReferendumInfoExtended
2020-03-22 11:05:57 +01:00
Jaco Greeff
e6afed9bb1
Allow electedInfo commition with/without linked maps ( #2060 )
2020-03-18 00:08:49 +01:00
Jaco Greeff
a613308bdb
Update
2020-03-17 19:34:51 +01:00
Jaco Greeff
a863e5eb95
Non-array nominators
2020-03-17 19:22:16 +01:00
Jaco Greeff
82c1e3f35a
Cater for new non-linked map validator queries ( #2055 )
...
* Cater for new non-linked map validator queries
* Update staking tests
* stakers -> stashes
2020-03-16 11:13:46 +01:00
Jaco Greeff
63573ca0de
Add ownExposure & ownSlashes ( #2054 )
2020-03-16 08:15:00 +01:00
Jaco Greeff
f942510309
Expose stakerSlahes & eraSlashes ( #2052 )
2020-03-15 17:49:15 +01:00
Jaco Greeff
908d0fcf52
Add missing commission to payout calculations ( #2051 )
...
* Add missing comission to payout calcs
* yarn
* Bump dev with version update fix
2020-03-15 09:51:52 +01:00
Jaco Greeff
94a3b1f09a
eraPoints args ( #2047 )
2020-03-13 21:05:40 +01:00
Jaco Greeff
dd217f82b2
Chunk keys & values retrievals on keys()/entries() ( #2046 )
...
* Chunk keys & values retrievals on keys()/entries()
* Bump chunk sizes
* Fix concatMap index
* Update mock
2020-03-13 19:40:57 +01:00
Jaco Greeff
d9dad3566a
Use asyncScheduler for all derives ( #2043 )
2020-03-13 12:32:42 +01:00
Jaco Greeff
affa5d390c
Expose derive staking.nextElected ( #2042 )
2020-03-13 08:45:28 +01:00
Jaco Greeff
98e1cc3f73
Add staking.eraExposure derive ( #2036 )
2020-03-12 21:57:17 +01:00