Liquidity pool is a collection of funds locked in smart contract. Liquidity providers (LP) add their digital…