Write contract_balance also for peering contracts.