Protocols / CDP
Sky (formerly MakerDAO)
Issuer of the USDS and DAI stablecoins. Agents can convert DAI<->USDS 1:1, swap USDC<->USDS/DAI 1:1 through the LitePSM, earn the Sky Savings Rate with sUSDS (ERC-4626) or the DSR with sDAI, upgrade MKR to SKY, stake USDS for token rewards, and use bridged USDS/sUSDS plus the Spark PSM3 on Base and Arbitrum.
On-chainEVM20 contractsWebsite · Docs
get_protocol({ "protocol": "sky" })Risks an agent should know
- Governance control: Sky governance (SKY holders via executive spells) sets the SSR, DSR, PSM fees (tin/tout), farm rewards and the MKR->SKY penalty, and can halt LitePSM swaps by setting tin/tout to uint256 max. USDS, sUSDS and the bridged L2 tokens are UUPS-upgradeable proxies controlled by governance, so their logic can be changed.
- LitePSM has no slippage protection: fees could change in the same block if a governance action executes first. Swaps are capped by the LitePSM DAI buffer (sellGem) and the USDC in its pocket (buyGem), and by the Spark PSM3's balances on L2.
- MKR->SKY conversion is one-way and, at research time, charged a 5% Delayed Upgrade Penalty (fee() = 5e16) that governance said may increase over time; the older Sky docs token page describing a fee-free two-way converter is out of date.
- USDS and DAI are backed by crypto collateral, real-world-asset vaults, USDC in the PSM and allocations to Sky 'Stars' such as Spark and Grove; a failure in collateral, USDC, or those allocations can affect the peg. Emergency shutdown is possible.
- Savings rates (SSR for sUSDS, DSR for sDAI) are variable and set by governance; sDAI and sUSDS are not exchangeable 1:1 because they have different accumulated yield.
- L2 USDS/sUSDS are bridged via SkyLink/canonical bridges; L2 sUSDS is a plain ERC-20 priced by a cross-chain rate oracle, and withdrawals to Ethereum through the native bridges take the rollup's challenge period (about 7 days on Arbitrum/OP Stack).
What an agent can do
| DAI -> USDS | Upgrade DAI to USDS 1:1, no fee. DAI.approve(0x3225737a9Bbb6473CB4a45b7244ACa2BeFdB276A, wad); DaiUsds.daiToUsds(recipient, wad). Reverse: USDS.approve(converter) then usdsToDai(recipient, wad). |
| USDC -> USDS | Mint USDS with USDC at 1:1 minus tin (0 at research time). Check wrapper.tin() != uint256 max. USDC.approve(0xA188EEC8F81263234dA3622A406892F3D630f98c, amt6); wrapper.sellGem(recipient, amt6) where amt6 has 6 decimals. Receives amt6*1e12 USDS minus fee. |
| USDS -> USDC | Redeem USDS for USDC 1:1 plus tout. Check USDC.balanceOf(LitePSM.pocket()) >= amt6 and tout. USDS.approve(wrapper, amt6*1e12 + fee); wrapper.buyGem(recipient, amt6). |
| USDC <-> DAI | Same as above with DAI. LitePSM 0xf6e72Db5454dd049d0788e411b06CfAF16853042: approve USDC to the LitePSM itself (not a GemJoin) then sellGem(usr, amt6); or approve DAI to the LitePSM then buyGem(usr, amt6). If sellGem fails for lack of DAI, call rush()/fill() first (permissionless). |
| earn the Sky Savings Rate | Deposit USDS into sUSDS on Ethereum. USDS.approve(sUSDS 0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD, amt); sUSDS.deposit(amt, receiver). Exit: sUSDS.redeem(shares, receiver, owner). Value: convertToAssets(shares). Rate: ssr(). |
| get sUSDS on Base/Arbitrum | Swap USDC or USDS into sUSDS with the Spark PSM3. approve assetIn to PSM3 (Base 0x1601843c5E9bC251A3272907010AFa41Fa18347E, Arbitrum 0x2B05F8e1cACC6974fD79A673a341Fe1f58d27266); quote previewSwapExactIn(assetIn, sUSDS, amountIn); swapExactIn(assetIn, sUSDS, amountIn, minOut, receiver, 0). L2 sUSDS has no deposit/redeem; exit via PSM3. |
| MKR -> SKY | Upgrade MKR to SKY at 1:24000 minus the Delayed Upgrade Penalty. Read MkrSky.fee(); call MkrSky 0xA1Ea1bA18E88C381C724a75F23a130420C403f9a .mkrToSky(recipient, mkrAmt). No approval needed. One-way. |
| stake USDS for rewards | Stake USDS in a Sky token-rewards farm. Check farm.periodFinish() > now and rewardRate() > 0 (USDS->SPK 0x173e314C7635B45322cd8Cb14f44b312e079F3af was active at research time; USDS->SKY 0x0650CAF159C5A49f711e8169D4336ECB9b950275 had ended). USDS.approve(farm, amt); farm.stake(amt). Claim with getReward(); leave with exit(). |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| USDS (Sky Dollar) token · proxy | 0xdC035D45d973E3EC169d2276DDab16f1e407384F source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readallowance(address,address) readtotalSupply() writepermit(address,address,uint256,uint256,uint8,bytes32,bytes32) | Full ABI |
| sUSDS (Savings USDS, ERC-4626) vault · proxy | 0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD source | writedeposit(uint256,address) writedeposit(uint256,address,uint16) writemint(uint256,address) writeredeem(uint256,address,address) writewithdraw(uint256,address,address) readconvertToAssets(uint256) readconvertToShares(uint256) readpreviewRedeem(uint256) +5 more via get_protocol | Full ABI |
| DAI (MCD_DAI) token | 0x6B175474E89094C44Da98b954EedeAC495271d0F source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readallowance(address,address) readtotalSupply() | Full ABI |
| DaiUsds converter (DAI_USDS) exchange | 0x3225737a9Bbb6473CB4a45b7244ACa2BeFdB276A source | writedaiToUsds(address,uint256) writeusdsToDai(address,uint256) readdai() readusds() | Full ABI |
| SKY (governance token, MCD_GOV) token | 0x56072C95FAA701256059aa122697B133aDEd9279 source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readallowance(address,address) readtotalSupply() writepermit(address,address,uint256,uint256,uint8,bytes32,bytes32) | Full ABI |
| MKR (legacy governance token) token | 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2 source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) | Full ABI |
| MkrSky converter V2 (MKR_SKY, one-way) exchange | 0xA1Ea1bA18E88C381C724a75F23a130420C403f9a source | writemkrToSky(address,uint256) readrate() readfee() readtake() readmkr() readsky() | Full ABI |
| LitePSM USDC-A (LitePSM-DAI-USDC, MCD_LITE_PSM_USDC_A) exchange | 0xf6e72Db5454dd049d0788e411b06CfAF16853042 source | writesellGem(address,uint256) writebuyGem(address,uint256) readtin() readtout() readpocket() readbuf() readrush() writefill() +3 more via get_protocol | Full ABI |
| LitePSMWrapper-USDS-USDC (UsdsPsmWrapper) exchange | 0xA188EEC8F81263234dA3622A406892F3D630f98c source | writesellGem(address,uint256) writebuyGem(address,uint256) readtin() readtout() readpsm() readpocket() readgemJoin() | Full ABI |
| USDS -> SKY Staking Rewards (REWARDS_USDS_SKY) staking | 0x0650CAF159C5A49f711e8169D4336ECB9b950275 source | writestake(uint256) writestake(uint256,uint16) writewithdraw(uint256) writegetReward() writeexit() readearned(address) readbalanceOf(address) readrewardRate() +4 more via get_protocol | Full ABI |
| USDS -> SPK Staking Rewards (REWARDS_USDS_SPK) staking | 0x173e314C7635B45322cd8Cb14f44b312e079F3af source | writestake(uint256) writestake(uint256,uint16) writewithdraw(uint256) writegetReward() writeexit() readearned(address) readbalanceOf(address) readrewardRate() +4 more via get_protocol | Full ABI |
| Pot (MCD_POT, DAI Savings Rate) other | 0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7 source | readdsr() readchi() writedrip() | Full ABI |
| sDAI (Savings Dai, ERC-4626, issued by Spark) vault | 0x83F20F44975D03b1b09e64809B757c47f942BEeA source | writedeposit(uint256,address) writeredeem(uint256,address,address) writewithdraw(uint256,address,address) readconvertToAssets(uint256) readbalanceOf(address) | Full ABI |
| Chainlog (CHANGELOG) other | 0xdA0Ab1e0017DEbCd72Be8599041a2aa3bA7e740F source | readgetAddress(bytes32) readversion() readcount() readget(uint256) | Full ABI |
base · chain id 8453
| Contract | Address | Key functions | Try |
|---|---|---|---|
| USDS (bridged, SkyLink) token · proxy | 0x820C137fa70C8691f0e44Dc420a5e53c168921Dc source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readtotalSupply() | Full ABI |
| sUSDS (bridged, plain ERC-20, no ERC-4626) token · proxy | 0x5875eEE11Cf8398102FdAd704C9E96607675467a source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readtotalSupply() | Full ABI |
| Spark PSM3 (USDC/USDS/sUSDS swaps) exchange | 0x1601843c5E9bC251A3272907010AFa41Fa18347E source | writeswapExactIn(address,address,uint256,uint256,address,uint256) writeswapExactOut(address,address,uint256,uint256,address,uint256) readpreviewSwapExactIn(address,address,uint256) readpreviewSwapExactOut(address,address,uint256) writedeposit(address,address,uint256) writewithdraw(address,address,uint256) readpocket() readtotalAssets() +4 more via get_protocol | Full ABI |
arbitrum · chain id 42161
| Contract | Address | Key functions | Try |
|---|---|---|---|
| USDS (bridged, SkyLink) token · proxy | 0x6491c05A82219b8D1479057361ff1654749b876b source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readtotalSupply() | Full ABI |
| sUSDS (bridged, plain ERC-20, no ERC-4626) token · proxy | 0xdDb46999F8891663a8F2828d25298f70416d7610 source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) readtotalSupply() | Full ABI |
| Spark PSM3 (USDC/USDS/sUSDS swaps) exchange | 0x2B05F8e1cACC6974fD79A673a341Fe1f58d27266 source | writeswapExactIn(address,address,uint256,uint256,address,uint256) writeswapExactOut(address,address,uint256,uint256,address,uint256) readpreviewSwapExactIn(address,address,uint256) readpreviewSwapExactOut(address,address,uint256) writedeposit(address,address,uint256) writewithdraw(address,address,uint256) readpocket() readtotalAssets() +4 more via get_protocol | Full ABI |
APIs
| Sky Chainlog API auth: none | https://chainlog.sky.money/api/mainnet/active.json JSON map of every current official Ethereum contract key -> address (same data as the on-chain Chainlog 0xdA0Ab1e0017DEbCd72Be8599041a2aa3bA7e740F). Use it to resolve addresses not listed here (Vat, Jug, joins, LockstakeEngine, stUSDS, bridges). |
| Sky Governance (vote data) API auth: none | https://vote.sky.money/api Read-only polls, executive spells, delegates and voter data (Swagger at https://vote.sky.money/api-docs); data before 19 May 2025 is at https://vote.makerdao.com/api. |
Notes
Ethereum addresses come from the official Sky chainlog (chainlog.sky.money API, mirrored on-chain at 0xdA0Ab1e0017DEbCd72Be8599041a2aa3bA7e740F) and the Sky developer docs (LitePSM guide, token-governance-upgrade key info). Base USDS/sUSDS come from the Sky developer docs' SkyLink Base guide; Arbitrum USDS/sUSDS and both PSM3 contracts are only listed by Spark (a Sky 'Star' whose SubProxy is in the chainlog as SPARK_SUBPROXY), so Spark's docs are cited for them. sDAI is a Spark-issued wrapper of the Sky Pot (DSR) and is not in the Sky chainlog; Spark docs are cited. Every address was checked for code on its chain and wiring read on-chain (sUSDS.asset=USDS, DaiUsds dai/usds, MkrSky mkr/sky/rate=24000, LitePSM gem=USDC/dai=DAI/pocket, wrapper.psm=LitePSM, farms' staking/rewards tokens, PSM3 usdc/usds/susds on Base and Arbitrum). Signatures come from Sourcify-verified sources (DssLitePsm, UsdsPsmWrapper, DaiUsds, MkrSky, SUsds, StakingRewards, SavingsDai, PSM3). Mentioned but not listed: stUSDS (STUSDS 0x99CD4Ec3f88A45940936F469E4bB72A2A701EEB9, staked USDS with a variable rate funding SKY-backed borrowing; see developers.skyeco.com/protocol/tokens/stusds), LockstakeEngine (staking engine for SKY with borrowing and delegation; LOCKSTAKE_ENGINE in the chainlog), Vat/Jug/vault (CDP) contracts, SkyLink bridges (BASE_TOKEN_BRIDGE, ARBITRUM_TOKEN_BRIDGE, OPTIMISM_TOKEN_BRIDGE, UNICHAIN_TOKEN_BRIDGE in the chainlog), the legacy MKR->SKY converter V1, and USDS/sUSDS/PSM3 on Optimism and Unichain (listed on Spark's docs pages). Spark's own lending market (SparkLend) is a separate protocol, not part of this entry. The legacy PSM (MCD_PSM_USDC_A) with its separate GemJoin approval target is no longer in the chainlog; the LitePSM takes approvals on itself. MCD_GOV in the chainlog now points to SKY.
Sources
- https://chainlog.sky.money/api/mainnet/active.json
- https://chainlog.sky.money/
- https://developers.skyeco.com/
- https://developers.skyeco.com/guides/psm/litepsm/
- https://developers.skyeco.com/guides/sky/token-governance-upgrade/key-info/
- https://developers.skyeco.com/guides/sky/token-governance-upgrade/token-holders/
- https://developers.skyeco.com/guides/skylink/base-eth-native-bridge/
- https://developers.skyeco.com/protocol/tokens/usds/
- https://developers.skyeco.com/protocol/tokens/susds/
- https://developers.skyeco.com/protocol/tokens/sky/
- https://developers.skyeco.com/quick-start/protocol-token-routes/
- https://developers.skyeco.com/protocol/rewards/staking-rewards/
- https://developers.skyeco.com/guides/sky/token-governance-upgrade/vote-data-api/
- https://docs.spark.fi/dev/savings/cross-chain-tokens
- https://docs.spark.fi/dev/savings/spark-psm
- https://docs.spark.fi/dev/savings/sdai-token
- https://docs.spark.fi/dev/savings/susds-token
- https://github.com/sky-ecosystem/usds
- https://github.com/sky-ecosystem/sdai/tree/susds
- https://github.com/sky-ecosystem/sky
- https://github.com/sky-ecosystem/endgame-toolkit/tree/master
- https://github.com/sky-ecosystem/xchain-ssr-oracle
- https://github.com/sky-ecosystem/arbitrum-token-bridge
- https://sourcify.dev/server/v2/contract/1/0xf6e72Db5454dd049d0788e411b06CfAF16853042
- https://sourcify.dev/server/v2/contract/1/0xA188EEC8F81263234dA3622A406892F3D630f98c
- https://sourcify.dev/server/v2/contract/1/0xA1Ea1bA18E88C381C724a75F23a130420C403f9a
- https://sourcify.dev/server/v2/contract/1/0x3225737a9Bbb6473CB4a45b7244ACa2BeFdB276A
- https://sourcify.dev/server/v2/contract/1/0x4e7991e5C547ce825BdEb665EE14a3274f9F61e0
- https://sourcify.dev/server/v2/contract/1/0x0650CAF159C5A49f711e8169D4336ECB9b950275
- https://sourcify.dev/server/v2/contract/1/0x83F20F44975D03b1b09e64809B757c47f942BEeA
- https://sourcify.dev/server/v2/contract/8453/0x1601843c5E9bC251A3272907010AFa41Fa18347E
- https://api.llama.fi/protocol/sky
Researched 2026-11-25. Addresses are copied from the official sources above; check them before moving large amounts.