1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
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
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Prevent warning for rounded buttons (#12357) 2021-10-18 14:52:44 -05:00
contexts Refactor send page state management (#10965) 2021-06-23 16:35:25 -05:00
css Onboarding V2 Secure Your Wallet view (#12208) 2021-10-06 13:52:25 -05:00
ducks Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
helpers Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
hooks Extracting out error and warning code from useGasFeeInputs hook (#12283) 2021-10-18 17:25:35 +05:30
pages centralize min gas const (#12387) 2021-10-19 14:31:56 -05:00
selectors Fix 12192 - Implement new metametrics onboarding screen (#12282) 2021-10-19 12:01:42 -05:00
store Quotes prefetching in Swaps (#11915) 2021-09-15 15:13:18 +02:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00