1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/app/scripts
Whymarrh Whitby 86b165ea83
Add migration notification for users with Sai (#7450)
Maker has upgraded its Dai token to "Multi-Collateral Dai" (MCD) and requires
all users interacting with Dai migrate their tokens to the new version. Dai
now exclusively refers to Multi-Collateral Dai and what was previouly called
Dai is now Sai (Single Collateral Dai).

In this description, Sai refers to what was (prior to the 2019-11-18) known as Dai.
Dai is the _new_ token.

This changeset:

1. Only affects users who had non-zero Sai at the old contract address
2. Displays a persistent notification for users with Sai
3. Updates the token symbol for users already tracking the Sai token
4. Bumps our direct and indirect eth-contract-metadata dependencies

The notification copy:

> A message from Maker: The new Multi-Collateral Dai token has been released. Your old tokens are now called Sai. Please upgrade your Sai tokens to the new Dai.

The copy is from the Maker team.
2019-11-18 18:16:28 -03:30
..
account-import-strategies
controllers Ensure Etherscan result is valid before reading it (#7426) 2019-11-15 13:47:42 -03:30
lib Added webRequest.RequestFilter to filter main_frame .eth requests (#7419) 2019-11-15 14:23:46 -04:00
migrations Add migration notification for users with Sai (#7450) 2019-11-18 18:16:28 -03:30
platforms Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
background.js Update badge colour 2019-11-14 18:19:03 -04:00
chromereload.js
contentscript.js Remove reload from Share Address button (#6991) 2019-08-09 15:00:59 -02:30
createStandardProvider.js
edge-encryptor.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
first-time-state.js
inpage.js Add web3 deprecation warning (#7334) 2019-10-31 21:56:02 -02:30
metamask-controller.js ENS Reverse Resolution support (#7177) 2019-11-01 15:24:00 -02:30
phishing-detect.js
README.md
ui.js Freeze Promise global on boot (#7309) 2019-10-24 06:54:32 -07:00

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples