@defisaver/sdk 1.1.12 → 1.1.13

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.
@@ -11,6 +11,6 @@ export class FLPaybackAction extends SendTokenAction {
11
11
  * @param tokenAddr
12
12
  */
13
13
  constructor(loanAmount, tokenAddr) {
14
- super(tokenAddr, getAddr('FLActionTEMP'), loanAmount);
14
+ super(tokenAddr, getAddr('FLAction'), loanAmount);
15
15
  }
16
16
  }
@@ -103,7 +103,6 @@ export declare const actionAddresses: {
103
103
  FLBalancer: string;
104
104
  FLSpark: string;
105
105
  FLAction: string;
106
- FLActionTEMP: string;
107
106
  FLUniV3: string;
108
107
  FLGho: string;
109
108
  FLMorphoBlue: string;
@@ -246,7 +245,6 @@ export declare const actionAddresses: {
246
245
  FLAaveV3: string;
247
246
  FLBalancer: string;
248
247
  FLAction: string;
249
- FLActionTEMP: string;
250
248
  AaveV3RatioTrigger: string;
251
249
  GasFeeTakerL2: string;
252
250
  AaveV3RatioCheck: string;
@@ -468,7 +466,6 @@ export declare const actionAddresses: {
468
466
  FLBalancer: string;
469
467
  FLUniV3: string;
470
468
  FLAction: string;
471
- FLActionTEMP: string;
472
469
  GasFeeTakerL2: string;
473
470
  AaveV3RatioCheck: string;
474
471
  UniCollectV3: string;
@@ -662,7 +659,6 @@ export declare const actionAddresses: {
662
659
  FLBalancer: string;
663
660
  FLUniV3: string;
664
661
  FLAction: string;
665
- FLActionTEMP: string;
666
662
  FLMorphoBlue: string;
667
663
  AaveV3Withdraw: string;
668
664
  AaveV3SwapBorrowRateMode: string;
@@ -116,7 +116,6 @@ export const actionAddresses = {
116
116
  FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
117
117
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
118
118
  FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
119
- FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
120
119
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
121
120
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
122
121
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -276,7 +275,6 @@ export const actionAddresses = {
276
275
  FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
277
276
  FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
278
277
  FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
279
- FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
280
278
  AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
281
279
  GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
282
280
  AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
@@ -337,7 +335,6 @@ export const actionAddresses = {
337
335
  FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
338
336
  FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
339
337
  FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
340
- FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
341
338
  GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
342
339
  AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
343
340
  // uniswap V3
@@ -378,7 +375,6 @@ export const actionAddresses = {
378
375
  FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
379
376
  FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
380
377
  FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
381
- FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
382
378
  FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
383
379
  // AaveV3
384
380
  AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
@@ -114,7 +114,6 @@ declare const actionAddressesAllChains: {
114
114
  FLBalancer: string;
115
115
  FLSpark: string;
116
116
  FLAction: string;
117
- FLActionTEMP: string;
118
117
  FLUniV3: string;
119
118
  FLGho: string;
120
119
  FLMorphoBlue: string;
@@ -257,7 +256,6 @@ declare const actionAddressesAllChains: {
257
256
  FLAaveV3: string;
258
257
  FLBalancer: string;
259
258
  FLAction: string;
260
- FLActionTEMP: string;
261
259
  AaveV3RatioTrigger: string;
262
260
  GasFeeTakerL2: string;
263
261
  AaveV3RatioCheck: string;
@@ -479,7 +477,6 @@ declare const actionAddressesAllChains: {
479
477
  FLBalancer: string;
480
478
  FLUniV3: string;
481
479
  FLAction: string;
482
- FLActionTEMP: string;
483
480
  GasFeeTakerL2: string;
484
481
  AaveV3RatioCheck: string;
485
482
  UniCollectV3: string;
@@ -673,7 +670,6 @@ declare const actionAddressesAllChains: {
673
670
  FLBalancer: string;
674
671
  FLUniV3: string;
675
672
  FLAction: string;
676
- FLActionTEMP: string;
677
673
  FLMorphoBlue: string;
678
674
  AaveV3Withdraw: string;
679
675
  AaveV3SwapBorrowRateMode: string;
@@ -976,7 +972,6 @@ declare const actionAddresses: (chainId?: null) => {
976
972
  FLBalancer: string;
977
973
  FLSpark: string;
978
974
  FLAction: string;
979
- FLActionTEMP: string;
980
975
  FLUniV3: string;
981
976
  FLGho: string;
982
977
  FLMorphoBlue: string;
@@ -1119,7 +1114,6 @@ declare const actionAddresses: (chainId?: null) => {
1119
1114
  FLAaveV3: string;
1120
1115
  FLBalancer: string;
1121
1116
  FLAction: string;
1122
- FLActionTEMP: string;
1123
1117
  AaveV3RatioTrigger: string;
1124
1118
  GasFeeTakerL2: string;
1125
1119
  AaveV3RatioCheck: string;
@@ -1341,7 +1335,6 @@ declare const actionAddresses: (chainId?: null) => {
1341
1335
  FLBalancer: string;
1342
1336
  FLUniV3: string;
1343
1337
  FLAction: string;
1344
- FLActionTEMP: string;
1345
1338
  GasFeeTakerL2: string;
1346
1339
  AaveV3RatioCheck: string;
1347
1340
  UniCollectV3: string;
@@ -1535,7 +1528,6 @@ declare const actionAddresses: (chainId?: null) => {
1535
1528
  FLBalancer: string;
1536
1529
  FLUniV3: string;
1537
1530
  FLAction: string;
1538
- FLActionTEMP: string;
1539
1531
  FLMorphoBlue: string;
1540
1532
  AaveV3Withdraw: string;
1541
1533
  AaveV3SwapBorrowRateMode: string;
@@ -1981,7 +1973,6 @@ declare const _default: {
1981
1973
  FLBalancer: string;
1982
1974
  FLSpark: string;
1983
1975
  FLAction: string;
1984
- FLActionTEMP: string;
1985
1976
  FLUniV3: string;
1986
1977
  FLGho: string;
1987
1978
  FLMorphoBlue: string;
@@ -2124,7 +2115,6 @@ declare const _default: {
2124
2115
  FLAaveV3: string;
2125
2116
  FLBalancer: string;
2126
2117
  FLAction: string;
2127
- FLActionTEMP: string;
2128
2118
  AaveV3RatioTrigger: string;
2129
2119
  GasFeeTakerL2: string;
2130
2120
  AaveV3RatioCheck: string;
@@ -2346,7 +2336,6 @@ declare const _default: {
2346
2336
  FLBalancer: string;
2347
2337
  FLUniV3: string;
2348
2338
  FLAction: string;
2349
- FLActionTEMP: string;
2350
2339
  GasFeeTakerL2: string;
2351
2340
  AaveV3RatioCheck: string;
2352
2341
  UniCollectV3: string;
@@ -2540,7 +2529,6 @@ declare const _default: {
2540
2529
  FLBalancer: string;
2541
2530
  FLUniV3: string;
2542
2531
  FLAction: string;
2543
- FLActionTEMP: string;
2544
2532
  FLMorphoBlue: string;
2545
2533
  AaveV3Withdraw: string;
2546
2534
  AaveV3SwapBorrowRateMode: string;
@@ -2843,7 +2831,6 @@ declare const _default: {
2843
2831
  FLBalancer: string;
2844
2832
  FLSpark: string;
2845
2833
  FLAction: string;
2846
- FLActionTEMP: string;
2847
2834
  FLUniV3: string;
2848
2835
  FLGho: string;
2849
2836
  FLMorphoBlue: string;
@@ -2986,7 +2973,6 @@ declare const _default: {
2986
2973
  FLAaveV3: string;
2987
2974
  FLBalancer: string;
2988
2975
  FLAction: string;
2989
- FLActionTEMP: string;
2990
2976
  AaveV3RatioTrigger: string;
2991
2977
  GasFeeTakerL2: string;
2992
2978
  AaveV3RatioCheck: string;
@@ -3208,7 +3194,6 @@ declare const _default: {
3208
3194
  FLBalancer: string;
3209
3195
  FLUniV3: string;
3210
3196
  FLAction: string;
3211
- FLActionTEMP: string;
3212
3197
  GasFeeTakerL2: string;
3213
3198
  AaveV3RatioCheck: string;
3214
3199
  UniCollectV3: string;
@@ -3402,7 +3387,6 @@ declare const _default: {
3402
3387
  FLBalancer: string;
3403
3388
  FLUniV3: string;
3404
3389
  FLAction: string;
3405
- FLActionTEMP: string;
3406
3390
  FLMorphoBlue: string;
3407
3391
  AaveV3Withdraw: string;
3408
3392
  AaveV3SwapBorrowRateMode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -13,6 +13,6 @@ export class FLPaybackAction extends SendTokenAction {
13
13
  * @param tokenAddr
14
14
  */
15
15
  constructor(loanAmount: uint256, tokenAddr: EthAddress) {
16
- super(tokenAddr, getAddr('FLActionTEMP'), loanAmount);
16
+ super(tokenAddr, getAddr('FLAction'), loanAmount);
17
17
  }
18
18
  }
package/src/addresses.ts CHANGED
@@ -128,8 +128,7 @@ export const actionAddresses = {
128
128
  FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
129
129
  FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
130
130
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
131
- FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910', // temp fixed
132
- FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
131
+ FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
133
132
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
134
133
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
135
134
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -316,9 +315,7 @@ export const actionAddresses = {
316
315
  FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
317
316
  FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
318
317
  FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
319
- FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9', // temp fixed
320
- FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
321
-
318
+ FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
322
319
 
323
320
  AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
324
321
  GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
@@ -386,8 +383,7 @@ export const actionAddresses = {
386
383
  FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
387
384
  FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
388
385
  FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3', // @DEV - incorrect, same as FLAction
389
- FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3', // temp fixed
390
- FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
386
+ FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
391
387
 
392
388
  GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
393
389
  AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
@@ -432,7 +428,6 @@ export const actionAddresses = {
432
428
  FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
433
429
  FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
434
430
  FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4', // fix temp
435
- FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
436
431
  FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
437
432
 
438
433
  // AaveV3
package/umd/index.js CHANGED
@@ -1310,8 +1310,6 @@ var actionAddresses = {
1310
1310
  FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
1311
1311
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
1312
1312
  FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
1313
- // temp fixed
1314
- FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
1315
1313
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
1316
1314
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
1317
1315
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -1471,8 +1469,6 @@ var actionAddresses = {
1471
1469
  FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
1472
1470
  FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
1473
1471
  FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
1474
- // temp fixed
1475
- FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
1476
1472
  AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
1477
1473
  GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
1478
1474
  AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
@@ -1534,8 +1530,6 @@ var actionAddresses = {
1534
1530
  FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
1535
1531
  // @DEV - incorrect, same as FLAction
1536
1532
  FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
1537
- // temp fixed
1538
- FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
1539
1533
  GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
1540
1534
  AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
1541
1535
  // uniswap V3
@@ -1577,7 +1571,6 @@ var actionAddresses = {
1577
1571
  FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
1578
1572
  FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
1579
1573
  // fix temp
1580
- FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
1581
1574
  FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
1582
1575
  // AaveV3
1583
1576
  AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
@@ -5386,7 +5379,7 @@ class FLPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.SendTokenActio
5386
5379
  * @param tokenAddr
5387
5380
  */
5388
5381
  constructor(loanAmount, tokenAddr) {
5389
- super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLActionTEMP'), loanAmount);
5382
+ super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLAction'), loanAmount);
5390
5383
  }
5391
5384
  }
5392
5385