-
Notifications
You must be signed in to change notification settings - Fork 153
sc-payments update #1177
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
sc-payments update #1177
Conversation
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.
Pull request overview
This pull request updates the smart contract payments API documentation to reflect the new unified payment handling model introduced in recent framework versions. The update replaces legacy EGLD/ESDT separation patterns with a unified Payment type approach.
Changes:
- Updated to reflect that EGLD and ESDT can now be sent together (since Spica release)
- Added comprehensive documentation for new payment types (
Payment<A>,PaymentVec<A>) - Documented new call value methods (
all(),single(),single_optional(),array()) - Moved old payment methods to a "Legacy" section with deprecation notes
- Fixed spelling error: "extrernally" → "externally"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description of the pull request (what is new / what has changed)
Updated the call value payments API docs with the new functions and objects.
Did you test the changes locally ?
Which category (categories) does this pull request belong to?