aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
Commit message (Collapse)AuthorAgeFilesLines
* lint cleanupMathew Kamkar2019-05-251-2/+0
|
* Enable Ledger hardware wallet support on FirefoxMathew Kamkar2019-05-251-6/+0
| | | Firefox 67 support U2F by default
* Ensures that transactions cannot be confirmed if gas limit is below 21000. ↵Dan J Miller2019-05-232-2/+24
| | | | (#6625)
* Remove unused fn arguments in AmountMaxButtonWhymarrh Whitby2019-05-211-1/+1
|
* MetaMetrics documentation (#6624)Dan J Miller2019-05-211-9/+44
|
* Improved UX for sweeping accounts (#6488)Etienne Dusseault2019-05-2119-52/+293
| | | | | | | | | | | | * Changed max button to checkbox, disabled input if max mode is on, recalculate price according to gas fee if max mode is on * Disabled insufficient funds message in the modal if max mode is on, displays proper amounts in modal when max mode is on, sets the send amount according to custom gas price after gas modal save, resets the send amount after resetting custom gas price * Disabled max mode checkbox if gas buttons are loading, refactored gas-modal-page-container * Implemented new max button & max mode message. Moved insufficient funds error to underneath the send amount field * Fixed existing integration test to pass, created new tests to ensure send amount field is disabled when max button is clicked and the amount changes when the gas price is changed. Refactored some components
* fixed #5524Alex Ivasyuv2019-05-153-10/+63
|
* Update auto-logout to recognize idle time in background (#6593)Whymarrh Whitby2019-05-142-12/+19
| | | | | | * Fix wording of autoLogoutTimeLimitDescription * AppStateController and update auto-logout functionality
* Fix RPC URL message key casing (#6595)Whymarrh Whitby2019-05-101-1/+1
|
* New settings custom rpc form (#6490)Dan J Miller2019-05-1021-29/+939
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-0946-100/+82
| | | | | | | | | | * eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
* Auto logout after specific time (#6558)Chi Kei Chan2019-05-096-6/+176
| | | | | | | | | | | | | | | | | | | | * Add i18n strings * Finish Auto timeout * Fix linter * Fix copies * Add unit test to Advanced Tab component * Add back actions and container * Add basic test to ensure container completeness * No zero, fix linters * restrict negative in input
* Remove KNOWN_ADDRESS_ERROR from error objects (#6578)Chi Kei Chan2019-05-092-7/+6
| | | | | | * Remove KNOWN_ADDRESS_ERROR from error objects * Update test comments
* Use metricsEvent in AmountMaxButton componentWhymarrh Whitby2019-05-082-5/+15
|
* Allow dragging seed phrase during Confirm Seed Phrase (#6557)Chi Kei Chan2019-05-076-127/+565
| | | | | | | | | | | | | | | | | | | | | | | | * Add basic drag and drop functionality * Refactor seed phrase data structure * Insert to list when drop * Save before refactor * Finish DND * Fix linter * update package-lock.json * Address styling feedbacks * Add box shadow on hover * Finish adding unit tests * Remove describe.only
* Skip null and undefined keys when translating via context (#6543)Whymarrh Whitby2019-05-071-0/+10
| | | | | | * i18n: Don't translate null or undefined keys * Add JSDoc for I18nProvider#t context fn
* Add suffix to title text only when it exists (#6546)Whymarrh Whitby2019-05-061-1/+1
|
* Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410)kumavis2019-05-044-21/+20
| | | | | | | | | | * Ensure home screen does not render if there are unapproved txs (#6501) * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount. * inpage - revert _metamask api to isEnabled isApproved isUnlocked
* Use tOrKey for actionKey in ConfirmTransactionBaseWhymarrh Whitby2019-05-011-1/+3
|
* Fix binding of this for I18nProvider#tOrKeyWhymarrh Whitby2019-05-011-1/+1
|
* Send metrics event from backend for on chain transaction failures (#6500)Dan J Miller2019-04-293-4/+17
| | | | | | * Send metrics event from backend for on chain transaction failures * Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
* Add subheader to all settings subviews (#6502)Chi Kei Chan2019-04-292-5/+39
| | | | | | * Add subheader to all settings subviews * add margin right to subheader
* Ensure home screen does not render if there are unapproved txs (#6501)Dan J Miller2019-04-272-8/+18
| | | | | | * Ensure that the confirm screen renders before the home screen if there are unapproved txs. * Only render confirm screen before home screen on mount.
* Revert "Adds 4byte registry fallback to getMethodData() (#6435)"Thomas Huang2019-04-272-28/+4
| | | | This reverts commit 09f2a2a5476c4c119c7294f496f6590156d8d07a.
* Always show private network when RPC is not whitelisted (#6495)Chi Kei Chan2019-04-261-4/+1
|
* Fix button colors on mobile (#6493)Chi Kei Chan2019-04-251-0/+3
|
* Set max-width on network dropdown and ellipsis long network name (#6494)Chi Kei Chan2019-04-252-2/+22
|
* Merge pull request #6481 from MetaMask/address-prop-types-errorsThomas Huang2019-04-183-3/+4
|\ | | | | Address prop types errors
| * Ensure future tokens add decimals as numbers while supporting numbers and ↵Dan Miller2019-04-182-2/+2
| | | | | | | | strings in send-asset-row
| * getSeletedAsset to only return symbol strings, not token objectsDan Miller2019-04-181-1/+2
| |
* | Make height consistent on all row in send-content (#6480)Chi Kei Chan2019-04-185-13/+28
| | | | | | | | | | | | | | | | * Update all send-content row to 54px height * Remove header subtitle * Remove tests that check for send screen subheader
* | Merge pull request #6477 from MetaMask/metrics-screen-button-typeThomas Huang2019-04-181-1/+1
|\ \ | |/ |/| Update button type on metrics opt-in screen.
| * Update button type on metrics opt-in screen.Dan Miller2019-04-181-1/+1
| |
* | Merge pull request #6475 from chikeichan/send-assetThomas Huang2019-04-181-1/+1
|\ \ | | | | | | Fix PropTypes validation in send-asset-row
| * | Fix PropTypes validation in send-asset-rowChi Kei Chan2019-04-181-1/+1
| | |
* | | Update confirm to use btn-primary (#6473)Chi Kei Chan2019-04-181-5/+6
|/ / | | | | | | | | | | | | | | * Update confirm to use btn-primary * Remove console * Fix e2e test
* / Add token selection to the send screen (#6445)Chi Kei Chan2019-04-18135-132/+436
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move send to pages/ * Fix unit tests * Finish UI * Integrate asset dropdown to send actions * Remove console.log * Hide asset change during edit * Enable switch from send token to seand eth * Enable switching from token to eth when editing * Fix linter * Fixing test * Fix unit tests * Fix linter * Fix react warning; remove console.log * fix flat test * Add metrics * Address code review comments * Consistent spacing between send screen form rows. * Reduce height of gas buttons on send screen. * Make send screen gas button height dependent on size of contents.
* Merge pull request #6468 from chikeichan/network-indicator-style-fixThomas Huang2019-04-182-11/+24
|\ | | | | Fix switcher height when Custom RPC is selected or loading
| * Fix switcher height when Custom RPC is selected or when network is loadingChi Kei Chan2019-04-172-11/+24
| |
* | feature: add Goerli support (#6459)Paul Bouchon2019-04-1811-7/+71
|/
* Merge pull request #6444 from MetaMask/localhost-network-dropdownThomas Huang2019-04-174-1/+9
|\ | | | | Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
| * Add Localhost 8545 for network dropdown namesThomas Huang2019-04-114-1/+9
| |
* | Adds 4byte registry fallback to getMethodData() (#6435)Dan J Miller2019-04-172-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | * Get contract method data from 4byte if we can't get it from eth-method-registry * Clarify token method name fallback code in getMethodData * Bugfix: don't attempt to translate falsy actionKeys in confirm-transaction-base.component.js * Rewrite getMethodFrom4Byte with async-await * Call four byte and method-registry requests in parallel in getMethodData()
* | Update buttons & colors to match design system (#6446)Chi Kei Chan2019-04-1749-395/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactoring button styles * renaming buttons * Add Link and Button styles * Update new btn styles and storybook * Fix tests * Change font weight; Update storybook * Fix linter
* | Remove unneeded array cloning in getSendToAccounts selectorWhymarrh Whitby2019-04-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of `Object.entries` here to map the accounts into a new array effectively produces a shallow clone of the array without guaranteeing the order of the original array (as object iteration order is implementation-specific and variable). From MDN [1]: > The **`Object.entries()`** method returns an array of a given object's own enumerable > string-keyed property `[key, value]` pairs, in the same order as that provided by a > `for...in` loop And also: > The ordering of the properties is the same as that given by looping over the > property values of the object manually. Both of which suggest that the iteration order is the same as `for...in`, which is to say that it's not specified. [2] [3] This changeset removes the cloning, keeping the shallow clone created the line before which preserves the order of the items in the array. [1]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries [2]:https://stackoverflow.com/a/5525820/1267663 [3]:https://stackoverflow.com/a/30919039/1267663
* | repeated getSelectedAddress() func send.selectors.js removed (#6056)Sneh Koul2019-04-124-18/+9
|/
* Only pass english function names to functionType metricDan Miller2019-04-093-13/+13
|
* Distinguish between token and eth selected in home screen send button ↵Dan Miller2019-04-081-1/+1
| | | | metrics event.
* Metrics tracking gas changed - slow, average, fast, custom - on edit screen.-Dan Miller2019-04-084-0/+24
|
* Track seed phrase validation errors with MetaMetricsDan Miller2019-04-051-0/+18
|
* Merge pull request #6397 from MetaMask/wyre-deposit-modalkumavis2019-04-041-4/+4
|\ | | | | Change coinbase to wyre
| * Change coinbase to wyreThomas Huang2019-04-041-4/+4
| |
* | Fix display of gas chart on Ethereum networks (#6389)Dan J Miller2019-04-044-3/+7
|/
* Remove NoticeController (#6382)Thomas Huang2019-04-029-434/+1
|
* Remove unused account-dropdowns components (#6363)v6.3.2Whymarrh Whitby2019-04-022-811/+0
|
* Merge pull request #6375 from MetaMask/Version-6.3.1v6.3.1Thomas Huang2019-03-302-1/+9
|\ | | | | Version 6.3.1
| * Check token name constants against the lower case methodData name in conf tx ↵Dan Miller2019-03-301-1/+1
| | | | | | | | switch container.
| * Ensure correct confirm screen in case of smartcontract check failDan Miller2019-03-302-1/+9
| |
* | About tab copy changes; Update route for Info & Help in account menu (#6356)Chi Kei Chan2019-03-302-4/+4
|/
* Revert to providing inline defaults in getHexGasTotal and ↵Dan J Miller2019-03-291-4/+4
| | | | increaseLastGasPrice (#6361)
* Further e2e fixes in wake of #6364 and #6367 (#6374)Dan J Miller2019-03-292-24/+30
| | | | | | | | * getMethodData() default to abi decoded method if registry lookup errors * Update e2e tests to work with getMethodData() fallback changes * Remove indeterminency in gas input key entering in send token e2e test.
* Merge pull request #6328 from MetaMask/clearNoticeskumavis2019-03-291-12/+18
|\ | | | | Clear notices
| * lint fixkumavis2019-03-291-1/+1
| |
| * actions - setCompletedOnboarding - make async with pifykumavis2019-03-291-24/+17
| |
| * Merge branch 'develop' into clearNoticeskumavis2019-03-29969-38032/+38252
| |\
| * | Clear notices when setCompletedOnboarding is calledThomas Huang2019-03-211-4/+17
| | |
* | | Merge pull request #6372 from MetaMask/addAddressIfNewkumavis2019-03-292-2/+5
|\ \ \ | | | | | | | | prevent add duplicates when address is not new
| * | | send-footer.utils.js - addressIsNew - improve readabilitykumavis2019-03-291-1/+3
| | | |
| * | | prevent add duplicates when address is not newJenny Pollack2019-03-292-2/+3
| | |/ | |/|
* | | Merge branch 'develop' of https://github.com/vimalsagar/metamask-extension ↵kumavis2019-03-291-2/+23
|\ \ \ | |/ / |/| | | | | into vimalsagar-develop
| * | depoit-ether-modal - make buyEth args more explicitkumavis2019-03-291-2/+2
| | |
| * | PR 5575 review comment fixesVimal2019-02-281-1/+1
| | |
| * | merging upstream branchVimal2018-11-12155-1008/+3721
| |\ \
| * | | Adding CoinSwitch exchangeVimal2018-10-221-1/+22
| | | |
* | | | Defaults to the args list in increaseLastGasPrice and getHexGasTotalDan Miller2019-03-281-4/+4
| | | |
* | | | getHexGasTotal and increaseLastGasPrice now gracefully handle null and ↵Dan Miller2019-03-281-2/+2
| | | | | | | | | | | | | | | | undefined values
* | | | Open retore-vault route from popup (#6353)Chi Kei Chan2019-03-271-1/+1
| | | |
* | | | Don't include tx value in calculation of balance sufficiency for cancel ↵Dan J Miller2019-03-261-2/+2
| | | | | | | | | | | | | | | | button disabling. (#6346)
* | | | Cancel error rebased (#6341)Dan J Miller2019-03-263-16/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Check balance before showing cancel * Fix linter * Use existing helper methods for calculating increased cancel price * Add tooltip for disabled button * Lint fix for cancelError branch. * Disabling of cancel button should account for value of tx.
* | | | Close transaction on close of notification window (#6340)Dan J Miller2019-03-263-33/+88
| | | |
* | | | New settings page rebased (#6333)Dan J Miller2019-03-2615-567/+946
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New setting tab * Add InfoTab * Add Advanced tab * Add Security Tab * Finish mobile view * Make new setting page responsive * Fix linter * Fix y scrolling * Update link in network dropdown * Fix e2e tests * Remove duplicate translation key * Resolve merge conflict * Only change settings header in popup view. * Place mobile-sync button in advanced-tab of settings
* | | | Replaces the coinbase link in the deposit modal with one for wyre (#6302)Dan J Miller2019-03-221-8/+8
| | | |
* | | | Fix oversized loading overlay on gas customization modal. (#6326)Dan J Miller2019-03-221-0/+4
| | | |
* | | | Fix gas fee in the submitted step of the transaction details activity log. ↵Dan J Miller2019-03-221-2/+11
| | | | | | | | | | | | | | | | (#6301)
* | | | Hide gas price chart and prevent api call when not on ethereum networks. (#6300)Dan J Miller2019-03-229-25/+73
| | | | | | | | | | | | Add missing translations in gas customization modal
* | | | Folder restructure (#6304)Chi Kei Chan2019-03-22957-37539/+37218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove ui/app/keychains/ * Remove ui/app/img/ (unused images) * Move conversion-util to helpers/utils/ * Move token-util to helpers/utils/ * Move /helpers/*.js inside /helpers/utils/ * Move util tests inside /helpers/utils/ * Renameand move confirm-transaction/util.js to helpers/utils/ * Move higher-order-components to helpers/higher-order-components/ * Move infura-conversion.json to helpers/constants/ * Move all utility functions to helpers/utils/ * Move pages directory to top-level * Move all constants to helpers/constants/ * Move metametrics inside helpers/ * Move app and root inside pages/ * Move routes inside helpers/ * Re-organize ducks/ * Move reducers to ducks/ * Move selectors inside selectors/ * Move test out of test folder * Move action, reducer, store inside store/ * Move ui components inside ui/ * Move UI components inside ui/ * Move connected components inside components/app/ * Move i18n-helper inside helpers/ * Fix unit tests * Fix unit test * Move pages components * Rename routes component * Move reducers to ducks/index * Fix bad path in unit test
* | | | Enable mobile sync (#6332)Bruno Barbieri2019-03-222-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enable mobile sync * remove mobile sync as a preference * Fix typo
* | | | Fixing spelling of Ethereum in MetaMetrics copy (#6329)fixanoid2019-03-212-2/+2
| |_|/ |/| |
* | | Allow seed phrases with a trailing newlineWhymarrh Whitby2019-03-131-1/+1
| | |
* | | Merge pull request #6281 from MetaMask/fix-browser-back-on-reveal-seedThomas Huang2019-03-131-2/+2
|\ \ \ | | | | | | | | Fixes the use of the browser back button on the reveal seed screen
| * | | Fixes the use of the browser back button on the reveal seed screenDan Miller2019-03-121-2/+2
| | | |
* | | | ui - add missing PropTypes (#6287)kumavis2019-03-122-0/+3
| | | |
* | | | mascara - remove from project (#6283)kumavis2019-03-124-31/+23
| | | |
* | | | Remove line rather than comment outThomas Huang2019-03-121-4/+0
| | | |
* | | | No longer check network when validating checksum addressesThomas Huang2019-03-121-2/+5
|/ / /
* | | Handle undefined gas limits and prices in transaction-breakdown.component ↵Dan J Miller2019-03-072-21/+38
| | | | | | | | | | | | (#6246)
* | | Add privacy policy link to modal metrics opt-in (#6250)Dan J Miller2019-03-071-1/+7
| | |
* | | Prevent advanced gas input arrows from setting value to < 0 (#6248)Dan J Miller2019-03-072-4/+24
| | |
* | | Only call onRecipient and onSender methods if defined in sender-to-recipient ↵Dan J Miller2019-03-071-2/+6
| | | | | | | | | | | | (#6247)
* | | Fix missing this reference in addtoken button onclick method (#6245)Dan J Miller2019-03-061-1/+2
| | |
* | | Fixes the 'Percentages row tracks and gutters' decpracation warning. (#6244)Dan J Miller2019-03-061-1/+1
| | |
* | | Metametrics fixes (#6238)Dan J Miller2019-03-066-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve opt-in opt-out event tracking after going 'back' in onboarding. * Fix 'Switched Networks' metrics event. * Fix custom variables ids (can only use ids 1-5) * Fix tracking of function type custom variable for metametrics in confirm-transaction-base * Add missing metametrics events
* | | Wrap in spanThomas Huang2019-03-061-1/+1
| | |
* | | Fix MetaMetrics Environment Check (#6235)Dan J Miller2019-03-061-1/+1
| | |
* | | Metametrics (#6171)Dan J Miller2019-03-0581-134/+2014
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add metametrics provider and util. * Add backend api and state for participating in metametrics. * Add frontend action for participating in metametrics. * Add metametrics opt-in screen. * Add metametrics events to first time flow. * Add metametrics events for route changes * Add metametrics events for send and confirm screens * Add metametrics events to dropdowns, transactions, log in and out, settings, sig requests and main screen * Ensures each log in is measured as a new visit by metametrics. * Ensure metametrics is called with an empty string for dimensions params if specified * Adds opt in metametrics modal after unlock for existing users * Adds settings page toggle for opting in and out of MetaMetrics * Switch metametrics dimensions to page level scope * Lint, test and translation fixes for metametrics. * Update design for metametrics opt-in screen * Complete responsive styling of metametrics-opt-in modal * Use new chart image on metrics opt in screens * Incorporate the metametrics opt-in screen into the new onboarding flow * Update e2e tests to accomodate metametrics changes * Mock out metametrics network requests in integration tests * Fix tx-list integration test to support metametrics provider. * Send number of tokens and accounts data with every metametrics event. * Update metametrics event descriptor schema and add new events. * Fix import tos bug and send gas button bug due to metametrics changes. * Various small fixes on the metametrics branch. * Add origin custom variable type to metametrics.util * Fix names of onboarding complete actions (metametrics). * Fix names of Metrics Options actions (metametrics). * Clean up code related to metametrics. * Fix bad merge conflict resolution and improve promise handling in sendMetaMetrics event and confrim tx base * Don't send a second metrics event if user has gone back during first time flow. * Collect metametrics on going back from onboarding create/import. * Add missing custom variable constants for metametrics * Fix metametrics provider * Make height of opt-in modal responsive. * Adjust text content for opt-in modal. * Update metametrics event names and clean up code in opt-in-modal * Put phishing warning step next to last in onboarding flow * Link terms of service on create and import screens of first time flow * Add subtext to options on the onboarding select action screen. * Fix styling of bullet points on end of onboarding screen. * Combine phishing warning and congratulations screens. * Fix placement of users if unlocking after an incomplete onboarding import flow. * Fix capitalization in opt-in screen * Fix last onboarding screen translations * Add link to 'Learn More' on the last screen of onboarding * Code clean up: metametrics branch * Update e2e tests for phishing warning step removal * e2e tests passing on metametrics branch * Different tracking urls for metametrics on development and prod
* | | First time flow updates (#6192)Dan J Miller2019-02-2734-339/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Action select step of onboarding flow added. * Update navigation on create and import password screens. * Adds terms of service checkbox to create and import account screens. * Add security warning to jazzicon intro step * Update and streamline unique image to confirm seed steps of first time flow. * UI touch ups to welcome screen. * UI touch up on select action page * Fix first time import flow. * Add end of flow screen to first time flow * Replace unique image screen with updated fishing warning screen. * Update e2e tests for onboarding flow changes. * Add required translations to onboarding flow. * Update design of select action screen to emphasize create new wallet option. * Clean up onboarding flow code. * Remove notice related code from first-time-flow directory. * Use updater function argument in new-account.component
* | | Show/Hide Fiat on Testnets based on User Preference (#6153)Chi Kei Chan2019-02-2733-99/+1127
| | |
* | | Feature Flag + Mobile Sync (#5955)Dan Finlay2019-02-268-3/+449
| | |
* | | Fix gas estimation when sending to contracts (#6195)Dan J Miller2019-02-266-8/+16
| | | | | | | | | | | | | | | * Fix gas estimation when sending to contracts * Fix calculating of balance sufficiency and tx params when sending token transaction
* | | Merge pull request #6184 from chikeichan/6132Dan J Miller2019-02-202-1/+26
|\ \ \ | | | | | | | | turn camcelCase method name to space separated
| * | | turn camcelCase method name to space separatedChi Kei Chan2019-02-192-1/+26
| | | |
* | | | Merge pull request #6185 from chikeichan/5681Dan J Miller2019-02-201-5/+0
|\ \ \ \ | | | | | | | | | | Remove password check when importing Account JSON
| * | | | Remove password check when importing Account JSONChi Kei Chan2019-02-191-5/+0
| |/ / /
* / / / Change "Token Address" to "Token Contract Address" (#6182)Chi Kei Chan2019-02-201-1/+1
|/ / /
* | | Add Copy Tx ID button to transaction-list-item-details (#6146)Chi Kei Chan2019-02-173-2/+36
| | | | | | | | | | | | | | | | | | * Add Copy Tx ID button to transaction-list-item-details * Move justCopied toggle timeout inside setState callback
* | | Checksum address before slicing it for the confirm screen (#6133)Whymarrh Whitby2019-02-141-2/+6
| | |
* | | Fixed issue #5838 (#6001)Jonathan Smirnoff2019-02-1410-17/+37
| | | | | | | | | Update changelog file
* | | Add button to force edit token symbol when adding custom token (#6147)Chi Kei Chan2019-02-132-2/+38
| | |
* | | Merge pull request #6139 from whymarrh/fix-confirm-advanced-gasWhymarrh Whitby2019-02-121-1/+1
|\ \ \ | | | | | | | | Fix advanced gas controls on the confirm screen
| * | | Fix advanced gas controls on the confirm screenWhymarrh Whitby2019-02-121-1/+1
| | | |
* | | | Trim whitespace from seed phrase during importWhymarrh Whitby2019-02-121-2/+4
|/ / / | | | | | | | | | Somehow we lost 33b85cf2e
* | | Add e2e tests adjusting gas before sendingWhymarrh Whitby2019-02-091-2/+6
| | |
* | | Fix inline advanced gas editingWhymarrh Whitby2019-02-096-64/+51
| | |
* | | implement class for sign footer button (#6120)Brandon Wissmann2019-02-081-0/+1
| | |
* | | Set custom gas data in state from inline advance gas controls on send screen ↵Dan J Miller2019-02-072-2/+11
| | | | | | | | | | | | (#6114)
* | | Add Swap feature to CurrencyInput (#6091)Chi Kei Chan2019-02-067-45/+151
| | | | | | | | | | | | | | | | | | | | | | | | * Add Swap feature to CurrencyInput * Fix linter error * Fix and Add unit tests
* | | Change gas labels to Slow/Average/Fast (#6090)Chi Kei Chan2019-02-062-60/+60
| | | | | | | | | | | | | | | | | | * Change gas labels to Slow/Average/Fast * Fix unit test
* | | Add togglable advanced gas controls on send and confirm screens (#6112)Dan J Miller2019-02-0619-36/+597
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Extract advanced gas input controls to their own component * Add advanced inline gas toggle to settings * Add optional advanced inline gas to send send screen * Adds optional advanced gas inputs to the confirm screen * Add info modals for advanced gas inputs. * Fix translation of advance gas toggle description. * Lint and unit test fixes for inline-advanced-gas-inputs * Increase margin above advanced options button on send screen * Move methods from constructor to property syntax in advanced-gas-inputs.component
* | | Add announcement for users migrated to the new UIWhymarrh Whitby2019-02-0512-49/+117
| | |
* | | Default to the new UI for all usersWhymarrh Whitby2019-02-055-96/+11
| | |
* | | Remove commented references to Beta UIWhymarrh Whitby2019-02-051-18/+0
| | |
* | | Remove "Use old UI" settingWhymarrh Whitby2019-02-052-37/+1
| | |
* | | EIP-1102 updates (#6006)Paul Bouchon2019-01-314-10/+12
| | | | | | | | | | | | | | | | | | * Update privacy notice * Respond to 1102 messages using tab ID
* | | Remove unused InitializeMenuScreen component (#6075)Whymarrh Whitby2019-01-311-224/+0
| | |
* | | Add visual indicator when displaying a cached balance (#5854)Dan J Miller2019-01-3014-31/+151
| | |
* | | I#5956 fix2 dont overwrite existing rpc settings (#6044)Frankie2019-01-304-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mm-controller - dont overwrite existing rpc settings * ui-networkDropdown - dont pass old network as chainId * add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc * use updateAndSetCustomRpc in settings to allow rpcs to be updated * use new rpc as nickname if no nick name has been supplied * fix update rpc method
* | | Order shapeshift transactions by time within the transactions listAlexander Tseung2019-01-251-12/+32
| | |
* | | Prevent send to token warning (#6058)Esteban Miño2019-01-2420-11/+242
| | |
* | | Refactor first time flow, remove seed phrase from state (#5994)Alexander Tseung2019-01-2380-447/+2485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state * Fix linting and tests * Fix translations, initialization notice routing * Fix drizzle tests * Fix e2e tests * Fix integration tests * Fix styling * Fix migration naming from 030 to 031 * Open extension in browser when user has not completed onboarding
* | | Prevent send to token (#6051)Esteban Miño2019-01-238-3/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check contact metadata * check for tokens in state * tests * update tests * validation only if sending tokens * container test
* | | Use Parity on-chain registry only when is needed (#6052)Esteban Miño2019-01-235-6/+46
| | | | | | | | | | | | | | | | | | * add and use knownMethodData to avoid infura requests * dataMethod to methodData and check empty response
* | | Refactor BalanceComponent to jsx (#6048)Alexander Tseung2019-01-216-250/+121
| | |
* | | I#5956 fix 1 (#6026)Frankie2019-01-181-0/+3
| | | | | | | | | | | | | | | * prevent invalid chainId's when adding cusstom rpcs * migration 30 removes invalid chaids from preferences and networkController for custom rpcs
* | | Fix grammar error in Current Conversion (#6029)Alexander Tseung2019-01-171-1/+1
| | |
* | | Disable account dropdown on signing screens (#6024)Alexander Tseung2019-01-175-85/+195
| | |
* | | Fix confirm screen for sending ether tx with hex data (#6008)Alexander Tseung2019-01-111-0/+6
| | |
* | | Fix ERC20 token value decoding (#5995)Hsuan Lee2019-01-041-1/+1
| | | | | | | | | When MetaMask user calls non-standard ERC20 methods such as `mint`, `tokenData` will be `undefined` and an uncaught error will break the UI
* | | Fix Component#componentDidUpdate usage (#5977)Bowen2019-01-041-3/+3
| | |
* | | Add scrolling button to account listAlexander Tseung2019-01-047-255/+394
| | |
* | | Prevent users from changing the From field in the send screen (#5922)Alexander Tseung2018-12-1419-440/+27
| | | | | | | | | | | | | | | | | | * Prevent users from changing the From field in the send screen * Fix integration tests
* | | Fix displayed time and date in the activity log. Remove vreme library, add ↵Alexander Tseung2018-12-143-10/+5
| | | | | | | | | | | | luxon library. (#5932)
* | | Merge pull request #5893 from MetaMask/loading-network-screenDan J Miller2018-12-1413-36/+330
|\ \ \ | | | | | | | | Loading network screen
| * | | Clean up for the loading-network-screenDan Miller2018-12-133-33/+24
| | | |
| * | | Improve styling of loading retry / error screenDan Miller2018-12-131-0/+6
| | | |
| * | | Adds network loading retry / error screen.Dan Miller2018-12-1310-2/+266
| | | |
| * | | Add identifier of private network to the network loading screen message.Dan Miller2018-12-133-7/+20
| | | |
| * | | Add spinner and dropdown arrow to network indicator on custom network loading.Dan Miller2018-12-132-27/+47
| | | |
* | | | Fix speed up button not showing for transactions with the lowest nonce (#5925)Alexander Tseung2018-12-131-3/+3
|/ / /
* | | Show transaction fee instead of total fee in top left of gas customization ↵Dan Miller2018-12-134-9/+9
| | | | | | | | | | | | modal.
* | | Fix width of gas customization model in notification viewDan Miller2018-12-132-3/+4
| | |
* | | Add missing translation to the gas customization component.Dan Miller2018-12-135-14/+17
| | |
* | | Ensures that advanced tab gas limit reflects tx gas limitDan Miller2018-12-125-11/+7
| | |
* | | Add submitDisabled prop to Modals. Disable submit button when creating a ↵Alexander Tseung2018-12-124-2/+44
| | | | | | | | | | | | cancel transaction (#5910)
* | | Improve ux for low gas price set (#5862)Dan J Miller2018-12-1111-66/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show user warning if they set gas price below safelow minimum, error if 0. * Properly cache basic price estimate data. * Default retry price to recommended price if original price was 0x0 * Use mock fetch in send-new-ui integration tests.
* | | fix formatting of 32-byte strings in personal_sign (#5878)Noah Zinsmeister2018-12-101-1/+1
| | |
* | | Group transactions by nonce (#5886)Alexander Tseung2018-12-1034-336/+1132
| | |
* | | Replace height: 100% rule with workaround for flexbox quirksWhymarrh Whitby2018-12-061-1/+2
| | |
* | | Fix styling of send screen in extension view when hex data on.Dan Miller2018-12-044-12/+17
| | |
* | | Final gas customization fixesDan Miller2018-12-0417-103/+197
| | |
* | | Clear custom gas data on hiding of gas customization modal.Dan Miller2018-12-041-4/+12
| | |
* | | Modify results of API data to better fit gas chart: remove outliers, pad dataDan Miller2018-12-045-44/+126
| | |
* | | Add loading spinners when waiting for APIs in the gas customization modalDan Miller2018-12-049-6/+61
| | |
* | | Uses more reliable api on main send screen; caches basic api results in modalDan Miller2018-12-0418-139/+300
| | |
* | | Improve responsiveness of customize speed up slider.Dan Miller2018-12-043-6/+76
| | |
* | | Make gas customization modal responsive.Dan Miller2018-12-047-1/+32
| | |
* | | Remove gas customization integration tests (in favour of e2e tests)Dan Miller2018-12-041-1/+2
| | |
* | | Fixes for components that break e2e gas customization tests, plus unit test ↵Dan Miller2018-12-049-21/+102
| | | | | | | | | | | | updates.
* | | Update e2e tests for new gas customization modal.Dan Miller2018-12-041-1/+1
| | |
* | | Connect gas price chart to gas station api.Dan Miller2018-12-042-41/+184
| | |
* | | Adds speed up slide-in gas customization sidebarDan Miller2018-12-0419-58/+306
| | |
* | | Redesign of gas customization basic tab.Dan Miller2018-12-047-10/+131
| | |
* | | Clean up for mmui-i11-custom-gas-price-chart branchDan Miller2018-12-044-33/+25
| | |
* | | Improve data management and tests for gas-modal-page-container price estimates.Dan Miller2018-12-044-20/+67
| | |
* | | Update tests, plus some lint fixes, for gas-price-chartDan Miller2018-12-043-53/+204
| | |
* | | Clean up gas chart code.Dan Miller2018-12-043-362/+373
| | |
* | | Add control arrows to advanced gas tab inputs.Dan Miller2018-12-043-1/+63
| | |
* | | Complete integration of gas chart with redux.Dan Miller2018-12-049-14/+148
| | |
* | | Read only connection of gas price chart to reduxDan Miller2018-12-0413-28/+245
| | |
* | | Gas price chart improvements, redesign, bug fixes, and set up to receive ↵Dan Miller2018-12-045-88/+300
| | | | | | | | | | | | external data
* | | Adds not yet functional gas price chart.Dan Miller2018-12-049-20/+286
| | |
* | | Lint and unit test fixes.Dan Miller2018-12-043-5/+4
| | |
* | | Clean up for advanced gas tab customization changes.Dan Miller2018-12-042-19/+13
| | |
* | | Adds redesign for the customize gas advanced tab.Dan Miller2018-12-0419-152/+332
| | |
* | | Test updates and additions for button integration with send screen.Dan Miller2018-12-0418-64/+462
| | |
* | | Integrate gas buttons with the send screen.Dan Miller2018-12-0413-41/+289
| | |
* | | Connects remained of the gas customization component to redux.Dan Miller2018-12-0422-194/+497
| | |
* | | Adds gas-duck.test.js tests.Dan Miller2018-12-041-0/+300
| | |
* | | Styling fixes for gas customization advanced tab content.Dan Miller2018-12-044-3/+2
| | |
* | | Improvements to propdefaults in button-group.component and ↵Dan Miller2018-12-042-2/+3
| | | | | | | | | | | | basic-tab-content.component
* | | Connect the gas-button-group component to redux and a live api.Dan Miller2018-12-0415-111/+573
| | |
* | | Adds basic tab content to gas customizer, with styled button group (static, ↵Dan Miller2018-12-0416-15/+615
| | | | | | | | | | | | for now).
* | | Improve styling of advanced-tab-content gasInput rowDan Miller2018-12-043-5/+11
| | |
* | | Add tests for advanced-tab-component.js and subcomponents.Dan Miller2018-12-044-18/+275
| | |
* | | Remove gas slider from advance-tab-content.componentDan Miller2018-12-043-19/+2
| | |
* | | Split advanced-tab-content.component.js render() method into smaller ↵Dan Miller2018-12-042-31/+51
| | | | | | | | | | | | pieces; add translations to the same file.
* | | Adds the content of the advanced tab - w/o chart or dynamic content - to gas ↵Dan Miller2018-12-0420-63/+532
| | | | | | | | | | | | customize modal.
* | | Use BEM for css in gas-modal-page-containerDan Miller2018-12-043-26/+28
| | |
* | | Use correct message key in gas-modal-page-container.component.jsDan Miller2018-12-041-1/+1
| | |
* | | Adds new gas customization modal container (without content)Dan Miller2018-12-0410-29/+353
| | |
* | | Save recent network balances in local storage (#5843)Dan J Miller2018-12-0112-28/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use selector for state.metamask.accounts in all cases. * Default to cached balance when selecting metamask accounts * Adds the cached-balances controller * Documentation and small codes fixes for #5843 Co-Authored-By: danjm <danjm.com@gmail.com>
* | | Hide app-header when provider request pending (#5831)Whymarrh Whitby2018-11-272-5/+19
| | |
* | | Show disabled cursor in .network-disabled state (#5829)Whymarrh Whitby2018-11-271-1/+1
| | |
* | | Increase Token Symbol length to twelveThomas Huang2018-11-231-2/+2
| | |
* | | Merge pull request #5797 from MetaMask/trezor-v6Bruno Barbieri2018-11-222-4/+4
|\ \ \ | | | | | | | | Add Firefox and Brave support for Trezor
| * \ \ fix merge conflictsbrunobar792018-11-2140-148/+148
| |\ \ \
| * | | | clean upbrunobar792018-11-151-1/+0
| | | | |
| * | | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-11-152-1/+35
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into trezor-v5brunobar792018-11-1414-21/+223
| |\ \ \ \ \
| * \ \ \ \ \ fix merge conflictsbrunobar792018-11-07110-444/+1224
| |\ \ \ \ \ \
| * \ \ \ \ \ \ fix merge conflictsbrunobar792018-10-2177-611/+2454
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ fix conflictsbrunobar792018-10-17194-1721/+4929
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ fix merge conflictsbrunobar792018-09-111-1/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-09-06131-2288/+3055
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | fix commentbrunobar792018-08-211-2/+0
| | | | | | | | | | | |
| * | | | | | | | | | | fix merge conflictsbrunobar792018-08-2135-144/+850
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | add error messagesbrunobar792018-08-111-2/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | hide export private key for trezor accountsbrunobar792018-08-101-2/+16
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fix usage of setState in ConfirmTransactionBase#handleSubmit (#5799)Whymarrh Whitby2018-11-221-16/+29
| | | | | | | | | | | | |
* | | | | | | | | | | | | Show byte count for hex data on confirm screen (#5798)Whymarrh Whitby2018-11-221-1/+2
| | | | | | | | | | | | |
* | | | | | | | | | | | | Remove "Beta" from welcome messagesWhymarrh Whitby2018-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More sed magic: sed -i.bak 's/MetaMask Beta/MetaMask/' app/_locales/**/messages.json && \ find app/_locales -name '*.bak' -delete sed -i.bak 's/"welcomeBeta"/"welcome"/' app/_locales/**/messages.json && \ find app/_locales -name '*.bak' -delete
* | | | | | | | | | | | | Remove "Beta" from header logoWhymarrh Whitby2018-11-211-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Default to the new UI for first time usersWhymarrh Whitby2018-11-212-18/+19
| |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
* | | | | | | | | | | | Fix button styling for Create Account Connect (#5787)Alexander Tseung2018-11-203-47/+13
| | | | | | | | | | | |
* | | | | | | | | | | | Fix rounding issue when sending max tokens (#5695)Alexander Tseung2018-11-2035-99/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix rounding issue when sending max tokens * Ensure amount row shows exact amount of max tokens on send screen (#2) * Fix tests * Change stored redux value from BigNumber to hex string. Fix TokenInput default value
* | | | | | | | | | | | ESLint fixes (#5775)Whymarrh Whitby2018-11-172-2/+2
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* | | | | | | | | | | Show APPROVED status for transactions that have been approved but not submittedAlexander Tseung2018-11-142-1/+35
| |_|_|_|_|_|_|/ / / |/| | | | | | | | |
* | | | | | | | | | Fixes #3425: Better support for batch transactions (#5437)PaddyMc2018-11-1411-14/+213
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Increase number of ETH decimals displayed in the balance view from 3 to 4 ↵Alexander Tseung2018-11-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#5710)
* | | | | | | | | Merge pull request #5481 from MetaMask/reducersThomas Huang2018-11-071-3/+6
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | tests/Reducers
| * | | | | | | | nextUnreadNotice undefined rather than nullThomas2018-11-011-1/+1
| | | | | | | | |
| * | | | | | | | Readable tests, and set nextUnreadNotice to null when CLEAR_NOTICES is ↵Thomas2018-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dispatched
| * | | | | | | | Merge branch 'develop' into reducersThomas2018-10-31141-1014/+3221
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Set maxMode and toNickname defaults for clear_sendThomas2018-10-101-3/+5
| | | | | | | | | |
* | | | | | | | | | Update the colour of the default image used on Connect Request (#5678)Whymarrh Whitby2018-11-061-1/+2
| | | | | | | | | |
* | | | | | | | | | Update "Learn more" link on 1102 connect screen (#5677)Whymarrh Whitby2018-11-061-1/+7
| | | | | | | | | |
* | | | | | | | | | Update Connect Request screen design (#5644)Whymarrh Whitby2018-11-0613-26/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Parameterize NetworkDisplay background colour * Update design for login request screen * Pass siteTitle, siteImage through for calls to ethereum.enable() * Bring the site images closer together
* | | | | | | | | | EIP-1102: add user privacy optionbitpshr2018-11-067-113/+37
| | | | | | | | | |
* | | | | | | | | | EIP-1102: Add option to force-enable providerbitpshr2018-11-067-0/+110
| | | | | | | | | |
* | | | | | | | | | EIP-1102: updated implementationbitpshr2018-11-0615-0/+196
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | fixed currency-display (#5619)HackyMiner2018-10-302-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * call getValueFromWeiHex() with fromCurrency=nativeCurrency