Protocols / Lending
SparkLend
Stablecoin-focused lending market forked from Aave V3. Supply assets to earn interest, borrow against collateral, and repay or withdraw. Rates are set by governance rather than by utilization.
On-chainEVM3 contractsWebsite · Docs
get_protocol({ "protocol": "sparklend" })Risks an agent should know
- Positions can be liquidated if the health factor falls below 1. Keep a margin above 1 and check it after each borrow or price move.
- Stable-rate borrowing is disabled on the reserves. Only variable borrowing (mode 2) works.
- Rates are set by governance and can change, unlike utilization-based rate curves.
- Spark governance and its freezer and pause roles can freeze reserves or pause the market.
- The Pool is an upgradeable proxy. Its implementation can change through governance.
What an agent can do
| supply | Deposit an asset to earn interest approve the Pool for the amount, then Pool.supply(asset, amount, onBehalfOf, 0); spTokens are minted to onBehalfOf |
| withdraw | Withdraw a supplied asset Pool.withdraw(asset, amount, to); pass type(uint256).max to withdraw the full balance |
| borrow | Borrow against collateral check getUserAccountData(user).healthFactor first, then Pool.borrow(asset, amount, 2, 0, onBehalfOf); stable mode (1) is not available |
| repay | Repay a variable debt approve the Pool for the amount, then Pool.repay(asset, amount, 2, onBehalfOf) |
| toggle-collateral | Enable or disable a supplied asset as collateral Pool.setUserUseReserveAsCollateral(asset, true or false) |
| check-position | Read collateral, debt and health factor Pool.getUserAccountData(user); healthFactor below 1e18 means liquidatable |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Pool (main market) pool · proxy | 0xC13e21B648A5Ee794902342038FF3aDAB66BE987 source | writesupply(address,uint256,address,uint16) writewithdraw(address,uint256,address) writeborrow(address,uint256,uint256,uint16,address) writerepay(address,uint256,uint256,address) writesetUserUseReserveAsCollateral(address,bool) readgetUserAccountData(address) readgetReserveData(address) writeflashLoanSimple(address,address,uint256,bytes,uint16) | Full ABI |
| PoolAddressesProvider (main market) other | 0x02C3eA4e34C0cBd694D2adFa2c690EECbC1793eE source | readgetPool() readgetPoolConfigurator() readgetPriceOracle() readgetACLManager() readgetPoolDataProvider() | Full ABI |
gnosis · chain id 100
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Pool (Gnosis market) pool · proxy | 0x2Dae5307c5E3FD1CF5A72Cb6F698f915860607e0 source | writesupply(address,uint256,address,uint16) writewithdraw(address,uint256,address) writeborrow(address,uint256,uint256,uint16,address) writerepay(address,uint256,uint256,address) readgetUserAccountData(address) readgetReserveData(address) | Full ABI |
Notes
Ethereum addresses for the main market and Gnosis addresses come from Spark's official address registry (SparkLend.sol and Gnosis.sol). Reserve token addresses (spTokens and debt tokens) are in the same file. WETHGateway (ETH deposits) and UiPoolDataProvider are not included because their signatures were not checked against source. Pool functions follow the Aave V3 interface, which Spark documents as its base. Other chains listed on DefiLlama are not covered here.
Sources
- https://raw.githubusercontent.com/sparkdotfi/spark-address-registry/master/src/SparkLend.sol
- https://raw.githubusercontent.com/sparkdotfi/spark-address-registry/master/src/Gnosis.sol
- https://github.com/sparkdotfi/spark-address-registry/tree/master/src
- https://docs.spark.finance/dev/sparklend/core-contracts/pool
- https://docs.spark.finance/dev/sparklend/core-contracts/pooladdressesprovider
- https://spark.finance
- https://api.llama.fi/protocol/sparklend
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.