Akintayo A. Olusegun
03e3edb00c
Refactor checking if address is contract into a new module. ( #12354 )
...
* Refactor checking if address is contract into a new module.
Tests for new module.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* addressIsContract is an async function, use await when calling it.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Lint fixes
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Mock ethQuery
change variable names
refactor in transaction.utils.
fix possible boolean destructiring.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Refactor isContractAddress boolean checks.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Lint fixes
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
Alex Donesky
83d5eec2dc
centralize min gas const ( #12387 )
3 years ago
David Walsh
d90ac2d8e6
Fix 12192 - Implement new metametrics onboarding screen ( #12282 )
3 years ago
David Walsh
16d741348e
Fix #12190 - Implement new pin extension view for onboarding ( #12290 )
3 years ago
David Walsh
9fa1e42031
Prevent warning for rounded buttons ( #12357 )
3 years ago
ryanml
308cca1897
Preventing swaps data re-fetch when navigating back to home screeen ( #12370 )
3 years ago
ryanml
54f57826c4
Fixing invalid prop type for ActionableMessage (ImportToken) ( #12377 )
3 years ago
David Walsh
84e0547ac0
Use consistent naming for welcome route of onboarding ( #12366 )
3 years ago
filipsekulic
cca852d5ad
Fix width and padding of the hide token modal in popup view ( #12381 )
3 years ago
dragana8
52641efa08
changed the order of items ( #12384 )
3 years ago
Jyoti Puri
707ae7d652
Extracting out error and warning code from useGasFeeInputs hook ( #12283 )
...
Extracting out error and warning code from useGasFeeInputs hook
3 years ago
Alex Donesky
71f91568db
Migrate completedOnboarding and firstTimeFlowType state into onboardingController ( #12356 )
...
* migrate completedOnboarding state into onboardingController
* migrate firstTimeFlowType state from preferencesController to onboardingController
3 years ago
Etienne Dusseault
be0508d41e
Add send-hex-data-row to Storybook ( #12085 )
...
* send-hex-data
* id filename
* lint
3 years ago
Etienne Dusseault
1e5c0078dd
Add send-asset-row to Storybook ( #12081 )
...
* send-asset
* id filename
3 years ago
Alex Donesky
859b80955b
Small clean ups of onboarding flow v2 changes ( #12349 )
3 years ago
Alex Donesky
aa070edd3f
Fixing address truncation papercuts ( #12330 )
...
* fixing address truncation papercuts
3 years ago
Alex Donesky
398ea62029
Add Import Secret Recovery Phrase View ( #12289 )
...
* Add import secret recovery phrase to onboarding flow
3 years ago
George Marshall
b27b591df1
Adding story for ToggleButton ( #12311 )
3 years ago
David Walsh
72a3db7c0c
Use hardware constants everywhere ( #12329 )
3 years ago
David Walsh
77f8ec4d3a
Fix 12265 - Update onboarding welcome screen ( #12275 )
3 years ago
ryanml
5fdf9641da
Adds sign typed data type to metrics payload for sign typed data events ( #12291 )
...
* Adding type to metrics event for eth_sign, personal_sign, eth_signTypedData
* Adding type to metrics eevents for eth_signTypedData_v3 and eth_signTypedData_v4
* Factoring in version
3 years ago
Jay Clark
d4c30d2613
Fix toggle button 'off' color setting ( #12331 )
3 years ago
ryanml
31b681f301
Removing top cancel button when in send draft flow ( #12304 )
3 years ago
Alex Donesky
a8ec9ada2a
Onboarding V2 Creation Successful view ( #12248 )
...
* add creation-successful onboarding view
3 years ago
Alex Donesky
b242d950a0
add optional chaining in isLegacyTransaction method to prevent blow up of useGasFeeInputs use on view quote page ( #12316 )
3 years ago
Dan J Miller
3d630ca8d1
Do case-insensitive comparisons of token addresses in view-quote and build-quote ( #12315 )
3 years ago
Dan J Miller
18ca9d14e0
Do case-insensitive comparisons of token addresses in view-quote and build-quote ( #12315 )
3 years ago
Alex Donesky
3d36fbd8ce
Onboarding V2 Privacy settings view ( #12253 )
...
* add Set Advanced Privacy Settings onboarding view
3 years ago
ryanml
78b7f32d97
Adding UrlIcon component to Storybook ( #12285 )
3 years ago
Alex Donesky
614228cba7
Onboarding V2 Secure Your Wallet view ( #12208 )
...
* secure-your-wallet onboarding view
3 years ago
Jyoti Puri
fc41321470
Support for type 0 transaction ( #12252 )
...
Support for type 0 transaction
3 years ago
Alex Donesky
3985a65e36
Onboarding V2 App Header ( #12264 )
...
* Add onboarding app header
3 years ago
Niranjana Binoy
68259ee3e2
UX Papercuts Epic: Create a consistent representation of the Buttons ( #12096 )
3 years ago
Jyoti Puri
68d7ff73c5
Remove autofocus from gas limit input on advance gas popup ( #12279 )
3 years ago
ryanml
f741712255
Fixing confirmation screen storybook views ( #12271 )
3 years ago
Elliot Winkler
7c4bd78f2e
Suppress prop types warning in RadioGroupComponent ( #12249 )
...
When editing the gas fee for a transaction, the following warning is
being output to the console:
Warning: Failed prop type: Connector: prop type `isFirst` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.
This commit fixes this issue.
3 years ago
ryanml
c14f46eb92
Fixing confirm-add-suggested-token storybook entry ( #12261 )
3 years ago
Alex Donesky
9355fb21c7
Establish onboarding-flow wrapper/router base and feature flag env variable ( #12247 )
...
* establish onboarding-flow wrapper/router base and feature flag env variable
* small cleanup
* addressing feedback
3 years ago
ryanml
730605353a
Using URL util to parse hostname for block explorer link ( #12241 )
3 years ago
Jyoti Puri
6187ab9b01
Fix gas control flicker on send screen when switching between EIP-1559 networks ( #12230 )
...
Fix gas control flicker on send screen when switching between EIP-1559 networks
3 years ago
Etienne Dusseault
bf89226ca1
Add send-header to Storybook ( #12084 )
3 years ago
Etienne Dusseault
c2bbbdd19c
Add account-list component to Storybook ( #12228 )
3 years ago
Etienne Dusseault
b5103bf317
Add select-hardware component to Storybook ( #12227 )
3 years ago
Matthew Epps
53f2c84209
Add client id to GasFeeController ( #12221 )
...
* chore: Add client id to GasFeeController
* chore: change EXTENSION_CLIENT_ID to SWAPS_CLIENT_ID in constants file
3 years ago
ryanml
f52dac290b
Using parsed seed phrase for restore vault input validation ( #12229 )
...
Fixes MetaMask/metamask-extension#12225
3 years ago
David Walsh
7810cb3cdf
Prevent fox mesh JSON warning ( #12200 )
...
* Prevent fox mesh JSON warning
* Update ui/helpers/utils/build-types.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Fix lint
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
3 years ago
Jyoti Puri
180ead8175
Adding slider component ( #12219 )
...
Adding slider component
3 years ago
David Walsh
2e2bd0fce5
Prevent fox mesh JSON warning ( #12200 )
...
* Prevent fox mesh JSON warning
* Update ui/helpers/utils/build-types.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Fix lint
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
3 years ago
Niranjana Binoy
afede01717
Hiding refresh list on non-Mainnet networks ( #12210 )
3 years ago
Niranjana Binoy
62876f26b3
adding checksum conversion ( #12209 )
3 years ago