MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / getSource

Function getSource

app/core/RPCMethods/RPCMethodMiddleware.ts:310–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 };
309
310 const getSource = () => {
311 if (analytics?.isRemoteConn)
312 return AppConstants.REQUEST_SOURCES.SDK_REMOTE_CONN;
313 if (isWalletConnect) return AppConstants.REQUEST_SOURCES.WC;
314 return AppConstants.REQUEST_SOURCES.IN_APP_BROWSER;
315 };
316
317 const startApprovalFlow = (opts: StartFlowOptions) => {
318 checkTabActive();

Callers 4

TokenIcon.jsFile · 0.85
generateRawSignatureFunction · 0.85
requestUserApprovalFunction · 0.85
getRpcMethodMiddlewareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected