MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / withPrefix

Function withPrefix

packages/ethereum-viewer/src/openContractSource.ts:105–106  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

103 }
104
105 const withPrefix = (file: string) =>
106 options.prefix ? options.prefix + file : file;
107
108 let entries = Object.entries(result.files);
109 const mainFile = getMainContractFile(entries, result.info);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected