Skip to content

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

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

feat(Grants): Implement Nodl Grants on ZkSync#44
aliXsed merged 5 commits intomainfrom
aliX/grants

Conversation

@aliXsed
Copy link
Collaborator

@aliXsed aliXsed commented Jul 19, 2024

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
@aliXsed aliXsed merged commit 4554caa into main Jul 22, 2024
@aliXsed aliXsed deleted the aliX/grants branch July 22, 2024 20:58
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