Composable Attestations
Last updated
Last updated
BAVO’s off-chain attestations can be integrated with on-chain attestations to meet the unique needs of decentralized applications (dApps).
In decentralized finance (DeFi), protocols can create specific pools with predefined conditions tailored for authorized users. For instance, a user could qualify for a fee discount in a pool created through Uniswap hooks by providing evidence of their largest Uniswap swap via Brevis and proof of centralized exchange (CEX) trading activity from BAVO. To enable this composable attestation scenario, users must be able to submit both off-chain and on-chain attestations through the BAVO/Brevis interface. The pool contract would then retrieve these attestations from public attestation services like EAS and Verax, allowing dApps and smart contracts to access them seamlessly. When a user interacts with the DeFi interface, the pool contract verifies the conditions based on these attestations before processing the user’s transactions.
Hybrid use cases also extend beyond DeFi. For example, a user might submit proofs of identity to a dApp to mitigate Sybil attacks. These proofs often combine multiple layers of verification, such as on-chain analysis, lightweight KYC, and even physical identity verification. In another scenario, a GameFi platform may require users to submit off-chain gaming data, such as total playtime, alongside on-chain trading data to qualify for game rewards targeted at specific user groups.
The ability to verify BAVO’s off-chain attestations in smart contracts, along with zero-knowledge proofs of users' on-chain activities, is crucial for these hybrid applications. BAVO’s off-chain attestations, along with third-party on-chain attestations, can be decoupled, enabling BAVO’s developers to integrate seamlessly with any zero-knowledge coprocessors.