Merge pull request #6714 from ethereum/finishERC20

Finish ERC20
This commit is contained in:
chriseth
2019-05-13 10:00:38 +02:00
committed by GitHub
7 changed files with 172 additions and 28 deletions
+4
View File
@@ -86,6 +86,10 @@ public:
std::string overflowCheckedUIntAddFunction(size_t _bits);
/// @returns computes the difference between two values.
/// Assumes the input to be in range for the type.
std::string overflowCheckedUIntSubFunction();
std::string arrayLengthFunction(ArrayType const& _type);
/// @returns the name of a function that computes the number of bytes required
/// to store an array in memory given its length (internally encoded, not ABI encoded).