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.
@@ -32,9 +32,10 @@ export const ERC20_ALLOWANCE_ABI = [
32
32
  // Multicall3 ABI
33
33
  // ============================================================================
34
34
  export const MULTICALL3_ABI = [
35
- 'function aggregate3(tuple(address target, bool allowFailure, bytes callData)[] calls) external payable returns (tuple(bool success, bytes returnData)[])',
36
- 'function aggregate(tuple(address target, bytes callData)[] calls) public returns (uint256 blockNumber, bytes[] returnData)',
37
- 'function getEthBalance(address addr) public view returns (uint256 balance)',
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",