@gearbox-protocol/sdk 9.15.0 → 9.15.2

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 (169) hide show
  1. package/dist/cjs/abi/package.json +1 -0
  2. package/dist/cjs/abi/router/pendleRouterWorker.js +0 -16
  3. package/dist/cjs/dev/mint/factory.js +1 -1
  4. package/dist/cjs/permissionless/bindings/address-provider.js +1 -1
  5. package/dist/cjs/permissionless/bindings/base-contract.js +2 -2
  6. package/dist/cjs/permissionless/bindings/bytecode-repository.js +3 -3
  7. package/dist/cjs/permissionless/bindings/compressors/index.js +4 -4
  8. package/dist/cjs/permissionless/bindings/compressors/token-compressor.js +1 -1
  9. package/dist/cjs/permissionless/bindings/compressors/withdrawal-compressor.js +1 -1
  10. package/dist/cjs/permissionless/bindings/cross-chain-multisig.js +6 -6
  11. package/dist/cjs/permissionless/bindings/factory/abstract-factory.js +2 -2
  12. package/dist/cjs/permissionless/bindings/factory/credit-factory.js +1 -1
  13. package/dist/cjs/permissionless/bindings/factory/pool-factory.js +1 -1
  14. package/dist/cjs/permissionless/bindings/factory/price-oracle-factory.js +1 -1
  15. package/dist/cjs/permissionless/bindings/governance/batches-chain.js +1 -1
  16. package/dist/cjs/permissionless/bindings/governance/governor.js +6 -6
  17. package/dist/cjs/permissionless/bindings/governance/index.js +6 -6
  18. package/dist/cjs/permissionless/bindings/governance/timelock.js +1 -1
  19. package/dist/cjs/permissionless/bindings/index.js +28 -28
  20. package/dist/cjs/permissionless/bindings/instance-manager.js +5 -5
  21. package/dist/cjs/permissionless/bindings/market-configurator-factory.js +1 -1
  22. package/dist/cjs/permissionless/bindings/market-configurator.js +10 -10
  23. package/dist/cjs/permissionless/bindings/price-feed-store.js +4 -4
  24. package/dist/cjs/permissionless/bindings/pricefeeds/index.js +17 -17
  25. package/dist/cjs/permissionless/bindings/router/index.js +2 -2
  26. package/dist/cjs/permissionless/bindings/router/routing-manager.js +1 -1
  27. package/dist/cjs/permissionless/bindings/treasury-splitter.js +1 -1
  28. package/dist/cjs/permissionless/core/index.js +12 -12
  29. package/dist/cjs/permissionless/index.js +12 -12
  30. package/dist/cjs/permissionless/plugins/index.js +3 -3
  31. package/dist/cjs/permissionless/utils/abi-decoder.js +2 -2
  32. package/dist/cjs/permissionless/utils/governance/index.js +6 -6
  33. package/dist/cjs/permissionless/utils/governance/timelock-txs.js +1 -1
  34. package/dist/cjs/permissionless/utils/index.js +18 -18
  35. package/dist/cjs/permissionless/utils/price-update/get-price-feeds.js +4 -4
  36. package/dist/cjs/permissionless/utils/price-update/get-price-update-tx.js +2 -2
  37. package/dist/cjs/permissionless/utils/price-update/index.js +8 -8
  38. package/dist/cjs/plugins/adapters/AdaptersPlugin.js +4 -1
  39. package/dist/cjs/plugins/adapters/abi/actionAbi.js +5 -3
  40. package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +8 -3
  41. package/dist/cjs/plugins/adapters/abi/utils.js +6 -6
  42. package/dist/cjs/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
  43. package/dist/cjs/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +45 -0
  44. package/dist/cjs/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
  45. package/dist/cjs/plugins/adapters/contracts/types.js +17 -0
  46. package/dist/cjs/plugins/adapters/index.js +4 -4
  47. package/dist/cjs/plugins/adapters/types.js +1 -0
  48. package/dist/cjs/sdk/sdk-gov-legacy/tokens/curveLP.js +1 -1
  49. package/dist/cjs/sdk/sdk-legacy/core/transactions.js +30 -30
  50. package/dist/cjs/sdk/sdk-legacy/tokens/tokenData.js +1 -1
  51. package/dist/esm/abi/package.json +1 -0
  52. package/dist/esm/abi/router/pendleRouterWorker.js +0 -16
  53. package/dist/esm/dev/mint/factory.js +1 -1
  54. package/dist/esm/permissionless/bindings/address-provider.js +1 -1
  55. package/dist/esm/permissionless/bindings/base-contract.js +2 -2
  56. package/dist/esm/permissionless/bindings/bytecode-repository.js +3 -3
  57. package/dist/esm/permissionless/bindings/compressors/index.js +2 -2
  58. package/dist/esm/permissionless/bindings/compressors/token-compressor.js +1 -1
  59. package/dist/esm/permissionless/bindings/compressors/withdrawal-compressor.js +1 -1
  60. package/dist/esm/permissionless/bindings/cross-chain-multisig.js +6 -6
  61. package/dist/esm/permissionless/bindings/factory/abstract-factory.js +2 -2
  62. package/dist/esm/permissionless/bindings/factory/credit-factory.js +1 -1
  63. package/dist/esm/permissionless/bindings/factory/pool-factory.js +1 -1
  64. package/dist/esm/permissionless/bindings/factory/price-oracle-factory.js +1 -1
  65. package/dist/esm/permissionless/bindings/governance/batches-chain.js +1 -1
  66. package/dist/esm/permissionless/bindings/governance/governor.js +6 -6
  67. package/dist/esm/permissionless/bindings/governance/index.js +3 -3
  68. package/dist/esm/permissionless/bindings/governance/timelock.js +1 -1
  69. package/dist/esm/permissionless/bindings/index.js +14 -14
  70. package/dist/esm/permissionless/bindings/instance-manager.js +5 -5
  71. package/dist/esm/permissionless/bindings/market-configurator-factory.js +1 -1
  72. package/dist/esm/permissionless/bindings/market-configurator.js +8 -8
  73. package/dist/esm/permissionless/bindings/price-feed-store.js +4 -4
  74. package/dist/esm/permissionless/bindings/pricefeeds/index.js +17 -17
  75. package/dist/esm/permissionless/bindings/router/index.js +1 -1
  76. package/dist/esm/permissionless/bindings/router/routing-manager.js +1 -1
  77. package/dist/esm/permissionless/bindings/treasury-splitter.js +1 -1
  78. package/dist/esm/permissionless/core/index.js +6 -6
  79. package/dist/esm/permissionless/index.js +6 -6
  80. package/dist/esm/permissionless/plugins/index.js +3 -3
  81. package/dist/esm/permissionless/utils/abi-decoder.js +2 -2
  82. package/dist/esm/permissionless/utils/governance/index.js +3 -3
  83. package/dist/esm/permissionless/utils/governance/timelock-txs.js +1 -1
  84. package/dist/esm/permissionless/utils/index.js +9 -9
  85. package/dist/esm/permissionless/utils/price-update/get-price-feeds.js +4 -4
  86. package/dist/esm/permissionless/utils/price-update/get-price-update-tx.js +4 -2
  87. package/dist/esm/permissionless/utils/price-update/get-prices.js +2 -6
  88. package/dist/esm/permissionless/utils/price-update/index.js +4 -4
  89. package/dist/esm/plugins/adapters/AdaptersPlugin.js +4 -1
  90. package/dist/esm/plugins/adapters/abi/actionAbi.js +5 -3
  91. package/dist/esm/plugins/adapters/abi/conctructorAbi.js +8 -3
  92. package/dist/esm/plugins/adapters/abi/utils.js +2 -2
  93. package/dist/esm/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
  94. package/dist/esm/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +21 -0
  95. package/dist/esm/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
  96. package/dist/esm/plugins/adapters/contracts/types.js +15 -0
  97. package/dist/esm/plugins/adapters/index.js +2 -2
  98. package/dist/esm/plugins/adapters/types.js +1 -0
  99. package/dist/esm/sdk/sdk-gov-legacy/tokens/curveLP.js +1 -1
  100. package/dist/esm/sdk/sdk-legacy/core/transactions.js +31 -31
  101. package/dist/esm/sdk/sdk-legacy/tokens/tokenData.js +1 -1
  102. package/dist/types/abi/router/pendleRouterWorker.d.ts +0 -20
  103. package/dist/types/dev/mint/factory.d.ts +2 -2
  104. package/dist/types/permissionless/bindings/address-provider.d.ts +1 -1
  105. package/dist/types/permissionless/bindings/base-contract.d.ts +2 -2
  106. package/dist/types/permissionless/bindings/bytecode-repository.d.ts +4 -4
  107. package/dist/types/permissionless/bindings/compressors/index.d.ts +2 -2
  108. package/dist/types/permissionless/bindings/compressors/token-compressor.d.ts +1 -1
  109. package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +2 -2
  110. package/dist/types/permissionless/bindings/cross-chain-multisig.d.ts +2 -2
  111. package/dist/types/permissionless/bindings/factory/credit-factory.d.ts +2 -2
  112. package/dist/types/permissionless/bindings/factory/pool-factory.d.ts +2 -2
  113. package/dist/types/permissionless/bindings/factory/price-oracle-factory.d.ts +2 -2
  114. package/dist/types/permissionless/bindings/governance/batches-chain.d.ts +1 -1
  115. package/dist/types/permissionless/bindings/governance/governor.d.ts +4 -4
  116. package/dist/types/permissionless/bindings/governance/index.d.ts +3 -3
  117. package/dist/types/permissionless/bindings/governance/timelock.d.ts +2 -2
  118. package/dist/types/permissionless/bindings/index.d.ts +14 -14
  119. package/dist/types/permissionless/bindings/instance-manager.d.ts +2 -2
  120. package/dist/types/permissionless/bindings/market-configurator-factory.d.ts +1 -1
  121. package/dist/types/permissionless/bindings/market-configurator.d.ts +6 -6
  122. package/dist/types/permissionless/bindings/price-feed-store.d.ts +3 -3
  123. package/dist/types/permissionless/bindings/pricefeeds/balancer-stable.d.ts +1 -1
  124. package/dist/types/permissionless/bindings/pricefeeds/balancer-weighted.d.ts +1 -1
  125. package/dist/types/permissionless/bindings/pricefeeds/bounded.d.ts +1 -1
  126. package/dist/types/permissionless/bindings/pricefeeds/composite.d.ts +1 -1
  127. package/dist/types/permissionless/bindings/pricefeeds/constant.d.ts +1 -1
  128. package/dist/types/permissionless/bindings/pricefeeds/curve-crypto.d.ts +1 -1
  129. package/dist/types/permissionless/bindings/pricefeeds/curve-stable.d.ts +1 -1
  130. package/dist/types/permissionless/bindings/pricefeeds/curve-twap.d.ts +1 -1
  131. package/dist/types/permissionless/bindings/pricefeeds/curve-usd.d.ts +1 -1
  132. package/dist/types/permissionless/bindings/pricefeeds/erc4626.d.ts +1 -1
  133. package/dist/types/permissionless/bindings/pricefeeds/external.d.ts +1 -1
  134. package/dist/types/permissionless/bindings/pricefeeds/index.d.ts +1 -1
  135. package/dist/types/permissionless/bindings/pricefeeds/kodiak.d.ts +1 -1
  136. package/dist/types/permissionless/bindings/pricefeeds/mellow-lrt.d.ts +1 -1
  137. package/dist/types/permissionless/bindings/pricefeeds/pendle-pt-twap.d.ts +1 -1
  138. package/dist/types/permissionless/bindings/pricefeeds/pyth.d.ts +1 -1
  139. package/dist/types/permissionless/bindings/pricefeeds/redstone.d.ts +1 -1
  140. package/dist/types/permissionless/bindings/pricefeeds/wsteth.d.ts +1 -1
  141. package/dist/types/permissionless/bindings/pricefeeds/zero.d.ts +1 -1
  142. package/dist/types/permissionless/bindings/router/index.d.ts +1 -1
  143. package/dist/types/permissionless/bindings/router/routing-manager.d.ts +2 -2
  144. package/dist/types/permissionless/bindings/treasury-splitter.d.ts +2 -2
  145. package/dist/types/permissionless/core/index.d.ts +6 -6
  146. package/dist/types/permissionless/index.d.ts +6 -6
  147. package/dist/types/permissionless/plugins/index.d.ts +3 -3
  148. package/dist/types/permissionless/utils/governance/batch.d.ts +1 -1
  149. package/dist/types/permissionless/utils/governance/index.d.ts +3 -3
  150. package/dist/types/permissionless/utils/governance/timelock-txs.d.ts +1 -1
  151. package/dist/types/permissionless/utils/governance/types.d.ts +1 -1
  152. package/dist/types/permissionless/utils/index.d.ts +9 -9
  153. package/dist/types/permissionless/utils/price-update/get-price-feeds.d.ts +1 -1
  154. package/dist/types/permissionless/utils/price-update/get-price-update-tx.d.ts +1 -1
  155. package/dist/types/permissionless/utils/price-update/index.d.ts +4 -4
  156. package/dist/types/plugins/adapters/abi/actionAbi.d.ts +1 -1
  157. package/dist/types/plugins/adapters/abi/conctructorAbi.d.ts +1 -1
  158. package/dist/types/plugins/adapters/abi/utils.d.ts +1 -1
  159. package/dist/types/plugins/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +5 -1
  160. package/dist/types/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +11 -0
  161. package/dist/types/plugins/adapters/contracts/PendleRouterAdapterContract.d.ts +7 -1
  162. package/dist/types/plugins/adapters/contracts/types.d.ts +11 -0
  163. package/dist/types/plugins/adapters/index.d.ts +2 -2
  164. package/dist/types/plugins/adapters/types.d.ts +2 -1
  165. package/dist/types/plugins/zappers/extraZappers.d.ts +2 -2
  166. package/dist/types/sdk/accounts/AbstractCreditAccountsService.d.ts +1 -2
  167. package/dist/types/sdk/market/oracle/PriceOracleBaseContract.d.ts +1 -2
  168. package/dist/types/sdk/market/oracle/PriceOracleV300Contract.d.ts +1 -1
  169. package/package.json +1 -11
@@ -1,14 +1,14 @@
1
- import { formatBN } from "../../utils/index.js";
1
+ import { formatBN, json_parse, json_stringify } from "../../utils/index.js";
2
2
  import { BigIntMath } from "../utils/math.js";
3
3
  import { EVMTx } from "./eventOrTx.js";
4
4
  const GEAR_DECIMALS = 18;
5
5
  class TxSerializer {
6
6
  static serialize(items) {
7
- return JSON.stringify(items.map((i) => i.serialize()));
7
+ return json_stringify(items.map((i) => i.serialize()));
8
8
  }
9
9
  static deserialize(data) {
10
- return JSON.parse(data).map((e) => {
11
- const params = JSON.parse(e.content);
10
+ return json_parse(data).map((e) => {
11
+ const params = json_parse(e.content);
12
12
  switch (e.type) {
13
13
  case "TxAddLiquidity":
14
14
  return new TxAddLiquidity(params);
@@ -90,7 +90,7 @@ class TxAddLiquidity extends EVMTx {
90
90
  serialize() {
91
91
  return {
92
92
  type: "TxAddLiquidity",
93
- content: JSON.stringify(this)
93
+ content: json_stringify(this)
94
94
  };
95
95
  }
96
96
  }
@@ -114,7 +114,7 @@ class TxRemoveLiquidity extends EVMTx {
114
114
  serialize() {
115
115
  return {
116
116
  type: "TxRemoveLiquidity",
117
- content: JSON.stringify(this)
117
+ content: json_stringify(this)
118
118
  };
119
119
  }
120
120
  }
@@ -141,7 +141,7 @@ class TxStakeDiesel extends EVMTx {
141
141
  serialize() {
142
142
  return {
143
143
  type: "TxStakeDiesel",
144
- content: JSON.stringify(this)
144
+ content: json_stringify(this)
145
145
  };
146
146
  }
147
147
  }
@@ -168,7 +168,7 @@ class TxUnstakeDiesel extends EVMTx {
168
168
  serialize() {
169
169
  return {
170
170
  type: "TxUnstakeDiesel",
171
- content: JSON.stringify(this)
171
+ content: json_stringify(this)
172
172
  };
173
173
  }
174
174
  }
@@ -200,7 +200,7 @@ class TXSwap extends EVMTx {
200
200
  serialize() {
201
201
  return {
202
202
  type: "TxSwap",
203
- content: JSON.stringify(this)
203
+ content: json_stringify(this)
204
204
  };
205
205
  }
206
206
  }
@@ -224,7 +224,7 @@ class TxAddCollateral extends EVMTx {
224
224
  serialize() {
225
225
  return {
226
226
  type: "TxAddCollateral",
227
- content: JSON.stringify(this)
227
+ content: json_stringify(this)
228
228
  };
229
229
  }
230
230
  }
@@ -248,7 +248,7 @@ class TxIncreaseBorrowAmount extends EVMTx {
248
248
  serialize() {
249
249
  return {
250
250
  type: "TxIncreaseBorrowAmount",
251
- content: JSON.stringify(this)
251
+ content: json_stringify(this)
252
252
  };
253
253
  }
254
254
  }
@@ -272,7 +272,7 @@ class TxDecreaseBorrowAmount extends EVMTx {
272
272
  serialize() {
273
273
  return {
274
274
  type: "TxIncreaseBorrowAmount",
275
- content: JSON.stringify(this)
275
+ content: json_stringify(this)
276
276
  };
277
277
  }
278
278
  }
@@ -313,7 +313,7 @@ class TxOpenMultitokenAccount extends EVMTx {
313
313
  serialize() {
314
314
  return {
315
315
  type: "TxOpenMultitokenAccount",
316
- content: JSON.stringify(this)
316
+ content: json_stringify(this)
317
317
  };
318
318
  }
319
319
  }
@@ -324,7 +324,7 @@ class TxClaimNFT extends EVMTx {
324
324
  serialize() {
325
325
  return {
326
326
  type: "TxClaimNFT",
327
- content: JSON.stringify(this)
327
+ content: json_stringify(this)
328
328
  };
329
329
  }
330
330
  }
@@ -350,7 +350,7 @@ class TxClaimRewards extends EVMTx {
350
350
  serialize() {
351
351
  return {
352
352
  type: "TxClaimRewards",
353
- content: JSON.stringify(this)
353
+ content: json_stringify(this)
354
354
  };
355
355
  }
356
356
  }
@@ -395,7 +395,7 @@ class TxStartDelayedWithdrawal extends EVMTx {
395
395
  serialize() {
396
396
  return {
397
397
  type: "TxStartDelayedWithdrawal",
398
- content: JSON.stringify(this)
398
+ content: json_stringify(this)
399
399
  };
400
400
  }
401
401
  }
@@ -411,7 +411,7 @@ class TxMigrateCreditAccount extends EVMTx {
411
411
  serialize() {
412
412
  return {
413
413
  type: "TxMigrateCreditAccount",
414
- content: JSON.stringify(this)
414
+ content: json_stringify(this)
415
415
  };
416
416
  }
417
417
  }
@@ -427,7 +427,7 @@ class TxRepayAccount extends EVMTx {
427
427
  serialize() {
428
428
  return {
429
429
  type: "TxRepayAccount",
430
- content: JSON.stringify(this)
430
+ content: json_stringify(this)
431
431
  };
432
432
  }
433
433
  }
@@ -443,7 +443,7 @@ class TxLiquidateAccount extends EVMTx {
443
443
  serialize() {
444
444
  return {
445
445
  type: "TxLiquidateAccount",
446
- content: JSON.stringify(this)
446
+ content: json_stringify(this)
447
447
  };
448
448
  }
449
449
  }
@@ -459,7 +459,7 @@ class TxCloseAccount extends EVMTx {
459
459
  serialize() {
460
460
  return {
461
461
  type: "TxCloseAccount",
462
- content: JSON.stringify(this)
462
+ content: json_stringify(this)
463
463
  };
464
464
  }
465
465
  }
@@ -476,7 +476,7 @@ class TxApprove extends EVMTx {
476
476
  serialize() {
477
477
  return {
478
478
  type: "TxApprove",
479
- content: JSON.stringify(this)
479
+ content: json_stringify(this)
480
480
  };
481
481
  }
482
482
  }
@@ -509,7 +509,7 @@ class TxUpdateQuota extends EVMTx {
509
509
  serialize() {
510
510
  return {
511
511
  type: "TxUpdateQuota",
512
- content: JSON.stringify(this)
512
+ content: json_stringify(this)
513
513
  };
514
514
  }
515
515
  }
@@ -526,7 +526,7 @@ class TxGaugeStake extends EVMTx {
526
526
  serialize() {
527
527
  return {
528
528
  type: "TxGaugeStake",
529
- content: JSON.stringify(this)
529
+ content: json_stringify(this)
530
530
  };
531
531
  }
532
532
  }
@@ -543,7 +543,7 @@ class TxGaugeUnstake extends EVMTx {
543
543
  serialize() {
544
544
  return {
545
545
  type: "TxGaugeUnstake",
546
- content: JSON.stringify(this)
546
+ content: json_stringify(this)
547
547
  };
548
548
  }
549
549
  }
@@ -554,7 +554,7 @@ class TxGaugeClaim extends EVMTx {
554
554
  serialize() {
555
555
  return {
556
556
  type: "TxGaugeClaim",
557
- content: JSON.stringify(this)
557
+ content: json_stringify(this)
558
558
  };
559
559
  }
560
560
  }
@@ -573,7 +573,7 @@ class TxGaugeVote extends EVMTx {
573
573
  serialize() {
574
574
  return {
575
575
  type: "TxGaugeVote",
576
- content: JSON.stringify(this)
576
+ content: json_stringify(this)
577
577
  };
578
578
  }
579
579
  }
@@ -599,7 +599,7 @@ class TxWithdrawCollateral extends EVMTx {
599
599
  serialize() {
600
600
  return {
601
601
  type: "TxWithdrawCollateral",
602
- content: JSON.stringify(this)
602
+ content: json_stringify(this)
603
603
  };
604
604
  }
605
605
  }
@@ -615,7 +615,7 @@ class TxAddBot extends EVMTx {
615
615
  serialize() {
616
616
  return {
617
617
  type: "TxAddBot",
618
- content: JSON.stringify(this)
618
+ content: json_stringify(this)
619
619
  };
620
620
  }
621
621
  }
@@ -631,7 +631,7 @@ class TxRemoveBot extends EVMTx {
631
631
  serialize() {
632
632
  return {
633
633
  type: "TxAddBot",
634
- content: JSON.stringify(this)
634
+ content: json_stringify(this)
635
635
  };
636
636
  }
637
637
  }
@@ -659,7 +659,7 @@ class TxEnableTokens extends EVMTx {
659
659
  serialize() {
660
660
  return {
661
661
  type: "TxEnableTokens",
662
- content: JSON.stringify(this)
662
+ content: json_stringify(this)
663
663
  };
664
664
  }
665
665
  }
@@ -683,7 +683,7 @@ class TxFillOrder extends EVMTx {
683
683
  serialize() {
684
684
  return {
685
685
  type: "TxFillOrder",
686
- content: JSON.stringify(this)
686
+ content: json_stringify(this)
687
687
  };
688
688
  }
689
689
  }
@@ -19,7 +19,7 @@ const HUMAN_READABLE_TITLES = {
19
19
  PT_uptBTC_14AUG2025: "pt.uptBTC(14.08.25)",
20
20
  PT_sUSDX_1SEP2025: "pt.sUSDX(1.09.25)",
21
21
  PT_sUSDf_25SEP2025: "pt.sUSDf(25.09.25)",
22
- ["PT-sUSDf-29JAN2026"]: "pt.sUSDf(29.01.26)",
22
+ "PT-sUSDf-29JAN2026": "pt.sUSDf(29.01.26)",
23
23
  PT_USDf_29JAN2026: "pt.USDf(29.01.26)",
24
24
  stkcvxllamathena_v3_1: "stkcvxllamathena",
25
25
  stkcvxRLUSDUSDC_v3_1: "stkcvxRLUSDUSDC",
@@ -10,16 +10,6 @@ export declare const pendleRouterWorkerAbi: readonly [{
10
10
  readonly internalType: "address";
11
11
  }];
12
12
  readonly stateMutability: "nonpayable";
13
- }, {
14
- readonly type: "function";
15
- readonly name: "approxSlippage";
16
- readonly inputs: readonly [];
17
- readonly outputs: readonly [{
18
- readonly name: "";
19
- readonly type: "uint256";
20
- readonly internalType: "uint256";
21
- }];
22
- readonly stateMutability: "view";
23
13
  }, {
24
14
  readonly type: "function";
25
15
  readonly name: "buildEdges";
@@ -567,16 +557,6 @@ export declare const pendleRouterWorkerAbi: readonly [{
567
557
  readonly internalType: "address";
568
558
  }];
569
559
  readonly stateMutability: "view";
570
- }, {
571
- readonly type: "function";
572
- readonly name: "setApproxSlippage";
573
- readonly inputs: readonly [{
574
- readonly name: "_approxSlippage";
575
- readonly type: "uint256";
576
- readonly internalType: "uint256";
577
- }];
578
- readonly outputs: readonly [];
579
- readonly stateMutability: "nonpayable";
580
560
  }, {
581
561
  readonly type: "function";
582
562
  readonly name: "trimSpecialVertex";
@@ -1,5 +1,5 @@
1
1
  import type { Address } from "viem";
2
2
  import type { GearboxSDK } from "../../sdk/index.js";
3
- import type { AnvilClient } from "../createAnvilClient";
3
+ import type { AnvilClient } from "../createAnvilClient.js";
4
4
  import type { IMinter } from "./types.js";
5
- export declare function createMinter(sdk: GearboxSDK, anvil: AnvilClient, token: Address): IMinter;
5
+ export declare function createMinter(sdk: GearboxSDK, anvil: AnvilClient, _token: Address): IMinter;
@@ -1,5 +1,5 @@
1
1
  import { type Address, type PublicClient } from "viem";
2
- import { BaseContract } from "./base-contract";
2
+ import { BaseContract } from "./base-contract.js";
3
3
  declare const abi: readonly [{
4
4
  readonly type: "function";
5
5
  readonly inputs: readonly [];
@@ -1,6 +1,6 @@
1
1
  import { type Abi, type Address, type Client, type ContractEventArgs, type ContractEventName, type ContractFunctionName, type DecodeFunctionDataReturnType, type EncodeFunctionDataParameters, type GetContractEventsReturnType, type GetContractReturnType, type Hex, type PublicClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { CrossChainCall, ParsedCall } from "../core/proposal";
3
+ import type { CrossChainCall, ParsedCall } from "../core/proposal.js";
4
4
  export declare class BaseContract<const abi extends Abi | readonly unknown[]> {
5
5
  readonly abi: abi;
6
6
  readonly address: Address;
@@ -13,7 +13,7 @@ export declare class BaseContract<const abi extends Abi | readonly unknown[]> {
13
13
  static parse(address: Address, calldata: Hex): ParsedCall;
14
14
  parseFunctionData(calldata: Hex): ParsedCall;
15
15
  protected wrapParseCall(params: DecodeFunctionDataReturnType<abi>, parsedParams: Record<string, string>): ParsedCall;
16
- parseFunctionParams(params: DecodeFunctionDataReturnType<abi>): ParsedCall | undefined;
16
+ parseFunctionParams(_params: DecodeFunctionDataReturnType<abi>): ParsedCall | undefined;
17
17
  createRawTx<functionName extends ContractFunctionName<abi> | undefined = undefined>(parameters: Omit<EncodeFunctionDataParameters<abi, functionName>, "abi"> & {
18
18
  description?: string;
19
19
  }): RawTx;
@@ -1,9 +1,9 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hex, type Log, type PublicClient, type WalletClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { Auditor } from "../core/auditor";
4
- import type { AuditEvent, Bytecode, DeploymentExtended } from "../core/bytecode";
5
- import type { ParsedCall } from "../core/proposal";
6
- import { BaseContract } from "./base-contract";
3
+ import type { Auditor } from "../core/auditor.js";
4
+ import type { AuditEvent, Bytecode, DeploymentExtended } from "../core/bytecode.js";
5
+ import type { ParsedCall } from "../core/proposal.js";
6
+ import { BaseContract } from "./base-contract.js";
7
7
  declare const abi: readonly [{
8
8
  readonly type: "function";
9
9
  readonly inputs: readonly [];
@@ -1,2 +1,2 @@
1
- export * from "./token-compressor";
2
- export * from "./withdrawal-compressor";
1
+ export * from "./token-compressor.js";
2
+ export * from "./withdrawal-compressor.js";
@@ -1,5 +1,5 @@
1
1
  import { type Address, type PublicClient } from "viem";
2
- import { BaseContract } from "../base-contract";
2
+ import { BaseContract } from "../base-contract.js";
3
3
  declare const abi: readonly [{
4
4
  readonly type: "constructor";
5
5
  readonly inputs: readonly [{
@@ -1,6 +1,6 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type PublicClient } from "viem";
2
- import type { ParsedCall } from "../../core";
3
- import { BaseContract } from "../base-contract";
2
+ import type { ParsedCall } from "../../core/index.js";
3
+ import { BaseContract } from "../base-contract.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "constructor";
6
6
  readonly inputs: readonly [{
@@ -1,7 +1,7 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hex, type PublicClient, type WalletClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { Batch, ParsedCall, RecoveryMessage } from "../core/proposal";
4
- import { BaseContract } from "./base-contract";
3
+ import type { Batch, ParsedCall, RecoveryMessage } from "../core/proposal.js";
4
+ import { BaseContract } from "./base-contract.js";
5
5
  declare const abi: readonly [{
6
6
  readonly type: "constructor";
7
7
  readonly inputs: readonly [{
@@ -1,6 +1,6 @@
1
1
  import { type Address, type Hex } from "viem";
2
- import type { DeployParams, SetExpirationDateParams, SetFeesParams } from "../types";
3
- import { AbstractFactory } from "./abstract-factory";
2
+ import type { DeployParams, SetExpirationDateParams, SetFeesParams } from "../types.js";
3
+ import { AbstractFactory } from "./abstract-factory.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "function";
6
6
  readonly inputs: readonly [{
@@ -1,6 +1,6 @@
1
1
  import type { Address, Hex } from "viem";
2
- import type { SetTokenQuotaIncreaseFeeParams } from "../types";
3
- import { AbstractFactory } from "./abstract-factory";
2
+ import type { SetTokenQuotaIncreaseFeeParams } from "../types.js";
3
+ import { AbstractFactory } from "./abstract-factory.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "function";
6
6
  readonly inputs: readonly [];
@@ -1,6 +1,6 @@
1
1
  import type { Hex } from "viem";
2
- import type { SetPriceFeedParams, SetReservePriceFeedParams } from "../types";
3
- import { AbstractFactory } from "./abstract-factory";
2
+ import type { SetPriceFeedParams, SetReservePriceFeedParams } from "../types.js";
3
+ import { AbstractFactory } from "./abstract-factory.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "function";
6
6
  readonly inputs: readonly [{
@@ -1,6 +1,6 @@
1
1
  import type { Address, Hash, PublicClient } from "viem";
2
2
  import type { RawTx } from "../../../sdk/types/index.js";
3
- import { BaseContract } from "../base-contract";
3
+ import { BaseContract } from "../base-contract.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "function";
6
6
  readonly name: "contractType";
@@ -1,9 +1,9 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hash, type Hex, type PublicClient } from "viem";
2
2
  import type { RawTx } from "../../../sdk/types/index.js";
3
- import type { ParsedCall } from "../../core";
4
- import { BaseContract } from "../base-contract";
5
- import { BatchesChainContract } from "./batches-chain";
6
- import type { SafeTx } from "./types";
3
+ import type { ParsedCall } from "../../core/index.js";
4
+ import { BaseContract } from "../base-contract.js";
5
+ import { BatchesChainContract } from "./batches-chain.js";
6
+ import type { SafeTx } from "./types.js";
7
7
  declare const abi: readonly [{
8
8
  readonly type: "constructor";
9
9
  readonly inputs: readonly [{
@@ -1,3 +1,3 @@
1
- export * from "./governor";
2
- export * from "./timelock";
3
- export * from "./types";
1
+ export * from "./governor.js";
2
+ export * from "./timelock.js";
3
+ export * from "./types.js";
@@ -1,7 +1,7 @@
1
1
  import type { Address, PublicClient } from "viem";
2
2
  import { iTimeLockAbi } from "../../../abi/governance/iTimeLock.js";
3
- import { BaseContract } from "../base-contract";
4
- import type { QueuedAndExecutedTransaction } from "./types";
3
+ import { BaseContract } from "../base-contract.js";
4
+ import type { QueuedAndExecutedTransaction } from "./types.js";
5
5
  export declare class TimeLockContract extends BaseContract<typeof iTimeLockAbi> {
6
6
  constructor(address: Address, client: PublicClient);
7
7
  admin(): Promise<Address>;
@@ -1,14 +1,14 @@
1
- export * from "./address-provider";
2
- export * from "./base-contract";
3
- export * from "./bytecode-repository";
4
- export * from "./compressors";
5
- export * from "./cross-chain-multisig";
6
- export * from "./governance";
7
- export * from "./instance-manager";
8
- export * from "./market-configurator";
9
- export * from "./market-configurator-factory";
10
- export * from "./price-feed-store";
11
- export * from "./pricefeeds";
12
- export * from "./router";
13
- export * from "./treasury-splitter";
14
- export * from "./types";
1
+ export * from "./address-provider.js";
2
+ export * from "./base-contract.js";
3
+ export * from "./bytecode-repository.js";
4
+ export * from "./compressors/index.js";
5
+ export * from "./cross-chain-multisig.js";
6
+ export * from "./governance/index.js";
7
+ export * from "./instance-manager.js";
8
+ export * from "./market-configurator.js";
9
+ export * from "./market-configurator-factory.js";
10
+ export * from "./price-feed-store.js";
11
+ export * from "./pricefeeds/index.js";
12
+ export * from "./router/index.js";
13
+ export * from "./treasury-splitter.js";
14
+ export * from "./types.js";
@@ -1,7 +1,7 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hex, type PublicClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { ParsedCall } from "../core/proposal";
4
- import { BaseContract } from "./base-contract";
3
+ import type { ParsedCall } from "../core/proposal.js";
4
+ import { BaseContract } from "./base-contract.js";
5
5
  declare const abi: readonly [{
6
6
  readonly type: "constructor";
7
7
  readonly inputs: readonly [{
@@ -1,6 +1,6 @@
1
1
  import type { Address, PublicClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import { BaseContract } from "./base-contract";
3
+ import { BaseContract } from "./base-contract.js";
4
4
  declare const abi: readonly [{
5
5
  readonly type: "function";
6
6
  readonly inputs: readonly [{
@@ -1,11 +1,11 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hex, type PublicClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { ParsedCall } from "../core/proposal";
4
- import { AddressProviderContract, BaseContract } from ".";
5
- import { CreditFactory } from "./factory/credit-factory";
6
- import { PoolFactory } from "./factory/pool-factory";
7
- import { PriceOracleFactory } from "./factory/price-oracle-factory";
8
- import type { AddAssetParams, AllowTokenParams, DeployParams, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types";
3
+ import type { ParsedCall } from "../core/proposal.js";
4
+ import { CreditFactory } from "./factory/credit-factory.js";
5
+ import { PoolFactory } from "./factory/pool-factory.js";
6
+ import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
7
+ import { AddressProviderContract, BaseContract } from "./index.js";
8
+ import type { AddAssetParams, AllowTokenParams, DeployParams, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types.js";
9
9
  declare const abi: readonly [{
10
10
  readonly type: "function";
11
11
  readonly inputs: readonly [];
@@ -1,8 +1,8 @@
1
1
  import { type Address, type DecodeFunctionDataReturnType, type Hex, type PublicClient } from "viem";
2
2
  import type { RawTx } from "../../sdk/types/index.js";
3
- import type { InputValueParams, ParsedCall, PriceFeed } from "../core";
4
- import { BaseContract } from "./base-contract";
5
- import type { PriceUpdate } from "./types";
3
+ import type { InputValueParams, ParsedCall, PriceFeed } from "../core/index.js";
4
+ import { BaseContract } from "./base-contract.js";
5
+ import type { PriceUpdate } from "./types.js";
6
6
  declare const abi: readonly [{
7
7
  readonly type: "function";
8
8
  readonly inputs: readonly [{
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const balancerStablePriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const balancerWeightedPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const boundedPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const compositePriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const constantPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const curveCryptoPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const curveStablePriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const curveTwapPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const curveUsdPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const erc4626PriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const externalPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const priceFeedSetupParams: PriceFeedSetupParams[];
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const kodiakPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const mellowLrtPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const pendlePtTwapPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const pythPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const redstonePriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const wstethPriceFeed: PriceFeedSetupParams;
@@ -1,2 +1,2 @@
1
- import type { PriceFeedSetupParams } from "../../core";
1
+ import type { PriceFeedSetupParams } from "../../core/index.js";
2
2
  export declare const zeroPriceFeed: PriceFeedSetupParams;