Add method name & prefix to StorageFunction (#182)

* Add methods & prefix to StorageFunction

* Match method/section to exposed names

* Export method/section on extrinsic & jsonrpc

* PR comment prefix -> section
This commit is contained in:
Jaco Greeff
2018-10-02 11:10:17 +02:00
committed by GitHub
parent 92d72d0007
commit 2f60ba0e1c
12 changed files with 38 additions and 26 deletions
+2
View File
@@ -14,6 +14,8 @@ import { StorageFunctionMetadata } from './Metadata';
export interface StorageFunction {
(arg?: any): Uint8Array;
meta: StorageFunctionMetadata;
method: string;
section: string;
toJSON: () => any;
}