Refactor refounding function

1 job for Tresorerie in 2 minutes and 41 seconds (queued for 2 seconds)