MCPcopy Create free account

hub / github.com/ICBNetwork/web3-Wallet / functions

Functions4,763 in github.com/ICBNetwork/web3-Wallet

↓ 2,079 callersFunctionstrings
(name, params = {})
locales/i18n.js:130
↓ 451 callersMethodlog
* console.log wrapper * * @param {object} args - data to be logged * @returns - void
app/util/Logger/index.ts:121
↓ 353 callersMethodsetState
(state)
app/util/test/network-store.js:57
↓ 301 callersFunctiongenerateOpt
( name: EVENT_NAME, action?: ACTIONS, description?: DESCRIPTION, )
app/core/Analytics/MetaMetrics.events.ts:8
↓ 254 callersMethodtoString
()
app/core/SDKConnect/ECIES/ECIES.ts:136
↓ 247 callersFunctionuseTheme
()
app/util/theme/index.ts:178
↓ 224 callersFunctioncell
(name, value = undefined)
ses.cjs:10390
↓ 210 callersFunctionrenderWithProvider
( component: React.ReactElement, providerValues?: ProviderValues, includeNavigationContainer = true, )
app/util/test/renderWithProvider.tsx:24
↓ 180 callersFunctiontrackEvent
(event, params = {})
app/components/UI/Navbar/index.js:57
↓ 167 callersFunctionrender
()
app/components/UI/Name/Name.stories.tsx:84
↓ 156 callersMethoderror
* console.error wrapper * * @param {Error} error - Error to be logged * @param {string|object} extra - Extra error info * @returns - void
app/util/Logger/index.ts:134
↓ 146 callersMethodcheckIfVisible
* Check if an element with the specified ID is visible. * @param {Promise<Detox.IndexableNativeElement>} elementId - The ID of the element to check
e2e/utils/Assertions.js:16
↓ 136 callersMethodgetElementByPlatform
(id, isNested = false)
wdio/helpers/Selectors.js:2
↓ 132 callersMethodgetElementByID
* Get element by ID. * * @param {string} elementId - Match elements with the specified testID * @return {Promise<Detox.IndexableNativeElement
e2e/utils/Matchers.js:13
↓ 130 callersFunctionobserveImports
(map, importName, importIndex)
ses.cjs:10759
↓ 128 callersMethodwaitAndTap
* Wait for an element to be visible and then tap it. * * @param {Promise<Detox.IndexableNativeElement>} elementID - ID of the element to tap
e2e/utils/Gestures.js:50
↓ 126 callersMethodtest
()
app/lib/ppom/PPOMView.tsx:51
↓ 124 callersFunctionisObject
* A type guard for {@link RuntimeObject}. * * TODO: replace this with `isObject` from `@metamask/utils` * * @param value - The value to check. *
app/core/RPCMethods/eth_sendTransaction.ts:25
↓ 122 callersMethodwaitAndTap
(element)
wdio/helpers/Gestures.js:68
↓ 112 callersMethodisAndroid
()
app/util/device/index.js:19
↓ 97 callersMethoddelay
(ms)
e2e/helpers.js:233
↓ 96 callersMethodtrackEvent
( event: IMetaMetricsEvent, properties?: JsonMap, saveDataRecording?: boolean, )
app/components/hooks/useMetrics/useMetrics.types.ts:18
↓ 86 callersFunctionhexToBN
(inputHex)
app/util/number/index.js:31
↓ 85 callersMethodget
()
app/core/SDKConnect/RPCQueueManager.ts:49
↓ 80 callersFunctionrenderFromWei
(value, decimalsToShow = 5)
app/util/number/index.js:312
↓ 75 callersFunctiongetDecimalChainId
(chainId)
app/util/networks/index.js:152
↓ 75 callersMethodisVisible
()
e2e/pages/LoginView.js:22
↓ 74 callersFunctionuseMetrics
()
app/components/hooks/useMetrics/useMetrics.ts:37
↓ 71 callersMethodgetInstance
()
app/core/SDKConnect/SDKConnect.ts:367
↓ 70 callersMethodgetXpathElementByResourceId
(id)
wdio/helpers/Selectors.js:47
↓ 70 callersMethodisIos
()
app/util/device/index.js:15
↓ 69 callersFunctionfromTokenMinimalUnitString
(minimalInput, decimals)
app/util/number/index.js:136
↓ 67 callersMethodpause
()
app/core/SDKConnect/SDKConnect.ts:210
↓ 66 callersFunctionuseStyles
( styleSheet: (params: { theme: Theme; vars: V }) => R, vars: V, )
app/component-library/hooks/useStyles.ts:13
↓ 65 callersFunctionsafeToChecksumAddress
(address)
app/util/address/index.js:303
↓ 59 callersFunctionuseStyles
( styleSheet: (params: { theme: Theme; vars: V }) => R, vars: V, )
app/components/hooks/useStyles.ts:13
↓ 57 callersFunctionmigrate
(state)
app/store/migrations/023.js:26
↓ 56 callersMethodinit
({ navigation, context, }: { navigation: NavigationContainerRef; context?: string; })
app/core/SDKConnect/SDKConnect.ts:349
↓ 54 callersFunctiontoWei
(value, unit = 'ether')
app/util/number/index.js:415
↓ 54 callersFunctiontrackEvent
( eventType: T, params: AnalyticsEvents[T], )
app/components/UI/Ramp/hooks/useAnalytics.ts:35
↓ 53 callersMethodadd
({ id, method }: { id: string; method: string })
app/core/SDKConnect/RPCQueueManager.ts:7
↓ 53 callersFunctionfiatOrderReducer
(state = initialState, action = { type: null })
app/reducers/fiatOrders/index.ts:294
↓ 53 callersFunctionweiToFiat
( wei, conversionRate = null, currencyCode, decimalsToShow = 5, )
app/util/number/index.js:458
↓ 52 callersFunctionconnect
({ withKeyExchange, instance, }: { withKeyExchange: boolean; instance: Connection; })
app/core/SDKConnect/Connection/ConnectionLifecycle/connect.ts:4
↓ 51 callersFunctionsnapGetBip44EntropyTitle
(protocol: string)
app/components/Views/Snaps/components/SnapPermissions/test/SnapPermissions.test.tsx:33
↓ 50 callersFunctionuncurryThis
(fn)
ses.cjs:331
↓ 49 callersFunctiongetByRoleButton
(name?: string | RegExp)
app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx:28
↓ 47 callersMethodgetXpathElementByText
(text)
wdio/helpers/Selectors.js:25
↓ 47 callersMethodisIphoneX
()
app/util/device/index.js:51
↓ 47 callersFunctionrenderFromTokenMinimalUnit
( tokenValue, decimals, decimalsToShow = 5, )
app/util/number/index.js:217
↓ 46 callersMethodgetElementByText
* Get element by text. * * @param {string} text - Match elements with the specified text * @param {number} index - Index of the element (defa
e2e/utils/Matchers.js:24
↓ 46 callersMethodparse
( url: string, { browserCallBack, origin, onHandled, }: { browserCallBack?
app/core/DeeplinkManager/DeeplinkManager.ts:87
↓ 46 callersFunctiontoLowerCaseEquals
(a, b)
app/util/general/index.js:47
↓ 45 callersMethodexists
(String path)
android/app/src/main/java/io/metamask/nativeModules/RNTar/RNTar.java:57
↓ 45 callersMethodgoBack
()
android/app/src/main/java/io/metamask/nativeModules/RCTMinimizer.java:20
↓ 43 callersMethodsetItem
(key, value)
app/util/test/network-store.js:75
↓ 42 callersFunctioncreateKeypadRule
({ decimalSeparator = null, decimals = null, } = {})
app/components/Base/Keypad/createKeypadRule.js:4
↓ 42 callersMethodgetInstance
* Get an instance of the MetaMetrics system * * @example const metrics = MetaMetrics.getInstance(); * @returns non configured MetaMetrics ins
app/core/Analytics/MetaMetrics.ts:475
↓ 41 callersMethodgetItem
(key)
app/util/test/network-store.js:67
↓ 41 callersMethodgetState
* The metamask-state of the various controllers, made available to the UI * * TODO: Use controller state instead of flattened state for better a
app/core/BackgroundBridge/BackgroundBridge.js:435
↓ 41 callersFunctionrender
(Component: React.ComponentType)
app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx:31
↓ 40 callersFunctionhasProperty
( objectToCheck: ObjectToCheck, name: Property, )
app/core/RPCMethods/eth_sendTransaction.ts:39
↓ 39 callersFunctiongetTicker
(ticker)
app/util/transactions/index.js:437
↓ 37 callersFunctionfromTokenMinimalUnit
( minimalInput, decimals, isRounding = true, )
app/util/number/index.js:102
↓ 37 callersMethodgetDeviceWidth
()
app/util/device/index.js:7
↓ 36 callersFunctionaddHexPrefix
(str)
app/util/number/index.js:67
↓ 36 callersFunctionrenderScreen
( Component: React.ComponentType, options: { name: string; options?: StackNavigationOptions; },
app/util/test/renderWithProvider.tsx:52
↓ 35 callersFunctiontoTokenMinimalUnit
(tokenValue, decimals)
app/util/number/index.js:158
↓ 34 callersMethodstart
(opts)
app/util/test/ganache.js:16
↓ 33 callersMethodcheckIfNotVisible
* Check if an element with the specified ID is not visible. * @param {Promise<Detox.IndexableNativeElement>} elementId - The ID of the element to c
e2e/utils/Assertions.js:29
↓ 33 callersFunctionsafeNumberToBN
(value)
app/util/number/index.js:588
↓ 32 callersFunctiongetRpcMethodMiddleware
({ hostname, channelId, getProviderState, navigation, // Website info url, title, icon, // B
app/core/RPCMethods/RPCMethodMiddleware.ts:263
↓ 31 callersMethodbuild
* Build and return the fixture object. * @returns {Object} - The built fixture object.
e2e/fixtures/fixture-builder.js:712
↓ 31 callersMethodconfigure
()
app/core/Analytics/MetaMetrics.types.ts:98
↓ 31 callersMethodon
(event: string, callback: (event: any) => void)
app/components/hooks/Ledger/useBluetoothDevices.ts:17
↓ 31 callersMethodwaitForDisplayed
()
wdio/screen-objects/Contacts.js:17
↓ 30 callersFunctionrender
(Component: React.ComponentType)
app/components/Views/Wallet/index.test.tsx:98
↓ 29 callersFunctionconversionUtil
( value, { fromCurrency = null, toCurrency = fromCurrency, fromNumericBase, toNumericBase,
app/util/conversion/index.js:144
↓ 29 callersMethodgetDeviceHeight
()
app/util/device/index.js:11
↓ 29 callersFunctionloginToApp
()
e2e/viewHelper.js:193
↓ 29 callersFunctionsetOnboardingWizardStep
(step)
app/actions/wizard/index.js:4
↓ 29 callersMethodtypeText
(element, text)
wdio/helpers/Gestures.js:164
↓ 29 callersFunctionwithMetricsAwareness
(Children: ComponentType<IWithMetricsAwarenessProps>)
app/components/hooks/useMetrics/withMetricsAwareness.tsx:6
↓ 28 callersMethodisSmallDevice
()
app/util/device/index.js:77
↓ 27 callersFunctiongetObject
(idx)
ppom/src/ppom.js:40
↓ 27 callersMethodreverseServerPort
()
e2e/helpers.js:274
↓ 26 callersFunctioncallMiddleware
* Process the given request with the provided middleware. * * @param arguments - Named arguments. * @param arguments.middleware - The middleware to
app/core/RPCMethods/RPCMethodMiddleware.test.ts:194
↓ 26 callersFunctioncreateNavigationDetails
(name: string, screen?: string)
app/util/navigation/navUtils.ts:11
↓ 26 callersFunctiondefineProperty
(object, prop, descriptor)
ses.cjs:97
↓ 26 callersFunctionfromWei
(value = 0, unit = 'ether')
app/util/number/index.js:90
↓ 26 callersMethodremove
(id: string)
app/core/SDKConnect/RPCQueueManager.ts:45
↓ 26 callersMethodtap
* Wait for an element to be visible and then tap it. * * @param {Promise<Detox.IndexableNativeElement>} elementID - ID of the element to tap
e2e/utils/Gestures.js:38
↓ 26 callersFunctionuseModalHandler
* Hook to handle modal visibility state * @param initialState Initial state of the modal, if true modal will be visible * @return Handlers `[isVisib
app/components/Base/hooks/useModalHandler.ts:8
↓ 25 callersMethodtypeTextAndHideKeyboard
* Type text into an element and hide the keyboard. * * @param {Promise<Detox.IndexableNativeElement>} elementID - ID of the element to type into
e2e/utils/Gestures.js:98
↓ 24 callersFunctionaddHeapObject
(obj)
ppom/src/ppom.js:31
↓ 24 callersFunctionisLinkSafe
(link: string)
app/util/linkCheck.ts:23
↓ 24 callersFunctionisNumber
(str)
app/util/number/index.js:379
↓ 24 callersMethodtapByText
(text, index)
e2e/helpers.js:37
↓ 23 callersFunctionFail
(literals, ...args)
ses.cjs:340
↓ 23 callersFunctionaddCurrencySymbol
( amount, currencyCode, extendDecimals = false, )
app/util/number/index.js:480
next →1–100 of 4,763, ranked by callers