Closed Ro5s closed 3 years ago
this PR makes DOMAIN_SEPARATOR a public view function per EIP-2612 by:
permit()
constructor()
DOMAIN_SEPARATOR()
IERC2612
WETH10
bytes32 public override immutable DOMAIN_SEPARATOR;
this PR addresses this issue: https://github.com/WETH10/WETH10/issues/89
further, syntax and other formatting details have been reviewed and conformed to aide clarity.
great stuff. thank you everyone for reviewing and getting this PR closed quick!
this PR makes DOMAIN_SEPARATOR a public view function per EIP-2612 by:
permit()
function into a newconstructor()
DOMAIN_SEPARATOR()
intoIERC2612
.solDOMAIN_SEPARATOR()
intoWETH10
.sol as:bytes32 public override immutable DOMAIN_SEPARATOR;
this PR addresses this issue: https://github.com/WETH10/WETH10/issues/89
further, syntax and other formatting details have been reviewed and conformed to aide clarity.