aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CommonData.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-16 23:58:17 +0800
committerchriseth <chris@ethereum.org>2018-10-22 21:52:26 +0800
commit19be6cd818e4bb1a49325d8bfea7f7727d85c933 (patch)
treefae4f0c8bb4ca4c32ede677466a6a8cfc2965fee /libdevcore/CommonData.h
parentc13b5280c1b44f18a2a1fb61ef5556e91c5678e7 (diff)
downloaddexon-solidity-19be6cd818e4bb1a49325d8bfea7f7727d85c933.tar.gz
dexon-solidity-19be6cd818e4bb1a49325d8bfea7f7727d85c933.tar.zst
dexon-solidity-19be6cd818e4bb1a49325d8bfea7f7727d85c933.zip
Some well-formedness checks for the Yul AST.
Diffstat (limited to 'libdevcore/CommonData.h')
-rw-r--r--libdevcore/CommonData.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdevcore/CommonData.h b/libdevcore/CommonData.h
index f208c425..0782fabc 100644
--- a/libdevcore/CommonData.h
+++ b/libdevcore/CommonData.h
@@ -272,4 +272,7 @@ bool passesAddressChecksum(std::string const& _str, bool _strict);
/// @param hex strings that look like an address
std::string getChecksummedAddress(std::string const& _addr);
+bool isValidHex(std::string const& _string);
+bool isValidDecimal(std::string const& _string);
+
}