Expose contract.{query, tx}.method.meta (#4485)

This commit is contained in:
Jaco
2022-01-21 13:40:21 +02:00
committed by GitHub
parent b986d4cb5d
commit f5ce395371
5 changed files with 27 additions and 12 deletions
+1
View File
@@ -205,6 +205,7 @@ export class Abi {
identifier,
index,
method: stringCamelCase(identifier),
path: identifier.split('::').map((s) => stringCamelCase(s)),
selector: spec.selector,
toU8a: (params: unknown[]) =>
this.#encodeArgs(spec, args, params)