# pool-to-peer (rigel) a pool to peer liquidity pool to provide liquidity for various usecases across defi. rigel will help users to park their liquidity with multiple pool managers to earn returns on their investments. this liquidity will be used to fund various operations like DEX, Perpetual DEX, LPs etc some actors involved ## pool manager pool manager is the user that manages liquidity pool, they can employ different strategies to invest the provided liquidity and earn good returns on it. they charge commissions for their services on profit. these strategies are open and transparent so that users can take correct decisions while choosing a pool manager. all of these transactions should go through rigel because we are assuming the user and pool manager can't trust each other. ## usecases ### provide liquidity for RFQ based DEX pool manager will run a service that constantly looks out of new orders onchain that fits the price and fees criteria, once it finds the order, pool manager calls `<address>::fill_order` module to fill that specific order. ### provide liquidity for any type of DEX every non-CLOB DEX requires liquidity to function, pool manager can allocate some percentage of their fund to fund these LP to earn passive fees without doing extra work to mitigate uncertain losses from other activities. ### provide liquidity to Perpetual DEX Perpetual DEXs are taking off this cycle and they are giving crazy rewards for anyone to invest in their liquidity pool ### invest in tokens rigel will only allow to invest certain percentage of fund in tokens/nfts, this should be used only if pool manager finds a very good opportunity. --- there are many other usecases that we can think of, in a nutshell, pool manager can invest in anything that requires liquidity and earns interest. ## trust factor between PM and user PM can stake some amount of token that will directly be proportional to the amount of pool they want to run, these tokens will be yield bearing token. ## open thoughts & questions 1. how are we packaging this? - https://www.arrakis.finance/ 2. this will not require any integration with existing defi protocols, but we can still use them 3. can we mantain risk portfolio of funds? - token funds are high risk - defi funds are low-medium risk - hybrid funds depending on allocation 4. everything should flow from rigel, so that we can enforce the conditions of the pool mentioned in 3 point