four-flap-meme-sdk 1.4.63 → 1.4.64

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.
@@ -5,7 +5,7 @@
5
5
  */
6
6
  /** 完整 ERC20 ABI */
7
7
  export declare const ERC20_ABI: string[];
8
- /** 精简 ERC20 ABI(只有余额查询) */
8
+ /** 精简 ERC20 ABI(余额查询 + decimals) */
9
9
  export declare const ERC20_BALANCE_ABI: string[];
10
10
  /** ERC20 授权相关 ABI */
11
11
  export declare const ERC20_ALLOWANCE_ABI: string[];
@@ -18,9 +18,10 @@ export const ERC20_ABI = [
18
18
  'function transfer(address to, uint256 amount) external returns (bool)',
19
19
  'function transferFrom(address from, address to, uint256 amount) external returns (bool)',
20
20
  ];
21
- /** 精简 ERC20 ABI(只有余额查询) */
21
+ /** 精简 ERC20 ABI(余额查询 + decimals) */
22
22
  export const ERC20_BALANCE_ABI = [
23
23
  'function balanceOf(address account) external view returns (uint256)',
24
+ 'function decimals() external view returns (uint8)',
24
25
  ];
25
26
  /** ERC20 授权相关 ABI */
26
27
  export const ERC20_ALLOWANCE_ABI = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.4.63",
3
+ "version": "1.4.64",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",