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');
|
package/dist/utils/erc20.js
CHANGED
|
@@ -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 使用
|
|
303
|
-
BSC: ADDRESSES.BSC.
|
|
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
|