diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-07 23:39:21 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-07 23:39:21 +0800 |
commit | c55608f94b834d5286c4b638dd4daa77cf406807 (patch) | |
tree | fb60c5c2a916e8fa1b4e06915bd233f81cb8bd08 /AST.h | |
parent | df0dce584d2d1aacf3d33658b0540f243b3adb81 (diff) | |
download | dexon-solidity-c55608f94b834d5286c4b638dd4daa77cf406807.tar.gz dexon-solidity-c55608f94b834d5286c4b638dd4daa77cf406807.tar.zst dexon-solidity-c55608f94b834d5286c4b638dd4daa77cf406807.zip |
Solidity getInterfaceFunctions is now a map of hash to Function
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -183,8 +183,9 @@ public: /// Can contain a nullptr in which case indicates absence of documentation ASTPointer<ASTString> const& getDocumentation() const { return m_documentation; } - /// Returns the functions that make up the calling interface in the intended order. - std::vector<FunctionDefinition const*> getInterfaceFunctions() const; + /// @returns a map of canonical function signatures to FunctionDefinitions + /// as intended for use by the ABI. + std::map<FixedHash<4>, FunctionDefinition const*> getInterfaceFunctions() const; /// Returns the constructor or nullptr if no constructor was specified FunctionDefinition const* getConstructor() const; |