aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-04-02 21:10:35 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-04-17 21:27:31 +0800
commitd997dc55d154c93af01175d880734b9e737d34ca (patch)
tree3e08f516eb4fdb499223e681b93fd86504558589 /CompilerStack.h
parent6e5de4832da7a3c2fdbc87b71523ac671083d9c0 (diff)
downloaddexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.tar.gz
dexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.tar.zst
dexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.zip
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its arguments - IF a contract is abstract make sure to not create and/or request Assembly code about it since it's not compiled
Diffstat (limited to 'CompilerStack.h')
-rw-r--r--CompilerStack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CompilerStack.h b/CompilerStack.h
index 1cf576ab..19c1ba4e 100644
--- a/CompilerStack.h
+++ b/CompilerStack.h
@@ -94,9 +94,9 @@ public:
/// @returns the runtime bytecode for the contract, i.e. the code that is returned by the constructor.
bytes const& getRuntimeBytecode(std::string const& _contractName = "") const;
/// @returns normal contract assembly items
- eth::AssemblyItems const& getAssemblyItems(std::string const& _contractName = "") const;
+ eth::AssemblyItems const* getAssemblyItems(std::string const& _contractName = "") const;
/// @returns runtime contract assembly items
- eth::AssemblyItems const& getRuntimeAssemblyItems(std::string const& _contractName = "") const;
+ eth::AssemblyItems const* getRuntimeAssemblyItems(std::string const& _contractName = "") const;
/// @returns hash of the runtime bytecode for the contract, i.e. the code that is returned by the constructor.
dev::h256 getContractCodeHash(std::string const& _contractName = "") const;