Add unit denomination `gwei`

This commit is contained in:
Mathias Baumann
2020-06-24 18:24:56 +02:00
parent 062a999e85
commit 02328f3bbb
16 changed files with 58 additions and 9 deletions
@@ -0,0 +1,10 @@
contract C {
uint constant gwei = 1 gwei;
function f() public view returns(uint) { return gwei; }
}
// ====
// compileViaYul: also
// ----
// f() -> 1000000000