@sentio/runtime 2.60.0-rc.9 → 2.60.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chunk-RJMWLF3Q.js → chunk-26X74ASV.js} +2 -2
- package/lib/{chunk-EFMEF6FT.js → chunk-OJKZJGLN.js} +130 -107
- package/lib/{chunk-EFMEF6FT.js.map → chunk-OJKZJGLN.js.map} +1 -1
- package/lib/{chunk-AQYRWO7H.js → chunk-ZTW66EYL.js} +4890 -529
- package/lib/chunk-ZTW66EYL.js.map +1 -0
- package/lib/index.d.ts +10 -147
- package/lib/index.js +2 -2
- package/lib/processor-BDXlufg5.d.ts +900 -0
- package/lib/processor-runner.js +372 -151
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +3 -3
- package/lib/test-processor.test.d.ts +14 -1
- package/lib/test-processor.test.js.map +1 -1
- package/package.json +1 -1
- package/src/db-context.ts +1 -0
- package/src/full-service.ts +167 -109
- package/src/gen/processor/protos/processor.ts +191 -10
- package/src/gen/service/common/protos/common.ts +134 -1
- package/src/plugin.ts +1 -1
- package/src/processor-runner.ts +7 -2
- package/src/{service-v2.ts → service-v3.ts} +33 -6
- package/lib/chunk-AQYRWO7H.js.map +0 -1
- /package/lib/{chunk-RJMWLF3Q.js.map → chunk-26X74ASV.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
__require,
|
7
7
|
__toCommonJS,
|
8
8
|
__toESM
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-ZTW66EYL.js";
|
10
10
|
|
11
11
|
// ../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/format.js
|
12
12
|
var require_format = __commonJS({
|
@@ -10972,4 +10972,4 @@ export {
|
|
10972
10972
|
safe-buffer/index.js:
|
10973
10973
|
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
10974
10974
|
*/
|
10975
|
-
//# sourceMappingURL=chunk-
|
10975
|
+
//# sourceMappingURL=chunk-26X74ASV.js.map
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
require_roots,
|
22
22
|
require_rpc,
|
23
23
|
require_writer
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-ZTW66EYL.js";
|
25
25
|
|
26
26
|
// ../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
|
27
27
|
var require_universalify = __commonJS({
|
@@ -36396,9 +36396,9 @@ var require_eventemitter3 = __commonJS({
|
|
36396
36396
|
}
|
36397
36397
|
});
|
36398
36398
|
|
36399
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.
|
36399
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-id.js
|
36400
36400
|
var require_chain_id = __commonJS({
|
36401
|
-
"../../node_modules/.pnpm/@sentio+chain@3.
|
36401
|
+
"../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-id.js"(exports) {
|
36402
36402
|
"use strict";
|
36403
36403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
36404
36404
|
exports.isChainType = exports.getChainType = exports.ChainIdToType = exports.ChainTypeToChainId = exports.ChainId = exports.BTCChainId = exports.StarknetChainId = exports.CosmosChainId = exports.FuelChainId = exports.SolanaChainId = exports.SuiChainId = exports.AptosChainId = exports.EthChainId = exports.ChainType = void 0;
|
@@ -36429,7 +36429,6 @@ var require_chain_id = __commonJS({
|
|
36429
36429
|
EthChainId3["SONIC_MAINNET"] = "146";
|
36430
36430
|
EthChainId3["SONIC_TESTNET"] = "57054";
|
36431
36431
|
EthChainId3["B2_MAINNET"] = "223";
|
36432
|
-
EthChainId3["FANTOM"] = "250";
|
36433
36432
|
EthChainId3["FRAXTAL"] = "252";
|
36434
36433
|
EthChainId3["KUCOIN"] = "321";
|
36435
36434
|
EthChainId3["CRONOS_ZKEVM"] = "388";
|
@@ -36441,6 +36440,7 @@ var require_chain_id = __commonJS({
|
|
36441
36440
|
EthChainId3["POLYGON_ZKEVM"] = "1101";
|
36442
36441
|
EthChainId3["CONFLUX"] = "1030";
|
36443
36442
|
EthChainId3["METIS"] = "1088";
|
36443
|
+
EthChainId3["CORE_MAINNET"] = "1116";
|
36444
36444
|
EthChainId3["MOONBEAM"] = "1284";
|
36445
36445
|
EthChainId3["UNICHAIN_SEPOLIA"] = "1301";
|
36446
36446
|
EthChainId3["SEI"] = "1329";
|
@@ -36469,7 +36469,6 @@ var require_chain_id = __commonJS({
|
|
36469
36469
|
EthChainId3["BLAST"] = "81457";
|
36470
36470
|
EthChainId3["CHILIZ"] = "88888";
|
36471
36471
|
EthChainId3["TAIKO"] = "167000";
|
36472
|
-
EthChainId3["TAIKO_TESTNET"] = "167008";
|
36473
36472
|
EthChainId3["BITLAYER"] = "200901";
|
36474
36473
|
EthChainId3["SCROLL"] = "534352";
|
36475
36474
|
EthChainId3["ZKLINK_NOVA"] = "810180";
|
@@ -36568,16 +36567,17 @@ var require_chain_id = __commonJS({
|
|
36568
36567
|
}
|
36569
36568
|
});
|
36570
36569
|
|
36571
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.
|
36570
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-info.js
|
36572
36571
|
var require_chain_info = __commonJS({
|
36573
|
-
"../../node_modules/.pnpm/@sentio+chain@3.
|
36572
|
+
"../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-info.js"(exports) {
|
36574
36573
|
"use strict";
|
36575
36574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
36576
|
-
exports.getChainLogo = exports.getSuiscanUrl = exports.getChainBlockscoutUrl = exports.getChainExternalUrl = exports.SolanaChainInfo = exports.AptosChainInfo = exports.BTCChainInfo = exports.EthChainInfo = exports.EthVariation = exports.ExplorerApiType = void 0;
|
36575
|
+
exports.getChainLogo = exports.getSuiscanUrl = exports.getChainBlockscoutUrl = exports.getChainExternalUrl = exports.FuelChainInfo = exports.SuiChainInfo = exports.SolanaChainInfo = exports.AptosChainInfo = exports.BTCChainInfo = exports.EthChainInfo = exports.EthVariation = exports.ExplorerApiType = void 0;
|
36577
36576
|
var chain_id_1 = require_chain_id();
|
36578
36577
|
var ExplorerApiType;
|
36579
36578
|
(function(ExplorerApiType2) {
|
36580
36579
|
ExplorerApiType2["ETHERSCAN"] = "etherscan";
|
36580
|
+
ExplorerApiType2["ETHERSCAN_V2"] = "etherscan_v2";
|
36581
36581
|
ExplorerApiType2["BLOCKSCOUT"] = "blockscout";
|
36582
36582
|
ExplorerApiType2["L2_SCAN"] = "l2scan";
|
36583
36583
|
ExplorerApiType2["OK_LINK"] = "oklink";
|
@@ -36603,9 +36603,9 @@ var require_chain_info = __commonJS({
|
|
36603
36603
|
wrappedTokenAddress: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
36604
36604
|
tokenSymbol: "ETH",
|
36605
36605
|
tokenDecimals: 18,
|
36606
|
-
explorerApiType: ExplorerApiType.
|
36606
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36607
36607
|
explorerUrl: "https://etherscan.io",
|
36608
|
-
explorerApi: "https://api.etherscan.io",
|
36608
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36609
36609
|
blockscoutUrl: "https://eth.blockscout.com",
|
36610
36610
|
lightIcon: "https://sentio.xyz/chains/eth.svg",
|
36611
36611
|
darkIcon: "https://sentio.xyz/chains/eth-dark.svg"
|
@@ -36621,9 +36621,9 @@ var require_chain_info = __commonJS({
|
|
36621
36621
|
wrappedTokenAddress: "0x1ef5f52bdbe11af2377c58ecc914a8c72ea807cf",
|
36622
36622
|
tokenSymbol: "ETH",
|
36623
36623
|
tokenDecimals: 18,
|
36624
|
-
explorerApiType: ExplorerApiType.
|
36624
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36625
36625
|
explorerUrl: "https://sepolia.etherscan.io",
|
36626
|
-
explorerApi: "https://api
|
36626
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36627
36627
|
blockscoutUrl: "https://eth-sepolia.blockscout.com",
|
36628
36628
|
lightIcon: "https://sentio.xyz/chains/eth.svg",
|
36629
36629
|
darkIcon: "https://sentio.xyz/chains/eth-dark.svg"
|
@@ -36639,9 +36639,9 @@ var require_chain_info = __commonJS({
|
|
36639
36639
|
wrappedTokenAddress: "0x94373a4919B3240D86eA41593D5eBa789FEF3848",
|
36640
36640
|
tokenSymbol: "ETH",
|
36641
36641
|
tokenDecimals: 18,
|
36642
|
-
explorerApiType: ExplorerApiType.
|
36642
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36643
36643
|
explorerUrl: "https://holesky.etherscan.io",
|
36644
|
-
explorerApi: "https://api
|
36644
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36645
36645
|
blockscoutUrl: "https://eth-holesky.blockscout.com",
|
36646
36646
|
lightIcon: "https://sentio.xyz/chains/eth.svg",
|
36647
36647
|
darkIcon: "https://sentio.xyz/chains/eth-dark.svg"
|
@@ -36656,9 +36656,9 @@ var require_chain_info = __commonJS({
|
|
36656
36656
|
wrappedTokenAddress: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
|
36657
36657
|
tokenSymbol: "BNB",
|
36658
36658
|
tokenDecimals: 18,
|
36659
|
-
explorerApiType: ExplorerApiType.
|
36659
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36660
36660
|
explorerUrl: "https://bscscan.com",
|
36661
|
-
explorerApi: "https://api.
|
36661
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36662
36662
|
lightIcon: "https://sentio.xyz/chains/bnb-chain.svg"
|
36663
36663
|
},
|
36664
36664
|
[chain_id_1.EthChainId.BSC_TESTNET]: {
|
@@ -36672,9 +36672,9 @@ var require_chain_info = __commonJS({
|
|
36672
36672
|
wrappedTokenAddress: "0xae13d989dac2f0debff460ac112a837c89baa7cd",
|
36673
36673
|
tokenSymbol: "tBNB",
|
36674
36674
|
tokenDecimals: 18,
|
36675
|
-
explorerApiType: ExplorerApiType.
|
36675
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36676
36676
|
explorerUrl: "https://testnet.bscscan.com",
|
36677
|
-
explorerApi: "https://api
|
36677
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36678
36678
|
lightIcon: "https://sentio.xyz/chains/bnb-chain.svg"
|
36679
36679
|
},
|
36680
36680
|
[chain_id_1.EthChainId.OP_BNB_MAINNET]: {
|
@@ -36688,13 +36688,14 @@ var require_chain_info = __commonJS({
|
|
36688
36688
|
tokenSymbol: "BNB",
|
36689
36689
|
tokenDecimals: 18,
|
36690
36690
|
explorerUrl: "https://opbnb.bscscan.com",
|
36691
|
-
explorerApiType: ExplorerApiType.
|
36692
|
-
explorerApi: "https://api
|
36691
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36692
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36693
36693
|
lightIcon: "https://sentio.xyz/chains/bnb-chain.svg"
|
36694
36694
|
},
|
36695
36695
|
[chain_id_1.EthChainId.POLYGON]: {
|
36696
36696
|
name: "Polygon",
|
36697
36697
|
slug: "matic",
|
36698
|
+
additionalSlugs: ["polygon"],
|
36698
36699
|
chainId: chain_id_1.EthChainId.POLYGON,
|
36699
36700
|
variation: EthVariation.DEFAULT,
|
36700
36701
|
priceTokenAddress: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
@@ -36702,15 +36703,16 @@ var require_chain_info = __commonJS({
|
|
36702
36703
|
wrappedTokenAddress: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
36703
36704
|
tokenSymbol: "MATIC",
|
36704
36705
|
tokenDecimals: 18,
|
36705
|
-
explorerApiType: ExplorerApiType.
|
36706
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36706
36707
|
explorerUrl: "https://polygonscan.com",
|
36707
|
-
explorerApi: "https://api.
|
36708
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36708
36709
|
lightIcon: "https://sentio.xyz/chains/polygon.svg"
|
36709
36710
|
// blockscoutBlockPrefix: 'https://polygon.blockscout.com/block/',
|
36710
36711
|
},
|
36711
36712
|
[chain_id_1.EthChainId.ARBITRUM]: {
|
36712
36713
|
name: "Arbitrum",
|
36713
36714
|
slug: "arbitrum-one",
|
36715
|
+
additionalSlugs: ["arbitrum"],
|
36714
36716
|
chainId: chain_id_1.EthChainId.ARBITRUM,
|
36715
36717
|
variation: EthVariation.ARBITRUM,
|
36716
36718
|
priceTokenAddress: "0x0000000000000000000000000000000000000000",
|
@@ -36718,9 +36720,9 @@ var require_chain_info = __commonJS({
|
|
36718
36720
|
wrappedTokenAddress: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
|
36719
36721
|
tokenSymbol: "ETH",
|
36720
36722
|
tokenDecimals: 18,
|
36721
|
-
explorerApiType: ExplorerApiType.
|
36723
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36722
36724
|
explorerUrl: "https://arbiscan.io",
|
36723
|
-
explorerApi: "https://api.
|
36725
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36724
36726
|
lightIcon: "https://sentio.xyz/chains/arbitrum.svg"
|
36725
36727
|
},
|
36726
36728
|
[chain_id_1.EthChainId.AVALANCHE]: {
|
@@ -36748,9 +36750,9 @@ var require_chain_info = __commonJS({
|
|
36748
36750
|
wrappedTokenAddress: "0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9",
|
36749
36751
|
tokenSymbol: "ETH",
|
36750
36752
|
tokenDecimals: 18,
|
36751
|
-
explorerApiType: ExplorerApiType.
|
36752
|
-
explorerUrl: "https://
|
36753
|
-
explorerApi: "https://
|
36753
|
+
explorerApiType: ExplorerApiType.BLOCKSCOUT,
|
36754
|
+
explorerUrl: "https://polygon.blockscout.com",
|
36755
|
+
explorerApi: "https://polygon.blockscout.com",
|
36754
36756
|
lightIcon: "https://sentio.xyz/chains/polygon.svg"
|
36755
36757
|
},
|
36756
36758
|
[chain_id_1.EthChainId.MOONBEAM]: {
|
@@ -36763,9 +36765,9 @@ var require_chain_info = __commonJS({
|
|
36763
36765
|
wrappedTokenAddress: "0xacc15dc74880c9944775448304b263d191c6077f",
|
36764
36766
|
tokenSymbol: "GLMR",
|
36765
36767
|
tokenDecimals: 18,
|
36766
|
-
explorerApiType: ExplorerApiType.
|
36768
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36767
36769
|
explorerUrl: "https://moonscan.io",
|
36768
|
-
explorerApi: "https://api
|
36770
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36769
36771
|
lightIcon: "https://sentio.xyz/chains/moonbeam.svg"
|
36770
36772
|
},
|
36771
36773
|
[chain_id_1.EthChainId.ASTAR]: {
|
@@ -36794,8 +36796,8 @@ var require_chain_info = __commonJS({
|
|
36794
36796
|
tokenSymbol: "ETH",
|
36795
36797
|
tokenDecimals: 18,
|
36796
36798
|
explorerUrl: "https://lineascan.build",
|
36797
|
-
explorerApiType: ExplorerApiType.
|
36798
|
-
explorerApi: "https://api.
|
36799
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36800
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36799
36801
|
lightIcon: "https://sentio.xyz/chains/linea.svg",
|
36800
36802
|
darkIcon: "https://sentio.xyz/chains/linea-dark.svg"
|
36801
36803
|
},
|
@@ -36810,8 +36812,8 @@ var require_chain_info = __commonJS({
|
|
36810
36812
|
tokenSymbol: "ETH",
|
36811
36813
|
tokenDecimals: 18,
|
36812
36814
|
explorerUrl: "https://scrollscan.com",
|
36813
|
-
explorerApiType: ExplorerApiType.
|
36814
|
-
explorerApi: "https://api.
|
36815
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36816
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36815
36817
|
lightIcon: "https://sentio.xyz/chains/scroll.svg"
|
36816
36818
|
},
|
36817
36819
|
[chain_id_1.EthChainId.TAIKO]: {
|
@@ -36825,26 +36827,26 @@ var require_chain_info = __commonJS({
|
|
36825
36827
|
tokenSymbol: "ETH",
|
36826
36828
|
tokenDecimals: 18,
|
36827
36829
|
explorerUrl: "https://taikoscan.io",
|
36828
|
-
explorerApiType: ExplorerApiType.
|
36829
|
-
explorerApi: "https://api.
|
36830
|
-
lightIcon: "https://sentio.xyz/chains/taiko.svg"
|
36831
|
-
},
|
36832
|
-
[chain_id_1.EthChainId.TAIKO_TESTNET]: {
|
36833
|
-
name: "Taiko Testnet",
|
36834
|
-
slug: "taiko-hekla-testnet",
|
36835
|
-
chainId: chain_id_1.EthChainId.TAIKO_TESTNET,
|
36836
|
-
mainnetChainId: chain_id_1.EthChainId.TAIKO,
|
36837
|
-
variation: EthVariation.DEFAULT,
|
36838
|
-
priceTokenAddress: "0x0000000000000000000000000000000000000000",
|
36839
|
-
tokenAddress: "0x0000000000000000000000000000000000000000",
|
36840
|
-
wrappedTokenAddress: "0xae2C46ddb314B9Ba743C6dEE4878F151881333D9",
|
36841
|
-
tokenSymbol: "ETH",
|
36842
|
-
tokenDecimals: 18,
|
36843
|
-
explorerUrl: "https://hekla.taikoscan.io",
|
36844
|
-
explorerApiType: ExplorerApiType.ETHERSCAN,
|
36845
|
-
explorerApi: "https://api-hekla.taikoscan.io",
|
36830
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36831
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36846
36832
|
lightIcon: "https://sentio.xyz/chains/taiko.svg"
|
36847
36833
|
},
|
36834
|
+
// [EthChainId.TAIKO_TESTNET]: {
|
36835
|
+
// name: 'Taiko Testnet',
|
36836
|
+
// slug: 'taiko-hekla-testnet',
|
36837
|
+
// chainId: EthChainId.TAIKO_TESTNET,
|
36838
|
+
// mainnetChainId: EthChainId.TAIKO,
|
36839
|
+
// variation: EthVariation.DEFAULT,
|
36840
|
+
// priceTokenAddress: '0x0000000000000000000000000000000000000000',
|
36841
|
+
// tokenAddress: '0x0000000000000000000000000000000000000000',
|
36842
|
+
// wrappedTokenAddress: '0xae2C46ddb314B9Ba743C6dEE4878F151881333D9',
|
36843
|
+
// tokenSymbol: 'ETH',
|
36844
|
+
// tokenDecimals: 18,
|
36845
|
+
// explorerUrl: 'https://hekla.taikoscan.io',
|
36846
|
+
// explorerApiType: ExplorerApiType.ETHERSCAN,
|
36847
|
+
// explorerApi: 'https://api.etherscan.io/v2',
|
36848
|
+
// lightIcon: 'https://sentio.xyz/chains/taiko.svg'
|
36849
|
+
// },
|
36848
36850
|
[chain_id_1.EthChainId.XLAYER_TESTNET]: {
|
36849
36851
|
name: "X Layer Testnet",
|
36850
36852
|
slug: "xlayer-sepolia",
|
@@ -36861,6 +36863,21 @@ var require_chain_info = __commonJS({
|
|
36861
36863
|
explorerApi: "https://www.oklink.com/api/v5/explorer",
|
36862
36864
|
lightIcon: "https://sentio.xyz/chains/x1-logo.png"
|
36863
36865
|
},
|
36866
|
+
[chain_id_1.EthChainId.CORE_MAINNET]: {
|
36867
|
+
name: "Core",
|
36868
|
+
slug: "core-mainnet",
|
36869
|
+
chainId: chain_id_1.EthChainId.CORE_MAINNET,
|
36870
|
+
variation: EthVariation.DEFAULT,
|
36871
|
+
priceTokenAddress: "0x0000000000000000000000000000000000000000",
|
36872
|
+
tokenAddress: "0x0000000000000000000000000000000000000000",
|
36873
|
+
wrappedTokenAddress: "0x40375c92d9faf44d2f9db9bd9ba41a3317a2404f",
|
36874
|
+
tokenSymbol: "CORE",
|
36875
|
+
tokenDecimals: 18,
|
36876
|
+
explorerApiType: ExplorerApiType.UNKNOWN,
|
36877
|
+
explorerUrl: "https://scan.coredao.org",
|
36878
|
+
// explorerApi: 'https://openapi.coredao.org',
|
36879
|
+
lightIcon: "https://sentio.xyz/chains/core.svg"
|
36880
|
+
},
|
36864
36881
|
[chain_id_1.EthChainId.XLAYER_MAINNET]: {
|
36865
36882
|
name: "X Layer Mainnet",
|
36866
36883
|
slug: "xlayer-mainnet",
|
@@ -36887,8 +36904,8 @@ var require_chain_info = __commonJS({
|
|
36887
36904
|
tokenSymbol: "ETH",
|
36888
36905
|
tokenDecimals: 18,
|
36889
36906
|
explorerUrl: "https://blastscan.io",
|
36890
|
-
explorerApiType: ExplorerApiType.
|
36891
|
-
explorerApi: "https://api.
|
36907
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36908
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36892
36909
|
lightIcon: "https://sentio.xyz/chains/blast-logo.png"
|
36893
36910
|
},
|
36894
36911
|
[chain_id_1.EthChainId.BLAST_SEPOLIA]: {
|
@@ -36903,8 +36920,8 @@ var require_chain_info = __commonJS({
|
|
36903
36920
|
tokenSymbol: "ETH",
|
36904
36921
|
tokenDecimals: 18,
|
36905
36922
|
explorerUrl: "https://sepolia.blastscan.io",
|
36906
|
-
explorerApiType: ExplorerApiType.
|
36907
|
-
explorerApi: "https://api
|
36923
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36924
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36908
36925
|
lightIcon: "https://sentio.xyz/chains/blast-logo.png"
|
36909
36926
|
},
|
36910
36927
|
[chain_id_1.EthChainId.BASE]: {
|
@@ -36918,8 +36935,8 @@ var require_chain_info = __commonJS({
|
|
36918
36935
|
tokenSymbol: "ETH",
|
36919
36936
|
tokenDecimals: 18,
|
36920
36937
|
explorerUrl: "https://basescan.org",
|
36921
|
-
explorerApiType: ExplorerApiType.
|
36922
|
-
explorerApi: "https://api.
|
36938
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
36939
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36923
36940
|
lightIcon: "https://sentio.xyz/chains/base.svg",
|
36924
36941
|
darkIcon: "https://sentio.xyz/chains/base_blue.svg"
|
36925
36942
|
},
|
@@ -36967,21 +36984,21 @@ var require_chain_info = __commonJS({
|
|
36967
36984
|
lightIcon: "https://sentio.xyz/chains/zircuit-inverted-icon.svg",
|
36968
36985
|
darkIcon: "https://sentio.xyz/chains/zircuit-green-icon.svg"
|
36969
36986
|
},
|
36970
|
-
[
|
36971
|
-
|
36972
|
-
|
36973
|
-
|
36974
|
-
|
36975
|
-
|
36976
|
-
|
36977
|
-
|
36978
|
-
|
36979
|
-
|
36980
|
-
|
36981
|
-
|
36982
|
-
|
36983
|
-
|
36984
|
-
},
|
36987
|
+
// [EthChainId.FANTOM]: {
|
36988
|
+
// name: 'Fantom Opera',
|
36989
|
+
// slug: 'fantom',
|
36990
|
+
// chainId: EthChainId.FANTOM,
|
36991
|
+
// variation: EthVariation.DEFAULT,
|
36992
|
+
// priceTokenAddress: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83', // WFTM
|
36993
|
+
// tokenAddress: '0x0000000000000000000000000000000000000000',
|
36994
|
+
// wrappedTokenAddress: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
|
36995
|
+
// tokenSymbol: 'WFTM',
|
36996
|
+
// tokenDecimals: 18,
|
36997
|
+
// explorerUrl: 'https://ftmscan.com',
|
36998
|
+
// explorerApiType: ExplorerApiType.ETHERSCAN,
|
36999
|
+
// explorerApi: 'https://api.ftmscan.com',
|
37000
|
+
// lightIcon: 'https://sentio.xyz/chains/fantom.svg'
|
37001
|
+
// },
|
36985
37002
|
[chain_id_1.EthChainId.OPTIMISM]: {
|
36986
37003
|
name: "Optimism Mainnet",
|
36987
37004
|
slug: "optimism",
|
@@ -36993,8 +37010,8 @@ var require_chain_info = __commonJS({
|
|
36993
37010
|
tokenSymbol: "ETH",
|
36994
37011
|
tokenDecimals: 18,
|
36995
37012
|
explorerUrl: "https://optimistic.etherscan.io",
|
36996
|
-
explorerApiType: ExplorerApiType.
|
36997
|
-
explorerApi: "https://api
|
37013
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37014
|
+
explorerApi: "https://api.etherscan.io/v2",
|
36998
37015
|
lightIcon: "https://sentio.xyz/chains/optimism.svg"
|
36999
37016
|
},
|
37000
37017
|
[chain_id_1.EthChainId.CRONOS]: {
|
@@ -37008,8 +37025,8 @@ var require_chain_info = __commonJS({
|
|
37008
37025
|
tokenSymbol: "CRO",
|
37009
37026
|
tokenDecimals: 18,
|
37010
37027
|
explorerUrl: "https://cronoscan.com",
|
37011
|
-
explorerApiType: ExplorerApiType.
|
37012
|
-
explorerApi: "https://api.
|
37028
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37029
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37013
37030
|
lightIcon: "https://sentio.xyz/chains/cronos.svg",
|
37014
37031
|
darkIcon: "https://sentio.xyz/chains/cronos_light.svg"
|
37015
37032
|
},
|
@@ -37025,6 +37042,8 @@ var require_chain_info = __commonJS({
|
|
37025
37042
|
tokenSymbol: "CRO",
|
37026
37043
|
tokenDecimals: 18,
|
37027
37044
|
explorerUrl: "https://explorer.cronos.org/testnet",
|
37045
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37046
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37028
37047
|
lightIcon: "https://sentio.xyz/chains/cronos.svg",
|
37029
37048
|
darkIcon: "https://sentio.xyz/chains/cronos_light.svg"
|
37030
37049
|
},
|
@@ -37069,8 +37088,8 @@ var require_chain_info = __commonJS({
|
|
37069
37088
|
tokenSymbol: "MNT",
|
37070
37089
|
tokenDecimals: 18,
|
37071
37090
|
explorerUrl: "https://mantlescan.xyz",
|
37072
|
-
explorerApiType: ExplorerApiType.
|
37073
|
-
explorerApi: "https://api.
|
37091
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37092
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37074
37093
|
lightIcon: "https://sentio.xyz/chains/mantle.svg",
|
37075
37094
|
darkIcon: "https://sentio.xyz/chains/mantle-white.svg"
|
37076
37095
|
},
|
@@ -37131,8 +37150,8 @@ var require_chain_info = __commonJS({
|
|
37131
37150
|
tokenSymbol: "ETH",
|
37132
37151
|
tokenDecimals: 18,
|
37133
37152
|
explorerUrl: "https://fraxscan.com",
|
37134
|
-
explorerApiType: ExplorerApiType.
|
37135
|
-
explorerApi: "https://api.
|
37153
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37154
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37136
37155
|
lightIcon: "https://sentio.xyz/chains/fraxtal.svg"
|
37137
37156
|
},
|
37138
37157
|
[chain_id_1.EthChainId.KUCOIN]: {
|
@@ -37267,8 +37286,8 @@ var require_chain_info = __commonJS({
|
|
37267
37286
|
tokenSymbol: "S",
|
37268
37287
|
tokenDecimals: 18,
|
37269
37288
|
explorerUrl: "https://sonicscan.org",
|
37270
|
-
explorerApiType: ExplorerApiType.
|
37271
|
-
explorerApi: "https://api.
|
37289
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37290
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37272
37291
|
lightIcon: "https://sentio.xyz/chains/sonic.svg",
|
37273
37292
|
darkIcon: "https://sentio.xyz/chains/sonic-dark.svg"
|
37274
37293
|
},
|
@@ -37284,8 +37303,8 @@ var require_chain_info = __commonJS({
|
|
37284
37303
|
tokenSymbol: "S",
|
37285
37304
|
tokenDecimals: 18,
|
37286
37305
|
explorerUrl: "https://testnet.sonicscan.org",
|
37287
|
-
explorerApiType: ExplorerApiType.
|
37288
|
-
explorerApi: "https://api
|
37306
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37307
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37289
37308
|
lightIcon: "https://sentio.xyz/chains/sonic.svg",
|
37290
37309
|
darkIcon: "https://sentio.xyz/chains/sonic-dark.svg"
|
37291
37310
|
},
|
@@ -37331,8 +37350,8 @@ var require_chain_info = __commonJS({
|
|
37331
37350
|
tokenSymbol: "zkCRO",
|
37332
37351
|
tokenDecimals: 18,
|
37333
37352
|
explorerUrl: "https://explorer.zkevm.cronos.org",
|
37334
|
-
explorerApiType: ExplorerApiType.
|
37335
|
-
explorerApi:
|
37353
|
+
explorerApiType: ExplorerApiType.UNKNOWN,
|
37354
|
+
// explorerApi: 'https://explorer.zkevm.cronos.org',
|
37336
37355
|
lightIcon: "https://sentio.xyz/chains/cronos.svg",
|
37337
37356
|
darkIcon: "https://sentio.xyz/chains/cronos_light.svg"
|
37338
37357
|
},
|
@@ -37496,13 +37515,14 @@ var require_chain_info = __commonJS({
|
|
37496
37515
|
tokenSymbol: "BERA",
|
37497
37516
|
tokenDecimals: 18,
|
37498
37517
|
explorerUrl: "https://berascan.com",
|
37499
|
-
explorerApi: "https://api.
|
37500
|
-
explorerApiType: ExplorerApiType.
|
37518
|
+
explorerApi: "https://api.etherscan.io/v2",
|
37519
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
37501
37520
|
lightIcon: "https://sentio.xyz/chains/berachain.svg"
|
37502
37521
|
},
|
37503
37522
|
[chain_id_1.EthChainId.HYPER_EVM]: {
|
37504
37523
|
name: "HyperEVM",
|
37505
|
-
slug: "
|
37524
|
+
slug: "hyperevm",
|
37525
|
+
additionalSlugs: ["hyper-evm"],
|
37506
37526
|
chainId: chain_id_1.EthChainId.HYPER_EVM,
|
37507
37527
|
variation: EthVariation.DEFAULT,
|
37508
37528
|
priceTokenAddress: "0x0000000000000000000000000000000000000000",
|
@@ -37510,7 +37530,7 @@ var require_chain_info = __commonJS({
|
|
37510
37530
|
wrappedTokenAddress: "0x0000000000000000000000000000000000000000",
|
37511
37531
|
tokenSymbol: "HYPE",
|
37512
37532
|
tokenDecimals: 18,
|
37513
|
-
explorerUrl: "https://liquidscan.xyz/mainnet",
|
37533
|
+
explorerUrl: "https://liquidscan.xyz/hyper-evm/mainnet",
|
37514
37534
|
lightIcon: "https://sentio.xyz/chains/hype.svg",
|
37515
37535
|
darkIcon: "https://sentio.xyz/chains/hype-dark.svg"
|
37516
37536
|
},
|
@@ -37679,7 +37699,7 @@ var require_chain_info = __commonJS({
|
|
37679
37699
|
}
|
37680
37700
|
return `${explorerUrl}${subPath}/${hash2}${suffix}`;
|
37681
37701
|
}
|
37682
|
-
|
37702
|
+
exports.SuiChainInfo = {
|
37683
37703
|
[chain_id_1.SuiChainId.SUI_MAINNET]: {
|
37684
37704
|
name: "Sui Mainnet",
|
37685
37705
|
chainId: chain_id_1.SuiChainId.SUI_MAINNET,
|
@@ -37712,7 +37732,7 @@ var require_chain_info = __commonJS({
|
|
37712
37732
|
object: "object"
|
37713
37733
|
};
|
37714
37734
|
function getSuiChainScanUrl(chainId, hash2, subtype) {
|
37715
|
-
const suiChain = SuiChainInfo[chainId];
|
37735
|
+
const suiChain = exports.SuiChainInfo[chainId];
|
37716
37736
|
if (!suiChain) {
|
37717
37737
|
return;
|
37718
37738
|
}
|
@@ -37726,7 +37746,7 @@ var require_chain_info = __commonJS({
|
|
37726
37746
|
return `${suiChain.explorerUrl}/${subPath}/${hash2}`;
|
37727
37747
|
}
|
37728
37748
|
function getSuiChainVisionUrl(chainId, hash2, subtype) {
|
37729
|
-
const suiChain = SuiChainInfo[chainId];
|
37749
|
+
const suiChain = exports.SuiChainInfo[chainId];
|
37730
37750
|
if (!suiChain) {
|
37731
37751
|
return;
|
37732
37752
|
}
|
@@ -37739,7 +37759,7 @@ var require_chain_info = __commonJS({
|
|
37739
37759
|
}
|
37740
37760
|
return `${suiChain.suivisionUrl}/${subPath}/${hash2}`;
|
37741
37761
|
}
|
37742
|
-
|
37762
|
+
exports.FuelChainInfo = {
|
37743
37763
|
[chain_id_1.FuelChainId.FUEL_MAINNET]: {
|
37744
37764
|
name: "Fuel Mainnet",
|
37745
37765
|
chainId: chain_id_1.FuelChainId.FUEL_MAINNET,
|
@@ -37760,7 +37780,7 @@ var require_chain_info = __commonJS({
|
|
37760
37780
|
token: void 0
|
37761
37781
|
};
|
37762
37782
|
function getFuelChainScanUrl(chainId, hash2, subtype) {
|
37763
|
-
const { explorerUrl } = FuelChainInfo[chainId];
|
37783
|
+
const { explorerUrl } = exports.FuelChainInfo[chainId];
|
37764
37784
|
const subPath = FuelSubTypePaths[subtype];
|
37765
37785
|
if (!subPath) {
|
37766
37786
|
return;
|
@@ -37780,9 +37800,9 @@ var require_chain_info = __commonJS({
|
|
37780
37800
|
return getAptosChainScanUrl(chainIdStr, hash2, subtype);
|
37781
37801
|
} else if (Object.keys(exports.SolanaChainInfo).includes(chainIdStr)) {
|
37782
37802
|
return getSolanaChainScanUrl(chainIdStr, hash2, subtype);
|
37783
|
-
} else if (Object.keys(SuiChainInfo).includes(chainIdStr)) {
|
37803
|
+
} else if (Object.keys(exports.SuiChainInfo).includes(chainIdStr)) {
|
37784
37804
|
return getSuiChainVisionUrl(chainIdStr, hash2, subtype);
|
37785
|
-
} else if (Object.keys(FuelChainInfo).includes(chainIdStr)) {
|
37805
|
+
} else if (Object.keys(exports.FuelChainInfo).includes(chainIdStr)) {
|
37786
37806
|
return getFuelChainScanUrl(chainIdStr, hash2, subtype);
|
37787
37807
|
}
|
37788
37808
|
return;
|
@@ -37835,10 +37855,10 @@ var require_chain_info = __commonJS({
|
|
37835
37855
|
return getLogoUrl(exports.AptosChainInfo[chainIdStr], dark);
|
37836
37856
|
} else if (Object.keys(exports.SolanaChainInfo).includes(chainIdStr)) {
|
37837
37857
|
return getLogoUrl(exports.SolanaChainInfo[chainIdStr], dark);
|
37838
|
-
} else if (Object.keys(SuiChainInfo).includes(chainIdStr)) {
|
37839
|
-
return getLogoUrl(SuiChainInfo[chainIdStr], dark);
|
37840
|
-
} else if (Object.keys(FuelChainInfo).includes(chainIdStr)) {
|
37841
|
-
return getLogoUrl(FuelChainInfo[chainIdStr], dark);
|
37858
|
+
} else if (Object.keys(exports.SuiChainInfo).includes(chainIdStr)) {
|
37859
|
+
return getLogoUrl(exports.SuiChainInfo[chainIdStr], dark);
|
37860
|
+
} else if (Object.keys(exports.FuelChainInfo).includes(chainIdStr)) {
|
37861
|
+
return getLogoUrl(exports.FuelChainInfo[chainIdStr], dark);
|
37842
37862
|
}
|
37843
37863
|
return getLogoUrl();
|
37844
37864
|
}
|
@@ -37846,9 +37866,9 @@ var require_chain_info = __commonJS({
|
|
37846
37866
|
}
|
37847
37867
|
});
|
37848
37868
|
|
37849
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.
|
37869
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-name.js
|
37850
37870
|
var require_chain_name = __commonJS({
|
37851
|
-
"../../node_modules/.pnpm/@sentio+chain@3.
|
37871
|
+
"../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/chain-name.js"(exports) {
|
37852
37872
|
"use strict";
|
37853
37873
|
Object.defineProperty(exports, "__esModule", { value: true });
|
37854
37874
|
exports.getChainScanUrl = exports.getChainName = exports.CHAIN_MAP = void 0;
|
@@ -37865,7 +37885,7 @@ var require_chain_name = __commonJS({
|
|
37865
37885
|
if (exports.CHAIN_MAP[value]) {
|
37866
37886
|
continue;
|
37867
37887
|
}
|
37868
|
-
const chainInfo = chain_info_1.EthChainInfo[value];
|
37888
|
+
const chainInfo = chain_info_1.EthChainInfo[value] || chain_info_1.BTCChainInfo[value] || chain_info_1.AptosChainInfo[value] || chain_info_1.SolanaChainInfo[value] || chain_info_1.SuiChainInfo[value] || chain_info_1.FuelChainInfo[value];
|
37869
37889
|
if (chainInfo) {
|
37870
37890
|
exports.CHAIN_MAP[value] = chainInfo.name;
|
37871
37891
|
continue;
|
@@ -37947,9 +37967,9 @@ var require_chain_name = __commonJS({
|
|
37947
37967
|
}
|
37948
37968
|
});
|
37949
37969
|
|
37950
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.
|
37970
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/index.js
|
37951
37971
|
var require_dist = __commonJS({
|
37952
|
-
"../../node_modules/.pnpm/@sentio+chain@3.
|
37972
|
+
"../../node_modules/.pnpm/@sentio+chain@3.3.0/node_modules/@sentio/chain/dist/index.js"(exports) {
|
37953
37973
|
"use strict";
|
37954
37974
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
37955
37975
|
if (k2 === void 0) k2 = k;
|
@@ -38512,6 +38532,7 @@ var DataBindingContext = class extends AbstractStoreContext {
|
|
38512
38532
|
});
|
38513
38533
|
}
|
38514
38534
|
doSend(resp) {
|
38535
|
+
console.debug("sending db request, processId ", this.processId, "opId", resp.dbRequest?.opId);
|
38515
38536
|
this.subject.next({
|
38516
38537
|
...resp,
|
38517
38538
|
processId: this.processId
|
@@ -59833,6 +59854,8 @@ export {
|
|
59833
59854
|
init_es2 as init_es,
|
59834
59855
|
require_lib3,
|
59835
59856
|
require_lib4,
|
59857
|
+
from,
|
59858
|
+
withAbort,
|
59836
59859
|
GLOBAL_CONFIG,
|
59837
59860
|
freezeGlobalConfig,
|
59838
59861
|
DiagLogLevel,
|
@@ -59955,4 +59978,4 @@ long/umd/index.js:
|
|
59955
59978
|
@noble/curves/esm/secp256k1.js:
|
59956
59979
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
59957
59980
|
*/
|
59958
|
-
//# sourceMappingURL=chunk-
|
59981
|
+
//# sourceMappingURL=chunk-OJKZJGLN.js.map
|