Skip to content

feat: add batch transfer abi#190

Open
alexbarnsley wants to merge 5 commits intofeat/mainsailfrom
feat/add-batch-transfer-abi
Open

feat: add batch transfer abi#190
alexbarnsley wants to merge 5 commits intofeat/mainsailfrom
feat/add-batch-transfer-abi

Conversation

@alexbarnsley
Copy link
Member

Summary

https://app.clickup.com/t/86e00vrjk

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

Copilot AI review requested due to automatic review settings March 5, 2026 11:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_TRANSFER enum case.
  • Wired the new ABI type to a JSON artifact path in AbiBase.
  • Added Abi.ERC20BatchTransfer.json artifact 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.

alexbarnsley and others added 3 commits March 5, 2026 14:04
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/php-crypto into feat/add-batch-transfer-abi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants