Skip to content

makerdao/sky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72905f4 · Oct 7, 2024

History

45 Commits
Aug 27, 2024
Oct 7, 2024
Aug 27, 2024
Sep 11, 2024
Apr 26, 2024
Aug 27, 2024
Sep 11, 2024
May 3, 2023
May 3, 2023
May 29, 2023
May 3, 2023
Aug 27, 2024
Aug 27, 2024
Apr 26, 2024

Repository files navigation

SKY Token and contract associated

This repository includes 2 smart contracts:

  • SKY token
  • MkrSky Converter

SKY token

This is a standard erc20 implementation with regular permit functionality + EIP-1271 smart contract signature validation. In principle PauseProxy and MkrSky would be the only two contracts set as wards(address).

MkrSky

It is a converter between Mkr and Sky (both ways). Using the mint and burn capabilities of both tokens it is possible to exchange one to the other. The exchange rate is 1:rate (value defined as immutable).

Note: if one of the tokens removes mint capabilities to this contract, it means that the path which gives that token to the user won't be available.

Note 2: In the MKR -> SKY conversion, if the user passes a wad amount not multiple of rate, it causes that a dusty value will be lost.