I deployed liquidity for a Safemoon fork, but unsure if the automated liquidity fee is being added properly to the pool
Environment
Remix 0.6.12
Details
Hello everyone,
I have a question in regards to the liquidity fee in my Safemoon fork.
I have created the liquidity as per Tsushima’s instructions using Pancake testnet router, but when I do a test transaction, I see the Liquidity Fee is deducted but this is not reflected on the pool created in Pancake, is that normal? Shouldn’t we be able to see or track the liquidity fee and see it added in the pool? I want to make sure that the liquidity fee is actually transferred correctly, I’m not sure how I can verify that!
A % of transaction is taken as a fee and stored in the contract itself address(this). The contract balance is checked in _transfer with bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
So the contract’s balance is swapped and “liquified” only when it reaches the value given by numTokensSellToAddToLiquidity
@0f0crypto will I only see the LP happen automatically if I reach the threshold of numTokensSellToAddToLiquidity?
Do I still need create Liquidity manually on PancakeSwap? Currently this is what I see for my Safemoon fork? I’d hope it would trigger automatically from the contract.
You have to make the initial supply (which also sets the price); this has nothing to do with swapAndLiquify or numTokensSellToAddToLiquidity … other than that swapAndLiquify cannot function without liquidity
@0f0cryptoYou have to make the initial supply - Manually?
other than that swapAndLiquify cannot function without liquidity - I’ve added the liquidity manually and still don’t see Liquidity added to the contract after each transaction. i.e. I only see the Liquidity I added manually.
Where can I see the current Liquidity and all the new transactions that should be added to the liquidity contract?
@Moki_Bas were you able to find an answer and track the fees added to the admin LP tokens? I also created the initial liquidity. Made a bunch of transactions but don’t see any more LP balance added to the admin’s address.