Sovereignty
A high-leverage Perpetual DEX leveraging Chainlink Price Feeds and Automation to provide institutional-grade liquidation and synthetic settlement in cNGN.
What it is
What is it?
Sovereignty is a high-performance, fully on-chain Perpetual Futures DEX that bridges the gap between local fiat stability and global crypto markets. By utilizing Chainlink Data Feeds, the protocol enables up to 5x leverage on BTC, ETH, and SOL, using the cNGN stablecoin as the base margin and settlement currency.
How does it work?
The protocol employs a Liquidity Vault (ERC-4626) where LPs provide the under-collateralization for trades. Sovereignty utilizes a unique Double-Feed Triangulation to settle trades in a non-USD denominated asset (cNGN) without compromising on security. To ensure protocol solvency and LP profitability, Sovereignty implements Protocol-Owned Liquidations powered by Chainlink Automation, where liquidation bounties are recaptured by the vault to generate organic yield for LPs.
What problem does it solve?
Most Perp DEXs are USD-centric, creating friction for users in emerging markets. Sovereignty provides a localized, high-leverage trading experience while solving the "Bad Debt" problem typical of decentralized liquidations through automated, non-custodial risk management.
How it Works
Sovereignty is engineered using the Foundry framework, prioritizing a rigorous, test-driven development life-cycle. The core architecture centers on a Modular Smart Contract design, utilizing industry-standard building blocks to ensure both security and capital efficiency:
- Financial Infrastructure: Leverages OpenZeppelin’s ERC-4626 standard for the Liquidity Vault, providing a professional-grade, yield-bearing accounting system for LPs.
- Oracle Strategy: Implements Chainlink Price Feeds for sub-second, decentralized market data. I developed a custom Triangulation Engine to derive Asset/cNGN valuations by atomically aggregating multiple USD-denominated feeds.
- Automated Risk Engine: Integrated Chainlink Automation 2.1 using the Forwarder pattern. This creates a "Protocol-Owned Liquidation" system that monitors trader health factors 24/7 and executes liquidations without relying on third-party MEV searchers.
- Security & Access: Utilizes OpenZeppelin AccessControl for granular administrative permissions and SafeERC20 to prevent common token-handling vulnerabilities during settlement.
Links
Created by
- Chukwubuike Victory Chime
- Victor Akinluyi