ZKML Options Liquidator

ZKML Options Liquidator

Permissionless Options Liquidation system, using ZKML to prove complex off-chain calcualations so anyone can make profit liquidating delinquent actors and keep the protocol safe for the good actors.

229
Built at ETHDenver 2024
Build on Linea - Prize(s)
D6
ZKML Options Liquidator

ZKML Options Liquidator

Permissionless Options Liquidation system, using ZKML to prove complex off-chain calcualations so anyone can make profit liquidating delinquent actors and keep the protocol safe for the good actors.

The problem ZKML Options Liquidator solves

Options trading on DeFi platforms requires intricate calculations for determining liquidation thresholds, a task complicated further by the need for reverse-engineering "Implied Volatility" from market trades. Traditional methods rely heavily on the Black-Scholes formula, posing trust and transparency issues when executed off-chain. Our approach overcomes these challenges by integrating AI/Machine Learning with Zero Knowledge Proofs (ZKP) to ensure accuracy and verifiability of liquidation operations.

Challenges we ran into

Proving System Limitations: Initial attempts at step-by-step AI inference emulation proved prohibitively expensive. Adoption of the EZKL system, optimized for matrix multiplication in ML, presented a viable alternative.
Data Input Validation: The absence of ZK-friendly oracles necessitated a novel approach to validating input data. We achieved this by verifying blockchain transaction signatures and generating ECDSA proofs with Brevis.
Proof System Incompatibility: Integrating disparate proving systems posed a significant challenge, addressed by employing a common Poseidon hash to ensure consistency across proofs.

Tracks Applied (9)

Defi, NFTs & Gaming

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Best DeFi Project

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Arbitrum

Build Data-driven dApps with Brevis ZK Coprocessor

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Brevis

Connect the world with Chainlink

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Chainlink

Build a Consumer Product

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Base

Data-Driven DeFi: Revolutionize Finance with Oracle Feeds

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Hedera

Build on Linea

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

Linea

Best zkCoprocessor on Foundry Template

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

RISC Zero

Surprise Us!

The ZKML Options Liquidator is a permissionless system designed to secure DeFi protocols by enabling the liquidation of ...Read More

zkpass

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion