factory.addResource('data-sources', `${tokenName}-token`) .withAttributes({ 'source-type': '@cardstack/ethereum', params: { jsonRpcUrls: process.env.JSON_RPC_URLS.split(',').map(i => i.trim()), contract: { abi: abi, address: address, eventContentTriggers: { Transfer: [`${tokenName}-token-balance-ofs`], } }, }, });
'source-type': '@cardstack/ethereum', params: { jsonRpcUrls: process.env.JSON_RPC_URLS.split(',').map(i => i.trim()), addressIndexing: { trackedAddressContentType: 'assets',