The Federation (the socialist utopia you reference) doesn't use Latium, thats usually used by societies (mostly The Ferengi, a commentary on late-stage capitalism) that still barter using currency.
The only retcon is that they decided to make gold "worthless" in comparison.