From 98496bc48ec23ce0d9c21d3c6c87e5b1b796a610 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 1 Feb 2024 01:59:31 -0500 Subject: [PATCH] Expand Contract sub-class to accept BaseContract super-class constructor arguments (#4538). --- src.ts/contract/contract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/contract/contract.ts b/src.ts/contract/contract.ts index 2370602a41..b0595fc9d8 100644 --- a/src.ts/contract/contract.ts +++ b/src.ts/contract/contract.ts @@ -1110,7 +1110,7 @@ export class BaseContract implements Addressable, EventEmitterable BaseContract & Omit { +function _ContractBase(): new (target: string | Addressable, abi: Interface | InterfaceAbi, runner?: null | ContractRunner) => BaseContract & Omit { return BaseContract as any; }