They're kinda like hub caps. They were purely cosmetic but definitely made the wheels look much nicer than they actually are
And yes, as Outlaw Ace (Andy - I'm the OTHER Andy) said, your wheels could have be from a Cat 250. If they are, they never had stars on them. But, Cat never had white wheels on any of their bikes. At least, not to my knowledge.