@bgd-labs/toolbox 0.0.39 → 0.0.41
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/dist/index.d.mts +71 -9
- package/dist/index.d.ts +71 -9
- package/dist/index.js +115 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +117 -41
- package/dist/index.mjs.map +1 -1
- package/dist/node.js +115 -40
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +117 -41
- package/dist/node.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -715,6 +715,7 @@ declare const ChainId: {
|
|
|
715
715
|
readonly ink: 57073;
|
|
716
716
|
readonly soneium: 1868;
|
|
717
717
|
readonly bob: 60808;
|
|
718
|
+
readonly plasma: 9745;
|
|
718
719
|
};
|
|
719
720
|
declare const ChainList: Record<valueOf<typeof ChainId>, Chain>;
|
|
720
721
|
|
|
@@ -737,12 +738,13 @@ declare const publicRPCs: {
|
|
|
737
738
|
readonly 43114: "https://api.avax.network/ext/bc/C/rpc";
|
|
738
739
|
readonly 59144: "https://rpc.linea.build";
|
|
739
740
|
readonly 60808: "https://rpc.gobob.xyz";
|
|
741
|
+
readonly 9745: "https://rpc.plasma.to";
|
|
740
742
|
};
|
|
741
|
-
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
|
|
742
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM";
|
|
743
|
+
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002 | 9745)[];
|
|
744
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
|
|
743
745
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
744
746
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
745
|
-
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
747
|
+
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.gobob.xyz" | "https://rpc.plasma.to" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
746
748
|
/**
|
|
747
749
|
* HyperRPCs are extremely fast **but** they only support a subset of the standard.
|
|
748
750
|
* Therefore they are not used in the generalized getClient atm.
|
|
@@ -4631,11 +4633,6 @@ declare const chainlinkFeeds: {
|
|
|
4631
4633
|
readonly proxyAddress: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1";
|
|
4632
4634
|
readonly decimals: 8;
|
|
4633
4635
|
readonly name: "YFI / USD";
|
|
4634
|
-
}, {
|
|
4635
|
-
readonly contractAddress: "0x5359676cD1840De248D71541a3c7B358036D2c93";
|
|
4636
|
-
readonly proxyAddress: "0x079674468Fee6ab45aBfE986737A440701c49BdB";
|
|
4637
|
-
readonly decimals: 8;
|
|
4638
|
-
readonly name: "USDM / USD";
|
|
4639
4636
|
}, {
|
|
4640
4637
|
readonly contractAddress: "0x5406F7bfF74320e7EEB9ebf720E812599F71800c";
|
|
4641
4638
|
readonly proxyAddress: "0x7A364e8770418566e3eb2001A96116E6138Eb32F";
|
|
@@ -8181,6 +8178,11 @@ declare const chainlinkFeeds: {
|
|
|
8181
8178
|
readonly proxyAddress: "0xdB17996a889706Bd67771dEa59E0Bf9453aF0CE4";
|
|
8182
8179
|
readonly decimals: 8;
|
|
8183
8180
|
readonly name: "stS / USD";
|
|
8181
|
+
}, {
|
|
8182
|
+
readonly contractAddress: "0xEA67c1E120c71d4c8045937FBB511FC44CBF1d85";
|
|
8183
|
+
readonly proxyAddress: "0x5c042362ecB555D9fb554E4ee1821Aa6762D9239";
|
|
8184
|
+
readonly decimals: 18;
|
|
8185
|
+
readonly name: "xSolvBTC NAV";
|
|
8184
8186
|
}, {
|
|
8185
8187
|
readonly contractAddress: "0xEaDe2845b14d262b89608908A64103E942cC9F85";
|
|
8186
8188
|
readonly proxyAddress: "0x3c6490e4c60BD8246071A014AaCE7A596d392642";
|
|
@@ -8277,6 +8279,11 @@ declare const chainlinkFeeds: {
|
|
|
8277
8279
|
readonly proxyAddress: "0x2137c69DCb41f611Cc8f39F8A98047e774d6ED74";
|
|
8278
8280
|
readonly decimals: 8;
|
|
8279
8281
|
readonly name: "AAVE / USD";
|
|
8282
|
+
}, {
|
|
8283
|
+
readonly contractAddress: "0x4D322E2636C01f3968153d2fB416737299B0481A";
|
|
8284
|
+
readonly proxyAddress: "0x7e161604Da57DF30bbC9f0C166e8163fB9147a7a";
|
|
8285
|
+
readonly decimals: 18;
|
|
8286
|
+
readonly name: "xSolvBTC NAV";
|
|
8280
8287
|
}, {
|
|
8281
8288
|
readonly contractAddress: "0x5941757Be22E8093Ef463d00F1f55eAAaa1D4FEb";
|
|
8282
8289
|
readonly proxyAddress: "0x8D3184a992f93729b249407C33F1e78abE0d650e";
|
|
@@ -8534,6 +8541,11 @@ declare const chainlinkFeeds: {
|
|
|
8534
8541
|
readonly proxyAddress: "0x931602D8758E7A891Dce57A31c2A23A98931Fe1c";
|
|
8535
8542
|
readonly decimals: 18;
|
|
8536
8543
|
readonly name: "stETH / ETH";
|
|
8544
|
+
}, {
|
|
8545
|
+
readonly contractAddress: "0xb4D8DC49FE2b8b9d4FeAEE430a1E5d6D069F00f4";
|
|
8546
|
+
readonly proxyAddress: "0x42237D7d96A4178bB22498bb3B2C689D502DE847";
|
|
8547
|
+
readonly decimals: 18;
|
|
8548
|
+
readonly name: "xSolvBTC NAV";
|
|
8537
8549
|
}];
|
|
8538
8550
|
readonly "5000": readonly [{
|
|
8539
8551
|
readonly contractAddress: "0x0DC50F0D8E8c423CE3f40935222B8C0a9D1B0300";
|
|
@@ -8746,6 +8758,11 @@ declare const chainlinkFeeds: {
|
|
|
8746
8758
|
readonly proxyAddress: "0xC4300B7CF0646F0Fe4C5B2ACFCCC4dCA1346f5d8";
|
|
8747
8759
|
readonly decimals: 18;
|
|
8748
8760
|
readonly name: "ezETH / ETH Exchange Rate";
|
|
8761
|
+
}, {
|
|
8762
|
+
readonly contractAddress: "0x23c463c4fB13fFC8c20a1Bdd71A928686eD3A4A2";
|
|
8763
|
+
readonly proxyAddress: "0x237A94A589DD38DF7e50CeFDa0b8916a54d01ecC";
|
|
8764
|
+
readonly decimals: 8;
|
|
8765
|
+
readonly name: "XDC / USD";
|
|
8749
8766
|
}, {
|
|
8750
8767
|
readonly contractAddress: "0x23e47A253776F1Fce32e5F2D5D342ca5D6Edd226";
|
|
8751
8768
|
readonly proxyAddress: "0x3E3A6bD129A63564FE7abde85FA67c3950569060";
|
|
@@ -9802,6 +9819,11 @@ declare const chainlinkFeeds: {
|
|
|
9802
9819
|
readonly proxyAddress: null;
|
|
9803
9820
|
readonly decimals: 18;
|
|
9804
9821
|
readonly name: "GHO/USD-RefPrice-mainnet-production";
|
|
9822
|
+
}, {
|
|
9823
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9824
|
+
readonly proxyAddress: null;
|
|
9825
|
+
readonly decimals: 18;
|
|
9826
|
+
readonly name: "USD0/USD-Streams-DexPrice-mainnet-production";
|
|
9805
9827
|
}, {
|
|
9806
9828
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9807
9829
|
readonly proxyAddress: null;
|
|
@@ -9992,6 +10014,11 @@ declare const chainlinkFeeds: {
|
|
|
9992
10014
|
readonly proxyAddress: null;
|
|
9993
10015
|
readonly decimals: 18;
|
|
9994
10016
|
readonly name: "TNSR/USD-RefPrice-mainnet-production";
|
|
10017
|
+
}, {
|
|
10018
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10019
|
+
readonly proxyAddress: null;
|
|
10020
|
+
readonly decimals: 18;
|
|
10021
|
+
readonly name: "MYX/USD-Streams-DexPrice-mainnet-production";
|
|
9995
10022
|
}, {
|
|
9996
10023
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9997
10024
|
readonly proxyAddress: null;
|
|
@@ -10257,6 +10284,11 @@ declare const chainlinkFeeds: {
|
|
|
10257
10284
|
readonly proxyAddress: null;
|
|
10258
10285
|
readonly decimals: 18;
|
|
10259
10286
|
readonly name: "KAVA/USD-RefPrice-mainnet-staging";
|
|
10287
|
+
}, {
|
|
10288
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10289
|
+
readonly proxyAddress: null;
|
|
10290
|
+
readonly decimals: 18;
|
|
10291
|
+
readonly name: "OKB/USD-Streams-CexPrice-mainnet-production";
|
|
10260
10292
|
}, {
|
|
10261
10293
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10262
10294
|
readonly proxyAddress: null;
|
|
@@ -10307,6 +10339,11 @@ declare const chainlinkFeeds: {
|
|
|
10307
10339
|
readonly proxyAddress: null;
|
|
10308
10340
|
readonly decimals: 18;
|
|
10309
10341
|
readonly name: "BNSOL/USD-RefPrice-mainnet-production";
|
|
10342
|
+
}, {
|
|
10343
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10344
|
+
readonly proxyAddress: null;
|
|
10345
|
+
readonly decimals: 18;
|
|
10346
|
+
readonly name: "BRL/USDT-RefPrice-mainnet-production";
|
|
10310
10347
|
}, {
|
|
10311
10348
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10312
10349
|
readonly proxyAddress: null;
|
|
@@ -10537,6 +10574,11 @@ declare const chainlinkFeeds: {
|
|
|
10537
10574
|
readonly proxyAddress: null;
|
|
10538
10575
|
readonly decimals: 18;
|
|
10539
10576
|
readonly name: "MSTR/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10577
|
+
}, {
|
|
10578
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10579
|
+
readonly proxyAddress: null;
|
|
10580
|
+
readonly decimals: 18;
|
|
10581
|
+
readonly name: "VXX/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10540
10582
|
}, {
|
|
10541
10583
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10542
10584
|
readonly proxyAddress: null;
|
|
@@ -10572,6 +10614,11 @@ declare const chainlinkFeeds: {
|
|
|
10572
10614
|
readonly proxyAddress: null;
|
|
10573
10615
|
readonly decimals: 18;
|
|
10574
10616
|
readonly name: "VZ/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10617
|
+
}, {
|
|
10618
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10619
|
+
readonly proxyAddress: null;
|
|
10620
|
+
readonly decimals: 18;
|
|
10621
|
+
readonly name: "IBIT/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10575
10622
|
}, {
|
|
10576
10623
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10577
10624
|
readonly proxyAddress: null;
|
|
@@ -13377,6 +13424,11 @@ declare const chainlinkFeeds: {
|
|
|
13377
13424
|
readonly proxyAddress: "0x4bC735Ef24bf286983024CAd5D03f0738865Aaef";
|
|
13378
13425
|
readonly decimals: 8;
|
|
13379
13426
|
readonly name: "1INCH / USD";
|
|
13427
|
+
}, {
|
|
13428
|
+
readonly contractAddress: "0xaD81BC9887ab35B4aA05493E9B3C32cA7393c8b1";
|
|
13429
|
+
readonly proxyAddress: "0x3b9c34dC5B6BfC1dE896496aFCEf1ca705D0c762";
|
|
13430
|
+
readonly decimals: 8;
|
|
13431
|
+
readonly name: "XDC / USD";
|
|
13380
13432
|
}, {
|
|
13381
13433
|
readonly contractAddress: "0xadBf1c8a244d537C343d771e2Fa897F3654a1Ae4";
|
|
13382
13434
|
readonly proxyAddress: "0x3dD6e51CB9caE717d5a8778CF79A04029f9cFDF8";
|
|
@@ -14079,6 +14131,11 @@ declare const chainlinkFeeds: {
|
|
|
14079
14131
|
readonly proxyAddress: "0x9D6AA0AC8c4818433bEA7a74F49C73B57BcEC4Ec";
|
|
14080
14132
|
readonly decimals: 8;
|
|
14081
14133
|
readonly name: "COMP / USD";
|
|
14134
|
+
}, {
|
|
14135
|
+
readonly contractAddress: "0xF4D6Ed96A78EB7e78B77D47cfD288C2468024D3B";
|
|
14136
|
+
readonly proxyAddress: "0x55b5dc7d7CDD5d3b2Eb189bf11140839076E5d40";
|
|
14137
|
+
readonly decimals: 18;
|
|
14138
|
+
readonly name: "xSolvBTC NAV";
|
|
14082
14139
|
}, {
|
|
14083
14140
|
readonly contractAddress: "0xFE7019D5BCD395C56FB1cF43be548B1F056288FB";
|
|
14084
14141
|
readonly proxyAddress: "0x9Cf3Ef104A973b351B2c032AA6793c3A6F76b448";
|
|
@@ -14225,6 +14282,11 @@ declare const chainlinkFeeds: {
|
|
|
14225
14282
|
readonly proxyAddress: "0xc0068A2F7e4847DF9C3A34B27CCc07b7e15e0458";
|
|
14226
14283
|
readonly decimals: 8;
|
|
14227
14284
|
readonly name: "COMP / USD";
|
|
14285
|
+
}, {
|
|
14286
|
+
readonly contractAddress: "0x67F8F34a08233FA07fcD15EE597C643fd1eBc422";
|
|
14287
|
+
readonly proxyAddress: "0x49768d7ebB7694b1e72546300cCCeD877084d72f";
|
|
14288
|
+
readonly decimals: 18;
|
|
14289
|
+
readonly name: "xSolvBTC NAV";
|
|
14228
14290
|
}, {
|
|
14229
14291
|
readonly contractAddress: "0x6f0D003A0743F5acea5680B1D128bd433B07ffCE";
|
|
14230
14292
|
readonly proxyAddress: "0xEEDF0B095B5dfe75F3881Cb26c19DA209A27463a";
|
|
@@ -14509,7 +14571,7 @@ declare const chainlinkFeeds: {
|
|
|
14509
14571
|
}];
|
|
14510
14572
|
};
|
|
14511
14573
|
|
|
14512
|
-
declare const hyperRPCSupportedNetworks: readonly [1,
|
|
14574
|
+
declare const hyperRPCSupportedNetworks: readonly [1, 10, 42, 50, 51, 56, 97, 100, 130, 137, 146, 250, 288, 324, 480, 999, 1101, 1135, 1284, 1301, 2818, 4201, 6342, 7560, 8453, 9889, 10143, 10200, 17000, 42161, 43113, 43114, 50104, 59144, 80002, 80084, 80094, 81457, 84532, 88888, 98866, 421614, 534352, 7225878, 7777777, 11155111, 11155420, 168587773, 531050104, 1313161567, 1666600000];
|
|
14513
14575
|
|
|
14514
14576
|
declare const erc1967_ImplementationSlot = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc";
|
|
14515
14577
|
declare const erc1967_AdminSlot = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103";
|
package/dist/index.d.ts
CHANGED
|
@@ -715,6 +715,7 @@ declare const ChainId: {
|
|
|
715
715
|
readonly ink: 57073;
|
|
716
716
|
readonly soneium: 1868;
|
|
717
717
|
readonly bob: 60808;
|
|
718
|
+
readonly plasma: 9745;
|
|
718
719
|
};
|
|
719
720
|
declare const ChainList: Record<valueOf<typeof ChainId>, Chain>;
|
|
720
721
|
|
|
@@ -737,12 +738,13 @@ declare const publicRPCs: {
|
|
|
737
738
|
readonly 43114: "https://api.avax.network/ext/bc/C/rpc";
|
|
738
739
|
readonly 59144: "https://rpc.linea.build";
|
|
739
740
|
readonly 60808: "https://rpc.gobob.xyz";
|
|
741
|
+
readonly 9745: "https://rpc.plasma.to";
|
|
740
742
|
};
|
|
741
|
-
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
|
|
742
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM";
|
|
743
|
+
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002 | 9745)[];
|
|
744
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
|
|
743
745
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
744
746
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
745
|
-
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
747
|
+
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.gobob.xyz" | "https://rpc.plasma.to" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
746
748
|
/**
|
|
747
749
|
* HyperRPCs are extremely fast **but** they only support a subset of the standard.
|
|
748
750
|
* Therefore they are not used in the generalized getClient atm.
|
|
@@ -4631,11 +4633,6 @@ declare const chainlinkFeeds: {
|
|
|
4631
4633
|
readonly proxyAddress: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1";
|
|
4632
4634
|
readonly decimals: 8;
|
|
4633
4635
|
readonly name: "YFI / USD";
|
|
4634
|
-
}, {
|
|
4635
|
-
readonly contractAddress: "0x5359676cD1840De248D71541a3c7B358036D2c93";
|
|
4636
|
-
readonly proxyAddress: "0x079674468Fee6ab45aBfE986737A440701c49BdB";
|
|
4637
|
-
readonly decimals: 8;
|
|
4638
|
-
readonly name: "USDM / USD";
|
|
4639
4636
|
}, {
|
|
4640
4637
|
readonly contractAddress: "0x5406F7bfF74320e7EEB9ebf720E812599F71800c";
|
|
4641
4638
|
readonly proxyAddress: "0x7A364e8770418566e3eb2001A96116E6138Eb32F";
|
|
@@ -8181,6 +8178,11 @@ declare const chainlinkFeeds: {
|
|
|
8181
8178
|
readonly proxyAddress: "0xdB17996a889706Bd67771dEa59E0Bf9453aF0CE4";
|
|
8182
8179
|
readonly decimals: 8;
|
|
8183
8180
|
readonly name: "stS / USD";
|
|
8181
|
+
}, {
|
|
8182
|
+
readonly contractAddress: "0xEA67c1E120c71d4c8045937FBB511FC44CBF1d85";
|
|
8183
|
+
readonly proxyAddress: "0x5c042362ecB555D9fb554E4ee1821Aa6762D9239";
|
|
8184
|
+
readonly decimals: 18;
|
|
8185
|
+
readonly name: "xSolvBTC NAV";
|
|
8184
8186
|
}, {
|
|
8185
8187
|
readonly contractAddress: "0xEaDe2845b14d262b89608908A64103E942cC9F85";
|
|
8186
8188
|
readonly proxyAddress: "0x3c6490e4c60BD8246071A014AaCE7A596d392642";
|
|
@@ -8277,6 +8279,11 @@ declare const chainlinkFeeds: {
|
|
|
8277
8279
|
readonly proxyAddress: "0x2137c69DCb41f611Cc8f39F8A98047e774d6ED74";
|
|
8278
8280
|
readonly decimals: 8;
|
|
8279
8281
|
readonly name: "AAVE / USD";
|
|
8282
|
+
}, {
|
|
8283
|
+
readonly contractAddress: "0x4D322E2636C01f3968153d2fB416737299B0481A";
|
|
8284
|
+
readonly proxyAddress: "0x7e161604Da57DF30bbC9f0C166e8163fB9147a7a";
|
|
8285
|
+
readonly decimals: 18;
|
|
8286
|
+
readonly name: "xSolvBTC NAV";
|
|
8280
8287
|
}, {
|
|
8281
8288
|
readonly contractAddress: "0x5941757Be22E8093Ef463d00F1f55eAAaa1D4FEb";
|
|
8282
8289
|
readonly proxyAddress: "0x8D3184a992f93729b249407C33F1e78abE0d650e";
|
|
@@ -8534,6 +8541,11 @@ declare const chainlinkFeeds: {
|
|
|
8534
8541
|
readonly proxyAddress: "0x931602D8758E7A891Dce57A31c2A23A98931Fe1c";
|
|
8535
8542
|
readonly decimals: 18;
|
|
8536
8543
|
readonly name: "stETH / ETH";
|
|
8544
|
+
}, {
|
|
8545
|
+
readonly contractAddress: "0xb4D8DC49FE2b8b9d4FeAEE430a1E5d6D069F00f4";
|
|
8546
|
+
readonly proxyAddress: "0x42237D7d96A4178bB22498bb3B2C689D502DE847";
|
|
8547
|
+
readonly decimals: 18;
|
|
8548
|
+
readonly name: "xSolvBTC NAV";
|
|
8537
8549
|
}];
|
|
8538
8550
|
readonly "5000": readonly [{
|
|
8539
8551
|
readonly contractAddress: "0x0DC50F0D8E8c423CE3f40935222B8C0a9D1B0300";
|
|
@@ -8746,6 +8758,11 @@ declare const chainlinkFeeds: {
|
|
|
8746
8758
|
readonly proxyAddress: "0xC4300B7CF0646F0Fe4C5B2ACFCCC4dCA1346f5d8";
|
|
8747
8759
|
readonly decimals: 18;
|
|
8748
8760
|
readonly name: "ezETH / ETH Exchange Rate";
|
|
8761
|
+
}, {
|
|
8762
|
+
readonly contractAddress: "0x23c463c4fB13fFC8c20a1Bdd71A928686eD3A4A2";
|
|
8763
|
+
readonly proxyAddress: "0x237A94A589DD38DF7e50CeFDa0b8916a54d01ecC";
|
|
8764
|
+
readonly decimals: 8;
|
|
8765
|
+
readonly name: "XDC / USD";
|
|
8749
8766
|
}, {
|
|
8750
8767
|
readonly contractAddress: "0x23e47A253776F1Fce32e5F2D5D342ca5D6Edd226";
|
|
8751
8768
|
readonly proxyAddress: "0x3E3A6bD129A63564FE7abde85FA67c3950569060";
|
|
@@ -9802,6 +9819,11 @@ declare const chainlinkFeeds: {
|
|
|
9802
9819
|
readonly proxyAddress: null;
|
|
9803
9820
|
readonly decimals: 18;
|
|
9804
9821
|
readonly name: "GHO/USD-RefPrice-mainnet-production";
|
|
9822
|
+
}, {
|
|
9823
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9824
|
+
readonly proxyAddress: null;
|
|
9825
|
+
readonly decimals: 18;
|
|
9826
|
+
readonly name: "USD0/USD-Streams-DexPrice-mainnet-production";
|
|
9805
9827
|
}, {
|
|
9806
9828
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9807
9829
|
readonly proxyAddress: null;
|
|
@@ -9992,6 +10014,11 @@ declare const chainlinkFeeds: {
|
|
|
9992
10014
|
readonly proxyAddress: null;
|
|
9993
10015
|
readonly decimals: 18;
|
|
9994
10016
|
readonly name: "TNSR/USD-RefPrice-mainnet-production";
|
|
10017
|
+
}, {
|
|
10018
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10019
|
+
readonly proxyAddress: null;
|
|
10020
|
+
readonly decimals: 18;
|
|
10021
|
+
readonly name: "MYX/USD-Streams-DexPrice-mainnet-production";
|
|
9995
10022
|
}, {
|
|
9996
10023
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
9997
10024
|
readonly proxyAddress: null;
|
|
@@ -10257,6 +10284,11 @@ declare const chainlinkFeeds: {
|
|
|
10257
10284
|
readonly proxyAddress: null;
|
|
10258
10285
|
readonly decimals: 18;
|
|
10259
10286
|
readonly name: "KAVA/USD-RefPrice-mainnet-staging";
|
|
10287
|
+
}, {
|
|
10288
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10289
|
+
readonly proxyAddress: null;
|
|
10290
|
+
readonly decimals: 18;
|
|
10291
|
+
readonly name: "OKB/USD-Streams-CexPrice-mainnet-production";
|
|
10260
10292
|
}, {
|
|
10261
10293
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10262
10294
|
readonly proxyAddress: null;
|
|
@@ -10307,6 +10339,11 @@ declare const chainlinkFeeds: {
|
|
|
10307
10339
|
readonly proxyAddress: null;
|
|
10308
10340
|
readonly decimals: 18;
|
|
10309
10341
|
readonly name: "BNSOL/USD-RefPrice-mainnet-production";
|
|
10342
|
+
}, {
|
|
10343
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10344
|
+
readonly proxyAddress: null;
|
|
10345
|
+
readonly decimals: 18;
|
|
10346
|
+
readonly name: "BRL/USDT-RefPrice-mainnet-production";
|
|
10310
10347
|
}, {
|
|
10311
10348
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10312
10349
|
readonly proxyAddress: null;
|
|
@@ -10537,6 +10574,11 @@ declare const chainlinkFeeds: {
|
|
|
10537
10574
|
readonly proxyAddress: null;
|
|
10538
10575
|
readonly decimals: 18;
|
|
10539
10576
|
readonly name: "MSTR/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10577
|
+
}, {
|
|
10578
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10579
|
+
readonly proxyAddress: null;
|
|
10580
|
+
readonly decimals: 18;
|
|
10581
|
+
readonly name: "VXX/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10540
10582
|
}, {
|
|
10541
10583
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10542
10584
|
readonly proxyAddress: null;
|
|
@@ -10572,6 +10614,11 @@ declare const chainlinkFeeds: {
|
|
|
10572
10614
|
readonly proxyAddress: null;
|
|
10573
10615
|
readonly decimals: 18;
|
|
10574
10616
|
readonly name: "VZ/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10617
|
+
}, {
|
|
10618
|
+
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10619
|
+
readonly proxyAddress: null;
|
|
10620
|
+
readonly decimals: 18;
|
|
10621
|
+
readonly name: "IBIT/USD-Streams-EquityPrice-Timestamped-mainnet-production";
|
|
10575
10622
|
}, {
|
|
10576
10623
|
readonly contractAddress: "0x0000000000000000000000000000000000000000";
|
|
10577
10624
|
readonly proxyAddress: null;
|
|
@@ -13377,6 +13424,11 @@ declare const chainlinkFeeds: {
|
|
|
13377
13424
|
readonly proxyAddress: "0x4bC735Ef24bf286983024CAd5D03f0738865Aaef";
|
|
13378
13425
|
readonly decimals: 8;
|
|
13379
13426
|
readonly name: "1INCH / USD";
|
|
13427
|
+
}, {
|
|
13428
|
+
readonly contractAddress: "0xaD81BC9887ab35B4aA05493E9B3C32cA7393c8b1";
|
|
13429
|
+
readonly proxyAddress: "0x3b9c34dC5B6BfC1dE896496aFCEf1ca705D0c762";
|
|
13430
|
+
readonly decimals: 8;
|
|
13431
|
+
readonly name: "XDC / USD";
|
|
13380
13432
|
}, {
|
|
13381
13433
|
readonly contractAddress: "0xadBf1c8a244d537C343d771e2Fa897F3654a1Ae4";
|
|
13382
13434
|
readonly proxyAddress: "0x3dD6e51CB9caE717d5a8778CF79A04029f9cFDF8";
|
|
@@ -14079,6 +14131,11 @@ declare const chainlinkFeeds: {
|
|
|
14079
14131
|
readonly proxyAddress: "0x9D6AA0AC8c4818433bEA7a74F49C73B57BcEC4Ec";
|
|
14080
14132
|
readonly decimals: 8;
|
|
14081
14133
|
readonly name: "COMP / USD";
|
|
14134
|
+
}, {
|
|
14135
|
+
readonly contractAddress: "0xF4D6Ed96A78EB7e78B77D47cfD288C2468024D3B";
|
|
14136
|
+
readonly proxyAddress: "0x55b5dc7d7CDD5d3b2Eb189bf11140839076E5d40";
|
|
14137
|
+
readonly decimals: 18;
|
|
14138
|
+
readonly name: "xSolvBTC NAV";
|
|
14082
14139
|
}, {
|
|
14083
14140
|
readonly contractAddress: "0xFE7019D5BCD395C56FB1cF43be548B1F056288FB";
|
|
14084
14141
|
readonly proxyAddress: "0x9Cf3Ef104A973b351B2c032AA6793c3A6F76b448";
|
|
@@ -14225,6 +14282,11 @@ declare const chainlinkFeeds: {
|
|
|
14225
14282
|
readonly proxyAddress: "0xc0068A2F7e4847DF9C3A34B27CCc07b7e15e0458";
|
|
14226
14283
|
readonly decimals: 8;
|
|
14227
14284
|
readonly name: "COMP / USD";
|
|
14285
|
+
}, {
|
|
14286
|
+
readonly contractAddress: "0x67F8F34a08233FA07fcD15EE597C643fd1eBc422";
|
|
14287
|
+
readonly proxyAddress: "0x49768d7ebB7694b1e72546300cCCeD877084d72f";
|
|
14288
|
+
readonly decimals: 18;
|
|
14289
|
+
readonly name: "xSolvBTC NAV";
|
|
14228
14290
|
}, {
|
|
14229
14291
|
readonly contractAddress: "0x6f0D003A0743F5acea5680B1D128bd433B07ffCE";
|
|
14230
14292
|
readonly proxyAddress: "0xEEDF0B095B5dfe75F3881Cb26c19DA209A27463a";
|
|
@@ -14509,7 +14571,7 @@ declare const chainlinkFeeds: {
|
|
|
14509
14571
|
}];
|
|
14510
14572
|
};
|
|
14511
14573
|
|
|
14512
|
-
declare const hyperRPCSupportedNetworks: readonly [1,
|
|
14574
|
+
declare const hyperRPCSupportedNetworks: readonly [1, 10, 42, 50, 51, 56, 97, 100, 130, 137, 146, 250, 288, 324, 480, 999, 1101, 1135, 1284, 1301, 2818, 4201, 6342, 7560, 8453, 9889, 10143, 10200, 17000, 42161, 43113, 43114, 50104, 59144, 80002, 80084, 80094, 81457, 84532, 88888, 98866, 421614, 534352, 7225878, 7777777, 11155111, 11155420, 168587773, 531050104, 1313161567, 1666600000];
|
|
14513
14575
|
|
|
14514
14576
|
declare const erc1967_ImplementationSlot = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc";
|
|
14515
14577
|
declare const erc1967_AdminSlot = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103";
|