@paraswap/dex-lib 4.7.21 → 4.7.22-log-handling.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/build/abi/lite-psm/psm.json +246 -23
- package/build/abi/usual-pp/abi.json +134 -28
- package/build/dex/algebra-integral/config.js +1 -1
- package/build/dex/algebra-integral/config.js.map +1 -1
- package/build/dex/cables/cables.js +1 -5
- package/build/dex/cables/cables.js.map +1 -1
- package/build/dex/curve-v1/pools/curve-metapool.js +57 -57
- package/build/dex/curve-v1/pools/curve-metapool.js.map +1 -1
- package/build/dex/fluid-dex/fluid-dex-pool.js +1 -1
- package/build/dex/fluid-dex/fluid-dex-pool.js.map +1 -1
- package/build/stateful-event-subscriber.js +6 -1
- package/build/stateful-event-subscriber.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"inputs": [
|
|
4
|
-
{ "internalType": "
|
|
4
|
+
{ "internalType": "bytes32", "name": "ilk_", "type": "bytes32" },
|
|
5
|
+
{ "internalType": "address", "name": "gem_", "type": "address" },
|
|
5
6
|
{ "internalType": "address", "name": "daiJoin_", "type": "address" },
|
|
6
|
-
{ "internalType": "address", "name": "
|
|
7
|
+
{ "internalType": "address", "name": "pocket_", "type": "address" }
|
|
7
8
|
],
|
|
8
9
|
"stateMutability": "nonpayable",
|
|
9
10
|
"type": "constructor"
|
|
@@ -38,14 +39,59 @@
|
|
|
38
39
|
"inputs": [
|
|
39
40
|
{
|
|
40
41
|
"indexed": false,
|
|
42
|
+
"internalType": "uint256",
|
|
43
|
+
"name": "wad",
|
|
44
|
+
"type": "uint256"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"name": "Chug",
|
|
48
|
+
"type": "event"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"anonymous": false,
|
|
52
|
+
"inputs": [
|
|
53
|
+
{
|
|
54
|
+
"indexed": true,
|
|
41
55
|
"internalType": "address",
|
|
42
|
-
"name": "
|
|
56
|
+
"name": "usr",
|
|
43
57
|
"type": "address"
|
|
44
58
|
}
|
|
45
59
|
],
|
|
46
60
|
"name": "Deny",
|
|
47
61
|
"type": "event"
|
|
48
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"anonymous": false,
|
|
65
|
+
"inputs": [
|
|
66
|
+
{
|
|
67
|
+
"indexed": true,
|
|
68
|
+
"internalType": "address",
|
|
69
|
+
"name": "usr",
|
|
70
|
+
"type": "address"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"name": "Diss",
|
|
74
|
+
"type": "event"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"anonymous": false,
|
|
78
|
+
"inputs": [
|
|
79
|
+
{
|
|
80
|
+
"indexed": true,
|
|
81
|
+
"internalType": "bytes32",
|
|
82
|
+
"name": "what",
|
|
83
|
+
"type": "bytes32"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"indexed": false,
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "data",
|
|
89
|
+
"type": "address"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"name": "File",
|
|
93
|
+
"type": "event"
|
|
94
|
+
},
|
|
49
95
|
{
|
|
50
96
|
"anonymous": false,
|
|
51
97
|
"inputs": [
|
|
@@ -70,8 +116,34 @@
|
|
|
70
116
|
"inputs": [
|
|
71
117
|
{
|
|
72
118
|
"indexed": false,
|
|
119
|
+
"internalType": "uint256",
|
|
120
|
+
"name": "wad",
|
|
121
|
+
"type": "uint256"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"name": "Fill",
|
|
125
|
+
"type": "event"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"anonymous": false,
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"indexed": true,
|
|
132
|
+
"internalType": "address",
|
|
133
|
+
"name": "usr",
|
|
134
|
+
"type": "address"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"name": "Kiss",
|
|
138
|
+
"type": "event"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"anonymous": false,
|
|
142
|
+
"inputs": [
|
|
143
|
+
{
|
|
144
|
+
"indexed": true,
|
|
73
145
|
"internalType": "address",
|
|
74
|
-
"name": "
|
|
146
|
+
"name": "usr",
|
|
75
147
|
"type": "address"
|
|
76
148
|
}
|
|
77
149
|
],
|
|
@@ -103,21 +175,87 @@
|
|
|
103
175
|
"name": "SellGem",
|
|
104
176
|
"type": "event"
|
|
105
177
|
},
|
|
178
|
+
{
|
|
179
|
+
"anonymous": false,
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"indexed": false,
|
|
183
|
+
"internalType": "uint256",
|
|
184
|
+
"name": "wad",
|
|
185
|
+
"type": "uint256"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"name": "Trim",
|
|
189
|
+
"type": "event"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"inputs": [],
|
|
193
|
+
"name": "HALTED",
|
|
194
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
195
|
+
"stateMutability": "view",
|
|
196
|
+
"type": "function"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
200
|
+
"name": "bud",
|
|
201
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
202
|
+
"stateMutability": "view",
|
|
203
|
+
"type": "function"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputs": [],
|
|
207
|
+
"name": "buf",
|
|
208
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
211
|
+
},
|
|
106
212
|
{
|
|
107
213
|
"inputs": [
|
|
108
214
|
{ "internalType": "address", "name": "usr", "type": "address" },
|
|
109
215
|
{ "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
|
|
110
216
|
],
|
|
111
217
|
"name": "buyGem",
|
|
112
|
-
"outputs": [
|
|
218
|
+
"outputs": [
|
|
219
|
+
{ "internalType": "uint256", "name": "daiInWad", "type": "uint256" }
|
|
220
|
+
],
|
|
221
|
+
"stateMutability": "nonpayable",
|
|
222
|
+
"type": "function"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"inputs": [
|
|
226
|
+
{ "internalType": "address", "name": "usr", "type": "address" },
|
|
227
|
+
{ "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
|
|
228
|
+
],
|
|
229
|
+
"name": "buyGemNoFee",
|
|
230
|
+
"outputs": [
|
|
231
|
+
{ "internalType": "uint256", "name": "daiInWad", "type": "uint256" }
|
|
232
|
+
],
|
|
113
233
|
"stateMutability": "nonpayable",
|
|
114
234
|
"type": "function"
|
|
115
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"inputs": [],
|
|
238
|
+
"name": "chug",
|
|
239
|
+
"outputs": [
|
|
240
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
241
|
+
],
|
|
242
|
+
"stateMutability": "nonpayable",
|
|
243
|
+
"type": "function"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"inputs": [],
|
|
247
|
+
"name": "cut",
|
|
248
|
+
"outputs": [
|
|
249
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
250
|
+
],
|
|
251
|
+
"stateMutability": "view",
|
|
252
|
+
"type": "function"
|
|
253
|
+
},
|
|
116
254
|
{
|
|
117
255
|
"inputs": [],
|
|
118
256
|
"name": "dai",
|
|
119
257
|
"outputs": [
|
|
120
|
-
{ "internalType": "contract
|
|
258
|
+
{ "internalType": "contract GemLike", "name": "", "type": "address" }
|
|
121
259
|
],
|
|
122
260
|
"stateMutability": "view",
|
|
123
261
|
"type": "function"
|
|
@@ -126,15 +264,18 @@
|
|
|
126
264
|
"inputs": [],
|
|
127
265
|
"name": "daiJoin",
|
|
128
266
|
"outputs": [
|
|
129
|
-
{
|
|
130
|
-
"internalType": "contract DaiJoinAbstract",
|
|
131
|
-
"name": "",
|
|
132
|
-
"type": "address"
|
|
133
|
-
}
|
|
267
|
+
{ "internalType": "contract DaiJoinLike", "name": "", "type": "address" }
|
|
134
268
|
],
|
|
135
269
|
"stateMutability": "view",
|
|
136
270
|
"type": "function"
|
|
137
271
|
},
|
|
272
|
+
{
|
|
273
|
+
"inputs": [],
|
|
274
|
+
"name": "dec",
|
|
275
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
276
|
+
"stateMutability": "view",
|
|
277
|
+
"type": "function"
|
|
278
|
+
},
|
|
138
279
|
{
|
|
139
280
|
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
|
140
281
|
"name": "deny",
|
|
@@ -142,6 +283,13 @@
|
|
|
142
283
|
"stateMutability": "nonpayable",
|
|
143
284
|
"type": "function"
|
|
144
285
|
},
|
|
286
|
+
{
|
|
287
|
+
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
|
288
|
+
"name": "diss",
|
|
289
|
+
"outputs": [],
|
|
290
|
+
"stateMutability": "nonpayable",
|
|
291
|
+
"type": "function"
|
|
292
|
+
},
|
|
145
293
|
{
|
|
146
294
|
"inputs": [
|
|
147
295
|
{ "internalType": "bytes32", "name": "what", "type": "bytes32" },
|
|
@@ -152,24 +300,48 @@
|
|
|
152
300
|
"stateMutability": "nonpayable",
|
|
153
301
|
"type": "function"
|
|
154
302
|
},
|
|
303
|
+
{
|
|
304
|
+
"inputs": [
|
|
305
|
+
{ "internalType": "bytes32", "name": "what", "type": "bytes32" },
|
|
306
|
+
{ "internalType": "address", "name": "data", "type": "address" }
|
|
307
|
+
],
|
|
308
|
+
"name": "file",
|
|
309
|
+
"outputs": [],
|
|
310
|
+
"stateMutability": "nonpayable",
|
|
311
|
+
"type": "function"
|
|
312
|
+
},
|
|
155
313
|
{
|
|
156
314
|
"inputs": [],
|
|
157
|
-
"name": "
|
|
315
|
+
"name": "fill",
|
|
158
316
|
"outputs": [
|
|
159
|
-
{
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
317
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
318
|
+
],
|
|
319
|
+
"stateMutability": "nonpayable",
|
|
320
|
+
"type": "function"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"inputs": [],
|
|
324
|
+
"name": "gem",
|
|
325
|
+
"outputs": [
|
|
326
|
+
{ "internalType": "contract GemLike", "name": "", "type": "address" }
|
|
164
327
|
],
|
|
165
328
|
"stateMutability": "view",
|
|
166
329
|
"type": "function"
|
|
167
330
|
},
|
|
168
331
|
{
|
|
169
|
-
"inputs": [
|
|
170
|
-
"name": "
|
|
171
|
-
"outputs": [],
|
|
172
|
-
"stateMutability": "
|
|
332
|
+
"inputs": [],
|
|
333
|
+
"name": "gemJoin",
|
|
334
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
335
|
+
"stateMutability": "view",
|
|
336
|
+
"type": "function"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"inputs": [],
|
|
340
|
+
"name": "gush",
|
|
341
|
+
"outputs": [
|
|
342
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
343
|
+
],
|
|
344
|
+
"stateMutability": "view",
|
|
173
345
|
"type": "function"
|
|
174
346
|
},
|
|
175
347
|
{
|
|
@@ -181,11 +353,25 @@
|
|
|
181
353
|
},
|
|
182
354
|
{
|
|
183
355
|
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
|
184
|
-
"name": "
|
|
356
|
+
"name": "kiss",
|
|
185
357
|
"outputs": [],
|
|
186
358
|
"stateMutability": "nonpayable",
|
|
187
359
|
"type": "function"
|
|
188
360
|
},
|
|
361
|
+
{
|
|
362
|
+
"inputs": [],
|
|
363
|
+
"name": "live",
|
|
364
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
365
|
+
"stateMutability": "view",
|
|
366
|
+
"type": "function"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"inputs": [],
|
|
370
|
+
"name": "pocket",
|
|
371
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
372
|
+
"stateMutability": "view",
|
|
373
|
+
"type": "function"
|
|
374
|
+
},
|
|
189
375
|
{
|
|
190
376
|
"inputs": [{ "internalType": "address", "name": "usr", "type": "address" }],
|
|
191
377
|
"name": "rely",
|
|
@@ -193,6 +379,15 @@
|
|
|
193
379
|
"stateMutability": "nonpayable",
|
|
194
380
|
"type": "function"
|
|
195
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"inputs": [],
|
|
384
|
+
"name": "rush",
|
|
385
|
+
"outputs": [
|
|
386
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
387
|
+
],
|
|
388
|
+
"stateMutability": "view",
|
|
389
|
+
"type": "function"
|
|
390
|
+
},
|
|
196
391
|
{
|
|
197
392
|
"inputs": [
|
|
198
393
|
{ "internalType": "address", "name": "usr", "type": "address" },
|
|
@@ -205,6 +400,18 @@
|
|
|
205
400
|
"stateMutability": "nonpayable",
|
|
206
401
|
"type": "function"
|
|
207
402
|
},
|
|
403
|
+
{
|
|
404
|
+
"inputs": [
|
|
405
|
+
{ "internalType": "address", "name": "usr", "type": "address" },
|
|
406
|
+
{ "internalType": "uint256", "name": "gemAmt", "type": "uint256" }
|
|
407
|
+
],
|
|
408
|
+
"name": "sellGemNoFee",
|
|
409
|
+
"outputs": [
|
|
410
|
+
{ "internalType": "uint256", "name": "daiOutWad", "type": "uint256" }
|
|
411
|
+
],
|
|
412
|
+
"stateMutability": "nonpayable",
|
|
413
|
+
"type": "function"
|
|
414
|
+
},
|
|
208
415
|
{
|
|
209
416
|
"inputs": [],
|
|
210
417
|
"name": "tin",
|
|
@@ -212,6 +419,13 @@
|
|
|
212
419
|
"stateMutability": "view",
|
|
213
420
|
"type": "function"
|
|
214
421
|
},
|
|
422
|
+
{
|
|
423
|
+
"inputs": [],
|
|
424
|
+
"name": "to18ConversionFactor",
|
|
425
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
426
|
+
"stateMutability": "view",
|
|
427
|
+
"type": "function"
|
|
428
|
+
},
|
|
215
429
|
{
|
|
216
430
|
"inputs": [],
|
|
217
431
|
"name": "tout",
|
|
@@ -219,11 +433,20 @@
|
|
|
219
433
|
"stateMutability": "view",
|
|
220
434
|
"type": "function"
|
|
221
435
|
},
|
|
436
|
+
{
|
|
437
|
+
"inputs": [],
|
|
438
|
+
"name": "trim",
|
|
439
|
+
"outputs": [
|
|
440
|
+
{ "internalType": "uint256", "name": "wad", "type": "uint256" }
|
|
441
|
+
],
|
|
442
|
+
"stateMutability": "nonpayable",
|
|
443
|
+
"type": "function"
|
|
444
|
+
},
|
|
222
445
|
{
|
|
223
446
|
"inputs": [],
|
|
224
447
|
"name": "vat",
|
|
225
448
|
"outputs": [
|
|
226
|
-
{ "internalType": "contract
|
|
449
|
+
{ "internalType": "contract VatLike", "name": "", "type": "address" }
|
|
227
450
|
],
|
|
228
451
|
"stateMutability": "view",
|
|
229
452
|
"type": "function"
|
|
@@ -164,9 +164,21 @@
|
|
|
164
164
|
"internalType": "address",
|
|
165
165
|
"name": "user",
|
|
166
166
|
"type": "address"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"indexed": false,
|
|
170
|
+
"internalType": "uint256",
|
|
171
|
+
"name": "amount",
|
|
172
|
+
"type": "uint256"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"indexed": false,
|
|
176
|
+
"internalType": "address",
|
|
177
|
+
"name": "assetRecipient",
|
|
178
|
+
"type": "address"
|
|
167
179
|
}
|
|
168
180
|
],
|
|
169
|
-
"name": "
|
|
181
|
+
"name": "BondUnwrapped",
|
|
170
182
|
"type": "event"
|
|
171
183
|
},
|
|
172
184
|
{
|
|
@@ -200,36 +212,67 @@
|
|
|
200
212
|
{
|
|
201
213
|
"indexed": false,
|
|
202
214
|
"internalType": "uint256",
|
|
203
|
-
"name": "
|
|
215
|
+
"name": "usd0ppAmount",
|
|
204
216
|
"type": "uint256"
|
|
205
217
|
}
|
|
206
218
|
],
|
|
207
|
-
"name": "
|
|
219
|
+
"name": "BondUnwrappedEarlyWithUsualBurn",
|
|
208
220
|
"type": "event"
|
|
209
221
|
},
|
|
210
222
|
{
|
|
211
223
|
"anonymous": false,
|
|
212
|
-
"inputs": [
|
|
213
|
-
|
|
224
|
+
"inputs": [
|
|
225
|
+
{
|
|
226
|
+
"indexed": true,
|
|
227
|
+
"internalType": "address",
|
|
228
|
+
"name": "user",
|
|
229
|
+
"type": "address"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"indexed": false,
|
|
233
|
+
"internalType": "uint256",
|
|
234
|
+
"name": "amount",
|
|
235
|
+
"type": "uint256"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"indexed": false,
|
|
239
|
+
"internalType": "uint256",
|
|
240
|
+
"name": "remainingAllowance",
|
|
241
|
+
"type": "uint256"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"name": "CappedUnwrap",
|
|
214
245
|
"type": "event"
|
|
215
246
|
},
|
|
216
247
|
{
|
|
217
248
|
"anonymous": false,
|
|
218
249
|
"inputs": [
|
|
250
|
+
{
|
|
251
|
+
"indexed": true,
|
|
252
|
+
"internalType": "address",
|
|
253
|
+
"name": "user",
|
|
254
|
+
"type": "address"
|
|
255
|
+
},
|
|
219
256
|
{
|
|
220
257
|
"indexed": false,
|
|
221
|
-
"internalType": "
|
|
222
|
-
"name": "
|
|
223
|
-
"type": "
|
|
258
|
+
"internalType": "uint256",
|
|
259
|
+
"name": "amount",
|
|
260
|
+
"type": "uint256"
|
|
224
261
|
},
|
|
225
262
|
{
|
|
226
263
|
"indexed": false,
|
|
227
|
-
"internalType": "
|
|
228
|
-
"name": "
|
|
229
|
-
"type": "
|
|
264
|
+
"internalType": "address",
|
|
265
|
+
"name": "bAssetRecipient",
|
|
266
|
+
"type": "address"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"indexed": false,
|
|
270
|
+
"internalType": "address",
|
|
271
|
+
"name": "rAssetRecipient",
|
|
272
|
+
"type": "address"
|
|
230
273
|
}
|
|
231
274
|
],
|
|
232
|
-
"name": "
|
|
275
|
+
"name": "Deconstructed",
|
|
233
276
|
"type": "event"
|
|
234
277
|
},
|
|
235
278
|
{
|
|
@@ -238,17 +281,36 @@
|
|
|
238
281
|
{
|
|
239
282
|
"indexed": false,
|
|
240
283
|
"internalType": "uint256",
|
|
241
|
-
"name": "
|
|
284
|
+
"name": "newFactor",
|
|
242
285
|
"type": "uint256"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"name": "DurationCostFactorSet",
|
|
289
|
+
"type": "event"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"anonymous": false,
|
|
293
|
+
"inputs": [],
|
|
294
|
+
"name": "EIP712DomainChanged",
|
|
295
|
+
"type": "event"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"anonymous": false,
|
|
299
|
+
"inputs": [
|
|
300
|
+
{
|
|
301
|
+
"indexed": true,
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "account",
|
|
304
|
+
"type": "address"
|
|
243
305
|
},
|
|
244
306
|
{
|
|
245
307
|
"indexed": false,
|
|
246
308
|
"internalType": "uint256",
|
|
247
|
-
"name": "
|
|
309
|
+
"name": "balance",
|
|
248
310
|
"type": "uint256"
|
|
249
311
|
}
|
|
250
312
|
],
|
|
251
|
-
"name": "
|
|
313
|
+
"name": "EmergencyWithdraw",
|
|
252
314
|
"type": "event"
|
|
253
315
|
},
|
|
254
316
|
{
|
|
@@ -257,17 +319,23 @@
|
|
|
257
319
|
{
|
|
258
320
|
"indexed": true,
|
|
259
321
|
"internalType": "address",
|
|
260
|
-
"name": "
|
|
322
|
+
"name": "caller",
|
|
323
|
+
"type": "address"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"indexed": true,
|
|
327
|
+
"internalType": "address",
|
|
328
|
+
"name": "collector",
|
|
261
329
|
"type": "address"
|
|
262
330
|
},
|
|
263
331
|
{
|
|
264
332
|
"indexed": false,
|
|
265
333
|
"internalType": "uint256",
|
|
266
|
-
"name": "
|
|
334
|
+
"name": "amount",
|
|
267
335
|
"type": "uint256"
|
|
268
336
|
}
|
|
269
337
|
],
|
|
270
|
-
"name": "
|
|
338
|
+
"name": "FeeSwept",
|
|
271
339
|
"type": "event"
|
|
272
340
|
},
|
|
273
341
|
{
|
|
@@ -296,6 +364,19 @@
|
|
|
296
364
|
"name": "Initialized",
|
|
297
365
|
"type": "event"
|
|
298
366
|
},
|
|
367
|
+
{
|
|
368
|
+
"anonymous": false,
|
|
369
|
+
"inputs": [
|
|
370
|
+
{
|
|
371
|
+
"indexed": false,
|
|
372
|
+
"internalType": "address",
|
|
373
|
+
"name": "account",
|
|
374
|
+
"type": "address"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"name": "Paused",
|
|
378
|
+
"type": "event"
|
|
379
|
+
},
|
|
299
380
|
{
|
|
300
381
|
"anonymous": false,
|
|
301
382
|
"inputs": [
|
|
@@ -310,22 +391,15 @@
|
|
|
310
391
|
"internalType": "uint256",
|
|
311
392
|
"name": "amount",
|
|
312
393
|
"type": "uint256"
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"name": "PARMechanismActivated",
|
|
316
|
-
"type": "event"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"anonymous": false,
|
|
320
|
-
"inputs": [
|
|
394
|
+
},
|
|
321
395
|
{
|
|
322
396
|
"indexed": false,
|
|
323
397
|
"internalType": "address",
|
|
324
|
-
"name": "
|
|
398
|
+
"name": "assetRecipient",
|
|
325
399
|
"type": "address"
|
|
326
400
|
}
|
|
327
401
|
],
|
|
328
|
-
"name": "
|
|
402
|
+
"name": "Reconstructed",
|
|
329
403
|
"type": "event"
|
|
330
404
|
},
|
|
331
405
|
{
|
|
@@ -366,6 +440,25 @@
|
|
|
366
440
|
"name": "Unpaused",
|
|
367
441
|
"type": "event"
|
|
368
442
|
},
|
|
443
|
+
{
|
|
444
|
+
"anonymous": false,
|
|
445
|
+
"inputs": [
|
|
446
|
+
{
|
|
447
|
+
"indexed": true,
|
|
448
|
+
"internalType": "address",
|
|
449
|
+
"name": "user",
|
|
450
|
+
"type": "address"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"indexed": false,
|
|
454
|
+
"internalType": "uint256",
|
|
455
|
+
"name": "cap",
|
|
456
|
+
"type": "uint256"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"name": "UnwrapCapSet",
|
|
460
|
+
"type": "event"
|
|
461
|
+
},
|
|
369
462
|
{
|
|
370
463
|
"anonymous": false,
|
|
371
464
|
"inputs": [
|
|
@@ -391,6 +484,19 @@
|
|
|
391
484
|
"name": "Usd0ppUnlockedFloorPrice",
|
|
392
485
|
"type": "event"
|
|
393
486
|
},
|
|
487
|
+
{
|
|
488
|
+
"anonymous": false,
|
|
489
|
+
"inputs": [
|
|
490
|
+
{
|
|
491
|
+
"indexed": false,
|
|
492
|
+
"internalType": "uint256",
|
|
493
|
+
"name": "newRate",
|
|
494
|
+
"type": "uint256"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"name": "UsualDistributionPerUsd0ppSet",
|
|
498
|
+
"type": "event"
|
|
499
|
+
},
|
|
394
500
|
{
|
|
395
501
|
"inputs": [],
|
|
396
502
|
"name": "DOMAIN_SEPARATOR",
|
|
@@ -22,7 +22,7 @@ exports.AlgebraIntegralConfig = {
|
|
|
22
22
|
BlackholeCL: {
|
|
23
23
|
[constants_1.Network.AVALANCHE]: {
|
|
24
24
|
factory: '0x512eb749541B7cf294be882D636218c84a5e9E5F',
|
|
25
|
-
subgraphURL: 'https://api.goldsky.com/api/public/project_cm8gyxv0x02qv01uphvy69ey6/subgraphs/poap-subgraph-core/
|
|
25
|
+
subgraphURL: 'https://api.goldsky.com/api/public/project_cm8gyxv0x02qv01uphvy69ey6/subgraphs/poap-subgraph-core/avax-main/gn',
|
|
26
26
|
quoter: '0x3e182bcf14Be6142b9217847ec1112e3c39Eb689',
|
|
27
27
|
router: '0xaBfc48e8BED7b26762745f3139555F320119709d',
|
|
28
28
|
chunksCount: 10,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dex/algebra-integral/config.ts"],"names":[],"mappings":";;;AAEA,+CAA0C;AAE7B,QAAA,qBAAqB,GAA4B;IAC5D,WAAW,EAAE;QACX,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE;YACjB,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,8CAA8C;YAC3D,MAAM,EAAE,4CAA4C;YACpD,MAAM,EAAE,4CAA4C;YACpD,WAAW,EAAE,EAAE;SAChB;QACD,CAAC,mBAAO,CAAC,IAAI,CAAC,EAAE;YACd,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,6CAA6C;YAC1D,MAAM,EAAE,4CAA4C;YACpD,MAAM,EAAE,4CAA4C;YACpD,WAAW,EAAE,EAAE;SAChB;KACF;IACD,WAAW,EAAE;QACX,CAAC,mBAAO,CAAC,SAAS,CAAC,EAAE;YACnB,OAAO,EAAE,4CAA4C;YACrD,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dex/algebra-integral/config.ts"],"names":[],"mappings":";;;AAEA,+CAA0C;AAE7B,QAAA,qBAAqB,GAA4B;IAC5D,WAAW,EAAE;QACX,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE;YACjB,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,8CAA8C;YAC3D,MAAM,EAAE,4CAA4C;YACpD,MAAM,EAAE,4CAA4C;YACpD,WAAW,EAAE,EAAE;SAChB;QACD,CAAC,mBAAO,CAAC,IAAI,CAAC,EAAE;YACd,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,6CAA6C;YAC1D,MAAM,EAAE,4CAA4C;YACpD,MAAM,EAAE,4CAA4C;YACpD,WAAW,EAAE,EAAE;SAChB;KACF;IACD,WAAW,EAAE;QACX,CAAC,mBAAO,CAAC,SAAS,CAAC,EAAE;YACnB,OAAO,EAAE,4CAA4C;YACrD,WAAW,EACT,gHAAgH;YAClH,MAAM,EAAE,4CAA4C;YACpD,MAAM,EAAE,4CAA4C;YACpD,WAAW,EAAE,EAAE;SAChB;KACF;CACF,CAAC"}
|
|
@@ -410,11 +410,7 @@ class Cables extends simple_exchange_with_restrictions_1.SimpleExchangeWithRestr
|
|
|
410
410
|
return result;
|
|
411
411
|
}
|
|
412
412
|
catch (e) {
|
|
413
|
-
this.logger.error(`
|
|
414
|
-
srcToken: srcToken.address || srcToken.symbol,
|
|
415
|
-
destToken: destToken.address || destToken.symbol,
|
|
416
|
-
side,
|
|
417
|
-
}, e);
|
|
413
|
+
this.logger.error(`Error_getPricesVolume ${srcToken.symbol ?? srcToken.address}-${destToken.symbol ?? destToken.address} on ${side}:`, e);
|
|
418
414
|
return null;
|
|
419
415
|
}
|
|
420
416
|
}
|