pub async fn sweep<V, R>(view: &mut V, rng: R) -> Result<Vec<TransactionPlan>>where V: ViewClient, R: RngCore + CryptoRng,