@m3s/smart-contract
Version:
A modular toolkit for generating, compiling, deploying, and interacting with Ethereum-compatible smart contracts
12 lines • 649 B
TypeScript
import { IBaseContractHandler, SmartContractAdapterOptions } from './types/index.js';
import { ModuleArguments } from '@m3s/common';
import './adapters/index.js';
export * from './types/index.js';
export type { IOpenZeppelinAdapterOptionsV1 } from './adapters/index.js';
export interface IContractOptions extends ModuleArguments<string, SmartContractAdapterOptions> {
}
/**
* Creates and returns a contract handler adapter instance based on the provided configuration.
*/
export declare function createContractHandler<T extends IBaseContractHandler = IBaseContractHandler>(params: IContractOptions): Promise<T>;
//# sourceMappingURL=index.d.ts.map