We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f08bbf9 commit 0967885Copy full SHA for 0967885
src/api/bytecode/EVMDisassembler.ts
@@ -17,6 +17,9 @@ export class EVMDisassembler implements Disassembler {
17
constructor() {}
18
19
disassembleSourceCode(contractName: string, source: string, path: string): DisassembledContract {
20
+ if (source.startsWith('0x')) {
21
+ return this.disassembleContract(source)
22
+ }
23
const compileJson = this.generateCompileObject(contractName, source, path)
24
const compiledContract = JSON.parse(solc.compileStandardWrapper(JSON.stringify(compileJson)))
25
const contractWithExt = `${contractName}.sol`
0 commit comments