Type Safe Pure Function TransformThe indexer index from contract logs with type-safe input and output