Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TokenGrant contract: vesting schedule and withdrawable amount #4

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pdyraga
Copy link
Member

@pdyraga pdyraga commented Jul 26, 2021

Refs #1
Depends on #3

This is the first PR in the series of PRs implementing the Token Grant contract for T.

Token Grant releases its token balance gradually to the grantee based on the vesting
schedule with a cliff and vesting period. This PR implements a grant vesting schedule
with withdraw, withdrawableAmount, and unlockedAmount functions.

The remaining functionalities of TokenGrant contract, as listed in TokenGrant.sol will
be implemented in separate PRs.

@nkuba nkuba self-assigned this Jul 27, 2021
This function is not yet implemented for real so we should not worry
about this check.
Base automatically changed from vending-machine to main August 16, 2021 15:42
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