Nigerian stock market gains N793bn