/sysutils/safecat/

class='logo' rowspan='2'>cgit logo index : tangerine-wallet-browser
Tangerine fork of MetaMask browser extension (https://github.com/tangerine-network/tangerine-wallet-browser)
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLe Quoc Viet <vietlq85@gmail.com>2018-03-15 16:11:42 +0800
committerGitHub <noreply@github.com>2018-03-15 16:11:42 +0800
commit04079455e36e48433cf8055c8f1f79e1e7e18298 (patch)
treed7de2a6603b67b56abacf09bee4d2bbbfe886b8f
parent5bdee96e73f65a0b369277e9c56b0afe5159e65b (diff)
parente2efc91aee64072c408ab509219dcbfb389c7609 (diff)
downloadtangerine-wallet-browser-04079455e36e48433cf8055c8f1f79e1e7e18298.tar.gz
tangerine-wallet-browser-04079455e36e48433cf8055c8f1f79e1e7e18298.tar.zst
tangerine-wallet-browser-04079455e36e48433cf8055c8f1f79e1e7e18298.zip
Merge pull request #1 from MetaMask/master
Merge from the source
Diffstat
-rw-r--r--.babelrc2
-rw-r--r--.circleci/config.yml202
-rw-r--r--.eslintignore3
-rw-r--r--.eslintrc12
-rw-r--r--.gitignore9
-rw-r--r--.nsprc3
-rw-r--r--.stylelintignore10
-rw-r--r--.stylelintrc50
-rw-r--r--CHANGELOG.md140
-rw-r--r--Dockerfile5
-rw-r--r--ISSUE_TEMPLATE6
-rw-r--r--LICENSE40
-rw-r--r--README.md5
-rw-r--r--app/_locales/en/messages.json605
-rw-r--r--app/_locales/fr/messages.json609
-rw-r--r--app/_locales/ko/messages.json10
-rw-r--r--app/fonts/DIN Next/DIN Next W01 Bold.otfbin0 -> 106032 bytes
-rw-r--r--app/fonts/DIN Next/DIN Next W01 Regular.otfbin0 -> 106580 bytes
-rw-r--r--app/fonts/DIN Next/DIN Next W10 Black.otfbin0 -> 105972 bytes
-rw-r--r--app/fonts/DIN Next/DIN Next W10 Italic.otfbin0 -> 115984 bytes
-rw-r--r--app/fonts/DIN Next/DIN Next W10 Light.otfbin0 -> 108672 bytes
-rw-r--r--app/fonts/DIN Next/DIN Next W10 Medium.otfbin0 -> 105684 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-2.otfbin0 -> 44144 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-Bold 2.otfbin0 -> 45564 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-BoldItalic.otfbin0 -> 49684 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-Italic 2.otfbin0 -> 47956 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-Medium 2.otfbin0 -> 44652 bytes
-rw-r--r--app/fonts/DIN_OT/DINOT-MediumItalic 2.otfbin0 -> 47732 bytes
-rw-r--r--app/fonts/Font_Awesome/font-awesome.min.css4
-rwxr-xr-xapp/fonts/Lato/Lato-Black.ttfbin0 -> 114588 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-BlackItalic.ttfbin0 -> 111616 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-Bold.ttfbin0 -> 121788 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-BoldItalic.ttfbin0 -> 120312 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-Hairline.ttfbin0 -> 115316 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-HairlineItalic.ttfbin0 -> 91460 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-Italic.ttfbin0 -> 118352 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-Light.ttfbin0 -> 122524 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-LightItalic.ttfbin0 -> 91600 bytes
-rwxr-xr-xapp/fonts/Lato/Lato-Regular.ttfbin0 -> 120196 bytes
-rwxr-xr-xapp/fonts/Lato/OFL.txt93
-rw-r--r--app/fonts/Roboto/Roboto-Black.ttfbin0 -> 142472 bytes
-rw-r--r--app/fonts/Roboto/Roboto-BlackItalic.ttfbin0 -> 149644 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Bold.ttfbin0 -> 135820 bytes
-rw-r--r--app/fonts/Roboto/Roboto-BoldItalic.ttfbin0 -> 144700 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Italic.ttfbin0 -> 148540 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Light.ttfbin0 -> 140276 bytes
-rw-r--r--app/fonts/Roboto/Roboto-LightItalic.ttfbin0 -> 145932 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Medium.ttfbin0 -> 137308 bytes
-rw-r--r--app/fonts/Roboto/Roboto-MediumItalic.ttfbin0 -> 147876 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Regular.ttfbin0 -> 145348 bytes
-rw-r--r--app/fonts/Roboto/Roboto-Thin.ttfbin0 -> 130044 bytes
-rw-r--r--app/fonts/Roboto/Roboto-ThinItalic.ttfbin0 -> 132376 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-Bold.ttfbin0 -> 141796 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-BoldItalic.ttfbin0 -> 145256 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-Italic.ttfbin0 -> 144404 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-Light.ttfbin0 -> 141384 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-LightItalic.ttfbin0 -> 145104 bytes
-rw-r--r--app/fonts/Roboto/RobotoCondensed-Regular.ttfbin0 -> 140396 bytes
-rw-r--r--app/fonts/fonts/FontAwesome.otfbin0 -> 106260 bytes
-rw-r--r--app/fonts/fonts/fontawesome-webfont.eotbin0 -> 68875 bytes
-rw-r--r--app/fonts/fonts/fontawesome-webfont.svg640
-rw-r--r--app/fonts/fonts/fontawesome-webfont.ttfbin0 -> 138204 bytes
-rw-r--r--app/fonts/fonts/fontawesome-webfont.woffbin0 -> 81284 bytes
-rw-r--r--app/fonts/fonts/fontawesome-webfont.woff2bin0 -> 64464 bytes
-rw-r--r--app/images/.DS_Storebin6148 -> 0 bytes
-rw-r--r--app/images/caret-right.svg76
-rw-r--r--app/images/check-white.svg14
-rw-r--r--app/images/coinbase logo.pngbin0 -> 9775 bytes
-rw-r--r--app/images/eth_logo.svg11
-rw-r--r--app/images/import-account.svg18
-rw-r--r--app/images/info-logo.pngbin0 -> 32567 bytes
-rw-r--r--app/images/metamask-fox.svg128
-rw-r--r--app/images/mm-bolt.svg11
-rw-r--r--app/images/mm-info-icon.svg11
-rw-r--r--app/images/open.svg15
-rw-r--r--app/images/plus-btn-white.svg17
-rw-r--r--app/images/popout.svg21
-rw-r--r--app/images/settings.svg46
-rw-r--r--app/images/shapeshift logo.pngbin0 -> 17537 bytes
-rw-r--r--app/manifest.json13
-rw-r--r--app/notification.html4
-rw-r--r--app/popup.html4
-rw-r--r--app/scripts/background.js80
-rw-r--r--app/scripts/config.js22
-rw-r--r--app/scripts/contentscript.js12
-rw-r--r--app/scripts/controllers/balance.js10
-rw-r--r--app/scripts/controllers/blacklist.js1
-rw-r--r--app/scripts/controllers/computed-balances.js29
-rw-r--r--app/scripts/controllers/network.js108
-rw-r--r--app/scripts/controllers/preferences.js45
-rw-r--r--app/scripts/controllers/recent-blocks.js110
-rw-r--r--app/scripts/controllers/transactions.js91
-rw-r--r--app/scripts/edge-encryptor.js69
-rw-r--r--app/scripts/inpage.js17
-rw-r--r--app/scripts/lib/account-tracker.js25
-rw-r--r--app/scripts/lib/config-manager.js11
-rw-r--r--app/scripts/lib/createLoggerMiddleware.js4
-rw-r--r--app/scripts/lib/createOriginMiddleware.js4
-rw-r--r--app/scripts/lib/createProviderMiddleware.js5
-rw-r--r--app/scripts/lib/environment-type.js10
-rw-r--r--app/scripts/lib/events-proxy.js4
-rw-r--r--app/scripts/lib/inpage-provider.js4
-rw-r--r--app/scripts/lib/is-popup-or-notification.js5
-rw-r--r--app/scripts/lib/local-store.js62
-rw-r--r--app/scripts/lib/nodeify.js4
-rw-r--r--app/scripts/lib/nonce-tracker.js2
-rw-r--r--app/scripts/lib/notification-manager.js2
-rw-r--r--app/scripts/lib/pending-balance-calculator.js2
-rw-r--r--app/scripts/lib/pending-tx-tracker.js36
-rw-r--r--app/scripts/lib/port-stream.js2
-rw-r--r--app/scripts/lib/reportFailedTxToSentry.js38
-rw-r--r--app/scripts/lib/seed-phrase-verifier.js48
-rw-r--r--app/scripts/lib/setupMetamaskMeshMetrics.js9
-rw-r--r--app/scripts/lib/setupRaven.js26
-rw-r--r--app/scripts/lib/tx-gas-utils.js67
-rw-r--r--app/scripts/lib/tx-state-history-helper.js10
-rw-r--r--app/scripts/lib/tx-state-manager.js21
-rw-r--r--app/scripts/metamask-controller.js285
-rw-r--r--app/scripts/migrations/020.js41
-rw-r--r--app/scripts/migrations/021.js34
-rw-r--r--app/scripts/migrations/index.js2
-rw-r--r--app/scripts/notice-controller.js44
-rw-r--r--app/scripts/platforms/extension.js14
-rw-r--r--app/scripts/popup-core.js2
-rw-r--r--app/scripts/popup.js34
-rw-r--r--app/scripts/vendor/raven.min.js3
-rw-r--r--circle.yml17
-rw-r--r--development/announcer.js2
-rw-r--r--development/backGroundConnectionModifiers.js26
-rw-r--r--development/genStates.js31
-rw-r--r--development/mock-dev.js (renamed from mock-dev.js)36
-rw-r--r--development/mockExtension.js5
-rw-r--r--development/run-version-bump.js43
-rw-r--r--development/selector.js11
-rw-r--r--development/states/add-token.json132
-rw-r--r--development/states/confirm-new-ui.json154
-rw-r--r--development/states/confirm-sig-requests.json175
-rw-r--r--development/states/first-time.json11
-rw-r--r--development/states/pending-tx.json739
-rw-r--r--development/states/send-edit.json154
-rw-r--r--development/states/send-new-ui.json133
-rw-r--r--development/ui-dev.js (renamed from ui-dev.js)10
-rw-r--r--development/version-bump.js52
-rw-r--r--docker-compose.yml6
-rw-r--r--docs/bumping_version.md33
-rw-r--r--docs/publishing.md6
-rw-r--r--docs/translating-guide.md18
-rw-r--r--gulpfile.js103
-rw-r--r--mascara/server/index.js18
-rw-r--r--mascara/server/util.js2
-rw-r--r--mascara/src/app/buy-ether-widget/index.js198
-rw-r--r--mascara/src/app/first-time/backup-phrase-screen.js255
-rw-r--r--mascara/src/app/first-time/breadcrumbs.js26
-rw-r--r--mascara/src/app/first-time/buy-ether-screen.js200
-rw-r--r--mascara/src/app/first-time/create-password-screen.js139
-rw-r--r--mascara/src/app/first-time/import-account-screen.js204
-rw-r--r--mascara/src/app/first-time/import-seed-phrase-screen.js161
-rw-r--r--mascara/src/app/first-time/index.css877
-rw-r--r--mascara/src/app/first-time/index.js173
-rw-r--r--mascara/src/app/first-time/loading-screen.js17
-rw-r--r--mascara/src/app/first-time/notice-screen.js98
-rw-r--r--mascara/src/app/first-time/spinner.js70
-rw-r--r--mascara/src/app/first-time/unique-image-screen.js40
-rw-r--r--mascara/src/app/shapeshift-form/index.js218
-rw-r--r--notices/archive/notice_2.md2
-rw-r--r--notices/archive/notice_3.md11
-rw-r--r--notices/notice-nonce.json2
-rw-r--r--notices/notices.json2
-rw-r--r--old-ui/.gitignore66
-rw-r--r--old-ui/app/account-detail.js292
-rw-r--r--old-ui/app/accounts/import/index.js119
-rw-r--r--old-ui/app/accounts/import/json.js122
-rw-r--r--old-ui/app/accounts/import/private-key.js67
-rw-r--r--old-ui/app/accounts/import/seed.js30
-rw-r--r--old-ui/app/add-token.js241
-rw-r--r--old-ui/app/app.js707
-rw-r--r--old-ui/app/components/account-dropdowns.js320
-rw-r--r--old-ui/app/components/account-export.js132
-rw-r--r--old-ui/app/components/account-panel.js86
-rw-r--r--old-ui/app/components/balance.js89
-rw-r--r--old-ui/app/components/binary-renderer.js46
-rw-r--r--old-ui/app/components/bn-as-decimal-input.js181
-rw-r--r--old-ui/app/components/buy-button-subview.js262
-rw-r--r--old-ui/app/components/coinbase-form.js63
-rw-r--r--old-ui/app/components/copyButton.js59
-rw-r--r--old-ui/app/components/copyable.js46
-rw-r--r--old-ui/app/components/custom-radio-list.js60
-rw-r--r--old-ui/app/components/dropdown.js (renamed from ui/app/components/dropdown.js)6
-rw-r--r--old-ui/app/components/editable-label.js57
-rw-r--r--old-ui/app/components/ens-input.js170
-rw-r--r--old-ui/app/components/eth-balance.js89
-rw-r--r--old-ui/app/components/fiat-value.js64
-rw-r--r--old-ui/app/components/hex-as-decimal-input.js154
-rw-r--r--old-ui/app/components/identicon.js74
-rw-r--r--old-ui/app/components/loading.js55
-rw-r--r--old-ui/app/components/mascot.js59
-rw-r--r--old-ui/app/components/menu-droppo.js132
-rw-r--r--old-ui/app/components/mini-account-panel.js74
-rw-r--r--old-ui/app/components/network.js131
-rw-r--r--old-ui/app/components/notice.js132
-rw-r--r--old-ui/app/components/pending-msg-details.js50
-rw-r--r--old-ui/app/components/pending-msg.js70
-rw-r--r--old-ui/app/components/pending-personal-msg-details.js60
-rw-r--r--old-ui/app/components/pending-personal-msg.js (renamed from ui/app/components/pending-personal-msg.js)0
-rw-r--r--old-ui/app/components/pending-tx.js (renamed from ui/app/components/pending-tx.js)26
-rw-r--r--old-ui/app/components/pending-typed-msg-details.js59
-rw-r--r--old-ui/app/components/pending-typed-msg.js46
-rw-r--r--old-ui/app/components/qr-code.js80
-rw-r--r--old-ui/app/components/range-slider.js58
-rw-r--r--old-ui/app/components/shapeshift-form.js308
-rw-r--r--old-ui/app/components/shift-list-item.js204
-rw-r--r--old-ui/app/components/tab-bar.js37
-rw-r--r--old-ui/app/components/template.js18
-rw-r--r--old-ui/app/components/token-cell.js72
-rw-r--r--old-ui/app/components/token-list.js204
-rw-r--r--old-ui/app/components/tooltip.js22
-rw-r--r--old-ui/app/components/transaction-list-item-icon.js68
-rw-r--r--old-ui/app/components/transaction-list-item.js232
-rw-r--r--old-ui/app/components/transaction-list.js87
-rw-r--r--old-ui/app/components/typed-message-renderer.js42
-rw-r--r--old-ui/app/conf-tx.js245
-rw-r--r--old-ui/app/config.js (renamed from ui/app/config.js)60
-rw-r--r--old-ui/app/css/debug.css (renamed from ui/app/css/debug.css)0
-rw-r--r--old-ui/app/css/fonts.css372
-rw-r--r--old-ui/app/css/index.css (renamed from ui/app/css/index.css)111
-rw-r--r--old-ui/app/css/lib.css (renamed from ui/app/css/lib.css)2
-rw-r--r--old-ui/app/css/output/index.css5722
-rw-r--r--old-ui/app/css/reset.css (renamed from ui/app/css/reset.css)0
-rw-r--r--old-ui/app/css/transitions.css (renamed from ui/app/css/transitions.css)0
-rw-r--r--old-ui/app/first-time/init-menu.js179
-rw-r--r--old-ui/app/img/identicon-tardigrade.pngbin0 -> 141119 bytes
-rw-r--r--old-ui/app/img/identicon-walrus.pngbin0 -> 388973 bytes
-rw-r--r--old-ui/app/info.js155
-rw-r--r--old-ui/app/infura-conversion.json653
-rw-r--r--old-ui/app/keychains/hd/create-vault-complete.js91
-rw-r--r--old-ui/app/keychains/hd/recover-seed/confirmation.js121
-rw-r--r--old-ui/app/keychains/hd/restore-vault.js165
-rw-r--r--old-ui/app/new-keychain.js29
-rw-r--r--old-ui/app/send.js309
-rw-r--r--old-ui/app/settings.js59
-rw-r--r--old-ui/app/template.js30
-rw-r--r--old-ui/app/unlock.js122
-rw-r--r--old-ui/app/util.js240
-rw-r--r--old-ui/css.js30
-rw-r--r--old-ui/design/00-metamask-SignIn.jpgbin0 -> 57848 bytes
-rw-r--r--old-ui/design/01-metamask-SelectAcc.jpgbin0 -> 76063 bytes
-rw-r--r--old-ui/design/02-metamask-AccDetails.jpgbin0 -> 75780 bytes
-rw-r--r--old-ui/design/02a-metamask-AccDetails-OverToken.jpgbin0 -> 121847 bytes
-rw-r--r--old-ui/design/02a-metamask-AccDetails-OverTransaction.jpgbin0 -> 122075 bytes
-rw-r--r--old-ui/design/02a-metamask-AccDetails.jpgbin0 -> 117570 bytes
-rw-r--r--old-ui/design/02b-metamask-AccDetails-Send.jpgbin0 -> 110143 bytes
-rw-r--r--old-ui/design/03-metamask-Qr.jpgbin0 -> 66052 bytes
-rw-r--r--old-ui/design/05-metamask-Menu.jpgbin0 -> 130264 bytes
-rw-r--r--old-ui/design/chromeStorePics/final_screen_dao_accounts.pngbin0 -> 249708 bytes
-rw-r--r--old-ui/design/chromeStorePics/final_screen_dao_locked.pngbin0 -> 220295 bytes
-rw-r--r--old-ui/design/chromeStorePics/final_screen_dao_notification.pngbin0 -> 214405 bytes
-rw-r--r--old-ui/design/chromeStorePics/final_screen_wei_account.pngbin0 -> 253382 bytes
-rw-r--r--old-ui/design/chromeStorePics/final_screen_wei_notification.pngbin0 -> 193865 bytes
-rw-r--r--old-ui/design/chromeStorePics/icon-128.pngbin0 -> 5770 bytes
-rw-r--r--old-ui/design/chromeStorePics/icon-64.pngbin0 -> 3573 bytes
-rw-r--r--old-ui/design/chromeStorePics/metamask_icon.ai2383
-rw-r--r--old-ui/design/chromeStorePics/promo1400560.pngbin0 -> 261644 bytes
-rw-r--r--old-ui/design/chromeStorePics/promo440280.pngbin0 -> 57471 bytes
-rw-r--r--old-ui/design/chromeStorePics/promo920680.pngbin0 -> 206713 bytes
-rw-r--r--old-ui/design/chromeStorePics/screen_dao_accounts.pngbin0 -> 517598 bytes
-rw-r--r--old-ui/design/chromeStorePics/screen_dao_locked.pngbin0 -> 287108 bytes
-rw-r--r--old-ui/design/chromeStorePics/screen_dao_notification.pngbin0 -> 296498 bytes
-rw-r--r--old-ui/design/chromeStorePics/screen_wei_account.pngbin0 -> 653633 bytes
-rw-r--r--old-ui/design/chromeStorePics/screen_wei_notification.pngbin0 -> 402486 bytes
-rw-r--r--old-ui/design/metamask-logo-eyes.pngbin0 -> 146076 bytes
-rw-r--r--old-ui/design/wireframes/1st_time_use.pngbin0 -> 937556 bytes
-rw-r--r--old-ui/design/wireframes/metamask_wfs_jan_13.pdfbin0 -> 452413 bytes
-rw-r--r--old-ui/design/wireframes/metamask_wfs_jan_13.pngbin0 -> 419066 bytes
-rw-r--r--old-ui/design/wireframes/metamask_wfs_jan_18.pdfbin0 -> 612778 bytes
-rw-r--r--old-ui/example.js123
-rw-r--r--old-ui/lib/contract-namer.js33
-rw-r--r--old-ui/lib/etherscan-prefix-for-network.js21
-rw-r--r--old-ui/lib/icon-factory.js65
-rw-r--r--old-ui/lib/lost-accounts-notice.js23
-rw-r--r--old-ui/lib/persistent-form.js61
-rw-r--r--old-ui/lib/tx-helper.js27
-rw-r--r--package-lock.json22251
-rw-r--r--package.json122
-rw-r--r--test/base.conf.js8
-rw-r--r--test/helper.js4
-rw-r--r--test/integration/index.js2
-rw-r--r--test/integration/lib/add-token.js126
-rw-r--r--test/integration/lib/confirm-sig-requests.js57
-rw-r--r--test/integration/lib/first-time.js99
-rw-r--r--test/integration/lib/mascara-first-time.js118
-rw-r--r--test/integration/lib/send-new-ui.js178
-rw-r--r--test/lib/migrations/002.json1
-rw-r--r--test/lib/shallow-with-store.js20
-rw-r--r--test/lib/util.js53
-rw-r--r--test/stub/blacklist.json1374
-rw-r--r--test/stub/provider.js16
-rw-r--r--test/unit/actions/tx_test.js3
-rw-r--r--test/unit/blacklist-controller-test.js2
-rw-r--r--test/unit/components/balance-component-test.js45
-rw-r--r--test/unit/components/pending-tx-test.js92
-rw-r--r--test/unit/development/sample-changelog.md914
-rw-r--r--test/unit/development/sample-manifest.json71
-rw-r--r--test/unit/development/version–bump-test.js43
-rw-r--r--test/unit/edge-encryptor-test.js101
-rw-r--r--test/unit/message-manager-test.js4
-rw-r--r--test/unit/metamask-controller-test.js103
-rw-r--r--test/unit/migrations/021-test.js16
-rw-r--r--test/unit/network-contoller-test.js46
-rw-r--r--test/unit/pending-balance-test.js2
-rw-r--r--test/unit/pending-tx-test.js154
-rw-r--r--test/unit/preferences-controller-test.js48
-rw-r--r--test/unit/responsive/components/dropdown-test.js116
-rw-r--r--test/unit/seed-phrase-verifier-test.js133
-rw-r--r--test/unit/tx-controller-test.js54
-rw-r--r--test/unit/tx-gas-util-test.js32
-rw-r--r--test/unit/tx-state-manager-test.js47
-rw-r--r--test/unit/ui/add-token.spec.js43
-rw-r--r--test/unit/util_test.js12
-rw-r--r--ui/app/account-and-transaction-details.js33
-rw-r--r--ui/app/account-detail.js184
-rw-r--r--ui/app/accounts/import/index.js50
-rw-r--r--ui/app/accounts/import/json.js189
-rw-r--r--ui/app/accounts/import/private-key.js73
-rw-r--r--ui/app/accounts/import/seed.js6
-rw-r--r--ui/app/accounts/new-account/create-form.js100
-rw-r--r--ui/app/accounts/new-account/index.js82
-rw-r--r--ui/app/actions.js1013
-rw-r--r--ui/app/add-token.js516
-rw-r--r--ui/app/app.js687
-rw-r--r--ui/app/components/account-dropdowns.js26
-rw-r--r--ui/app/components/account-export.js15
-rw-r--r--ui/app/components/account-menu/index.js161
-rw-r--r--ui/app/components/balance-component.js121
-rw-r--r--ui/app/components/bn-as-decimal-input.js19
-rw-r--r--ui/app/components/buy-button-subview.js19
-rw-r--r--ui/app/components/coinbase-form.js7
-rw-r--r--ui/app/components/copyButton.js3
-rw-r--r--ui/app/components/copyable.js3
-rw-r--r--ui/app/components/currency-input.js103
-rw-r--r--ui/app/components/customize-gas-modal/gas-modal-card.js54
-rw-r--r--ui/app/components/customize-gas-modal/gas-slider.js50
-rw-r--r--ui/app/components/customize-gas-modal/index.js299
-rw-r--r--ui/app/components/dropdowns/account-dropdown-mini.js75
-rw-r--r--ui/app/components/dropdowns/account-options-dropdown.js29
-rw-r--r--ui/app/components/dropdowns/account-selection-dropdown.js29
-rw-r--r--ui/app/components/dropdowns/components/account-dropdowns.js466
-rw-r--r--ui/app/components/dropdowns/components/dropdown.js113
-rw-r--r--ui/app/components/dropdowns/components/menu.js51
-rw-r--r--ui/app/components/dropdowns/components/network-dropdown-icon.js28
-rw-r--r--ui/app/components/dropdowns/index.js17
-rw-r--r--ui/app/components/dropdowns/network-dropdown.js337
-rw-r--r--ui/app/components/dropdowns/simple-dropdown.js92
-rw-r--r--ui/app/components/dropdowns/token-menu-dropdown.js52
-rw-r--r--ui/app/components/editable-label.js114
-rw-r--r--ui/app/components/ens-input.js11
-rw-r--r--ui/app/components/eth-balance.js107
-rw-r--r--ui/app/components/fiat-value.js20
-rw-r--r--ui/app/components/hex-as-decimal-input.js9
-rw-r--r--ui/app/components/identicon.js107
-rw-r--r--ui/app/components/input-number.js73
-rw-r--r--ui/app/components/loading.js65
-rw-r--r--ui/app/components/mascot.js6
-rw-r--r--ui/app/components/menu-droppo.js8
-rw-r--r--ui/app/components/modals/account-details-modal.js76
-rw-r--r--ui/app/components/modals/account-modal-container.js75
-rw-r--r--ui/app/components/modals/buy-options-modal.js96
-rw-r--r--ui/app/components/modals/deposit-ether-modal.js198
-rw-r--r--ui/app/components/modals/edit-account-name-modal.js78
-rw-r--r--ui/app/components/modals/export-private-key-modal.js139
-rw-r--r--ui/app/components/modals/hide-token-confirmation-modal.js75
-rw-r--r--ui/app/components/modals/index.js5
-rw-r--r--ui/app/components/modals/modal.js355
-rw-r--r--ui/app/components/modals/new-account-modal.js107
-rw-r--r--ui/app/components/modals/notification-modal.js75
-rw-r--r--ui/app/components/modals/notification-modals/confirm-reset-account.js46
-rw-r--r--ui/app/components/modals/shapeshift-deposit-tx-modal.js40
-rw-r--r--ui/app/components/network.js95
-rw-r--r--ui/app/components/notice.js10
-rw-r--r--ui/app/components/pending-msg-details.js4
-rw-r--r--ui/app/components/pending-msg.js15
-rw-r--r--ui/app/components/pending-personal-msg-details.js4
-rw-r--r--ui/app/components/pending-tx/confirm-deploy-contract.js349
-rw-r--r--ui/app/components/pending-tx/confirm-send-ether.js470
-rw-r--r--ui/app/components/pending-tx/confirm-send-token.js463
-rw-r--r--ui/app/components/pending-tx/index.js145
-rw-r--r--ui/app/components/pending-typed-msg-details.js3
-rw-r--r--ui/app/components/pending-typed-msg.js11
-rw-r--r--ui/app/components/qr-code.js45
-rw-r--r--ui/app/components/readonly-input.js33
-rw-r--r--ui/app/components/send-token/index.js440
-rw-r--r--ui/app/components/send/account-list-item.js73
-rw-r--r--ui/app/components/send/currency-display.js116
-rw-r--r--ui/app/components/send/currency-toggle.js44
-rw-r--r--ui/app/components/send/eth-fee-display.js37
-rw-r--r--ui/app/components/send/from-dropdown.js72
-rw-r--r--ui/app/components/send/gas-fee-display-v2.js44
-rw-r--r--ui/app/components/send/gas-fee-display.js62
-rw-r--r--ui/app/components/send/gas-tooltip.js100
-rw-r--r--ui/app/components/send/memo-textarea.js33
-rw-r--r--ui/app/components/send/send-constants.js33
-rw-r--r--ui/app/components/send/send-utils.js68
-rw-r--r--ui/app/components/send/send-v2-container.js85
-rw-r--r--ui/app/components/send/to-autocomplete.js114
-rw-r--r--ui/app/components/send/usd-fee-display.js35
-rw-r--r--ui/app/components/shapeshift-form.js472
-rw-r--r--ui/app/components/shift-list-item.js64
-rw-r--r--ui/app/components/signature-request.js250
-rw-r--r--ui/app/components/tab-bar.js70
-rw-r--r--ui/app/components/token-balance.js113
-rw-r--r--ui/app/components/token-cell.js118
-rw-r--r--ui/app/components/token-list.js163
-rw-r--r--ui/app/components/tooltip-v2.js31
-rw-r--r--ui/app/components/transaction-list-item.js188
-rw-r--r--ui/app/components/transaction-list.js4
-rw-r--r--ui/app/components/tx-list-item.js246
-rw-r--r--ui/app/components/tx-list.js138
-rw-r--r--ui/app/components/tx-view.js149
-rw-r--r--ui/app/components/typed-message-renderer.js4
-rw-r--r--ui/app/components/wallet-content-display.js56
-rw-r--r--ui/app/components/wallet-view.js188
-rw-r--r--ui/app/conf-tx.js188
-rw-r--r--ui/app/conversion-util.js221
-rw-r--r--ui/app/css/fonts.css36
-rw-r--r--ui/app/css/index.scss14
-rw-r--r--ui/app/css/itcss/base/index.scss7
-rw-r--r--ui/app/css/itcss/components/account-dropdown-mini.scss48
-rw-r--r--ui/app/css/itcss/components/account-dropdown.scss83
-rw-r--r--ui/app/css/itcss/components/account-menu.scss133
-rw-r--r--ui/app/css/itcss/components/add-token.scss343
-rw-r--r--ui/app/css/itcss/components/buttons.scss142
-rw-r--r--ui/app/css/itcss/components/confirm.scss324
-rw-r--r--ui/app/css/itcss/components/currency-display.scss57
-rw-r--r--ui/app/css/itcss/components/editable-label.scss35
-rw-r--r--ui/app/css/itcss/components/footer.scss4
-rw-r--r--ui/app/css/itcss/components/gas-slider.scss51
-rw-r--r--ui/app/css/itcss/components/header.scss121
-rw-r--r--ui/app/css/itcss/components/hero-balance.scss115
-rw-r--r--ui/app/css/itcss/components/index.scss60
-rw-r--r--ui/app/css/itcss/components/loading-overlay.scss21
-rw-r--r--ui/app/css/itcss/components/menu.scss59
-rw-r--r--ui/app/css/itcss/components/modal.scss869
-rw-r--r--ui/app/css/itcss/components/network.scss160
-rw-r--r--ui/app/css/itcss/components/new-account.scss220
-rw-r--r--ui/app/css/itcss/components/newui-sections.scss335
-rw-r--r--ui/app/css/itcss/components/request-signature.scss230
-rw-r--r--ui/app/css/itcss/components/sections.scss476
-rw-r--r--ui/app/css/itcss/components/send.scss887
-rw-r--r--ui/app/css/itcss/components/settings.scss206
-rw-r--r--ui/app/css/itcss/components/simple-dropdown.scss65
-rw-r--r--ui/app/css/itcss/components/tab-bar.scss23
-rw-r--r--ui/app/css/itcss/components/token-list.scss111
-rw-r--r--ui/app/css/itcss/components/tooltip.scss7
-rw-r--r--ui/app/css/itcss/components/transaction-list.scss264
-rw-r--r--ui/app/css/itcss/components/wallet-balance.scss74
-rw-r--r--ui/app/css/itcss/components/welcome-screen.scss59
-rw-r--r--ui/app/css/itcss/generic/index.scss223
-rw-r--r--ui/app/css/itcss/generic/reset.scss147
-rw-r--r--ui/app/css/itcss/objects/index.scss1
-rw-r--r--ui/app/css/itcss/settings/index.scss3
-rw-r--r--ui/app/css/itcss/settings/typography.scss405
-rw-r--r--ui/app/css/itcss/settings/variables.scss85
-rw-r--r--ui/app/css/itcss/tools/index.scss1
-rw-r--r--ui/app/css/itcss/tools/utilities.scss309
-rw-r--r--ui/app/css/itcss/trumps/index.scss72
-rw-r--r--ui/app/first-time/init-menu.js50
-rw-r--r--ui/app/info.js7
-rw-r--r--ui/app/keychains/hd/create-vault-complete.js9
-rw-r--r--ui/app/keychains/hd/restore-vault.js28
-rw-r--r--ui/app/main-container.js47
-rw-r--r--ui/app/reducers.js32
-rw-r--r--ui/app/reducers/app.js138
-rw-r--r--ui/app/reducers/metamask.js233
-rw-r--r--ui/app/root.js4
-rw-r--r--ui/app/select-app.js68
-rw-r--r--ui/app/selectors.js189
-rw-r--r--ui/app/send-v2.js629
-rw-r--r--ui/app/send.js840
-rw-r--r--ui/app/settings.js462
-rw-r--r--ui/app/token-tracker.js0
-rw-r--r--ui/app/token-util.js45
-rw-r--r--ui/app/unlock.js125
-rw-r--r--ui/app/util.js48
-rw-r--r--ui/app/welcome-screen.js56
-rw-r--r--ui/css.js7
-rw-r--r--ui/i18n.js33
-rw-r--r--ui/index.js15
-rw-r--r--ui/lib/account-link.js26
-rw-r--r--ui/lib/blockies.js364
-rw-r--r--ui/lib/feature-toggle-utils.js11
-rw-r--r--ui/lib/icon-factory.js2
-rw-r--r--ui/lib/is-mobile-view.js5
-rw-r--r--ui/lib/tx-helper.js2
-rw-r--r--yarn.lock12549
493 files changed, 85254 insertions, 3078 deletions