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

15 lines
429 B
TypeScript
Raw Normal View History

2020-10-19 06:19:16 +03: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;
}