reaction of AgNO3 with BaO...

Would it be Ag^+ + O^---> AgO (s)

2AgNO3 + BaO ==> Ba(NO3)2 + Ag2O