Skip to content

feat(Grants): Implement Nodl Grants on ZkSync - #44

Merged
aliXsed merged 5 commits into
mainfrom
aliX/grants
Jul 22, 2024
Merged

aliXsed merged 5 commits into
mainfrom
aliX/grants

Conversation

@aliXsed

@aliXsed aliXsed commented Jul 19, 2024 •

Copy link
Copy Markdown
Collaborator

Implement this contract to present similar but improved logic compared with pallet-grants on Eden parachain. Here is a couple of differences:

  1. No admin or high level access is required. In pallet-grants the governance could cancel grants for anyone (not renounced) but this was too much unwarranted power. This contract allows any vesters to cancel their unvested grants if they have not renounced this authority towards a specific address.
  2. Instead of unfriendly block numbers, here we use time stamps.
  3. This contract would work with any standard Erc20 token and not just Nodl.
  • Add more tests to cover all the errors and events.
  • Add docs

@aliXsed
aliXsed marked this pull request as ready for review July 19, 2024 06:24
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