@gearbox-protocol/sdk 3.0.0-next.265 → 3.0.0-next.267

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.
Files changed (48) hide show
  1. package/contracts/index.sol +1 -0
  2. package/lib/apy/index.d.ts +1 -6
  3. package/lib/apy/index.js +0 -20
  4. package/lib/core/creditAccount.d.ts +1 -1
  5. package/lib/core/endpoint.d.ts +1 -0
  6. package/lib/core/endpoint.js +4 -1
  7. package/lib/pathfinder/pathfinder.d.ts +13 -1
  8. package/lib/pathfinder/pathfinder.js +74 -11
  9. package/lib/types/IPToken.d.ts +21 -0
  10. package/lib/types/{IPendleSY.js → IPToken.js} +11 -4
  11. package/lib/types/IPendleMarket.d.ts +3 -27
  12. package/lib/types/IPendleMarket.js +3 -19
  13. package/lib/types/IPendleRouter.d.ts +536 -0
  14. package/lib/types/IPendleRouter.js +370 -0
  15. package/lib/types/IPendleRouterAdapter.d.ts +831 -0
  16. package/lib/types/IPendleRouterAdapter.js +572 -0
  17. package/lib/types/IPendleRouterAdapterEvents.d.ts +26 -0
  18. package/lib/types/IPendleRouterAdapterEvents.js +39 -0
  19. package/lib/types/IPendleRouterAdapterExceptions.d.ts +9 -0
  20. package/lib/types/IPendleRouterAdapterExceptions.js +10 -0
  21. package/lib/types/{IPendleYT.d.ts → IRouterComponent.d.ts} +8 -8
  22. package/lib/types/{IPendleYT.js → IRouterComponent.js} +8 -8
  23. package/lib/types/IRouterStatic.d.ts +128 -0
  24. package/lib/types/IRouterStatic.js +68 -0
  25. package/lib/types/ISwapper.d.ts +100 -0
  26. package/lib/types/ISwapper.js +75 -0
  27. package/lib/types/IYToken.d.ts +21 -0
  28. package/lib/types/IYToken.js +22 -0
  29. package/lib/types/PendleSwapper.d.ts +182 -0
  30. package/lib/types/PendleSwapper.js +130 -0
  31. package/lib/types/RouterComponentConfigurator.d.ts +61 -0
  32. package/lib/types/RouterComponentConfigurator.js +48 -0
  33. package/lib/types/index.d.ts +11 -2
  34. package/lib/types/index.js +11 -2
  35. package/package.json +5 -5
  36. package/lib/apy/curveAPY.d.ts +0 -61
  37. package/lib/apy/curveAPY.js +0 -143
  38. package/lib/apy/defiLamaAPY.d.ts +0 -3
  39. package/lib/apy/defiLamaAPY.js +0 -85
  40. package/lib/apy/lidoAPY.d.ts +0 -4
  41. package/lib/apy/lidoAPY.js +0 -19
  42. package/lib/apy/pendleAPY.d.ts +0 -5
  43. package/lib/apy/pendleAPY.js +0 -26
  44. package/lib/apy/skyAPY.d.ts +0 -5
  45. package/lib/apy/skyAPY.js +0 -28
  46. package/lib/apy/yearnAPY.d.ts +0 -3
  47. package/lib/apy/yearnAPY.js +0 -38
  48. package/lib/types/IPendleSY.d.ts +0 -11
@@ -0,0 +1,572 @@
1
+ "use strict";
2
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
+ // IPendleRouterAdapter
4
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.iPendleRouterAdapterAbi = void 0;
7
+ exports.iPendleRouterAdapterAbi = [
8
+ {
9
+ type: "function",
10
+ inputs: [],
11
+ name: "_gearboxAdapterType",
12
+ outputs: [{ name: "", internalType: "enum AdapterType", type: "uint8" }],
13
+ stateMutability: "view",
14
+ },
15
+ {
16
+ type: "function",
17
+ inputs: [],
18
+ name: "_gearboxAdapterVersion",
19
+ outputs: [{ name: "", internalType: "uint16", type: "uint16" }],
20
+ stateMutability: "view",
21
+ },
22
+ {
23
+ type: "function",
24
+ inputs: [],
25
+ name: "addressProvider",
26
+ outputs: [{ name: "", internalType: "address", type: "address" }],
27
+ stateMutability: "view",
28
+ },
29
+ {
30
+ type: "function",
31
+ inputs: [],
32
+ name: "creditManager",
33
+ outputs: [{ name: "", internalType: "address", type: "address" }],
34
+ stateMutability: "view",
35
+ },
36
+ {
37
+ type: "function",
38
+ inputs: [],
39
+ name: "getAllowedPairs",
40
+ outputs: [
41
+ {
42
+ name: "pairs",
43
+ internalType: "struct PendlePairStatus[]",
44
+ type: "tuple[]",
45
+ components: [
46
+ { name: "market", internalType: "address", type: "address" },
47
+ { name: "inputToken", internalType: "address", type: "address" },
48
+ { name: "pendleToken", internalType: "address", type: "address" },
49
+ { name: "status", internalType: "enum PendleStatus", type: "uint8" },
50
+ ],
51
+ },
52
+ ],
53
+ stateMutability: "view",
54
+ },
55
+ {
56
+ type: "function",
57
+ inputs: [
58
+ { name: "market", internalType: "address", type: "address" },
59
+ { name: "inputToken", internalType: "address", type: "address" },
60
+ { name: "pendleToken", internalType: "address", type: "address" },
61
+ ],
62
+ name: "isPairAllowed",
63
+ outputs: [
64
+ { name: "status", internalType: "enum PendleStatus", type: "uint8" },
65
+ ],
66
+ stateMutability: "view",
67
+ },
68
+ {
69
+ type: "function",
70
+ inputs: [{ name: "pt", internalType: "address", type: "address" }],
71
+ name: "ptToMarket",
72
+ outputs: [{ name: "market", internalType: "address", type: "address" }],
73
+ stateMutability: "view",
74
+ },
75
+ {
76
+ type: "function",
77
+ inputs: [
78
+ { name: "yt", internalType: "address", type: "address" },
79
+ { name: "leftoverPt", internalType: "uint256", type: "uint256" },
80
+ {
81
+ name: "output",
82
+ internalType: "struct TokenDiffOutput",
83
+ type: "tuple",
84
+ components: [
85
+ { name: "tokenOut", internalType: "address", type: "address" },
86
+ { name: "minRateRAY", internalType: "uint256", type: "uint256" },
87
+ ],
88
+ },
89
+ ],
90
+ name: "redeemDiffPyToToken",
91
+ outputs: [
92
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
93
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
94
+ ],
95
+ stateMutability: "nonpayable",
96
+ },
97
+ {
98
+ type: "function",
99
+ inputs: [
100
+ { name: "receiver", internalType: "address", type: "address" },
101
+ { name: "yt", internalType: "address", type: "address" },
102
+ { name: "netPyIn", internalType: "uint256", type: "uint256" },
103
+ {
104
+ name: "output",
105
+ internalType: "struct TokenOutput",
106
+ type: "tuple",
107
+ components: [
108
+ { name: "tokenOut", internalType: "address", type: "address" },
109
+ { name: "minTokenOut", internalType: "uint256", type: "uint256" },
110
+ { name: "tokenRedeemSy", internalType: "address", type: "address" },
111
+ { name: "pendleSwap", internalType: "address", type: "address" },
112
+ {
113
+ name: "swapData",
114
+ internalType: "struct SwapData",
115
+ type: "tuple",
116
+ components: [
117
+ {
118
+ name: "swapType",
119
+ internalType: "enum SwapType",
120
+ type: "uint8",
121
+ },
122
+ { name: "extRouter", internalType: "address", type: "address" },
123
+ { name: "extCalldata", internalType: "bytes", type: "bytes" },
124
+ { name: "needScale", internalType: "bool", type: "bool" },
125
+ ],
126
+ },
127
+ ],
128
+ },
129
+ ],
130
+ name: "redeemPyToToken",
131
+ outputs: [
132
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
133
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
134
+ ],
135
+ stateMutability: "nonpayable",
136
+ },
137
+ {
138
+ type: "function",
139
+ inputs: [
140
+ {
141
+ name: "pairs",
142
+ internalType: "struct PendlePairStatus[]",
143
+ type: "tuple[]",
144
+ components: [
145
+ { name: "market", internalType: "address", type: "address" },
146
+ { name: "inputToken", internalType: "address", type: "address" },
147
+ { name: "pendleToken", internalType: "address", type: "address" },
148
+ { name: "status", internalType: "enum PendleStatus", type: "uint8" },
149
+ ],
150
+ },
151
+ ],
152
+ name: "setPairStatusBatch",
153
+ outputs: [],
154
+ stateMutability: "nonpayable",
155
+ },
156
+ {
157
+ type: "function",
158
+ inputs: [
159
+ { name: "market", internalType: "address", type: "address" },
160
+ { name: "leftoverPt", internalType: "uint256", type: "uint256" },
161
+ {
162
+ name: "diffOutput",
163
+ internalType: "struct TokenDiffOutput",
164
+ type: "tuple",
165
+ components: [
166
+ { name: "tokenOut", internalType: "address", type: "address" },
167
+ { name: "minRateRAY", internalType: "uint256", type: "uint256" },
168
+ ],
169
+ },
170
+ ],
171
+ name: "swapDiffPtForToken",
172
+ outputs: [
173
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
174
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
175
+ ],
176
+ stateMutability: "nonpayable",
177
+ },
178
+ {
179
+ type: "function",
180
+ inputs: [
181
+ { name: "market", internalType: "address", type: "address" },
182
+ { name: "minRateRAY", internalType: "uint256", type: "uint256" },
183
+ {
184
+ name: "guessPtOut",
185
+ internalType: "struct ApproxParams",
186
+ type: "tuple",
187
+ components: [
188
+ { name: "guessMin", internalType: "uint256", type: "uint256" },
189
+ { name: "guessMax", internalType: "uint256", type: "uint256" },
190
+ { name: "guessOffchain", internalType: "uint256", type: "uint256" },
191
+ { name: "maxIteration", internalType: "uint256", type: "uint256" },
192
+ { name: "eps", internalType: "uint256", type: "uint256" },
193
+ ],
194
+ },
195
+ {
196
+ name: "diffInput",
197
+ internalType: "struct TokenDiffInput",
198
+ type: "tuple",
199
+ components: [
200
+ { name: "tokenIn", internalType: "address", type: "address" },
201
+ { name: "leftoverTokenIn", internalType: "uint256", type: "uint256" },
202
+ ],
203
+ },
204
+ ],
205
+ name: "swapDiffTokenForPt",
206
+ outputs: [
207
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
208
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
209
+ ],
210
+ stateMutability: "nonpayable",
211
+ },
212
+ {
213
+ type: "function",
214
+ inputs: [
215
+ { name: "receiver", internalType: "address", type: "address" },
216
+ { name: "market", internalType: "address", type: "address" },
217
+ { name: "exactPtIn", internalType: "uint256", type: "uint256" },
218
+ {
219
+ name: "output",
220
+ internalType: "struct TokenOutput",
221
+ type: "tuple",
222
+ components: [
223
+ { name: "tokenOut", internalType: "address", type: "address" },
224
+ { name: "minTokenOut", internalType: "uint256", type: "uint256" },
225
+ { name: "tokenRedeemSy", internalType: "address", type: "address" },
226
+ { name: "pendleSwap", internalType: "address", type: "address" },
227
+ {
228
+ name: "swapData",
229
+ internalType: "struct SwapData",
230
+ type: "tuple",
231
+ components: [
232
+ {
233
+ name: "swapType",
234
+ internalType: "enum SwapType",
235
+ type: "uint8",
236
+ },
237
+ { name: "extRouter", internalType: "address", type: "address" },
238
+ { name: "extCalldata", internalType: "bytes", type: "bytes" },
239
+ { name: "needScale", internalType: "bool", type: "bool" },
240
+ ],
241
+ },
242
+ ],
243
+ },
244
+ {
245
+ name: "limit",
246
+ internalType: "struct LimitOrderData",
247
+ type: "tuple",
248
+ components: [
249
+ { name: "limitRouter", internalType: "address", type: "address" },
250
+ { name: "epsSkipMarket", internalType: "uint256", type: "uint256" },
251
+ {
252
+ name: "normalFills",
253
+ internalType: "struct FillOrderParams[]",
254
+ type: "tuple[]",
255
+ components: [
256
+ {
257
+ name: "order",
258
+ internalType: "struct Order",
259
+ type: "tuple",
260
+ components: [
261
+ { name: "salt", internalType: "uint256", type: "uint256" },
262
+ { name: "expiry", internalType: "uint256", type: "uint256" },
263
+ { name: "nonce", internalType: "uint256", type: "uint256" },
264
+ {
265
+ name: "orderType",
266
+ internalType: "enum OrderType",
267
+ type: "uint8",
268
+ },
269
+ { name: "token", internalType: "address", type: "address" },
270
+ { name: "YT", internalType: "address", type: "address" },
271
+ { name: "maker", internalType: "address", type: "address" },
272
+ {
273
+ name: "receiver",
274
+ internalType: "address",
275
+ type: "address",
276
+ },
277
+ {
278
+ name: "makingAmount",
279
+ internalType: "uint256",
280
+ type: "uint256",
281
+ },
282
+ {
283
+ name: "lnImpliedRate",
284
+ internalType: "uint256",
285
+ type: "uint256",
286
+ },
287
+ {
288
+ name: "failSafeRate",
289
+ internalType: "uint256",
290
+ type: "uint256",
291
+ },
292
+ { name: "permit", internalType: "bytes", type: "bytes" },
293
+ ],
294
+ },
295
+ { name: "signature", internalType: "bytes", type: "bytes" },
296
+ {
297
+ name: "makingAmount",
298
+ internalType: "uint256",
299
+ type: "uint256",
300
+ },
301
+ ],
302
+ },
303
+ {
304
+ name: "flashFills",
305
+ internalType: "struct FillOrderParams[]",
306
+ type: "tuple[]",
307
+ components: [
308
+ {
309
+ name: "order",
310
+ internalType: "struct Order",
311
+ type: "tuple",
312
+ components: [
313
+ { name: "salt", internalType: "uint256", type: "uint256" },
314
+ { name: "expiry", internalType: "uint256", type: "uint256" },
315
+ { name: "nonce", internalType: "uint256", type: "uint256" },
316
+ {
317
+ name: "orderType",
318
+ internalType: "enum OrderType",
319
+ type: "uint8",
320
+ },
321
+ { name: "token", internalType: "address", type: "address" },
322
+ { name: "YT", internalType: "address", type: "address" },
323
+ { name: "maker", internalType: "address", type: "address" },
324
+ {
325
+ name: "receiver",
326
+ internalType: "address",
327
+ type: "address",
328
+ },
329
+ {
330
+ name: "makingAmount",
331
+ internalType: "uint256",
332
+ type: "uint256",
333
+ },
334
+ {
335
+ name: "lnImpliedRate",
336
+ internalType: "uint256",
337
+ type: "uint256",
338
+ },
339
+ {
340
+ name: "failSafeRate",
341
+ internalType: "uint256",
342
+ type: "uint256",
343
+ },
344
+ { name: "permit", internalType: "bytes", type: "bytes" },
345
+ ],
346
+ },
347
+ { name: "signature", internalType: "bytes", type: "bytes" },
348
+ {
349
+ name: "makingAmount",
350
+ internalType: "uint256",
351
+ type: "uint256",
352
+ },
353
+ ],
354
+ },
355
+ { name: "optData", internalType: "bytes", type: "bytes" },
356
+ ],
357
+ },
358
+ ],
359
+ name: "swapExactPtForToken",
360
+ outputs: [
361
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
362
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
363
+ ],
364
+ stateMutability: "nonpayable",
365
+ },
366
+ {
367
+ type: "function",
368
+ inputs: [
369
+ { name: "receiver", internalType: "address", type: "address" },
370
+ { name: "market", internalType: "address", type: "address" },
371
+ { name: "minPtOut", internalType: "uint256", type: "uint256" },
372
+ {
373
+ name: "guessPtOut",
374
+ internalType: "struct ApproxParams",
375
+ type: "tuple",
376
+ components: [
377
+ { name: "guessMin", internalType: "uint256", type: "uint256" },
378
+ { name: "guessMax", internalType: "uint256", type: "uint256" },
379
+ { name: "guessOffchain", internalType: "uint256", type: "uint256" },
380
+ { name: "maxIteration", internalType: "uint256", type: "uint256" },
381
+ { name: "eps", internalType: "uint256", type: "uint256" },
382
+ ],
383
+ },
384
+ {
385
+ name: "input",
386
+ internalType: "struct TokenInput",
387
+ type: "tuple",
388
+ components: [
389
+ { name: "tokenIn", internalType: "address", type: "address" },
390
+ { name: "netTokenIn", internalType: "uint256", type: "uint256" },
391
+ { name: "tokenMintSy", internalType: "address", type: "address" },
392
+ { name: "pendleSwap", internalType: "address", type: "address" },
393
+ {
394
+ name: "swapData",
395
+ internalType: "struct SwapData",
396
+ type: "tuple",
397
+ components: [
398
+ {
399
+ name: "swapType",
400
+ internalType: "enum SwapType",
401
+ type: "uint8",
402
+ },
403
+ { name: "extRouter", internalType: "address", type: "address" },
404
+ { name: "extCalldata", internalType: "bytes", type: "bytes" },
405
+ { name: "needScale", internalType: "bool", type: "bool" },
406
+ ],
407
+ },
408
+ ],
409
+ },
410
+ {
411
+ name: "limit",
412
+ internalType: "struct LimitOrderData",
413
+ type: "tuple",
414
+ components: [
415
+ { name: "limitRouter", internalType: "address", type: "address" },
416
+ { name: "epsSkipMarket", internalType: "uint256", type: "uint256" },
417
+ {
418
+ name: "normalFills",
419
+ internalType: "struct FillOrderParams[]",
420
+ type: "tuple[]",
421
+ components: [
422
+ {
423
+ name: "order",
424
+ internalType: "struct Order",
425
+ type: "tuple",
426
+ components: [
427
+ { name: "salt", internalType: "uint256", type: "uint256" },
428
+ { name: "expiry", internalType: "uint256", type: "uint256" },
429
+ { name: "nonce", internalType: "uint256", type: "uint256" },
430
+ {
431
+ name: "orderType",
432
+ internalType: "enum OrderType",
433
+ type: "uint8",
434
+ },
435
+ { name: "token", internalType: "address", type: "address" },
436
+ { name: "YT", internalType: "address", type: "address" },
437
+ { name: "maker", internalType: "address", type: "address" },
438
+ {
439
+ name: "receiver",
440
+ internalType: "address",
441
+ type: "address",
442
+ },
443
+ {
444
+ name: "makingAmount",
445
+ internalType: "uint256",
446
+ type: "uint256",
447
+ },
448
+ {
449
+ name: "lnImpliedRate",
450
+ internalType: "uint256",
451
+ type: "uint256",
452
+ },
453
+ {
454
+ name: "failSafeRate",
455
+ internalType: "uint256",
456
+ type: "uint256",
457
+ },
458
+ { name: "permit", internalType: "bytes", type: "bytes" },
459
+ ],
460
+ },
461
+ { name: "signature", internalType: "bytes", type: "bytes" },
462
+ {
463
+ name: "makingAmount",
464
+ internalType: "uint256",
465
+ type: "uint256",
466
+ },
467
+ ],
468
+ },
469
+ {
470
+ name: "flashFills",
471
+ internalType: "struct FillOrderParams[]",
472
+ type: "tuple[]",
473
+ components: [
474
+ {
475
+ name: "order",
476
+ internalType: "struct Order",
477
+ type: "tuple",
478
+ components: [
479
+ { name: "salt", internalType: "uint256", type: "uint256" },
480
+ { name: "expiry", internalType: "uint256", type: "uint256" },
481
+ { name: "nonce", internalType: "uint256", type: "uint256" },
482
+ {
483
+ name: "orderType",
484
+ internalType: "enum OrderType",
485
+ type: "uint8",
486
+ },
487
+ { name: "token", internalType: "address", type: "address" },
488
+ { name: "YT", internalType: "address", type: "address" },
489
+ { name: "maker", internalType: "address", type: "address" },
490
+ {
491
+ name: "receiver",
492
+ internalType: "address",
493
+ type: "address",
494
+ },
495
+ {
496
+ name: "makingAmount",
497
+ internalType: "uint256",
498
+ type: "uint256",
499
+ },
500
+ {
501
+ name: "lnImpliedRate",
502
+ internalType: "uint256",
503
+ type: "uint256",
504
+ },
505
+ {
506
+ name: "failSafeRate",
507
+ internalType: "uint256",
508
+ type: "uint256",
509
+ },
510
+ { name: "permit", internalType: "bytes", type: "bytes" },
511
+ ],
512
+ },
513
+ { name: "signature", internalType: "bytes", type: "bytes" },
514
+ {
515
+ name: "makingAmount",
516
+ internalType: "uint256",
517
+ type: "uint256",
518
+ },
519
+ ],
520
+ },
521
+ { name: "optData", internalType: "bytes", type: "bytes" },
522
+ ],
523
+ },
524
+ ],
525
+ name: "swapExactTokenForPt",
526
+ outputs: [
527
+ { name: "tokensToEnable", internalType: "uint256", type: "uint256" },
528
+ { name: "tokensToDisable", internalType: "uint256", type: "uint256" },
529
+ ],
530
+ stateMutability: "nonpayable",
531
+ },
532
+ {
533
+ type: "function",
534
+ inputs: [],
535
+ name: "targetContract",
536
+ outputs: [{ name: "", internalType: "address", type: "address" }],
537
+ stateMutability: "view",
538
+ },
539
+ {
540
+ type: "event",
541
+ anonymous: false,
542
+ inputs: [
543
+ {
544
+ name: "market",
545
+ internalType: "address",
546
+ type: "address",
547
+ indexed: true,
548
+ },
549
+ {
550
+ name: "inputToken",
551
+ internalType: "address",
552
+ type: "address",
553
+ indexed: true,
554
+ },
555
+ {
556
+ name: "pendleToken",
557
+ internalType: "address",
558
+ type: "address",
559
+ indexed: true,
560
+ },
561
+ {
562
+ name: "allowed",
563
+ internalType: "enum PendleStatus",
564
+ type: "uint8",
565
+ indexed: false,
566
+ },
567
+ ],
568
+ name: "SetPairStatus",
569
+ },
570
+ { type: "error", inputs: [], name: "PairNotAllowedException" },
571
+ { type: "error", inputs: [], name: "RedemptionNotAllowedException" },
572
+ ];
@@ -0,0 +1,26 @@
1
+ export declare const iPendleRouterAdapterEventsAbi: readonly [{
2
+ readonly type: "event";
3
+ readonly anonymous: false;
4
+ readonly inputs: readonly [{
5
+ readonly name: "market";
6
+ readonly internalType: "address";
7
+ readonly type: "address";
8
+ readonly indexed: true;
9
+ }, {
10
+ readonly name: "inputToken";
11
+ readonly internalType: "address";
12
+ readonly type: "address";
13
+ readonly indexed: true;
14
+ }, {
15
+ readonly name: "pendleToken";
16
+ readonly internalType: "address";
17
+ readonly type: "address";
18
+ readonly indexed: true;
19
+ }, {
20
+ readonly name: "allowed";
21
+ readonly internalType: "enum PendleStatus";
22
+ readonly type: "uint8";
23
+ readonly indexed: false;
24
+ }];
25
+ readonly name: "SetPairStatus";
26
+ }];
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
+ // IPendleRouterAdapterEvents
4
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.iPendleRouterAdapterEventsAbi = void 0;
7
+ exports.iPendleRouterAdapterEventsAbi = [
8
+ {
9
+ type: "event",
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ name: "market",
14
+ internalType: "address",
15
+ type: "address",
16
+ indexed: true,
17
+ },
18
+ {
19
+ name: "inputToken",
20
+ internalType: "address",
21
+ type: "address",
22
+ indexed: true,
23
+ },
24
+ {
25
+ name: "pendleToken",
26
+ internalType: "address",
27
+ type: "address",
28
+ indexed: true,
29
+ },
30
+ {
31
+ name: "allowed",
32
+ internalType: "enum PendleStatus",
33
+ type: "uint8",
34
+ indexed: false,
35
+ },
36
+ ],
37
+ name: "SetPairStatus",
38
+ },
39
+ ];
@@ -0,0 +1,9 @@
1
+ export declare const iPendleRouterAdapterExceptionsAbi: readonly [{
2
+ readonly type: "error";
3
+ readonly inputs: readonly [];
4
+ readonly name: "PairNotAllowedException";
5
+ }, {
6
+ readonly type: "error";
7
+ readonly inputs: readonly [];
8
+ readonly name: "RedemptionNotAllowedException";
9
+ }];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
+ // IPendleRouterAdapterExceptions
4
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.iPendleRouterAdapterExceptionsAbi = void 0;
7
+ exports.iPendleRouterAdapterExceptionsAbi = [
8
+ { type: "error", inputs: [], name: "PairNotAllowedException" },
9
+ { type: "error", inputs: [], name: "RedemptionNotAllowedException" },
10
+ ];