@gearbox-protocol/sdk 9.12.14 → 9.13.1

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 (228) 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/utils/viem/simulateWithPriceUpdates.js +3 -2
  78. package/dist/esm/abi/310/configure/creditSuiteParams.js +104 -0
  79. package/dist/esm/abi/310/configure/iCreditConfigureActions.js +157 -0
  80. package/dist/esm/abi/310/configure/iPoolConfigureActions.js +56 -0
  81. package/dist/esm/abi/310/configure/iPriceOracleConfigureActions.js +25 -0
  82. package/dist/esm/abi/310/crossChainMultisig.js +516 -0
  83. package/dist/esm/abi/310/iBytecodeRepository.js +873 -0
  84. package/dist/esm/abi/310/iMarketConfiguratorFactory.js +165 -0
  85. package/dist/esm/abi/310/iPriceFeedStore.js +393 -0
  86. package/dist/esm/abi/310/iTreasurySplitter.js +12 -0
  87. package/dist/esm/abi/310/instanceManager.js +250 -0
  88. package/dist/esm/abi/compressors/creditAccountCompressor.js +432 -0
  89. package/dist/esm/abi/compressors/creditSuiteCompressor.js +750 -0
  90. package/dist/esm/abi/compressors/defillamaCompressor.js +159 -0
  91. package/dist/esm/abi/compressors/gaugeCompressor.js +160 -0
  92. package/dist/esm/abi/compressors/marketCompressor.js +2453 -0
  93. package/dist/esm/abi/compressors/peripheryCompressor.js +178 -0
  94. package/dist/esm/abi/compressors/priceFeedCompressor.js +557 -0
  95. package/dist/esm/abi/compressors/rewardsCompressor.js +58 -0
  96. package/dist/esm/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.js +163 -0
  97. package/dist/esm/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.js +163 -0
  98. package/dist/esm/abi/compressors/subcompressors/midasWithdrawalSubcompressor.js +163 -0
  99. package/dist/esm/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.js +163 -0
  100. package/dist/esm/abi/compressors/tokenCompressor.js +71 -0
  101. package/dist/esm/abi/compressors/withdrawalCompressor.js +248 -0
  102. package/dist/esm/abi/governance/batchesChain.js +44 -0
  103. package/dist/esm/abi/governance/governor.js +448 -0
  104. package/dist/esm/abi/governance/iTimeLock.js +233 -0
  105. package/dist/esm/abi/router/balancerV2Worker.js +706 -0
  106. package/dist/esm/abi/router/balancerV3Worker.js +710 -0
  107. package/dist/esm/abi/router/camelotV3Worker.js +534 -0
  108. package/dist/esm/abi/router/convexWorker.js +517 -0
  109. package/dist/esm/abi/router/curveWorker.js +694 -0
  110. package/dist/esm/abi/router/daiUsdsWorker.js +517 -0
  111. package/dist/esm/abi/router/equalizerRouterWorker.js +517 -0
  112. package/dist/esm/abi/router/erc4626Worker.js +548 -0
  113. package/dist/esm/abi/router/fluidDexWorker.js +527 -0
  114. package/dist/esm/abi/router/gearboxRouter.js +627 -0
  115. package/dist/esm/abi/router/infraredVaultWorker.js +517 -0
  116. package/dist/esm/abi/router/kodiakWorker.js +708 -0
  117. package/dist/esm/abi/router/lidoWorker.js +517 -0
  118. package/dist/esm/abi/router/mellow4626Worker.js +517 -0
  119. package/dist/esm/abi/router/mellowDVVWorker.js +517 -0
  120. package/dist/esm/abi/router/mellowVaultWorker.js +527 -0
  121. package/dist/esm/abi/router/pendleRouterWorker.js +543 -0
  122. package/dist/esm/abi/router/routingManager.js +373 -0
  123. package/dist/esm/abi/router/stakingRewardsWorker.js +517 -0
  124. package/dist/esm/abi/router/traderJoeWorker.js +517 -0
  125. package/dist/esm/abi/router/uniswapV2Worker.js +517 -0
  126. package/dist/esm/abi/router/uniswapV3Worker.js +544 -0
  127. package/dist/esm/abi/router/upshiftWorker.js +517 -0
  128. package/dist/esm/abi/router/velodromeV2Worker.js +517 -0
  129. package/dist/esm/abi/router/wstETHWorker.js +517 -0
  130. package/dist/esm/abi/router/yearnV2Worker.js +517 -0
  131. package/dist/esm/dev/migrateFaucet.js +1 -1
  132. package/dist/esm/plugins/accounts-counter/AccountsCounterPlugin.js +3 -3
  133. package/dist/esm/plugins/bots/BotsPlugin.js +2 -2
  134. package/dist/esm/plugins/pools-history/Pools7DAgoPlugin.js +2 -2
  135. package/dist/esm/plugins/zappers/ZappersPlugin.js +2 -2
  136. package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +10 -12
  137. package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +1 -1
  138. package/dist/esm/sdk/chain/detectNetwork.js +1 -1
  139. package/dist/esm/sdk/core/address-provider/AddressProviderV310Contract.js +1 -1
  140. package/dist/esm/sdk/gauges/GaugeStakingService.js +2 -2
  141. package/dist/esm/sdk/market/MarketConfiguratorContract.js +1 -1
  142. package/dist/esm/sdk/market/MarketRegister.js +3 -3
  143. package/dist/esm/sdk/market/credit/CreditConfiguratorV310Contract.js +1 -1
  144. package/dist/esm/sdk/market/credit/CreditFacadeV310Contract.js +2 -2
  145. package/dist/esm/sdk/market/credit/CreditManagerV310Contract.js +1 -1
  146. package/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js +2 -2
  147. package/dist/esm/sdk/market/oracle/PriceOracleV310Contract.js +1 -1
  148. package/dist/esm/sdk/market/pool/PoolQuotaKeeperV310Contract.js +1 -1
  149. package/dist/esm/sdk/market/pool/PoolV310Contract.js +1 -1
  150. package/dist/esm/sdk/market/pool/TumblerContract.js +1 -1
  151. package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
  152. package/dist/esm/sdk/router/RouterV310Contract.js +2 -2
  153. package/dist/esm/sdk/utils/viem/simulateWithPriceUpdates.js +2 -1
  154. package/dist/types/abi/310/configure/creditSuiteParams.d.ts +92 -0
  155. package/dist/types/abi/310/configure/iCreditConfigureActions.d.ts +187 -0
  156. package/dist/types/abi/310/configure/iPoolConfigureActions.d.ts +65 -0
  157. package/dist/types/abi/310/configure/iPriceOracleConfigureActions.d.ts +29 -0
  158. package/dist/types/abi/310/crossChainMultisig.d.ts +709 -0
  159. package/dist/types/abi/310/iBytecodeRepository.d.ts +1139 -0
  160. package/dist/types/abi/310/iMarketConfiguratorFactory.d.ts +218 -0
  161. package/dist/types/abi/310/iPriceFeedStore.d.ts +526 -0
  162. package/dist/types/abi/310/iTreasurySplitter.d.ts +11 -0
  163. package/dist/types/abi/{iPriceFeedStore.d.ts → 310/instanceManager.d.ts} +183 -143
  164. package/dist/types/abi/compressors/creditAccountCompressor.d.ts +828 -0
  165. package/dist/types/abi/compressors/creditSuiteCompressor.d.ts +829 -0
  166. package/dist/types/abi/compressors/defillamaCompressor.d.ts +201 -0
  167. package/dist/types/abi/compressors/gaugeCompressor.d.ts +228 -0
  168. package/dist/types/abi/{compressors.d.ts → compressors/marketCompressor.d.ts} +1322 -4121
  169. package/dist/types/abi/compressors/peripheryCompressor.d.ts +217 -0
  170. package/dist/types/abi/compressors/priceFeedCompressor.d.ts +684 -0
  171. package/dist/types/abi/compressors/rewardsCompressor.d.ts +70 -0
  172. package/dist/types/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.d.ts +220 -0
  173. package/dist/types/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.d.ts +220 -0
  174. package/dist/types/abi/compressors/subcompressors/midasWithdrawalSubcompressor.d.ts +220 -0
  175. package/dist/types/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.d.ts +220 -0
  176. package/dist/types/abi/compressors/tokenCompressor.d.ts +101 -0
  177. package/dist/types/abi/{routerV310.d.ts → compressors/withdrawalCompressor.d.ts} +175 -253
  178. package/dist/types/abi/governance/batchesChain.d.ts +31 -0
  179. package/dist/types/abi/governance/governor.d.ts +584 -0
  180. package/dist/types/abi/governance/iTimeLock.d.ts +328 -0
  181. package/dist/types/abi/router/balancerV2Worker.d.ts +961 -0
  182. package/dist/types/abi/router/balancerV3Worker.d.ts +961 -0
  183. package/dist/types/abi/router/camelotV3Worker.d.ts +754 -0
  184. package/dist/types/abi/router/convexWorker.d.ts +726 -0
  185. package/dist/types/abi/router/curveWorker.d.ts +947 -0
  186. package/dist/types/abi/router/daiUsdsWorker.d.ts +726 -0
  187. package/dist/types/abi/router/equalizerRouterWorker.d.ts +726 -0
  188. package/dist/types/abi/router/erc4626Worker.d.ts +769 -0
  189. package/dist/types/abi/router/fluidDexWorker.d.ts +740 -0
  190. package/dist/types/abi/router/gearboxRouter.d.ts +881 -0
  191. package/dist/types/abi/router/infraredVaultWorker.d.ts +726 -0
  192. package/dist/types/abi/router/kodiakWorker.d.ts +967 -0
  193. package/dist/types/abi/router/lidoWorker.d.ts +726 -0
  194. package/dist/types/abi/router/mellow4626Worker.d.ts +726 -0
  195. package/dist/types/abi/router/mellowDVVWorker.d.ts +726 -0
  196. package/dist/types/abi/router/mellowVaultWorker.d.ts +740 -0
  197. package/dist/types/abi/router/pendleRouterWorker.d.ts +760 -0
  198. package/dist/types/abi/router/routingManager.d.ts +494 -0
  199. package/dist/types/abi/router/stakingRewardsWorker.d.ts +726 -0
  200. package/dist/types/abi/router/traderJoeWorker.d.ts +726 -0
  201. package/dist/types/abi/router/uniswapV2Worker.d.ts +726 -0
  202. package/dist/types/abi/router/uniswapV3Worker.d.ts +774 -0
  203. package/dist/types/abi/router/upshiftWorker.d.ts +726 -0
  204. package/dist/types/abi/router/velodromeV2Worker.d.ts +726 -0
  205. package/dist/types/abi/router/wstETHWorker.d.ts +726 -0
  206. package/dist/types/abi/router/yearnV2Worker.d.ts +726 -0
  207. package/dist/types/plugins/bots/types.d.ts +2 -2
  208. package/dist/types/plugins/zappers/types.d.ts +2 -2
  209. package/dist/types/sdk/accounts/types.d.ts +2 -2
  210. package/dist/types/sdk/base/types.d.ts +11 -7
  211. package/dist/types/sdk/market/credit/CreditManagerV310Contract.d.ts +1 -1
  212. package/dist/types/sdk/market/oracle/types.d.ts +3 -3
  213. package/dist/types/sdk/router/RouterV310Contract.d.ts +481 -1
  214. package/dist/types/sdk/sdk-legacy/payload/pool.d.ts +2 -2
  215. package/package.json +6 -6
  216. package/dist/cjs/abi/compressors.js +0 -4555
  217. package/dist/cjs/abi/iPriceFeedStore.js +0 -254
  218. package/dist/cjs/abi/index.js +0 -46
  219. package/dist/cjs/abi/package.json +0 -1
  220. package/dist/cjs/abi/routerV310.js +0 -276
  221. package/dist/esm/abi/compressors.js +0 -4524
  222. package/dist/esm/abi/iPriceFeedStore.js +0 -230
  223. package/dist/esm/abi/index.js +0 -13
  224. package/dist/esm/abi/package.json +0 -1
  225. package/dist/esm/abi/routerV310.js +0 -252
  226. package/dist/types/abi/index.d.ts +0 -13
  227. /package/dist/esm/abi/{v310.js → 310/generated.js} +0 -0
  228. /package/dist/types/abi/{v310.d.ts → 310/generated.d.ts} +0 -0
@@ -0,0 +1,684 @@
1
+ export declare const priceFeedCompressorAbi: 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: "getPriceOracleState";
32
+ readonly inputs: readonly [{
33
+ readonly name: "priceOracle";
34
+ readonly type: "address";
35
+ readonly internalType: "address";
36
+ }];
37
+ readonly outputs: readonly [{
38
+ readonly name: "";
39
+ readonly type: "tuple";
40
+ readonly internalType: "struct PriceOracleState";
41
+ readonly components: readonly [{
42
+ readonly name: "baseParams";
43
+ readonly type: "tuple";
44
+ readonly internalType: "struct BaseParams";
45
+ readonly components: readonly [{
46
+ readonly name: "addr";
47
+ readonly type: "address";
48
+ readonly internalType: "address";
49
+ }, {
50
+ readonly name: "version";
51
+ readonly type: "uint256";
52
+ readonly internalType: "uint256";
53
+ }, {
54
+ readonly name: "contractType";
55
+ readonly type: "bytes32";
56
+ readonly internalType: "bytes32";
57
+ }, {
58
+ readonly name: "serializedParams";
59
+ readonly type: "bytes";
60
+ readonly internalType: "bytes";
61
+ }];
62
+ }, {
63
+ readonly name: "priceFeedMap";
64
+ readonly type: "tuple[]";
65
+ readonly internalType: "struct PriceFeedMapEntry[]";
66
+ readonly components: readonly [{
67
+ readonly name: "token";
68
+ readonly type: "address";
69
+ readonly internalType: "address";
70
+ }, {
71
+ readonly name: "reserve";
72
+ readonly type: "bool";
73
+ readonly internalType: "bool";
74
+ }, {
75
+ readonly name: "priceFeed";
76
+ readonly type: "address";
77
+ readonly internalType: "address";
78
+ }, {
79
+ readonly name: "stalenessPeriod";
80
+ readonly type: "uint32";
81
+ readonly internalType: "uint32";
82
+ }];
83
+ }, {
84
+ readonly name: "priceFeedTree";
85
+ readonly type: "tuple[]";
86
+ readonly internalType: "struct PriceFeedTreeNode[]";
87
+ readonly components: readonly [{
88
+ readonly name: "baseParams";
89
+ readonly type: "tuple";
90
+ readonly internalType: "struct BaseParams";
91
+ readonly components: readonly [{
92
+ readonly name: "addr";
93
+ readonly type: "address";
94
+ readonly internalType: "address";
95
+ }, {
96
+ readonly name: "version";
97
+ readonly type: "uint256";
98
+ readonly internalType: "uint256";
99
+ }, {
100
+ readonly name: "contractType";
101
+ readonly type: "bytes32";
102
+ readonly internalType: "bytes32";
103
+ }, {
104
+ readonly name: "serializedParams";
105
+ readonly type: "bytes";
106
+ readonly internalType: "bytes";
107
+ }];
108
+ }, {
109
+ readonly name: "description";
110
+ readonly type: "string";
111
+ readonly internalType: "string";
112
+ }, {
113
+ readonly name: "decimals";
114
+ readonly type: "uint8";
115
+ readonly internalType: "uint8";
116
+ }, {
117
+ readonly name: "skipCheck";
118
+ readonly type: "bool";
119
+ readonly internalType: "bool";
120
+ }, {
121
+ readonly name: "updatable";
122
+ readonly type: "bool";
123
+ readonly internalType: "bool";
124
+ }, {
125
+ readonly name: "underlyingFeeds";
126
+ readonly type: "address[]";
127
+ readonly internalType: "address[]";
128
+ }, {
129
+ readonly name: "underlyingStalenessPeriods";
130
+ readonly type: "uint32[]";
131
+ readonly internalType: "uint32[]";
132
+ }, {
133
+ readonly name: "answer";
134
+ readonly type: "tuple";
135
+ readonly internalType: "struct PriceFeedAnswer";
136
+ readonly components: readonly [{
137
+ readonly name: "price";
138
+ readonly type: "int256";
139
+ readonly internalType: "int256";
140
+ }, {
141
+ readonly name: "updatedAt";
142
+ readonly type: "uint256";
143
+ readonly internalType: "uint256";
144
+ }, {
145
+ readonly name: "success";
146
+ readonly type: "bool";
147
+ readonly internalType: "bool";
148
+ }];
149
+ }];
150
+ }];
151
+ }];
152
+ readonly stateMutability: "view";
153
+ }, {
154
+ readonly type: "function";
155
+ readonly name: "getPriceOracleState";
156
+ readonly inputs: readonly [{
157
+ readonly name: "priceOracle";
158
+ readonly type: "address";
159
+ readonly internalType: "address";
160
+ }, {
161
+ readonly name: "tokens";
162
+ readonly type: "address[]";
163
+ readonly internalType: "address[]";
164
+ }];
165
+ readonly outputs: readonly [{
166
+ readonly name: "result";
167
+ readonly type: "tuple";
168
+ readonly internalType: "struct PriceOracleState";
169
+ readonly components: readonly [{
170
+ readonly name: "baseParams";
171
+ readonly type: "tuple";
172
+ readonly internalType: "struct BaseParams";
173
+ readonly components: readonly [{
174
+ readonly name: "addr";
175
+ readonly type: "address";
176
+ readonly internalType: "address";
177
+ }, {
178
+ readonly name: "version";
179
+ readonly type: "uint256";
180
+ readonly internalType: "uint256";
181
+ }, {
182
+ readonly name: "contractType";
183
+ readonly type: "bytes32";
184
+ readonly internalType: "bytes32";
185
+ }, {
186
+ readonly name: "serializedParams";
187
+ readonly type: "bytes";
188
+ readonly internalType: "bytes";
189
+ }];
190
+ }, {
191
+ readonly name: "priceFeedMap";
192
+ readonly type: "tuple[]";
193
+ readonly internalType: "struct PriceFeedMapEntry[]";
194
+ readonly components: readonly [{
195
+ readonly name: "token";
196
+ readonly type: "address";
197
+ readonly internalType: "address";
198
+ }, {
199
+ readonly name: "reserve";
200
+ readonly type: "bool";
201
+ readonly internalType: "bool";
202
+ }, {
203
+ readonly name: "priceFeed";
204
+ readonly type: "address";
205
+ readonly internalType: "address";
206
+ }, {
207
+ readonly name: "stalenessPeriod";
208
+ readonly type: "uint32";
209
+ readonly internalType: "uint32";
210
+ }];
211
+ }, {
212
+ readonly name: "priceFeedTree";
213
+ readonly type: "tuple[]";
214
+ readonly internalType: "struct PriceFeedTreeNode[]";
215
+ readonly components: readonly [{
216
+ readonly name: "baseParams";
217
+ readonly type: "tuple";
218
+ readonly internalType: "struct BaseParams";
219
+ readonly components: readonly [{
220
+ readonly name: "addr";
221
+ readonly type: "address";
222
+ readonly internalType: "address";
223
+ }, {
224
+ readonly name: "version";
225
+ readonly type: "uint256";
226
+ readonly internalType: "uint256";
227
+ }, {
228
+ readonly name: "contractType";
229
+ readonly type: "bytes32";
230
+ readonly internalType: "bytes32";
231
+ }, {
232
+ readonly name: "serializedParams";
233
+ readonly type: "bytes";
234
+ readonly internalType: "bytes";
235
+ }];
236
+ }, {
237
+ readonly name: "description";
238
+ readonly type: "string";
239
+ readonly internalType: "string";
240
+ }, {
241
+ readonly name: "decimals";
242
+ readonly type: "uint8";
243
+ readonly internalType: "uint8";
244
+ }, {
245
+ readonly name: "skipCheck";
246
+ readonly type: "bool";
247
+ readonly internalType: "bool";
248
+ }, {
249
+ readonly name: "updatable";
250
+ readonly type: "bool";
251
+ readonly internalType: "bool";
252
+ }, {
253
+ readonly name: "underlyingFeeds";
254
+ readonly type: "address[]";
255
+ readonly internalType: "address[]";
256
+ }, {
257
+ readonly name: "underlyingStalenessPeriods";
258
+ readonly type: "uint32[]";
259
+ readonly internalType: "uint32[]";
260
+ }, {
261
+ readonly name: "answer";
262
+ readonly type: "tuple";
263
+ readonly internalType: "struct PriceFeedAnswer";
264
+ readonly components: readonly [{
265
+ readonly name: "price";
266
+ readonly type: "int256";
267
+ readonly internalType: "int256";
268
+ }, {
269
+ readonly name: "updatedAt";
270
+ readonly type: "uint256";
271
+ readonly internalType: "uint256";
272
+ }, {
273
+ readonly name: "success";
274
+ readonly type: "bool";
275
+ readonly internalType: "bool";
276
+ }];
277
+ }];
278
+ }];
279
+ }];
280
+ readonly stateMutability: "view";
281
+ }, {
282
+ readonly type: "function";
283
+ readonly name: "getPriceOracles";
284
+ readonly inputs: readonly [{
285
+ readonly name: "filter";
286
+ readonly type: "tuple";
287
+ readonly internalType: "struct MarketFilter";
288
+ readonly components: readonly [{
289
+ readonly name: "configurators";
290
+ readonly type: "address[]";
291
+ readonly internalType: "address[]";
292
+ }, {
293
+ readonly name: "pools";
294
+ readonly type: "address[]";
295
+ readonly internalType: "address[]";
296
+ }, {
297
+ readonly name: "underlying";
298
+ readonly type: "address";
299
+ readonly internalType: "address";
300
+ }];
301
+ }];
302
+ readonly outputs: readonly [{
303
+ readonly name: "result";
304
+ readonly type: "tuple[]";
305
+ readonly internalType: "struct PriceOracleState[]";
306
+ readonly components: readonly [{
307
+ readonly name: "baseParams";
308
+ readonly type: "tuple";
309
+ readonly internalType: "struct BaseParams";
310
+ readonly components: readonly [{
311
+ readonly name: "addr";
312
+ readonly type: "address";
313
+ readonly internalType: "address";
314
+ }, {
315
+ readonly name: "version";
316
+ readonly type: "uint256";
317
+ readonly internalType: "uint256";
318
+ }, {
319
+ readonly name: "contractType";
320
+ readonly type: "bytes32";
321
+ readonly internalType: "bytes32";
322
+ }, {
323
+ readonly name: "serializedParams";
324
+ readonly type: "bytes";
325
+ readonly internalType: "bytes";
326
+ }];
327
+ }, {
328
+ readonly name: "priceFeedMap";
329
+ readonly type: "tuple[]";
330
+ readonly internalType: "struct PriceFeedMapEntry[]";
331
+ readonly components: readonly [{
332
+ readonly name: "token";
333
+ readonly type: "address";
334
+ readonly internalType: "address";
335
+ }, {
336
+ readonly name: "reserve";
337
+ readonly type: "bool";
338
+ readonly internalType: "bool";
339
+ }, {
340
+ readonly name: "priceFeed";
341
+ readonly type: "address";
342
+ readonly internalType: "address";
343
+ }, {
344
+ readonly name: "stalenessPeriod";
345
+ readonly type: "uint32";
346
+ readonly internalType: "uint32";
347
+ }];
348
+ }, {
349
+ readonly name: "priceFeedTree";
350
+ readonly type: "tuple[]";
351
+ readonly internalType: "struct PriceFeedTreeNode[]";
352
+ readonly components: readonly [{
353
+ readonly name: "baseParams";
354
+ readonly type: "tuple";
355
+ readonly internalType: "struct BaseParams";
356
+ readonly components: readonly [{
357
+ readonly name: "addr";
358
+ readonly type: "address";
359
+ readonly internalType: "address";
360
+ }, {
361
+ readonly name: "version";
362
+ readonly type: "uint256";
363
+ readonly internalType: "uint256";
364
+ }, {
365
+ readonly name: "contractType";
366
+ readonly type: "bytes32";
367
+ readonly internalType: "bytes32";
368
+ }, {
369
+ readonly name: "serializedParams";
370
+ readonly type: "bytes";
371
+ readonly internalType: "bytes";
372
+ }];
373
+ }, {
374
+ readonly name: "description";
375
+ readonly type: "string";
376
+ readonly internalType: "string";
377
+ }, {
378
+ readonly name: "decimals";
379
+ readonly type: "uint8";
380
+ readonly internalType: "uint8";
381
+ }, {
382
+ readonly name: "skipCheck";
383
+ readonly type: "bool";
384
+ readonly internalType: "bool";
385
+ }, {
386
+ readonly name: "updatable";
387
+ readonly type: "bool";
388
+ readonly internalType: "bool";
389
+ }, {
390
+ readonly name: "underlyingFeeds";
391
+ readonly type: "address[]";
392
+ readonly internalType: "address[]";
393
+ }, {
394
+ readonly name: "underlyingStalenessPeriods";
395
+ readonly type: "uint32[]";
396
+ readonly internalType: "uint32[]";
397
+ }, {
398
+ readonly name: "answer";
399
+ readonly type: "tuple";
400
+ readonly internalType: "struct PriceFeedAnswer";
401
+ readonly components: readonly [{
402
+ readonly name: "price";
403
+ readonly type: "int256";
404
+ readonly internalType: "int256";
405
+ }, {
406
+ readonly name: "updatedAt";
407
+ readonly type: "uint256";
408
+ readonly internalType: "uint256";
409
+ }, {
410
+ readonly name: "success";
411
+ readonly type: "bool";
412
+ readonly internalType: "bool";
413
+ }];
414
+ }];
415
+ }];
416
+ }];
417
+ readonly stateMutability: "view";
418
+ }, {
419
+ readonly type: "function";
420
+ readonly name: "getUpdatablePriceFeeds";
421
+ readonly inputs: readonly [{
422
+ readonly name: "priceFeeds";
423
+ readonly type: "address[]";
424
+ readonly internalType: "address[]";
425
+ }];
426
+ readonly outputs: readonly [{
427
+ readonly name: "";
428
+ readonly type: "tuple[]";
429
+ readonly internalType: "struct BaseParams[]";
430
+ readonly components: readonly [{
431
+ readonly name: "addr";
432
+ readonly type: "address";
433
+ readonly internalType: "address";
434
+ }, {
435
+ readonly name: "version";
436
+ readonly type: "uint256";
437
+ readonly internalType: "uint256";
438
+ }, {
439
+ readonly name: "contractType";
440
+ readonly type: "bytes32";
441
+ readonly internalType: "bytes32";
442
+ }, {
443
+ readonly name: "serializedParams";
444
+ readonly type: "bytes";
445
+ readonly internalType: "bytes";
446
+ }];
447
+ }];
448
+ readonly stateMutability: "view";
449
+ }, {
450
+ readonly type: "function";
451
+ readonly name: "getUpdatablePriceFeeds";
452
+ readonly inputs: readonly [{
453
+ readonly name: "filter";
454
+ readonly type: "tuple";
455
+ readonly internalType: "struct MarketFilter";
456
+ readonly components: readonly [{
457
+ readonly name: "configurators";
458
+ readonly type: "address[]";
459
+ readonly internalType: "address[]";
460
+ }, {
461
+ readonly name: "pools";
462
+ readonly type: "address[]";
463
+ readonly internalType: "address[]";
464
+ }, {
465
+ readonly name: "underlying";
466
+ readonly type: "address";
467
+ readonly internalType: "address";
468
+ }];
469
+ }];
470
+ readonly outputs: readonly [{
471
+ readonly name: "";
472
+ readonly type: "tuple[]";
473
+ readonly internalType: "struct BaseParams[]";
474
+ readonly components: readonly [{
475
+ readonly name: "addr";
476
+ readonly type: "address";
477
+ readonly internalType: "address";
478
+ }, {
479
+ readonly name: "version";
480
+ readonly type: "uint256";
481
+ readonly internalType: "uint256";
482
+ }, {
483
+ readonly name: "contractType";
484
+ readonly type: "bytes32";
485
+ readonly internalType: "bytes32";
486
+ }, {
487
+ readonly name: "serializedParams";
488
+ readonly type: "bytes";
489
+ readonly internalType: "bytes";
490
+ }];
491
+ }];
492
+ readonly stateMutability: "view";
493
+ }, {
494
+ readonly type: "function";
495
+ readonly name: "loadPriceFeedTree";
496
+ readonly inputs: readonly [{
497
+ readonly name: "filter";
498
+ readonly type: "tuple";
499
+ readonly internalType: "struct MarketFilter";
500
+ readonly components: readonly [{
501
+ readonly name: "configurators";
502
+ readonly type: "address[]";
503
+ readonly internalType: "address[]";
504
+ }, {
505
+ readonly name: "pools";
506
+ readonly type: "address[]";
507
+ readonly internalType: "address[]";
508
+ }, {
509
+ readonly name: "underlying";
510
+ readonly type: "address";
511
+ readonly internalType: "address";
512
+ }];
513
+ }];
514
+ readonly outputs: readonly [{
515
+ readonly name: "";
516
+ readonly type: "tuple[]";
517
+ readonly internalType: "struct PriceFeedTreeNode[]";
518
+ readonly components: readonly [{
519
+ readonly name: "baseParams";
520
+ readonly type: "tuple";
521
+ readonly internalType: "struct BaseParams";
522
+ readonly components: readonly [{
523
+ readonly name: "addr";
524
+ readonly type: "address";
525
+ readonly internalType: "address";
526
+ }, {
527
+ readonly name: "version";
528
+ readonly type: "uint256";
529
+ readonly internalType: "uint256";
530
+ }, {
531
+ readonly name: "contractType";
532
+ readonly type: "bytes32";
533
+ readonly internalType: "bytes32";
534
+ }, {
535
+ readonly name: "serializedParams";
536
+ readonly type: "bytes";
537
+ readonly internalType: "bytes";
538
+ }];
539
+ }, {
540
+ readonly name: "description";
541
+ readonly type: "string";
542
+ readonly internalType: "string";
543
+ }, {
544
+ readonly name: "decimals";
545
+ readonly type: "uint8";
546
+ readonly internalType: "uint8";
547
+ }, {
548
+ readonly name: "skipCheck";
549
+ readonly type: "bool";
550
+ readonly internalType: "bool";
551
+ }, {
552
+ readonly name: "updatable";
553
+ readonly type: "bool";
554
+ readonly internalType: "bool";
555
+ }, {
556
+ readonly name: "underlyingFeeds";
557
+ readonly type: "address[]";
558
+ readonly internalType: "address[]";
559
+ }, {
560
+ readonly name: "underlyingStalenessPeriods";
561
+ readonly type: "uint32[]";
562
+ readonly internalType: "uint32[]";
563
+ }, {
564
+ readonly name: "answer";
565
+ readonly type: "tuple";
566
+ readonly internalType: "struct PriceFeedAnswer";
567
+ readonly components: readonly [{
568
+ readonly name: "price";
569
+ readonly type: "int256";
570
+ readonly internalType: "int256";
571
+ }, {
572
+ readonly name: "updatedAt";
573
+ readonly type: "uint256";
574
+ readonly internalType: "uint256";
575
+ }, {
576
+ readonly name: "success";
577
+ readonly type: "bool";
578
+ readonly internalType: "bool";
579
+ }];
580
+ }];
581
+ }];
582
+ readonly stateMutability: "view";
583
+ }, {
584
+ readonly type: "function";
585
+ readonly name: "loadPriceFeedTree";
586
+ readonly inputs: readonly [{
587
+ readonly name: "priceFeeds";
588
+ readonly type: "address[]";
589
+ readonly internalType: "address[]";
590
+ }];
591
+ readonly outputs: readonly [{
592
+ readonly name: "";
593
+ readonly type: "tuple[]";
594
+ readonly internalType: "struct PriceFeedTreeNode[]";
595
+ readonly components: readonly [{
596
+ readonly name: "baseParams";
597
+ readonly type: "tuple";
598
+ readonly internalType: "struct BaseParams";
599
+ readonly components: readonly [{
600
+ readonly name: "addr";
601
+ readonly type: "address";
602
+ readonly internalType: "address";
603
+ }, {
604
+ readonly name: "version";
605
+ readonly type: "uint256";
606
+ readonly internalType: "uint256";
607
+ }, {
608
+ readonly name: "contractType";
609
+ readonly type: "bytes32";
610
+ readonly internalType: "bytes32";
611
+ }, {
612
+ readonly name: "serializedParams";
613
+ readonly type: "bytes";
614
+ readonly internalType: "bytes";
615
+ }];
616
+ }, {
617
+ readonly name: "description";
618
+ readonly type: "string";
619
+ readonly internalType: "string";
620
+ }, {
621
+ readonly name: "decimals";
622
+ readonly type: "uint8";
623
+ readonly internalType: "uint8";
624
+ }, {
625
+ readonly name: "skipCheck";
626
+ readonly type: "bool";
627
+ readonly internalType: "bool";
628
+ }, {
629
+ readonly name: "updatable";
630
+ readonly type: "bool";
631
+ readonly internalType: "bool";
632
+ }, {
633
+ readonly name: "underlyingFeeds";
634
+ readonly type: "address[]";
635
+ readonly internalType: "address[]";
636
+ }, {
637
+ readonly name: "underlyingStalenessPeriods";
638
+ readonly type: "uint32[]";
639
+ readonly internalType: "uint32[]";
640
+ }, {
641
+ readonly name: "answer";
642
+ readonly type: "tuple";
643
+ readonly internalType: "struct PriceFeedAnswer";
644
+ readonly components: readonly [{
645
+ readonly name: "price";
646
+ readonly type: "int256";
647
+ readonly internalType: "int256";
648
+ }, {
649
+ readonly name: "updatedAt";
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 stateMutability: "view";
660
+ }, {
661
+ readonly type: "function";
662
+ readonly name: "serializers";
663
+ readonly inputs: readonly [{
664
+ readonly name: "priceFeedType";
665
+ readonly type: "bytes32";
666
+ readonly internalType: "bytes32";
667
+ }];
668
+ readonly outputs: readonly [{
669
+ readonly name: "";
670
+ readonly type: "address";
671
+ readonly internalType: "address";
672
+ }];
673
+ readonly stateMutability: "view";
674
+ }, {
675
+ readonly type: "function";
676
+ readonly name: "version";
677
+ readonly inputs: readonly [];
678
+ readonly outputs: readonly [{
679
+ readonly name: "";
680
+ readonly type: "uint256";
681
+ readonly internalType: "uint256";
682
+ }];
683
+ readonly stateMutability: "view";
684
+ }];