Smardex: Reinventing Decentralized Liquidity with Smart AMMs