@defisaver/sdk 1.0.35 → 1.0.37

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 (112) hide show
  1. package/esm/src/actions/basic/SDaiUnwrapAction.d.ts +15 -0
  2. package/esm/src/actions/basic/SDaiUnwrapAction.js +24 -0
  3. package/esm/src/actions/basic/SDaiWrapAction.d.ts +15 -0
  4. package/esm/src/actions/basic/SDaiWrapAction.js +24 -0
  5. package/esm/src/actions/basic/index.d.ts +2 -0
  6. package/esm/src/actions/basic/index.js +2 -0
  7. package/esm/src/actions/checkers/SparkRatioCheckAction.d.ts +14 -0
  8. package/esm/src/actions/checkers/SparkRatioCheckAction.js +20 -0
  9. package/esm/src/actions/checkers/index.d.ts +1 -0
  10. package/esm/src/actions/checkers/index.js +1 -0
  11. package/esm/src/actions/curveusd/CurveUsdBorrowAction.d.ts +15 -0
  12. package/esm/src/actions/curveusd/CurveUsdBorrowAction.js +22 -0
  13. package/esm/src/actions/curveusd/CurveUsdCreateAction.d.ts +22 -0
  14. package/esm/src/actions/curveusd/CurveUsdCreateAction.js +44 -0
  15. package/esm/src/actions/curveusd/CurveUsdLevCreateAction.d.ts +9 -0
  16. package/esm/src/actions/curveusd/CurveUsdLevCreateAction.js +16 -0
  17. package/esm/src/actions/curveusd/CurveUsdPaybackAction.d.ts +22 -0
  18. package/esm/src/actions/curveusd/CurveUsdPaybackAction.js +43 -0
  19. package/esm/src/actions/curveusd/CurveUsdRepayAction.d.ts +9 -0
  20. package/esm/src/actions/curveusd/CurveUsdRepayAction.js +14 -0
  21. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.d.ts +19 -0
  22. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.js +38 -0
  23. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.d.ts +9 -0
  24. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.js +16 -0
  25. package/esm/src/actions/curveusd/CurveUsdSupplyAction.d.ts +20 -0
  26. package/esm/src/actions/curveusd/CurveUsdSupplyAction.js +40 -0
  27. package/esm/src/actions/curveusd/CurveUsdWithdrawAction.d.ts +15 -0
  28. package/esm/src/actions/curveusd/CurveUsdWithdrawAction.js +22 -0
  29. package/esm/src/actions/curveusd/index.d.ts +9 -0
  30. package/esm/src/actions/curveusd/index.js +9 -0
  31. package/esm/src/actions/flashloan/FLAction.js +8 -2
  32. package/esm/src/actions/flashloan/SparkFlashLoanAction.d.ts +18 -0
  33. package/esm/src/actions/flashloan/SparkFlashLoanAction.js +20 -0
  34. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.d.ts +14 -0
  35. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.js +16 -0
  36. package/esm/src/actions/flashloan/index.d.ts +2 -0
  37. package/esm/src/actions/flashloan/index.js +2 -0
  38. package/esm/src/actions/index.d.ts +3 -1
  39. package/esm/src/actions/index.js +3 -1
  40. package/esm/src/actions/spark/SparkBorrowAction.d.ts +21 -0
  41. package/esm/src/actions/spark/SparkBorrowAction.js +59 -0
  42. package/esm/src/actions/spark/SparkClaimRewardsAction.d.ts +18 -0
  43. package/esm/src/actions/spark/SparkClaimRewardsAction.js +40 -0
  44. package/esm/src/actions/spark/SparkCollateralSwitchAction.d.ts +18 -0
  45. package/esm/src/actions/spark/SparkCollateralSwitchAction.js +39 -0
  46. package/esm/src/actions/spark/SparkPaybackAction.d.ts +27 -0
  47. package/esm/src/actions/spark/SparkPaybackAction.js +77 -0
  48. package/esm/src/actions/spark/SparkSetEModeAction.d.ts +16 -0
  49. package/esm/src/actions/spark/SparkSetEModeAction.js +33 -0
  50. package/esm/src/actions/spark/SparkSpTokenPaybackAction.d.ts +25 -0
  51. package/esm/src/actions/spark/SparkSpTokenPaybackAction.js +64 -0
  52. package/esm/src/actions/spark/SparkSupplyAction.d.ts +27 -0
  53. package/esm/src/actions/spark/SparkSupplyAction.js +77 -0
  54. package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.d.ts +18 -0
  55. package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.js +38 -0
  56. package/esm/src/actions/spark/SparkWithdrawAction.d.ts +18 -0
  57. package/esm/src/actions/spark/SparkWithdrawAction.js +45 -0
  58. package/esm/src/actions/spark/index.d.ts +9 -0
  59. package/esm/src/actions/spark/index.js +9 -0
  60. package/esm/src/addresses.d.ts +66 -0
  61. package/esm/src/addresses.js +24 -0
  62. package/esm/src/index.d.ts +264 -0
  63. package/esm/src/triggers/SparkQuotePriceTrigger.d.ts +10 -0
  64. package/esm/src/triggers/SparkQuotePriceTrigger.js +12 -0
  65. package/esm/src/triggers/SparkRatioTrigger.d.ts +10 -0
  66. package/esm/src/triggers/SparkRatioTrigger.js +12 -0
  67. package/esm/src/triggers/index.d.ts +2 -0
  68. package/esm/src/triggers/index.js +2 -0
  69. package/esm/src/types.d.ts +3 -1
  70. package/esm/src/utils/curveusd-utils.d.ts +20 -0
  71. package/esm/src/utils/curveusd-utils.js +12 -0
  72. package/esm/src/utils/index.d.ts +2 -1
  73. package/esm/src/utils/index.js +2 -1
  74. package/package.json +1 -1
  75. package/src/actions/basic/SDaiUnwrapAction.ts +32 -0
  76. package/src/actions/basic/SDaiWrapAction.ts +32 -0
  77. package/src/actions/basic/index.ts +2 -0
  78. package/src/actions/checkers/SparkRatioCheckAction.ts +23 -0
  79. package/src/actions/checkers/index.ts +2 -1
  80. package/src/actions/curveusd/CurveUsdBorrowAction.ts +34 -0
  81. package/src/actions/curveusd/CurveUsdCreateAction.ts +49 -0
  82. package/src/actions/curveusd/CurveUsdLevCreateAction.ts +40 -0
  83. package/src/actions/curveusd/CurveUsdPaybackAction.ts +48 -0
  84. package/src/actions/curveusd/CurveUsdRepayAction.ts +36 -0
  85. package/src/actions/curveusd/CurveUsdSelfLiquidateAction.ts +41 -0
  86. package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.ts +40 -0
  87. package/src/actions/curveusd/CurveUsdSupplyAction.ts +44 -0
  88. package/src/actions/curveusd/CurveUsdWithdrawAction.ts +34 -0
  89. package/src/actions/curveusd/index.ts +10 -0
  90. package/src/actions/flashloan/FLAction.ts +8 -2
  91. package/src/actions/flashloan/SparkFlashLoanAction.ts +27 -0
  92. package/src/actions/flashloan/SparkFlashLoanPaybackAction.ts +18 -0
  93. package/src/actions/flashloan/index.ts +2 -0
  94. package/src/actions/index.ts +4 -0
  95. package/src/actions/spark/SparkBorrowAction.ts +68 -0
  96. package/src/actions/spark/SparkClaimRewardsAction.ts +50 -0
  97. package/src/actions/spark/SparkCollateralSwitchAction.ts +47 -0
  98. package/src/actions/spark/SparkPaybackAction.ts +77 -0
  99. package/src/actions/spark/SparkSetEModeAction.ts +40 -0
  100. package/src/actions/spark/SparkSpTokenPaybackAction.ts +64 -0
  101. package/src/actions/spark/SparkSupplyAction.ts +75 -0
  102. package/src/actions/spark/SparkSwapBorrowRateModeAction.ts +46 -0
  103. package/src/actions/spark/SparkWithdrawAction.ts +53 -0
  104. package/src/actions/spark/index.ts +9 -0
  105. package/src/addresses.ts +27 -0
  106. package/src/triggers/SparkQuotePriceTrigger.ts +14 -0
  107. package/src/triggers/SparkRatioTrigger.ts +14 -0
  108. package/src/triggers/index.ts +2 -0
  109. package/src/types.ts +3 -1
  110. package/src/utils/curveusd-utils.ts +15 -0
  111. package/src/utils/index.ts +2 -0
  112. package/umd/index.js +1625 -392
@@ -0,0 +1,18 @@
1
+ import { ActionWithL2 } from '../../ActionWithL2';
2
+ import { EthAddress, uint16, uint256 } from '../../types';
3
+ /**
4
+ * SparkSwapBorrowRateModeAction - Swaps proxy positions borrow rate mode between stable and variable.
5
+ *
6
+ * @category Spark
7
+ */
8
+ export declare class SparkSwapBorrowRateModeAction extends ActionWithL2 {
9
+ /**
10
+ * @param useDefaultMarket If this is true it defaults to the hardcoded market in contract
11
+ * @param market Address provider for specific market
12
+ * @param rateMode rate mode the user is swapping from.[Stable: 1, Variable: 2]
13
+ * @param assetId id of the underlying asset in the market
14
+ *
15
+ */
16
+ constructor(useDefaultMarket: boolean, market: EthAddress, rateMode: uint256, assetId: uint16);
17
+ encodeInputs(): string;
18
+ }
@@ -0,0 +1,38 @@
1
+ import { ActionWithL2 } from '../../ActionWithL2';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * SparkSwapBorrowRateModeAction - Swaps proxy positions borrow rate mode between stable and variable.
5
+ *
6
+ * @category Spark
7
+ */
8
+ export class SparkSwapBorrowRateModeAction extends ActionWithL2 {
9
+ /**
10
+ * @param useDefaultMarket If this is true it defaults to the hardcoded market in contract
11
+ * @param market Address provider for specific market
12
+ * @param rateMode rate mode the user is swapping from.[Stable: 1, Variable: 2]
13
+ * @param assetId id of the underlying asset in the market
14
+ *
15
+ */
16
+ constructor(useDefaultMarket, market, rateMode, assetId) {
17
+ super('SparkSwapBorrowRateMode', getAddr('SparkSwapBorrowRateMode'), ['uint256', 'uint16', 'bool', 'address'], [rateMode, assetId, useDefaultMarket, market]);
18
+ this.mappableArgs = [
19
+ this.args[0][0],
20
+ this.args[3],
21
+ ];
22
+ }
23
+ encodeInputs() {
24
+ // executeActionDirectL2
25
+ let encodedInput = '0x2895f3aa';
26
+ // rateMode
27
+ encodedInput = encodedInput.concat(this.numberToBytes32(this.args[0]));
28
+ // assetId
29
+ encodedInput = encodedInput.concat(this.numberToBytes2(this.args[1]));
30
+ // useOnDefaultMarket
31
+ encodedInput = encodedInput.concat(this.boolToBytes1(this.args[2]));
32
+ if (!this.args[2]) {
33
+ // market
34
+ encodedInput = encodedInput.concat(this.addressToBytes20(this.args[3]));
35
+ }
36
+ return encodedInput;
37
+ }
38
+ }
@@ -0,0 +1,18 @@
1
+ import { ActionWithL2 } from '../../ActionWithL2';
2
+ import { EthAddress, uint16, uint256 } from '../../types';
3
+ /**
4
+ * SparkWithdrawAction - Withdraw a previously supplied token from a position in Spark
5
+ *
6
+ * @category Spark
7
+ */
8
+ export declare class SparkWithdrawAction extends ActionWithL2 {
9
+ /**
10
+ * @param useDefaultMarket If this is true it defaults to the hardcoded market in contract
11
+ * @param market Address provider for specific market
12
+ * @param amount Amount of tokens to be withdrawn -> send type(uint).max for whole amount
13
+ * @param to Where the withdrawn tokens will be sent
14
+ * @param assetId The id of the token to be deposited
15
+ */
16
+ constructor(useDefaultMarket: boolean, market: EthAddress, amount: uint256, to: EthAddress, assetId: uint16);
17
+ encodeInputs(): string;
18
+ }
@@ -0,0 +1,45 @@
1
+ import { ActionWithL2 } from '../../ActionWithL2';
2
+ import { getAddr } from '../../addresses';
3
+ import { requireAddress } from '../../utils/general';
4
+ /**
5
+ * SparkWithdrawAction - Withdraw a previously supplied token from a position in Spark
6
+ *
7
+ * @category Spark
8
+ */
9
+ export class SparkWithdrawAction extends ActionWithL2 {
10
+ /**
11
+ * @param useDefaultMarket If this is true it defaults to the hardcoded market in contract
12
+ * @param market Address provider for specific market
13
+ * @param amount Amount of tokens to be withdrawn -> send type(uint).max for whole amount
14
+ * @param to Where the withdrawn tokens will be sent
15
+ * @param assetId The id of the token to be deposited
16
+ */
17
+ constructor(useDefaultMarket, market, amount, to, assetId) {
18
+ requireAddress(to);
19
+ super('SparkWithdraw', getAddr('SparkWithdraw'), ['uint16', 'bool', 'uint256', 'address', 'address'], [assetId, useDefaultMarket, amount, to, market]);
20
+ this.mappableArgs = [
21
+ this.args[0],
22
+ this.args[1],
23
+ this.args[2],
24
+ this.args[3],
25
+ this.args[4],
26
+ ];
27
+ }
28
+ encodeInputs() {
29
+ // executeActionDirectL2
30
+ let encodedInput = '0x2895f3aa';
31
+ // assetId
32
+ encodedInput = encodedInput.concat(this.numberToBytes2(this.args[0]));
33
+ // useOnDefaultMarket
34
+ encodedInput = encodedInput.concat(this.boolToBytes1(this.args[1]));
35
+ // amount
36
+ encodedInput = encodedInput.concat(this.numberToBytes32(this.args[2]));
37
+ // from
38
+ encodedInput = encodedInput.concat(this.addressToBytes20(this.args[3]));
39
+ if (!this.args[1]) {
40
+ // market
41
+ encodedInput = encodedInput.concat(this.addressToBytes20(this.args[4]));
42
+ }
43
+ return encodedInput;
44
+ }
45
+ }
@@ -0,0 +1,9 @@
1
+ export * from './SparkSupplyAction';
2
+ export * from './SparkBorrowAction';
3
+ export * from './SparkPaybackAction';
4
+ export * from './SparkWithdrawAction';
5
+ export * from './SparkSetEModeAction';
6
+ export * from './SparkSpTokenPaybackAction';
7
+ export * from './SparkCollateralSwitchAction';
8
+ export * from './SparkClaimRewardsAction';
9
+ export * from './SparkSwapBorrowRateModeAction';
@@ -0,0 +1,9 @@
1
+ export * from './SparkSupplyAction';
2
+ export * from './SparkBorrowAction';
3
+ export * from './SparkPaybackAction';
4
+ export * from './SparkWithdrawAction';
5
+ export * from './SparkSetEModeAction';
6
+ export * from './SparkSpTokenPaybackAction';
7
+ export * from './SparkCollateralSwitchAction';
8
+ export * from './SparkClaimRewardsAction';
9
+ export * from './SparkSwapBorrowRateModeAction';
@@ -15,6 +15,8 @@ export declare const actionAddresses: {
15
15
  UpdateSub: string;
16
16
  TransferNFT: string;
17
17
  CreateSub: string;
18
+ SDaiWrap: string;
19
+ SDaiUnwrap: string;
18
20
  DFSSell: string;
19
21
  McdGenerate: string;
20
22
  McdGive: string;
@@ -59,6 +61,15 @@ export declare const actionAddresses: {
59
61
  MorphoAaveV3Payback: string;
60
62
  MorphoAaveV3Supply: string;
61
63
  MorphoAaveV3Withdraw: string;
64
+ SparkBorrow: string;
65
+ SparkClaimRewards: string;
66
+ SparkCollateralSwitch: string;
67
+ SparkPayback: string;
68
+ SparkSetEMode: string;
69
+ SparkSpTokenPayback: string;
70
+ SparkSupply: string;
71
+ SparkSwapBorrowRateMode: string;
72
+ SparkWithdraw: string;
62
73
  CompBorrow: string;
63
74
  CompClaim: string;
64
75
  CompPayback: string;
@@ -72,6 +83,7 @@ export declare const actionAddresses: {
72
83
  FLDyDx: string;
73
84
  FLMaker: string;
74
85
  FLBalancer: string;
86
+ FLSpark: string;
75
87
  FLAction: string;
76
88
  FLUniV3: string;
77
89
  FLGho: string;
@@ -144,6 +156,16 @@ export declare const actionAddresses: {
144
156
  CompV3Supply: string;
145
157
  CompV3Transfer: string;
146
158
  CompV3Withdraw: string;
159
+ CurveUsdBorrow: string;
160
+ CurveUsdCreate: string;
161
+ CurveUsdPayback: string;
162
+ CurveUsdSupply: string;
163
+ CurveUsdWithdraw: string;
164
+ CurveUsdLevCreate: string;
165
+ CurveUsdRepay: string;
166
+ CurveUsdSwapper: string;
167
+ CurveUsdSelfLiquidate: string;
168
+ CurveUsdSelfLiquidateWithColl: string;
147
169
  AaveV3RatioTrigger?: undefined;
148
170
  GasFeeTakerL2?: undefined;
149
171
  AaveV3RatioCheck?: undefined;
@@ -184,6 +206,8 @@ export declare const actionAddresses: {
184
206
  UpdateSub?: undefined;
185
207
  TransferNFT?: undefined;
186
208
  CreateSub?: undefined;
209
+ SDaiWrap?: undefined;
210
+ SDaiUnwrap?: undefined;
187
211
  McdGenerate?: undefined;
188
212
  McdGive?: undefined;
189
213
  McdMerge?: undefined;
@@ -218,6 +242,15 @@ export declare const actionAddresses: {
218
242
  MorphoAaveV3Payback?: undefined;
219
243
  MorphoAaveV3Supply?: undefined;
220
244
  MorphoAaveV3Withdraw?: undefined;
245
+ SparkBorrow?: undefined;
246
+ SparkClaimRewards?: undefined;
247
+ SparkCollateralSwitch?: undefined;
248
+ SparkPayback?: undefined;
249
+ SparkSetEMode?: undefined;
250
+ SparkSpTokenPayback?: undefined;
251
+ SparkSupply?: undefined;
252
+ SparkSwapBorrowRateMode?: undefined;
253
+ SparkWithdraw?: undefined;
221
254
  CompBorrow?: undefined;
222
255
  CompClaim?: undefined;
223
256
  CompPayback?: undefined;
@@ -228,6 +261,7 @@ export declare const actionAddresses: {
228
261
  FLAaveV2?: undefined;
229
262
  FLDyDx?: undefined;
230
263
  FLMaker?: undefined;
264
+ FLSpark?: undefined;
231
265
  FLUniV3?: undefined;
232
266
  FLGho?: undefined;
233
267
  UniSupply?: undefined;
@@ -294,6 +328,16 @@ export declare const actionAddresses: {
294
328
  CompV3Supply?: undefined;
295
329
  CompV3Transfer?: undefined;
296
330
  CompV3Withdraw?: undefined;
331
+ CurveUsdBorrow?: undefined;
332
+ CurveUsdCreate?: undefined;
333
+ CurveUsdPayback?: undefined;
334
+ CurveUsdSupply?: undefined;
335
+ CurveUsdWithdraw?: undefined;
336
+ CurveUsdLevCreate?: undefined;
337
+ CurveUsdRepay?: undefined;
338
+ CurveUsdSwapper?: undefined;
339
+ CurveUsdSelfLiquidate?: undefined;
340
+ CurveUsdSelfLiquidateWithColl?: undefined;
297
341
  } | {
298
342
  DFSSell: string;
299
343
  WrapEth: string;
@@ -329,6 +373,8 @@ export declare const actionAddresses: {
329
373
  UpdateSub?: undefined;
330
374
  TransferNFT?: undefined;
331
375
  CreateSub?: undefined;
376
+ SDaiWrap?: undefined;
377
+ SDaiUnwrap?: undefined;
332
378
  McdGenerate?: undefined;
333
379
  McdGive?: undefined;
334
380
  McdMerge?: undefined;
@@ -364,6 +410,15 @@ export declare const actionAddresses: {
364
410
  MorphoAaveV3Payback?: undefined;
365
411
  MorphoAaveV3Supply?: undefined;
366
412
  MorphoAaveV3Withdraw?: undefined;
413
+ SparkBorrow?: undefined;
414
+ SparkClaimRewards?: undefined;
415
+ SparkCollateralSwitch?: undefined;
416
+ SparkPayback?: undefined;
417
+ SparkSetEMode?: undefined;
418
+ SparkSpTokenPayback?: undefined;
419
+ SparkSupply?: undefined;
420
+ SparkSwapBorrowRateMode?: undefined;
421
+ SparkWithdraw?: undefined;
367
422
  CompBorrow?: undefined;
368
423
  CompClaim?: undefined;
369
424
  CompPayback?: undefined;
@@ -374,6 +429,7 @@ export declare const actionAddresses: {
374
429
  FLAaveV2?: undefined;
375
430
  FLDyDx?: undefined;
376
431
  FLMaker?: undefined;
432
+ FLSpark?: undefined;
377
433
  FLUniV3?: undefined;
378
434
  FLGho?: undefined;
379
435
  UniSupply?: undefined;
@@ -440,6 +496,16 @@ export declare const actionAddresses: {
440
496
  CompV3Supply?: undefined;
441
497
  CompV3Transfer?: undefined;
442
498
  CompV3Withdraw?: undefined;
499
+ CurveUsdBorrow?: undefined;
500
+ CurveUsdCreate?: undefined;
501
+ CurveUsdPayback?: undefined;
502
+ CurveUsdSupply?: undefined;
503
+ CurveUsdWithdraw?: undefined;
504
+ CurveUsdLevCreate?: undefined;
505
+ CurveUsdRepay?: undefined;
506
+ CurveUsdSwapper?: undefined;
507
+ CurveUsdSelfLiquidate?: undefined;
508
+ CurveUsdSelfLiquidateWithColl?: undefined;
443
509
  AaveV3RatioTrigger?: undefined;
444
510
  };
445
511
  };
@@ -16,6 +16,8 @@ export const actionAddresses = {
16
16
  UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
17
17
  TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
18
18
  CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
19
+ SDaiWrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
20
+ SDaiUnwrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
19
21
  // exchange
20
22
  DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
21
23
  // maker
@@ -68,6 +70,16 @@ export const actionAddresses = {
68
70
  MorphoAaveV3Payback: '0x36b8b968c81D97cBfAa642e206b634A6f378d287',
69
71
  MorphoAaveV3Supply: '0x51fA8FBc6F0aDEfe2FBA06104FCA39f5beD69291',
70
72
  MorphoAaveV3Withdraw: '0xdc3e74C4cD577275296ceFE36A3D082223AfF206',
73
+ // spark
74
+ SparkBorrow: '0x3E2C366065bA0f6f9936C2C6A802D72F250b27AA',
75
+ SparkClaimRewards: '0x9C3E31f42a46676785C72401cD4F2287b355b003',
76
+ SparkCollateralSwitch: '0xA859Dff8BCEE9C6daaEF5d0eCCb25219Da4B62b4',
77
+ SparkPayback: '0x3a0F7Ca5cCf15aF19147F71de5fc84DC195f149f',
78
+ SparkSetEMode: '0x2252a83Da69A237686eD9AC07a38DDA74ec7cE5f',
79
+ SparkSpTokenPayback: '0x57403bB33A4829EBf5935D39eD08F19282F61d9c',
80
+ SparkSupply: '0x9e1d7AAA55D83D36d55BF11cAe4d922aF52B6eF0',
81
+ SparkSwapBorrowRateMode: '0x71B0687C7ec0286dc3cfb715fe97249604aC898f',
82
+ SparkWithdraw: '0x1e3187D89e79B5c411D710E0fdF2709517852600',
71
83
  // compound
72
84
  CompBorrow: '0x8495579BF6Ae848f7E59686536F834f1d2CCd79C',
73
85
  CompClaim: '0x81F488cF7A0128A9DB5e7207042cCAB1CB0ac902',
@@ -83,6 +95,7 @@ export const actionAddresses = {
83
95
  FLDyDx: '0x08AC78B418fCB0DDF1096533856A757C28d430d7',
84
96
  FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
85
97
  FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
98
+ FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
86
99
  FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
87
100
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
88
101
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
@@ -171,6 +184,17 @@ export const actionAddresses = {
171
184
  CompV3Supply: '0xaF36Eca43bb26468078B8163fe5Bc1fCFc292095',
172
185
  CompV3Transfer: '0xeD7450e9C17146476137b77198DFfB17857906c4',
173
186
  CompV3Withdraw: '0x0b0F21EDE32DE4243D9145a899E97FC2366Aec46',
187
+ // crvUSD
188
+ CurveUsdBorrow: '0x2512A976227a82Ef0F6bDdb463cBcD5B732596BF',
189
+ CurveUsdCreate: '0x715B40970dac1cfAf0bB85C4Fe64921b44b3f73e',
190
+ CurveUsdPayback: '0xbcAd628159ab0f3d7F391dBb4c3553aFCD61CA80',
191
+ CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
192
+ CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
193
+ CurveUsdLevCreate: '0x8B5ACd4ce0a43327aaDfc5c42be029898e242393',
194
+ CurveUsdRepay: '0xDaDFC60207C17be005ECf2B03f3B31885D22F908',
195
+ CurveUsdSwapper: '0xFa2dfE6AF842e3184D305a85d09cfcf220ed4CBd',
196
+ CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
197
+ CurveUsdSelfLiquidateWithColl: '0x6d02300C1A68c63C60AFD713b744bA750aB33aB0',
174
198
  },
175
199
  [NETWORKS.optimism.chainId]: {
176
200
  DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',