contract C { function f() public { a = 1 wei; b = 2 ether; c = 3 gwei; } uint256 a; uint256 b; uint256 c; } // ----