ethers.js/packages/testcases/generation/lib/abi-test.d.ts
2020-10-18 23:19:16 -04:00

15 lines
429 B
TypeScript

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;
}