Skip to main content

Architecture

This comprehensive documentation covers all important smart contracts in the Citadel Finance protocol, a synthetic stablecoin protocol built on the Jarvis Protocol foundation.

🏗️ Architecture Overview

Citadel Finance enables the creation of synthetic EUR from USD stablecoins through a dual-actor liquidity pool system:

  • Minters: Deposit USD stablecoins, receive synthetic EUR
  • Liquidity Providers: Provide liquidity backing synthetic positions, earn fees and yield

📋 Contract Registry

ContractRoleDeployments
FinderService registry and locatortestnet
ManagerAccess control and governancetestnet
MultiLpLiquidityPoolCore liquidity pool logictestnet
ChainlinkPriceFeedChainlink oracle implementationtestnet
CollateralWhitelistApproved collateralstestnet
CompoundModuleCompound lending integrationtestnet
VaultFactoryVault creation and managementtestnet
VaultRegistryVault registration and trackingtestnet
Vault ImplementationVault logic contracttestnet

🔄 Documentation Structure

Each contract has its own detailed documentation page covering:

  • Purpose & Overview: What the contract does and why it exists
  • Key Functions: Detailed function signatures and descriptions
  • Access Control: Role-based permissions and security model
  • Storage Structure: State variables and data organization
  • Events: Emitted events and their purposes
  • Integration Points: How it interacts with other contracts
  • Usage Examples: Common interaction patterns
  • Security Considerations: Important security aspects

🚀 Quick Navigation

Core Protocol

Oracle System

Access Control & Whitelisting

Lending Integration

Vault System


Built on the Jarvis Protocol foundation, Citadel Finance represents a robust synthetic asset platform with advanced DeFi integrations.