generalize AccessorGetter function for different state types
generalize AccessorGetter function for different state types

Storj/node-libstorj,Storj/node-libstorj,Storj/node-libstorj,Storj/node-libstorj