@gfxlabs/oku-chains 1.1.112 → 1.1.114
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 +8 -0
- package/dist/index-mjs.js +8 -0
- package/dist/index.js +8 -0
- package/dist/types/browser.d.ts +17 -12
- package/dist/types/index-mjs.d.ts +17 -12
- package/dist/types/index.d.ts +17 -12
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
propellerswap: "arbitrum",
|
|
30
30
|
openocean: "arbitrum",
|
|
31
31
|
zeroex: true,
|
|
32
|
+
cowswap: "arbitrum_one",
|
|
32
33
|
},
|
|
33
34
|
bridges: {
|
|
34
35
|
chainlink: {
|
|
@@ -1077,6 +1078,7 @@
|
|
|
1077
1078
|
},
|
|
1078
1079
|
markets: {
|
|
1079
1080
|
openocean: "xdai",
|
|
1081
|
+
cowswap: "xdai",
|
|
1080
1082
|
},
|
|
1081
1083
|
bridges: {},
|
|
1082
1084
|
oracles: {
|
|
@@ -1381,6 +1383,11 @@
|
|
|
1381
1383
|
zerion: "ethereum",
|
|
1382
1384
|
debank: "eth",
|
|
1383
1385
|
},
|
|
1386
|
+
rpcUrls: {
|
|
1387
|
+
default: {
|
|
1388
|
+
http: ["https://rpc.ankr.com/eth"],
|
|
1389
|
+
},
|
|
1390
|
+
},
|
|
1384
1391
|
markets: {
|
|
1385
1392
|
airswap: true,
|
|
1386
1393
|
kyberswap: "ethereum",
|
|
@@ -1391,6 +1398,7 @@
|
|
|
1391
1398
|
propellerswap: "ethereum",
|
|
1392
1399
|
openocean: "eth",
|
|
1393
1400
|
zeroex: true,
|
|
1401
|
+
cowswap: "mainnet",
|
|
1394
1402
|
},
|
|
1395
1403
|
bridges: {
|
|
1396
1404
|
chainlink: {
|
package/dist/index-mjs.js
CHANGED
|
@@ -26,6 +26,7 @@ const arbitrum = makeConfig({
|
|
|
26
26
|
propellerswap: "arbitrum",
|
|
27
27
|
openocean: "arbitrum",
|
|
28
28
|
zeroex: true,
|
|
29
|
+
cowswap: "arbitrum_one",
|
|
29
30
|
},
|
|
30
31
|
bridges: {
|
|
31
32
|
chainlink: {
|
|
@@ -1074,6 +1075,7 @@ const gnosis = makeConfig({
|
|
|
1074
1075
|
},
|
|
1075
1076
|
markets: {
|
|
1076
1077
|
openocean: "xdai",
|
|
1078
|
+
cowswap: "xdai",
|
|
1077
1079
|
},
|
|
1078
1080
|
bridges: {},
|
|
1079
1081
|
oracles: {
|
|
@@ -1378,6 +1380,11 @@ const mainnet = makeConfig({
|
|
|
1378
1380
|
zerion: "ethereum",
|
|
1379
1381
|
debank: "eth",
|
|
1380
1382
|
},
|
|
1383
|
+
rpcUrls: {
|
|
1384
|
+
default: {
|
|
1385
|
+
http: ["https://rpc.ankr.com/eth"],
|
|
1386
|
+
},
|
|
1387
|
+
},
|
|
1381
1388
|
markets: {
|
|
1382
1389
|
airswap: true,
|
|
1383
1390
|
kyberswap: "ethereum",
|
|
@@ -1388,6 +1395,7 @@ const mainnet = makeConfig({
|
|
|
1388
1395
|
propellerswap: "ethereum",
|
|
1389
1396
|
openocean: "eth",
|
|
1390
1397
|
zeroex: true,
|
|
1398
|
+
cowswap: "mainnet",
|
|
1391
1399
|
},
|
|
1392
1400
|
bridges: {
|
|
1393
1401
|
chainlink: {
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ const arbitrum = makeConfig({
|
|
|
28
28
|
propellerswap: "arbitrum",
|
|
29
29
|
openocean: "arbitrum",
|
|
30
30
|
zeroex: true,
|
|
31
|
+
cowswap: "arbitrum_one",
|
|
31
32
|
},
|
|
32
33
|
bridges: {
|
|
33
34
|
chainlink: {
|
|
@@ -1076,6 +1077,7 @@ const gnosis = makeConfig({
|
|
|
1076
1077
|
},
|
|
1077
1078
|
markets: {
|
|
1078
1079
|
openocean: "xdai",
|
|
1080
|
+
cowswap: "xdai",
|
|
1079
1081
|
},
|
|
1080
1082
|
bridges: {},
|
|
1081
1083
|
oracles: {
|
|
@@ -1380,6 +1382,11 @@ const mainnet = makeConfig({
|
|
|
1380
1382
|
zerion: "ethereum",
|
|
1381
1383
|
debank: "eth",
|
|
1382
1384
|
},
|
|
1385
|
+
rpcUrls: {
|
|
1386
|
+
default: {
|
|
1387
|
+
http: ["https://rpc.ankr.com/eth"],
|
|
1388
|
+
},
|
|
1389
|
+
},
|
|
1383
1390
|
markets: {
|
|
1384
1391
|
airswap: true,
|
|
1385
1392
|
kyberswap: "ethereum",
|
|
@@ -1390,6 +1397,7 @@ const mainnet = makeConfig({
|
|
|
1390
1397
|
propellerswap: "ethereum",
|
|
1391
1398
|
openocean: "eth",
|
|
1392
1399
|
zeroex: true,
|
|
1400
|
+
cowswap: "mainnet",
|
|
1393
1401
|
},
|
|
1394
1402
|
bridges: {
|
|
1395
1403
|
chainlink: {
|
package/dist/types/browser.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const arbitrum: Readonly<{
|
|
|
19
19
|
propellerswap: string;
|
|
20
20
|
openocean: string;
|
|
21
21
|
zeroex: true;
|
|
22
|
+
cowswap: string;
|
|
22
23
|
};
|
|
23
24
|
bridges: {
|
|
24
25
|
chainlink: {
|
|
@@ -1508,6 +1509,7 @@ declare const gnosis: Readonly<{
|
|
|
1508
1509
|
};
|
|
1509
1510
|
markets: {
|
|
1510
1511
|
openocean: string;
|
|
1512
|
+
cowswap: string;
|
|
1511
1513
|
};
|
|
1512
1514
|
bridges: {};
|
|
1513
1515
|
oracles: {
|
|
@@ -2140,6 +2142,11 @@ declare const mainnet: Readonly<{
|
|
|
2140
2142
|
zerion: string;
|
|
2141
2143
|
debank: string;
|
|
2142
2144
|
};
|
|
2145
|
+
rpcUrls: {
|
|
2146
|
+
default: {
|
|
2147
|
+
http: string[];
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2143
2150
|
markets: {
|
|
2144
2151
|
airswap: true;
|
|
2145
2152
|
kyberswap: string;
|
|
@@ -2150,6 +2157,7 @@ declare const mainnet: Readonly<{
|
|
|
2150
2157
|
propellerswap: string;
|
|
2151
2158
|
openocean: string;
|
|
2152
2159
|
zeroex: true;
|
|
2160
|
+
cowswap: string;
|
|
2153
2161
|
};
|
|
2154
2162
|
bridges: {
|
|
2155
2163
|
chainlink: {
|
|
@@ -2289,13 +2297,6 @@ declare const mainnet: Readonly<{
|
|
|
2289
2297
|
readonly symbol: "ETH";
|
|
2290
2298
|
readonly decimals: 18;
|
|
2291
2299
|
};
|
|
2292
|
-
rpcUrls: {
|
|
2293
|
-
readonly default: {
|
|
2294
|
-
readonly http: readonly [
|
|
2295
|
-
"https://cloudflare-eth.com"
|
|
2296
|
-
];
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
2300
|
sourceId?: number | undefined;
|
|
2300
2301
|
testnet?: boolean | undefined;
|
|
2301
2302
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -4709,6 +4710,7 @@ interface Markets {
|
|
|
4709
4710
|
propellerswap?: string;
|
|
4710
4711
|
usor?: any;
|
|
4711
4712
|
zeroex?: boolean;
|
|
4713
|
+
cowswap?: string;
|
|
4712
4714
|
}
|
|
4713
4715
|
interface Bridges {
|
|
4714
4716
|
deswap?: any;
|
|
@@ -4814,6 +4816,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4814
4816
|
propellerswap: string;
|
|
4815
4817
|
openocean: string;
|
|
4816
4818
|
zeroex: true;
|
|
4819
|
+
cowswap: string;
|
|
4817
4820
|
};
|
|
4818
4821
|
bridges: {
|
|
4819
4822
|
chainlink: {
|
|
@@ -5893,6 +5896,11 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5893
5896
|
zerion: string;
|
|
5894
5897
|
debank: string;
|
|
5895
5898
|
};
|
|
5899
|
+
rpcUrls: {
|
|
5900
|
+
default: {
|
|
5901
|
+
http: string[];
|
|
5902
|
+
};
|
|
5903
|
+
};
|
|
5896
5904
|
markets: {
|
|
5897
5905
|
airswap: true;
|
|
5898
5906
|
kyberswap: string;
|
|
@@ -5903,6 +5911,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5903
5911
|
propellerswap: string;
|
|
5904
5912
|
openocean: string;
|
|
5905
5913
|
zeroex: true;
|
|
5914
|
+
cowswap: string;
|
|
5906
5915
|
};
|
|
5907
5916
|
bridges: {
|
|
5908
5917
|
chainlink: {
|
|
@@ -6042,11 +6051,6 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
6042
6051
|
readonly symbol: "ETH";
|
|
6043
6052
|
readonly decimals: 18;
|
|
6044
6053
|
};
|
|
6045
|
-
rpcUrls: {
|
|
6046
|
-
readonly default: {
|
|
6047
|
-
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
6048
|
-
};
|
|
6049
|
-
};
|
|
6050
6054
|
sourceId?: number | undefined;
|
|
6051
6055
|
testnet?: boolean | undefined;
|
|
6052
6056
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -9120,6 +9124,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9120
9124
|
};
|
|
9121
9125
|
markets: {
|
|
9122
9126
|
openocean: string;
|
|
9127
|
+
cowswap: string;
|
|
9123
9128
|
};
|
|
9124
9129
|
bridges: {};
|
|
9125
9130
|
oracles: {
|
|
@@ -19,6 +19,7 @@ declare const arbitrum: Readonly<{
|
|
|
19
19
|
propellerswap: string;
|
|
20
20
|
openocean: string;
|
|
21
21
|
zeroex: true;
|
|
22
|
+
cowswap: string;
|
|
22
23
|
};
|
|
23
24
|
bridges: {
|
|
24
25
|
chainlink: {
|
|
@@ -1508,6 +1509,7 @@ declare const gnosis: Readonly<{
|
|
|
1508
1509
|
};
|
|
1509
1510
|
markets: {
|
|
1510
1511
|
openocean: string;
|
|
1512
|
+
cowswap: string;
|
|
1511
1513
|
};
|
|
1512
1514
|
bridges: {};
|
|
1513
1515
|
oracles: {
|
|
@@ -2140,6 +2142,11 @@ declare const mainnet: Readonly<{
|
|
|
2140
2142
|
zerion: string;
|
|
2141
2143
|
debank: string;
|
|
2142
2144
|
};
|
|
2145
|
+
rpcUrls: {
|
|
2146
|
+
default: {
|
|
2147
|
+
http: string[];
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2143
2150
|
markets: {
|
|
2144
2151
|
airswap: true;
|
|
2145
2152
|
kyberswap: string;
|
|
@@ -2150,6 +2157,7 @@ declare const mainnet: Readonly<{
|
|
|
2150
2157
|
propellerswap: string;
|
|
2151
2158
|
openocean: string;
|
|
2152
2159
|
zeroex: true;
|
|
2160
|
+
cowswap: string;
|
|
2153
2161
|
};
|
|
2154
2162
|
bridges: {
|
|
2155
2163
|
chainlink: {
|
|
@@ -2289,13 +2297,6 @@ declare const mainnet: Readonly<{
|
|
|
2289
2297
|
readonly symbol: "ETH";
|
|
2290
2298
|
readonly decimals: 18;
|
|
2291
2299
|
};
|
|
2292
|
-
rpcUrls: {
|
|
2293
|
-
readonly default: {
|
|
2294
|
-
readonly http: readonly [
|
|
2295
|
-
"https://cloudflare-eth.com"
|
|
2296
|
-
];
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
2300
|
sourceId?: number | undefined;
|
|
2300
2301
|
testnet?: boolean | undefined;
|
|
2301
2302
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -4709,6 +4710,7 @@ interface Markets {
|
|
|
4709
4710
|
propellerswap?: string;
|
|
4710
4711
|
usor?: any;
|
|
4711
4712
|
zeroex?: boolean;
|
|
4713
|
+
cowswap?: string;
|
|
4712
4714
|
}
|
|
4713
4715
|
interface Bridges {
|
|
4714
4716
|
deswap?: any;
|
|
@@ -4814,6 +4816,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4814
4816
|
propellerswap: string;
|
|
4815
4817
|
openocean: string;
|
|
4816
4818
|
zeroex: true;
|
|
4819
|
+
cowswap: string;
|
|
4817
4820
|
};
|
|
4818
4821
|
bridges: {
|
|
4819
4822
|
chainlink: {
|
|
@@ -5893,6 +5896,11 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5893
5896
|
zerion: string;
|
|
5894
5897
|
debank: string;
|
|
5895
5898
|
};
|
|
5899
|
+
rpcUrls: {
|
|
5900
|
+
default: {
|
|
5901
|
+
http: string[];
|
|
5902
|
+
};
|
|
5903
|
+
};
|
|
5896
5904
|
markets: {
|
|
5897
5905
|
airswap: true;
|
|
5898
5906
|
kyberswap: string;
|
|
@@ -5903,6 +5911,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5903
5911
|
propellerswap: string;
|
|
5904
5912
|
openocean: string;
|
|
5905
5913
|
zeroex: true;
|
|
5914
|
+
cowswap: string;
|
|
5906
5915
|
};
|
|
5907
5916
|
bridges: {
|
|
5908
5917
|
chainlink: {
|
|
@@ -6042,11 +6051,6 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
6042
6051
|
readonly symbol: "ETH";
|
|
6043
6052
|
readonly decimals: 18;
|
|
6044
6053
|
};
|
|
6045
|
-
rpcUrls: {
|
|
6046
|
-
readonly default: {
|
|
6047
|
-
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
6048
|
-
};
|
|
6049
|
-
};
|
|
6050
6054
|
sourceId?: number | undefined;
|
|
6051
6055
|
testnet?: boolean | undefined;
|
|
6052
6056
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -9120,6 +9124,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9120
9124
|
};
|
|
9121
9125
|
markets: {
|
|
9122
9126
|
openocean: string;
|
|
9127
|
+
cowswap: string;
|
|
9123
9128
|
};
|
|
9124
9129
|
bridges: {};
|
|
9125
9130
|
oracles: {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const arbitrum: Readonly<{
|
|
|
19
19
|
propellerswap: string;
|
|
20
20
|
openocean: string;
|
|
21
21
|
zeroex: true;
|
|
22
|
+
cowswap: string;
|
|
22
23
|
};
|
|
23
24
|
bridges: {
|
|
24
25
|
chainlink: {
|
|
@@ -1508,6 +1509,7 @@ declare const gnosis: Readonly<{
|
|
|
1508
1509
|
};
|
|
1509
1510
|
markets: {
|
|
1510
1511
|
openocean: string;
|
|
1512
|
+
cowswap: string;
|
|
1511
1513
|
};
|
|
1512
1514
|
bridges: {};
|
|
1513
1515
|
oracles: {
|
|
@@ -2140,6 +2142,11 @@ declare const mainnet: Readonly<{
|
|
|
2140
2142
|
zerion: string;
|
|
2141
2143
|
debank: string;
|
|
2142
2144
|
};
|
|
2145
|
+
rpcUrls: {
|
|
2146
|
+
default: {
|
|
2147
|
+
http: string[];
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2143
2150
|
markets: {
|
|
2144
2151
|
airswap: true;
|
|
2145
2152
|
kyberswap: string;
|
|
@@ -2150,6 +2157,7 @@ declare const mainnet: Readonly<{
|
|
|
2150
2157
|
propellerswap: string;
|
|
2151
2158
|
openocean: string;
|
|
2152
2159
|
zeroex: true;
|
|
2160
|
+
cowswap: string;
|
|
2153
2161
|
};
|
|
2154
2162
|
bridges: {
|
|
2155
2163
|
chainlink: {
|
|
@@ -2289,13 +2297,6 @@ declare const mainnet: Readonly<{
|
|
|
2289
2297
|
readonly symbol: "ETH";
|
|
2290
2298
|
readonly decimals: 18;
|
|
2291
2299
|
};
|
|
2292
|
-
rpcUrls: {
|
|
2293
|
-
readonly default: {
|
|
2294
|
-
readonly http: readonly [
|
|
2295
|
-
"https://cloudflare-eth.com"
|
|
2296
|
-
];
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
2300
|
sourceId?: number | undefined;
|
|
2300
2301
|
testnet?: boolean | undefined;
|
|
2301
2302
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -4709,6 +4710,7 @@ interface Markets {
|
|
|
4709
4710
|
propellerswap?: string;
|
|
4710
4711
|
usor?: any;
|
|
4711
4712
|
zeroex?: boolean;
|
|
4713
|
+
cowswap?: string;
|
|
4712
4714
|
}
|
|
4713
4715
|
interface Bridges {
|
|
4714
4716
|
deswap?: any;
|
|
@@ -4814,6 +4816,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4814
4816
|
propellerswap: string;
|
|
4815
4817
|
openocean: string;
|
|
4816
4818
|
zeroex: true;
|
|
4819
|
+
cowswap: string;
|
|
4817
4820
|
};
|
|
4818
4821
|
bridges: {
|
|
4819
4822
|
chainlink: {
|
|
@@ -5893,6 +5896,11 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5893
5896
|
zerion: string;
|
|
5894
5897
|
debank: string;
|
|
5895
5898
|
};
|
|
5899
|
+
rpcUrls: {
|
|
5900
|
+
default: {
|
|
5901
|
+
http: string[];
|
|
5902
|
+
};
|
|
5903
|
+
};
|
|
5896
5904
|
markets: {
|
|
5897
5905
|
airswap: true;
|
|
5898
5906
|
kyberswap: string;
|
|
@@ -5903,6 +5911,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5903
5911
|
propellerswap: string;
|
|
5904
5912
|
openocean: string;
|
|
5905
5913
|
zeroex: true;
|
|
5914
|
+
cowswap: string;
|
|
5906
5915
|
};
|
|
5907
5916
|
bridges: {
|
|
5908
5917
|
chainlink: {
|
|
@@ -6042,11 +6051,6 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
6042
6051
|
readonly symbol: "ETH";
|
|
6043
6052
|
readonly decimals: 18;
|
|
6044
6053
|
};
|
|
6045
|
-
rpcUrls: {
|
|
6046
|
-
readonly default: {
|
|
6047
|
-
readonly http: readonly ["https://cloudflare-eth.com"];
|
|
6048
|
-
};
|
|
6049
|
-
};
|
|
6050
6054
|
sourceId?: number | undefined;
|
|
6051
6055
|
testnet?: boolean | undefined;
|
|
6052
6056
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -9120,6 +9124,7 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9120
9124
|
};
|
|
9121
9125
|
markets: {
|
|
9122
9126
|
openocean: string;
|
|
9127
|
+
cowswap: string;
|
|
9123
9128
|
};
|
|
9124
9129
|
bridges: {};
|
|
9125
9130
|
oracles: {
|