MAVERICK : an AMM for all mark