Provides a context for creating contracts and registering created contract instances with test execution context.
Creates a new contract instance and register the created instance with test execution context.
Type of contract extending BaseContract
The contract class constructor
Constructor arguments for the contract
Proxied instance of the contract
const ctx = new TestExecutionContext();const contract = ctx.contract.create(MyContract); Copy
const ctx = new TestExecutionContext();const contract = ctx.contract.create(MyContract);
Provides a context for creating contracts and registering created contract instances with test execution context.