aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CommonData.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-25 18:44:28 +0800
committerGitHub <noreply@github.com>2018-10-25 18:44:28 +0800
commitf714b0dd7c0b48ea2b93855e1cda9d1101b3f35c (patch)
treec207622e955dba0a4a9839dc42bbba7d9b86a329 /libdevcore/CommonData.h
parent4076875927b279342dacf690f86bfc16af03dd67 (diff)
parenta9a414bd0f6ba89bfd719ea6b6c8501861e0ece6 (diff)
downloaddexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar.gz
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar.bz2
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar.lz
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar.xz
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.tar.zst
dexon-solidity-f714b0dd7c0b48ea2b93855e1cda9d1101b3f35c.zip
Merge pull request #5242 from ethereum/someChecks
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);
+
}