This doesn't seem possible, because self interest will always lead to hacking the structure for better returns, and technology accelerates the ability to do that. It seems to me that whatever is put in place to direct selfish behavior toward good will eventually be rerouted or broken for one exceptionally selfish asshole or group.