Skip to Content

Sky Protocol

Sky (formerly MakerDAO) is a decentralized protocol for stablecoin savings, governance, and token migration. This plugin exposes two ERC-4626 vaults (the sUSDS savings vault and the stUSDS staked vault), token balance and approval actions for USDS, DAI, and SKY, and converters for migrating legacy DAI to USDS and legacy MKR to SKY.

Supported chains: Ethereum (all contracts), Base (sUSDS, USDS), Arbitrum (sUSDS, USDS). Read-only actions work without credentials. Write actions require a connected wallet.

Actions

Sky is a multi-contract protocol, so actions are grouped below by the contract that exposes them. Each vault (sUSDS and stUSDS) is a standard ERC-4626 vault and exposes the same 18 vault actions; stUSDS uses a st-usds- slug prefix and a “stUSDS” label prefix to distinguish it from the sUSDS vault.

sUSDS Savings Vault

ActionSlugTypeDescription
Vault Depositvault-depositWriteDeposit assets into the vault and receive shares
Vault Mintvault-mintWriteMint exact vault shares by depositing the required amount of assets
Vault Withdrawvault-withdrawWriteWithdraw assets from the vault by specifying asset amount
Vault Redeemvault-redeemWriteRedeem shares from the vault for underlying assets
Vault Underlying Assetvault-assetReadGet the address of the underlying asset token for this vault
Vault Total Assetsvault-total-assetsReadGet the total amount of underlying assets held by the vault
Vault Total Supplyvault-total-supplyReadGet the total supply of vault shares
Vault Share Balancevault-balanceReadGet the vault share balance of an address
Convert Shares to Assetsvault-convert-to-assetsReadConvert a vault share amount to its underlying asset value at the current rate
Convert Assets to Sharesvault-convert-to-sharesReadConvert an asset amount to the equivalent vault shares at the current rate
Preview Vault Depositvault-preview-depositReadPreview how many shares a given asset deposit would yield
Preview Vault Mintvault-preview-mintReadPreview how many assets are needed to mint a given number of shares
Preview Vault Withdrawvault-preview-withdrawReadPreview how many shares must be burned to withdraw a given asset amount
Preview Vault Redeemvault-preview-redeemReadPreview how many assets a given share redemption would yield
Max Vault Depositvault-max-depositReadGet the maximum amount of assets that can be deposited for a receiver
Max Vault Mintvault-max-mintReadGet the maximum number of shares that can be minted for a receiver
Max Vault Withdrawvault-max-withdrawReadGet the maximum amount of assets that can be withdrawn by an owner
Max Vault Redeemvault-max-redeemReadGet the maximum number of shares that can be redeemed by an owner

Available on Ethereum, Base, and Arbitrum.

stUSDS Staked Vault

Same 18 actions as the sUSDS vault above, with a st-usds- slug prefix and a “stUSDS” label prefix, for example “stUSDS Vault Deposit” (st-usds-vault-deposit) and “stUSDS Vault Share Balance” (st-usds-vault-balance). Use the “stUSDS Vault Underlying Asset” (st-usds-vault-asset) action to read which token the staked vault wraps. Available on Ethereum only.

USDS Stablecoin

ActionSlugTypeDescription
Get USDS Balanceget-usds-balanceReadCheck the USDS balance of an address
Approve USDS Spendingapprove-usdsWriteApprove a spender to transfer USDS on your behalf

Available on Ethereum, Base, and Arbitrum.

DAI Stablecoin (Legacy)

ActionSlugTypeDescription
Get DAI Balanceget-dai-balanceReadCheck the DAI balance of an address
Approve DAI Spendingapprove-daiWriteApprove a spender to transfer DAI on your behalf

Ethereum only.

SKY Governance Token

ActionSlugTypeDescription
Get SKY Balanceget-sky-balanceReadCheck the SKY balance of an address

Ethereum only.

DAI-USDS Converter

ActionSlugTypeDescription
Convert DAI to USDSconvert-dai-to-usdsWriteConvert DAI to USDS at a 1:1 rate via the official converter
Convert USDS to DAIconvert-usds-to-daiWriteConvert USDS back to DAI at a 1:1 rate via the official converter

Ethereum only. Requires prior DAI or USDS approval for the converter contract (use Approve DAI Spending / Approve USDS Spending).

MKR-SKY Converter

ActionSlugTypeDescription
Convert MKR to SKYconvert-mkr-to-skyWriteConvert MKR governance tokens to SKY via the official converter (one-way)

Ethereum only. Requires prior MKR approval for the converter contract.


Example Workflows

Monitor USDS Balance with Alert

Schedule (daily) -> Sky: Get USDS Balance -> Math (Sum, divide by 1e18) -> Condition (< 100) -> Discord: Send Message

Check your USDS balance daily, convert from wei to decimal, and send a Discord alert if it drops below 100 USDS.

Auto-Deposit Idle USDS into Savings

Schedule (hourly) -> Sky: Get USDS Balance -> Math (Sum, divide by 1e18) -> Condition (> 500) -> Sky: Approve USDS Spending -> Sky: Vault Deposit

Periodically check for idle USDS and automatically deposit into the sUSDS savings vault when the balance exceeds a threshold. Requires wallet connection.

Track Savings Yield

Schedule (daily) -> Sky: Vault Share Balance -> Sky: Convert Shares to Assets -> Math (Sum, divide by 1e18) -> Webhook: Send HTTP Request

Monitor your sUSDS position, convert shares to their current USDS value, and send the result to an external webhook for portfolio tracking.

DAI Migration Pipeline

Manual -> Sky: Get DAI Balance -> Math (Sum, divide by 1e18) -> Condition (> 0) -> Sky: Approve DAI Spending -> Sky: Convert DAI to USDS -> Sky: Vault Deposit

One-click migration of DAI holdings: check balance, approve the converter, convert to USDS, and deposit into the sUSDS savings vault. Ethereum only.


Supported Chains

ChainContracts Available
Ethereum (1)sUSDS Savings Vault, stUSDS Staked Vault, USDS, DAI, SKY, DAI-USDS Converter, MKR-SKY Converter
Base (8453)sUSDS Savings Vault, USDS
Arbitrum (42161)sUSDS Savings Vault, USDS

The sUSDS savings vault and USDS stablecoin are available on all three chains. The stUSDS staked vault, DAI, SKY, and the converter contracts are Ethereum-only.