|
|
|
@ -39,6 +39,7 @@ export default class gasCosts implements AnalyzerModule { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
for (const method of methodsWithSignature) { |
|
|
|
|
for (const filename in compilationResults.contracts) { |
|
|
|
|
for (const contractName in compilationResults.contracts[filename]) { |
|
|
|
|
const contract = compilationResults.contracts[filename][contractName] |
|
|
|
|
const methodGas: any = this.checkMethodGas(contract, method.signature) |
|
|
|
@ -59,6 +60,7 @@ export default class gasCosts implements AnalyzerModule { |
|
|
|
|
} else continue |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return report |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|