Hey guys, I deployed a token and I am trying to add liquidity to it on ropsten for testing, but uniswap doesn't allow me create pair or add liquidity on V2, what can be reasons?
Jun 21, 2022, 11:05 AM
Maybe something get reverted under the transfer function ?
Jun 21, 2022, 11:07 AM
Ok going through that
https://ropsten.etherscan.io/address/0x90263a4a246ef4ca9cbb7405bb7fc618951ee3f7#code
Can you take a look if you have time
Someone can look it? don't know why I can't add liq
Jun 21, 2022, 2:04 PM
Where is code?
Jun 22, 2022, 12:38 AM
sure
Jun 22, 2022, 1:09 AM
man, thanks for taking the time to answer this... I'm just a tomato and get easily confused
but, want to make sure that what I'm told by others is correct so glad I did my DD
Jun 22, 2022, 1:20 AM
all good, always dyor =)
Jun 22, 2022, 1:20 AM
Verified on etherscan
Jun 22, 2022, 7:02 AM
its read and write only
Jun 22, 2022, 9:07 AM
Can't you see something like this when you open link?
Jun 22, 2022, 9:18 AM
Well i have seen your code u have deployed in different way . let me check if anything i will find i will get back to your msg
Jun 22, 2022, 9:22 AM
I have multiple files i deployed those, there is a contract on which token is dependent, that is distributor for rewards.
Jun 22, 2022, 9:49 AM
Yes I understand. That but your code is big and many functions are there. Which will take more time for me
Jun 22, 2022, 9:50 AM
I have a function in a different contract, that adds liq and enables trading. I want constructor to call that fun with deployment. But constructor says function is defined at that point, because it's written after contructor
Jun 22, 2022, 9:50 AM
https://youtu.be/lTrNmTyEUnM
Jun 22, 2022, 10:03 AM
How can we calculate estimated gas fees for swaps, transfers on mainnet without deploying contract on mainnet
Just another ETH fork?
Jun 22, 2022, 10:57 AM
hardhat with hardhat-gas-reporter plugin or you calculate each tx cost from the receipt
you do mainnet fork so you get nearly accurate prices
Jun 22, 2022, 11:23 AM
Use tenderly or you can even fork mainnet
Jun 22, 2022, 11:33 AM
tenderly is a really good application
Jun 22, 2022, 11:52 AM
It's not fork, it's VM
Jun 22, 2022, 2:33 PM