Security Audits
SparkLend
SparkLend is based on the Aave v3 codebase, including the 3.0.1 and 3.0.2 upgrades, which have been extensively audited. You can find the audits of Aave v3 here.
Notable code differences include:
- The DAI market has a custom interest rate strategy due to its relation with Sky.
- A custom oracle had to be made for the Savings DAI market.
- The
RewardsControllerwas not set up through thePoolAddressProvider.
SparkLend Core Updates
Spark-specific core audits covering changes made on top of the base Aave v3 codebase, including protocol-level core updates and related deployment changes.
SparkLend Advanced
SparkLend Advanced covers additional infrastructure around the core market, including oracle and governance automation features used alongside SparkLend.
SparkLend Cap Automator
Cap Automator manages supply and borrow cap updates for SparkLend assets according to governance-set parameters, cooldowns, and limits.
Spark Liquidity Layer
Spark ALM Controller
Spark ALM Controller is the onchain control layer of the Spark Liquidity Layer. It manages liquidity flows between Ethereum mainnet and L2s and integrates with the DSS Allocator and external protocols.
Cross-chain Infrastructure
XChain Helpers
XChain Helpers is a library of cross-chain messaging helper contracts used between Ethereum mainnet and L2s, including forwarders and receivers for bridge-specific message passing.
XChain SSR Oracle
XChain SSR Oracle reports Sky Savings Rate values from Ethereum mainnet to supported chains so integrators can derive the current sUSDS to USDS conversion rate off-mainnet.
Governance Infrastructure
Spark Gov Relay
Spark Gov Relay contains the infrastructure needed to process the cross-chain execution of governance proposals on bridged protocol instances.
Savings
Spark PSM
Spark PSM is a Peg Stability Module for swapping, depositing, and withdrawing USDC, USDS, and sUSDS. It extends Sky PSM liquidity to supported non-mainnet domains.
Spark Vaults V2
Spark Vaults V2 is an ERC-4626 vault system that lets Spark savings vaults deploy idle liquidity into approved strategies while continuously accruing yield to depositors.
Savings Vault Intents
Savings Vault Intents is a large-withdrawal request system for Spark Vaults V2. It lets users create redemption intents that are fulfilled later by the Spark ALM Planner once vault liquidity has been prepared.
Savings USDS (sUSDS)
sUSDS is an ERC-4626 wrapper around USDS in the Sky Savings Rate module, allowing holders to earn the savings rate while keeping the token transferable and composable.
Savings DAI (sDAI)
sDAI is an ERC-4626 wrapper around DAI in the Dai Savings Rate module, allowing depositors to earn the savings rate while retaining standard token utility.
Lockstake
Staked USDS (stUSDS)
stUSDS is an ERC-4626 token that provides capital for SKY-backed borrowing through the Lockstake system and isolates that risk from standard savings products.