Skip to content

Conversation

@0xleal
Copy link
Member

@0xleal 0xleal commented Sep 30, 2025

Note

Introduce MultiSendErc20 contract for batch ERC20 transfers with tests and minor tooling updates.

  • Contracts:
    • Add contracts/utils/MultiSendErc20.sol providing ERC20 batch transfers:
      • multisendERC20 (pull total once, SafeERC20), multisendERC20From (per-recipient transferFrom), multisendERC20Unsafe (raw calls).
      • Enforce ARRAY_LIMIT = 200, custom errors (MismatchedArrays, ArrayLengthExceedsLimit), and Multisended event.
  • Tests:
    • Add test/contracts/utils/MultiSendErc20.ts covering success, validation, and gas logging for all methods.
    • Export artifact in test/shared/artifacts.ts for MultiSendErc20.
  • Tooling:
    • Add yarn 1.22.19 to .tool-versions.
    • Include @nomicfoundation/hardhat-chai-matchers in hardhat.config.ts imports.

Written by Cursor Bugbot for commit c10c4ea. This will update automatically on new commits. Configure here.

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