@wagmi/cli
Version:
Manage and generate code from Ethereum ABIs
14 lines • 560 B
TypeScript
import type { Plugin } from '../config.js';
import type { Compute, RequiredBy } from '../types.js';
export type ActionsConfig = {
getActionName?: 'legacy' | ((options: {
contractName: string;
itemName?: string | undefined;
type: 'read' | 'simulate' | 'watch' | 'write';
}) => string);
overridePackageName?: '@wagmi/core' | 'wagmi' | undefined;
};
type ActionsResult = Compute<RequiredBy<Plugin, 'run'>>;
export declare function actions(config?: ActionsConfig): ActionsResult;
export {};
//# sourceMappingURL=actions.d.ts.map