Jaco Greeff
|
34101ec12b
|
Adjust with queryMulti as applicable (#2370)
|
2020-06-21 09:56:02 +02:00 |
|
Jaco Greeff
|
5b96d52fa6
|
Adjust for zero-length combines (#2369)
|
2020-06-20 20:00:01 +02:00 |
|
Jaco Greeff
|
646e64c286
|
Add derive.staking.waitingInfo (#2367)
* Add derive.staking.waitingInfo
* Small optimizations
* Updated
|
2020-06-20 15:30:48 +02:00 |
|
Jaco Greeff
|
5bfc2cd534
|
Protect against div-by-zero (#2319)
* Protect against div-by-zero
* Rewrite
|
2020-05-31 13:07:42 +02:00 |
|
Jaco Greeff
|
b174864804
|
Adjust own cache key (per accountId) (#2317)
|
2020-05-28 13:12:27 +02:00 |
|
Jaco Greeff
|
97438bb2e8
|
Small combineLatest -> queryMulti opts (#2316)
* Small combineLatest -> queryMulti opts
* Update packages/api-derive/src/staking/ownSlashes.ts
|
2020-05-28 12:43:02 +02:00 |
|
Jaco Greeff
|
0187f1ff19
|
Extend deriveCache around ownExposure/ownSlash (#2315)
|
2020-05-28 12:07:02 +02:00 |
|
Jaco Greeff
|
47fc4a2b3c
|
Bump deps w/ eslint (#2302)
* Bump deps w/ eslint
* Additional cleanups
* Additional
* @polkadot/types done
* Additional
* @polkadot/typegen done
* Additional
* @polkadot/rpc-core done
* Additional
* Additional
* Additional
* docs
* @polkadot/api-derive done
* @polkadot/api done
* @polkadot/api-contracts done
* Update tests
|
2020-05-24 09:24:45 +02:00 |
|
Jaco Greeff
|
67a3376ef8
|
POC for a rough derive cache (#2293)
* POC for a rough derive cache
* With expiry
* Cache cleanups
* Memory cache
* Small cleanups
|
2020-05-19 10:29:40 +02:00 |
|
Jaco Greeff
|
dac1df35de
|
stakerRewards filters, re-org (#2292)
|
2020-05-18 10:20:09 +02:00 |
|
Jaco Greeff
|
45786b31da
|
Bump deps (#2286)
* Bump deps
* Linting cleanups
|
2020-05-15 13:35:15 +02:00 |
|
Jaco Greeff
|
8491ab8ca6
|
import type BN (as applicable) (#2262)
|
2020-05-11 14:45:14 +02:00 |
|
Jaco Greeff
|
0d1d42f6c2
|
Update promise combineLatest with generics (#2214)
|
2020-04-27 15:53:17 +02:00 |
|
Jaco Greeff
|
d983ee106c
|
migrateEra is first stakerPayouts era (#2202)
|
2020-04-23 11:39:39 +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
|
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
|
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
|
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
|
bb14471e60
|
Consistency in Derive* type names (#2106)
|
2020-03-27 15:34:41 +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 |
|
Jaco Greeff
|
c2f9ef7ca8
|
Add .keys on storage entries (#2032)
* Add .keys on storage entries
* Pass isOptional to storage type unwrap
* Linked maps TS types
|
2020-03-12 09:12:11 +01:00 |
|
Jaco Greeff
|
8995ef6ae2
|
dedupKeyPrefix as const
|
2020-03-11 17:01:07 +01:00 |
|
Jaco Greeff
|
3a37bf1e6b
|
Add multi variants for derive staking query & rewards (#2029)
|
2020-03-11 15:59:36 +01:00 |
|
Jaco Greeff
|
a09fc51693
|
Add stakerRewards for available reward calcs (#2028)
|
2020-03-11 12:33:12 +01:00 |
|
Jaco Greeff
|
d818f61dc8
|
Support new map nextKeys in derives (#2021)
* Support new map nextKeys in derives
* Update packages/api-derive/src/staking/query.ts
|
2020-03-10 15:07:02 +01:00 |
|
Jaco Greeff
|
92cdc6c840
|
Query exposure via clipped (#2020)
|
2020-03-10 13:16:15 +01:00 |
|
Jaco Greeff
|
071b5ba7cb
|
Re-add erasRewards (#2019)
|
2020-03-10 12:09:18 +01:00 |
|
Jaco Greeff
|
049a1a59f5
|
Rework eras* calls with minimum information (#2018)
|
2020-03-10 08:20:54 +01:00 |
|
Jaco Greeff
|
c1facd8b1c
|
memo for range & entries
|
2020-03-09 22:57:09 +01:00 |
|
Jaco Greeff
|
5b40d95b0f
|
Disbale identity (#2016)
|
2020-03-09 14:12:52 +01:00 |
|
Jaco Greeff
|
81a2a51610
|
Expose eraReward on derives (#2015)
|
2020-03-09 10:14:45 +01:00 |
|
Jaco Greeff
|
9bf854445c
|
Fix entries values decoding (#2011)
* Fix entries values decoding
* Linting
* Properly unwrap storage subs
|
2020-03-08 12:57:03 +01:00 |
|
Jaco Greeff
|
0a6c6ec4c5
|
Combine points into stakerRewards (#2008)
* Combine points into stakerRewards
* Bump dev
|
2020-03-08 09:26:54 +01:00 |
|
Jaco Greeff
|
adee447cd0
|
Add .args to decoded StorageKeys (#2004)
* Add .args to decoded StorageKeys
* Small opts
* Formatting
|
2020-03-06 13:47:40 +01:00 |
|