[CI Skip] 0.31.1

This commit is contained in:
Travis CI
2018-10-10 08:05:35 +00:00
parent 4344f33de8
commit af10c69d2b
211 changed files with 7990 additions and 2245 deletions
@@ -0,0 +1,24 @@
# Functions
<a id="frommetadata"></a>
## fromMetadata
▸ **fromMetadata**(metadata: *`Metadata`*): [Extrinsics](../interfaces/_types_d_.extrinsics.md)
*Defined in [fromMetadata.ts:19](https://github.com/polkadot-js/api/blob/4344f33/packages/type-extrinsics/src/fromMetadata.ts#L19)*
Extend a storage object with the storage modules & module functions present in the metadata.
**Parameters:**
| Param | Type | Description |
| ------ | ------ | ------ |
| metadata | `Metadata` | The metadata to extend the storage object against. |
**Returns:** [Extrinsics](../interfaces/_types_d_.extrinsics.md)
___
+2
View File
@@ -0,0 +1,2 @@
+2
View File
@@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
@@ -0,0 +1,27 @@
# Functions
<a id="createdescriptor"></a>
## createDescriptor
▸ **createDescriptor**(section: *`string`*, method: *`string`*, index: *`number`*, meta: *`FunctionMetadata`*): [ExtrinsicFunction](../interfaces/_types_d_.extrinsicfunction.md)
*Defined in [utils/createUnchecked.ts:16](https://github.com/polkadot-js/api/blob/4344f33/packages/type-extrinsics/src/utils/createUnchecked.ts#L16)*
From the metadata of a function in the module's storage, generate the function that will return the an UncheckExtrinsic.
**Parameters:**
| Param | Type | Description |
| ------ | ------ | ------ |
| section | `string` |
| method | `string` |
| index | `number` | Index of the module section in the modules array. |
| meta | `FunctionMetadata` |
**Returns:** [ExtrinsicFunction](../interfaces/_types_d_.extrinsicfunction.md)
___