[CI Skip] 0.31.77

This commit is contained in:
Travis CI
2018-10-24 15:51:55 +00:00
parent eb143b3fdd
commit 3480c918d8
184 changed files with 2014 additions and 1974 deletions
@@ -13,7 +13,7 @@
**● isUnhashed**: * `undefined` | `false` | `true`
*
*Defined in [utils/createFunction.ts:14](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/utils/createFunction.ts#L14)*
*Defined in [utils/createFunction.ts:14](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/utils/createFunction.ts#L14)*
___
<a id="method"></a>
@@ -23,7 +23,7 @@ ___
**● method**: * `undefined` &#124; `string`
*
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/utils/createFunction.ts#L15)*
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/utils/createFunction.ts#L15)*
___
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **fromMetadata**(metadata: *`Metadata`*): `Storage`
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/fromMetadata.ts#L20)*
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/fromMetadata.ts#L20)*
Extend a storage object with the storage modules & module functions present in the metadata.
+2 -2
View File
@@ -8,7 +8,7 @@
**storage**: *`object`*
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/storage.ts#L8)*
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/storage.ts#L8)*
<a id="storage.substrate"></a>
@@ -16,7 +16,7 @@
**● substrate**: *[&quot;substrate&quot;](_substrate_.md)*
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/storage.ts#L9)*
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/storage.ts#L9)*
___
+6 -6
View File
@@ -11,7 +11,7 @@
type: 'u32'
})
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L44)*
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L44)*
___
<a id="authorityprefix"></a>
@@ -23,7 +23,7 @@ ___
type: 'u32'
})
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L49)*
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L49)*
___
<a id="changestrieconfig"></a>
@@ -35,7 +35,7 @@ ___
type: 'u32'
})
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L59)*
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L59)*
___
<a id="code"></a>
@@ -47,7 +47,7 @@ ___
type: 'Bytes'
})
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L34)*
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L34)*
___
<a id="extrinsicindex"></a>
@@ -59,7 +59,7 @@ ___
type: 'u32'
})
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L54)*
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L54)*
___
<a id="heappages"></a>
@@ -71,7 +71,7 @@ ___
type: 'u64'
})
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/substrate.ts#L39)*
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/substrate.ts#L39)*
___
@@ -1,5 +1,17 @@
# Index
### Interfaces
* [CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md)
### Functions
* [createFunction](_utils_createfunction_.md#createfunction)
---
# Functions
<a id="createfunction"></a>
@@ -8,7 +20,7 @@
▸ **createFunction**(section: *`Text`*, method: *`Text`*, meta: *`StorageFunctionMetadata`*, options?: *[CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md)*): `StorageFunction`
*Defined in [utils/createFunction.ts:28](https://github.com/polkadot-js/api/blob/0c23615/packages/type-storage/src/utils/createFunction.ts#L28)*
*Defined in [utils/createFunction.ts:28](https://github.com/polkadot-js/api/blob/eb143b3/packages/type-storage/src/utils/createFunction.ts#L28)*
From the schema of a function in the module's storage, generate the function that will return the correct storage key.
@@ -19,7 +31,7 @@ From the schema of a function in the module's storage, generate the function tha
| section | `Text` | - |
| method | `Text` | - |
| meta | `StorageFunctionMetadata` | - |
| `Default value` options | [CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md) | {} | Additional options when creating the function. These options are not known at runtime (from state_getMetadata), they need to be supplied by us manually at compile time. |
| `Default value` options | [CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md) | {} | Additional options when creating the function. These options are not known at runtime (from state\_getMetadata), they need to be supplied by us manually at compile time. |
**Returns:** `StorageFunction`