I am not sure that it wasn't made as a market gun. I just opined that the furniture, the beavertail carving at the tang, and the swell at the wrist suggested to me that it might have been intended as a musket style rampart gun. There is precious little information about wall guns. Hopefully, someone on this forum may have some good info.
Al