Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for an ERC20 batch transfer contract ABI so the library can load/encode/decode calls against that contract similarly to the existing consensus, multipayment, and usernames ABIs.
Changes:
- Introduced a new
ContractAbiType::ERC20BATCH_TRANSFERenum case. - Wired the new ABI type to a JSON artifact path in
AbiBase. - Added
Abi.ERC20BatchTransfer.jsonartifact containing the ABI definition.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/Utils/AbiBase.php |
Maps the new ABI enum case to the new ABI JSON file path. |
src/Utils/Abi/json/Abi.ERC20BatchTransfer.json |
Adds the ERC20 batch transfer ABI artifact used by encoder/decoder. |
src/Enums/ContractAbiType.php |
Adds the new ABI type enum value used throughout the ABI utilities. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/php-crypto into feat/add-batch-transfer-abi
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://app.clickup.com/t/86e00vrjk
Checklist