-
Notifications
You must be signed in to change notification settings - Fork 11
feat: add hedgey shortcut for claiming #278
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
Conversation
jeanregisser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Would it be possible to add an e2e test for the shortcut? Just to check we can get the full definition.
src/apps/hedgey/positions.ts
Outdated
| tokens: [{ address: tokenAddress, network }], | ||
| tokens: [{ address: tokenAddress, network, category: 'claimable' }], | ||
| availableShortcutIds: [ | ||
| `${planNft.contractAddress},${planNft.tokenId}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I like using : in more semantic IDs
| `${planNft.contractAddress},${planNft.tokenId}`, | |
| `${planNft.contractAddress}:${planNft.tokenId}`, |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #278 +/- ##
==========================================
+ Coverage 92.81% 92.98% +0.16%
==========================================
Files 35 36 +1
Lines 668 684 +16
Branches 65 66 +1
==========================================
+ Hits 620 636 +16
Misses 45 45
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
jeanregisser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
No description provided.