@defisaver/sdk 1.0.16 → 1.0.17
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/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.d.ts +20 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.js +39 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.d.ts +17 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.js +24 -0
- package/esm/src/actions/bprotocol/index.d.ts +2 -0
- package/esm/src/actions/bprotocol/index.js +2 -0
- package/esm/src/actions/checkers/LiquityRatioCheckAction.d.ts +14 -0
- package/esm/src/actions/checkers/LiquityRatioCheckAction.js +20 -0
- package/esm/src/actions/checkers/index.d.ts +1 -0
- package/esm/src/actions/checkers/index.js +1 -0
- package/esm/src/actions/index.d.ts +2 -1
- package/esm/src/actions/index.js +2 -1
- package/esm/src/actions/liquity/LiquityAdjustAction.js +2 -1
- package/esm/src/actions/maker/MakerDsrDepositAction.d.ts +18 -0
- package/esm/src/actions/maker/MakerDsrDepositAction.js +31 -0
- package/esm/src/actions/maker/MakerDsrWithdrawAction.d.ts +15 -0
- package/esm/src/actions/maker/MakerDsrWithdrawAction.js +30 -0
- package/esm/src/actions/maker/index.d.ts +2 -0
- package/esm/src/actions/maker/index.js +2 -0
- package/esm/src/addresses.d.ts +18 -0
- package/esm/src/addresses.js +9 -2
- package/esm/src/index.d.ts +72 -0
- package/esm/src/utils/convex-utils.d.ts +10 -0
- package/esm/src/utils/convexPoolInfo.json +18 -0
- package/esm/src/utils/curvePoolInfo.json +96 -0
- package/esm/src/utils/index.d.ts +2 -1
- package/esm/src/utils/index.js +2 -1
- package/package-lock.json +21474 -0
- package/package.json +1 -1
- package/src/actions/bprotocol/BprotocolLiquitySPDepositAction.ts +32 -0
- package/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.ts +27 -0
- package/src/actions/bprotocol/index.ts +2 -0
- package/src/actions/checkers/LiquityRatioCheckAction.ts +23 -0
- package/src/actions/checkers/index.ts +1 -0
- package/src/actions/index.ts +2 -0
- package/src/actions/liquity/LiquityAdjustAction.ts +2 -1
- package/src/actions/maker/MakerDsrDepositAction.ts +23 -0
- package/src/actions/maker/MakerDsrWithdrawAction.ts +22 -0
- package/src/actions/maker/index.ts +2 -0
- package/src/addresses.ts +8 -0
- package/umd/index.js +616 -399
package/esm/src/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ declare const actionAddressesAllChains: {
|
|
|
35
35
|
McdSupply: string;
|
|
36
36
|
McdWithdraw: string;
|
|
37
37
|
McdClaim: string;
|
|
38
|
+
McdDsrDeposit: string;
|
|
39
|
+
McdDsrWithdraw: string;
|
|
38
40
|
ReflexerSupply: string;
|
|
39
41
|
ReflexerWithdraw: string;
|
|
40
42
|
ReflexerPayback: string;
|
|
@@ -100,6 +102,9 @@ declare const actionAddressesAllChains: {
|
|
|
100
102
|
LiquityEthGainToTrove: string;
|
|
101
103
|
LiquityClaim: string;
|
|
102
104
|
LiquityRedeem: string;
|
|
105
|
+
LiquityAdjust: string;
|
|
106
|
+
BprotocolLiquitySPDeposit: string;
|
|
107
|
+
BprotocolLiquitySPWithdraw: string;
|
|
103
108
|
LidoStake: string;
|
|
104
109
|
LidoWrap: string;
|
|
105
110
|
LidoUnwrap: string;
|
|
@@ -126,6 +131,7 @@ declare const actionAddressesAllChains: {
|
|
|
126
131
|
TrailingStopTrigger: string;
|
|
127
132
|
CBRebondTrigger: string;
|
|
128
133
|
CBUpdateRebondSub: string;
|
|
134
|
+
LiquityRatioCheck: string;
|
|
129
135
|
ConvexDeposit: string;
|
|
130
136
|
ConvexWithdraw: string;
|
|
131
137
|
ConvexClaim: string;
|
|
@@ -190,6 +196,8 @@ declare const actionAddressesAllChains: {
|
|
|
190
196
|
McdSupply?: undefined;
|
|
191
197
|
McdWithdraw?: undefined;
|
|
192
198
|
McdClaim?: undefined;
|
|
199
|
+
McdDsrDeposit?: undefined;
|
|
200
|
+
McdDsrWithdraw?: undefined;
|
|
193
201
|
ReflexerSupply?: undefined;
|
|
194
202
|
ReflexerWithdraw?: undefined;
|
|
195
203
|
ReflexerPayback?: undefined;
|
|
@@ -237,6 +245,9 @@ declare const actionAddressesAllChains: {
|
|
|
237
245
|
LiquityEthGainToTrove?: undefined;
|
|
238
246
|
LiquityClaim?: undefined;
|
|
239
247
|
LiquityRedeem?: undefined;
|
|
248
|
+
LiquityAdjust?: undefined;
|
|
249
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
250
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
240
251
|
LidoStake?: undefined;
|
|
241
252
|
LidoWrap?: undefined;
|
|
242
253
|
LidoUnwrap?: undefined;
|
|
@@ -263,6 +274,7 @@ declare const actionAddressesAllChains: {
|
|
|
263
274
|
TrailingStopTrigger?: undefined;
|
|
264
275
|
CBRebondTrigger?: undefined;
|
|
265
276
|
CBUpdateRebondSub?: undefined;
|
|
277
|
+
LiquityRatioCheck?: undefined;
|
|
266
278
|
ConvexDeposit?: undefined;
|
|
267
279
|
ConvexWithdraw?: undefined;
|
|
268
280
|
ConvexClaim?: undefined;
|
|
@@ -322,6 +334,8 @@ declare const actionAddressesAllChains: {
|
|
|
322
334
|
McdSupply?: undefined;
|
|
323
335
|
McdWithdraw?: undefined;
|
|
324
336
|
McdClaim?: undefined;
|
|
337
|
+
McdDsrDeposit?: undefined;
|
|
338
|
+
McdDsrWithdraw?: undefined;
|
|
325
339
|
ReflexerSupply?: undefined;
|
|
326
340
|
ReflexerWithdraw?: undefined;
|
|
327
341
|
ReflexerPayback?: undefined;
|
|
@@ -370,6 +384,9 @@ declare const actionAddressesAllChains: {
|
|
|
370
384
|
LiquityEthGainToTrove?: undefined;
|
|
371
385
|
LiquityClaim?: undefined;
|
|
372
386
|
LiquityRedeem?: undefined;
|
|
387
|
+
LiquityAdjust?: undefined;
|
|
388
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
389
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
373
390
|
LidoStake?: undefined;
|
|
374
391
|
LidoWrap?: undefined;
|
|
375
392
|
LidoUnwrap?: undefined;
|
|
@@ -396,6 +413,7 @@ declare const actionAddressesAllChains: {
|
|
|
396
413
|
TrailingStopTrigger?: undefined;
|
|
397
414
|
CBRebondTrigger?: undefined;
|
|
398
415
|
CBUpdateRebondSub?: undefined;
|
|
416
|
+
LiquityRatioCheck?: undefined;
|
|
399
417
|
ConvexDeposit?: undefined;
|
|
400
418
|
ConvexWithdraw?: undefined;
|
|
401
419
|
ConvexClaim?: undefined;
|
|
@@ -439,6 +457,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
439
457
|
McdSupply: string;
|
|
440
458
|
McdWithdraw: string;
|
|
441
459
|
McdClaim: string;
|
|
460
|
+
McdDsrDeposit: string;
|
|
461
|
+
McdDsrWithdraw: string;
|
|
442
462
|
ReflexerSupply: string;
|
|
443
463
|
ReflexerWithdraw: string;
|
|
444
464
|
ReflexerPayback: string;
|
|
@@ -504,6 +524,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
504
524
|
LiquityEthGainToTrove: string;
|
|
505
525
|
LiquityClaim: string;
|
|
506
526
|
LiquityRedeem: string;
|
|
527
|
+
LiquityAdjust: string;
|
|
528
|
+
BprotocolLiquitySPDeposit: string;
|
|
529
|
+
BprotocolLiquitySPWithdraw: string;
|
|
507
530
|
LidoStake: string;
|
|
508
531
|
LidoWrap: string;
|
|
509
532
|
LidoUnwrap: string;
|
|
@@ -530,6 +553,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
530
553
|
TrailingStopTrigger: string;
|
|
531
554
|
CBRebondTrigger: string;
|
|
532
555
|
CBUpdateRebondSub: string;
|
|
556
|
+
LiquityRatioCheck: string;
|
|
533
557
|
ConvexDeposit: string;
|
|
534
558
|
ConvexWithdraw: string;
|
|
535
559
|
ConvexClaim: string;
|
|
@@ -594,6 +618,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
594
618
|
McdSupply?: undefined;
|
|
595
619
|
McdWithdraw?: undefined;
|
|
596
620
|
McdClaim?: undefined;
|
|
621
|
+
McdDsrDeposit?: undefined;
|
|
622
|
+
McdDsrWithdraw?: undefined;
|
|
597
623
|
ReflexerSupply?: undefined;
|
|
598
624
|
ReflexerWithdraw?: undefined;
|
|
599
625
|
ReflexerPayback?: undefined;
|
|
@@ -641,6 +667,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
641
667
|
LiquityEthGainToTrove?: undefined;
|
|
642
668
|
LiquityClaim?: undefined;
|
|
643
669
|
LiquityRedeem?: undefined;
|
|
670
|
+
LiquityAdjust?: undefined;
|
|
671
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
672
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
644
673
|
LidoStake?: undefined;
|
|
645
674
|
LidoWrap?: undefined;
|
|
646
675
|
LidoUnwrap?: undefined;
|
|
@@ -667,6 +696,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
667
696
|
TrailingStopTrigger?: undefined;
|
|
668
697
|
CBRebondTrigger?: undefined;
|
|
669
698
|
CBUpdateRebondSub?: undefined;
|
|
699
|
+
LiquityRatioCheck?: undefined;
|
|
670
700
|
ConvexDeposit?: undefined;
|
|
671
701
|
ConvexWithdraw?: undefined;
|
|
672
702
|
ConvexClaim?: undefined;
|
|
@@ -726,6 +756,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
726
756
|
McdSupply?: undefined;
|
|
727
757
|
McdWithdraw?: undefined;
|
|
728
758
|
McdClaim?: undefined;
|
|
759
|
+
McdDsrDeposit?: undefined;
|
|
760
|
+
McdDsrWithdraw?: undefined;
|
|
729
761
|
ReflexerSupply?: undefined;
|
|
730
762
|
ReflexerWithdraw?: undefined;
|
|
731
763
|
ReflexerPayback?: undefined;
|
|
@@ -774,6 +806,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
774
806
|
LiquityEthGainToTrove?: undefined;
|
|
775
807
|
LiquityClaim?: undefined;
|
|
776
808
|
LiquityRedeem?: undefined;
|
|
809
|
+
LiquityAdjust?: undefined;
|
|
810
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
811
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
777
812
|
LidoStake?: undefined;
|
|
778
813
|
LidoWrap?: undefined;
|
|
779
814
|
LidoUnwrap?: undefined;
|
|
@@ -800,6 +835,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
800
835
|
TrailingStopTrigger?: undefined;
|
|
801
836
|
CBRebondTrigger?: undefined;
|
|
802
837
|
CBUpdateRebondSub?: undefined;
|
|
838
|
+
LiquityRatioCheck?: undefined;
|
|
803
839
|
ConvexDeposit?: undefined;
|
|
804
840
|
ConvexWithdraw?: undefined;
|
|
805
841
|
ConvexClaim?: undefined;
|
|
@@ -940,6 +976,8 @@ declare const _default: {
|
|
|
940
976
|
McdSupply: string;
|
|
941
977
|
McdWithdraw: string;
|
|
942
978
|
McdClaim: string;
|
|
979
|
+
McdDsrDeposit: string;
|
|
980
|
+
McdDsrWithdraw: string;
|
|
943
981
|
ReflexerSupply: string;
|
|
944
982
|
ReflexerWithdraw: string;
|
|
945
983
|
ReflexerPayback: string;
|
|
@@ -1005,6 +1043,9 @@ declare const _default: {
|
|
|
1005
1043
|
LiquityEthGainToTrove: string;
|
|
1006
1044
|
LiquityClaim: string;
|
|
1007
1045
|
LiquityRedeem: string;
|
|
1046
|
+
LiquityAdjust: string;
|
|
1047
|
+
BprotocolLiquitySPDeposit: string;
|
|
1048
|
+
BprotocolLiquitySPWithdraw: string;
|
|
1008
1049
|
LidoStake: string;
|
|
1009
1050
|
LidoWrap: string;
|
|
1010
1051
|
LidoUnwrap: string;
|
|
@@ -1031,6 +1072,7 @@ declare const _default: {
|
|
|
1031
1072
|
TrailingStopTrigger: string;
|
|
1032
1073
|
CBRebondTrigger: string;
|
|
1033
1074
|
CBUpdateRebondSub: string;
|
|
1075
|
+
LiquityRatioCheck: string;
|
|
1034
1076
|
ConvexDeposit: string;
|
|
1035
1077
|
ConvexWithdraw: string;
|
|
1036
1078
|
ConvexClaim: string;
|
|
@@ -1095,6 +1137,8 @@ declare const _default: {
|
|
|
1095
1137
|
McdSupply?: undefined;
|
|
1096
1138
|
McdWithdraw?: undefined;
|
|
1097
1139
|
McdClaim?: undefined;
|
|
1140
|
+
McdDsrDeposit?: undefined;
|
|
1141
|
+
McdDsrWithdraw?: undefined;
|
|
1098
1142
|
ReflexerSupply?: undefined;
|
|
1099
1143
|
ReflexerWithdraw?: undefined;
|
|
1100
1144
|
ReflexerPayback?: undefined;
|
|
@@ -1142,6 +1186,9 @@ declare const _default: {
|
|
|
1142
1186
|
LiquityEthGainToTrove?: undefined;
|
|
1143
1187
|
LiquityClaim?: undefined;
|
|
1144
1188
|
LiquityRedeem?: undefined;
|
|
1189
|
+
LiquityAdjust?: undefined;
|
|
1190
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
1191
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
1145
1192
|
LidoStake?: undefined;
|
|
1146
1193
|
LidoWrap?: undefined;
|
|
1147
1194
|
LidoUnwrap?: undefined;
|
|
@@ -1168,6 +1215,7 @@ declare const _default: {
|
|
|
1168
1215
|
TrailingStopTrigger?: undefined;
|
|
1169
1216
|
CBRebondTrigger?: undefined;
|
|
1170
1217
|
CBUpdateRebondSub?: undefined;
|
|
1218
|
+
LiquityRatioCheck?: undefined;
|
|
1171
1219
|
ConvexDeposit?: undefined;
|
|
1172
1220
|
ConvexWithdraw?: undefined;
|
|
1173
1221
|
ConvexClaim?: undefined;
|
|
@@ -1227,6 +1275,8 @@ declare const _default: {
|
|
|
1227
1275
|
McdSupply?: undefined;
|
|
1228
1276
|
McdWithdraw?: undefined;
|
|
1229
1277
|
McdClaim?: undefined;
|
|
1278
|
+
McdDsrDeposit?: undefined;
|
|
1279
|
+
McdDsrWithdraw?: undefined;
|
|
1230
1280
|
ReflexerSupply?: undefined;
|
|
1231
1281
|
ReflexerWithdraw?: undefined;
|
|
1232
1282
|
ReflexerPayback?: undefined;
|
|
@@ -1275,6 +1325,9 @@ declare const _default: {
|
|
|
1275
1325
|
LiquityEthGainToTrove?: undefined;
|
|
1276
1326
|
LiquityClaim?: undefined;
|
|
1277
1327
|
LiquityRedeem?: undefined;
|
|
1328
|
+
LiquityAdjust?: undefined;
|
|
1329
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
1330
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
1278
1331
|
LidoStake?: undefined;
|
|
1279
1332
|
LidoWrap?: undefined;
|
|
1280
1333
|
LidoUnwrap?: undefined;
|
|
@@ -1301,6 +1354,7 @@ declare const _default: {
|
|
|
1301
1354
|
TrailingStopTrigger?: undefined;
|
|
1302
1355
|
CBRebondTrigger?: undefined;
|
|
1303
1356
|
CBUpdateRebondSub?: undefined;
|
|
1357
|
+
LiquityRatioCheck?: undefined;
|
|
1304
1358
|
ConvexDeposit?: undefined;
|
|
1305
1359
|
ConvexWithdraw?: undefined;
|
|
1306
1360
|
ConvexClaim?: undefined;
|
|
@@ -1344,6 +1398,8 @@ declare const _default: {
|
|
|
1344
1398
|
McdSupply: string;
|
|
1345
1399
|
McdWithdraw: string;
|
|
1346
1400
|
McdClaim: string;
|
|
1401
|
+
McdDsrDeposit: string;
|
|
1402
|
+
McdDsrWithdraw: string;
|
|
1347
1403
|
ReflexerSupply: string;
|
|
1348
1404
|
ReflexerWithdraw: string;
|
|
1349
1405
|
ReflexerPayback: string;
|
|
@@ -1409,6 +1465,9 @@ declare const _default: {
|
|
|
1409
1465
|
LiquityEthGainToTrove: string;
|
|
1410
1466
|
LiquityClaim: string;
|
|
1411
1467
|
LiquityRedeem: string;
|
|
1468
|
+
LiquityAdjust: string;
|
|
1469
|
+
BprotocolLiquitySPDeposit: string;
|
|
1470
|
+
BprotocolLiquitySPWithdraw: string;
|
|
1412
1471
|
LidoStake: string;
|
|
1413
1472
|
LidoWrap: string;
|
|
1414
1473
|
LidoUnwrap: string;
|
|
@@ -1435,6 +1494,7 @@ declare const _default: {
|
|
|
1435
1494
|
TrailingStopTrigger: string;
|
|
1436
1495
|
CBRebondTrigger: string;
|
|
1437
1496
|
CBUpdateRebondSub: string;
|
|
1497
|
+
LiquityRatioCheck: string;
|
|
1438
1498
|
ConvexDeposit: string;
|
|
1439
1499
|
ConvexWithdraw: string;
|
|
1440
1500
|
ConvexClaim: string;
|
|
@@ -1499,6 +1559,8 @@ declare const _default: {
|
|
|
1499
1559
|
McdSupply?: undefined;
|
|
1500
1560
|
McdWithdraw?: undefined;
|
|
1501
1561
|
McdClaim?: undefined;
|
|
1562
|
+
McdDsrDeposit?: undefined;
|
|
1563
|
+
McdDsrWithdraw?: undefined;
|
|
1502
1564
|
ReflexerSupply?: undefined;
|
|
1503
1565
|
ReflexerWithdraw?: undefined;
|
|
1504
1566
|
ReflexerPayback?: undefined;
|
|
@@ -1546,6 +1608,9 @@ declare const _default: {
|
|
|
1546
1608
|
LiquityEthGainToTrove?: undefined;
|
|
1547
1609
|
LiquityClaim?: undefined;
|
|
1548
1610
|
LiquityRedeem?: undefined;
|
|
1611
|
+
LiquityAdjust?: undefined;
|
|
1612
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
1613
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
1549
1614
|
LidoStake?: undefined;
|
|
1550
1615
|
LidoWrap?: undefined;
|
|
1551
1616
|
LidoUnwrap?: undefined;
|
|
@@ -1572,6 +1637,7 @@ declare const _default: {
|
|
|
1572
1637
|
TrailingStopTrigger?: undefined;
|
|
1573
1638
|
CBRebondTrigger?: undefined;
|
|
1574
1639
|
CBUpdateRebondSub?: undefined;
|
|
1640
|
+
LiquityRatioCheck?: undefined;
|
|
1575
1641
|
ConvexDeposit?: undefined;
|
|
1576
1642
|
ConvexWithdraw?: undefined;
|
|
1577
1643
|
ConvexClaim?: undefined;
|
|
@@ -1631,6 +1697,8 @@ declare const _default: {
|
|
|
1631
1697
|
McdSupply?: undefined;
|
|
1632
1698
|
McdWithdraw?: undefined;
|
|
1633
1699
|
McdClaim?: undefined;
|
|
1700
|
+
McdDsrDeposit?: undefined;
|
|
1701
|
+
McdDsrWithdraw?: undefined;
|
|
1634
1702
|
ReflexerSupply?: undefined;
|
|
1635
1703
|
ReflexerWithdraw?: undefined;
|
|
1636
1704
|
ReflexerPayback?: undefined;
|
|
@@ -1679,6 +1747,9 @@ declare const _default: {
|
|
|
1679
1747
|
LiquityEthGainToTrove?: undefined;
|
|
1680
1748
|
LiquityClaim?: undefined;
|
|
1681
1749
|
LiquityRedeem?: undefined;
|
|
1750
|
+
LiquityAdjust?: undefined;
|
|
1751
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
1752
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
1682
1753
|
LidoStake?: undefined;
|
|
1683
1754
|
LidoWrap?: undefined;
|
|
1684
1755
|
LidoUnwrap?: undefined;
|
|
@@ -1705,6 +1776,7 @@ declare const _default: {
|
|
|
1705
1776
|
TrailingStopTrigger?: undefined;
|
|
1706
1777
|
CBRebondTrigger?: undefined;
|
|
1707
1778
|
CBUpdateRebondSub?: undefined;
|
|
1779
|
+
LiquityRatioCheck?: undefined;
|
|
1708
1780
|
ConvexDeposit?: undefined;
|
|
1709
1781
|
ConvexWithdraw?: undefined;
|
|
1710
1782
|
ConvexClaim?: undefined;
|
|
@@ -39,4 +39,14 @@ export declare const getConvexPool: (curveLpToken: string) => {
|
|
|
39
39
|
token: string;
|
|
40
40
|
}[];
|
|
41
41
|
noTest: boolean;
|
|
42
|
+
} | {
|
|
43
|
+
pid: number;
|
|
44
|
+
lpToken: string;
|
|
45
|
+
token: string;
|
|
46
|
+
gauge: string;
|
|
47
|
+
crvRewards: string;
|
|
48
|
+
stash: string;
|
|
49
|
+
extraRewards: never[];
|
|
50
|
+
shutdown?: undefined;
|
|
51
|
+
noTest?: undefined;
|
|
42
52
|
} | undefined;
|
|
@@ -1035,5 +1035,23 @@
|
|
|
1035
1035
|
"shutdown": false,
|
|
1036
1036
|
"extraRewards": [],
|
|
1037
1037
|
"noTest": true
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"pid": 154,
|
|
1041
|
+
"lpToken": "0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C",
|
|
1042
|
+
"token": "0x96C01B43853bE9E27363B15bE620769437cBa345",
|
|
1043
|
+
"gauge": "0x9d4D981d8a9066f5db8532A5816543dE8819d4A8",
|
|
1044
|
+
"crvRewards": "0x65C8aa24db76e870DEDfC35701eff84de405D1ba",
|
|
1045
|
+
"stash": "0x8A297eFeDE43f47f76014a82D1B910Ee05d83226",
|
|
1046
|
+
"extraRewards": []
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"pid": 127,
|
|
1050
|
+
"lpToken": "0x5b6C539b224014A09B3388e51CaAA8e354c959C8",
|
|
1051
|
+
"token": "0x06A2C4431FB5dBfECbCbA15154Dd53E374c14292",
|
|
1052
|
+
"gauge": "0xAd96E10123Fa34a01cf2314C42D75150849C9295",
|
|
1053
|
+
"crvRewards": "0x5d02EcD9B83f1187e92aD5be3d1bd2915CA03699",
|
|
1054
|
+
"stash": "0xDdc53D3B91090CD99d87ee1E6108857732fB5E4A",
|
|
1055
|
+
"extraRewards": []
|
|
1038
1056
|
}
|
|
1039
1057
|
]
|
|
@@ -199,5 +199,101 @@
|
|
|
199
199
|
0
|
|
200
200
|
],
|
|
201
201
|
"zapType": 0
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "lusd",
|
|
205
|
+
"swapAddr": "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA",
|
|
206
|
+
"depositContract": "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA",
|
|
207
|
+
"devComment": "it would follow logic that the depositContract should be the 3pool zap but because of the smart contract logic it is overridden here",
|
|
208
|
+
"nCoins": 2,
|
|
209
|
+
"coins": [
|
|
210
|
+
"0x5f98805A4E8be255a32880FDeC7F6728C6568bA0",
|
|
211
|
+
"0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"
|
|
212
|
+
],
|
|
213
|
+
"decimals": [
|
|
214
|
+
18,
|
|
215
|
+
18
|
|
216
|
+
],
|
|
217
|
+
"underlyingCoins": [
|
|
218
|
+
"0x5f98805A4E8be255a32880FDeC7F6728C6568bA0",
|
|
219
|
+
"0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
220
|
+
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
221
|
+
"0xdAC17F958D2ee523a2206206994597C13D831ec7"
|
|
222
|
+
],
|
|
223
|
+
"underlyingDecimals": [
|
|
224
|
+
18,
|
|
225
|
+
18,
|
|
226
|
+
6,
|
|
227
|
+
6
|
|
228
|
+
],
|
|
229
|
+
"isMeta": true,
|
|
230
|
+
"lpToken": "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA",
|
|
231
|
+
"gauges": [
|
|
232
|
+
"0x9B8519A9a00100720CCdC8a120fBeD319cA47a14"
|
|
233
|
+
],
|
|
234
|
+
"gaugeTypes": [
|
|
235
|
+
0
|
|
236
|
+
],
|
|
237
|
+
"zapType": 2
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "reth",
|
|
241
|
+
"isFactory": true,
|
|
242
|
+
"swapAddr": "0x0f3159811670c117c372428D4E69AC32325e4D0F",
|
|
243
|
+
"nCoins": 2,
|
|
244
|
+
"coins": [
|
|
245
|
+
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
246
|
+
"0xae78736Cd615f374D3085123A210448E74Fc6393"
|
|
247
|
+
],
|
|
248
|
+
"decimals": [
|
|
249
|
+
18,
|
|
250
|
+
18
|
|
251
|
+
],
|
|
252
|
+
"underlyingCoins": [
|
|
253
|
+
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
254
|
+
"0xae78736Cd615f374D3085123A210448E74Fc6393"
|
|
255
|
+
],
|
|
256
|
+
"underlyingDecimals": [
|
|
257
|
+
18,
|
|
258
|
+
18
|
|
259
|
+
],
|
|
260
|
+
"isMeta": false,
|
|
261
|
+
"lpToken": "0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C",
|
|
262
|
+
"gauges": [
|
|
263
|
+
"0x9d4D981d8a9066f5db8532A5816543dE8819d4A8"
|
|
264
|
+
],
|
|
265
|
+
"gaugeTypes": [
|
|
266
|
+
0
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "cbeth",
|
|
271
|
+
"isFactory": true,
|
|
272
|
+
"swapAddr": "0x5FAE7E604FC3e24fd43A72867ceBaC94c65b404A",
|
|
273
|
+
"nCoins": 2,
|
|
274
|
+
"coins": [
|
|
275
|
+
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
276
|
+
"0xBe9895146f7AF43049ca1c1AE358B0541Ea49704"
|
|
277
|
+
],
|
|
278
|
+
"decimals": [
|
|
279
|
+
18,
|
|
280
|
+
18
|
|
281
|
+
],
|
|
282
|
+
"underlyingCoins": [
|
|
283
|
+
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
284
|
+
"0xBe9895146f7AF43049ca1c1AE358B0541Ea49704"
|
|
285
|
+
],
|
|
286
|
+
"underlyingDecimals": [
|
|
287
|
+
18,
|
|
288
|
+
18
|
|
289
|
+
],
|
|
290
|
+
"isMeta": false,
|
|
291
|
+
"lpToken": "0x5b6C539b224014A09B3388e51CaAA8e354c959C8",
|
|
292
|
+
"gauges": [
|
|
293
|
+
"0xAd96E10123Fa34a01cf2314C42D75150849C9295"
|
|
294
|
+
],
|
|
295
|
+
"gaugeTypes": [
|
|
296
|
+
0
|
|
297
|
+
]
|
|
202
298
|
}
|
|
203
299
|
]
|
package/esm/src/utils/index.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ import * as uniswapLP from './uniswapLP';
|
|
|
3
3
|
import * as uniswapV3LP from './uniswapV3LP';
|
|
4
4
|
import * as convexUtils from './convex-utils';
|
|
5
5
|
import mstableAssetPairs from './mstableAssetPairs';
|
|
6
|
-
|
|
6
|
+
import * as curveUtils from './curve-utils';
|
|
7
|
+
export { zeroExExchange, uniswapLP, uniswapV3LP, mstableAssetPairs, convexUtils, curveUtils, };
|
package/esm/src/utils/index.js
CHANGED
|
@@ -3,4 +3,5 @@ import * as uniswapLP from './uniswapLP';
|
|
|
3
3
|
import * as uniswapV3LP from './uniswapV3LP';
|
|
4
4
|
import * as convexUtils from './convex-utils';
|
|
5
5
|
import mstableAssetPairs from './mstableAssetPairs';
|
|
6
|
-
|
|
6
|
+
import * as curveUtils from './curve-utils';
|
|
7
|
+
export { zeroExExchange, uniswapLP, uniswapV3LP, mstableAssetPairs, convexUtils, curveUtils, };
|