here´s an example:
its for configuring the pool for liquidity bootstraping but should provide a nice overview.