1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/ducks
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
..
alerts remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
app remove unused sidebar component (#12048) 2021-09-09 10:14:07 -05:00
confirm-transaction Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
gas rely upon gas fee controller for gas price estimates (#11511) 2021-07-16 11:06:32 -05:00
history remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
locale remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
metamask Establish onboarding-flow wrapper/router base and feature flag env variable (#12247) 2021-09-30 16:34:11 -05:00
send Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
swaps Quotes prefetching in Swaps (#11915) 2021-09-15 15:13:18 +02:00
ens.js fix up ens/hex address validation error handling (#11477) 2021-07-09 09:17:02 -05:00
index.js Refactor send page state management (#10965) 2021-06-23 16:35:25 -05:00