ethers.js/packages/testcases/generation/lib/abi-test.d.ts

15 lines
429 B
TypeScript
Raw Permalink Normal View History

2020-10-18 23:19:16 -04:00
import { AbstractTest } from "./test";
export interface AbiType {
name: string;
type: string;
struct?: string;
components?: Array<AbiType>;
create(): any;
}
export declare abstract class AbstractAbiTest<T = any> extends AbstractTest<T> {
_nextNames: Record<string, number>;
constructor(name: string);
nextName(prefix?: string): string;
randomType(dynamicOrType?: boolean | string): AbiType;
}