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