<aside> 🦄 Dynamic fee calculation using the Nezlobin formula, adjusting swap fees based on market volatility. Featuring a Cross-Chain Limit Order mechanism using Chainlink CCIP, allowing users to redeem executed orders across multiple blockchains, offering both optimized pricing and cross-chain flexibility.

</aside>

<aside> 🔗 Links

Demo:

https://youtu.be/kr_lNy95jR0?si=BBwcLV1gSc-otvZt

Problem / Background:

Traditional DeFi systems often lack adaptability in dynamic market conditions, leading to suboptimal fees for liquidity providers and traders. Furthermore, existing limit order mechanisms are restricted to single-chain execution, limiting user flexibility and cross-chain trading opportunities. Our project addresses these issues by implementing a dynamic fee calculation based on market volatility, and by introducing a cross-chain limit order feature to enhance interoperability across blockchains.

Impact:

Our project improves the efficiency and fairness of DeFi trading by introducing a dynamic fee mechanism that optimizes returns for liquidity providers and ensures fair pricing for traders. Additionally, the cross-chain limit order feature expands trading opportunities by allowing users to seamlessly execute and redeem orders across multiple blockchains, enhancing flexibility and accessibility in decentralized markets.

Challenges:

Integrating Chainlink CCIP with the hook system presented significant challenges, as did implementing the Nezlobin dynamic fee formula in Solidity. Both required careful optimization and testing to ensure smooth operation and accurate fee adjustments.

Extension:

We aim to extend the Cross-Chain Limit Order project by automating the redeem process through Chainlink Automation. Additionally, we plan to integrate Chainlink data feeds into the Nezlobin hook for real-time dynamic fee adjustments. While we have a working example of this locally, our goal is to demonstrate it fully on-chain.

Team:

Emirhan Çavuşoğlu : Fullstack Developer Ahmet Tahir Yıldız : Fullstack Developer