@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,540 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var crossChainMultisig_exports = {};
20
+ __export(crossChainMultisig_exports, {
21
+ crossChainMultisigAbi: () => crossChainMultisigAbi
22
+ });
23
+ module.exports = __toCommonJS(crossChainMultisig_exports);
24
+ const crossChainMultisigAbi = [
25
+ {
26
+ type: "constructor",
27
+ inputs: [
28
+ { name: "signers_", internalType: "address[]", type: "address[]" },
29
+ { name: "confirmationThreshold_", internalType: "uint8", type: "uint8" },
30
+ { name: "owner_", internalType: "address", type: "address" }
31
+ ],
32
+ stateMutability: "nonpayable"
33
+ },
34
+ {
35
+ type: "function",
36
+ inputs: [],
37
+ name: "BATCH_TYPEHASH",
38
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
39
+ stateMutability: "view"
40
+ },
41
+ {
42
+ type: "function",
43
+ inputs: [],
44
+ name: "COMPACT_BATCH_TYPEHASH",
45
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
46
+ stateMutability: "view"
47
+ },
48
+ {
49
+ type: "function",
50
+ inputs: [],
51
+ name: "CROSS_CHAIN_CALL_TYPEHASH",
52
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
53
+ stateMutability: "view"
54
+ },
55
+ {
56
+ type: "function",
57
+ inputs: [],
58
+ name: "RECOVERY_MODE_TYPEHASH",
59
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
60
+ stateMutability: "view"
61
+ },
62
+ {
63
+ type: "function",
64
+ inputs: [{ name: "signer", internalType: "address", type: "address" }],
65
+ name: "addSigner",
66
+ outputs: [],
67
+ stateMutability: "nonpayable"
68
+ },
69
+ {
70
+ type: "function",
71
+ inputs: [
72
+ { name: "name", internalType: "string", type: "string" },
73
+ {
74
+ name: "calls",
75
+ internalType: "struct CrossChainCall[]",
76
+ type: "tuple[]",
77
+ components: [
78
+ { name: "chainId", internalType: "uint256", type: "uint256" },
79
+ { name: "target", internalType: "address", type: "address" },
80
+ { name: "callData", internalType: "bytes", type: "bytes" }
81
+ ]
82
+ },
83
+ { name: "prevHash", internalType: "bytes32", type: "bytes32" }
84
+ ],
85
+ name: "computeBatchHash",
86
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
87
+ stateMutability: "pure"
88
+ },
89
+ {
90
+ type: "function",
91
+ inputs: [
92
+ { name: "name", internalType: "string", type: "string" },
93
+ { name: "batchHash", internalType: "bytes32", type: "bytes32" },
94
+ { name: "prevHash", internalType: "bytes32", type: "bytes32" }
95
+ ],
96
+ name: "computeCompactBatchHash",
97
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
98
+ stateMutability: "pure"
99
+ },
100
+ {
101
+ type: "function",
102
+ inputs: [
103
+ {
104
+ name: "call",
105
+ internalType: "struct CrossChainCall",
106
+ type: "tuple",
107
+ components: [
108
+ { name: "chainId", internalType: "uint256", type: "uint256" },
109
+ { name: "target", internalType: "address", type: "address" },
110
+ { name: "callData", internalType: "bytes", type: "bytes" }
111
+ ]
112
+ }
113
+ ],
114
+ name: "computeCrossChainCallHash",
115
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
116
+ stateMutability: "pure"
117
+ },
118
+ {
119
+ type: "function",
120
+ inputs: [
121
+ { name: "chainId", internalType: "uint256", type: "uint256" },
122
+ { name: "startingBatchHash", internalType: "bytes32", type: "bytes32" }
123
+ ],
124
+ name: "computeRecoveryModeHash",
125
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
126
+ stateMutability: "pure"
127
+ },
128
+ {
129
+ type: "function",
130
+ inputs: [],
131
+ name: "confirmationThreshold",
132
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
133
+ stateMutability: "view"
134
+ },
135
+ {
136
+ type: "function",
137
+ inputs: [],
138
+ name: "contractType",
139
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
140
+ stateMutability: "view"
141
+ },
142
+ {
143
+ type: "function",
144
+ inputs: [{ name: "chainId", internalType: "uint256", type: "uint256" }],
145
+ name: "disableRecoveryMode",
146
+ outputs: [],
147
+ stateMutability: "nonpayable"
148
+ },
149
+ {
150
+ type: "function",
151
+ inputs: [],
152
+ name: "domainSeparatorV4",
153
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
154
+ stateMutability: "view"
155
+ },
156
+ {
157
+ type: "function",
158
+ inputs: [],
159
+ name: "eip712Domain",
160
+ outputs: [
161
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
162
+ { name: "name", internalType: "string", type: "string" },
163
+ { name: "version", internalType: "string", type: "string" },
164
+ { name: "chainId", internalType: "uint256", type: "uint256" },
165
+ { name: "verifyingContract", internalType: "address", type: "address" },
166
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
167
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
168
+ ],
169
+ stateMutability: "view"
170
+ },
171
+ {
172
+ type: "function",
173
+ inputs: [
174
+ {
175
+ name: "message",
176
+ internalType: "struct SignedRecoveryModeMessage",
177
+ type: "tuple",
178
+ components: [
179
+ { name: "chainId", internalType: "uint256", type: "uint256" },
180
+ {
181
+ name: "startingBatchHash",
182
+ internalType: "bytes32",
183
+ type: "bytes32"
184
+ },
185
+ { name: "signatures", internalType: "bytes[]", type: "bytes[]" }
186
+ ]
187
+ }
188
+ ],
189
+ name: "enableRecoveryMode",
190
+ outputs: [],
191
+ stateMutability: "nonpayable"
192
+ },
193
+ {
194
+ type: "function",
195
+ inputs: [
196
+ {
197
+ name: "signedBatch",
198
+ internalType: "struct SignedBatch",
199
+ type: "tuple",
200
+ components: [
201
+ { name: "name", internalType: "string", type: "string" },
202
+ { name: "prevHash", internalType: "bytes32", type: "bytes32" },
203
+ {
204
+ name: "calls",
205
+ internalType: "struct CrossChainCall[]",
206
+ type: "tuple[]",
207
+ components: [
208
+ { name: "chainId", internalType: "uint256", type: "uint256" },
209
+ { name: "target", internalType: "address", type: "address" },
210
+ { name: "callData", internalType: "bytes", type: "bytes" }
211
+ ]
212
+ },
213
+ { name: "signatures", internalType: "bytes[]", type: "bytes[]" }
214
+ ]
215
+ }
216
+ ],
217
+ name: "executeBatch",
218
+ outputs: [],
219
+ stateMutability: "nonpayable"
220
+ },
221
+ {
222
+ type: "function",
223
+ inputs: [{ name: "batchHash", internalType: "bytes32", type: "bytes32" }],
224
+ name: "getBatch",
225
+ outputs: [
226
+ {
227
+ name: "result",
228
+ internalType: "struct SignedBatch",
229
+ type: "tuple",
230
+ components: [
231
+ { name: "name", internalType: "string", type: "string" },
232
+ { name: "prevHash", internalType: "bytes32", type: "bytes32" },
233
+ {
234
+ name: "calls",
235
+ internalType: "struct CrossChainCall[]",
236
+ type: "tuple[]",
237
+ components: [
238
+ { name: "chainId", internalType: "uint256", type: "uint256" },
239
+ { name: "target", internalType: "address", type: "address" },
240
+ { name: "callData", internalType: "bytes", type: "bytes" }
241
+ ]
242
+ },
243
+ { name: "signatures", internalType: "bytes[]", type: "bytes[]" }
244
+ ]
245
+ }
246
+ ],
247
+ stateMutability: "view"
248
+ },
249
+ {
250
+ type: "function",
251
+ inputs: [{ name: "batchHash", internalType: "bytes32", type: "bytes32" }],
252
+ name: "getConnectedBatchHashes",
253
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
254
+ stateMutability: "view"
255
+ },
256
+ {
257
+ type: "function",
258
+ inputs: [],
259
+ name: "getCurrentBatchHashes",
260
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
261
+ stateMutability: "view"
262
+ },
263
+ {
264
+ type: "function",
265
+ inputs: [],
266
+ name: "getExecutedBatchHashes",
267
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
268
+ stateMutability: "view"
269
+ },
270
+ {
271
+ type: "function",
272
+ inputs: [],
273
+ name: "getSigners",
274
+ outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
275
+ stateMutability: "view"
276
+ },
277
+ {
278
+ type: "function",
279
+ inputs: [],
280
+ name: "isRecoveryModeEnabled",
281
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
282
+ stateMutability: "view"
283
+ },
284
+ {
285
+ type: "function",
286
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
287
+ name: "isSigner",
288
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
289
+ stateMutability: "view"
290
+ },
291
+ {
292
+ type: "function",
293
+ inputs: [],
294
+ name: "lastBatchHash",
295
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
296
+ stateMutability: "view"
297
+ },
298
+ {
299
+ type: "function",
300
+ inputs: [],
301
+ name: "owner",
302
+ outputs: [{ name: "", internalType: "address", type: "address" }],
303
+ stateMutability: "view"
304
+ },
305
+ {
306
+ type: "function",
307
+ inputs: [{ name: "signer", internalType: "address", type: "address" }],
308
+ name: "removeSigner",
309
+ outputs: [],
310
+ stateMutability: "nonpayable"
311
+ },
312
+ {
313
+ type: "function",
314
+ inputs: [],
315
+ name: "renounceOwnership",
316
+ outputs: [],
317
+ stateMutability: "nonpayable"
318
+ },
319
+ {
320
+ type: "function",
321
+ inputs: [
322
+ {
323
+ name: "newConfirmationThreshold",
324
+ internalType: "uint8",
325
+ type: "uint8"
326
+ }
327
+ ],
328
+ name: "setConfirmationThreshold",
329
+ outputs: [],
330
+ stateMutability: "nonpayable"
331
+ },
332
+ {
333
+ type: "function",
334
+ inputs: [
335
+ { name: "batchHash", internalType: "bytes32", type: "bytes32" },
336
+ { name: "signature", internalType: "bytes", type: "bytes" }
337
+ ],
338
+ name: "signBatch",
339
+ outputs: [],
340
+ stateMutability: "nonpayable"
341
+ },
342
+ {
343
+ type: "function",
344
+ inputs: [
345
+ { name: "name", internalType: "string", type: "string" },
346
+ {
347
+ name: "calls",
348
+ internalType: "struct CrossChainCall[]",
349
+ type: "tuple[]",
350
+ components: [
351
+ { name: "chainId", internalType: "uint256", type: "uint256" },
352
+ { name: "target", internalType: "address", type: "address" },
353
+ { name: "callData", internalType: "bytes", type: "bytes" }
354
+ ]
355
+ },
356
+ { name: "prevHash", internalType: "bytes32", type: "bytes32" }
357
+ ],
358
+ name: "submitBatch",
359
+ outputs: [],
360
+ stateMutability: "nonpayable"
361
+ },
362
+ {
363
+ type: "function",
364
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
365
+ name: "transferOwnership",
366
+ outputs: [],
367
+ stateMutability: "nonpayable"
368
+ },
369
+ {
370
+ type: "function",
371
+ inputs: [],
372
+ name: "version",
373
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
374
+ stateMutability: "view"
375
+ },
376
+ {
377
+ type: "event",
378
+ anonymous: false,
379
+ inputs: [
380
+ {
381
+ name: "signer",
382
+ internalType: "address",
383
+ type: "address",
384
+ indexed: true
385
+ }
386
+ ],
387
+ name: "AddSigner"
388
+ },
389
+ { type: "event", anonymous: false, inputs: [], name: "DisableRecoveryMode" },
390
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
391
+ {
392
+ type: "event",
393
+ anonymous: false,
394
+ inputs: [
395
+ {
396
+ name: "startingBatchHash",
397
+ internalType: "bytes32",
398
+ type: "bytes32",
399
+ indexed: true
400
+ }
401
+ ],
402
+ name: "EnableRecoveryMode"
403
+ },
404
+ {
405
+ type: "event",
406
+ anonymous: false,
407
+ inputs: [
408
+ {
409
+ name: "batchHash",
410
+ internalType: "bytes32",
411
+ type: "bytes32",
412
+ indexed: true
413
+ }
414
+ ],
415
+ name: "ExecuteBatch"
416
+ },
417
+ {
418
+ type: "event",
419
+ anonymous: false,
420
+ inputs: [
421
+ {
422
+ name: "previousOwner",
423
+ internalType: "address",
424
+ type: "address",
425
+ indexed: true
426
+ },
427
+ {
428
+ name: "newOwner",
429
+ internalType: "address",
430
+ type: "address",
431
+ indexed: true
432
+ }
433
+ ],
434
+ name: "OwnershipTransferred"
435
+ },
436
+ {
437
+ type: "event",
438
+ anonymous: false,
439
+ inputs: [
440
+ {
441
+ name: "signer",
442
+ internalType: "address",
443
+ type: "address",
444
+ indexed: true
445
+ }
446
+ ],
447
+ name: "RemoveSigner"
448
+ },
449
+ {
450
+ type: "event",
451
+ anonymous: false,
452
+ inputs: [
453
+ {
454
+ name: "newConfirmationThreshold",
455
+ internalType: "uint8",
456
+ type: "uint8",
457
+ indexed: false
458
+ }
459
+ ],
460
+ name: "SetConfirmationThreshold"
461
+ },
462
+ {
463
+ type: "event",
464
+ anonymous: false,
465
+ inputs: [
466
+ {
467
+ name: "batchHash",
468
+ internalType: "bytes32",
469
+ type: "bytes32",
470
+ indexed: true
471
+ },
472
+ {
473
+ name: "signer",
474
+ internalType: "address",
475
+ type: "address",
476
+ indexed: true
477
+ }
478
+ ],
479
+ name: "SignBatch"
480
+ },
481
+ {
482
+ type: "event",
483
+ anonymous: false,
484
+ inputs: [
485
+ {
486
+ name: "batchHash",
487
+ internalType: "bytes32",
488
+ type: "bytes32",
489
+ indexed: true
490
+ }
491
+ ],
492
+ name: "SubmitBatch"
493
+ },
494
+ {
495
+ type: "error",
496
+ inputs: [{ name: "batchHash", internalType: "bytes32", type: "bytes32" }],
497
+ name: "BatchIsNotSubmittedException"
498
+ },
499
+ {
500
+ type: "error",
501
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
502
+ name: "CallerIsNotSelfException"
503
+ },
504
+ { type: "error", inputs: [], name: "CantBeExecutedOnCurrentChainException" },
505
+ {
506
+ type: "error",
507
+ inputs: [{ name: "signer", internalType: "address", type: "address" }],
508
+ name: "DuplicateSignatureException"
509
+ },
510
+ {
511
+ type: "error",
512
+ inputs: [],
513
+ name: "InsufficientNumberOfSignaturesException"
514
+ },
515
+ { type: "error", inputs: [], name: "InvalidBatchException" },
516
+ { type: "error", inputs: [], name: "InvalidConfirmationThresholdException" },
517
+ { type: "error", inputs: [], name: "InvalidPrevHashException" },
518
+ { type: "error", inputs: [], name: "InvalidRecoveryModeMessageException" },
519
+ { type: "error", inputs: [], name: "InvalidShortString" },
520
+ { type: "error", inputs: [], name: "InvalidSignerAddressException" },
521
+ {
522
+ type: "error",
523
+ inputs: [{ name: "signer", internalType: "address", type: "address" }],
524
+ name: "SignerIsAlreadyApprovedException"
525
+ },
526
+ {
527
+ type: "error",
528
+ inputs: [{ name: "signer", internalType: "address", type: "address" }],
529
+ name: "SignerIsNotApprovedException"
530
+ },
531
+ {
532
+ type: "error",
533
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
534
+ name: "StringTooLong"
535
+ }
536
+ ];
537
+ // Annotate the CommonJS export names for ESM import in node:
538
+ 0 && (module.exports = {
539
+ crossChainMultisigAbi
540
+ });
@@ -16,8 +16,8 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var v310_exports = {};
20
- __export(v310_exports, {
19
+ var generated_exports = {};
20
+ __export(generated_exports, {
21
21
  iAddressProviderV310Abi: () => iAddressProviderV310Abi,
22
22
  iBotListV310Abi: () => iBotListV310Abi,
23
23
  iCreditConfiguratorV310Abi: () => iCreditConfiguratorV310Abi,
@@ -32,7 +32,7 @@ __export(v310_exports, {
32
32
  iPriceOracleV310Abi: () => iPriceOracleV310Abi,
33
33
  iTumblerV310Abi: () => iTumblerV310Abi
34
34
  });
35
- module.exports = __toCommonJS(v310_exports);
35
+ module.exports = __toCommonJS(generated_exports);
36
36
  const iAddressProviderV310Abi = [
37
37
  {
38
38
  type: "function",