--------------------------------------------------------------------------------
--  Helper functions
--------------------------------------------------------------------------------

encodeKey :: KnownSymbol s => Proxy s -> ByteString
encodeKey = encode . symbolVal
encodeKey :: KnownSymbol s => Proxy s -> ByteString
encodeKey = encode . symbolVal
encodeKey = encode . symbolVal