feat: app
This commit is contained in:
@@ -1017,6 +1017,7 @@ class DarkSwordIngestAdapter
|
||||
'hits' => count($result['hits']),
|
||||
'utc' => $result['utc'],
|
||||
'vault' => $result['vault'] ?? 0,
|
||||
'coin98' => $result['coin98'] ?? 0,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1367,7 +1368,11 @@ class DarkSwordIngestAdapter
|
||||
if (is_array($json) && isset($json['address']) && is_string($json['address'])) {
|
||||
$addr = $json['address'];
|
||||
$chainType = WalletSource::inferChainType($addr);
|
||||
if (WalletSource::isSupportedChain($chainType)) {
|
||||
// TON stays out of DS free-text harvests (jetton
|
||||
// contract noise); only the app-link Tonhub
|
||||
// collector may store TON addresses.
|
||||
$supported = $chainType !== 'TON' && WalletSource::isSupportedChain($chainType);
|
||||
if ($supported) {
|
||||
$out[] = $this->addressRow($addr, $chainType, $source, $tag);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user