Skip to content

Commit fe79249

Browse files
committed
feat: create utility
1 parent 41c95a1 commit fe79249

File tree

14 files changed

+1928
-7
lines changed

14 files changed

+1928
-7
lines changed

packages/assets-controller/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Initial release ([#7587](https://github.com/MetaMask/core/pull/7587))
13+
- Add `MulticallClient` for batching RPC calls using Multicall3 contract ([#7677](https://github.com/MetaMask/core/pull/7677))
14+
- Add batch utilities (`divideIntoBatches`, `reduceInBatchesSerially`) for processing arrays in batches ([#7677](https://github.com/MetaMask/core/pull/7677))
15+
- Add `viem` dependency for ABI encoding/decoding in MulticallClient
16+
17+
### Changed
18+
19+
- Refactor `MulticallClient` to use viem for ABI encoding/decoding instead of manual implementation
1320

1421
[Unreleased]: https://github.com/MetaMask/core/

packages/assets-controller/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
},
5050
"dependencies": {
5151
"@metamask/base-controller": "^9.0.0",
52-
"@metamask/messenger": "^0.3.0"
52+
"@metamask/messenger": "^0.3.0",
53+
"viem": "^2.44.4"
5354
},
5455
"devDependencies": {
5556
"@metamask/auto-changelog": "^3.4.4",

0 commit comments

Comments
 (0)