@gfxlabs/oku-chains 0.2.0 → 0.3.0
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/browser.js +4 -3
- package/dist/index-mjs.js +3 -2
- package/dist/index.js +3 -2
- package/dist/types/browser.d.ts +40 -14
- package/dist/types/index-mjs.d.ts +40 -14
- package/dist/types/index.d.ts +40 -14
- package/package.json +8 -8
package/dist/browser.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('viem/chains')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', 'viem/chains'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.viem_chains));
|
|
5
5
|
})(this, (function (exports, chains) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const makeConfig = (x) => {
|
|
@@ -1356,8 +1356,9 @@
|
|
|
1356
1356
|
"0xbe092d38045ef7f9cdc5014278a4239e896bf5ca",
|
|
1357
1357
|
],
|
|
1358
1358
|
blockExplorers: {
|
|
1359
|
-
|
|
1360
|
-
|
|
1359
|
+
default: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1360
|
+
rsk: chains.rootstock.blockExplorers.default,
|
|
1361
|
+
blockscout: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1361
1362
|
},
|
|
1362
1363
|
internalName: "rootstock",
|
|
1363
1364
|
contracts: {
|
package/dist/index-mjs.js
CHANGED
|
@@ -1352,8 +1352,9 @@ const rootstock = makeConfig({
|
|
|
1352
1352
|
"0xbe092d38045ef7f9cdc5014278a4239e896bf5ca",
|
|
1353
1353
|
],
|
|
1354
1354
|
blockExplorers: {
|
|
1355
|
-
|
|
1356
|
-
|
|
1355
|
+
default: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1356
|
+
rsk: rootstock$1.blockExplorers.default,
|
|
1357
|
+
blockscout: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1357
1358
|
},
|
|
1358
1359
|
internalName: "rootstock",
|
|
1359
1360
|
contracts: {
|
package/dist/index.js
CHANGED
|
@@ -1354,8 +1354,9 @@ const rootstock = makeConfig({
|
|
|
1354
1354
|
"0xbe092d38045ef7f9cdc5014278a4239e896bf5ca",
|
|
1355
1355
|
],
|
|
1356
1356
|
blockExplorers: {
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
default: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1358
|
+
rsk: chains.rootstock.blockExplorers.default,
|
|
1359
|
+
blockscout: { name: "Blockscout", url: "https://rootstock.blockscout.com" },
|
|
1359
1360
|
},
|
|
1360
1361
|
internalName: "rootstock",
|
|
1361
1362
|
contracts: {
|
package/dist/types/browser.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ declare const arbitrum: Readonly<{
|
|
|
71
71
|
readonly default: {
|
|
72
72
|
readonly name: "Arbiscan";
|
|
73
73
|
readonly url: "https://arbiscan.io";
|
|
74
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
74
75
|
};
|
|
75
76
|
};
|
|
76
77
|
id: 42161;
|
|
@@ -175,6 +176,7 @@ declare const base: Readonly<{
|
|
|
175
176
|
readonly default: {
|
|
176
177
|
readonly name: "Basescan";
|
|
177
178
|
readonly url: "https://basescan.org";
|
|
179
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
178
180
|
};
|
|
179
181
|
};
|
|
180
182
|
id: 8453;
|
|
@@ -865,6 +867,7 @@ declare const bsc: Readonly<{
|
|
|
865
867
|
readonly default: {
|
|
866
868
|
readonly name: "BscScan";
|
|
867
869
|
readonly url: "https://bscscan.com";
|
|
870
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
868
871
|
};
|
|
869
872
|
};
|
|
870
873
|
id: 56;
|
|
@@ -1039,14 +1042,15 @@ declare const mainnet: Readonly<{
|
|
|
1039
1042
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1040
1043
|
};
|
|
1041
1044
|
ensUniversalResolver: {
|
|
1042
|
-
readonly address: "
|
|
1043
|
-
readonly blockCreated:
|
|
1045
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
1046
|
+
readonly blockCreated: 18958930;
|
|
1044
1047
|
};
|
|
1045
1048
|
};
|
|
1046
1049
|
blockExplorers: {
|
|
1047
1050
|
readonly default: {
|
|
1048
1051
|
readonly name: "Etherscan";
|
|
1049
1052
|
readonly url: "https://etherscan.io";
|
|
1053
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
1050
1054
|
};
|
|
1051
1055
|
};
|
|
1052
1056
|
id: 1;
|
|
@@ -1129,6 +1133,7 @@ declare const moonbeam: Readonly<{
|
|
|
1129
1133
|
readonly default: {
|
|
1130
1134
|
readonly name: "Moonscan";
|
|
1131
1135
|
readonly url: "https://moonscan.io";
|
|
1136
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
1132
1137
|
};
|
|
1133
1138
|
};
|
|
1134
1139
|
id: 1284;
|
|
@@ -1253,7 +1258,8 @@ declare const optimism: Readonly<{
|
|
|
1253
1258
|
blockExplorers: {
|
|
1254
1259
|
readonly default: {
|
|
1255
1260
|
readonly name: "Optimism Explorer";
|
|
1256
|
-
readonly url: "https://
|
|
1261
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
1262
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
1257
1263
|
};
|
|
1258
1264
|
};
|
|
1259
1265
|
id: 10;
|
|
@@ -1868,6 +1874,7 @@ declare const polygon: Readonly<{
|
|
|
1868
1874
|
readonly default: {
|
|
1869
1875
|
readonly name: "PolygonScan";
|
|
1870
1876
|
readonly url: "https://polygonscan.com";
|
|
1877
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
1871
1878
|
};
|
|
1872
1879
|
};
|
|
1873
1880
|
id: 137;
|
|
@@ -1926,12 +1933,16 @@ declare const rootstock: Readonly<{
|
|
|
1926
1933
|
watchlist: string[];
|
|
1927
1934
|
blockExplorers: {
|
|
1928
1935
|
default: {
|
|
1929
|
-
|
|
1930
|
-
|
|
1936
|
+
name: string;
|
|
1937
|
+
url: string;
|
|
1938
|
+
};
|
|
1939
|
+
rsk: {
|
|
1940
|
+
readonly name: "RSK Explorer";
|
|
1941
|
+
readonly url: "https://explorer.rsk.co";
|
|
1931
1942
|
};
|
|
1932
1943
|
blockscout: {
|
|
1933
|
-
|
|
1934
|
-
|
|
1944
|
+
name: string;
|
|
1945
|
+
url: string;
|
|
1935
1946
|
};
|
|
1936
1947
|
};
|
|
1937
1948
|
internalName: "rootstock";
|
|
@@ -2033,6 +2044,7 @@ declare const scroll: Readonly<{
|
|
|
2033
2044
|
readonly default: {
|
|
2034
2045
|
readonly name: "Scrollscan";
|
|
2035
2046
|
readonly url: "https://scrollscan.com";
|
|
2047
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
2036
2048
|
};
|
|
2037
2049
|
};
|
|
2038
2050
|
id: 534352;
|
|
@@ -2115,6 +2127,7 @@ declare const polygonZkEvm: Readonly<{
|
|
|
2115
2127
|
readonly default: {
|
|
2116
2128
|
readonly name: "PolygonScan";
|
|
2117
2129
|
readonly url: "https://zkevm.polygonscan.com";
|
|
2130
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
2118
2131
|
};
|
|
2119
2132
|
};
|
|
2120
2133
|
id: 1101;
|
|
@@ -2858,6 +2871,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2858
2871
|
readonly default: {
|
|
2859
2872
|
readonly name: "Arbiscan";
|
|
2860
2873
|
readonly url: "https://arbiscan.io";
|
|
2874
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
2861
2875
|
};
|
|
2862
2876
|
};
|
|
2863
2877
|
id: 42161;
|
|
@@ -2959,6 +2973,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2959
2973
|
readonly default: {
|
|
2960
2974
|
readonly name: "Basescan";
|
|
2961
2975
|
readonly url: "https://basescan.org";
|
|
2976
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
2962
2977
|
};
|
|
2963
2978
|
};
|
|
2964
2979
|
id: 8453;
|
|
@@ -3640,6 +3655,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3640
3655
|
readonly default: {
|
|
3641
3656
|
readonly name: "BscScan";
|
|
3642
3657
|
readonly url: "https://bscscan.com";
|
|
3658
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
3643
3659
|
};
|
|
3644
3660
|
};
|
|
3645
3661
|
id: 56;
|
|
@@ -3808,14 +3824,15 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3808
3824
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
3809
3825
|
};
|
|
3810
3826
|
ensUniversalResolver: {
|
|
3811
|
-
readonly address: "
|
|
3812
|
-
readonly blockCreated:
|
|
3827
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
3828
|
+
readonly blockCreated: 18958930;
|
|
3813
3829
|
};
|
|
3814
3830
|
};
|
|
3815
3831
|
blockExplorers: {
|
|
3816
3832
|
readonly default: {
|
|
3817
3833
|
readonly name: "Etherscan";
|
|
3818
3834
|
readonly url: "https://etherscan.io";
|
|
3835
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
3819
3836
|
};
|
|
3820
3837
|
};
|
|
3821
3838
|
id: 1;
|
|
@@ -3895,6 +3912,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3895
3912
|
readonly default: {
|
|
3896
3913
|
readonly name: "Moonscan";
|
|
3897
3914
|
readonly url: "https://moonscan.io";
|
|
3915
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
3898
3916
|
};
|
|
3899
3917
|
};
|
|
3900
3918
|
id: 1284;
|
|
@@ -4014,7 +4032,8 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4014
4032
|
blockExplorers: {
|
|
4015
4033
|
readonly default: {
|
|
4016
4034
|
readonly name: "Optimism Explorer";
|
|
4017
|
-
readonly url: "https://
|
|
4035
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
4036
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
4018
4037
|
};
|
|
4019
4038
|
};
|
|
4020
4039
|
id: 10;
|
|
@@ -4623,6 +4642,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4623
4642
|
readonly default: {
|
|
4624
4643
|
readonly name: "PolygonScan";
|
|
4625
4644
|
readonly url: "https://polygonscan.com";
|
|
4645
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
4626
4646
|
};
|
|
4627
4647
|
};
|
|
4628
4648
|
id: 137;
|
|
@@ -4678,12 +4698,16 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4678
4698
|
watchlist: string[];
|
|
4679
4699
|
blockExplorers: {
|
|
4680
4700
|
default: {
|
|
4681
|
-
|
|
4682
|
-
|
|
4701
|
+
name: string;
|
|
4702
|
+
url: string;
|
|
4703
|
+
};
|
|
4704
|
+
rsk: {
|
|
4705
|
+
readonly name: "RSK Explorer";
|
|
4706
|
+
readonly url: "https://explorer.rsk.co";
|
|
4683
4707
|
};
|
|
4684
4708
|
blockscout: {
|
|
4685
|
-
|
|
4686
|
-
|
|
4709
|
+
name: string;
|
|
4710
|
+
url: string;
|
|
4687
4711
|
};
|
|
4688
4712
|
};
|
|
4689
4713
|
internalName: "rootstock";
|
|
@@ -4782,6 +4806,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4782
4806
|
readonly default: {
|
|
4783
4807
|
readonly name: "Scrollscan";
|
|
4784
4808
|
readonly url: "https://scrollscan.com";
|
|
4809
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
4785
4810
|
};
|
|
4786
4811
|
};
|
|
4787
4812
|
id: 534352;
|
|
@@ -4859,6 +4884,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4859
4884
|
readonly default: {
|
|
4860
4885
|
readonly name: "PolygonScan";
|
|
4861
4886
|
readonly url: "https://zkevm.polygonscan.com";
|
|
4887
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
4862
4888
|
};
|
|
4863
4889
|
};
|
|
4864
4890
|
id: 1101;
|
|
@@ -71,6 +71,7 @@ declare const arbitrum: Readonly<{
|
|
|
71
71
|
readonly default: {
|
|
72
72
|
readonly name: "Arbiscan";
|
|
73
73
|
readonly url: "https://arbiscan.io";
|
|
74
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
74
75
|
};
|
|
75
76
|
};
|
|
76
77
|
id: 42161;
|
|
@@ -175,6 +176,7 @@ declare const base: Readonly<{
|
|
|
175
176
|
readonly default: {
|
|
176
177
|
readonly name: "Basescan";
|
|
177
178
|
readonly url: "https://basescan.org";
|
|
179
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
178
180
|
};
|
|
179
181
|
};
|
|
180
182
|
id: 8453;
|
|
@@ -865,6 +867,7 @@ declare const bsc: Readonly<{
|
|
|
865
867
|
readonly default: {
|
|
866
868
|
readonly name: "BscScan";
|
|
867
869
|
readonly url: "https://bscscan.com";
|
|
870
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
868
871
|
};
|
|
869
872
|
};
|
|
870
873
|
id: 56;
|
|
@@ -1039,14 +1042,15 @@ declare const mainnet: Readonly<{
|
|
|
1039
1042
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1040
1043
|
};
|
|
1041
1044
|
ensUniversalResolver: {
|
|
1042
|
-
readonly address: "
|
|
1043
|
-
readonly blockCreated:
|
|
1045
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
1046
|
+
readonly blockCreated: 18958930;
|
|
1044
1047
|
};
|
|
1045
1048
|
};
|
|
1046
1049
|
blockExplorers: {
|
|
1047
1050
|
readonly default: {
|
|
1048
1051
|
readonly name: "Etherscan";
|
|
1049
1052
|
readonly url: "https://etherscan.io";
|
|
1053
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
1050
1054
|
};
|
|
1051
1055
|
};
|
|
1052
1056
|
id: 1;
|
|
@@ -1129,6 +1133,7 @@ declare const moonbeam: Readonly<{
|
|
|
1129
1133
|
readonly default: {
|
|
1130
1134
|
readonly name: "Moonscan";
|
|
1131
1135
|
readonly url: "https://moonscan.io";
|
|
1136
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
1132
1137
|
};
|
|
1133
1138
|
};
|
|
1134
1139
|
id: 1284;
|
|
@@ -1253,7 +1258,8 @@ declare const optimism: Readonly<{
|
|
|
1253
1258
|
blockExplorers: {
|
|
1254
1259
|
readonly default: {
|
|
1255
1260
|
readonly name: "Optimism Explorer";
|
|
1256
|
-
readonly url: "https://
|
|
1261
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
1262
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
1257
1263
|
};
|
|
1258
1264
|
};
|
|
1259
1265
|
id: 10;
|
|
@@ -1868,6 +1874,7 @@ declare const polygon: Readonly<{
|
|
|
1868
1874
|
readonly default: {
|
|
1869
1875
|
readonly name: "PolygonScan";
|
|
1870
1876
|
readonly url: "https://polygonscan.com";
|
|
1877
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
1871
1878
|
};
|
|
1872
1879
|
};
|
|
1873
1880
|
id: 137;
|
|
@@ -1926,12 +1933,16 @@ declare const rootstock: Readonly<{
|
|
|
1926
1933
|
watchlist: string[];
|
|
1927
1934
|
blockExplorers: {
|
|
1928
1935
|
default: {
|
|
1929
|
-
|
|
1930
|
-
|
|
1936
|
+
name: string;
|
|
1937
|
+
url: string;
|
|
1938
|
+
};
|
|
1939
|
+
rsk: {
|
|
1940
|
+
readonly name: "RSK Explorer";
|
|
1941
|
+
readonly url: "https://explorer.rsk.co";
|
|
1931
1942
|
};
|
|
1932
1943
|
blockscout: {
|
|
1933
|
-
|
|
1934
|
-
|
|
1944
|
+
name: string;
|
|
1945
|
+
url: string;
|
|
1935
1946
|
};
|
|
1936
1947
|
};
|
|
1937
1948
|
internalName: "rootstock";
|
|
@@ -2033,6 +2044,7 @@ declare const scroll: Readonly<{
|
|
|
2033
2044
|
readonly default: {
|
|
2034
2045
|
readonly name: "Scrollscan";
|
|
2035
2046
|
readonly url: "https://scrollscan.com";
|
|
2047
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
2036
2048
|
};
|
|
2037
2049
|
};
|
|
2038
2050
|
id: 534352;
|
|
@@ -2115,6 +2127,7 @@ declare const polygonZkEvm: Readonly<{
|
|
|
2115
2127
|
readonly default: {
|
|
2116
2128
|
readonly name: "PolygonScan";
|
|
2117
2129
|
readonly url: "https://zkevm.polygonscan.com";
|
|
2130
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
2118
2131
|
};
|
|
2119
2132
|
};
|
|
2120
2133
|
id: 1101;
|
|
@@ -2858,6 +2871,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2858
2871
|
readonly default: {
|
|
2859
2872
|
readonly name: "Arbiscan";
|
|
2860
2873
|
readonly url: "https://arbiscan.io";
|
|
2874
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
2861
2875
|
};
|
|
2862
2876
|
};
|
|
2863
2877
|
id: 42161;
|
|
@@ -2959,6 +2973,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2959
2973
|
readonly default: {
|
|
2960
2974
|
readonly name: "Basescan";
|
|
2961
2975
|
readonly url: "https://basescan.org";
|
|
2976
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
2962
2977
|
};
|
|
2963
2978
|
};
|
|
2964
2979
|
id: 8453;
|
|
@@ -3640,6 +3655,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3640
3655
|
readonly default: {
|
|
3641
3656
|
readonly name: "BscScan";
|
|
3642
3657
|
readonly url: "https://bscscan.com";
|
|
3658
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
3643
3659
|
};
|
|
3644
3660
|
};
|
|
3645
3661
|
id: 56;
|
|
@@ -3808,14 +3824,15 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3808
3824
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
3809
3825
|
};
|
|
3810
3826
|
ensUniversalResolver: {
|
|
3811
|
-
readonly address: "
|
|
3812
|
-
readonly blockCreated:
|
|
3827
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
3828
|
+
readonly blockCreated: 18958930;
|
|
3813
3829
|
};
|
|
3814
3830
|
};
|
|
3815
3831
|
blockExplorers: {
|
|
3816
3832
|
readonly default: {
|
|
3817
3833
|
readonly name: "Etherscan";
|
|
3818
3834
|
readonly url: "https://etherscan.io";
|
|
3835
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
3819
3836
|
};
|
|
3820
3837
|
};
|
|
3821
3838
|
id: 1;
|
|
@@ -3895,6 +3912,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3895
3912
|
readonly default: {
|
|
3896
3913
|
readonly name: "Moonscan";
|
|
3897
3914
|
readonly url: "https://moonscan.io";
|
|
3915
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
3898
3916
|
};
|
|
3899
3917
|
};
|
|
3900
3918
|
id: 1284;
|
|
@@ -4014,7 +4032,8 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4014
4032
|
blockExplorers: {
|
|
4015
4033
|
readonly default: {
|
|
4016
4034
|
readonly name: "Optimism Explorer";
|
|
4017
|
-
readonly url: "https://
|
|
4035
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
4036
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
4018
4037
|
};
|
|
4019
4038
|
};
|
|
4020
4039
|
id: 10;
|
|
@@ -4623,6 +4642,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4623
4642
|
readonly default: {
|
|
4624
4643
|
readonly name: "PolygonScan";
|
|
4625
4644
|
readonly url: "https://polygonscan.com";
|
|
4645
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
4626
4646
|
};
|
|
4627
4647
|
};
|
|
4628
4648
|
id: 137;
|
|
@@ -4678,12 +4698,16 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4678
4698
|
watchlist: string[];
|
|
4679
4699
|
blockExplorers: {
|
|
4680
4700
|
default: {
|
|
4681
|
-
|
|
4682
|
-
|
|
4701
|
+
name: string;
|
|
4702
|
+
url: string;
|
|
4703
|
+
};
|
|
4704
|
+
rsk: {
|
|
4705
|
+
readonly name: "RSK Explorer";
|
|
4706
|
+
readonly url: "https://explorer.rsk.co";
|
|
4683
4707
|
};
|
|
4684
4708
|
blockscout: {
|
|
4685
|
-
|
|
4686
|
-
|
|
4709
|
+
name: string;
|
|
4710
|
+
url: string;
|
|
4687
4711
|
};
|
|
4688
4712
|
};
|
|
4689
4713
|
internalName: "rootstock";
|
|
@@ -4782,6 +4806,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4782
4806
|
readonly default: {
|
|
4783
4807
|
readonly name: "Scrollscan";
|
|
4784
4808
|
readonly url: "https://scrollscan.com";
|
|
4809
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
4785
4810
|
};
|
|
4786
4811
|
};
|
|
4787
4812
|
id: 534352;
|
|
@@ -4859,6 +4884,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4859
4884
|
readonly default: {
|
|
4860
4885
|
readonly name: "PolygonScan";
|
|
4861
4886
|
readonly url: "https://zkevm.polygonscan.com";
|
|
4887
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
4862
4888
|
};
|
|
4863
4889
|
};
|
|
4864
4890
|
id: 1101;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ declare const arbitrum: Readonly<{
|
|
|
71
71
|
readonly default: {
|
|
72
72
|
readonly name: "Arbiscan";
|
|
73
73
|
readonly url: "https://arbiscan.io";
|
|
74
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
74
75
|
};
|
|
75
76
|
};
|
|
76
77
|
id: 42161;
|
|
@@ -175,6 +176,7 @@ declare const base: Readonly<{
|
|
|
175
176
|
readonly default: {
|
|
176
177
|
readonly name: "Basescan";
|
|
177
178
|
readonly url: "https://basescan.org";
|
|
179
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
178
180
|
};
|
|
179
181
|
};
|
|
180
182
|
id: 8453;
|
|
@@ -865,6 +867,7 @@ declare const bsc: Readonly<{
|
|
|
865
867
|
readonly default: {
|
|
866
868
|
readonly name: "BscScan";
|
|
867
869
|
readonly url: "https://bscscan.com";
|
|
870
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
868
871
|
};
|
|
869
872
|
};
|
|
870
873
|
id: 56;
|
|
@@ -1039,14 +1042,15 @@ declare const mainnet: Readonly<{
|
|
|
1039
1042
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1040
1043
|
};
|
|
1041
1044
|
ensUniversalResolver: {
|
|
1042
|
-
readonly address: "
|
|
1043
|
-
readonly blockCreated:
|
|
1045
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
1046
|
+
readonly blockCreated: 18958930;
|
|
1044
1047
|
};
|
|
1045
1048
|
};
|
|
1046
1049
|
blockExplorers: {
|
|
1047
1050
|
readonly default: {
|
|
1048
1051
|
readonly name: "Etherscan";
|
|
1049
1052
|
readonly url: "https://etherscan.io";
|
|
1053
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
1050
1054
|
};
|
|
1051
1055
|
};
|
|
1052
1056
|
id: 1;
|
|
@@ -1129,6 +1133,7 @@ declare const moonbeam: Readonly<{
|
|
|
1129
1133
|
readonly default: {
|
|
1130
1134
|
readonly name: "Moonscan";
|
|
1131
1135
|
readonly url: "https://moonscan.io";
|
|
1136
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
1132
1137
|
};
|
|
1133
1138
|
};
|
|
1134
1139
|
id: 1284;
|
|
@@ -1253,7 +1258,8 @@ declare const optimism: Readonly<{
|
|
|
1253
1258
|
blockExplorers: {
|
|
1254
1259
|
readonly default: {
|
|
1255
1260
|
readonly name: "Optimism Explorer";
|
|
1256
|
-
readonly url: "https://
|
|
1261
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
1262
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
1257
1263
|
};
|
|
1258
1264
|
};
|
|
1259
1265
|
id: 10;
|
|
@@ -1868,6 +1874,7 @@ declare const polygon: Readonly<{
|
|
|
1868
1874
|
readonly default: {
|
|
1869
1875
|
readonly name: "PolygonScan";
|
|
1870
1876
|
readonly url: "https://polygonscan.com";
|
|
1877
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
1871
1878
|
};
|
|
1872
1879
|
};
|
|
1873
1880
|
id: 137;
|
|
@@ -1926,12 +1933,16 @@ declare const rootstock: Readonly<{
|
|
|
1926
1933
|
watchlist: string[];
|
|
1927
1934
|
blockExplorers: {
|
|
1928
1935
|
default: {
|
|
1929
|
-
|
|
1930
|
-
|
|
1936
|
+
name: string;
|
|
1937
|
+
url: string;
|
|
1938
|
+
};
|
|
1939
|
+
rsk: {
|
|
1940
|
+
readonly name: "RSK Explorer";
|
|
1941
|
+
readonly url: "https://explorer.rsk.co";
|
|
1931
1942
|
};
|
|
1932
1943
|
blockscout: {
|
|
1933
|
-
|
|
1934
|
-
|
|
1944
|
+
name: string;
|
|
1945
|
+
url: string;
|
|
1935
1946
|
};
|
|
1936
1947
|
};
|
|
1937
1948
|
internalName: "rootstock";
|
|
@@ -2033,6 +2044,7 @@ declare const scroll: Readonly<{
|
|
|
2033
2044
|
readonly default: {
|
|
2034
2045
|
readonly name: "Scrollscan";
|
|
2035
2046
|
readonly url: "https://scrollscan.com";
|
|
2047
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
2036
2048
|
};
|
|
2037
2049
|
};
|
|
2038
2050
|
id: 534352;
|
|
@@ -2115,6 +2127,7 @@ declare const polygonZkEvm: Readonly<{
|
|
|
2115
2127
|
readonly default: {
|
|
2116
2128
|
readonly name: "PolygonScan";
|
|
2117
2129
|
readonly url: "https://zkevm.polygonscan.com";
|
|
2130
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
2118
2131
|
};
|
|
2119
2132
|
};
|
|
2120
2133
|
id: 1101;
|
|
@@ -2858,6 +2871,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2858
2871
|
readonly default: {
|
|
2859
2872
|
readonly name: "Arbiscan";
|
|
2860
2873
|
readonly url: "https://arbiscan.io";
|
|
2874
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
2861
2875
|
};
|
|
2862
2876
|
};
|
|
2863
2877
|
id: 42161;
|
|
@@ -2959,6 +2973,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
2959
2973
|
readonly default: {
|
|
2960
2974
|
readonly name: "Basescan";
|
|
2961
2975
|
readonly url: "https://basescan.org";
|
|
2976
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
2962
2977
|
};
|
|
2963
2978
|
};
|
|
2964
2979
|
id: 8453;
|
|
@@ -3640,6 +3655,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3640
3655
|
readonly default: {
|
|
3641
3656
|
readonly name: "BscScan";
|
|
3642
3657
|
readonly url: "https://bscscan.com";
|
|
3658
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
3643
3659
|
};
|
|
3644
3660
|
};
|
|
3645
3661
|
id: 56;
|
|
@@ -3808,14 +3824,15 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3808
3824
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
3809
3825
|
};
|
|
3810
3826
|
ensUniversalResolver: {
|
|
3811
|
-
readonly address: "
|
|
3812
|
-
readonly blockCreated:
|
|
3827
|
+
readonly address: "0x8cab227b1162f03b8338331adaad7aadc83b895e";
|
|
3828
|
+
readonly blockCreated: 18958930;
|
|
3813
3829
|
};
|
|
3814
3830
|
};
|
|
3815
3831
|
blockExplorers: {
|
|
3816
3832
|
readonly default: {
|
|
3817
3833
|
readonly name: "Etherscan";
|
|
3818
3834
|
readonly url: "https://etherscan.io";
|
|
3835
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
3819
3836
|
};
|
|
3820
3837
|
};
|
|
3821
3838
|
id: 1;
|
|
@@ -3895,6 +3912,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
3895
3912
|
readonly default: {
|
|
3896
3913
|
readonly name: "Moonscan";
|
|
3897
3914
|
readonly url: "https://moonscan.io";
|
|
3915
|
+
readonly apiUrl: "https://api-moonbeam.moonscan.io/api";
|
|
3898
3916
|
};
|
|
3899
3917
|
};
|
|
3900
3918
|
id: 1284;
|
|
@@ -4014,7 +4032,8 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4014
4032
|
blockExplorers: {
|
|
4015
4033
|
readonly default: {
|
|
4016
4034
|
readonly name: "Optimism Explorer";
|
|
4017
|
-
readonly url: "https://
|
|
4035
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
4036
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io";
|
|
4018
4037
|
};
|
|
4019
4038
|
};
|
|
4020
4039
|
id: 10;
|
|
@@ -4623,6 +4642,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4623
4642
|
readonly default: {
|
|
4624
4643
|
readonly name: "PolygonScan";
|
|
4625
4644
|
readonly url: "https://polygonscan.com";
|
|
4645
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
4626
4646
|
};
|
|
4627
4647
|
};
|
|
4628
4648
|
id: 137;
|
|
@@ -4678,12 +4698,16 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4678
4698
|
watchlist: string[];
|
|
4679
4699
|
blockExplorers: {
|
|
4680
4700
|
default: {
|
|
4681
|
-
|
|
4682
|
-
|
|
4701
|
+
name: string;
|
|
4702
|
+
url: string;
|
|
4703
|
+
};
|
|
4704
|
+
rsk: {
|
|
4705
|
+
readonly name: "RSK Explorer";
|
|
4706
|
+
readonly url: "https://explorer.rsk.co";
|
|
4683
4707
|
};
|
|
4684
4708
|
blockscout: {
|
|
4685
|
-
|
|
4686
|
-
|
|
4709
|
+
name: string;
|
|
4710
|
+
url: string;
|
|
4687
4711
|
};
|
|
4688
4712
|
};
|
|
4689
4713
|
internalName: "rootstock";
|
|
@@ -4782,6 +4806,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4782
4806
|
readonly default: {
|
|
4783
4807
|
readonly name: "Scrollscan";
|
|
4784
4808
|
readonly url: "https://scrollscan.com";
|
|
4809
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
4785
4810
|
};
|
|
4786
4811
|
};
|
|
4787
4812
|
id: 534352;
|
|
@@ -4859,6 +4884,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4859
4884
|
readonly default: {
|
|
4860
4885
|
readonly name: "PolygonScan";
|
|
4861
4886
|
readonly url: "https://zkevm.polygonscan.com";
|
|
4887
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
4862
4888
|
};
|
|
4863
4889
|
};
|
|
4864
4890
|
id: 1101;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfxlabs/oku-chains",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
24
24
|
"@rollup/plugin-json": "^6.1.0",
|
|
25
25
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
26
|
-
"@rollup/plugin-
|
|
26
|
+
"@rollup/plugin-run": "^3.0.2",
|
|
27
27
|
"@semantic-release/commit-analyzer": "^11.1.0",
|
|
28
28
|
"@semantic-release/git": "^10.0.1",
|
|
29
|
-
"@semantic-release/gitlab": "^13.0.
|
|
29
|
+
"@semantic-release/gitlab": "^13.0.2",
|
|
30
30
|
"@semantic-release/npm": "^11.0.2",
|
|
31
|
-
"@types/node": "^20.
|
|
31
|
+
"@types/node": "^20.11.5",
|
|
32
32
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
33
33
|
"barrelsby": "^2.8.1",
|
|
34
34
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
35
35
|
"prettier": "^3.2.4",
|
|
36
|
-
"rollup": "^4.9.
|
|
36
|
+
"rollup": "^4.9.6",
|
|
37
37
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
38
38
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
39
39
|
"rollup-plugin-ts": "^3.4.5",
|
|
40
|
-
"semantic-release": "^
|
|
40
|
+
"semantic-release": "^23.0.0",
|
|
41
41
|
"ts-node": "^10.9.2",
|
|
42
42
|
"tslib": "^2.6.2",
|
|
43
43
|
"typescript": "^5.3.3",
|
|
44
|
-
"viem": "^2.0
|
|
44
|
+
"viem": "^2.5.0"
|
|
45
45
|
},
|
|
46
46
|
"packageManager": "yarn@4.0.2",
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"viem": "
|
|
48
|
+
"viem": "2.x"
|
|
49
49
|
}
|
|
50
50
|
}
|