[atlas] Credits accounting