Spark
Last updated
This module provides integration with Spark Protocol (formerly part of MakerDAO), a decentralized lending platform focused on USDS and DAI. It offers deposits, collateralized borrowing, and yield-bearing spTokens.
Supply Functions:
Supply assets to lending pools
Withdraw supplied assets
Earn yield through spTokens
Track supply positions
Monitor earned interest
Borrow Functions:
Borrow assets against collateral
Choose interest rate modes (Stable/Variable)
Repay borrowed assets
Use spTokens for repayment
Track borrowing positions
Major Assets:
DAI (0x6B175474E89094C44Da98b954EedeAC495271d0F)
WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)
USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)
WBTC (0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599)
wstETH (0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0)
sDAI (0x83F20F44975D03b1b09e64809B757c47f942BEeA)
Account Information:
User account data
Total collateral value
Current debt positions
Health factor monitoring
Available borrowing power
Specialized Categories:
Stablecoins category
ETH category
Enhanced LTV ratios
Optimized borrowing power
Category-specific parameters
Ethereum Mainnet:
Pool Address Provider: 0x02C3eA4e34C0cBd694D2adFa2c690EECbC1793eE
WETH Gateway: 0xBD7D6a9ad7865463DE44B05F04559f65e3B11704
Data Provider: 0xFc21d6d146E6086B8359705C8b28512a983db0cb
Leveraged position creation
Reserve data monitoring
"HeyAnon, please supply 1000 DAI to Spark Protocol"
"HeyAnon, please supply 10 WETH, and borrow 10% of the total available amount against it as DAI"
"HeyAnon, please update me on earned interest through the Spark protocol"
Last updated