This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Claim hooks pt 1 - useClaimCallback (#2041)
* Using the correct contract address * Refactored ClaimType from a type to an enum to align with contract * Added custom useClaimCallback * Replaced useClaimCallback with original version and commented it out * Updated mock claim data * Changed enum to const enum * Refactored types * Refatoring inner array types to re-use contract fn types And added comments * Refactoring getClaimedAmount helper fn Co-authored-by: Leandro Boscariol <[email protected]>
- Loading branch information
1 parent
52b416f
commit d2060bb
Showing
4 changed files
with
358 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.