-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Update docs for claimTo extensions #4849
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
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4849 +/- ##
=======================================
Coverage 47.59% 47.60%
=======================================
Files 1054 1054
Lines 57136 57136
Branches 3914 3916 +2
=======================================
+ Hits 27195 27197 +2
+ Misses 29253 29251 -2
Partials 688 688
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR enhances the documentation for the `claimTo` function across the `ERC1155`, `ERC20`, and `ERC721` extensions by adding usage examples for drops with allowlists, emphasizing the need to specify the claimer address.
### Detailed summary
- Added a "### Basic usage" section to the documentation for `claimTo` in all three extensions.
- Introduced a "### For Drops with allowlists" section explaining the need for the `from` parameter.
- Provided code examples for using `claimTo` with allowlists in `ERC1155`, `ERC20`, and `ERC721`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
3844855 to
96daa26
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR enhances the documentation for the
claimTofunction across three extensions:ERC1155,ERC20, andERC721. It adds examples for basic usage and includes specific guidance for handling drops with allowlists.Detailed summary
claimToinERC1155,ERC20, andERC721.fromparameter.claimTofunction with thefromparameter in all three extensions.