four-flap-meme-sdk 1.4.50 → 1.4.52

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.
@@ -13,8 +13,6 @@ import { TM2_ABI as _TM2_ABI } from '../../abis/common.js';
13
13
  const TM2_ABI = [
14
14
  ..._TM2_ABI,
15
15
  'function createToken(bytes args, bytes signature) payable',
16
- 'function buyTokenAMAP(uint256 origin, address token, address to, uint256 funds, uint256 minAmount) payable',
17
- 'function sellToken(uint256 origin, address token, uint256 amount, uint256 minFunds)',
18
16
  'event TokenCreate(address indexed creator, address indexed token, uint256 timestamp)'
19
17
  ];
20
18
  const PLATFORM_CREATE_FEE = ethers.parseEther('0.01');
@@ -299,8 +299,8 @@ function resolveSpenderAddress(chain, platform) {
299
299
  MONAD: ADDRESSES.MONAD.FlapPortal, // ✅ Monad Flap Portal
300
300
  },
301
301
  four: {
302
- // Four.meme 使用 TokenManagerV2Proxy(默认)
303
- BSC: ADDRESSES.BSC.TokenManagerV2Proxy,
302
+ // Four.meme 使用 TokenManagerOriginal(买卖交易实际使用的合约)
303
+ BSC: ADDRESSES.BSC.TokenManagerOriginal,
304
304
  BASE: ADDRESSES.BASE.TokenManagerHelper3,
305
305
  XLAYER: ZERO_ADDRESS, // XLAYER 暂不支持 Four.meme
306
306
  MORPH: ZERO_ADDRESS, // MORPH 暂不支持 Four.meme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.4.50",
3
+ "version": "1.4.52",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",