This section talks about how the protocol automates growing liquidity for the ecosystem.
Automated Liquidity is a feature of the MahaDAO ecosystem that automates the growth of liquidity from the fees earned from the ecosystem.
Whenever the ecosystem earns fees from the various sources of revenue, a portion of it goes towards growing liquidity. A highly liquid market allows people to enter/exit the ecosystem easily.
GitHub - MahaDAO/liquidity-contracts: Contracts that automatically add liquidity to the various pools
Source code for the liquidity automation contracts
A share of the revenue from the protocol first gets collected at a common contract called as the
MasterRoutercontract, which is deployed at 0x8be9cbbdfeeaf1dcacfb608105ec27384b6ff628.
Revenue can be in the form
MAHAor any ERC20 token.
From there, the MasterRouter contract decides how much liquidity to add to the various pools. Currently, the logic implemented is as follows.