Improve VestingWallet's constructor and RSA.pkcs1Sha256 documentation (#5229)

This commit is contained in:
Hadrien Croubois
2024-09-27 07:48:15 +02:00
committed by GitHub
parent 057d35a9eb
commit ae753b7eac
3 changed files with 12 additions and 10 deletions

View File

@ -17,7 +17,8 @@ abstract contract VestingWalletCliff is VestingWallet {
error InvalidCliffDuration(uint64 cliffSeconds, uint64 durationSeconds);
/**
* @dev Set the start timestamp of the vesting wallet cliff.
* @dev Set the duration of the cliff, in seconds. The cliff starts vesting schedule (see {VestingWallet}'s
* constructor) and ends `cliffSeconds` later.
*/
constructor(uint64 cliffSeconds) {
if (cliffSeconds > duration()) {