Skip to content

Comments

Vesting with inclusion of Cliff duration#101

Open
MisterDefender wants to merge 5 commits intoAbdelStark:mainfrom
MisterDefender:vesting-with-cliff
Open

Vesting with inclusion of Cliff duration#101
MisterDefender wants to merge 5 commits intoAbdelStark:mainfrom
MisterDefender:vesting-with-cliff

Conversation

@MisterDefender
Copy link

@MisterDefender MisterDefender commented Jul 1, 2024

This PR contains Fix for inclusion of cliff duration in complete vesting duration.

Use unchecked block: unchecked for arithmetic operations can save gas by skipping overflow checks. Since we are just incrementing a count, and assuming the vesting count will not reach near the uint256 limit, you can safely use unchecked.

@AbdelStark
Copy link
Owner

Thanks for the PR, can you please remove README modifications specific to your fork ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants