1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/shared/constants
Olusegun Akintayo edb5ecc38c
Create shared TRAITS constant (#14069)
* Create shared `TRAITS` constant

Create a new constant in shared/constants/metametrics.js called TRAITS.
Using the other issues in this epic as guidance, populate the constant with traits.
Add Documentation to this constant about what each trait is.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* use field names as the constants
only interested in 4 traits now for the MVP

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* cut down comments length for readability.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Lint fixes.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* 80 chars comments length

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-03-25 00:23:21 +04:00
..
alerts.js
app.js
gas.js
hardware-wallets.js
labels.js
metametrics.js Create shared TRAITS constant (#14069) 2022-03-25 00:23:21 +04:00
network.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
permissions.js Add native browser notification support for Snaps (#13613) 2022-03-17 17:43:18 +01:00
permissions.test.js snaps-skunkworks@0.10.2 (#13901) 2022-03-14 12:37:19 -07:00
swaps.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
time.js
tokens.js
transaction.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00