diff options
author | Gav Wood <i@gavwood.com> | 2015-02-15 08:00:09 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-02-15 08:00:09 +0800 |
commit | f27ecde2566fd43bb10e73d82be530478fa6aee1 (patch) | |
tree | 744aece34bd981ccf69696623b97e09ed8507548 /CompilerStack.cpp | |
parent | 41647fd75f3c131ecade223fc58a1f6eed2ee235 (diff) | |
download | dexon-solidity-f27ecde2566fd43bb10e73d82be530478fa6aee1.tar.gz dexon-solidity-f27ecde2566fd43bb10e73d82be530478fa6aee1.tar.zst dexon-solidity-f27ecde2566fd43bb10e73d82be530478fa6aee1.zip |
Working, albeit slowly, non-NatSpec transaction confirmations.
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r-- | CompilerStack.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp index 762edb52..ca9c75bc 100644 --- a/CompilerStack.cpp +++ b/CompilerStack.cpp @@ -333,6 +333,11 @@ void CompilerStack::resolveImports() swap(m_sourceOrder, sourceOrder); } +std::string CompilerStack::defaultContractName() const +{ + return getContract("").contract->getName(); +} + CompilerStack::Contract const& CompilerStack::getContract(string const& _contractName) const { if (m_contracts.empty()) |