1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/app
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>
2021-10-20 16:12:07 +01:00
..
_locales Fix 12192 - Implement new metametrics onboarding screen (#12282) 2021-10-19 12:01:42 -05:00
build-types/beta Create MetaMask Beta build (#10985) 2021-09-08 15:08:23 -05:00
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Fix #12190 - Implement new pin extension view for onboarding (#12290) 2021-10-18 17:33:42 -05:00
manifest Migrate beta version to the main version field (#12246) 2021-10-06 15:14:48 -02:30
scripts Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
home.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
phishing.html lockdown - breakout making globalThis properties non-writable (#12258) 2021-10-01 08:53:12 -10:00
popup.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00