[CI Skip] 0.40.6

This commit is contained in:
Travis CI
2019-01-17 14:17:34 +00:00
parent a3e421f665
commit 22b34299bc
376 changed files with 3559 additions and 3224 deletions
@@ -0,0 +1,34 @@
# Type aliases
<a id="accountidandindex"></a>
## AccountIdAndIndex
**Ƭ AccountIdAndIndex**: *[`undefined` | `AccountId`, `undefined` | `AccountIndex`]*
*Defined in [accounts/idAndIndex.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/idAndIndex.ts#L15)*
___
# Functions
<a id="idandindex"></a>
## idAndIndex
▸ **idAndIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [accounts/idAndIndex.ts:17](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/idAndIndex.ts#L17)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="idtoindex"></a>
## idToIndex
▸ **idToIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [accounts/idToIndex.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/idToIndex.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,2 @@
@@ -0,0 +1,38 @@
# Type aliases
<a id="accountindexes"></a>
## AccountIndexes
**Ƭ AccountIndexes**: *`object`*
*Defined in [accounts/indexes.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/indexes.ts#L13)*
#### Type declaration
[index: `string`]: `AccountIndex`
___
# Functions
<a id="indexes"></a>
## indexes
▸ **indexes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [accounts/indexes.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/indexes.ts#L15)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -0,0 +1,22 @@
# Functions
<a id="indextoid"></a>
## indexToId
▸ **indexToId**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [accounts/indexToId.ts:14](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/indexToId.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -1,34 +0,0 @@
# Type aliases
<a id="idandindex"></a>
## IdAndIndex
**Ƭ IdAndIndex**: *[`undefined` | `AccountId`, `undefined` | `AccountIndex`]*
*Defined in [balances/accountIdAndIndex.ts:15](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIdAndIndex.ts#L15)*
___
# Functions
<a id="accountidandindex"></a>
## accountIdAndIndex
▸ **accountIdAndIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/accountIdAndIndex.ts:17](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIdAndIndex.ts#L17)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -1,22 +0,0 @@
# Functions
<a id="accountidtoindex"></a>
## accountIdToIndex
▸ **accountIdToIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/accountIdToIndex.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIdToIndex.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -1,38 +0,0 @@
# Type aliases
<a id="accountindexes"></a>
## AccountIndexes
**Ƭ AccountIndexes**: *`object`*
*Defined in [balances/accountIndexes.ts:14](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIndexes.ts#L14)*
#### Type declaration
[index: `string`]: `AccountIndex`
___
# Functions
<a id="accountindexes-1"></a>
## accountIndexes
▸ **accountIndexes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/accountIndexes.ts:16](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIndexes.ts#L16)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
@@ -1,22 +0,0 @@
# Functions
<a id="accountindextoid"></a>
## accountIndexToId
▸ **accountIndexToId**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/accountIndexToId.ts:14](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/accountIndexToId.ts#L14)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiInterface$Rx` |
**Returns:** `(Anonymous function)`
___
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **fees**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/fees.ts#L13)*
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/fees.ts#L13)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **validatingBalance**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/validatingBalance.ts#L16)*
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/validatingBalance.ts#L16)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **validatingBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/validatingBalances.ts#L14)*
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/validatingBalances.ts#L14)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **votingBalance**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/votingBalance.ts#L16)*
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/votingBalance.ts#L16)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **votingBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/votingBalances.ts#L13)*
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/votingBalances.ts#L13)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **votingBalancesNominatorsFor**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [balances/votingBalancesNominatorsFor.ts:15](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
*Defined in [balances/votingBalancesNominatorsFor.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **bestNumber**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [chain/bestNumber.ts:15](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/chain/bestNumber.ts#L15)*
*Defined in [chain/bestNumber.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/chain/bestNumber.ts#L15)*
Get the latest block number.
@@ -8,7 +8,7 @@
▸ **bestNumberFinalised**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [chain/bestNumberFinalised.ts:15](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/chain/bestNumberFinalised.ts#L15)*
*Defined in [chain/bestNumberFinalised.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/chain/bestNumberFinalised.ts#L15)*
Get the latest finalised block number.
@@ -8,7 +8,7 @@
▸ **referendumInfos**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **referendums**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [democracy/referendums.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/democracy/referendums.ts#L13)*
*Defined in [democracy/referendums.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/democracy/referendums.ts#L13)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **referendumVotesFor**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [democracy/referendumVotesFor.ts:17](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/democracy/referendumVotesFor.ts#L17)*
*Defined in [democracy/referendumVotesFor.ts:17](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/democracy/referendumVotesFor.ts#L17)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **votes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/democracy/votes.ts#L12)*
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/democracy/votes.ts#L12)*
**Parameters:**
+1 -1
View File
@@ -20,7 +20,7 @@
▸ **decorateDerive**(api: *`ApiInterface$Rx`*): [Derive](../interfaces/_index_.derive.md)
*Defined in [index.ts:33](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/index.ts#L33)*
*Defined in [index.ts:35](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/index.ts#L35)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **eraLength**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/session/eraLength.ts#L13)*
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/session/eraLength.ts#L13)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **eraProgress**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/session/eraProgress.ts#L14)*
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/session/eraProgress.ts#L14)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **sessionProgress**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/session/sessionProgress.ts#L14)*
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/session/sessionProgress.ts#L14)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **intentionsBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
*Defined in [staking/intentionsBalances.ts:18](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/staking/intentionsBalances.ts#L18)*
*Defined in [staking/intentionsBalances.ts:18](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/staking/intentionsBalances.ts#L18)*
Get the balances for all intentions and their nominators
+4 -4
View File
@@ -8,7 +8,7 @@
**Ƭ DerivedBalances**: *`object`*
*Defined in [types.ts:8](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/types.ts#L8)*
*Defined in [types.ts:8](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/types.ts#L8)*
#### Type declaration
@@ -19,7 +19,7 @@ ___
**Ƭ DerivedBalancesMap**: *`object`*
*Defined in [types.ts:26](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/types.ts#L26)*
*Defined in [types.ts:26](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/types.ts#L26)*
#### Type declaration
@@ -32,7 +32,7 @@ ___
**Ƭ DerivedFees**: *`object`*
*Defined in [types.ts:18](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/types.ts#L18)*
*Defined in [types.ts:18](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/types.ts#L18)*
#### Type declaration
@@ -43,7 +43,7 @@ ___
**Ƭ DerivedReferendumVote**: *`object`*
*Defined in [types.ts:30](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/types.ts#L30)*
*Defined in [types.ts:30](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/types.ts#L30)*
#### Type declaration
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **cache**(fn: *`Function`*, map?: *`WeakMap`<`object`, `any`>*): `(Anonymous function)`
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/a69cff1/packages/api-derive/src/util/cache.ts#L23)*
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/util/cache.ts#L23)*
Create memoization for a 2-currified function.