Hey guys. I am writing a contract based on Safemoon, I want to add a minting function. It seems to work, but everything breaks down when I add liquidity on Pancake. Help me please)

Jun 6, 2021, 1:16 PM
solidity version 6.12
Jun 6, 2021, 1:21 PM
You know you can't mine an erc20 right?
Jun 6, 2021, 1:26 PM
I write on bep20
Jun 6, 2021, 1:26 PM
It's the same
But I see here you meant "mint"
Jun 6, 2021, 1:27 PM
So, I only want to add tokens after I deployed contract
Oh, sorry, yes minting, not mining
Jun 6, 2021, 1:28 PM
Set swapandliquify to false before adding or removing liquidity
Jun 6, 2021, 1:50 PM
which is your pancake router version
Jun 6, 2021, 2:06 PM
second
omg, what is it...
Jun 6, 2021, 2:19 PM
In the compile option select 0.6.12
Jun 6, 2021, 2:33 PM
it is a remix bug
Jun 6, 2021, 2:33 PM
yes, mb remix is stupid, i reload page and all working good
Jun 6, 2021, 2:33 PM
if you already have set right version
and you are on https try to use http
ok nice
Jun 6, 2021, 2:33 PM
But also, after i minting after add liquidity tokens doesn't going to my wallet, only adding to TotalSupply. I think i do something wrong
Please check my problem, if sb is not busy https://forum.openzeppelin.com/t/how-to-create-mintable-function/10012
Jun 6, 2021, 4:56 PM
send to death
yes
Jun 6, 2021, 6:51 PM

© 2024 Draquery.com All rights reserved.