Protocol Owned Liquidity
Externally provided liquidity can be transferred to the DAO treasury using the LiquidityUnifier contract. 1% of the liquidity transferred will be sent to the invoker of the function.
If the liquidity is on Uniswap V2, LiquidityUnifier.swapV2(base token) can be invoked to transfer liquidity to the treasury. For example, if the Uniswap V2 pair is INT/DAI, then the base token would be the DAI address.
If the liquidity is on Uniswap V3, LiquidityUnifier.swapV3(base token, fee) can be invoked to transfer liquidity to the treasury. For example, if the Uniswap V3 pair is INT/DAI, then the base token would be the DAI address.
The fee is the fee category value:
0.01% fee: 100
0.05% fee: 500
0.30% fee: 3000
1.00% fee: 10000
Last updated