aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-31 05:52:15 +0800
committerChristian <c@ethdev.com>2014-10-31 21:37:23 +0800
commita36db1f2412d700cc8b32f8331be103c73ea90cb (patch)
treeccbf14d061fcbae162d361eaeaeffb036e50d743 /Compiler.h
parentcb9cb48dc78240717cd4842e75c9314778ebcb10 (diff)
downloaddexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.gz
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.bz2
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.lz
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.xz
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.zst
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.zip
Actual contract creator and add solidity to AlethZero interface.
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Compiler.h b/Compiler.h
index ebd78665..d10374a9 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -40,6 +40,8 @@ public:
static bytes compile(ContractDefinition& _contract);
private:
+ /// Creates a new compiler context / assembly and packs the current code into the data part.
+ void packIntoContractCreator();
void appendFunctionSelector(std::vector<ASTPointer<FunctionDefinition> > const& _functions);
void appendFunctionCallSection(FunctionDefinition const& _function);
void appendCalldataUnpacker(FunctionDefinition const& _function);