@paraswap/dex-lib 3.8.32-inception → 3.8.32-inception.3

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.
@@ -1,609 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "inputs": [
9
- {
10
- "internalType": "address",
11
- "name": "spender",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "uint256",
16
- "name": "allowance",
17
- "type": "uint256"
18
- },
19
- {
20
- "internalType": "uint256",
21
- "name": "needed",
22
- "type": "uint256"
23
- }
24
- ],
25
- "name": "ERC20InsufficientAllowance",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "address",
32
- "name": "sender",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "balance",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "needed",
43
- "type": "uint256"
44
- }
45
- ],
46
- "name": "ERC20InsufficientBalance",
47
- "type": "error"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "address",
53
- "name": "approver",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "ERC20InvalidApprover",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "receiver",
65
- "type": "address"
66
- }
67
- ],
68
- "name": "ERC20InvalidReceiver",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "address",
75
- "name": "sender",
76
- "type": "address"
77
- }
78
- ],
79
- "name": "ERC20InvalidSender",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "address",
86
- "name": "spender",
87
- "type": "address"
88
- }
89
- ],
90
- "name": "ERC20InvalidSpender",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "EnforcedPause",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [],
100
- "name": "ExpectedPause",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [],
105
- "name": "InvalidInitialization",
106
- "type": "error"
107
- },
108
- {
109
- "inputs": [],
110
- "name": "MathOverflowedMulDiv",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [],
115
- "name": "NotInitializing",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [],
120
- "name": "OnlyGovernanceAllowed",
121
- "type": "error"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "OnlyOperatorAllowed",
126
- "type": "error"
127
- },
128
- {
129
- "inputs": [],
130
- "name": "OnlyRestakingPoolAllowed",
131
- "type": "error"
132
- },
133
- {
134
- "anonymous": false,
135
- "inputs": [
136
- {
137
- "indexed": true,
138
- "internalType": "address",
139
- "name": "owner",
140
- "type": "address"
141
- },
142
- {
143
- "indexed": true,
144
- "internalType": "address",
145
- "name": "spender",
146
- "type": "address"
147
- },
148
- {
149
- "indexed": false,
150
- "internalType": "uint256",
151
- "name": "value",
152
- "type": "uint256"
153
- }
154
- ],
155
- "name": "Approval",
156
- "type": "event"
157
- },
158
- {
159
- "anonymous": false,
160
- "inputs": [
161
- {
162
- "indexed": false,
163
- "internalType": "uint64",
164
- "name": "version",
165
- "type": "uint64"
166
- }
167
- ],
168
- "name": "Initialized",
169
- "type": "event"
170
- },
171
- {
172
- "anonymous": false,
173
- "inputs": [
174
- {
175
- "indexed": false,
176
- "internalType": "string",
177
- "name": "newName",
178
- "type": "string"
179
- }
180
- ],
181
- "name": "NameChanged",
182
- "type": "event"
183
- },
184
- {
185
- "anonymous": false,
186
- "inputs": [
187
- {
188
- "indexed": false,
189
- "internalType": "address",
190
- "name": "account",
191
- "type": "address"
192
- }
193
- ],
194
- "name": "Paused",
195
- "type": "event"
196
- },
197
- {
198
- "anonymous": false,
199
- "inputs": [
200
- {
201
- "indexed": false,
202
- "internalType": "string",
203
- "name": "newSymbol",
204
- "type": "string"
205
- }
206
- ],
207
- "name": "SymbolChanged",
208
- "type": "event"
209
- },
210
- {
211
- "anonymous": false,
212
- "inputs": [
213
- {
214
- "indexed": true,
215
- "internalType": "address",
216
- "name": "from",
217
- "type": "address"
218
- },
219
- {
220
- "indexed": true,
221
- "internalType": "address",
222
- "name": "to",
223
- "type": "address"
224
- },
225
- {
226
- "indexed": false,
227
- "internalType": "uint256",
228
- "name": "value",
229
- "type": "uint256"
230
- }
231
- ],
232
- "name": "Transfer",
233
- "type": "event"
234
- },
235
- {
236
- "anonymous": false,
237
- "inputs": [
238
- {
239
- "indexed": false,
240
- "internalType": "address",
241
- "name": "account",
242
- "type": "address"
243
- }
244
- ],
245
- "name": "Unpaused",
246
- "type": "event"
247
- },
248
- {
249
- "inputs": [
250
- {
251
- "internalType": "address",
252
- "name": "owner",
253
- "type": "address"
254
- },
255
- {
256
- "internalType": "address",
257
- "name": "spender",
258
- "type": "address"
259
- }
260
- ],
261
- "name": "allowance",
262
- "outputs": [
263
- {
264
- "internalType": "uint256",
265
- "name": "",
266
- "type": "uint256"
267
- }
268
- ],
269
- "stateMutability": "view",
270
- "type": "function"
271
- },
272
- {
273
- "inputs": [
274
- {
275
- "internalType": "address",
276
- "name": "spender",
277
- "type": "address"
278
- },
279
- {
280
- "internalType": "uint256",
281
- "name": "value",
282
- "type": "uint256"
283
- }
284
- ],
285
- "name": "approve",
286
- "outputs": [
287
- {
288
- "internalType": "bool",
289
- "name": "",
290
- "type": "bool"
291
- }
292
- ],
293
- "stateMutability": "nonpayable",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [
298
- {
299
- "internalType": "address",
300
- "name": "account",
301
- "type": "address"
302
- }
303
- ],
304
- "name": "balanceOf",
305
- "outputs": [
306
- {
307
- "internalType": "uint256",
308
- "name": "",
309
- "type": "uint256"
310
- }
311
- ],
312
- "stateMutability": "view",
313
- "type": "function"
314
- },
315
- {
316
- "inputs": [
317
- {
318
- "internalType": "address",
319
- "name": "account",
320
- "type": "address"
321
- },
322
- {
323
- "internalType": "uint256",
324
- "name": "shares",
325
- "type": "uint256"
326
- }
327
- ],
328
- "name": "burn",
329
- "outputs": [],
330
- "stateMutability": "nonpayable",
331
- "type": "function"
332
- },
333
- {
334
- "inputs": [
335
- {
336
- "internalType": "string",
337
- "name": "newName",
338
- "type": "string"
339
- }
340
- ],
341
- "name": "changeName",
342
- "outputs": [],
343
- "stateMutability": "nonpayable",
344
- "type": "function"
345
- },
346
- {
347
- "inputs": [
348
- {
349
- "internalType": "string",
350
- "name": "newSymbol",
351
- "type": "string"
352
- }
353
- ],
354
- "name": "changeSymbol",
355
- "outputs": [],
356
- "stateMutability": "nonpayable",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [],
361
- "name": "config",
362
- "outputs": [
363
- {
364
- "internalType": "contract IProtocolConfig",
365
- "name": "",
366
- "type": "address"
367
- }
368
- ],
369
- "stateMutability": "view",
370
- "type": "function"
371
- },
372
- {
373
- "inputs": [
374
- {
375
- "internalType": "uint256",
376
- "name": "shares",
377
- "type": "uint256"
378
- }
379
- ],
380
- "name": "convertToAmount",
381
- "outputs": [
382
- {
383
- "internalType": "uint256",
384
- "name": "",
385
- "type": "uint256"
386
- }
387
- ],
388
- "stateMutability": "view",
389
- "type": "function"
390
- },
391
- {
392
- "inputs": [
393
- {
394
- "internalType": "uint256",
395
- "name": "amount",
396
- "type": "uint256"
397
- }
398
- ],
399
- "name": "convertToShares",
400
- "outputs": [
401
- {
402
- "internalType": "uint256",
403
- "name": "",
404
- "type": "uint256"
405
- }
406
- ],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [],
412
- "name": "decimals",
413
- "outputs": [
414
- {
415
- "internalType": "uint8",
416
- "name": "",
417
- "type": "uint8"
418
- }
419
- ],
420
- "stateMutability": "view",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "internalType": "contract IProtocolConfig",
427
- "name": "config",
428
- "type": "address"
429
- },
430
- {
431
- "internalType": "string",
432
- "name": "name",
433
- "type": "string"
434
- },
435
- {
436
- "internalType": "string",
437
- "name": "symbol",
438
- "type": "string"
439
- }
440
- ],
441
- "name": "initialize",
442
- "outputs": [],
443
- "stateMutability": "nonpayable",
444
- "type": "function"
445
- },
446
- {
447
- "inputs": [
448
- {
449
- "internalType": "address",
450
- "name": "account",
451
- "type": "address"
452
- },
453
- {
454
- "internalType": "uint256",
455
- "name": "shares",
456
- "type": "uint256"
457
- }
458
- ],
459
- "name": "mint",
460
- "outputs": [],
461
- "stateMutability": "nonpayable",
462
- "type": "function"
463
- },
464
- {
465
- "inputs": [],
466
- "name": "name",
467
- "outputs": [
468
- {
469
- "internalType": "string",
470
- "name": "",
471
- "type": "string"
472
- }
473
- ],
474
- "stateMutability": "view",
475
- "type": "function"
476
- },
477
- {
478
- "inputs": [],
479
- "name": "pause",
480
- "outputs": [],
481
- "stateMutability": "nonpayable",
482
- "type": "function"
483
- },
484
- {
485
- "inputs": [],
486
- "name": "paused",
487
- "outputs": [
488
- {
489
- "internalType": "bool",
490
- "name": "",
491
- "type": "bool"
492
- }
493
- ],
494
- "stateMutability": "view",
495
- "type": "function"
496
- },
497
- {
498
- "inputs": [],
499
- "name": "ratio",
500
- "outputs": [
501
- {
502
- "internalType": "uint256",
503
- "name": "",
504
- "type": "uint256"
505
- }
506
- ],
507
- "stateMutability": "view",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [],
512
- "name": "symbol",
513
- "outputs": [
514
- {
515
- "internalType": "string",
516
- "name": "",
517
- "type": "string"
518
- }
519
- ],
520
- "stateMutability": "view",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [],
525
- "name": "totalAssets",
526
- "outputs": [
527
- {
528
- "internalType": "uint256",
529
- "name": "totalManagedEth",
530
- "type": "uint256"
531
- }
532
- ],
533
- "stateMutability": "view",
534
- "type": "function"
535
- },
536
- {
537
- "inputs": [],
538
- "name": "totalSupply",
539
- "outputs": [
540
- {
541
- "internalType": "uint256",
542
- "name": "",
543
- "type": "uint256"
544
- }
545
- ],
546
- "stateMutability": "view",
547
- "type": "function"
548
- },
549
- {
550
- "inputs": [
551
- {
552
- "internalType": "address",
553
- "name": "to",
554
- "type": "address"
555
- },
556
- {
557
- "internalType": "uint256",
558
- "name": "value",
559
- "type": "uint256"
560
- }
561
- ],
562
- "name": "transfer",
563
- "outputs": [
564
- {
565
- "internalType": "bool",
566
- "name": "",
567
- "type": "bool"
568
- }
569
- ],
570
- "stateMutability": "nonpayable",
571
- "type": "function"
572
- },
573
- {
574
- "inputs": [
575
- {
576
- "internalType": "address",
577
- "name": "from",
578
- "type": "address"
579
- },
580
- {
581
- "internalType": "address",
582
- "name": "to",
583
- "type": "address"
584
- },
585
- {
586
- "internalType": "uint256",
587
- "name": "value",
588
- "type": "uint256"
589
- }
590
- ],
591
- "name": "transferFrom",
592
- "outputs": [
593
- {
594
- "internalType": "bool",
595
- "name": "",
596
- "type": "bool"
597
- }
598
- ],
599
- "stateMutability": "nonpayable",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [],
604
- "name": "unpause",
605
- "outputs": [],
606
- "stateMutability": "nonpayable",
607
- "type": "function"
608
- }
609
- ]