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:
@@ -14,6 +14,8 @@ import { StorageFunctionMetadata } from './Metadata';
|
||||
export interface StorageFunction {
|
||||
(arg?: any): Uint8Array;
|
||||
meta: StorageFunctionMetadata;
|
||||
method: string;
|
||||
section: string;
|
||||
toJSON: () => any;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user