1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +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 account-import-strategies - ensure privateKey is prefixed before converting to buffer 2018-06-13 21:06:33 -07:00
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 Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Remove reload from Share Address button (#6991) 2019-08-09 15:00:59 -02:30
createStandardProvider.js Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410) 2019-05-03 13:32:05 -04:00
edge-encryptor.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
first-time-state.js controllers - network - move default config out of first-time-state 2018-05-02 18:03:59 -07:00
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 Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
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