aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-14 01:12:19 +0800
committerChristian <c@ethdev.com>2015-01-14 01:12:30 +0800
commitb440d7e321793e0b053d3b467934a45f880863e0 (patch)
tree9144aea74cfd5c67188bd9a75ba9fb1673c0e0b1 /Types.h
parentec022783c4ba2a319ce60dc818e4f0e0e8872093 (diff)
downloaddexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.tar.gz
dexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.tar.zst
dexon-solidity-b440d7e321793e0b053d3b467934a45f880863e0.zip
Specify value for contract creation.
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Types.h b/Types.h
index 2060987c..c0ffe864 100644
--- a/Types.h
+++ b/Types.h
@@ -291,6 +291,8 @@ public:
virtual MemberList const& getMembers() const override;
+ ContractDefinition const& getContractDefinition() const { return m_contract; }
+
/// Returns the function type of the constructor. Note that the location part of the function type
/// is not used, as this type cannot be the type of a variable or expression.
std::shared_ptr<FunctionType const> const& getConstructorType() const;
@@ -348,7 +350,7 @@ public:
/// INTERNAL: jump tag, EXTERNAL: contract address + function identifier,
/// BARE: contract address (non-abi contract call)
/// OTHERS: special virtual function, nothing on the stack
- enum class Location { INTERNAL, EXTERNAL, SEND,
+ enum class Location { INTERNAL, EXTERNAL, CREATION, SEND,
SHA3, SUICIDE,
ECRECOVER, SHA256, RIPEMD160,
LOG0, LOG1, LOG2, LOG3, LOG4,