Skip to main content
Type: CDP / Structured Products | Docs: covenant.finance

Overview

Covenant is a collateralized debt position (CDP) protocol and structured products platform on Monad. Users lock collateral to mint synthetic debt, similar to MakerDAO’s design. Rampart exposes aggregate vault statistics for monitoring system health and collateralization levels.

Functions

getCovenantStats()

Returns aggregate statistics across all Covenant vaults. Returns CovenantStats
FieldTypeDescription
vaultCountnumberTotal number of open CDP vaults
totalCollateralnumberTotal collateral value locked in USD
totalDebtnumberTotal synthetic debt outstanding in USD
protocol'covenant'Protocol identifier
const stats = await sdk.getCovenantStats()
// → {
//   vaultCount: 142,
//   totalCollateral: 8500000,
//   totalDebt: 4200000,
//   protocol: 'covenant'
// }

Usage Example

import { Rampart } from 'rampart-monad'

const sdk = new Rampart()

const stats = await sdk.getCovenantStats()

const collateralRatio = stats.totalCollateral / stats.totalDebt
console.log(`Covenant: ${stats.vaultCount} vaults`)
console.log(`System collateral ratio: ${(collateralRatio * 100).toFixed(0)}%`)
console.log(`Total debt: $${(stats.totalDebt / 1e6).toFixed(2)}M`)

Contract Addresses

ContractAddress
CovenantManager0x7d5cf24C05A80d4FfC1D4B2d2E4c47d9b8cE2F5a