Use named arguments in mapping types (#4433)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Ernesto García
2023-08-08 19:48:56 -06:00
committed by GitHub
parent 48b860124c
commit cb0ffefe2f
29 changed files with 48 additions and 60 deletions

View File

@ -37,7 +37,7 @@ contract VestingWallet is Context, Ownable {
error VestingWalletInvalidBeneficiary(address beneficiary);
uint256 private _released;
mapping(address => uint256) private _erc20Released;
mapping(address token => uint256) private _erc20Released;
uint64 private immutable _start;
uint64 private immutable _duration;