Questions tagged [defi]
3 questions
4
votes
2 answers
How do I determine whether a recipient is a liquidity pool?
I'm creating a token which when sold on a liquidity pool, takes fees and burns a certain amount.
Given that I have a recipient address, how would I check whether it is a liquidity pool?
I think I may be able to use this:…

Ayudh
- 1,673
- 1
- 22
- 55
3
votes
3 answers
How to calculate Deposit Amounts for Adding Liquidity within Uniswap V3
Whilst adding liquidity to a new pool within Uniswap V3, I am trying to calculate the formula for the 'Deposit Amounts' on any given pair.
For example, let's take the pair ETH/USDC
Current Price: 2172.05
Set price Rangle -20% & +20%
Min Price:…

TriCron
- 141
- 2
- 11
0
votes
0 answers
Can we provide liquidity to the Uniswap pool from an address other than the admin address
I've created a pool (https://app.uniswap.org/#/pool/8286) on mumbai testnet of polygon mainnet. Our functionality include adding liquidity to the pool from the user's account so the users' might come and provide the liquidity to the pool, after…

Aman Mehra
- 9
- 1