-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
-
Currently the claim method doesnt call the UBI pool canClaim method.
This can result in a claim TX doing nothing, just wasting gas -
There should be a single method for a developer to check the wallet claim status
- not whitelisted - developer knows he still need to show the claim button that will redirect to get verified (or show a custom message)
- can claim (entitlement > 0) - developer knows to show claim button
- already claimed - developer knows to show timer or custom message
- consider have nextClaimTime to return 0 if wallet checkEntitlement > 0.
| const canClaim = await this.checkBalanceWithRetry() |
Metadata
Metadata
Assignees
Labels
No labels