Closed gakonst closed 2 years ago
As-is, the code will not work with any version after 0.7.0 (inclusive).
>=0.7.0
now
block.timestamp
>=0.8.0
type conversion from "int_const -1" to "uint256"
type(uint256).max
type conversion from int_const 0" to "contract DSAuthority"
thanks!
As-is, the code will not work with any version after 0.7.0 (inclusive).
>=0.7.0
errors due to usage ofnow
which has been deprecated in favor ofblock.timestamp
>=0.8.0
errors due to:type conversion from "int_const -1" to "uint256"
, which can be replaced withtype(uint256).max
type conversion from int_const 0" to "contract DSAuthority"