@gearbox-protocol/sdk 9.12.13 → 9.13.0

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 (230) hide show
  1. package/dist/cjs/abi/310/configure/creditSuiteParams.js +130 -0
  2. package/dist/cjs/abi/310/configure/iCreditConfigureActions.js +181 -0
  3. package/dist/cjs/abi/310/configure/iPoolConfigureActions.js +80 -0
  4. package/dist/cjs/abi/310/configure/iPriceOracleConfigureActions.js +49 -0
  5. package/dist/cjs/abi/310/crossChainMultisig.js +540 -0
  6. package/dist/cjs/abi/{v310.js → 310/generated.js} +3 -3
  7. package/dist/cjs/abi/310/iBytecodeRepository.js +897 -0
  8. package/dist/cjs/abi/310/iMarketConfiguratorFactory.js +189 -0
  9. package/dist/cjs/abi/310/iPriceFeedStore.js +417 -0
  10. package/dist/cjs/abi/310/iTreasurySplitter.js +36 -0
  11. package/dist/cjs/abi/310/instanceManager.js +274 -0
  12. package/dist/cjs/abi/compressors/creditAccountCompressor.js +456 -0
  13. package/dist/cjs/abi/compressors/creditSuiteCompressor.js +774 -0
  14. package/dist/cjs/abi/compressors/defillamaCompressor.js +183 -0
  15. package/dist/cjs/abi/compressors/gaugeCompressor.js +184 -0
  16. package/dist/cjs/abi/compressors/marketCompressor.js +2477 -0
  17. package/dist/cjs/abi/compressors/peripheryCompressor.js +202 -0
  18. package/dist/cjs/abi/compressors/priceFeedCompressor.js +581 -0
  19. package/dist/cjs/abi/compressors/rewardsCompressor.js +82 -0
  20. package/dist/cjs/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.js +187 -0
  21. package/dist/cjs/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.js +187 -0
  22. package/dist/cjs/abi/compressors/subcompressors/midasWithdrawalSubcompressor.js +187 -0
  23. package/dist/cjs/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.js +187 -0
  24. package/dist/cjs/abi/compressors/tokenCompressor.js +95 -0
  25. package/dist/cjs/abi/compressors/withdrawalCompressor.js +272 -0
  26. package/dist/cjs/abi/governance/batchesChain.js +68 -0
  27. package/dist/cjs/abi/governance/governor.js +472 -0
  28. package/dist/cjs/abi/governance/iTimeLock.js +257 -0
  29. package/dist/cjs/abi/router/balancerV2Worker.js +730 -0
  30. package/dist/cjs/abi/router/balancerV3Worker.js +734 -0
  31. package/dist/cjs/abi/router/camelotV3Worker.js +558 -0
  32. package/dist/cjs/abi/router/convexWorker.js +541 -0
  33. package/dist/cjs/abi/router/curveWorker.js +718 -0
  34. package/dist/cjs/abi/router/daiUsdsWorker.js +541 -0
  35. package/dist/cjs/abi/router/equalizerRouterWorker.js +541 -0
  36. package/dist/cjs/abi/router/erc4626Worker.js +572 -0
  37. package/dist/cjs/abi/router/fluidDexWorker.js +551 -0
  38. package/dist/cjs/abi/router/gearboxRouter.js +651 -0
  39. package/dist/cjs/abi/router/infraredVaultWorker.js +541 -0
  40. package/dist/cjs/abi/router/kodiakWorker.js +732 -0
  41. package/dist/cjs/abi/router/lidoWorker.js +541 -0
  42. package/dist/cjs/abi/router/mellow4626Worker.js +541 -0
  43. package/dist/cjs/abi/router/mellowDVVWorker.js +541 -0
  44. package/dist/cjs/abi/router/mellowVaultWorker.js +551 -0
  45. package/dist/cjs/abi/router/pendleRouterWorker.js +567 -0
  46. package/dist/cjs/abi/router/routingManager.js +397 -0
  47. package/dist/cjs/abi/router/stakingRewardsWorker.js +541 -0
  48. package/dist/cjs/abi/router/traderJoeWorker.js +541 -0
  49. package/dist/cjs/abi/router/uniswapV2Worker.js +541 -0
  50. package/dist/cjs/abi/router/uniswapV3Worker.js +568 -0
  51. package/dist/cjs/abi/router/upshiftWorker.js +541 -0
  52. package/dist/cjs/abi/router/velodromeV2Worker.js +541 -0
  53. package/dist/cjs/abi/router/wstETHWorker.js +541 -0
  54. package/dist/cjs/abi/router/yearnV2Worker.js +541 -0
  55. package/dist/cjs/dev/migrateFaucet.js +6 -6
  56. package/dist/cjs/plugins/accounts-counter/AccountsCounterPlugin.js +3 -3
  57. package/dist/cjs/plugins/bots/BotsPlugin.js +2 -2
  58. package/dist/cjs/plugins/pools-history/Pools7DAgoPlugin.js +2 -2
  59. package/dist/cjs/plugins/zappers/ZappersPlugin.js +2 -2
  60. package/dist/cjs/sdk/accounts/AbstractCreditAccountsService.js +11 -9
  61. package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +2 -2
  62. package/dist/cjs/sdk/chain/detectNetwork.js +2 -2
  63. package/dist/cjs/sdk/core/address-provider/AddressProviderV310Contract.js +2 -2
  64. package/dist/cjs/sdk/gauges/GaugeStakingService.js +2 -2
  65. package/dist/cjs/sdk/market/MarketConfiguratorContract.js +2 -2
  66. package/dist/cjs/sdk/market/MarketRegister.js +3 -3
  67. package/dist/cjs/sdk/market/credit/CreditConfiguratorV310Contract.js +2 -2
  68. package/dist/cjs/sdk/market/credit/CreditFacadeV310Contract.js +3 -3
  69. package/dist/cjs/sdk/market/credit/CreditManagerV310Contract.js +2 -2
  70. package/dist/cjs/sdk/market/oracle/PriceOracleBaseContract.js +2 -2
  71. package/dist/cjs/sdk/market/oracle/PriceOracleV310Contract.js +3 -3
  72. package/dist/cjs/sdk/market/pool/PoolQuotaKeeperV310Contract.js +2 -2
  73. package/dist/cjs/sdk/market/pool/PoolV310Contract.js +2 -2
  74. package/dist/cjs/sdk/market/pool/TumblerContract.js +2 -2
  75. package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
  76. package/dist/cjs/sdk/router/RouterV310Contract.js +2 -2
  77. package/dist/cjs/sdk/sdk-legacy/tokens/tokenData.js +2 -1
  78. package/dist/cjs/sdk/utils/viem/simulateWithPriceUpdates.js +3 -2
  79. package/dist/esm/abi/310/configure/creditSuiteParams.js +104 -0
  80. package/dist/esm/abi/310/configure/iCreditConfigureActions.js +157 -0
  81. package/dist/esm/abi/310/configure/iPoolConfigureActions.js +56 -0
  82. package/dist/esm/abi/310/configure/iPriceOracleConfigureActions.js +25 -0
  83. package/dist/esm/abi/310/crossChainMultisig.js +516 -0
  84. package/dist/esm/abi/310/iBytecodeRepository.js +873 -0
  85. package/dist/esm/abi/310/iMarketConfiguratorFactory.js +165 -0
  86. package/dist/esm/abi/310/iPriceFeedStore.js +393 -0
  87. package/dist/esm/abi/310/iTreasurySplitter.js +12 -0
  88. package/dist/esm/abi/310/instanceManager.js +250 -0
  89. package/dist/esm/abi/compressors/creditAccountCompressor.js +432 -0
  90. package/dist/esm/abi/compressors/creditSuiteCompressor.js +750 -0
  91. package/dist/esm/abi/compressors/defillamaCompressor.js +159 -0
  92. package/dist/esm/abi/compressors/gaugeCompressor.js +160 -0
  93. package/dist/esm/abi/compressors/marketCompressor.js +2453 -0
  94. package/dist/esm/abi/compressors/peripheryCompressor.js +178 -0
  95. package/dist/esm/abi/compressors/priceFeedCompressor.js +557 -0
  96. package/dist/esm/abi/compressors/rewardsCompressor.js +58 -0
  97. package/dist/esm/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.js +163 -0
  98. package/dist/esm/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.js +163 -0
  99. package/dist/esm/abi/compressors/subcompressors/midasWithdrawalSubcompressor.js +163 -0
  100. package/dist/esm/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.js +163 -0
  101. package/dist/esm/abi/compressors/tokenCompressor.js +71 -0
  102. package/dist/esm/abi/compressors/withdrawalCompressor.js +248 -0
  103. package/dist/esm/abi/governance/batchesChain.js +44 -0
  104. package/dist/esm/abi/governance/governor.js +448 -0
  105. package/dist/esm/abi/governance/iTimeLock.js +233 -0
  106. package/dist/esm/abi/router/balancerV2Worker.js +706 -0
  107. package/dist/esm/abi/router/balancerV3Worker.js +710 -0
  108. package/dist/esm/abi/router/camelotV3Worker.js +534 -0
  109. package/dist/esm/abi/router/convexWorker.js +517 -0
  110. package/dist/esm/abi/router/curveWorker.js +694 -0
  111. package/dist/esm/abi/router/daiUsdsWorker.js +517 -0
  112. package/dist/esm/abi/router/equalizerRouterWorker.js +517 -0
  113. package/dist/esm/abi/router/erc4626Worker.js +548 -0
  114. package/dist/esm/abi/router/fluidDexWorker.js +527 -0
  115. package/dist/esm/abi/router/gearboxRouter.js +627 -0
  116. package/dist/esm/abi/router/infraredVaultWorker.js +517 -0
  117. package/dist/esm/abi/router/kodiakWorker.js +708 -0
  118. package/dist/esm/abi/router/lidoWorker.js +517 -0
  119. package/dist/esm/abi/router/mellow4626Worker.js +517 -0
  120. package/dist/esm/abi/router/mellowDVVWorker.js +517 -0
  121. package/dist/esm/abi/router/mellowVaultWorker.js +527 -0
  122. package/dist/esm/abi/router/pendleRouterWorker.js +543 -0
  123. package/dist/esm/abi/router/routingManager.js +373 -0
  124. package/dist/esm/abi/router/stakingRewardsWorker.js +517 -0
  125. package/dist/esm/abi/router/traderJoeWorker.js +517 -0
  126. package/dist/esm/abi/router/uniswapV2Worker.js +517 -0
  127. package/dist/esm/abi/router/uniswapV3Worker.js +544 -0
  128. package/dist/esm/abi/router/upshiftWorker.js +517 -0
  129. package/dist/esm/abi/router/velodromeV2Worker.js +517 -0
  130. package/dist/esm/abi/router/wstETHWorker.js +517 -0
  131. package/dist/esm/abi/router/yearnV2Worker.js +517 -0
  132. package/dist/esm/dev/migrateFaucet.js +1 -1
  133. package/dist/esm/plugins/accounts-counter/AccountsCounterPlugin.js +3 -3
  134. package/dist/esm/plugins/bots/BotsPlugin.js +2 -2
  135. package/dist/esm/plugins/pools-history/Pools7DAgoPlugin.js +2 -2
  136. package/dist/esm/plugins/zappers/ZappersPlugin.js +2 -2
  137. package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +10 -12
  138. package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +1 -1
  139. package/dist/esm/sdk/chain/detectNetwork.js +1 -1
  140. package/dist/esm/sdk/core/address-provider/AddressProviderV310Contract.js +1 -1
  141. package/dist/esm/sdk/gauges/GaugeStakingService.js +2 -2
  142. package/dist/esm/sdk/market/MarketConfiguratorContract.js +1 -1
  143. package/dist/esm/sdk/market/MarketRegister.js +3 -3
  144. package/dist/esm/sdk/market/credit/CreditConfiguratorV310Contract.js +1 -1
  145. package/dist/esm/sdk/market/credit/CreditFacadeV310Contract.js +2 -2
  146. package/dist/esm/sdk/market/credit/CreditManagerV310Contract.js +1 -1
  147. package/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js +2 -2
  148. package/dist/esm/sdk/market/oracle/PriceOracleV310Contract.js +1 -1
  149. package/dist/esm/sdk/market/pool/PoolQuotaKeeperV310Contract.js +1 -1
  150. package/dist/esm/sdk/market/pool/PoolV310Contract.js +1 -1
  151. package/dist/esm/sdk/market/pool/TumblerContract.js +1 -1
  152. package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
  153. package/dist/esm/sdk/router/RouterV310Contract.js +2 -2
  154. package/dist/esm/sdk/sdk-legacy/tokens/tokenData.js +2 -1
  155. package/dist/esm/sdk/utils/viem/simulateWithPriceUpdates.js +2 -1
  156. package/dist/types/abi/310/configure/creditSuiteParams.d.ts +92 -0
  157. package/dist/types/abi/310/configure/iCreditConfigureActions.d.ts +187 -0
  158. package/dist/types/abi/310/configure/iPoolConfigureActions.d.ts +65 -0
  159. package/dist/types/abi/310/configure/iPriceOracleConfigureActions.d.ts +29 -0
  160. package/dist/types/abi/310/crossChainMultisig.d.ts +709 -0
  161. package/dist/types/abi/310/iBytecodeRepository.d.ts +1139 -0
  162. package/dist/types/abi/310/iMarketConfiguratorFactory.d.ts +218 -0
  163. package/dist/types/abi/310/iPriceFeedStore.d.ts +526 -0
  164. package/dist/types/abi/310/iTreasurySplitter.d.ts +11 -0
  165. package/dist/types/abi/{iPriceFeedStore.d.ts → 310/instanceManager.d.ts} +183 -143
  166. package/dist/types/abi/compressors/creditAccountCompressor.d.ts +828 -0
  167. package/dist/types/abi/compressors/creditSuiteCompressor.d.ts +829 -0
  168. package/dist/types/abi/compressors/defillamaCompressor.d.ts +201 -0
  169. package/dist/types/abi/compressors/gaugeCompressor.d.ts +228 -0
  170. package/dist/types/abi/{compressors.d.ts → compressors/marketCompressor.d.ts} +1322 -4121
  171. package/dist/types/abi/compressors/peripheryCompressor.d.ts +217 -0
  172. package/dist/types/abi/compressors/priceFeedCompressor.d.ts +684 -0
  173. package/dist/types/abi/compressors/rewardsCompressor.d.ts +70 -0
  174. package/dist/types/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.d.ts +220 -0
  175. package/dist/types/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.d.ts +220 -0
  176. package/dist/types/abi/compressors/subcompressors/midasWithdrawalSubcompressor.d.ts +220 -0
  177. package/dist/types/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.d.ts +220 -0
  178. package/dist/types/abi/compressors/tokenCompressor.d.ts +101 -0
  179. package/dist/types/abi/{routerV310.d.ts → compressors/withdrawalCompressor.d.ts} +175 -253
  180. package/dist/types/abi/governance/batchesChain.d.ts +31 -0
  181. package/dist/types/abi/governance/governor.d.ts +584 -0
  182. package/dist/types/abi/governance/iTimeLock.d.ts +328 -0
  183. package/dist/types/abi/router/balancerV2Worker.d.ts +961 -0
  184. package/dist/types/abi/router/balancerV3Worker.d.ts +961 -0
  185. package/dist/types/abi/router/camelotV3Worker.d.ts +754 -0
  186. package/dist/types/abi/router/convexWorker.d.ts +726 -0
  187. package/dist/types/abi/router/curveWorker.d.ts +947 -0
  188. package/dist/types/abi/router/daiUsdsWorker.d.ts +726 -0
  189. package/dist/types/abi/router/equalizerRouterWorker.d.ts +726 -0
  190. package/dist/types/abi/router/erc4626Worker.d.ts +769 -0
  191. package/dist/types/abi/router/fluidDexWorker.d.ts +740 -0
  192. package/dist/types/abi/router/gearboxRouter.d.ts +881 -0
  193. package/dist/types/abi/router/infraredVaultWorker.d.ts +726 -0
  194. package/dist/types/abi/router/kodiakWorker.d.ts +967 -0
  195. package/dist/types/abi/router/lidoWorker.d.ts +726 -0
  196. package/dist/types/abi/router/mellow4626Worker.d.ts +726 -0
  197. package/dist/types/abi/router/mellowDVVWorker.d.ts +726 -0
  198. package/dist/types/abi/router/mellowVaultWorker.d.ts +740 -0
  199. package/dist/types/abi/router/pendleRouterWorker.d.ts +760 -0
  200. package/dist/types/abi/router/routingManager.d.ts +494 -0
  201. package/dist/types/abi/router/stakingRewardsWorker.d.ts +726 -0
  202. package/dist/types/abi/router/traderJoeWorker.d.ts +726 -0
  203. package/dist/types/abi/router/uniswapV2Worker.d.ts +726 -0
  204. package/dist/types/abi/router/uniswapV3Worker.d.ts +774 -0
  205. package/dist/types/abi/router/upshiftWorker.d.ts +726 -0
  206. package/dist/types/abi/router/velodromeV2Worker.d.ts +726 -0
  207. package/dist/types/abi/router/wstETHWorker.d.ts +726 -0
  208. package/dist/types/abi/router/yearnV2Worker.d.ts +726 -0
  209. package/dist/types/plugins/bots/types.d.ts +2 -2
  210. package/dist/types/plugins/zappers/types.d.ts +2 -2
  211. package/dist/types/sdk/accounts/types.d.ts +2 -2
  212. package/dist/types/sdk/base/types.d.ts +11 -7
  213. package/dist/types/sdk/market/credit/CreditManagerV310Contract.d.ts +1 -1
  214. package/dist/types/sdk/market/oracle/types.d.ts +3 -3
  215. package/dist/types/sdk/router/RouterV310Contract.d.ts +481 -1
  216. package/dist/types/sdk/sdk-legacy/payload/pool.d.ts +2 -2
  217. package/package.json +1 -1
  218. package/dist/cjs/abi/compressors.js +0 -4555
  219. package/dist/cjs/abi/iPriceFeedStore.js +0 -254
  220. package/dist/cjs/abi/index.js +0 -46
  221. package/dist/cjs/abi/package.json +0 -1
  222. package/dist/cjs/abi/routerV310.js +0 -276
  223. package/dist/esm/abi/compressors.js +0 -4524
  224. package/dist/esm/abi/iPriceFeedStore.js +0 -230
  225. package/dist/esm/abi/index.js +0 -13
  226. package/dist/esm/abi/package.json +0 -1
  227. package/dist/esm/abi/routerV310.js +0 -252
  228. package/dist/types/abi/index.d.ts +0 -13
  229. /package/dist/esm/abi/{v310.js → 310/generated.js} +0 -0
  230. /package/dist/types/abi/{v310.d.ts → 310/generated.d.ts} +0 -0
@@ -0,0 +1,828 @@
1
+ export declare const creditAccountCompressorAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "addressProvider_";
5
+ readonly type: "address";
6
+ readonly internalType: "address";
7
+ }];
8
+ readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "function";
11
+ readonly name: "addressProvider";
12
+ readonly inputs: readonly [];
13
+ readonly outputs: readonly [{
14
+ readonly name: "";
15
+ readonly type: "address";
16
+ readonly internalType: "address";
17
+ }];
18
+ readonly stateMutability: "view";
19
+ }, {
20
+ readonly type: "function";
21
+ readonly name: "contractType";
22
+ readonly inputs: readonly [];
23
+ readonly outputs: readonly [{
24
+ readonly name: "";
25
+ readonly type: "bytes32";
26
+ readonly internalType: "bytes32";
27
+ }];
28
+ readonly stateMutability: "view";
29
+ }, {
30
+ readonly type: "function";
31
+ readonly name: "countCreditAccounts";
32
+ readonly inputs: readonly [{
33
+ readonly name: "creditManager";
34
+ readonly type: "address";
35
+ readonly internalType: "address";
36
+ }, {
37
+ readonly name: "caFilter";
38
+ readonly type: "tuple";
39
+ readonly internalType: "struct CreditAccountFilter";
40
+ readonly components: readonly [{
41
+ readonly name: "owner";
42
+ readonly type: "address";
43
+ readonly internalType: "address";
44
+ }, {
45
+ readonly name: "includeZeroDebt";
46
+ readonly type: "bool";
47
+ readonly internalType: "bool";
48
+ }, {
49
+ readonly name: "minHealthFactor";
50
+ readonly type: "uint256";
51
+ readonly internalType: "uint256";
52
+ }, {
53
+ readonly name: "maxHealthFactor";
54
+ readonly type: "uint256";
55
+ readonly internalType: "uint256";
56
+ }, {
57
+ readonly name: "reverting";
58
+ readonly type: "bool";
59
+ readonly internalType: "bool";
60
+ }];
61
+ }];
62
+ readonly outputs: readonly [{
63
+ readonly name: "";
64
+ readonly type: "uint256";
65
+ readonly internalType: "uint256";
66
+ }];
67
+ readonly stateMutability: "view";
68
+ }, {
69
+ readonly type: "function";
70
+ readonly name: "countCreditAccounts";
71
+ readonly inputs: readonly [{
72
+ readonly name: "cmFilter";
73
+ readonly type: "tuple";
74
+ readonly internalType: "struct CreditManagerFilter";
75
+ readonly components: readonly [{
76
+ readonly name: "configurators";
77
+ readonly type: "address[]";
78
+ readonly internalType: "address[]";
79
+ }, {
80
+ readonly name: "creditManagers";
81
+ readonly type: "address[]";
82
+ readonly internalType: "address[]";
83
+ }, {
84
+ readonly name: "pools";
85
+ readonly type: "address[]";
86
+ readonly internalType: "address[]";
87
+ }, {
88
+ readonly name: "underlying";
89
+ readonly type: "address";
90
+ readonly internalType: "address";
91
+ }];
92
+ }, {
93
+ readonly name: "caFilter";
94
+ readonly type: "tuple";
95
+ readonly internalType: "struct CreditAccountFilter";
96
+ readonly components: readonly [{
97
+ readonly name: "owner";
98
+ readonly type: "address";
99
+ readonly internalType: "address";
100
+ }, {
101
+ readonly name: "includeZeroDebt";
102
+ readonly type: "bool";
103
+ readonly internalType: "bool";
104
+ }, {
105
+ readonly name: "minHealthFactor";
106
+ readonly type: "uint256";
107
+ readonly internalType: "uint256";
108
+ }, {
109
+ readonly name: "maxHealthFactor";
110
+ readonly type: "uint256";
111
+ readonly internalType: "uint256";
112
+ }, {
113
+ readonly name: "reverting";
114
+ readonly type: "bool";
115
+ readonly internalType: "bool";
116
+ }];
117
+ }];
118
+ readonly outputs: readonly [{
119
+ readonly name: "";
120
+ readonly type: "uint256";
121
+ readonly internalType: "uint256";
122
+ }];
123
+ readonly stateMutability: "view";
124
+ }, {
125
+ readonly type: "function";
126
+ readonly name: "getCreditAccountData";
127
+ readonly inputs: readonly [{
128
+ readonly name: "creditAccount";
129
+ readonly type: "address";
130
+ readonly internalType: "address";
131
+ }];
132
+ readonly outputs: readonly [{
133
+ readonly name: "";
134
+ readonly type: "tuple";
135
+ readonly internalType: "struct CreditAccountData";
136
+ readonly components: readonly [{
137
+ readonly name: "creditAccount";
138
+ readonly type: "address";
139
+ readonly internalType: "address";
140
+ }, {
141
+ readonly name: "creditManager";
142
+ readonly type: "address";
143
+ readonly internalType: "address";
144
+ }, {
145
+ readonly name: "creditFacade";
146
+ readonly type: "address";
147
+ readonly internalType: "address";
148
+ }, {
149
+ readonly name: "underlying";
150
+ readonly type: "address";
151
+ readonly internalType: "address";
152
+ }, {
153
+ readonly name: "owner";
154
+ readonly type: "address";
155
+ readonly internalType: "address";
156
+ }, {
157
+ readonly name: "expirationDate";
158
+ readonly type: "uint40";
159
+ readonly internalType: "uint40";
160
+ }, {
161
+ readonly name: "enabledTokensMask";
162
+ readonly type: "uint256";
163
+ readonly internalType: "uint256";
164
+ }, {
165
+ readonly name: "debt";
166
+ readonly type: "uint256";
167
+ readonly internalType: "uint256";
168
+ }, {
169
+ readonly name: "accruedInterest";
170
+ readonly type: "uint256";
171
+ readonly internalType: "uint256";
172
+ }, {
173
+ readonly name: "accruedFees";
174
+ readonly type: "uint256";
175
+ readonly internalType: "uint256";
176
+ }, {
177
+ readonly name: "totalDebtUSD";
178
+ readonly type: "uint256";
179
+ readonly internalType: "uint256";
180
+ }, {
181
+ readonly name: "totalValueUSD";
182
+ readonly type: "uint256";
183
+ readonly internalType: "uint256";
184
+ }, {
185
+ readonly name: "twvUSD";
186
+ readonly type: "uint256";
187
+ readonly internalType: "uint256";
188
+ }, {
189
+ readonly name: "totalValue";
190
+ readonly type: "uint256";
191
+ readonly internalType: "uint256";
192
+ }, {
193
+ readonly name: "healthFactor";
194
+ readonly type: "uint256";
195
+ readonly internalType: "uint256";
196
+ }, {
197
+ readonly name: "success";
198
+ readonly type: "bool";
199
+ readonly internalType: "bool";
200
+ }, {
201
+ readonly name: "tokens";
202
+ readonly type: "tuple[]";
203
+ readonly internalType: "struct TokenInfo[]";
204
+ readonly components: readonly [{
205
+ readonly name: "token";
206
+ readonly type: "address";
207
+ readonly internalType: "address";
208
+ }, {
209
+ readonly name: "mask";
210
+ readonly type: "uint256";
211
+ readonly internalType: "uint256";
212
+ }, {
213
+ readonly name: "balance";
214
+ readonly type: "uint256";
215
+ readonly internalType: "uint256";
216
+ }, {
217
+ readonly name: "quota";
218
+ readonly type: "uint256";
219
+ readonly internalType: "uint256";
220
+ }, {
221
+ readonly name: "success";
222
+ readonly type: "bool";
223
+ readonly internalType: "bool";
224
+ }];
225
+ }];
226
+ }];
227
+ readonly stateMutability: "view";
228
+ }, {
229
+ readonly type: "function";
230
+ readonly name: "getCreditAccounts";
231
+ readonly inputs: readonly [{
232
+ readonly name: "cmFilter";
233
+ readonly type: "tuple";
234
+ readonly internalType: "struct CreditManagerFilter";
235
+ readonly components: readonly [{
236
+ readonly name: "configurators";
237
+ readonly type: "address[]";
238
+ readonly internalType: "address[]";
239
+ }, {
240
+ readonly name: "creditManagers";
241
+ readonly type: "address[]";
242
+ readonly internalType: "address[]";
243
+ }, {
244
+ readonly name: "pools";
245
+ readonly type: "address[]";
246
+ readonly internalType: "address[]";
247
+ }, {
248
+ readonly name: "underlying";
249
+ readonly type: "address";
250
+ readonly internalType: "address";
251
+ }];
252
+ }, {
253
+ readonly name: "caFilter";
254
+ readonly type: "tuple";
255
+ readonly internalType: "struct CreditAccountFilter";
256
+ readonly components: readonly [{
257
+ readonly name: "owner";
258
+ readonly type: "address";
259
+ readonly internalType: "address";
260
+ }, {
261
+ readonly name: "includeZeroDebt";
262
+ readonly type: "bool";
263
+ readonly internalType: "bool";
264
+ }, {
265
+ readonly name: "minHealthFactor";
266
+ readonly type: "uint256";
267
+ readonly internalType: "uint256";
268
+ }, {
269
+ readonly name: "maxHealthFactor";
270
+ readonly type: "uint256";
271
+ readonly internalType: "uint256";
272
+ }, {
273
+ readonly name: "reverting";
274
+ readonly type: "bool";
275
+ readonly internalType: "bool";
276
+ }];
277
+ }, {
278
+ readonly name: "offset";
279
+ readonly type: "uint256";
280
+ readonly internalType: "uint256";
281
+ }, {
282
+ readonly name: "limit";
283
+ readonly type: "uint256";
284
+ readonly internalType: "uint256";
285
+ }];
286
+ readonly outputs: readonly [{
287
+ readonly name: "data";
288
+ readonly type: "tuple[]";
289
+ readonly internalType: "struct CreditAccountData[]";
290
+ readonly components: readonly [{
291
+ readonly name: "creditAccount";
292
+ readonly type: "address";
293
+ readonly internalType: "address";
294
+ }, {
295
+ readonly name: "creditManager";
296
+ readonly type: "address";
297
+ readonly internalType: "address";
298
+ }, {
299
+ readonly name: "creditFacade";
300
+ readonly type: "address";
301
+ readonly internalType: "address";
302
+ }, {
303
+ readonly name: "underlying";
304
+ readonly type: "address";
305
+ readonly internalType: "address";
306
+ }, {
307
+ readonly name: "owner";
308
+ readonly type: "address";
309
+ readonly internalType: "address";
310
+ }, {
311
+ readonly name: "expirationDate";
312
+ readonly type: "uint40";
313
+ readonly internalType: "uint40";
314
+ }, {
315
+ readonly name: "enabledTokensMask";
316
+ readonly type: "uint256";
317
+ readonly internalType: "uint256";
318
+ }, {
319
+ readonly name: "debt";
320
+ readonly type: "uint256";
321
+ readonly internalType: "uint256";
322
+ }, {
323
+ readonly name: "accruedInterest";
324
+ readonly type: "uint256";
325
+ readonly internalType: "uint256";
326
+ }, {
327
+ readonly name: "accruedFees";
328
+ readonly type: "uint256";
329
+ readonly internalType: "uint256";
330
+ }, {
331
+ readonly name: "totalDebtUSD";
332
+ readonly type: "uint256";
333
+ readonly internalType: "uint256";
334
+ }, {
335
+ readonly name: "totalValueUSD";
336
+ readonly type: "uint256";
337
+ readonly internalType: "uint256";
338
+ }, {
339
+ readonly name: "twvUSD";
340
+ readonly type: "uint256";
341
+ readonly internalType: "uint256";
342
+ }, {
343
+ readonly name: "totalValue";
344
+ readonly type: "uint256";
345
+ readonly internalType: "uint256";
346
+ }, {
347
+ readonly name: "healthFactor";
348
+ readonly type: "uint256";
349
+ readonly internalType: "uint256";
350
+ }, {
351
+ readonly name: "success";
352
+ readonly type: "bool";
353
+ readonly internalType: "bool";
354
+ }, {
355
+ readonly name: "tokens";
356
+ readonly type: "tuple[]";
357
+ readonly internalType: "struct TokenInfo[]";
358
+ readonly components: readonly [{
359
+ readonly name: "token";
360
+ readonly type: "address";
361
+ readonly internalType: "address";
362
+ }, {
363
+ readonly name: "mask";
364
+ readonly type: "uint256";
365
+ readonly internalType: "uint256";
366
+ }, {
367
+ readonly name: "balance";
368
+ readonly type: "uint256";
369
+ readonly internalType: "uint256";
370
+ }, {
371
+ readonly name: "quota";
372
+ readonly type: "uint256";
373
+ readonly internalType: "uint256";
374
+ }, {
375
+ readonly name: "success";
376
+ readonly type: "bool";
377
+ readonly internalType: "bool";
378
+ }];
379
+ }];
380
+ }, {
381
+ readonly name: "nextOffset";
382
+ readonly type: "uint256";
383
+ readonly internalType: "uint256";
384
+ }];
385
+ readonly stateMutability: "view";
386
+ }, {
387
+ readonly type: "function";
388
+ readonly name: "getCreditAccounts";
389
+ readonly inputs: readonly [{
390
+ readonly name: "creditManager";
391
+ readonly type: "address";
392
+ readonly internalType: "address";
393
+ }, {
394
+ readonly name: "caFilter";
395
+ readonly type: "tuple";
396
+ readonly internalType: "struct CreditAccountFilter";
397
+ readonly components: readonly [{
398
+ readonly name: "owner";
399
+ readonly type: "address";
400
+ readonly internalType: "address";
401
+ }, {
402
+ readonly name: "includeZeroDebt";
403
+ readonly type: "bool";
404
+ readonly internalType: "bool";
405
+ }, {
406
+ readonly name: "minHealthFactor";
407
+ readonly type: "uint256";
408
+ readonly internalType: "uint256";
409
+ }, {
410
+ readonly name: "maxHealthFactor";
411
+ readonly type: "uint256";
412
+ readonly internalType: "uint256";
413
+ }, {
414
+ readonly name: "reverting";
415
+ readonly type: "bool";
416
+ readonly internalType: "bool";
417
+ }];
418
+ }, {
419
+ readonly name: "offset";
420
+ readonly type: "uint256";
421
+ readonly internalType: "uint256";
422
+ }];
423
+ readonly outputs: readonly [{
424
+ readonly name: "data";
425
+ readonly type: "tuple[]";
426
+ readonly internalType: "struct CreditAccountData[]";
427
+ readonly components: readonly [{
428
+ readonly name: "creditAccount";
429
+ readonly type: "address";
430
+ readonly internalType: "address";
431
+ }, {
432
+ readonly name: "creditManager";
433
+ readonly type: "address";
434
+ readonly internalType: "address";
435
+ }, {
436
+ readonly name: "creditFacade";
437
+ readonly type: "address";
438
+ readonly internalType: "address";
439
+ }, {
440
+ readonly name: "underlying";
441
+ readonly type: "address";
442
+ readonly internalType: "address";
443
+ }, {
444
+ readonly name: "owner";
445
+ readonly type: "address";
446
+ readonly internalType: "address";
447
+ }, {
448
+ readonly name: "expirationDate";
449
+ readonly type: "uint40";
450
+ readonly internalType: "uint40";
451
+ }, {
452
+ readonly name: "enabledTokensMask";
453
+ readonly type: "uint256";
454
+ readonly internalType: "uint256";
455
+ }, {
456
+ readonly name: "debt";
457
+ readonly type: "uint256";
458
+ readonly internalType: "uint256";
459
+ }, {
460
+ readonly name: "accruedInterest";
461
+ readonly type: "uint256";
462
+ readonly internalType: "uint256";
463
+ }, {
464
+ readonly name: "accruedFees";
465
+ readonly type: "uint256";
466
+ readonly internalType: "uint256";
467
+ }, {
468
+ readonly name: "totalDebtUSD";
469
+ readonly type: "uint256";
470
+ readonly internalType: "uint256";
471
+ }, {
472
+ readonly name: "totalValueUSD";
473
+ readonly type: "uint256";
474
+ readonly internalType: "uint256";
475
+ }, {
476
+ readonly name: "twvUSD";
477
+ readonly type: "uint256";
478
+ readonly internalType: "uint256";
479
+ }, {
480
+ readonly name: "totalValue";
481
+ readonly type: "uint256";
482
+ readonly internalType: "uint256";
483
+ }, {
484
+ readonly name: "healthFactor";
485
+ readonly type: "uint256";
486
+ readonly internalType: "uint256";
487
+ }, {
488
+ readonly name: "success";
489
+ readonly type: "bool";
490
+ readonly internalType: "bool";
491
+ }, {
492
+ readonly name: "tokens";
493
+ readonly type: "tuple[]";
494
+ readonly internalType: "struct TokenInfo[]";
495
+ readonly components: readonly [{
496
+ readonly name: "token";
497
+ readonly type: "address";
498
+ readonly internalType: "address";
499
+ }, {
500
+ readonly name: "mask";
501
+ readonly type: "uint256";
502
+ readonly internalType: "uint256";
503
+ }, {
504
+ readonly name: "balance";
505
+ readonly type: "uint256";
506
+ readonly internalType: "uint256";
507
+ }, {
508
+ readonly name: "quota";
509
+ readonly type: "uint256";
510
+ readonly internalType: "uint256";
511
+ }, {
512
+ readonly name: "success";
513
+ readonly type: "bool";
514
+ readonly internalType: "bool";
515
+ }];
516
+ }];
517
+ }, {
518
+ readonly name: "nextOffset";
519
+ readonly type: "uint256";
520
+ readonly internalType: "uint256";
521
+ }];
522
+ readonly stateMutability: "view";
523
+ }, {
524
+ readonly type: "function";
525
+ readonly name: "getCreditAccounts";
526
+ readonly inputs: readonly [{
527
+ readonly name: "creditManager";
528
+ readonly type: "address";
529
+ readonly internalType: "address";
530
+ }, {
531
+ readonly name: "caFilter";
532
+ readonly type: "tuple";
533
+ readonly internalType: "struct CreditAccountFilter";
534
+ readonly components: readonly [{
535
+ readonly name: "owner";
536
+ readonly type: "address";
537
+ readonly internalType: "address";
538
+ }, {
539
+ readonly name: "includeZeroDebt";
540
+ readonly type: "bool";
541
+ readonly internalType: "bool";
542
+ }, {
543
+ readonly name: "minHealthFactor";
544
+ readonly type: "uint256";
545
+ readonly internalType: "uint256";
546
+ }, {
547
+ readonly name: "maxHealthFactor";
548
+ readonly type: "uint256";
549
+ readonly internalType: "uint256";
550
+ }, {
551
+ readonly name: "reverting";
552
+ readonly type: "bool";
553
+ readonly internalType: "bool";
554
+ }];
555
+ }, {
556
+ readonly name: "offset";
557
+ readonly type: "uint256";
558
+ readonly internalType: "uint256";
559
+ }, {
560
+ readonly name: "limit";
561
+ readonly type: "uint256";
562
+ readonly internalType: "uint256";
563
+ }];
564
+ readonly outputs: readonly [{
565
+ readonly name: "data";
566
+ readonly type: "tuple[]";
567
+ readonly internalType: "struct CreditAccountData[]";
568
+ readonly components: readonly [{
569
+ readonly name: "creditAccount";
570
+ readonly type: "address";
571
+ readonly internalType: "address";
572
+ }, {
573
+ readonly name: "creditManager";
574
+ readonly type: "address";
575
+ readonly internalType: "address";
576
+ }, {
577
+ readonly name: "creditFacade";
578
+ readonly type: "address";
579
+ readonly internalType: "address";
580
+ }, {
581
+ readonly name: "underlying";
582
+ readonly type: "address";
583
+ readonly internalType: "address";
584
+ }, {
585
+ readonly name: "owner";
586
+ readonly type: "address";
587
+ readonly internalType: "address";
588
+ }, {
589
+ readonly name: "expirationDate";
590
+ readonly type: "uint40";
591
+ readonly internalType: "uint40";
592
+ }, {
593
+ readonly name: "enabledTokensMask";
594
+ readonly type: "uint256";
595
+ readonly internalType: "uint256";
596
+ }, {
597
+ readonly name: "debt";
598
+ readonly type: "uint256";
599
+ readonly internalType: "uint256";
600
+ }, {
601
+ readonly name: "accruedInterest";
602
+ readonly type: "uint256";
603
+ readonly internalType: "uint256";
604
+ }, {
605
+ readonly name: "accruedFees";
606
+ readonly type: "uint256";
607
+ readonly internalType: "uint256";
608
+ }, {
609
+ readonly name: "totalDebtUSD";
610
+ readonly type: "uint256";
611
+ readonly internalType: "uint256";
612
+ }, {
613
+ readonly name: "totalValueUSD";
614
+ readonly type: "uint256";
615
+ readonly internalType: "uint256";
616
+ }, {
617
+ readonly name: "twvUSD";
618
+ readonly type: "uint256";
619
+ readonly internalType: "uint256";
620
+ }, {
621
+ readonly name: "totalValue";
622
+ readonly type: "uint256";
623
+ readonly internalType: "uint256";
624
+ }, {
625
+ readonly name: "healthFactor";
626
+ readonly type: "uint256";
627
+ readonly internalType: "uint256";
628
+ }, {
629
+ readonly name: "success";
630
+ readonly type: "bool";
631
+ readonly internalType: "bool";
632
+ }, {
633
+ readonly name: "tokens";
634
+ readonly type: "tuple[]";
635
+ readonly internalType: "struct TokenInfo[]";
636
+ readonly components: readonly [{
637
+ readonly name: "token";
638
+ readonly type: "address";
639
+ readonly internalType: "address";
640
+ }, {
641
+ readonly name: "mask";
642
+ readonly type: "uint256";
643
+ readonly internalType: "uint256";
644
+ }, {
645
+ readonly name: "balance";
646
+ readonly type: "uint256";
647
+ readonly internalType: "uint256";
648
+ }, {
649
+ readonly name: "quota";
650
+ readonly type: "uint256";
651
+ readonly internalType: "uint256";
652
+ }, {
653
+ readonly name: "success";
654
+ readonly type: "bool";
655
+ readonly internalType: "bool";
656
+ }];
657
+ }];
658
+ }, {
659
+ readonly name: "nextOffset";
660
+ readonly type: "uint256";
661
+ readonly internalType: "uint256";
662
+ }];
663
+ readonly stateMutability: "view";
664
+ }, {
665
+ readonly type: "function";
666
+ readonly name: "getCreditAccounts";
667
+ readonly inputs: readonly [{
668
+ readonly name: "cmFilter";
669
+ readonly type: "tuple";
670
+ readonly internalType: "struct CreditManagerFilter";
671
+ readonly components: readonly [{
672
+ readonly name: "configurators";
673
+ readonly type: "address[]";
674
+ readonly internalType: "address[]";
675
+ }, {
676
+ readonly name: "creditManagers";
677
+ readonly type: "address[]";
678
+ readonly internalType: "address[]";
679
+ }, {
680
+ readonly name: "pools";
681
+ readonly type: "address[]";
682
+ readonly internalType: "address[]";
683
+ }, {
684
+ readonly name: "underlying";
685
+ readonly type: "address";
686
+ readonly internalType: "address";
687
+ }];
688
+ }, {
689
+ readonly name: "caFilter";
690
+ readonly type: "tuple";
691
+ readonly internalType: "struct CreditAccountFilter";
692
+ readonly components: readonly [{
693
+ readonly name: "owner";
694
+ readonly type: "address";
695
+ readonly internalType: "address";
696
+ }, {
697
+ readonly name: "includeZeroDebt";
698
+ readonly type: "bool";
699
+ readonly internalType: "bool";
700
+ }, {
701
+ readonly name: "minHealthFactor";
702
+ readonly type: "uint256";
703
+ readonly internalType: "uint256";
704
+ }, {
705
+ readonly name: "maxHealthFactor";
706
+ readonly type: "uint256";
707
+ readonly internalType: "uint256";
708
+ }, {
709
+ readonly name: "reverting";
710
+ readonly type: "bool";
711
+ readonly internalType: "bool";
712
+ }];
713
+ }, {
714
+ readonly name: "offset";
715
+ readonly type: "uint256";
716
+ readonly internalType: "uint256";
717
+ }];
718
+ readonly outputs: readonly [{
719
+ readonly name: "data";
720
+ readonly type: "tuple[]";
721
+ readonly internalType: "struct CreditAccountData[]";
722
+ readonly components: readonly [{
723
+ readonly name: "creditAccount";
724
+ readonly type: "address";
725
+ readonly internalType: "address";
726
+ }, {
727
+ readonly name: "creditManager";
728
+ readonly type: "address";
729
+ readonly internalType: "address";
730
+ }, {
731
+ readonly name: "creditFacade";
732
+ readonly type: "address";
733
+ readonly internalType: "address";
734
+ }, {
735
+ readonly name: "underlying";
736
+ readonly type: "address";
737
+ readonly internalType: "address";
738
+ }, {
739
+ readonly name: "owner";
740
+ readonly type: "address";
741
+ readonly internalType: "address";
742
+ }, {
743
+ readonly name: "expirationDate";
744
+ readonly type: "uint40";
745
+ readonly internalType: "uint40";
746
+ }, {
747
+ readonly name: "enabledTokensMask";
748
+ readonly type: "uint256";
749
+ readonly internalType: "uint256";
750
+ }, {
751
+ readonly name: "debt";
752
+ readonly type: "uint256";
753
+ readonly internalType: "uint256";
754
+ }, {
755
+ readonly name: "accruedInterest";
756
+ readonly type: "uint256";
757
+ readonly internalType: "uint256";
758
+ }, {
759
+ readonly name: "accruedFees";
760
+ readonly type: "uint256";
761
+ readonly internalType: "uint256";
762
+ }, {
763
+ readonly name: "totalDebtUSD";
764
+ readonly type: "uint256";
765
+ readonly internalType: "uint256";
766
+ }, {
767
+ readonly name: "totalValueUSD";
768
+ readonly type: "uint256";
769
+ readonly internalType: "uint256";
770
+ }, {
771
+ readonly name: "twvUSD";
772
+ readonly type: "uint256";
773
+ readonly internalType: "uint256";
774
+ }, {
775
+ readonly name: "totalValue";
776
+ readonly type: "uint256";
777
+ readonly internalType: "uint256";
778
+ }, {
779
+ readonly name: "healthFactor";
780
+ readonly type: "uint256";
781
+ readonly internalType: "uint256";
782
+ }, {
783
+ readonly name: "success";
784
+ readonly type: "bool";
785
+ readonly internalType: "bool";
786
+ }, {
787
+ readonly name: "tokens";
788
+ readonly type: "tuple[]";
789
+ readonly internalType: "struct TokenInfo[]";
790
+ readonly components: readonly [{
791
+ readonly name: "token";
792
+ readonly type: "address";
793
+ readonly internalType: "address";
794
+ }, {
795
+ readonly name: "mask";
796
+ readonly type: "uint256";
797
+ readonly internalType: "uint256";
798
+ }, {
799
+ readonly name: "balance";
800
+ readonly type: "uint256";
801
+ readonly internalType: "uint256";
802
+ }, {
803
+ readonly name: "quota";
804
+ readonly type: "uint256";
805
+ readonly internalType: "uint256";
806
+ }, {
807
+ readonly name: "success";
808
+ readonly type: "bool";
809
+ readonly internalType: "bool";
810
+ }];
811
+ }];
812
+ }, {
813
+ readonly name: "nextOffset";
814
+ readonly type: "uint256";
815
+ readonly internalType: "uint256";
816
+ }];
817
+ readonly stateMutability: "view";
818
+ }, {
819
+ readonly type: "function";
820
+ readonly name: "version";
821
+ readonly inputs: readonly [];
822
+ readonly outputs: readonly [{
823
+ readonly name: "";
824
+ readonly type: "uint256";
825
+ readonly internalType: "uint256";
826
+ }];
827
+ readonly stateMutability: "view";
828
+ }];