Skip to content

Commit

Permalink
oops. forgot some files
Browse files Browse the repository at this point in the history
  • Loading branch information
cd1m0 committed Oct 6, 2024
1 parent 36ee954 commit fcc3e70
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 396 deletions.
14 changes: 14 additions & 0 deletions src/artifacts/solc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,23 @@ export interface SourceDescription {
contents?: string;
}

export type RangeList = Array<{ start: number; length: number }>;

export interface LinkReferences {
[fileName: string]: {
[contractName: string]: RangeList;
};
}

export interface ImmutableReferences {
[number: string | number]: RangeList;
}

export interface PartialBytecodeDescription {
object: UnprefixedHexString;
sourceMap: string;
linkReferences?: LinkReferences;
immutableReferences?: ImmutableReferences;
generatedSources?: SourceDescription[];
}

Expand Down
Loading

0 comments on commit fcc3e70

Please sign in to comment.