diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-03-24 01:08:45 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-25 20:59:46 +0800 |
commit | 701b34fbeb1bd08445aad55f82672d35343f5a44 (patch) | |
tree | c279a47bba724163fc3f5d78e5a8f1742be4e45e /InterfaceHandler.cpp | |
parent | e3ea90e997caf1d316252ad16ecb14c4d6163da5 (diff) | |
download | dexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.tar.gz dexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.tar.zst dexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.zip |
renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test
todo
testing
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r-- | InterfaceHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index 406d1e24..e09e55cb 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -129,7 +129,7 @@ std::unique_ptr<std::string> InterfaceHandler::getUserDocumentation(ContractDefi if (!m_notice.empty()) {// since @notice is the only user tag if missing function should not appear user["notice"] = Json::Value(m_notice); - methods[it.second->getCanonicalSignature()] = user; + methods[it.second->externalTypes()] = user; } } } @@ -185,7 +185,7 @@ std::unique_ptr<std::string> InterfaceHandler::getDevDocumentation(ContractDefin method["return"] = m_return; if (!method.empty()) // add the function, only if we have any documentation to add - methods[it.second->getCanonicalSignature()] = method; + methods[it.second->externalTypes()] = method; } } doc["methods"] = methods; |