make TxStore use generic interface

Means we can replace a bunch of type assertions with generic code.