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

Method startPolling

app/core/Engine.ts:1377–1392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1375 }
1376
1377 startPolling() {
1378 const {
1379 NftDetectionController,
1380 TokenDetectionController,
1381 TokenListController,
1382 TransactionController,
1383 TokenRatesController,
1384 } = this.context;
1385
1386 TokenListController.start();
1387 NftDetectionController.start();
1388 TokenDetectionController.start();
1389 // leaving the reference of TransactionController here, rather than importing it from utils to avoid circular dependency
1390 TransactionController.startIncomingTransactionPolling();
1391 TokenRatesController.start();
1392 }
1393
1394 configureControllersOnNetworkChange() {
1395 const {

Callers 3

constructorMethod · 0.95
index.jsFile · 0.80
index.jsFile · 0.80

Calls 1

startMethod · 0.45

Tested by

no test coverage detected