@fuel-ts/abi-typegen
Version:
Generates Typescript definitions from Sway ABI Json files
20 lines • 534 B
TypeScript
import type { JsonAbiType } from './JsonAbi';
export interface ITypeAttributes {
inputLabel: string;
outputLabel: string;
structName?: string;
}
export interface IType {
name: string;
attributes: ITypeAttributes;
rawAbiType: JsonAbiType;
requiredFuelsMembersImports: string[];
parseComponentsAttributes(params: {
types: IType[];
}): ITypeAttributes;
getStructName?(): string;
getStructContents?(params: {
types: IType[];
}): string;
}
//# sourceMappingURL=IType.d.ts.map