@gearbox-protocol/sdk 14.12.0-next.55 → 14.12.0-next.57

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 (75) hide show
  1. package/dist/cjs/abi/compressors/liquidationCompressor.js +43 -1
  2. package/dist/cjs/abi/compressors/rwaCompressor.js +4 -4
  3. package/dist/cjs/abi/compressors/subcompressors/liquidation/midasLiquidationSubcompressor.js +43 -1
  4. package/dist/cjs/abi/compressors/subcompressors/liquidation/securitizeLiquidationSubcompressor.js +43 -1
  5. package/dist/cjs/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +20 -0
  6. package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +20 -0
  7. package/dist/cjs/abi/compressors/withdrawalCompressor.js +30 -0
  8. package/dist/cjs/abi/iPhantomToken.js +19 -0
  9. package/dist/cjs/abi/rwa/iRWAGateway.js +19 -0
  10. package/dist/cjs/plugins/adapters/abi/actionAbi.js +8 -2
  11. package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +8 -2
  12. package/dist/cjs/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +67 -36
  13. package/dist/cjs/sdk/accounts/liquidations/LiquidationsService.js +65 -0
  14. package/dist/cjs/sdk/accounts/liquidations/MultichainLiquidationsService.js +10 -0
  15. package/dist/cjs/sdk/base/token-types.js +1 -0
  16. package/dist/cjs/sdk/index.js +6 -4
  17. package/dist/cjs/sdk/market/index.js +6 -4
  18. package/dist/cjs/sdk/market/rwa/index.js +6 -4
  19. package/dist/cjs/sdk/market/rwa/midas/{MidasLiquidator.js → MidasLiquidatorContract.js} +3 -3
  20. package/dist/cjs/sdk/market/rwa/midas/constants.js +2 -0
  21. package/dist/cjs/sdk/market/rwa/midas/index.js +3 -2
  22. package/dist/cjs/sdk/market/rwa/securitize/{SecuritizeLiquidator.js → SecuritizeLiquidatorContract.js} +3 -3
  23. package/dist/cjs/sdk/market/rwa/securitize/constants.js +2 -0
  24. package/dist/cjs/sdk/market/rwa/securitize/index.js +3 -2
  25. package/dist/esm/abi/compressors/liquidationCompressor.js +43 -1
  26. package/dist/esm/abi/compressors/rwaCompressor.js +4 -4
  27. package/dist/esm/abi/compressors/subcompressors/liquidation/midasLiquidationSubcompressor.js +43 -1
  28. package/dist/esm/abi/compressors/subcompressors/liquidation/securitizeLiquidationSubcompressor.js +43 -1
  29. package/dist/esm/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +20 -0
  30. package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +20 -0
  31. package/dist/esm/abi/compressors/withdrawalCompressor.js +30 -0
  32. package/dist/esm/abi/iPhantomToken.js +18 -0
  33. package/dist/esm/abi/rwa/iRWAGateway.js +18 -0
  34. package/dist/esm/plugins/adapters/abi/actionAbi.js +8 -2
  35. package/dist/esm/plugins/adapters/abi/conctructorAbi.js +8 -2
  36. package/dist/esm/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +67 -36
  37. package/dist/esm/sdk/accounts/liquidations/LiquidationsService.js +65 -0
  38. package/dist/esm/sdk/accounts/liquidations/MultichainLiquidationsService.js +10 -0
  39. package/dist/esm/sdk/base/token-types.js +1 -0
  40. package/dist/esm/sdk/index.js +5 -5
  41. package/dist/esm/sdk/market/index.js +5 -5
  42. package/dist/esm/sdk/market/rwa/index.js +5 -5
  43. package/dist/esm/sdk/market/rwa/midas/{MidasLiquidator.js → MidasLiquidatorContract.js} +3 -3
  44. package/dist/esm/sdk/market/rwa/midas/constants.js +2 -1
  45. package/dist/esm/sdk/market/rwa/midas/index.js +3 -3
  46. package/dist/esm/sdk/market/rwa/securitize/{SecuritizeLiquidator.js → SecuritizeLiquidatorContract.js} +3 -3
  47. package/dist/esm/sdk/market/rwa/securitize/constants.js +2 -1
  48. package/dist/esm/sdk/market/rwa/securitize/index.js +3 -3
  49. package/dist/types/abi/compressors/liquidationCompressor.d.ts +36 -1
  50. package/dist/types/abi/compressors/rwaCompressor.d.ts +4 -4
  51. package/dist/types/abi/compressors/subcompressors/liquidation/midasLiquidationSubcompressor.d.ts +36 -1
  52. package/dist/types/abi/compressors/subcompressors/liquidation/securitizeLiquidationSubcompressor.d.ts +36 -1
  53. package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +16 -0
  54. package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +16 -0
  55. package/dist/types/abi/compressors/withdrawalCompressor.d.ts +24 -0
  56. package/dist/types/abi/iPhantomToken.d.ts +18 -0
  57. package/dist/types/abi/rwa/iRWAGateway.d.ts +18 -0
  58. package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +24 -0
  59. package/dist/types/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.d.ts +8 -5
  60. package/dist/types/sdk/accounts/index.d.ts +2 -2
  61. package/dist/types/sdk/accounts/liquidations/LiquidationsService.d.ts +4 -0
  62. package/dist/types/sdk/accounts/liquidations/MultichainLiquidationsService.d.ts +5 -1
  63. package/dist/types/sdk/accounts/liquidations/index.d.ts +2 -2
  64. package/dist/types/sdk/accounts/liquidations/types.d.ts +13 -1
  65. package/dist/types/sdk/base/token-types.d.ts +1 -1
  66. package/dist/types/sdk/index.d.ts +6 -6
  67. package/dist/types/sdk/market/index.d.ts +5 -5
  68. package/dist/types/sdk/market/rwa/index.d.ts +5 -5
  69. package/dist/types/sdk/market/rwa/midas/{MidasLiquidator.d.ts → MidasLiquidatorContract.d.ts} +3 -3
  70. package/dist/types/sdk/market/rwa/midas/constants.d.ts +2 -1
  71. package/dist/types/sdk/market/rwa/midas/index.d.ts +3 -3
  72. package/dist/types/sdk/market/rwa/securitize/{SecuritizeLiquidator.d.ts → SecuritizeLiquidatorContract.d.ts} +3 -3
  73. package/dist/types/sdk/market/rwa/securitize/constants.d.ts +2 -1
  74. package/dist/types/sdk/market/rwa/securitize/index.d.ts +3 -3
  75. package/package.json +1 -1
@@ -67,6 +67,10 @@ declare const midasWithdrawalSubcompressorAbi: readonly [{
67
67
  readonly type: "bytes";
68
68
  readonly internalType: "bytes";
69
69
  }];
70
+ }, {
71
+ readonly name: "redeemer";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
70
74
  }, {
71
75
  readonly name: "extraData";
72
76
  readonly type: "bytes";
@@ -105,6 +109,10 @@ declare const midasWithdrawalSubcompressorAbi: readonly [{
105
109
  readonly name: "claimableAt";
106
110
  readonly type: "uint256";
107
111
  readonly internalType: "uint256";
112
+ }, {
113
+ readonly name: "redeemer";
114
+ readonly type: "address";
115
+ readonly internalType: "address";
108
116
  }, {
109
117
  readonly name: "extraData";
110
118
  readonly type: "bytes";
@@ -170,6 +178,10 @@ declare const midasWithdrawalSubcompressorAbi: readonly [{
170
178
  readonly type: "bytes";
171
179
  readonly internalType: "bytes";
172
180
  }];
181
+ }, {
182
+ readonly name: "redeemer";
183
+ readonly type: "address";
184
+ readonly internalType: "address";
173
185
  }, {
174
186
  readonly name: "extraData";
175
187
  readonly type: "bytes";
@@ -208,6 +220,10 @@ declare const midasWithdrawalSubcompressorAbi: readonly [{
208
220
  readonly name: "claimableAt";
209
221
  readonly type: "uint256";
210
222
  readonly internalType: "uint256";
223
+ }, {
224
+ readonly name: "redeemer";
225
+ readonly type: "address";
226
+ readonly internalType: "address";
211
227
  }, {
212
228
  readonly name: "extraData";
213
229
  readonly type: "bytes";
@@ -67,6 +67,10 @@ declare const securitizeRedemptionSubcompressorAbi: readonly [{
67
67
  readonly type: "bytes";
68
68
  readonly internalType: "bytes";
69
69
  }];
70
+ }, {
71
+ readonly name: "redeemer";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
70
74
  }, {
71
75
  readonly name: "extraData";
72
76
  readonly type: "bytes";
@@ -105,6 +109,10 @@ declare const securitizeRedemptionSubcompressorAbi: readonly [{
105
109
  readonly name: "claimableAt";
106
110
  readonly type: "uint256";
107
111
  readonly internalType: "uint256";
112
+ }, {
113
+ readonly name: "redeemer";
114
+ readonly type: "address";
115
+ readonly internalType: "address";
108
116
  }, {
109
117
  readonly name: "extraData";
110
118
  readonly type: "bytes";
@@ -170,6 +178,10 @@ declare const securitizeRedemptionSubcompressorAbi: readonly [{
170
178
  readonly type: "bytes";
171
179
  readonly internalType: "bytes";
172
180
  }];
181
+ }, {
182
+ readonly name: "redeemer";
183
+ readonly type: "address";
184
+ readonly internalType: "address";
173
185
  }, {
174
186
  readonly name: "extraData";
175
187
  readonly type: "bytes";
@@ -208,6 +220,10 @@ declare const securitizeRedemptionSubcompressorAbi: readonly [{
208
220
  readonly name: "claimableAt";
209
221
  readonly type: "uint256";
210
222
  readonly internalType: "uint256";
223
+ }, {
224
+ readonly name: "redeemer";
225
+ readonly type: "address";
226
+ readonly internalType: "address";
211
227
  }, {
212
228
  readonly name: "extraData";
213
229
  readonly type: "bytes";
@@ -103,6 +103,10 @@ declare const withdrawalCompressorAbi: readonly [{
103
103
  readonly type: "bytes";
104
104
  readonly internalType: "bytes";
105
105
  }];
106
+ }, {
107
+ readonly name: "redeemer";
108
+ readonly type: "address";
109
+ readonly internalType: "address";
106
110
  }, {
107
111
  readonly name: "extraData";
108
112
  readonly type: "bytes";
@@ -141,6 +145,10 @@ declare const withdrawalCompressorAbi: readonly [{
141
145
  readonly name: "claimableAt";
142
146
  readonly type: "uint256";
143
147
  readonly internalType: "uint256";
148
+ }, {
149
+ readonly name: "redeemer";
150
+ readonly type: "address";
151
+ readonly internalType: "address";
144
152
  }, {
145
153
  readonly name: "extraData";
146
154
  readonly type: "bytes";
@@ -206,6 +214,10 @@ declare const withdrawalCompressorAbi: readonly [{
206
214
  readonly type: "bytes";
207
215
  readonly internalType: "bytes";
208
216
  }];
217
+ }, {
218
+ readonly name: "redeemer";
219
+ readonly type: "address";
220
+ readonly internalType: "address";
209
221
  }, {
210
222
  readonly name: "extraData";
211
223
  readonly type: "bytes";
@@ -244,6 +256,10 @@ declare const withdrawalCompressorAbi: readonly [{
244
256
  readonly name: "claimableAt";
245
257
  readonly type: "uint256";
246
258
  readonly internalType: "uint256";
259
+ }, {
260
+ readonly name: "redeemer";
261
+ readonly type: "address";
262
+ readonly internalType: "address";
247
263
  }, {
248
264
  readonly name: "extraData";
249
265
  readonly type: "bytes";
@@ -309,6 +325,10 @@ declare const withdrawalCompressorAbi: readonly [{
309
325
  readonly type: "bytes";
310
326
  readonly internalType: "bytes";
311
327
  }];
328
+ }, {
329
+ readonly name: "redeemer";
330
+ readonly type: "address";
331
+ readonly internalType: "address";
312
332
  }, {
313
333
  readonly name: "extraData";
314
334
  readonly type: "bytes";
@@ -347,6 +367,10 @@ declare const withdrawalCompressorAbi: readonly [{
347
367
  readonly name: "claimableAt";
348
368
  readonly type: "uint256";
349
369
  readonly internalType: "uint256";
370
+ }, {
371
+ readonly name: "redeemer";
372
+ readonly type: "address";
373
+ readonly internalType: "address";
350
374
  }, {
351
375
  readonly name: "extraData";
352
376
  readonly type: "bytes";
@@ -0,0 +1,18 @@
1
+ //#region src/abi/iPhantomToken.d.ts
2
+ declare const iPhantomTokenAbi: readonly [{
3
+ readonly type: "function";
4
+ readonly inputs: readonly [];
5
+ readonly name: "getPhantomTokenInfo";
6
+ readonly outputs: readonly [{
7
+ readonly name: "target";
8
+ readonly internalType: "address";
9
+ readonly type: "address";
10
+ }, {
11
+ readonly name: "depositedToken";
12
+ readonly internalType: "address";
13
+ readonly type: "address";
14
+ }];
15
+ readonly stateMutability: "view";
16
+ }];
17
+ //#endregion
18
+ export { iPhantomTokenAbi };
@@ -0,0 +1,18 @@
1
+ //#region src/abi/rwa/iRWAGateway.d.ts
2
+ /**
3
+ * Minimal ABI shared by RWA delayed-withdrawal gateways (Midas, Securitize).
4
+ * Only holds `transferMaster`, which is the gateway's dedicated liquidator.
5
+ */
6
+ declare const iRWAGatewayAbi: readonly [{
7
+ readonly type: "function";
8
+ readonly inputs: readonly [];
9
+ readonly name: "transferMaster";
10
+ readonly outputs: readonly [{
11
+ readonly name: "";
12
+ readonly internalType: "address";
13
+ readonly type: "address";
14
+ }];
15
+ readonly stateMutability: "view";
16
+ }];
17
+ //#endregion
18
+ export { iRWAGatewayAbi };
@@ -107,6 +107,10 @@ declare const abi: readonly [{
107
107
  readonly type: "bytes";
108
108
  readonly internalType: "bytes";
109
109
  }];
110
+ }, {
111
+ readonly name: "redeemer";
112
+ readonly type: "address";
113
+ readonly internalType: "address";
110
114
  }, {
111
115
  readonly name: "extraData";
112
116
  readonly type: "bytes";
@@ -145,6 +149,10 @@ declare const abi: readonly [{
145
149
  readonly name: "claimableAt";
146
150
  readonly type: "uint256";
147
151
  readonly internalType: "uint256";
152
+ }, {
153
+ readonly name: "redeemer";
154
+ readonly type: "address";
155
+ readonly internalType: "address";
148
156
  }, {
149
157
  readonly name: "extraData";
150
158
  readonly type: "bytes";
@@ -210,6 +218,10 @@ declare const abi: readonly [{
210
218
  readonly type: "bytes";
211
219
  readonly internalType: "bytes";
212
220
  }];
221
+ }, {
222
+ readonly name: "redeemer";
223
+ readonly type: "address";
224
+ readonly internalType: "address";
213
225
  }, {
214
226
  readonly name: "extraData";
215
227
  readonly type: "bytes";
@@ -248,6 +260,10 @@ declare const abi: readonly [{
248
260
  readonly name: "claimableAt";
249
261
  readonly type: "uint256";
250
262
  readonly internalType: "uint256";
263
+ }, {
264
+ readonly name: "redeemer";
265
+ readonly type: "address";
266
+ readonly internalType: "address";
251
267
  }, {
252
268
  readonly name: "extraData";
253
269
  readonly type: "bytes";
@@ -313,6 +329,10 @@ declare const abi: readonly [{
313
329
  readonly type: "bytes";
314
330
  readonly internalType: "bytes";
315
331
  }];
332
+ }, {
333
+ readonly name: "redeemer";
334
+ readonly type: "address";
335
+ readonly internalType: "address";
316
336
  }, {
317
337
  readonly name: "extraData";
318
338
  readonly type: "bytes";
@@ -351,6 +371,10 @@ declare const abi: readonly [{
351
371
  readonly name: "claimableAt";
352
372
  readonly type: "uint256";
353
373
  readonly internalType: "uint256";
374
+ }, {
375
+ readonly name: "redeemer";
376
+ readonly type: "address";
377
+ readonly internalType: "address";
354
378
  }, {
355
379
  readonly name: "extraData";
356
380
  readonly type: "bytes";
@@ -462,12 +462,12 @@ type protocolAbi = typeof protocolAbi;
462
462
  declare class MidasRedemptionVaultAdapterContract extends AbstractAdapterContract<abi, protocolAbi> {
463
463
  #private;
464
464
  constructor(sdk: OnchainSDK, args: ConcreteAdapterContractOptions);
465
- get gateway(): Address;
465
+ get gateway(): Address | undefined;
466
466
  get mToken(): Address;
467
467
  get allowedTokens(): {
468
468
  token: Address;
469
- phantomToken: Address;
470
- }[];
469
+ phantomToken?: Address;
470
+ }[] | Address[];
471
471
  stateHuman(raw?: boolean): {
472
472
  address: string;
473
473
  version: number;
@@ -476,10 +476,13 @@ declare class MidasRedemptionVaultAdapterContract extends AbstractAdapterContrac
476
476
  targetContract?: string;
477
477
  gateway: string | undefined;
478
478
  mToken: string | undefined;
479
- allowedTokens: {
479
+ allowedTokens: ({
480
480
  token: string;
481
481
  phantomToken: string;
482
- }[] | undefined;
482
+ } | {
483
+ phantomToken?: undefined;
484
+ token: string;
485
+ })[] | undefined;
483
486
  };
484
487
  protected applyBalanceChanges(balances: AssetsMap, decoded: DecodeFunctionDataReturnType<abi>): Promise<void>;
485
488
  }
@@ -13,8 +13,8 @@ import "./withdrawal-compressor/index.js";
13
13
  import { AccountToCheck, AddCollateralProps, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, ChangeDeptProps, ClaimDelayedProps, ClaimFarmRewardsProps, CloseCreditAccountProps, CloseCreditAccountResult, CloseOptions, CreditAccountFilter, CreditAccountOperationResult, CreditAccountTokensSlice, CreditManagerFilter, CreditManagerOperationResult, DefaultPartialLiquidationParams, EncodableCreditAccountOperation, ExecuteSwapProps, FullyLiquidateProps, FullyLiquidateResult, GetApprovalAddressProps, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetOpenAccountRequirementsProps, GetPendingWithdrawalsProps, GetPendingWithdrawalsResult, ICreditAccountsService, OpenCAProps, PartiallyLiquidateProps, PermitResult, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, RepayAndLiquidateCreditAccountProps, RepayCreditAccountProps, Rewards, SetBotProps, StartDelayedWithdrawalProps, UpdateQuotasProps, WithdrawCollateralProps } from "./types.js";
14
14
  import { CreditAccountServiceOptions, CreditAccountsServiceV310 } from "./CreditAccountsServiceV310.js";
15
15
  import { LIQUIDATION_COMPRESSOR_V313_ADDRESS } from "./liquidations/constants.js";
16
- import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./liquidations/types.js";
16
+ import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./liquidations/types.js";
17
17
  import { LiquidationsService } from "./liquidations/LiquidationsService.js";
18
18
  import { MultichainLiquidationsService } from "./liquidations/MultichainLiquidationsService.js";
19
19
  import "./liquidations/index.js";
20
- export { AbstractWithdrawalCompressorContract, AccountToCheck, AddCollateralProps, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, ChangeDeptProps, ClaimDelayedProps, ClaimFarmRewardsProps, ClaimableWithdrawal, CloseCreditAccountProps, CloseCreditAccountResult, CloseOptions, CreditAccountFilter, CreditAccountOperationResult, CreditAccountServiceOptions, CreditAccountTokensSlice, CreditAccountsServiceV310, CreditManagerFilter, CreditManagerOperationResult, CurrentWithdrawals, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DefaultPartialLiquidationParams, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedIntentExtended, DelayedReceivedAsset, DelayedWithdrawCollateralIntent, EncodableCreditAccountOperation, ExecuteSwapProps, FullyLiquidateProps, FullyLiquidateResult, GetApprovalAddressProps, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, GetOpenAccountRequirementsProps, GetPendingWithdrawalsProps, GetPendingWithdrawalsResult, GetWithdrawalRequestResultProps, ICreditAccountsService, ILiquidationsService, IRedemptionLoggerContract, IWithdrawalCompressorContract, InstantReceivedAsset, InvalidDelayedIntentError, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, OnchainRequestableWithdrawal, OpenCAProps, PartiallyLiquidateProps, PendingWithdrawal, PermitResult, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, ReceivedAsset, RedemptionLog, RedemptionLoggerV310Contract, RepayAndLiquidateCreditAccountProps, RepayCreditAccountProps, RequestableWithdrawal, Rewards, SetBotProps, StartDelayedWithdrawalProps, UpdateQuotasProps, WithMultichain, WithdrawCollateralProps, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, createRedemptionLogger, createWithdrawalCompressor, decodeDelayedIntent, encodeDelayedIntent, getWithdrawalCompressorAddress, iCreditAccountAbi, toClaimableWithdrawal, toPendingWithdrawal, toRequestableWithdrawal, toWithdrawalStatus };
20
+ export { AbstractWithdrawalCompressorContract, AccountToCheck, AddCollateralProps, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, ChangeDeptProps, ClaimDelayedProps, ClaimFarmRewardsProps, ClaimableWithdrawal, CloseCreditAccountProps, CloseCreditAccountResult, CloseOptions, CreditAccountFilter, CreditAccountOperationResult, CreditAccountServiceOptions, CreditAccountTokensSlice, CreditAccountsServiceV310, CreditManagerFilter, CreditManagerOperationResult, CurrentWithdrawals, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DefaultPartialLiquidationParams, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedIntentExtended, DelayedReceivedAsset, DelayedWithdrawCollateralIntent, EncodableCreditAccountOperation, ExecuteSwapProps, FullyLiquidateProps, FullyLiquidateResult, GetApprovalAddressProps, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, GetOpenAccountRequirementsProps, GetPendingWithdrawalsProps, GetPendingWithdrawalsResult, GetWithdrawalRequestResultProps, ICreditAccountsService, ILiquidationsService, IRedemptionLoggerContract, IWithdrawalCompressorContract, InstantReceivedAsset, InvalidDelayedIntentError, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, OnchainRequestableWithdrawal, OpenCAProps, PartiallyLiquidateProps, PendingWithdrawal, PermitResult, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, ReceivedAsset, RedemptionLog, RedemptionLoggerV310Contract, RepayAndLiquidateCreditAccountProps, RepayCreditAccountProps, RequestableWithdrawal, Rewards, SetBotProps, StartDelayedWithdrawalProps, UpdateQuotasProps, WithMultichain, WithdrawCollateralProps, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, createRedemptionLogger, createWithdrawalCompressor, decodeDelayedIntent, encodeDelayedIntent, getWithdrawalCompressorAddress, iCreditAccountAbi, toClaimableWithdrawal, toPendingWithdrawal, toRequestableWithdrawal, toWithdrawalStatus };
@@ -29,6 +29,10 @@ declare class LiquidationsService extends SDKConstruct implements ILiquidationsS
29
29
  * {@inheritDoc ILiquidationsService.getLiquidatorWithdrawals}
30
30
  **/
31
31
  getLiquidatorWithdrawals(props: GetLiquidatorWithdrawalsProps): Promise<LiquidatorWithdrawal[]>;
32
+ /**
33
+ * {@inheritDoc ILiquidationsService.loadRWALiquidators}
34
+ **/
35
+ loadRWALiquidators(): Promise<void>;
32
36
  }
33
37
  //#endregion
34
38
  export { LiquidationsService };
@@ -2,7 +2,7 @@ import { PluginsMap } from "../../plugins/types.js";
2
2
  import "../../plugins/index.js";
3
3
  import { RawTx } from "../../types/transactions.js";
4
4
  import "../../types/index.js";
5
- import { BuildLiquidationTxProps, GetLiquidatableAccountsProps, GetLiquidationDetailsProps, GetLiquidatorWithdrawalsProps, ILiquidationsService, LiquidatableAccount, LiquidationDetails, LiquidatorWithdrawal } from "./types.js";
5
+ import { BuildLiquidationTxProps, GetLiquidatableAccountsProps, GetLiquidationDetailsProps, GetLiquidatorWithdrawalsProps, ILiquidationsService, LiquidatableAccount, LiquidationDetails, LiquidatorWithdrawal, LoadRWALiquidatorsProps } from "./types.js";
6
6
  import { MultichainSDK } from "../../MultichainSDK.js";
7
7
  //#region src/sdk/accounts/liquidations/MultichainLiquidationsService.d.ts
8
8
  /**
@@ -32,6 +32,10 @@ declare class MultichainLiquidationsService<const Plugins extends PluginsMap = {
32
32
  * {@inheritDoc ILiquidationsService.getLiquidatorWithdrawals}
33
33
  **/
34
34
  getLiquidatorWithdrawals(props: GetLiquidatorWithdrawalsProps<true>): Promise<LiquidatorWithdrawal[]>;
35
+ /**
36
+ * {@inheritDoc ILiquidationsService.loadRWALiquidators}
37
+ **/
38
+ loadRWALiquidators(props?: LoadRWALiquidatorsProps<true>): Promise<void>;
35
39
  }
36
40
  //#endregion
37
41
  export { MultichainLiquidationsService };
@@ -1,5 +1,5 @@
1
1
  import { LIQUIDATION_COMPRESSOR_V313_ADDRESS } from "./constants.js";
2
- import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./types.js";
2
+ import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./types.js";
3
3
  import { LiquidationsService } from "./LiquidationsService.js";
4
4
  import { MultichainLiquidationsService } from "./MultichainLiquidationsService.js";
5
- export { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain };
5
+ export { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain };
@@ -207,6 +207,10 @@ interface GetLiquidatorWithdrawalsPropsBase {
207
207
  * Props for {@link ILiquidationsService.getLiquidatorWithdrawals}.
208
208
  **/
209
209
  type GetLiquidatorWithdrawalsProps<Multichain extends boolean = false> = GetLiquidatorWithdrawalsPropsBase & WithMultichain<Multichain, MultichainNetworksProps>;
210
+ /**
211
+ * Props for {@link ILiquidationsService.loadRWALiquidators}.
212
+ **/
213
+ type LoadRWALiquidatorsProps<Multichain extends boolean = false> = WithMultichain<Multichain, MultichainNetworksProps>;
210
214
  /**
211
215
  * A single delayed-withdrawal position owned by the liquidator.
212
216
  *
@@ -340,6 +344,14 @@ interface ILiquidationsService<Multichain extends boolean = false> {
340
344
  * @param props - See {@link GetLiquidatorWithdrawalsProps}
341
345
  **/
342
346
  getLiquidatorWithdrawals(props: GetLiquidatorWithdrawalsProps<Multichain>): Promise<LiquidatorWithdrawal[]>;
347
+ /**
348
+ * Discovers the dedicated RWA liquidator contracts (Securitize, Midas)
349
+ * deployed for the markets of the chain and registers them in the SDK
350
+ * contracts register.
351
+ *
352
+ * @param props - See {@link LoadRWALiquidatorsProps}
353
+ **/
354
+ loadRWALiquidators(props?: LoadRWALiquidatorsProps<Multichain>): Promise<void>;
343
355
  }
344
356
  //#endregion
345
- export { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain };
357
+ export { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain };
@@ -2,7 +2,7 @@ import { MarketData, Unarray } from "./types.js";
2
2
  import { Address } from "viem";
3
3
  //#region src/sdk/base/token-types.d.ts
4
4
  type TokenData = Unarray<MarketData["tokens"]>;
5
- declare const PHANTOM_TOKEN_CONTRACT_TYPES: readonly ["PHANTOM_TOKEN::CONVEX", "PHANTOM_TOKEN::INFINIFI_UNWIND", "PHANTOM_TOKEN::INFRARED", "PHANTOM_TOKEN::MELLOW_WITHDRAWAL", "PHANTOM_TOKEN::MIDAS_REDEMPTION", "PHANTOM_TOKEN::STAKING_REWARDS", "PHANTOM_TOKEN::UPSHIFT_WITHDRAW"];
5
+ declare const PHANTOM_TOKEN_CONTRACT_TYPES: readonly ["PHANTOM_TOKEN::CONVEX", "PHANTOM_TOKEN::INFINIFI_UNWIND", "PHANTOM_TOKEN::INFRARED", "PHANTOM_TOKEN::MELLOW_WITHDRAWAL", "PHANTOM_TOKEN::MIDAS_REDEMPTION", "PHANTOM_TOKEN::SECURITIZE_RD", "PHANTOM_TOKEN::STAKING_REWARDS", "PHANTOM_TOKEN::UPSHIFT_WITHDRAW"];
6
6
  declare const RWA_UNDERLYING_DEFAULT = "RWA_UNDERLYING::DEFAULT";
7
7
  declare const RWA_UNDERLYING_ON_DEMAND = "RWA_UNDERLYING::ON_DEMAND";
8
8
  type RWAUnderlyingContractType = typeof RWA_UNDERLYING_DEFAULT | typeof RWA_UNDERLYING_ON_DEMAND;
@@ -28,8 +28,8 @@ import "./plugins/index.js";
28
28
  import { IAdapterContract } from "./market/adapters/types.js";
29
29
  import { createAdapter } from "./market/adapters/createAdapter.js";
30
30
  import { PlaceholderAdapterContract, PlaceholderAdapterContractOptions } from "./market/adapters/PlaceholderAdapterContracts.js";
31
- import { RWA_LIQUIDATOR_MIDAS } from "./market/rwa/midas/constants.js";
32
- import { MidasLiquidator } from "./market/rwa/midas/MidasLiquidator.js";
31
+ import { PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS } from "./market/rwa/midas/constants.js";
32
+ import { MidasLiquidatorContract } from "./market/rwa/midas/MidasLiquidatorContract.js";
33
33
  import { generateCastTraceCall, getCastTraceArgs } from "./utils/viem/cast.js";
34
34
  import { DelegatedMulticall, executeDelegatedMulticalls } from "./utils/viem/executeDelegatedMulticalls.js";
35
35
  import { EstimateRawTxGasParameters, SendRawTxParameters, estimateRawTxGas, sendRawTx } from "./utils/viem/sendRawTx.js";
@@ -37,8 +37,8 @@ import { SimulateMulticallParameters, SimulateMulticallReturnType, simulateMulti
37
37
  import { SimulateWithPriceUpdatesError, SimulateWithPriceUpdatesErrorParams, SimulateWithPriceUpdatesErrorType, SimulateWithPriceUpdatesParameters, SimulateWithPriceUpdatesReturnType, getSimulateWithPriceUpdatesError, simulateWithPriceUpdates } from "./utils/viem/simulateWithPriceUpdates.js";
38
38
  import { WatchBlocksAsyncParameters, WatchBlocksAsyncReturnType, watchBlocksAsync } from "./utils/viem/watchBlocksAsync.js";
39
39
  import "./utils/viem/index.js";
40
- import { RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./market/rwa/securitize/constants.js";
41
- import { SecuritizeLiquidator } from "./market/rwa/securitize/SecuritizeLiquidator.js";
40
+ import { PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./market/rwa/securitize/constants.js";
41
+ import { SecuritizeLiquidatorContract } from "./market/rwa/securitize/SecuritizeLiquidatorContract.js";
42
42
  import { ClosePathBalances, FindBestClosePathProps, FindClaimAllRewardsProps, FindOneTokenPathProps, FindOpenStrategyPathProps, IRouterContract, OpenStrategyResult, RouterCASlice, RouterCMSlice, RouterCloseResult, RouterResult, RouterRewardsResult, SwapOperation } from "./router/types.js";
43
43
  import { createRouter } from "./router/createRouter.js";
44
44
  import { assetsMap } from "./router/helpers.js";
@@ -144,10 +144,10 @@ import { SDKConstruct } from "./base/SDKConstruct.js";
144
144
  import "./base/index.js";
145
145
  import { CreditAccountServiceOptions, CreditAccountsServiceV310 } from "./accounts/CreditAccountsServiceV310.js";
146
146
  import { LIQUIDATION_COMPRESSOR_V313_ADDRESS } from "./accounts/liquidations/constants.js";
147
- import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./accounts/liquidations/types.js";
147
+ import { BuildLiquidationTxProps, BuildLiquidationTxPropsBase, DelayedReceivedAsset, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, ILiquidationsService, InstantReceivedAsset, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidatorWithdrawal, LoadRWALiquidatorsProps, MultichainNetworkProps, MultichainNetworksProps, ReceivedAsset, WithMultichain } from "./accounts/liquidations/types.js";
148
148
  import { LiquidationsService } from "./accounts/liquidations/LiquidationsService.js";
149
149
  import { ChainConfig, MultichainAttachOptions, MultichainHydrateOptions, MultichainSDK, MultichainSDKOptions, MultichainSyncStateOptions } from "./MultichainSDK.js";
150
150
  import { MultichainLiquidationsService } from "./accounts/liquidations/MultichainLiquidationsService.js";
151
151
  import "./accounts/index.js";
152
152
  import { SDKOptions, attachOptionsSchema, onchainSDKOptionsSchema } from "./options.js";
153
- export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_RWA_COMPRESSOR, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountToCheck, AdapterData, AddCollateralProps, AddLiquidityProps, AddressMap, AddressProviderAddresses, AddressProviderState, AddressProviderV310Contract, type AddressProviderV3StateHuman, AddressSet, type AliasLossPolicyStateHuman, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, AssertAssignable, Asset, type AssetPriceFeedStateHuman, AssetsMap, AttachOptions, BLOCKS_PER_WEEK_BY_NETWORK, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, BaseContractArgs, type BaseContractStateHuman, BaseParams, BasePlugin, type BasePriceFeedStateHuman, BaseState, type BotListStateHuman, BotPermissions, type BoundedOracleStateHuman, BoundedPriceFeedContract, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, ChainConfig, ChainContractsRegister, ChangeDeptProps, ClaimDelayedProps, ClaimFarmRewardsProps, ClaimableWithdrawal, ClientOptions, CloseCreditAccountProps, CloseCreditAccountResult, CloseOptions, ClosePathBalances, CompositePriceFeedContract, ConnectedBotData, type ConstantOracleStateHuman, Construct, ConstructOptions, type ContractMethod, ContractOrInterface, ContractParseError, ContractParseErrorOptions, type CoreStateHuman, CreditAccountData, CreditAccountDataPayload, CreditAccountFilter, CreditAccountOperationResult, CreditAccountServiceOptions, CreditAccountTokensSlice, CreditAccountsServiceV310, CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV310Contract, CreditFacadeState, type CreditFacadeStateHuman, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerDebtParams, type CreditManagerDebtParamsHuman, CreditManagerFilter, CreditManagerOperationResult, CreditManagerState, type CreditManagerStateHuman, CreditManagerV310Contract, CreditSuite, CreditSuiteState, type CreditSuiteStateHuman, Curator, CurrentWithdrawals, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DStokenData, DefaultPartialLiquidationParams, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedIntentExtended, DelayedReceivedAsset, DelayedWithdrawCollateralIntent, DelegatedMulticall, DepositMetadata, EncodableCreditAccountOperation, Erc4626PriceFeedContract, EstimateRawTxGasParameters, EtherscanURLParam, ExecuteSwapProps, ExternalPriceFeedContract, type FetchPythPayloadsOptions, type FetchRedstonePayloadsOptions, FilterDustUSDOptions, FindBestClosePathProps, FindClaimAllRewardsProps, FindOneTokenPathProps, FindOpenStrategyPathProps, FormatBNOptions, FullyLiquidateProps, FullyLiquidateResult, GaugeContract, GaugeData, GaugeParams, type GaugeParamsHuman, type GaugeStateHuman, type GearStakingV3StateHuman, GearboxChain, type GearboxState, type GearboxStateHuman, GetApprovalAddressProps, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, GetOpenAccountRequirementsProps, GetPendingWithdrawalsProps, GetPendingWithdrawalsResult, GetWithdrawalRequestResultProps, HydrateOptions, IAdapterContract, IAddressProviderContract, IBaseContract, ICreditAccountsService, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, ILiquidationsService, type ILogger, IOnchainSDKPlugin, IOnchainSDKPluginConstructor, IPluginState, IPoolContract, IPoolsService, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTx, IRWAFactory, IRateKeeperContract, IRedemptionLoggerContract, IRouterContract, IUpdatablePriceFeedContract, IWithdrawalCompressorContract, IZapperContract, InstantReceivedAsset, type InterestRateModelStateHuman, InterestRateModelType, InvalidDelayedIntentError, IsDustOptions, LEVERAGE_DECIMALS, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LPMonopolizedPoolMeta, type LPPriceFeedStateHuman, LatestUpdate, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, type LogFn, type LossPolicyStateHuman, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, MarketData, MarketFilter, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, type MarketStateHuman, MarketSuite, MarketType, MellowLRTPriceFeedContract, Methods, MidasLiquidator, MissingSerializedParamsError, type MultiCall, MultichainAttachOptions, MultichainHydrateOptions, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, MultichainSDK, MultichainSDKOptions, type MultichainState, type MultichainStateHuman, MultichainSyncStateOptions, NATIVE_ADDRESS, NOT_DEPLOYED, NO_VERSION, NetworkType, OnDemandPriceUpdates, OnchainRequestableWithdrawal, OnchainSDK, OnchainSDKOptions, OpenCAProps, OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PRICE_DECIMALS, PRICE_DECIMALS_POW, ParsedCall, ParsedCallArgs, ParsedCallV2, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PartialRecord, PartiallyLiquidateProps, PendingWithdrawal, PendleTWAPPTPriceFeed, PeripheryContract, PermitResult, PhantomTokenContractType, PhantomTokenMeta, PickSomeRequired, PlaceholderAdapterContract, PlaceholderAdapterContractOptions, PlaceholderContract, PluginFactoriesMap, PluginFactory, PluginState, PluginStateVersionError, PluginStatesMap, PluginsMap, PoolQuotaKeeperContract, type PoolQuotaKeeperStateHuman, PoolService, PoolServiceCall, PoolServiceCallResult, PoolState, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, PoolV310Contract, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, PriceFeedAnswer, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, type PriceFeedStateHuman, PriceFeedTreeNode, PriceFeedUsageType, PriceFeedsForTokensOptions, PriceOracleData, type PriceOracleStateHuman, PriceOracleV310Contract, PriceUpdate, PythPriceFeed, QuotaKeeperState, type QuotaParamsHuman, QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWADefaultTokenMeta, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOnDemandLPMeta, RWAOnDemandLPMonopolizedMeta, RWAOnDemandLpContractType, RWAOnDemandTokenMeta, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWATokenMeta, RWAUnderlyingContractType, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RampEvent, RateKeeperState, type RateKeeperStateHuman, RateKeeperType, type RawTx, ReceivedAsset, RedemptionLog, RedemptionLoggerV310Contract, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, RelaxedBaseParams, RemoveLiquidityProps, RepayAndLiquidateCreditAccountProps, RepayCreditAccountProps, RequestableWithdrawal, RetryOptions, RewardInfo, Rewards, RouterCASlice, RouterCMSlice, RouterCloseResult, RouterResult, RouterRewardsResult, RouterV310Contract, SDKConstruct, SDKOptions, SECONDS_PER_YEAR, SECURITIZE_REGISTER_VAULT_TYPES, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidator, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, SendRawTxParameters, SetBotProps, SimpleTokenMeta, SimulateCallOptions, SimulateCallParameters, SimulateCallReturnType, SimulateMulticallParameters, SimulateMulticallReturnType, SimulateWithPriceUpdatesError, SimulateWithPriceUpdatesErrorParams, SimulateWithPriceUpdatesErrorType, SimulateWithPriceUpdatesParameters, SimulateWithPriceUpdatesReturnType, SimulationError, SimulationErrorType, StartDelayedWithdrawalProps, SupportedValue, SwapOperation, SyncStateOptions, type TimestampedCalldata, TokenInfo, TokenMetaData, TokensMeta, type TumblerStateHuman, TypedObjectUtils, Unarray, UnsupportedZapperFunctionError, UpdatePriceFeedsResult, UpdateQuotasProps, VERSION_RANGE_310, VersionRange, VotingContractStatus, WAD, WAD_DECIMALS_POW, WatchBlocksAsyncParameters, WatchBlocksAsyncReturnType, WithMultichain, WithdrawCollateralProps, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalMetadata, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, WstETHPriceFeedContract, YearnPriceFeedContract, ZapperContract, ZapperData, type ZapperStateHuman, ZeroPriceFeedContract, ZodAddress, assetsMap, attachOptionsSchema, botPermissionsToString, bytes32ToString, chains, childLogger, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, decodeDelayedIntent, detectNetwork, encodeDelayedIntent, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, fetchPythPayloads, fetchRedstonePayloads, filterDust, filterDustUSD, findCuratorMarketConfigurator, fmtBinaryMask, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getCastTraceArgs, getChain, getCuratorName, getFunctionSignature, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hexEq, hydrateAddressProvider, iCreditAccountAbi, isDust, isLPPriceFeed, isPublicNetwork, isRWAFactory, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, json_parse, json_stringify, numberWithCommas, onchainSDKOptionsSchema, percentFmt, rayToNumber, retry, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, toAddress, toBN, toBigInt, toClaimableWithdrawal, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toWithdrawalStatus, watchBlocksAsync };
153
+ export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_RWA_COMPRESSOR, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountToCheck, AdapterData, AddCollateralProps, AddLiquidityProps, AddressMap, AddressProviderAddresses, AddressProviderState, AddressProviderV310Contract, type AddressProviderV3StateHuman, AddressSet, type AliasLossPolicyStateHuman, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, AssertAssignable, Asset, type AssetPriceFeedStateHuman, AssetsMap, AttachOptions, BLOCKS_PER_WEEK_BY_NETWORK, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, BaseContractArgs, type BaseContractStateHuman, BaseParams, BasePlugin, type BasePriceFeedStateHuman, BaseState, type BotListStateHuman, BotPermissions, type BoundedOracleStateHuman, BoundedPriceFeedContract, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, ChainConfig, ChainContractsRegister, ChangeDeptProps, ClaimDelayedProps, ClaimFarmRewardsProps, ClaimableWithdrawal, ClientOptions, CloseCreditAccountProps, CloseCreditAccountResult, CloseOptions, ClosePathBalances, CompositePriceFeedContract, ConnectedBotData, type ConstantOracleStateHuman, Construct, ConstructOptions, type ContractMethod, ContractOrInterface, ContractParseError, ContractParseErrorOptions, type CoreStateHuman, CreditAccountData, CreditAccountDataPayload, CreditAccountFilter, CreditAccountOperationResult, CreditAccountServiceOptions, CreditAccountTokensSlice, CreditAccountsServiceV310, CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV310Contract, CreditFacadeState, type CreditFacadeStateHuman, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerDebtParams, type CreditManagerDebtParamsHuman, CreditManagerFilter, CreditManagerOperationResult, CreditManagerState, type CreditManagerStateHuman, CreditManagerV310Contract, CreditSuite, CreditSuiteState, type CreditSuiteStateHuman, Curator, CurrentWithdrawals, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DStokenData, DefaultPartialLiquidationParams, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedIntentExtended, DelayedReceivedAsset, DelayedWithdrawCollateralIntent, DelegatedMulticall, DepositMetadata, EncodableCreditAccountOperation, Erc4626PriceFeedContract, EstimateRawTxGasParameters, EtherscanURLParam, ExecuteSwapProps, ExternalPriceFeedContract, type FetchPythPayloadsOptions, type FetchRedstonePayloadsOptions, FilterDustUSDOptions, FindBestClosePathProps, FindClaimAllRewardsProps, FindOneTokenPathProps, FindOpenStrategyPathProps, FormatBNOptions, FullyLiquidateProps, FullyLiquidateResult, GaugeContract, GaugeData, GaugeParams, type GaugeParamsHuman, type GaugeStateHuman, type GearStakingV3StateHuman, GearboxChain, type GearboxState, type GearboxStateHuman, GetApprovalAddressProps, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetLiquidatableAccountsProps, GetLiquidatableAccountsPropsBase, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidatorWithdrawalsProps, GetLiquidatorWithdrawalsPropsBase, GetOpenAccountRequirementsProps, GetPendingWithdrawalsProps, GetPendingWithdrawalsResult, GetWithdrawalRequestResultProps, HydrateOptions, IAdapterContract, IAddressProviderContract, IBaseContract, ICreditAccountsService, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, ILiquidationsService, type ILogger, IOnchainSDKPlugin, IOnchainSDKPluginConstructor, IPluginState, IPoolContract, IPoolsService, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTx, IRWAFactory, IRateKeeperContract, IRedemptionLoggerContract, IRouterContract, IUpdatablePriceFeedContract, IWithdrawalCompressorContract, IZapperContract, InstantReceivedAsset, type InterestRateModelStateHuman, InterestRateModelType, InvalidDelayedIntentError, IsDustOptions, LEVERAGE_DECIMALS, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LPMonopolizedPoolMeta, type LPPriceFeedStateHuman, LatestUpdate, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, LiquidatableAccount, LiquidationApproval, LiquidationDetails, LiquidationsService, LiquidatorWithdrawal, LoadRWALiquidatorsProps, type LogFn, type LossPolicyStateHuman, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, MarketData, MarketFilter, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, type MarketStateHuman, MarketSuite, MarketType, MellowLRTPriceFeedContract, Methods, MidasLiquidatorContract, MissingSerializedParamsError, type MultiCall, MultichainAttachOptions, MultichainHydrateOptions, MultichainLiquidationsService, MultichainNetworkProps, MultichainNetworksProps, MultichainSDK, MultichainSDKOptions, type MultichainState, type MultichainStateHuman, MultichainSyncStateOptions, NATIVE_ADDRESS, NOT_DEPLOYED, NO_VERSION, NetworkType, OnDemandPriceUpdates, OnchainRequestableWithdrawal, OnchainSDK, OnchainSDKOptions, OpenCAProps, OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, PRICE_DECIMALS, PRICE_DECIMALS_POW, ParsedCall, ParsedCallArgs, ParsedCallV2, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PartialRecord, PartiallyLiquidateProps, PendingWithdrawal, PendleTWAPPTPriceFeed, PeripheryContract, PermitResult, PhantomTokenContractType, PhantomTokenMeta, PickSomeRequired, PlaceholderAdapterContract, PlaceholderAdapterContractOptions, PlaceholderContract, PluginFactoriesMap, PluginFactory, PluginState, PluginStateVersionError, PluginStatesMap, PluginsMap, PoolQuotaKeeperContract, type PoolQuotaKeeperStateHuman, PoolService, PoolServiceCall, PoolServiceCallResult, PoolState, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, PoolV310Contract, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, PriceFeedAnswer, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, type PriceFeedStateHuman, PriceFeedTreeNode, PriceFeedUsageType, PriceFeedsForTokensOptions, PriceOracleData, type PriceOracleStateHuman, PriceOracleV310Contract, PriceUpdate, PythPriceFeed, QuotaKeeperState, type QuotaParamsHuman, QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWADefaultTokenMeta, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOnDemandLPMeta, RWAOnDemandLPMonopolizedMeta, RWAOnDemandLpContractType, RWAOnDemandTokenMeta, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWATokenMeta, RWAUnderlyingContractType, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RampEvent, RateKeeperState, type RateKeeperStateHuman, RateKeeperType, type RawTx, ReceivedAsset, RedemptionLog, RedemptionLoggerV310Contract, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, RelaxedBaseParams, RemoveLiquidityProps, RepayAndLiquidateCreditAccountProps, RepayCreditAccountProps, RequestableWithdrawal, RetryOptions, RewardInfo, Rewards, RouterCASlice, RouterCMSlice, RouterCloseResult, RouterResult, RouterRewardsResult, RouterV310Contract, SDKConstruct, SDKOptions, SECONDS_PER_YEAR, SECURITIZE_REGISTER_VAULT_TYPES, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, SendRawTxParameters, SetBotProps, SimpleTokenMeta, SimulateCallOptions, SimulateCallParameters, SimulateCallReturnType, SimulateMulticallParameters, SimulateMulticallReturnType, SimulateWithPriceUpdatesError, SimulateWithPriceUpdatesErrorParams, SimulateWithPriceUpdatesErrorType, SimulateWithPriceUpdatesParameters, SimulateWithPriceUpdatesReturnType, SimulationError, SimulationErrorType, StartDelayedWithdrawalProps, SupportedValue, SwapOperation, SyncStateOptions, type TimestampedCalldata, TokenInfo, TokenMetaData, TokensMeta, type TumblerStateHuman, TypedObjectUtils, Unarray, UnsupportedZapperFunctionError, UpdatePriceFeedsResult, UpdateQuotasProps, VERSION_RANGE_310, VersionRange, VotingContractStatus, WAD, WAD_DECIMALS_POW, WatchBlocksAsyncParameters, WatchBlocksAsyncReturnType, WithMultichain, WithdrawCollateralProps, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalMetadata, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, WstETHPriceFeedContract, YearnPriceFeedContract, ZapperContract, ZapperData, type ZapperStateHuman, ZeroPriceFeedContract, ZodAddress, assetsMap, attachOptionsSchema, botPermissionsToString, bytes32ToString, chains, childLogger, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, decodeDelayedIntent, detectNetwork, encodeDelayedIntent, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, fetchPythPayloads, fetchRedstonePayloads, filterDust, filterDustUSD, findCuratorMarketConfigurator, fmtBinaryMask, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getCastTraceArgs, getChain, getCuratorName, getFunctionSignature, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hexEq, hydrateAddressProvider, iCreditAccountAbi, isDust, isLPPriceFeed, isPublicNetwork, isRWAFactory, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, json_parse, json_stringify, numberWithCommas, onchainSDKOptionsSchema, percentFmt, rayToNumber, retry, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, toAddress, toBN, toBigInt, toClaimableWithdrawal, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toWithdrawalStatus, watchBlocksAsync };
@@ -2,10 +2,10 @@ import { IAdapterContract } from "./adapters/types.js";
2
2
  import { createAdapter } from "./adapters/createAdapter.js";
3
3
  import { PlaceholderAdapterContract, PlaceholderAdapterContractOptions } from "./adapters/PlaceholderAdapterContracts.js";
4
4
  import "./adapters/index.js";
5
- import { RWA_LIQUIDATOR_MIDAS } from "./rwa/midas/constants.js";
6
- import { MidasLiquidator } from "./rwa/midas/MidasLiquidator.js";
7
- import { RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./rwa/securitize/constants.js";
8
- import { SecuritizeLiquidator } from "./rwa/securitize/SecuritizeLiquidator.js";
5
+ import { PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS } from "./rwa/midas/constants.js";
6
+ import { MidasLiquidatorContract } from "./rwa/midas/MidasLiquidatorContract.js";
7
+ import { PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./rwa/securitize/constants.js";
8
+ import { SecuritizeLiquidatorContract } from "./rwa/securitize/SecuritizeLiquidatorContract.js";
9
9
  import { IRWAFactory, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_TYPES, isRWAFactory } from "./rwa/types.js";
10
10
  import { DStokenData, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature } from "./rwa/securitize/types.js";
11
11
  import { SecuritizeRWAFactory } from "./rwa/securitize/SecuritizeRWAFactory.js";
@@ -65,4 +65,4 @@ import { IERC20ZapperContract } from "./zapper/IERC20ZapperContract.js";
65
65
  import { IETHZapperContract } from "./zapper/IETHZapperContract.js";
66
66
  import "./zapper/index.js";
67
67
  import { MarketRegister, MarketRegistryState, MarketRegistryStateHuman } from "./MarketRegister.js";
68
- export { AbstractLPPriceFeedContract, AbstractPriceFeedContract, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, DStokenData, Erc4626PriceFeedContract, ExternalPriceFeedContract, type FetchPythPayloadsOptions, type FetchRedstonePayloadsOptions, GaugeContract, GaugeParams, IAdapterContract, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, IPoolContract, IPriceFeedContract, IPriceOracleContract, IRWAFactory, IRateKeeperContract, IUpdatablePriceFeedContract, IZapperContract, InterestRateModelType, LatestUpdate, LinearInterestRateModelContract, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketSuite, MellowLRTPriceFeedContract, MidasLiquidator, OnDemandPriceUpdates, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendleTWAPPTPriceFeed, PlaceholderAdapterContract, PlaceholderAdapterContractOptions, PoolQuotaKeeperContract, PoolSuite, PoolV310Contract, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, PriceFeedUsageType, PriceFeedsForTokensOptions, PriceOracleV310Contract, PriceUpdate, PythPriceFeed, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RampEvent, RateKeeperType, RedstonePriceFeedContract, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidator, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, type TimestampedCalldata, UnsupportedZapperFunctionError, UpdatePriceFeedsResult, WstETHPriceFeedContract, YearnPriceFeedContract, ZapperContract, ZapperData, ZeroPriceFeedContract, createAdapter, createPriceOracle, createZapper, fetchPythPayloads, fetchRedstonePayloads, getRawPriceUpdates, isLPPriceFeed, isRWAFactory, isUpdatablePriceFeed };
68
+ export { AbstractLPPriceFeedContract, AbstractPriceFeedContract, BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, DStokenData, Erc4626PriceFeedContract, ExternalPriceFeedContract, type FetchPythPayloadsOptions, type FetchRedstonePayloadsOptions, GaugeContract, GaugeParams, IAdapterContract, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, IPoolContract, IPriceFeedContract, IPriceOracleContract, IRWAFactory, IRateKeeperContract, IUpdatablePriceFeedContract, IZapperContract, InterestRateModelType, LatestUpdate, LinearInterestRateModelContract, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketSuite, MellowLRTPriceFeedContract, MidasLiquidatorContract, OnDemandPriceUpdates, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendleTWAPPTPriceFeed, PlaceholderAdapterContract, PlaceholderAdapterContractOptions, PoolQuotaKeeperContract, PoolSuite, PoolV310Contract, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, PriceFeedUsageType, PriceFeedsForTokensOptions, PriceOracleV310Contract, PriceUpdate, PythPriceFeed, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RampEvent, RateKeeperType, RedstonePriceFeedContract, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, type TimestampedCalldata, UnsupportedZapperFunctionError, UpdatePriceFeedsResult, WstETHPriceFeedContract, YearnPriceFeedContract, ZapperContract, ZapperData, ZeroPriceFeedContract, createAdapter, createPriceOracle, createZapper, fetchPythPayloads, fetchRedstonePayloads, getRawPriceUpdates, isLPPriceFeed, isRWAFactory, isUpdatablePriceFeed };
@@ -1,11 +1,11 @@
1
- import { RWA_LIQUIDATOR_MIDAS } from "./midas/constants.js";
2
- import { MidasLiquidator } from "./midas/MidasLiquidator.js";
1
+ import { PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS } from "./midas/constants.js";
2
+ import { MidasLiquidatorContract } from "./midas/MidasLiquidatorContract.js";
3
3
  import "./midas/index.js";
4
- import { RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./securitize/constants.js";
5
- import { SecuritizeLiquidator } from "./securitize/SecuritizeLiquidator.js";
4
+ import { PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE } from "./securitize/constants.js";
5
+ import { SecuritizeLiquidatorContract } from "./securitize/SecuritizeLiquidatorContract.js";
6
6
  import { IRWAFactory, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_TYPES, isRWAFactory } from "./types.js";
7
7
  import { DStokenData, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature } from "./securitize/types.js";
8
8
  import { SecuritizeRWAFactory } from "./securitize/SecuritizeRWAFactory.js";
9
9
  import "./securitize/index.js";
10
10
  import { RWARegistry } from "./RWARegistry.js";
11
- export { DStokenData, IRWAFactory, MidasLiquidator, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidator, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, isRWAFactory };
11
+ export { DStokenData, IRWAFactory, MidasLiquidatorContract, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAFactoryType, RWAInvestorData, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, isRWAFactory };
@@ -2,7 +2,7 @@ import { ConstructOptions } from "../../../base/Construct.js";
2
2
  import { BaseContract } from "../../../base/BaseContract.js";
3
3
  import "../../../base/index.js";
4
4
  import { Address, DecodeFunctionDataReturnType } from "viem";
5
- //#region src/sdk/market/rwa/midas/MidasLiquidator.d.ts
5
+ //#region src/sdk/market/rwa/midas/MidasLiquidatorContract.d.ts
6
6
  declare const abi: readonly [{
7
7
  readonly type: "function";
8
8
  readonly name: "contractType";
@@ -84,10 +84,10 @@ declare const abi: readonly [{
84
84
  readonly inputs: readonly [];
85
85
  }];
86
86
  type abi = typeof abi;
87
- declare class MidasLiquidator extends BaseContract<abi> {
87
+ declare class MidasLiquidatorContract extends BaseContract<abi> {
88
88
  constructor(options: ConstructOptions, address: Address);
89
89
  protected stringifyFunctionParams(params: DecodeFunctionDataReturnType<abi>): string[];
90
90
  protected parseFunctionParamsV2(params: DecodeFunctionDataReturnType<abi>, strict?: boolean): Record<string, unknown>;
91
91
  }
92
92
  //#endregion
93
- export { MidasLiquidator };
93
+ export { MidasLiquidatorContract };
@@ -1,4 +1,5 @@
1
1
  //#region src/sdk/market/rwa/midas/constants.d.ts
2
2
  declare const RWA_LIQUIDATOR_MIDAS = "RWA_LIQUIDATOR::MIDAS";
3
+ declare const PHANTOM_TOKEN_MIDAS_REDEMPTION = "PHANTOM_TOKEN::MIDAS_REDEMPTION";
3
4
  //#endregion
4
- export { RWA_LIQUIDATOR_MIDAS };
5
+ export { PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS };
@@ -1,3 +1,3 @@
1
- import { RWA_LIQUIDATOR_MIDAS } from "./constants.js";
2
- import { MidasLiquidator } from "./MidasLiquidator.js";
3
- export { MidasLiquidator, RWA_LIQUIDATOR_MIDAS };
1
+ import { PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS } from "./constants.js";
2
+ import { MidasLiquidatorContract } from "./MidasLiquidatorContract.js";
3
+ export { MidasLiquidatorContract, PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS };
@@ -2,7 +2,7 @@ import { ConstructOptions } from "../../../base/Construct.js";
2
2
  import { BaseContract } from "../../../base/BaseContract.js";
3
3
  import "../../../base/index.js";
4
4
  import { Address, DecodeFunctionDataReturnType } from "viem";
5
- //#region src/sdk/market/rwa/securitize/SecuritizeLiquidator.d.ts
5
+ //#region src/sdk/market/rwa/securitize/SecuritizeLiquidatorContract.d.ts
6
6
  declare const abi: readonly [{
7
7
  readonly type: "function";
8
8
  readonly name: "contractType";
@@ -96,9 +96,9 @@ declare const abi: readonly [{
96
96
  readonly inputs: readonly [];
97
97
  }];
98
98
  type abi = typeof abi;
99
- declare class SecuritizeLiquidator extends BaseContract<abi> {
99
+ declare class SecuritizeLiquidatorContract extends BaseContract<abi> {
100
100
  constructor(options: ConstructOptions, address: Address);
101
101
  protected stringifyFunctionParams(params: DecodeFunctionDataReturnType<abi>): string[];
102
102
  }
103
103
  //#endregion
104
- export { SecuritizeLiquidator };
104
+ export { SecuritizeLiquidatorContract };
@@ -1,5 +1,6 @@
1
1
  //#region src/sdk/market/rwa/securitize/constants.d.ts
2
2
  declare const RWA_FACTORY_SECURITIZE = "RWA_FACTORY::SECURITIZE";
3
3
  declare const RWA_LIQUIDATOR_SECURITIZE = "RWA_LIQUIDATOR::SECURITIZE";
4
+ declare const PHANTOM_TOKEN_SECURITIZE_REDEMPTION = "PHANTOM_TOKEN::SECURITIZE_RD";
4
5
  //#endregion
5
- export { RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE };
6
+ export { PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWA_FACTORY_SECURITIZE, RWA_LIQUIDATOR_SECURITIZE };