Move contract_balance creation to tmp helper.

This needs to be implemented in the schema at some point!