@defisaver/sdk 1.0.67-dev-3 → 1.0.67

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 (31) hide show
  1. package/esm/src/actions/basic/SellAction.js +1 -1
  2. package/esm/src/actions/basic/index.d.ts +0 -3
  3. package/esm/src/actions/basic/index.js +0 -3
  4. package/esm/src/actions/flashloan/FLAction.js +1 -1
  5. package/esm/src/actions/maker/MakerGiveAction.d.ts +2 -1
  6. package/esm/src/actions/maker/MakerGiveAction.js +3 -2
  7. package/esm/src/addresses.d.ts +1 -9
  8. package/esm/src/addresses.js +7 -16
  9. package/esm/src/index.d.ts +4 -36
  10. package/esm/src/triggers/index.d.ts +0 -1
  11. package/esm/src/triggers/index.js +0 -1
  12. package/package.json +1 -1
  13. package/src/actions/basic/SellAction.ts +2 -2
  14. package/src/actions/basic/index.ts +0 -3
  15. package/src/actions/flashloan/FLAction.ts +2 -2
  16. package/src/actions/maker/MakerGiveAction.ts +3 -2
  17. package/src/addresses.ts +7 -16
  18. package/src/triggers/index.ts +0 -2
  19. package/umd/index.js +497 -693
  20. package/esm/src/actions/basic/ExecuteSafeTxAction.d.ts +0 -23
  21. package/esm/src/actions/basic/ExecuteSafeTxAction.js +0 -60
  22. package/esm/src/actions/basic/LimitSellAction.d.ts +0 -24
  23. package/esm/src/actions/basic/LimitSellAction.js +0 -63
  24. package/esm/src/actions/basic/RemoveTokenApprovalAction.d.ts +0 -15
  25. package/esm/src/actions/basic/RemoveTokenApprovalAction.js +0 -42
  26. package/esm/src/triggers/OffchainPriceTrigger.d.ts +0 -10
  27. package/esm/src/triggers/OffchainPriceTrigger.js +0 -12
  28. package/src/actions/basic/ExecuteSafeTxAction.ts +0 -85
  29. package/src/actions/basic/LimitSellAction.ts +0 -63
  30. package/src/actions/basic/RemoveTokenApprovalAction.ts +0 -39
  31. package/src/triggers/OffchainPriceTrigger.ts +0 -14
@@ -27,7 +27,7 @@ export class SellAction extends ActionWithL2 {
27
27
  */
28
28
  constructor(exchangeOrder, from, to, protocolFee = '0') {
29
29
  requireAddress(to);
30
- super('DFSSellTEMP', getAddr('DFSSellTEMP'), [
30
+ super('DFSSell', getAddr('DFSSell'), [
31
31
  ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
32
32
  'address',
33
33
  'address',
@@ -24,6 +24,3 @@ export * from './TokenizedVaultAdapterDepositAction';
24
24
  export * from './TokenizedVaultAdapterMintAction';
25
25
  export * from './TokenizedVaultAdapterRedeemAction';
26
26
  export * from './TokenizedVaultAdapterWithdrawAction';
27
- export * from './LimitSellAction';
28
- export * from './ExecuteSafeTxAction';
29
- export * from './RemoveTokenApprovalAction';
@@ -24,6 +24,3 @@ export * from './TokenizedVaultAdapterDepositAction';
24
24
  export * from './TokenizedVaultAdapterMintAction';
25
25
  export * from './TokenizedVaultAdapterRedeemAction';
26
26
  export * from './TokenizedVaultAdapterWithdrawAction';
27
- export * from './LimitSellAction';
28
- export * from './ExecuteSafeTxAction';
29
- export * from './RemoveTokenApprovalAction';
@@ -13,7 +13,7 @@ import { getAddr } from '../../addresses';
13
13
  */
14
14
  export class FLAction extends Action {
15
15
  constructor(specificFLAction) {
16
- super('FLActionTEMP', getAddr('FLActionTEMP'), [], []);
16
+ super('FLAction', getAddr('FLAction'), [], []);
17
17
  _FLAction_instances.add(this);
18
18
  this.paramTypes = ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'];
19
19
  this.args = __classPrivateFieldGet(this, _FLAction_instances, "m", _FLAction_handleArgs).call(this, specificFLAction);
@@ -9,7 +9,8 @@ export declare class MakerGiveAction extends Action {
9
9
  /**
10
10
  * @param vaultId
11
11
  * @param newOwner
12
+ * @param createProxy
12
13
  * @param mcdManager
13
14
  */
14
- constructor(vaultId: uint256, newOwner: EthAddress, mcdManager?: EthAddress);
15
+ constructor(vaultId: uint256, newOwner: EthAddress, createProxy: boolean, mcdManager?: EthAddress);
15
16
  }
@@ -10,11 +10,12 @@ export class MakerGiveAction extends Action {
10
10
  /**
11
11
  * @param vaultId
12
12
  * @param newOwner
13
+ * @param createProxy
13
14
  * @param mcdManager
14
15
  */
15
- constructor(vaultId, newOwner, mcdManager = getAddr('McdCdpManager')) {
16
+ constructor(vaultId, newOwner, createProxy, mcdManager = getAddr('McdCdpManager')) {
16
17
  requireAddress(newOwner);
17
- super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'address'], [vaultId, newOwner, mcdManager]);
18
+ super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'bool', 'address'], [vaultId, newOwner, createProxy, mcdManager]);
18
19
  this.mappableArgs = [
19
20
  this.args[0],
20
21
  this.args[1],
@@ -20,7 +20,6 @@ export declare const actionAddresses: {
20
20
  SDaiUnwrap: string;
21
21
  TokenizedVaultAdapter: string;
22
22
  DFSSell: string;
23
- DFSSellTEMP: string;
24
23
  McdGenerate: string;
25
24
  McdGive: string;
26
25
  McdMerge: string;
@@ -98,7 +97,6 @@ export declare const actionAddresses: {
98
97
  FLBalancer: string;
99
98
  FLSpark: string;
100
99
  FLAction: string;
101
- FLActionTEMP: string;
102
100
  FLUniV3: string;
103
101
  FLGho: string;
104
102
  FLMorphoBlue: string;
@@ -205,7 +203,6 @@ export declare const actionAddresses: {
205
203
  AaveV3RatioCheck?: undefined;
206
204
  } | {
207
205
  DFSSell: string;
208
- DFSSellTEMP: string;
209
206
  WrapEth: string;
210
207
  UnwrapEth: string;
211
208
  SendToken: string;
@@ -230,7 +227,6 @@ export declare const actionAddresses: {
230
227
  FLAaveV3: string;
231
228
  FLBalancer: string;
232
229
  FLAction: string;
233
- FLActionTEMP: string;
234
230
  AaveV3RatioTrigger: string;
235
231
  GasFeeTakerL2: string;
236
232
  AaveV3RatioCheck: string;
@@ -408,7 +404,6 @@ export declare const actionAddresses: {
408
404
  LlamaLendSelfLiquidate?: undefined;
409
405
  } | {
410
406
  DFSSell: string;
411
- DFSSellTEMP: string;
412
407
  WrapEth: string;
413
408
  UnwrapEth: string;
414
409
  SendToken: string;
@@ -437,7 +432,6 @@ export declare const actionAddresses: {
437
432
  FLAaveV3: string;
438
433
  FLBalancer: string;
439
434
  FLAction: string;
440
- FLActionTEMP: string;
441
435
  GasFeeTakerL2: string;
442
436
  AaveV3RatioCheck: string;
443
437
  UniCollectV3: string;
@@ -611,7 +605,6 @@ export declare const actionAddresses: {
611
605
  AaveV3RatioTrigger?: undefined;
612
606
  } | {
613
607
  DFSSell: string;
614
- DFSSellTEMP: string;
615
608
  WrapEth: string;
616
609
  UnwrapEth: string;
617
610
  SendToken: string;
@@ -621,8 +614,6 @@ export declare const actionAddresses: {
621
614
  FLAaveV3: string;
622
615
  FLBalancer: string;
623
616
  FLUniV3: string;
624
- FLAction: string;
625
- FLActionTEMP: string;
626
617
  AaveV3Withdraw: string;
627
618
  AaveV3SwapBorrowRateMode: string;
628
619
  AaveV3Supply: string;
@@ -716,6 +707,7 @@ export declare const actionAddresses: {
716
707
  FLDyDx?: undefined;
717
708
  FLMaker?: undefined;
718
709
  FLSpark?: undefined;
710
+ FLAction?: undefined;
719
711
  FLGho?: undefined;
720
712
  FLMorphoBlue?: undefined;
721
713
  UniSupply?: undefined;
@@ -22,7 +22,6 @@ export const actionAddresses = {
22
22
  TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
23
23
  // exchange
24
24
  DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
25
- DFSSellTEMP: '0x8bfc99652358884AF965324e6A233014510F0CFc',
26
25
  // maker
27
26
  McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
28
27
  McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
@@ -110,8 +109,7 @@ export const actionAddresses = {
110
109
  FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
111
110
  FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
112
111
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
113
- FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
114
- FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
112
+ FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
115
113
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
116
114
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
117
115
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -233,7 +231,6 @@ export const actionAddresses = {
233
231
  },
234
232
  [NETWORKS.optimism.chainId]: {
235
233
  DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
236
- DFSSellTEMP: '0x01f7DB086076a16Cebd940A95919Af088C0662FD',
237
234
  // basic
238
235
  WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
239
236
  UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
@@ -260,8 +257,7 @@ export const actionAddresses = {
260
257
  FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
261
258
  FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
262
259
  FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
263
- FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
264
- FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
260
+ FLAction: '0xE668197A175E7A2143222a028470c6ABBBD183F6',
265
261
  AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
266
262
  GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
267
263
  AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
@@ -274,7 +270,6 @@ export const actionAddresses = {
274
270
  },
275
271
  [NETWORKS.arbitrum.chainId]: {
276
272
  DFSSell: '0x9109F34AB28D369cF894aF45C50E976B8E312a82',
277
- DFSSellTEMP: '0xF940aE73cb01c81e657916D14e5699c73a22566c',
278
273
  // basic
279
274
  WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
280
275
  UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
@@ -306,8 +301,7 @@ export const actionAddresses = {
306
301
  FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
307
302
  FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
308
303
  FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
309
- FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
310
- FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
304
+ FLAction: '0x1561EAF39c98d45C55C7dC605E627672F4406819',
311
305
  GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
312
306
  AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
313
307
  // uniswap V3
@@ -320,7 +314,6 @@ export const actionAddresses = {
320
314
  [NETWORKS.base.chainId]: {
321
315
  // Basic
322
316
  DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
323
- DFSSellTEMP: '0x76e5c4e10E36B2f7E8B7F8a570e8A485B86d0ac7',
324
317
  WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
325
318
  UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
326
319
  SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
@@ -331,8 +324,6 @@ export const actionAddresses = {
331
324
  FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
332
325
  FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
333
326
  FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
334
- FLAction: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
335
- FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
336
327
  // AaveV3
337
328
  AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
338
329
  AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
@@ -356,7 +347,7 @@ export const actionAddresses = {
356
347
  };
357
348
  export const otherAddresses = {
358
349
  [NETWORKS.ethereum.chainId]: {
359
- RecipeExecutor: '0x5029336642814bC51a42bA80BF83a6322110035D',
350
+ RecipeExecutor: '0x1D6DEdb49AF91A11B5C5F34954FD3E8cC4f03A86',
360
351
  DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
361
352
  DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
362
353
  ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
@@ -375,7 +366,7 @@ export const otherAddresses = {
375
366
  Empty: '0x0000000000000000000000000000000000000000',
376
367
  },
377
368
  [NETWORKS.optimism.chainId]: {
378
- RecipeExecutor: '0xA532771BD90dAf94b456A4acC9E9cbBdF1367572',
369
+ RecipeExecutor: '0x44FDe16DDCd7c02bE28de52CEc08997336051735',
379
370
  DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
380
371
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
381
372
  DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
@@ -385,7 +376,7 @@ export const otherAddresses = {
385
376
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
386
377
  },
387
378
  [NETWORKS.arbitrum.chainId]: {
388
- RecipeExecutor: '0x4417bffFD5e3131069f62Fac07e40704EE234404',
379
+ RecipeExecutor: '0xe775c59e5662597bcE8aB4432C06380709554883',
389
380
  DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
390
381
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
391
382
  DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
@@ -395,7 +386,7 @@ export const otherAddresses = {
395
386
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
396
387
  },
397
388
  [NETWORKS.base.chainId]: {
398
- RecipeExecutor: '0xd0Ae279e330f98C399375f80968C8bf860202766',
389
+ RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
399
390
  DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
400
391
  ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
401
392
  DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
@@ -31,7 +31,6 @@ declare const actionAddressesAllChains: {
31
31
  SDaiUnwrap: string;
32
32
  TokenizedVaultAdapter: string;
33
33
  DFSSell: string;
34
- DFSSellTEMP: string;
35
34
  McdGenerate: string;
36
35
  McdGive: string;
37
36
  McdMerge: string;
@@ -109,7 +108,6 @@ declare const actionAddressesAllChains: {
109
108
  FLBalancer: string;
110
109
  FLSpark: string;
111
110
  FLAction: string;
112
- FLActionTEMP: string;
113
111
  FLUniV3: string;
114
112
  FLGho: string;
115
113
  FLMorphoBlue: string;
@@ -216,7 +214,6 @@ declare const actionAddressesAllChains: {
216
214
  AaveV3RatioCheck?: undefined;
217
215
  } | {
218
216
  DFSSell: string;
219
- DFSSellTEMP: string;
220
217
  WrapEth: string;
221
218
  UnwrapEth: string;
222
219
  SendToken: string;
@@ -241,7 +238,6 @@ declare const actionAddressesAllChains: {
241
238
  FLAaveV3: string;
242
239
  FLBalancer: string;
243
240
  FLAction: string;
244
- FLActionTEMP: string;
245
241
  AaveV3RatioTrigger: string;
246
242
  GasFeeTakerL2: string;
247
243
  AaveV3RatioCheck: string;
@@ -419,7 +415,6 @@ declare const actionAddressesAllChains: {
419
415
  LlamaLendSelfLiquidate?: undefined;
420
416
  } | {
421
417
  DFSSell: string;
422
- DFSSellTEMP: string;
423
418
  WrapEth: string;
424
419
  UnwrapEth: string;
425
420
  SendToken: string;
@@ -448,7 +443,6 @@ declare const actionAddressesAllChains: {
448
443
  FLAaveV3: string;
449
444
  FLBalancer: string;
450
445
  FLAction: string;
451
- FLActionTEMP: string;
452
446
  GasFeeTakerL2: string;
453
447
  AaveV3RatioCheck: string;
454
448
  UniCollectV3: string;
@@ -622,7 +616,6 @@ declare const actionAddressesAllChains: {
622
616
  AaveV3RatioTrigger?: undefined;
623
617
  } | {
624
618
  DFSSell: string;
625
- DFSSellTEMP: string;
626
619
  WrapEth: string;
627
620
  UnwrapEth: string;
628
621
  SendToken: string;
@@ -632,8 +625,6 @@ declare const actionAddressesAllChains: {
632
625
  FLAaveV3: string;
633
626
  FLBalancer: string;
634
627
  FLUniV3: string;
635
- FLAction: string;
636
- FLActionTEMP: string;
637
628
  AaveV3Withdraw: string;
638
629
  AaveV3SwapBorrowRateMode: string;
639
630
  AaveV3Supply: string;
@@ -727,6 +718,7 @@ declare const actionAddressesAllChains: {
727
718
  FLDyDx?: undefined;
728
719
  FLMaker?: undefined;
729
720
  FLSpark?: undefined;
721
+ FLAction?: undefined;
730
722
  FLGho?: undefined;
731
723
  FLMorphoBlue?: undefined;
732
724
  UniSupply?: undefined;
@@ -845,7 +837,6 @@ declare const actionAddresses: (chainId?: null) => {
845
837
  SDaiUnwrap: string;
846
838
  TokenizedVaultAdapter: string;
847
839
  DFSSell: string;
848
- DFSSellTEMP: string;
849
840
  McdGenerate: string;
850
841
  McdGive: string;
851
842
  McdMerge: string;
@@ -923,7 +914,6 @@ declare const actionAddresses: (chainId?: null) => {
923
914
  FLBalancer: string;
924
915
  FLSpark: string;
925
916
  FLAction: string;
926
- FLActionTEMP: string;
927
917
  FLUniV3: string;
928
918
  FLGho: string;
929
919
  FLMorphoBlue: string;
@@ -1030,7 +1020,6 @@ declare const actionAddresses: (chainId?: null) => {
1030
1020
  AaveV3RatioCheck?: undefined;
1031
1021
  } | {
1032
1022
  DFSSell: string;
1033
- DFSSellTEMP: string;
1034
1023
  WrapEth: string;
1035
1024
  UnwrapEth: string;
1036
1025
  SendToken: string;
@@ -1055,7 +1044,6 @@ declare const actionAddresses: (chainId?: null) => {
1055
1044
  FLAaveV3: string;
1056
1045
  FLBalancer: string;
1057
1046
  FLAction: string;
1058
- FLActionTEMP: string;
1059
1047
  AaveV3RatioTrigger: string;
1060
1048
  GasFeeTakerL2: string;
1061
1049
  AaveV3RatioCheck: string;
@@ -1233,7 +1221,6 @@ declare const actionAddresses: (chainId?: null) => {
1233
1221
  LlamaLendSelfLiquidate?: undefined;
1234
1222
  } | {
1235
1223
  DFSSell: string;
1236
- DFSSellTEMP: string;
1237
1224
  WrapEth: string;
1238
1225
  UnwrapEth: string;
1239
1226
  SendToken: string;
@@ -1262,7 +1249,6 @@ declare const actionAddresses: (chainId?: null) => {
1262
1249
  FLAaveV3: string;
1263
1250
  FLBalancer: string;
1264
1251
  FLAction: string;
1265
- FLActionTEMP: string;
1266
1252
  GasFeeTakerL2: string;
1267
1253
  AaveV3RatioCheck: string;
1268
1254
  UniCollectV3: string;
@@ -1436,7 +1422,6 @@ declare const actionAddresses: (chainId?: null) => {
1436
1422
  AaveV3RatioTrigger?: undefined;
1437
1423
  } | {
1438
1424
  DFSSell: string;
1439
- DFSSellTEMP: string;
1440
1425
  WrapEth: string;
1441
1426
  UnwrapEth: string;
1442
1427
  SendToken: string;
@@ -1446,8 +1431,6 @@ declare const actionAddresses: (chainId?: null) => {
1446
1431
  FLAaveV3: string;
1447
1432
  FLBalancer: string;
1448
1433
  FLUniV3: string;
1449
- FLAction: string;
1450
- FLActionTEMP: string;
1451
1434
  AaveV3Withdraw: string;
1452
1435
  AaveV3SwapBorrowRateMode: string;
1453
1436
  AaveV3Supply: string;
@@ -1541,6 +1524,7 @@ declare const actionAddresses: (chainId?: null) => {
1541
1524
  FLDyDx?: undefined;
1542
1525
  FLMaker?: undefined;
1543
1526
  FLSpark?: undefined;
1527
+ FLAction?: undefined;
1544
1528
  FLGho?: undefined;
1545
1529
  FLMorphoBlue?: undefined;
1546
1530
  UniSupply?: undefined;
@@ -1802,7 +1786,6 @@ declare const _default: {
1802
1786
  SDaiUnwrap: string;
1803
1787
  TokenizedVaultAdapter: string;
1804
1788
  DFSSell: string;
1805
- DFSSellTEMP: string;
1806
1789
  McdGenerate: string;
1807
1790
  McdGive: string;
1808
1791
  McdMerge: string;
@@ -1880,7 +1863,6 @@ declare const _default: {
1880
1863
  FLBalancer: string;
1881
1864
  FLSpark: string;
1882
1865
  FLAction: string;
1883
- FLActionTEMP: string;
1884
1866
  FLUniV3: string;
1885
1867
  FLGho: string;
1886
1868
  FLMorphoBlue: string;
@@ -1987,7 +1969,6 @@ declare const _default: {
1987
1969
  AaveV3RatioCheck?: undefined;
1988
1970
  } | {
1989
1971
  DFSSell: string;
1990
- DFSSellTEMP: string;
1991
1972
  WrapEth: string;
1992
1973
  UnwrapEth: string;
1993
1974
  SendToken: string;
@@ -2012,7 +1993,6 @@ declare const _default: {
2012
1993
  FLAaveV3: string;
2013
1994
  FLBalancer: string;
2014
1995
  FLAction: string;
2015
- FLActionTEMP: string;
2016
1996
  AaveV3RatioTrigger: string;
2017
1997
  GasFeeTakerL2: string;
2018
1998
  AaveV3RatioCheck: string;
@@ -2190,7 +2170,6 @@ declare const _default: {
2190
2170
  LlamaLendSelfLiquidate?: undefined;
2191
2171
  } | {
2192
2172
  DFSSell: string;
2193
- DFSSellTEMP: string;
2194
2173
  WrapEth: string;
2195
2174
  UnwrapEth: string;
2196
2175
  SendToken: string;
@@ -2219,7 +2198,6 @@ declare const _default: {
2219
2198
  FLAaveV3: string;
2220
2199
  FLBalancer: string;
2221
2200
  FLAction: string;
2222
- FLActionTEMP: string;
2223
2201
  GasFeeTakerL2: string;
2224
2202
  AaveV3RatioCheck: string;
2225
2203
  UniCollectV3: string;
@@ -2393,7 +2371,6 @@ declare const _default: {
2393
2371
  AaveV3RatioTrigger?: undefined;
2394
2372
  } | {
2395
2373
  DFSSell: string;
2396
- DFSSellTEMP: string;
2397
2374
  WrapEth: string;
2398
2375
  UnwrapEth: string;
2399
2376
  SendToken: string;
@@ -2403,8 +2380,6 @@ declare const _default: {
2403
2380
  FLAaveV3: string;
2404
2381
  FLBalancer: string;
2405
2382
  FLUniV3: string;
2406
- FLAction: string;
2407
- FLActionTEMP: string;
2408
2383
  AaveV3Withdraw: string;
2409
2384
  AaveV3SwapBorrowRateMode: string;
2410
2385
  AaveV3Supply: string;
@@ -2498,6 +2473,7 @@ declare const _default: {
2498
2473
  FLDyDx?: undefined;
2499
2474
  FLMaker?: undefined;
2500
2475
  FLSpark?: undefined;
2476
+ FLAction?: undefined;
2501
2477
  FLGho?: undefined;
2502
2478
  FLMorphoBlue?: undefined;
2503
2479
  UniSupply?: undefined;
@@ -2616,7 +2592,6 @@ declare const _default: {
2616
2592
  SDaiUnwrap: string;
2617
2593
  TokenizedVaultAdapter: string;
2618
2594
  DFSSell: string;
2619
- DFSSellTEMP: string;
2620
2595
  McdGenerate: string;
2621
2596
  McdGive: string;
2622
2597
  McdMerge: string;
@@ -2694,7 +2669,6 @@ declare const _default: {
2694
2669
  FLBalancer: string;
2695
2670
  FLSpark: string;
2696
2671
  FLAction: string;
2697
- FLActionTEMP: string;
2698
2672
  FLUniV3: string;
2699
2673
  FLGho: string;
2700
2674
  FLMorphoBlue: string;
@@ -2801,7 +2775,6 @@ declare const _default: {
2801
2775
  AaveV3RatioCheck?: undefined;
2802
2776
  } | {
2803
2777
  DFSSell: string;
2804
- DFSSellTEMP: string;
2805
2778
  WrapEth: string;
2806
2779
  UnwrapEth: string;
2807
2780
  SendToken: string;
@@ -2826,7 +2799,6 @@ declare const _default: {
2826
2799
  FLAaveV3: string;
2827
2800
  FLBalancer: string;
2828
2801
  FLAction: string;
2829
- FLActionTEMP: string;
2830
2802
  AaveV3RatioTrigger: string;
2831
2803
  GasFeeTakerL2: string;
2832
2804
  AaveV3RatioCheck: string;
@@ -3004,7 +2976,6 @@ declare const _default: {
3004
2976
  LlamaLendSelfLiquidate?: undefined;
3005
2977
  } | {
3006
2978
  DFSSell: string;
3007
- DFSSellTEMP: string;
3008
2979
  WrapEth: string;
3009
2980
  UnwrapEth: string;
3010
2981
  SendToken: string;
@@ -3033,7 +3004,6 @@ declare const _default: {
3033
3004
  FLAaveV3: string;
3034
3005
  FLBalancer: string;
3035
3006
  FLAction: string;
3036
- FLActionTEMP: string;
3037
3007
  GasFeeTakerL2: string;
3038
3008
  AaveV3RatioCheck: string;
3039
3009
  UniCollectV3: string;
@@ -3207,7 +3177,6 @@ declare const _default: {
3207
3177
  AaveV3RatioTrigger?: undefined;
3208
3178
  } | {
3209
3179
  DFSSell: string;
3210
- DFSSellTEMP: string;
3211
3180
  WrapEth: string;
3212
3181
  UnwrapEth: string;
3213
3182
  SendToken: string;
@@ -3217,8 +3186,6 @@ declare const _default: {
3217
3186
  FLAaveV3: string;
3218
3187
  FLBalancer: string;
3219
3188
  FLUniV3: string;
3220
- FLAction: string;
3221
- FLActionTEMP: string;
3222
3189
  AaveV3Withdraw: string;
3223
3190
  AaveV3SwapBorrowRateMode: string;
3224
3191
  AaveV3Supply: string;
@@ -3312,6 +3279,7 @@ declare const _default: {
3312
3279
  FLDyDx?: undefined;
3313
3280
  FLMaker?: undefined;
3314
3281
  FLSpark?: undefined;
3282
+ FLAction?: undefined;
3315
3283
  FLGho?: undefined;
3316
3284
  FLMorphoBlue?: undefined;
3317
3285
  UniSupply?: undefined;
@@ -18,4 +18,3 @@ export * from './SparkQuotePriceTrigger';
18
18
  export * from './LiquityDebtInFrontWithLimitTrigger';
19
19
  export * from './CurveUsdCollRatioTrigger';
20
20
  export * from './MorphoBlueRatioTrigger';
21
- export * from './OffchainPriceTrigger';
@@ -18,4 +18,3 @@ export * from './SparkQuotePriceTrigger';
18
18
  export * from './LiquityDebtInFrontWithLimitTrigger';
19
19
  export * from './CurveUsdCollRatioTrigger';
20
20
  export * from './MorphoBlueRatioTrigger';
21
- export * from './OffchainPriceTrigger';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.0.67-dev-3",
3
+ "version": "1.0.67",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -23,8 +23,8 @@ export class SellAction extends ActionWithL2 {
23
23
  constructor(exchangeOrder:Array<any>, from:EthAddress, to:EthAddress, protocolFee = '0') {
24
24
  requireAddress(to);
25
25
  super(
26
- 'DFSSellTEMP',
27
- getAddr('DFSSellTEMP'),
26
+ 'DFSSell',
27
+ getAddr('DFSSell'),
28
28
  [
29
29
  ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
30
30
  'address',
@@ -24,6 +24,3 @@ export * from './TokenizedVaultAdapterDepositAction';
24
24
  export * from './TokenizedVaultAdapterMintAction';
25
25
  export * from './TokenizedVaultAdapterRedeemAction';
26
26
  export * from './TokenizedVaultAdapterWithdrawAction';
27
- export * from './LimitSellAction';
28
- export * from './ExecuteSafeTxAction';
29
- export * from './RemoveTokenApprovalAction';
@@ -49,8 +49,8 @@ export class FLAction extends Action {
49
49
 
50
50
  constructor(specificFLAction: Action) {
51
51
  super(
52
- 'FLActionTEMP',
53
- getAddr('FLActionTEMP'),
52
+ 'FLAction',
53
+ getAddr('FLAction'),
54
54
  [],
55
55
  [],
56
56
  );
@@ -12,11 +12,12 @@ export class MakerGiveAction extends Action {
12
12
  /**
13
13
  * @param vaultId
14
14
  * @param newOwner
15
+ * @param createProxy
15
16
  * @param mcdManager
16
17
  */
17
- constructor(vaultId:uint256, newOwner:EthAddress, mcdManager:EthAddress = getAddr('McdCdpManager')) {
18
+ constructor(vaultId:uint256, newOwner:EthAddress, createProxy:boolean, mcdManager:EthAddress = getAddr('McdCdpManager')) {
18
19
  requireAddress(newOwner);
19
- super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'address'], [vaultId, newOwner, mcdManager]);
20
+ super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'bool', 'address'], [vaultId, newOwner, createProxy, mcdManager]);
20
21
 
21
22
  this.mappableArgs = [
22
23
  this.args[0],