Skip to main content
Aave V3 fork operated by MakerDAO/Sky ecosystem. Offers DAI/USDS borrowing backed by the Maker protocol.

Notes

  • Same interface as Aave V3 (forked codebase) — referralCode always 0
  • interestRateMode: 2 = variable (stable rate being phased out)
  • All supply/repay operations require ERC-20 approval to the Pool
  • Ethereum-only deployment

Its names in a program

On Ethereum, Spark is a namespace: its contracts need no import.

Deployments

ABI

SparkPoolABI

import SparkPoolABI from "./protocols/spark/SparkPoolABI.json"; Speaks for: pool.
  • supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode)
  • withdraw(address asset, uint256 amount, address to) returns (uint256)
  • borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf)
  • repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) returns (uint256)

Next steps