2020-06-18 15:09:24 +00:00
|
|
|
contract C {
|
2020-07-08 18:35:02 +00:00
|
|
|
uint constant x = 1 gwei;
|
2020-06-18 15:09:24 +00:00
|
|
|
|
2020-07-08 18:35:02 +00:00
|
|
|
function f() public view returns(uint) { return x; }
|
2020-06-18 15:09:24 +00:00
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// f() -> 1000000000
|