@defisaver/sdk 1.2.0-dev2 → 1.2.0-dev4
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/all_comits.txt +7205 -0
- package/esm/src/addresses.js +12 -12
- package/esm/src/config.js +1 -1
- package/package.json +1 -1
- package/src/addresses.ts +12 -12
- package/src/config.ts +1 -1
- package/umd/index.js +13 -16
- package/.yarn/releases/yarn-1.22.1.cjs +0 -147386
- package/.yarnrc.yml +0 -3
package/esm/src/addresses.js
CHANGED
|
@@ -23,7 +23,7 @@ export const actionAddresses = {
|
|
|
23
23
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
24
24
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
25
25
|
// exchange
|
|
26
|
-
DFSSell: '
|
|
26
|
+
DFSSell: '0xba7f206610e2aab9f027c92debee4ff6f1682657',
|
|
27
27
|
// maker
|
|
28
28
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
29
29
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -235,14 +235,14 @@ export const actionAddresses = {
|
|
|
235
235
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
236
236
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
237
237
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
238
|
-
LlamaLendBoost: '
|
|
239
|
-
LlamaLendRepay: '
|
|
240
|
-
LlamaLendLevCreate: '
|
|
241
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
238
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
239
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
240
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
241
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
242
242
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
243
243
|
},
|
|
244
244
|
[NETWORKS.optimism.chainId]: {
|
|
245
|
-
DFSSell: '
|
|
245
|
+
DFSSell: '0x47c402981f3d06e467befc9bbae8da4135ff5e28',
|
|
246
246
|
// basic
|
|
247
247
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
248
248
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
@@ -294,7 +294,7 @@ export const actionAddresses = {
|
|
|
294
294
|
CompV3Withdraw: '0x744ad24e92d092e0788d429f5178286672288782',
|
|
295
295
|
},
|
|
296
296
|
[NETWORKS.arbitrum.chainId]: {
|
|
297
|
-
DFSSell: '
|
|
297
|
+
DFSSell: '0xdC2C741b8A60B40BCc170F67C4aF02038b5086a7',
|
|
298
298
|
// basic
|
|
299
299
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
300
300
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
@@ -358,7 +358,7 @@ export const actionAddresses = {
|
|
|
358
358
|
},
|
|
359
359
|
[NETWORKS.base.chainId]: {
|
|
360
360
|
// Basic
|
|
361
|
-
DFSSell: '
|
|
361
|
+
DFSSell: '0x31f218638dab2fc6d459319ae49271c3b98d2a3a',
|
|
362
362
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
363
363
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
364
364
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -410,7 +410,7 @@ export const actionAddresses = {
|
|
|
410
410
|
};
|
|
411
411
|
export const otherAddresses = {
|
|
412
412
|
[NETWORKS.ethereum.chainId]: {
|
|
413
|
-
RecipeExecutor: '
|
|
413
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
414
414
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
415
415
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
416
416
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -429,7 +429,7 @@ export const otherAddresses = {
|
|
|
429
429
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
430
430
|
},
|
|
431
431
|
[NETWORKS.optimism.chainId]: {
|
|
432
|
-
RecipeExecutor: '
|
|
432
|
+
RecipeExecutor: '0x993a8c81142044e1cb0cf0c3d84bea235d842fb0',
|
|
433
433
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
434
434
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
435
435
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -439,7 +439,7 @@ export const otherAddresses = {
|
|
|
439
439
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
440
440
|
},
|
|
441
441
|
[NETWORKS.arbitrum.chainId]: {
|
|
442
|
-
RecipeExecutor: '
|
|
442
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
443
443
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
444
444
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
445
445
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -449,7 +449,7 @@ export const otherAddresses = {
|
|
|
449
449
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
450
450
|
},
|
|
451
451
|
[NETWORKS.base.chainId]: {
|
|
452
|
-
RecipeExecutor: '
|
|
452
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
453
453
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
454
454
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
455
455
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
package/esm/src/config.js
CHANGED
package/package.json
CHANGED
package/src/addresses.ts
CHANGED
|
@@ -26,7 +26,7 @@ export const actionAddresses = {
|
|
|
26
26
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
27
27
|
|
|
28
28
|
// exchange
|
|
29
|
-
DFSSell: '
|
|
29
|
+
DFSSell: '0xba7f206610e2aab9f027c92debee4ff6f1682657',
|
|
30
30
|
|
|
31
31
|
// maker
|
|
32
32
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
@@ -272,15 +272,15 @@ export const actionAddresses = {
|
|
|
272
272
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
273
273
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
274
274
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
275
|
-
LlamaLendBoost: '
|
|
276
|
-
LlamaLendRepay: '
|
|
277
|
-
LlamaLendLevCreate: '
|
|
278
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
275
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
276
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
277
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
278
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
279
279
|
|
|
280
280
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
281
281
|
},
|
|
282
282
|
[NETWORKS.optimism.chainId]: {
|
|
283
|
-
DFSSell: '
|
|
283
|
+
DFSSell: '0x47c402981f3d06e467befc9bbae8da4135ff5e28',
|
|
284
284
|
|
|
285
285
|
// basic
|
|
286
286
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
@@ -340,7 +340,7 @@ export const actionAddresses = {
|
|
|
340
340
|
|
|
341
341
|
},
|
|
342
342
|
[NETWORKS.arbitrum.chainId]: {
|
|
343
|
-
DFSSell: '
|
|
343
|
+
DFSSell: '0xdC2C741b8A60B40BCc170F67C4aF02038b5086a7',
|
|
344
344
|
|
|
345
345
|
// basic
|
|
346
346
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
@@ -411,7 +411,7 @@ export const actionAddresses = {
|
|
|
411
411
|
},
|
|
412
412
|
[NETWORKS.base.chainId]: {
|
|
413
413
|
// Basic
|
|
414
|
-
DFSSell: '
|
|
414
|
+
DFSSell: '0x31f218638dab2fc6d459319ae49271c3b98d2a3a',
|
|
415
415
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
416
416
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
417
417
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -468,7 +468,7 @@ export const actionAddresses = {
|
|
|
468
468
|
|
|
469
469
|
export const otherAddresses = {
|
|
470
470
|
[NETWORKS.ethereum.chainId]: {
|
|
471
|
-
RecipeExecutor: '
|
|
471
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
472
472
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
473
473
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
474
474
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -488,7 +488,7 @@ export const otherAddresses = {
|
|
|
488
488
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
489
489
|
},
|
|
490
490
|
[NETWORKS.optimism.chainId]: {
|
|
491
|
-
RecipeExecutor: '
|
|
491
|
+
RecipeExecutor: '0x993a8c81142044e1cb0cf0c3d84bea235d842fb0',
|
|
492
492
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
493
493
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
494
494
|
|
|
@@ -500,7 +500,7 @@ export const otherAddresses = {
|
|
|
500
500
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
501
501
|
},
|
|
502
502
|
[NETWORKS.arbitrum.chainId]: {
|
|
503
|
-
RecipeExecutor: '
|
|
503
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
504
504
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
505
505
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
506
506
|
|
|
@@ -512,7 +512,7 @@ export const otherAddresses = {
|
|
|
512
512
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
513
513
|
},
|
|
514
514
|
[NETWORKS.base.chainId]: {
|
|
515
|
-
RecipeExecutor: '
|
|
515
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
516
516
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
517
517
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
518
518
|
|
package/src/config.ts
CHANGED
package/umd/index.js
CHANGED
|
@@ -382,7 +382,7 @@ var actionsWithSwap = [{
|
|
|
382
382
|
swapArgIndex: 2
|
|
383
383
|
}, {
|
|
384
384
|
name: 'LlamaLendLevCreate',
|
|
385
|
-
swapArgIndex:
|
|
385
|
+
swapArgIndex: 5
|
|
386
386
|
}, {
|
|
387
387
|
name: 'LlamaLendRepay',
|
|
388
388
|
swapArgIndex: 2
|
|
@@ -1312,9 +1312,7 @@ var actionAddresses = {
|
|
|
1312
1312
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
1313
1313
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
1314
1314
|
// exchange
|
|
1315
|
-
DFSSell: '
|
|
1316
|
-
// TODO[TX-SAVER]: set final address after deployment
|
|
1317
|
-
|
|
1315
|
+
DFSSell: '0xba7f206610e2aab9f027c92debee4ff6f1682657',
|
|
1318
1316
|
// maker
|
|
1319
1317
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
1320
1318
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -1527,14 +1525,14 @@ var actionAddresses = {
|
|
|
1527
1525
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
1528
1526
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
1529
1527
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
1530
|
-
LlamaLendBoost: '
|
|
1531
|
-
LlamaLendRepay: '
|
|
1532
|
-
LlamaLendLevCreate: '
|
|
1533
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
1528
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
1529
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
1530
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
1531
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
1534
1532
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5'
|
|
1535
1533
|
},
|
|
1536
1534
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1537
|
-
DFSSell: '
|
|
1535
|
+
DFSSell: '0x47c402981f3d06e467befc9bbae8da4135ff5e28',
|
|
1538
1536
|
// basic
|
|
1539
1537
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
1540
1538
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
@@ -1587,7 +1585,7 @@ var actionAddresses = {
|
|
|
1587
1585
|
CompV3Withdraw: '0x744ad24e92d092e0788d429f5178286672288782'
|
|
1588
1586
|
},
|
|
1589
1587
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1590
|
-
DFSSell: '
|
|
1588
|
+
DFSSell: '0xdC2C741b8A60B40BCc170F67C4aF02038b5086a7',
|
|
1591
1589
|
// basic
|
|
1592
1590
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
1593
1591
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
@@ -1653,7 +1651,7 @@ var actionAddresses = {
|
|
|
1653
1651
|
},
|
|
1654
1652
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1655
1653
|
// Basic
|
|
1656
|
-
DFSSell: '
|
|
1654
|
+
DFSSell: '0x31f218638dab2fc6d459319ae49271c3b98d2a3a',
|
|
1657
1655
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
1658
1656
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
1659
1657
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -1706,8 +1704,7 @@ var actionAddresses = {
|
|
|
1706
1704
|
};
|
|
1707
1705
|
var otherAddresses = {
|
|
1708
1706
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
1709
|
-
RecipeExecutor: '
|
|
1710
|
-
// TODO[TX-SAVER]: set final address after deployment
|
|
1707
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
1711
1708
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
1712
1709
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
1713
1710
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -1726,7 +1723,7 @@ var otherAddresses = {
|
|
|
1726
1723
|
Empty: '0x0000000000000000000000000000000000000000'
|
|
1727
1724
|
},
|
|
1728
1725
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1729
|
-
RecipeExecutor: '
|
|
1726
|
+
RecipeExecutor: '0x993a8c81142044e1cb0cf0c3d84bea235d842fb0',
|
|
1730
1727
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
1731
1728
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1732
1729
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -1736,7 +1733,7 @@ var otherAddresses = {
|
|
|
1736
1733
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1737
1734
|
},
|
|
1738
1735
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1739
|
-
RecipeExecutor: '
|
|
1736
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
1740
1737
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
1741
1738
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1742
1739
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -1746,7 +1743,7 @@ var otherAddresses = {
|
|
|
1746
1743
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1747
1744
|
},
|
|
1748
1745
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1749
|
-
RecipeExecutor: '
|
|
1746
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
1750
1747
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
1751
1748
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
1752
1749
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|