four-flap-meme-sdk 1.4.26 → 1.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis/common.js +4 -3
- package/package.json +1 -1
package/dist/abis/common.js
CHANGED
|
@@ -32,9 +32,10 @@ export const ERC20_ALLOWANCE_ABI = [
|
|
|
32
32
|
// Multicall3 ABI
|
|
33
33
|
// ============================================================================
|
|
34
34
|
export const MULTICALL3_ABI = [
|
|
35
|
-
|
|
36
|
-
'function
|
|
37
|
-
'function
|
|
35
|
+
// ✅ 标记为 view,确保 ethers.js v6 使用 call 而不是 sendTransaction
|
|
36
|
+
'function aggregate3(tuple(address target, bool allowFailure, bytes callData)[] calls) view returns (tuple(bool success, bytes returnData)[])',
|
|
37
|
+
'function aggregate(tuple(address target, bytes callData)[] calls) view returns (uint256 blockNumber, bytes[] returnData)',
|
|
38
|
+
'function getEthBalance(address addr) view returns (uint256 balance)',
|
|
38
39
|
];
|
|
39
40
|
// ============================================================================
|
|
40
41
|
// PancakeSwap / Uniswap V2 Router ABI
|