From b301d3cb18407c3023799511346396e90e57b10a Mon Sep 17 00:00:00 2001 From: toni-dev <62844491+Toni-d-e-v@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:00:39 +0200 Subject: [PATCH] Add avescan --- .../kotlin/org/walleth/kethereum/blockscout/Blockscout.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/blockscout/src/main/kotlin/org/walleth/kethereum/blockscout/Blockscout.kt b/blockscout/src/main/kotlin/org/walleth/kethereum/blockscout/Blockscout.kt index 114f7292..b7293e3e 100644 --- a/blockscout/src/main/kotlin/org/walleth/kethereum/blockscout/Blockscout.kt +++ b/blockscout/src/main/kotlin/org/walleth/kethereum/blockscout/Blockscout.kt @@ -12,11 +12,13 @@ private val BLOCKSCOUT_URLS = mapOf( 99L.toBigInteger() to "$BLOCKSCOUTCOM_BASE_URL/poa/core", 100L.toBigInteger() to "$BLOCKSCOUTCOM_BASE_URL/poa/xdai", - 43110L.toBigInteger() to "http://athexplorer.ava.network" + 43110L.toBigInteger() to "http://athexplorer.ava.network", + 33333L.toBigInteger() to "https://avescan.io" + ) val ALL_BLOCKSCOUT_SUPPORTED_NETWORKS = BLOCKSCOUT_URLS.map { it.key }.toSet() fun getBlockscoutBaseURL(chain: ChainId) = BLOCKSCOUT_URLS[chain.value] -fun getBlockScoutBlockExplorer(chain: ChainId) = BLOCKSCOUT_URLS[chain.value]?.let { BlockScoutBlockExplorer(it) } \ No newline at end of file +fun getBlockScoutBlockExplorer(chain: ChainId) = BLOCKSCOUT_URLS[chain.value]?.let { BlockScoutBlockExplorer(it) }