expose runtimeBytecode

This commit is contained in:
Aakil Fernandes 2015-10-16 13:07:28 -04:00 committed by Aakil Fernandes
parent 83520affa3
commit 171fefbda1
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ Compiler.prototype.compile_solidity = function(contractFiles) {
compiled_object[className] = {};
compiled_object[className].code = contract.bytecode;
compiled_object[className].runtimeBytecode = contract.runtimeBytecode;
compiled_object[className].info = {};
compiled_object[className].info.abiDefinition = JSON.parse(contract.interface);
}