Concepts
Confidentiality Adapter
How the Confidentiality Adapter works
The Confidentiality Adapter is a smart contract which works as a middleware between the user and the protocol, so if the user wants to interact with the protocol confidentially, they will have to interact with the confidentiality adapter contract instead of the protocol’s contracts. The best part of confidentiality adapter is, since it’s just a middleware contract, the protocol’s infrastructure code doesn’t have to be updated or changed at all. It’s basically a wrapper around the protocol’s contracts.