From f7b3fc58bc24decc37f7c64b15573a5ec90e1ceb Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 29 Jun 2018 11:48:18 +0300 Subject: Add assertions for txOpts and methodOpts --- packages/contract-wrappers/src/schemas/method_opts_schema.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packages/contract-wrappers/src/schemas/method_opts_schema.ts (limited to 'packages/contract-wrappers/src/schemas/method_opts_schema.ts') diff --git a/packages/contract-wrappers/src/schemas/method_opts_schema.ts b/packages/contract-wrappers/src/schemas/method_opts_schema.ts new file mode 100644 index 000000000..ef434070a --- /dev/null +++ b/packages/contract-wrappers/src/schemas/method_opts_schema.ts @@ -0,0 +1,7 @@ +export const methodOptsSchema = { + id: '/MethodOpts', + properties: { + defaultBlock: { $ref: '/BlockParam' }, + }, + type: 'object', +}; -- cgit v1.2.3