@defisaver/sdk 1.3.6 → 1.3.8
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/addresses.d.ts +280 -0
- package/esm/src/addresses.js +3 -1
- package/esm/src/config.js +6 -6
- package/esm/src/index.d.ts +1519 -399
- package/package.json +1 -1
- package/src/addresses.ts +4 -1
- package/umd/index.js +10 -8
package/esm/src/addresses.d.ts
CHANGED
|
@@ -1400,6 +1400,286 @@ export declare const actionAddresses: {
|
|
|
1400
1400
|
GasFeeTakerL2?: undefined;
|
|
1401
1401
|
AaveV3RatioCheck?: undefined;
|
|
1402
1402
|
MorphoBlueView?: undefined;
|
|
1403
|
+
} | {
|
|
1404
|
+
DFSSell: string;
|
|
1405
|
+
DFSSellNoFee: string;
|
|
1406
|
+
WrapEth: string;
|
|
1407
|
+
UnwrapEth: string;
|
|
1408
|
+
SendToken: string;
|
|
1409
|
+
SendTokens: string;
|
|
1410
|
+
SendTokenAndUnwrap: string;
|
|
1411
|
+
PullToken: string;
|
|
1412
|
+
ApproveToken: string;
|
|
1413
|
+
SumInputs: string;
|
|
1414
|
+
SubInputs: string;
|
|
1415
|
+
TokenBalance: string;
|
|
1416
|
+
PermitToken: string;
|
|
1417
|
+
MerklClaim: string;
|
|
1418
|
+
TransferNFT: string;
|
|
1419
|
+
TokenizedVaultAdapter: string;
|
|
1420
|
+
FLAction: string;
|
|
1421
|
+
FLAaveV3: string;
|
|
1422
|
+
AaveV3Withdraw: string;
|
|
1423
|
+
AaveV3Supply: string;
|
|
1424
|
+
AaveV3SetEMode: string;
|
|
1425
|
+
AaveV3Payback: string;
|
|
1426
|
+
AaveV3CollateralSwitch: string;
|
|
1427
|
+
AaveV3ClaimRewards: string;
|
|
1428
|
+
AaveV3Borrow: string;
|
|
1429
|
+
AaveV3ATokenPayback: string;
|
|
1430
|
+
AaveV3View: string;
|
|
1431
|
+
AaveV3DelegateWithSig: string;
|
|
1432
|
+
AaveV3DelegateCredit: string;
|
|
1433
|
+
PendleTokenRedeem: string;
|
|
1434
|
+
ChangeProxyOwner?: undefined;
|
|
1435
|
+
AutomationV2Unsub?: undefined;
|
|
1436
|
+
ToggleSub?: undefined;
|
|
1437
|
+
UpdateSub?: undefined;
|
|
1438
|
+
CreateSub?: undefined;
|
|
1439
|
+
SDaiWrap?: undefined;
|
|
1440
|
+
SDaiUnwrap?: undefined;
|
|
1441
|
+
StarknetClaim?: undefined;
|
|
1442
|
+
HandleAuth?: undefined;
|
|
1443
|
+
SkyStake?: undefined;
|
|
1444
|
+
SkyUnstake?: undefined;
|
|
1445
|
+
SkyClaimRewards?: undefined;
|
|
1446
|
+
SkyStakingEngineOpen?: undefined;
|
|
1447
|
+
SkyStakingEngineSelectFarm?: undefined;
|
|
1448
|
+
SkyStakingEngineStake?: undefined;
|
|
1449
|
+
SkyStakingEngineUnstake?: undefined;
|
|
1450
|
+
SkyStakingEngineClaimRewards?: undefined;
|
|
1451
|
+
McdGenerate?: undefined;
|
|
1452
|
+
McdGive?: undefined;
|
|
1453
|
+
McdMerge?: undefined;
|
|
1454
|
+
McdOpen?: undefined;
|
|
1455
|
+
McdPayback?: undefined;
|
|
1456
|
+
McdSupply?: undefined;
|
|
1457
|
+
McdWithdraw?: undefined;
|
|
1458
|
+
McdClaim?: undefined;
|
|
1459
|
+
McdDsrDeposit?: undefined;
|
|
1460
|
+
McdDsrWithdraw?: undefined;
|
|
1461
|
+
McdTokenConverter?: undefined;
|
|
1462
|
+
ReflexerSupply?: undefined;
|
|
1463
|
+
ReflexerWithdraw?: undefined;
|
|
1464
|
+
ReflexerPayback?: undefined;
|
|
1465
|
+
ReflexerGenerate?: undefined;
|
|
1466
|
+
ReflexerOpen?: undefined;
|
|
1467
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
1468
|
+
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
1469
|
+
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
1470
|
+
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
1471
|
+
AaveBorrow?: undefined;
|
|
1472
|
+
AavePayback?: undefined;
|
|
1473
|
+
AaveSupply?: undefined;
|
|
1474
|
+
AaveWithdraw?: undefined;
|
|
1475
|
+
AaveCollateralSwitch?: undefined;
|
|
1476
|
+
AaveUnstake?: undefined;
|
|
1477
|
+
AaveClaimAAVE?: undefined;
|
|
1478
|
+
AaveClaimStkAave?: undefined;
|
|
1479
|
+
AaveV3SwapBorrowRateMode?: undefined;
|
|
1480
|
+
GhoClaimAAVE?: undefined;
|
|
1481
|
+
GhoUnstake?: undefined;
|
|
1482
|
+
GhoStake?: undefined;
|
|
1483
|
+
LSVWithdraw?: undefined;
|
|
1484
|
+
LSVBorrow?: undefined;
|
|
1485
|
+
LSVSupply?: undefined;
|
|
1486
|
+
LSVPayback?: undefined;
|
|
1487
|
+
LSVSell?: undefined;
|
|
1488
|
+
MorphoAaveV2Borrow?: undefined;
|
|
1489
|
+
MorphoAaveV2Payback?: undefined;
|
|
1490
|
+
MorphoAaveV2Supply?: undefined;
|
|
1491
|
+
MorphoAaveV2Withdraw?: undefined;
|
|
1492
|
+
MorphoClaim?: undefined;
|
|
1493
|
+
MorphoAaveV3Borrow?: undefined;
|
|
1494
|
+
MorphoAaveV3Payback?: undefined;
|
|
1495
|
+
MorphoAaveV3Supply?: undefined;
|
|
1496
|
+
MorphoAaveV3Withdraw?: undefined;
|
|
1497
|
+
MorphoAaveV3SetManager?: undefined;
|
|
1498
|
+
SparkBorrow?: undefined;
|
|
1499
|
+
SparkClaimRewards?: undefined;
|
|
1500
|
+
SparkCollateralSwitch?: undefined;
|
|
1501
|
+
SparkPayback?: undefined;
|
|
1502
|
+
SparkSetEMode?: undefined;
|
|
1503
|
+
SparkSpTokenPayback?: undefined;
|
|
1504
|
+
SparkSupply?: undefined;
|
|
1505
|
+
SparkSwapBorrowRateMode?: undefined;
|
|
1506
|
+
SparkWithdraw?: undefined;
|
|
1507
|
+
SparkDelegateCredit?: undefined;
|
|
1508
|
+
SparkDelegateWithSig?: undefined;
|
|
1509
|
+
SparkSPKClaim?: undefined;
|
|
1510
|
+
CompBorrow?: undefined;
|
|
1511
|
+
CompClaim?: undefined;
|
|
1512
|
+
CompPayback?: undefined;
|
|
1513
|
+
CompSupply?: undefined;
|
|
1514
|
+
CompWithdraw?: undefined;
|
|
1515
|
+
CompGetDebt?: undefined;
|
|
1516
|
+
CompCollateralSwitch?: undefined;
|
|
1517
|
+
FLAaveV2?: undefined;
|
|
1518
|
+
FLAaveV3NoFee?: undefined;
|
|
1519
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1520
|
+
FLDyDx?: undefined;
|
|
1521
|
+
FLMaker?: undefined;
|
|
1522
|
+
FLBalancer?: undefined;
|
|
1523
|
+
FLSpark?: undefined;
|
|
1524
|
+
FLUniV3?: undefined;
|
|
1525
|
+
FLGho?: undefined;
|
|
1526
|
+
FLMorphoBlue?: undefined;
|
|
1527
|
+
UniSupply?: undefined;
|
|
1528
|
+
UniWithdraw?: undefined;
|
|
1529
|
+
UniCollectV3?: undefined;
|
|
1530
|
+
UniMintV3?: undefined;
|
|
1531
|
+
UniSupplyV3?: undefined;
|
|
1532
|
+
UniWithdrawV3?: undefined;
|
|
1533
|
+
UniCreatePoolV3?: undefined;
|
|
1534
|
+
DyDxWithdraw?: undefined;
|
|
1535
|
+
YearnSupply?: undefined;
|
|
1536
|
+
YearnWithdraw?: undefined;
|
|
1537
|
+
LiquityClose?: undefined;
|
|
1538
|
+
LiquityBorrow?: undefined;
|
|
1539
|
+
LiquityOpen?: undefined;
|
|
1540
|
+
LiquityPayback?: undefined;
|
|
1541
|
+
LiquityWithdraw?: undefined;
|
|
1542
|
+
LiquitySupply?: undefined;
|
|
1543
|
+
LiquitySPDeposit?: undefined;
|
|
1544
|
+
LiquitySPWithdraw?: undefined;
|
|
1545
|
+
LiquityStake?: undefined;
|
|
1546
|
+
LiquityUnstake?: undefined;
|
|
1547
|
+
LiquityEthGainToTrove?: undefined;
|
|
1548
|
+
LiquityClaim?: undefined;
|
|
1549
|
+
LiquityRedeem?: undefined;
|
|
1550
|
+
LiquityAdjust?: undefined;
|
|
1551
|
+
LiquityV2CloseLegacy?: undefined;
|
|
1552
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
1553
|
+
LiquityV2Open?: undefined;
|
|
1554
|
+
LiquityV2Close?: undefined;
|
|
1555
|
+
LiquityV2Supply?: undefined;
|
|
1556
|
+
LiquityV2Withdraw?: undefined;
|
|
1557
|
+
LiquityV2Borrow?: undefined;
|
|
1558
|
+
LiquityV2Payback?: undefined;
|
|
1559
|
+
LiquityV2Claim?: undefined;
|
|
1560
|
+
LiquityV2Adjust?: undefined;
|
|
1561
|
+
LiquityV2AdjustInterestRate?: undefined;
|
|
1562
|
+
LiquityV2SPDeposit?: undefined;
|
|
1563
|
+
LiquityV2SPWithdraw?: undefined;
|
|
1564
|
+
LiquityV2SPClaimColl?: undefined;
|
|
1565
|
+
LiquityV2AdjustZombieTrove?: undefined;
|
|
1566
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
1567
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
1568
|
+
LidoStake?: undefined;
|
|
1569
|
+
LidoWrap?: undefined;
|
|
1570
|
+
LidoUnwrap?: undefined;
|
|
1571
|
+
InstPullTokens?: undefined;
|
|
1572
|
+
BalancerV2Supply?: undefined;
|
|
1573
|
+
BalancerV2Withdraw?: undefined;
|
|
1574
|
+
BalancerV2Claim?: undefined;
|
|
1575
|
+
GUniWithdraw?: undefined;
|
|
1576
|
+
GUniDeposit?: undefined;
|
|
1577
|
+
RariDeposit?: undefined;
|
|
1578
|
+
RariWithdraw?: undefined;
|
|
1579
|
+
MStableDeposit?: undefined;
|
|
1580
|
+
MStableWithdraw?: undefined;
|
|
1581
|
+
MStableClaim?: undefined;
|
|
1582
|
+
McdRatioCheck?: undefined;
|
|
1583
|
+
GasFeeTaker?: undefined;
|
|
1584
|
+
CurveStethPoolDeposit?: undefined;
|
|
1585
|
+
CurveStethPoolWithdraw?: undefined;
|
|
1586
|
+
CurveDeposit?: undefined;
|
|
1587
|
+
CurveWithdraw?: undefined;
|
|
1588
|
+
McdBoostComposite?: undefined;
|
|
1589
|
+
McdRepayComposite?: undefined;
|
|
1590
|
+
FLEuler?: undefined;
|
|
1591
|
+
TrailingStopTrigger?: undefined;
|
|
1592
|
+
CBRebondTrigger?: undefined;
|
|
1593
|
+
CBUpdateRebondSub?: undefined;
|
|
1594
|
+
LiquityRatioCheck?: undefined;
|
|
1595
|
+
ConvexDeposit?: undefined;
|
|
1596
|
+
ConvexWithdraw?: undefined;
|
|
1597
|
+
ConvexClaim?: undefined;
|
|
1598
|
+
CBCreate?: undefined;
|
|
1599
|
+
CBRedeem?: undefined;
|
|
1600
|
+
CBChickenIn?: undefined;
|
|
1601
|
+
CBChickenOut?: undefined;
|
|
1602
|
+
CBCreateRebondSub?: undefined;
|
|
1603
|
+
FetchBondId?: undefined;
|
|
1604
|
+
CompV3Allow?: undefined;
|
|
1605
|
+
CompV3Borrow?: undefined;
|
|
1606
|
+
CompV3Claim?: undefined;
|
|
1607
|
+
CompV3Payback?: undefined;
|
|
1608
|
+
CompV3Supply?: undefined;
|
|
1609
|
+
CompV3Transfer?: undefined;
|
|
1610
|
+
CompV3Withdraw?: undefined;
|
|
1611
|
+
CurveUsdBorrow?: undefined;
|
|
1612
|
+
CurveUsdCreate?: undefined;
|
|
1613
|
+
CurveUsdPayback?: undefined;
|
|
1614
|
+
CurveUsdSupply?: undefined;
|
|
1615
|
+
CurveUsdAdjust?: undefined;
|
|
1616
|
+
CurveUsdWithdraw?: undefined;
|
|
1617
|
+
CurveUsdLevCreate?: undefined;
|
|
1618
|
+
CurveUsdRepay?: undefined;
|
|
1619
|
+
CurveUsdSwapper?: undefined;
|
|
1620
|
+
CurveUsdSwapperTransient?: undefined;
|
|
1621
|
+
CurveUsdSelfLiquidate?: undefined;
|
|
1622
|
+
CurveUsdSelfLiquidateWithColl?: undefined;
|
|
1623
|
+
CurveUsdGetDebt?: undefined;
|
|
1624
|
+
CurveUsdCollRatioTrigger?: undefined;
|
|
1625
|
+
CurveUsdCollRatioCheck?: undefined;
|
|
1626
|
+
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
1627
|
+
CurveUsdLevCreateTransient?: undefined;
|
|
1628
|
+
CurveUsdRepayTransient?: undefined;
|
|
1629
|
+
MorphoBlueSupply?: undefined;
|
|
1630
|
+
MorphoBlueSupplyCollateral?: undefined;
|
|
1631
|
+
MorphoBlueWithdraw?: undefined;
|
|
1632
|
+
MorphoBlueWithdrawCollateral?: undefined;
|
|
1633
|
+
MorphoBlueBorrow?: undefined;
|
|
1634
|
+
MorphoBluePayback?: undefined;
|
|
1635
|
+
MorphoBlueSetAuth?: undefined;
|
|
1636
|
+
MorphoBlueSetAuthWithSig?: undefined;
|
|
1637
|
+
MorphoTokenWrap?: undefined;
|
|
1638
|
+
MorphoBlueReallocateLiquidity?: undefined;
|
|
1639
|
+
MorphoBlueClaim?: undefined;
|
|
1640
|
+
LlamaLendCreate?: undefined;
|
|
1641
|
+
LlamaLendSupply?: undefined;
|
|
1642
|
+
LlamaLendBorrow?: undefined;
|
|
1643
|
+
LlamaLendWithdraw?: undefined;
|
|
1644
|
+
LlamaLendPayback?: undefined;
|
|
1645
|
+
LlamaLendSelfLiquidate?: undefined;
|
|
1646
|
+
LlamaLendGetDebt?: undefined;
|
|
1647
|
+
LlamaLendBoost?: undefined;
|
|
1648
|
+
LlamaLendRepay?: undefined;
|
|
1649
|
+
LlamaLendLevCreate?: undefined;
|
|
1650
|
+
LlamaLendSelfLiquidateWithColl?: undefined;
|
|
1651
|
+
EulerV2Supply?: undefined;
|
|
1652
|
+
EulerV2Withdraw?: undefined;
|
|
1653
|
+
EulerV2Borrow?: undefined;
|
|
1654
|
+
EulerV2Payback?: undefined;
|
|
1655
|
+
EulerV2CollateralSwitch?: undefined;
|
|
1656
|
+
EulerV2View?: undefined;
|
|
1657
|
+
RenzoStake?: undefined;
|
|
1658
|
+
EtherFiStake?: undefined;
|
|
1659
|
+
EtherFiWrap?: undefined;
|
|
1660
|
+
EtherFiUnwrap?: undefined;
|
|
1661
|
+
KingClaim?: undefined;
|
|
1662
|
+
FluidVaultT1Open?: undefined;
|
|
1663
|
+
FluidVaultT1Adjust?: undefined;
|
|
1664
|
+
FluidVaultT1Borrow?: undefined;
|
|
1665
|
+
FluidVaultT1Payback?: undefined;
|
|
1666
|
+
FluidVaultT1Withdraw?: undefined;
|
|
1667
|
+
FluidVaultT1Supply?: undefined;
|
|
1668
|
+
FluidView?: undefined;
|
|
1669
|
+
FluidClaim?: undefined;
|
|
1670
|
+
FluidDexOpen?: undefined;
|
|
1671
|
+
FluidDexSupply?: undefined;
|
|
1672
|
+
FluidDexBorrow?: undefined;
|
|
1673
|
+
FluidDexPayback?: undefined;
|
|
1674
|
+
FluidDexWithdraw?: undefined;
|
|
1675
|
+
UmbrellaClaimRewards?: undefined;
|
|
1676
|
+
UmbrellaStake?: undefined;
|
|
1677
|
+
UmbrellaUnstake?: undefined;
|
|
1678
|
+
SFApproveTokens?: undefined;
|
|
1679
|
+
AaveV3RatioTrigger?: undefined;
|
|
1680
|
+
GasFeeTakerL2?: undefined;
|
|
1681
|
+
AaveV3RatioCheck?: undefined;
|
|
1682
|
+
MorphoBlueView?: undefined;
|
|
1403
1683
|
};
|
|
1404
1684
|
};
|
|
1405
1685
|
export declare const otherAddresses: {
|
package/esm/src/addresses.js
CHANGED
|
@@ -568,7 +568,7 @@ export const actionAddresses = {
|
|
|
568
568
|
[NETWORKS.plasma.chainId]: {
|
|
569
569
|
// Basic
|
|
570
570
|
DFSSell: '0xAC17f651591f417934EeA04CF6629584Eb50A4bB',
|
|
571
|
-
DFSSellNoFee: '
|
|
571
|
+
DFSSellNoFee: '0x45314C4265a378427f204483b3eFb89981129085',
|
|
572
572
|
WrapEth: '0x520E8b0573a03D26D0E39a409E85E28459e24C0E',
|
|
573
573
|
UnwrapEth: '0x93A6E0dC4C4a6033922d386e4cbd9e31278A2BBa',
|
|
574
574
|
SendToken: '0xa2ABA81e65543d18dd1a1E4A31Bc41C4a86453cf',
|
|
@@ -598,6 +598,8 @@ export const actionAddresses = {
|
|
|
598
598
|
AaveV3View: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
|
|
599
599
|
AaveV3DelegateWithSig: '0x49658E0CF3883c338397C7257619B280dF581057',
|
|
600
600
|
AaveV3DelegateCredit: '0x0a9b2080C14DaF008AE87C977dFDf5f5D6D0937F',
|
|
601
|
+
// Pendle
|
|
602
|
+
PendleTokenRedeem: '0xB4c5f33bb5791D0174Df1879b809Bf57eE540B62',
|
|
601
603
|
},
|
|
602
604
|
};
|
|
603
605
|
export const otherAddresses = {
|
package/esm/src/config.js
CHANGED
|
@@ -31,7 +31,7 @@ export const NETWORKS = {
|
|
|
31
31
|
chainId: 42161,
|
|
32
32
|
chainName: 'Arbitrum One',
|
|
33
33
|
blockExplorerUrls: ['https://arbiscan.io/'],
|
|
34
|
-
iconUrls: ['https://
|
|
34
|
+
iconUrls: ['https://icons.llamao.fi/icons/chains/rsz_arbitrum.jpg'],
|
|
35
35
|
rpcUrls: ['https://arb1.arbitrum.io/rpc'],
|
|
36
36
|
nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
|
|
37
37
|
},
|
|
@@ -39,7 +39,7 @@ export const NETWORKS = {
|
|
|
39
39
|
chainId: 8453,
|
|
40
40
|
chainName: 'Base',
|
|
41
41
|
blockExplorerUrls: ['https://basescan.io/'],
|
|
42
|
-
iconUrls: ['https://
|
|
42
|
+
iconUrls: ['https://icons.llamao.fi/icons/chains/rsz_base.jpg'],
|
|
43
43
|
rpcUrls: [],
|
|
44
44
|
nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
|
|
45
45
|
},
|
|
@@ -47,16 +47,16 @@ export const NETWORKS = {
|
|
|
47
47
|
chainId: 59144,
|
|
48
48
|
chainName: 'Linea',
|
|
49
49
|
blockExplorerUrls: ['https://lineascan.build/'],
|
|
50
|
-
iconUrls: ['https://
|
|
51
|
-
rpcUrls: [],
|
|
50
|
+
iconUrls: ['https://icons.llamao.fi/icons/chains/rsz_linea.jpg'],
|
|
51
|
+
rpcUrls: ['https://rpc.linea.build'],
|
|
52
52
|
nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
|
|
53
53
|
},
|
|
54
54
|
plasma: {
|
|
55
55
|
chainId: 9745,
|
|
56
56
|
chainName: 'Plasma',
|
|
57
57
|
blockExplorerUrls: ['https://plasmascan.to/'],
|
|
58
|
-
iconUrls: ['https://
|
|
59
|
-
rpcUrls: [],
|
|
58
|
+
iconUrls: ['https://icons.llamao.fi/icons/chains/rsz_plasma.jpg'],
|
|
59
|
+
rpcUrls: ['https://rpc.plasma.to'],
|
|
60
60
|
nativeCurrency: { name: 'XPL', decimals: 18, symbol: 'XPL' },
|
|
61
61
|
},
|
|
62
62
|
};
|