solidity/test/libsolidity/syntaxTests/denominations/denominations.sol
2020-07-13 18:07:10 +02:00

8 lines
250 B
Solidity

contract C {
uint constant a = 1 wei + 4 ether;
uint constant b = 1 seconds + 2 minutes + 3 hours + 4 days + 5 weeks;
uint constant c = 2 ether / 1 seconds + 3 gwei * 3 hours;
uint constant d = 2 gwei / 1 seconds + 3 minutes * 3 hours;
}
// ----