Skip to content

Commit 44b4156

Browse files
committed
feat(currency): add new aggregators for xdai, arbitrum-one, avalanche, bsc, optimism, and base; update existing aggregator configurations
1 parent 1d27dad commit 44b4156

File tree

11 files changed

+440
-62
lines changed

11 files changed

+440
-62
lines changed

packages/currency/src/aggregators/arbitrum-one.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": 1,
2323
"0x912ce59144191c1204e64559fe8253a0e49e6548": 1,
2424
"0xb50731ca2fd80afe3910a4800225d4845cad266f": 1,
25-
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": 1
25+
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": 1,
26+
"0x66710cc1372861ec5d5537c075b527b7b3c63c5f": 1
2627
},
2728
"0x17b4158805772ced11225e77339f90beb5aae968": {
2829
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
@@ -80,5 +81,8 @@
8081
},
8182
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": {
8283
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
84+
},
85+
"0x66710cc1372861ec5d5537c075b527b7b3c63c5f": {
86+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
8387
}
8488
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"0xf32cf7fcbb71d3d5ef75612538abd69e81d64aa9": {
3+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
4+
},
5+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": {
6+
"0xf32cf7fcbb71d3d5ef75612538abd69e81d64aa9": 1,
7+
"0xd586e7f844cea2f87f50152665bcbc2c279d8d70": 1,
8+
"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664": 1,
9+
"0xc7198437980c041c805a1edcba50c1ce5db95118": 1,
10+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": 1,
11+
"0x17b4158805772ced11225e77339f90beb5aae968": 1,
12+
"0xf68fb12aa78e5c2b3eebd71441a990cd5757055c": 1,
13+
"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e": 1,
14+
"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7": 1,
15+
"0xb50731ca2fd80afe3910a4800225d4845cad266f": 1,
16+
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": 1
17+
},
18+
"0xd586e7f844cea2f87f50152665bcbc2c279d8d70": {
19+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
20+
},
21+
"0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664": {
22+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
23+
},
24+
"0xc7198437980c041c805a1edcba50c1ce5db95118": {
25+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
26+
},
27+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": {
28+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
29+
},
30+
"0x17b4158805772ced11225e77339f90beb5aae968": {
31+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
32+
},
33+
"0xf68fb12aa78e5c2b3eebd71441a990cd5757055c": {
34+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
35+
},
36+
"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e": {
37+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
38+
},
39+
"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7": {
40+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
41+
},
42+
"0xb50731ca2fd80afe3910a4800225d4845cad266f": {
43+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
44+
},
45+
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": {
46+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
47+
}
48+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
3+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
4+
},
5+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": {
6+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": 1,
7+
"0xb678b03f3f3a6ea652ad1d183032fac176d83b08": 1
8+
},
9+
"0xb678b03f3f3a6ea652ad1d183032fac176d83b08": {
10+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
11+
}
12+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"0x4f99f266506be1475e943b2f097827011bfa4e93": {
3+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
4+
},
5+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": {
6+
"0x4f99f266506be1475e943b2f097827011bfa4e93": 1,
7+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
8+
"0xb50731ca2fd80afe3910a4800225d4845cad266f": 1,
9+
"0xe9e7cea3dedca5984780bafc599bd69add087d56": 1,
10+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": 1,
11+
"0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3": 1,
12+
"0x17b4158805772ced11225e77339f90beb5aae968": 1,
13+
"0x013f29832cd6525c4c6df81c2aae8032a1ff2db2": 1,
14+
"0xf68fb12aa78e5c2b3eebd71441a990cd5757055c": 1,
15+
"0x855b97276779c0e7a6ec28a449a55cba41003fa0": 1,
16+
"0x5b6d224c4bb5465d5faae5cb81614857964ce12b": 1,
17+
"0x9cc25aa34c6d7a4b572355ebc062aa1a60a85082": 1,
18+
"0x779987c9a457ffb220c3c3544817db67f7654507": 1,
19+
"0x52f3d6575032420a7038d5b096820be555c7c707": 1,
20+
"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": 1,
21+
"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": 1,
22+
"0x55d398326f99059ff775485246999027b3197955": 1,
23+
"0x6ecfc28d0c11b296581339a7300cfb345b26153a": 1,
24+
"0xce80759e72fe1d3c07be79ffecc76a7a9b46c641": 1,
25+
"0x717774da93a8ed092f7dba0acbb6977bf4fef912": 1,
26+
"0xb59490ab09a0f526cc7305822ac65f2ab12f9723": 1,
27+
"0x2170ed0880ac9a755fd29b2688956bd959f933f8": 1
28+
},
29+
"0x281162bd0b7a4162cb676bc4873734497b3af025": {
30+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1,
31+
"0xe9e7cea3dedca5984780bafc599bd69add087d56": 1,
32+
"0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3": 1,
33+
"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": 1,
34+
"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": 1,
35+
"0x55d398326f99059ff775485246999027b3197955": 1
36+
},
37+
"0xb50731ca2fd80afe3910a4800225d4845cad266f": {
38+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
39+
},
40+
"0xe9e7cea3dedca5984780bafc599bd69add087d56": {
41+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
42+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
43+
},
44+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": {
45+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
46+
},
47+
"0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3": {
48+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
49+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
50+
},
51+
"0x17b4158805772ced11225e77339f90beb5aae968": {
52+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
53+
},
54+
"0x013f29832cd6525c4c6df81c2aae8032a1ff2db2": {
55+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
56+
},
57+
"0xf68fb12aa78e5c2b3eebd71441a990cd5757055c": {
58+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
59+
},
60+
"0x855b97276779c0e7a6ec28a449a55cba41003fa0": {
61+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
62+
},
63+
"0x5b6d224c4bb5465d5faae5cb81614857964ce12b": {
64+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
65+
},
66+
"0x9cc25aa34c6d7a4b572355ebc062aa1a60a85082": {
67+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
68+
},
69+
"0x779987c9a457ffb220c3c3544817db67f7654507": {
70+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
71+
},
72+
"0x52f3d6575032420a7038d5b096820be555c7c707": {
73+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
74+
},
75+
"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": {
76+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
77+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
78+
},
79+
"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": {
80+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
81+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
82+
},
83+
"0x55d398326f99059ff775485246999027b3197955": {
84+
"0x281162bd0b7a4162cb676bc4873734497b3af025": 1,
85+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
86+
},
87+
"0x6ecfc28d0c11b296581339a7300cfb345b26153a": {
88+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
89+
},
90+
"0xce80759e72fe1d3c07be79ffecc76a7a9b46c641": {
91+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
92+
},
93+
"0x717774da93a8ed092f7dba0acbb6977bf4fef912": {
94+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
95+
},
96+
"0xb59490ab09a0f526cc7305822ac65f2ab12f9723": {
97+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
98+
},
99+
"0x2170ed0880ac9a755fd29b2688956bd959f933f8": {
100+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
101+
}
102+
}
Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
{
2-
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": {
2+
"0x17b4158805772ced11225e77339f90beb5aae968": {
33
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
44
},
55
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": {
6-
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": 1,
7-
"0x10bf4137b0558c33c2dc9f71c3bb81c2865fa2fb": 1,
6+
"0x17b4158805772ced11225e77339f90beb5aae968": 1,
87
"0x04068da6c83afcfa0e13ba15a6696662335d5b75": 1,
98
"0x940f41f0ec9ba1a34cf001cc03347ac092f5f6b5": 1,
109
"0xae75a438b2e0cb8bb01ec1e1e376de11d44477cc": 1,
1110
"0x56ee926bd8c72b2d5fa1af4d9e4cbb515a1e3adc": 1,
1211
"0xb3654dc3d10ea7645f8319668e8f54d2574fbdc8": 1,
13-
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1,
12+
"0x658b0c7613e890ee50b8c4bc6a3f41ef411208ad": 1,
1413
"0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e": 1,
1514
"0x657a1861c15a3ded9af0b6799a195a249ebdcbc6": 1,
16-
"0x27f26f00e1605903645bbabc0a73e35027dccd45": 1,
17-
"0x03049758a18d1589388d7a74fb71c3fcce11d286": 1,
15+
"0xe1146b9ac456fcbb60644c36fd3f868a9072fc6e": 1,
1816
"0x6a07a792ab2965c72a5b8088d3a069a7ac3a993b": 1,
19-
"0x658b0c7613e890ee50b8c4bc6a3f41ef411208ad": 1,
20-
"0xe1146b9ac456fcbb60644c36fd3f868a9072fc6e": 1
21-
},
22-
"0x10bf4137b0558c33c2dc9f71c3bb81c2865fa2fb": {
23-
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
17+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": 1,
18+
"0x10bf4137b0558c33c2dc9f71c3bb81c2865fa2fb": 1,
19+
"0x2f733095b80a04b38b0d10cc884524a3d09b836a": 1
2420
},
2521
"0x04068da6c83afcfa0e13ba15a6696662335d5b75": {
2622
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
@@ -37,7 +33,7 @@
3733
"0xb3654dc3d10ea7645f8319668e8f54d2574fbdc8": {
3834
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
3935
},
40-
"0xf5af88e117747e87fc5929f2ff87221b1447652e": {
36+
"0x658b0c7613e890ee50b8c4bc6a3f41ef411208ad": {
4137
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
4238
},
4339
"0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e": {
@@ -46,19 +42,19 @@
4642
"0x657a1861c15a3ded9af0b6799a195a249ebdcbc6": {
4743
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
4844
},
49-
"0x27f26f00e1605903645bbabc0a73e35027dccd45": {
45+
"0xe1146b9ac456fcbb60644c36fd3f868a9072fc6e": {
5046
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
5147
},
52-
"0x03049758a18d1589388d7a74fb71c3fcce11d286": {
48+
"0x6a07a792ab2965c72a5b8088d3a069a7ac3a993b": {
5349
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
5450
},
55-
"0x6a07a792ab2965c72a5b8088d3a069a7ac3a993b": {
51+
"0xfac26e3fd40adcdc6652f705d983b4830c00716c": {
5652
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
5753
},
58-
"0x658b0c7613e890ee50b8c4bc6a3f41ef411208ad": {
54+
"0x10bf4137b0558c33c2dc9f71c3bb81c2865fa2fb": {
5955
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
6056
},
61-
"0xe1146b9ac456fcbb60644c36fd3f868a9072fc6e": {
57+
"0x2f733095b80a04b38b0d10cc884524a3d09b836a": {
6258
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
6359
}
6460
}

packages/currency/src/aggregators/mainnet.json

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@
1919
"0x3845badade8e6dff049820680d1f14bd3903a5d0": 1,
2020
"0x8ab7404063ec4dbcfd4598215992dc3f8ec853d7": 1,
2121
"0xdefa4e8a7bcba345f687a2f1456f5edd9ce97202": 1,
22-
"0x8f8221afbb33998d8584a2b05749ba73c37a938a": 1,
2322
"0xe6c09adc89ff4467cea20bc7760e3e59e7c0671d": 1,
2423
"0x0d8775f648430679a709e98d2b0cb6250d2887ef": 1,
2524
"0x956f47f50a910163d8bf957cf5846d573e7f87ca": 1,
2625
"0xf68fb12aa78e5c2b3eebd71441a990cd5757055c": 1,
2726
"0x0bbb60891a1688271573e5ea4cba84f18cbc0f2d": 1,
2827
"0xb50731ca2fd80afe3910a4800225d4845cad266f": 1,
29-
"0xab6ce0b86d905929340c640e8bcba8751feea10e": 1,
3028
"0xbc396689893d065f41bc2c6ecbee5e0085233447": 1,
3129
"0x6b3595068778dd592e39a122f4f5a5cf09c90fe2": 1,
3230
"0xb7a41bb9ad3cdc5db0e35c12e78106fa3f21693d": 1,
@@ -41,7 +39,11 @@
4139
"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0": 1,
4240
"0x0000000000085d4780b73119b644ae5ecd22b376": 1,
4341
"0x8e870d67f660d95d5be530380d0ec0bd388289e1": 1,
44-
"0x6ea6803339cfeadd84b5b62820c548f53ff7d8e9": 1
42+
"0x6ea6803339cfeadd84b5b62820c548f53ff7d8e9": 1,
43+
"0xf57e7e7c23978c3caec3c3548e3d615c346e79ff": 1,
44+
"0x66710cc1372861ec5d5537c075b527b7b3c63c5f": 1,
45+
"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f": 1,
46+
"0x4d224452801aced8b2f0aebe155379bb5d594381": 1
4547
},
4648
"0xfa6faefc053e6c8e393a73dcc12b09fcde019d25": {
4749
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
@@ -57,7 +59,6 @@
5759
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": 1,
5860
"0x6b175474e89094c44da98b954eedeac495271d0f": 1,
5961
"0xc944e90c64b2c07662a292be6244bdf05cda44a7": 1,
60-
"0x967da4048cd07ab37855c090aaf366e4ce1b9f48": 1,
6162
"0x0f5d2fb29fb7d3cfee444a200298f468908cc942": 1,
6263
"0xdefa4e8a7bcba345f687a2f1456f5edd9ce97202": 1,
6364
"0x8f693ca8d21b157107184d29d398a8d082b38b76": 1,
@@ -121,9 +122,6 @@
121122
"0xc944e90c64b2c07662a292be6244bdf05cda44a7": {
122123
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1
123124
},
124-
"0x967da4048cd07ab37855c090aaf366e4ce1b9f48": {
125-
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1
126-
},
127125
"0x3845badade8e6dff049820680d1f14bd3903a5d0": {
128126
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
129127
},
@@ -137,9 +135,6 @@
137135
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1,
138136
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
139137
},
140-
"0x8f8221afbb33998d8584a2b05749ba73c37a938a": {
141-
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
142-
},
143138
"0xe6c09adc89ff4467cea20bc7760e3e59e7c0671d": {
144139
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
145140
},
@@ -174,9 +169,6 @@
174169
"0x6810e776880c02933d47db1b9fc05908e5386b96": {
175170
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1
176171
},
177-
"0xab6ce0b86d905929340c640e8bcba8751feea10e": {
178-
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
179-
},
180172
"0xbc396689893d065f41bc2c6ecbee5e0085233447": {
181173
"0xf5af88e117747e87fc5929f2ff87221b1447652e": 1,
182174
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
@@ -230,5 +222,23 @@
230222
},
231223
"0x6ea6803339cfeadd84b5b62820c548f53ff7d8e9": {
232224
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
225+
},
226+
"0x321162cd933e2be498cd2267a90534a804051b11": {
227+
"0x03049758a18d1589388d7a74fb71c3fcce11d286": 1
228+
},
229+
"0x03049758a18d1589388d7a74fb71c3fcce11d286": {
230+
"0x321162cd933e2be498cd2267a90534a804051b11": 1
231+
},
232+
"0xf57e7e7c23978c3caec3c3548e3d615c346e79ff": {
233+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
234+
},
235+
"0x66710cc1372861ec5d5537c075b527b7b3c63c5f": {
236+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
237+
},
238+
"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f": {
239+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
240+
},
241+
"0x4d224452801aced8b2f0aebe155379bb5d594381": {
242+
"0x775eb53d00dd0acd3ec1696472105d579b9b386b": 1
233243
}
234244
}

0 commit comments

Comments
 (0)