Details
Description
Currently, we have two separate interfaces ValutService and MetastorageService, but they have a lot of common methods. Seems that it would be convenient to have a common interface.
- Retrieve a common interface for vault and metastorage
- We need a common interface for listeners on vault and metastorage with onUpdate and onError methods
- We should have Entry interface for vault that will be extended with metastorage Entry with extra revision logic
- Also seems that Watcher from metastorage and vault might have a common parent
- Use common contract for watch method in vault and metastorage