@instadapp/interop-x 0.0.0-dev.ef78459 → 0.0.0-dev.ef7acff

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. package/.env.example +2 -1
  2. package/.github/workflows/ci.yml +19 -0
  3. package/bin/interop-x +1 -1
  4. package/dist/package.json +77 -0
  5. package/dist/src/abi/connectors/index.js +36 -0
  6. package/dist/src/abi/connectors/v1/aave.js +148 -0
  7. package/dist/src/abi/connectors/v1/aave_claim.js +4 -0
  8. package/dist/src/abi/connectors/v1/aave_migrate.js +109 -0
  9. package/dist/src/abi/connectors/v1/aave_polygon_migrate.js +110 -0
  10. package/dist/src/abi/connectors/v1/aave_stake.js +4 -0
  11. package/dist/src/abi/connectors/v1/aave_v1_import.js +54 -0
  12. package/dist/src/abi/connectors/v1/aave_v2.js +230 -0
  13. package/dist/src/abi/connectors/v1/aave_v2_import.js +59 -0
  14. package/dist/src/abi/connectors/v1/authority.js +100 -0
  15. package/dist/src/abi/connectors/v1/basic.js +136 -0
  16. package/dist/src/abi/connectors/v1/chi.js +36 -0
  17. package/dist/src/abi/connectors/v1/comp.js +4 -0
  18. package/dist/src/abi/connectors/v1/compound.js +4 -0
  19. package/dist/src/abi/connectors/v1/compoundImport.js +69 -0
  20. package/dist/src/abi/connectors/v1/compoundImport_v2.js +4 -0
  21. package/dist/src/abi/connectors/v1/compound_old.js +448 -0
  22. package/dist/src/abi/connectors/v1/curve.js +140 -0
  23. package/dist/src/abi/connectors/v1/curve_claim.js +63 -0
  24. package/dist/src/abi/connectors/v1/curve_gauge.js +158 -0
  25. package/dist/src/abi/connectors/v1/curve_sbtc.js +140 -0
  26. package/dist/src/abi/connectors/v1/curve_susd.js +140 -0
  27. package/dist/src/abi/connectors/v1/curve_three.js +79 -0
  28. package/dist/src/abi/connectors/v1/curve_y.js +140 -0
  29. package/dist/src/abi/connectors/v1/dsa_migrate_v1_to_v2.js +4 -0
  30. package/dist/src/abi/connectors/v1/dydx.js +148 -0
  31. package/dist/src/abi/connectors/v1/dydx_flash.js +52 -0
  32. package/dist/src/abi/connectors/v1/fee.js +50 -0
  33. package/dist/src/abi/connectors/v1/gelato.js +1138 -0
  34. package/dist/src/abi/connectors/v1/index.js +58 -0
  35. package/dist/src/abi/connectors/v1/instapool.js +439 -0
  36. package/dist/src/abi/connectors/v1/instapool_v2.js +126 -0
  37. package/dist/src/abi/connectors/v1/kyber.js +117 -0
  38. package/dist/src/abi/connectors/v1/maker.js +480 -0
  39. package/dist/src/abi/connectors/v1/maker_old.js +300 -0
  40. package/dist/src/abi/connectors/v1/math.js +43 -0
  41. package/dist/src/abi/connectors/v1/migrate.js +46 -0
  42. package/dist/src/abi/connectors/v1/oasis.js +198 -0
  43. package/dist/src/abi/connectors/v1/oneInch.js +160 -0
  44. package/dist/src/abi/connectors/v1/polygon_bridge.js +4 -0
  45. package/dist/src/abi/connectors/v1/refinance.js +4 -0
  46. package/dist/src/abi/connectors/v1/staking.js +220 -0
  47. package/dist/src/abi/connectors/v1/swerve.js +179 -0
  48. package/dist/src/abi/connectors/v1/uniswap.js +297 -0
  49. package/dist/src/abi/connectors/v2/1INCH-A.js +4 -0
  50. package/dist/src/abi/connectors/v2/1INCH-B.js +4 -0
  51. package/dist/src/abi/connectors/v2/AAVE-CLAIM-A.js +4 -0
  52. package/dist/src/abi/connectors/v2/AAVE-CLAIM-B.js +166 -0
  53. package/dist/src/abi/connectors/v2/AAVE-STAKE-A.js +4 -0
  54. package/dist/src/abi/connectors/v2/AAVE-V1-A.js +130 -0
  55. package/dist/src/abi/connectors/v2/AAVE-V1-IMPORT-A.js +4 -0
  56. package/dist/src/abi/connectors/v2/AAVE-V2-A.js +230 -0
  57. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-A.js +4 -0
  58. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-B.js +225 -0
  59. package/dist/src/abi/connectors/v2/AUTHORITY-A.js +100 -0
  60. package/dist/src/abi/connectors/v2/B-COMPOUND-A.js +4 -0
  61. package/dist/src/abi/connectors/v2/B-LIQUITY-A.js +4 -0
  62. package/dist/src/abi/connectors/v2/B-MAKERDAO-A.js +4 -0
  63. package/dist/src/abi/connectors/v2/BASIC-A.js +136 -0
  64. package/dist/src/abi/connectors/v2/BASIC-B.js +4 -0
  65. package/dist/src/abi/connectors/v2/BASIC-C.js +4 -0
  66. package/dist/src/abi/connectors/v2/COMP-A.js +4 -0
  67. package/dist/src/abi/connectors/v2/COMPOUND-A.js +4 -0
  68. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-A.js +4 -0
  69. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-B.js +195 -0
  70. package/dist/src/abi/connectors/v2/G-UNISWAP-A.js +4 -0
  71. package/dist/src/abi/connectors/v2/GELATO-AAVE-A.js +4 -0
  72. package/dist/src/abi/connectors/v2/INST-A.js +4 -0
  73. package/dist/src/abi/connectors/v2/INST-LM-A.js +4 -0
  74. package/dist/src/abi/connectors/v2/INST-STAKING-A.js +4 -0
  75. package/dist/src/abi/connectors/v2/INST-STAKING-B.js +4 -0
  76. package/dist/src/abi/connectors/v2/INSTAPOOL-A.js +4 -0
  77. package/dist/src/abi/connectors/v2/LIQUITY-A.js +4 -0
  78. package/dist/src/abi/connectors/v2/MAKERDAO-A.js +4 -0
  79. package/dist/src/abi/connectors/v2/MAKERDAO-CLAIM-A.js +136 -0
  80. package/dist/src/abi/connectors/v2/PARASWAP-A.js +4 -0
  81. package/dist/src/abi/connectors/v2/POLYGON-BRIDGE-A.js +4 -0
  82. package/dist/src/abi/connectors/v2/REFINANCE-A.js +4 -0
  83. package/dist/src/abi/connectors/v2/REFLEXER-A.js +4 -0
  84. package/dist/src/abi/connectors/v2/STAKE-ERC20-A.js +4 -0
  85. package/dist/src/abi/connectors/v2/UNISWAP-A.js +297 -0
  86. package/dist/src/abi/connectors/v2/UNISWAP-V2-A.js +4 -0
  87. package/dist/src/abi/connectors/v2/UNISWAP-V3-A.js +4 -0
  88. package/dist/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.js +4 -0
  89. package/dist/src/abi/connectors/v2/WETH-A.js +4 -0
  90. package/dist/src/abi/connectors/v2/YEARN-VAULT-A.js +4 -0
  91. package/dist/src/abi/connectors/v2/index.js +89 -0
  92. package/dist/src/abi/erc20.json +350 -0
  93. package/dist/src/abi/gnosisSafe.json +747 -0
  94. package/dist/src/abi/index.js +17 -0
  95. package/dist/src/abi/instList.json +232 -0
  96. package/dist/src/abi/interopX.json +1436 -0
  97. package/dist/src/alias.js +10 -0
  98. package/dist/src/api/index.js +43 -0
  99. package/dist/src/config/index.js +31 -0
  100. package/dist/src/constants/addresses.js +19 -0
  101. package/dist/src/constants/blockConfirmations.js +8 -0
  102. package/dist/{constants → src/constants}/index.js +2 -0
  103. package/dist/src/constants/tokens.js +130 -0
  104. package/dist/{db → src/db}/index.js +0 -0
  105. package/dist/{db → src/db}/models/index.js +1 -1
  106. package/dist/src/db/models/transaction.js +80 -0
  107. package/dist/{db → src/db}/sequelize.js +2 -1
  108. package/dist/src/errors/index.js +17 -0
  109. package/dist/src/gnosis/actions/aaveV2/index.js +11 -0
  110. package/dist/src/gnosis/actions/aaveV2/source.js +73 -0
  111. package/dist/src/gnosis/actions/aaveV2/target.js +86 -0
  112. package/dist/src/gnosis/actions/index.js +9 -0
  113. package/dist/src/gnosis/index.js +20 -0
  114. package/dist/src/index.js +119 -0
  115. package/dist/{logger → src/logger}/index.js +0 -0
  116. package/dist/{net → src/net}/index.js +0 -0
  117. package/dist/{net → src/net}/peer/index.js +8 -3
  118. package/dist/{net → src/net}/pool/index.js +32 -9
  119. package/dist/{net → src/net}/protocol/dial/BaseDialProtocol.js +0 -0
  120. package/dist/{net → src/net}/protocol/dial/SignatureDialProtocol.js +19 -12
  121. package/dist/src/net/protocol/dial/TransactionStatusDialProtocol.js +30 -0
  122. package/dist/{net → src/net}/protocol/index.js +54 -4
  123. package/dist/src/tasks/AutoUpdateTask.js +70 -0
  124. package/dist/{tasks → src/tasks}/BaseTask.js +13 -5
  125. package/dist/src/tasks/InteropX/ProcessSubmitEvents.js +192 -0
  126. package/dist/src/tasks/InteropX/ProcessValidateEvents.js +184 -0
  127. package/dist/src/tasks/InteropX/SyncLogExecuteEvents.js +112 -0
  128. package/dist/src/tasks/InteropX/SyncLogSubmitEvents.js +87 -0
  129. package/dist/src/tasks/InteropX/SyncLogValidateEvents.js +105 -0
  130. package/dist/src/tasks/Transactions/SyncTransactionStatusTask.js +58 -0
  131. package/dist/src/tasks/index.js +45 -0
  132. package/dist/src/typechain/Erc20.js +2 -0
  133. package/dist/src/typechain/GnosisSafe.js +2 -0
  134. package/dist/src/typechain/InstList.js +2 -0
  135. package/dist/src/typechain/InteropX.js +2 -0
  136. package/dist/src/typechain/common.js +2 -0
  137. package/dist/src/typechain/factories/Erc20__factory.js +367 -0
  138. package/dist/src/typechain/factories/GnosisSafe__factory.js +1174 -0
  139. package/dist/src/typechain/factories/InstList__factory.js +249 -0
  140. package/dist/src/typechain/factories/InteropX__factory.js +1928 -0
  141. package/dist/src/typechain/factories/index.js +14 -0
  142. package/dist/src/typechain/index.js +35 -0
  143. package/dist/{types.js → src/types.js} +0 -0
  144. package/dist/src/utils/async.js +18 -0
  145. package/dist/src/utils/dsa.js +24 -0
  146. package/dist/src/utils/formatting.js +17 -0
  147. package/dist/src/utils/gnosis.js +62 -0
  148. package/dist/src/utils/http.js +10 -0
  149. package/dist/src/utils/index.js +24 -0
  150. package/dist/src/utils/interop.js +16 -0
  151. package/dist/src/utils/validate.js +23 -0
  152. package/dist/src/utils/web3.js +92 -0
  153. package/package.json +32 -20
  154. package/patches/@ethersproject+properties+5.6.0.patch +13 -0
  155. package/src/abi/connectors/index.ts +14 -0
  156. package/src/abi/connectors/v1/aave.ts +147 -0
  157. package/src/abi/connectors/v1/aave_claim.ts +3 -0
  158. package/src/abi/connectors/v1/aave_migrate.ts +108 -0
  159. package/src/abi/connectors/v1/aave_polygon_migrate.ts +109 -0
  160. package/src/abi/connectors/v1/aave_stake.ts +3 -0
  161. package/src/abi/connectors/v1/aave_v1_import.ts +53 -0
  162. package/src/abi/connectors/v1/aave_v2.ts +229 -0
  163. package/src/abi/connectors/v1/aave_v2_import.ts +58 -0
  164. package/src/abi/connectors/v1/authority.ts +99 -0
  165. package/src/abi/connectors/v1/basic.ts +135 -0
  166. package/src/abi/connectors/v1/chi.ts +35 -0
  167. package/src/abi/connectors/v1/comp.ts +3 -0
  168. package/src/abi/connectors/v1/compound.ts +3 -0
  169. package/src/abi/connectors/v1/compoundImport.ts +68 -0
  170. package/src/abi/connectors/v1/compoundImport_v2.ts +3 -0
  171. package/src/abi/connectors/v1/compound_old.ts +447 -0
  172. package/src/abi/connectors/v1/curve.ts +139 -0
  173. package/src/abi/connectors/v1/curve_claim.ts +62 -0
  174. package/src/abi/connectors/v1/curve_gauge.ts +157 -0
  175. package/src/abi/connectors/v1/curve_sbtc.ts +139 -0
  176. package/src/abi/connectors/v1/curve_susd.ts +139 -0
  177. package/src/abi/connectors/v1/curve_three.ts +78 -0
  178. package/src/abi/connectors/v1/curve_y.ts +139 -0
  179. package/src/abi/connectors/v1/dsa_migrate_v1_to_v2.ts +3 -0
  180. package/src/abi/connectors/v1/dydx.ts +147 -0
  181. package/src/abi/connectors/v1/dydx_flash.ts +51 -0
  182. package/src/abi/connectors/v1/fee.ts +49 -0
  183. package/src/abi/connectors/v1/gelato.ts +1137 -0
  184. package/src/abi/connectors/v1/index.ts +42 -0
  185. package/src/abi/connectors/v1/instapool.ts +438 -0
  186. package/src/abi/connectors/v1/instapool_v2.ts +125 -0
  187. package/src/abi/connectors/v1/kyber.ts +116 -0
  188. package/src/abi/connectors/v1/maker.ts +479 -0
  189. package/src/abi/connectors/v1/maker_old.ts +299 -0
  190. package/src/abi/connectors/v1/math.ts +42 -0
  191. package/src/abi/connectors/v1/migrate.ts +45 -0
  192. package/src/abi/connectors/v1/oasis.ts +197 -0
  193. package/src/abi/connectors/v1/oneInch.ts +159 -0
  194. package/src/abi/connectors/v1/polygon_bridge.ts +3 -0
  195. package/src/abi/connectors/v1/refinance.ts +3 -0
  196. package/src/abi/connectors/v1/staking.ts +219 -0
  197. package/src/abi/connectors/v1/swerve.ts +178 -0
  198. package/src/abi/connectors/v1/uniswap.ts +297 -0
  199. package/src/abi/connectors/v2/1INCH-A.ts +3 -0
  200. package/src/abi/connectors/v2/1INCH-B.ts +3 -0
  201. package/src/abi/connectors/v2/AAVE-CLAIM-A.ts +3 -0
  202. package/src/abi/connectors/v2/AAVE-CLAIM-B.ts +165 -0
  203. package/src/abi/connectors/v2/AAVE-STAKE-A.ts +3 -0
  204. package/src/abi/connectors/v2/AAVE-V1-A.ts +130 -0
  205. package/src/abi/connectors/v2/AAVE-V1-IMPORT-A.ts +3 -0
  206. package/src/abi/connectors/v2/AAVE-V2-A.ts +229 -0
  207. package/src/abi/connectors/v2/AAVE-V2-IMPORT-A.ts +3 -0
  208. package/src/abi/connectors/v2/AAVE-V2-IMPORT-B.ts +224 -0
  209. package/src/abi/connectors/v2/AUTHORITY-A.ts +99 -0
  210. package/src/abi/connectors/v2/B-COMPOUND-A.ts +3 -0
  211. package/src/abi/connectors/v2/B-LIQUITY-A.ts +3 -0
  212. package/src/abi/connectors/v2/B-MAKERDAO-A.ts +3 -0
  213. package/src/abi/connectors/v2/BASIC-A.ts +135 -0
  214. package/src/abi/connectors/v2/BASIC-B.ts +3 -0
  215. package/src/abi/connectors/v2/BASIC-C.ts +3 -0
  216. package/src/abi/connectors/v2/COMP-A.ts +3 -0
  217. package/src/abi/connectors/v2/COMPOUND-A.ts +3 -0
  218. package/src/abi/connectors/v2/COMPOUND-IMPORT-A.ts +3 -0
  219. package/src/abi/connectors/v2/COMPOUND-IMPORT-B.ts +194 -0
  220. package/src/abi/connectors/v2/G-UNISWAP-A.ts +3 -0
  221. package/src/abi/connectors/v2/GELATO-AAVE-A.ts +3 -0
  222. package/src/abi/connectors/v2/INST-A.ts +3 -0
  223. package/src/abi/connectors/v2/INST-LM-A.ts +3 -0
  224. package/src/abi/connectors/v2/INST-STAKING-A.ts +3 -0
  225. package/src/abi/connectors/v2/INST-STAKING-B.ts +3 -0
  226. package/src/abi/connectors/v2/INSTAPOOL-A.ts +3 -0
  227. package/src/abi/connectors/v2/LIQUITY-A.ts +3 -0
  228. package/src/abi/connectors/v2/MAKERDAO-A.ts +3 -0
  229. package/src/abi/connectors/v2/MAKERDAO-CLAIM-A.ts +135 -0
  230. package/src/abi/connectors/v2/PARASWAP-A.ts +3 -0
  231. package/src/abi/connectors/v2/POLYGON-BRIDGE-A.ts +3 -0
  232. package/src/abi/connectors/v2/REFINANCE-A.ts +3 -0
  233. package/src/abi/connectors/v2/REFLEXER-A.ts +3 -0
  234. package/src/abi/connectors/v2/STAKE-ERC20-A.ts +3 -0
  235. package/src/abi/connectors/v2/UNISWAP-A.ts +297 -0
  236. package/src/abi/connectors/v2/UNISWAP-V2-A.ts +3 -0
  237. package/src/abi/connectors/v2/UNISWAP-V3-A.ts +3 -0
  238. package/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.ts +3 -0
  239. package/src/abi/connectors/v2/WETH-A.ts +3 -0
  240. package/src/abi/connectors/v2/YEARN-VAULT-A.ts +3 -0
  241. package/src/abi/connectors/v2/index.ts +87 -0
  242. package/src/abi/erc20.json +350 -0
  243. package/src/abi/gnosisSafe.json +747 -0
  244. package/src/abi/index.ts +13 -0
  245. package/src/abi/instList.json +232 -0
  246. package/src/abi/interopX.json +1436 -0
  247. package/src/alias.ts +6 -0
  248. package/src/api/index.ts +44 -0
  249. package/src/config/index.ts +17 -1
  250. package/src/constants/addresses.ts +12 -6
  251. package/src/constants/blockConfirmations.ts +5 -0
  252. package/src/constants/index.ts +2 -0
  253. package/src/constants/tokens.ts +127 -0
  254. package/src/db/models/index.ts +1 -1
  255. package/src/db/models/transaction.ts +190 -0
  256. package/src/db/sequelize.ts +2 -1
  257. package/src/errors/index.ts +13 -0
  258. package/src/gnosis/actions/aaveV2/index.ts +9 -0
  259. package/src/gnosis/actions/aaveV2/source.ts +118 -0
  260. package/src/gnosis/actions/aaveV2/target.ts +141 -0
  261. package/src/gnosis/actions/index.ts +5 -0
  262. package/src/gnosis/index.ts +19 -0
  263. package/src/index.ts +109 -8
  264. package/src/net/peer/index.ts +9 -7
  265. package/src/net/pool/index.ts +41 -11
  266. package/src/net/protocol/dial/SignatureDialProtocol.ts +23 -15
  267. package/src/net/protocol/dial/TransactionStatusDialProtocol.ts +33 -0
  268. package/src/net/protocol/index.ts +70 -4
  269. package/src/tasks/AutoUpdateTask.ts +82 -0
  270. package/src/tasks/BaseTask.ts +15 -6
  271. package/src/tasks/InteropX/ProcessSubmitEvents.ts +280 -0
  272. package/src/tasks/InteropX/ProcessValidateEvents.ts +272 -0
  273. package/src/tasks/InteropX/SyncLogExecuteEvents.ts +160 -0
  274. package/src/tasks/InteropX/SyncLogSubmitEvents.ts +137 -0
  275. package/src/tasks/InteropX/SyncLogValidateEvents.ts +150 -0
  276. package/src/tasks/Transactions/SyncTransactionStatusTask.ts +70 -0
  277. package/src/tasks/index.ts +32 -2
  278. package/src/typechain/Erc20.ts +491 -0
  279. package/src/typechain/GnosisSafe.ts +1728 -0
  280. package/src/typechain/InstList.ts +402 -0
  281. package/src/typechain/InteropX.ts +1216 -0
  282. package/src/typechain/common.ts +44 -0
  283. package/src/typechain/factories/Erc20__factory.ts +368 -0
  284. package/src/typechain/factories/GnosisSafe__factory.ts +1178 -0
  285. package/src/typechain/factories/InstList__factory.ts +253 -0
  286. package/src/typechain/factories/InteropX__factory.ts +1932 -0
  287. package/src/typechain/factories/index.ts +7 -0
  288. package/src/typechain/index.ts +12 -0
  289. package/src/types.ts +1 -1
  290. package/src/utils/async.ts +22 -0
  291. package/src/utils/dsa.ts +30 -0
  292. package/src/utils/formatting.ts +15 -0
  293. package/src/utils/gnosis.ts +123 -0
  294. package/src/utils/http.ts +6 -0
  295. package/src/utils/index.ts +8 -116
  296. package/src/utils/interop.ts +28 -0
  297. package/src/utils/validate.ts +24 -0
  298. package/src/utils/web3.ts +131 -0
  299. package/tsconfig.json +7 -2
  300. package/dist/config/index.js +0 -17
  301. package/dist/constants/addresses.js +0 -13
  302. package/dist/db/models/execution.js +0 -38
  303. package/dist/index.js +0 -43
  304. package/dist/tasks/index.js +0 -19
  305. package/dist/utils/index.js +0 -89
  306. package/src/db/models/execution.ts +0 -57
@@ -0,0 +1,1928 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InteropX__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint256",
13
+ name: "vnonce",
14
+ type: "uint256",
15
+ },
16
+ {
17
+ internalType: "uint256",
18
+ name: "sourceChainId",
19
+ type: "uint256",
20
+ },
21
+ {
22
+ internalType: "uint256",
23
+ name: "targetChainId",
24
+ type: "uint256",
25
+ },
26
+ ],
27
+ name: "ErrorSourceFailed",
28
+ type: "error",
29
+ },
30
+ {
31
+ inputs: [
32
+ {
33
+ internalType: "uint256",
34
+ name: "vnonce",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ internalType: "uint256",
39
+ name: "sourceChainId",
40
+ type: "uint256",
41
+ },
42
+ {
43
+ internalType: "uint256",
44
+ name: "targetChainId",
45
+ type: "uint256",
46
+ },
47
+ ],
48
+ name: "ErrorTargetFailed",
49
+ type: "error",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ components: [
56
+ {
57
+ internalType: "string",
58
+ name: "connector",
59
+ type: "string",
60
+ },
61
+ {
62
+ internalType: "bytes",
63
+ name: "data",
64
+ type: "bytes",
65
+ },
66
+ ],
67
+ indexed: false,
68
+ internalType: "struct Structs.Spell[]",
69
+ name: "sourceSpells",
70
+ type: "tuple[]",
71
+ },
72
+ {
73
+ components: [
74
+ {
75
+ internalType: "string",
76
+ name: "connector",
77
+ type: "string",
78
+ },
79
+ {
80
+ internalType: "bytes",
81
+ name: "data",
82
+ type: "bytes",
83
+ },
84
+ ],
85
+ indexed: false,
86
+ internalType: "struct Structs.Spell[]",
87
+ name: "targetSpells",
88
+ type: "tuple[]",
89
+ },
90
+ {
91
+ components: [
92
+ {
93
+ components: [
94
+ {
95
+ internalType: "address",
96
+ name: "sourceToken",
97
+ type: "address",
98
+ },
99
+ {
100
+ internalType: "address",
101
+ name: "targetToken",
102
+ type: "address",
103
+ },
104
+ {
105
+ internalType: "uint256",
106
+ name: "amount",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ internalType: "struct Structs.TokenInfo[]",
111
+ name: "supply",
112
+ type: "tuple[]",
113
+ },
114
+ {
115
+ components: [
116
+ {
117
+ internalType: "address",
118
+ name: "sourceToken",
119
+ type: "address",
120
+ },
121
+ {
122
+ internalType: "address",
123
+ name: "targetToken",
124
+ type: "address",
125
+ },
126
+ {
127
+ internalType: "uint256",
128
+ name: "amount",
129
+ type: "uint256",
130
+ },
131
+ ],
132
+ internalType: "struct Structs.TokenInfo[]",
133
+ name: "withdraw",
134
+ type: "tuple[]",
135
+ },
136
+ ],
137
+ indexed: false,
138
+ internalType: "struct Structs.Position",
139
+ name: "position",
140
+ type: "tuple",
141
+ },
142
+ {
143
+ indexed: false,
144
+ internalType: "string",
145
+ name: "actionId",
146
+ type: "string",
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "bytes32",
151
+ name: "actionIdHash",
152
+ type: "bytes32",
153
+ },
154
+ {
155
+ indexed: false,
156
+ internalType: "address",
157
+ name: "sourceSender",
158
+ type: "address",
159
+ },
160
+ {
161
+ indexed: false,
162
+ internalType: "uint256",
163
+ name: "sourceDsaId",
164
+ type: "uint256",
165
+ },
166
+ {
167
+ indexed: false,
168
+ internalType: "uint256",
169
+ name: "targetDsaId",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ indexed: false,
174
+ internalType: "uint256",
175
+ name: "sourceChainId",
176
+ type: "uint256",
177
+ },
178
+ {
179
+ indexed: false,
180
+ internalType: "uint256",
181
+ name: "targetChainId",
182
+ type: "uint256",
183
+ },
184
+ {
185
+ indexed: true,
186
+ internalType: "uint256",
187
+ name: "vnonce",
188
+ type: "uint256",
189
+ },
190
+ {
191
+ indexed: false,
192
+ internalType: "bytes",
193
+ name: "metadata",
194
+ type: "bytes",
195
+ },
196
+ ],
197
+ name: "LogExecute",
198
+ type: "event",
199
+ },
200
+ {
201
+ anonymous: false,
202
+ inputs: [
203
+ {
204
+ components: [
205
+ {
206
+ components: [
207
+ {
208
+ internalType: "address",
209
+ name: "sourceToken",
210
+ type: "address",
211
+ },
212
+ {
213
+ internalType: "address",
214
+ name: "targetToken",
215
+ type: "address",
216
+ },
217
+ {
218
+ internalType: "uint256",
219
+ name: "amount",
220
+ type: "uint256",
221
+ },
222
+ ],
223
+ internalType: "struct Structs.TokenInfo[]",
224
+ name: "supply",
225
+ type: "tuple[]",
226
+ },
227
+ {
228
+ components: [
229
+ {
230
+ internalType: "address",
231
+ name: "sourceToken",
232
+ type: "address",
233
+ },
234
+ {
235
+ internalType: "address",
236
+ name: "targetToken",
237
+ type: "address",
238
+ },
239
+ {
240
+ internalType: "uint256",
241
+ name: "amount",
242
+ type: "uint256",
243
+ },
244
+ ],
245
+ internalType: "struct Structs.TokenInfo[]",
246
+ name: "withdraw",
247
+ type: "tuple[]",
248
+ },
249
+ ],
250
+ indexed: false,
251
+ internalType: "struct Structs.Position",
252
+ name: "position",
253
+ type: "tuple",
254
+ },
255
+ {
256
+ indexed: false,
257
+ internalType: "string",
258
+ name: "systemActionId",
259
+ type: "string",
260
+ },
261
+ {
262
+ indexed: true,
263
+ internalType: "bytes32",
264
+ name: "systemActionIdHash",
265
+ type: "bytes32",
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "address",
270
+ name: "gnosisSafe",
271
+ type: "address",
272
+ },
273
+ {
274
+ indexed: true,
275
+ internalType: "address",
276
+ name: "sender",
277
+ type: "address",
278
+ },
279
+ {
280
+ indexed: true,
281
+ internalType: "uint256",
282
+ name: "vnonceSystem",
283
+ type: "uint256",
284
+ },
285
+ {
286
+ indexed: false,
287
+ internalType: "bytes",
288
+ name: "metadata",
289
+ type: "bytes",
290
+ },
291
+ ],
292
+ name: "LogRebalanceSystem",
293
+ type: "event",
294
+ },
295
+ {
296
+ anonymous: false,
297
+ inputs: [
298
+ {
299
+ components: [
300
+ {
301
+ components: [
302
+ {
303
+ internalType: "address",
304
+ name: "sourceToken",
305
+ type: "address",
306
+ },
307
+ {
308
+ internalType: "address",
309
+ name: "targetToken",
310
+ type: "address",
311
+ },
312
+ {
313
+ internalType: "uint256",
314
+ name: "amount",
315
+ type: "uint256",
316
+ },
317
+ ],
318
+ internalType: "struct Structs.TokenInfo[]",
319
+ name: "supply",
320
+ type: "tuple[]",
321
+ },
322
+ {
323
+ components: [
324
+ {
325
+ internalType: "address",
326
+ name: "sourceToken",
327
+ type: "address",
328
+ },
329
+ {
330
+ internalType: "address",
331
+ name: "targetToken",
332
+ type: "address",
333
+ },
334
+ {
335
+ internalType: "uint256",
336
+ name: "amount",
337
+ type: "uint256",
338
+ },
339
+ ],
340
+ internalType: "struct Structs.TokenInfo[]",
341
+ name: "withdraw",
342
+ type: "tuple[]",
343
+ },
344
+ ],
345
+ indexed: false,
346
+ internalType: "struct Structs.Position",
347
+ name: "position",
348
+ type: "tuple",
349
+ },
350
+ {
351
+ indexed: false,
352
+ internalType: "string",
353
+ name: "actionId",
354
+ type: "string",
355
+ },
356
+ {
357
+ indexed: true,
358
+ internalType: "bytes32",
359
+ name: "actionIdHashHash",
360
+ type: "bytes32",
361
+ },
362
+ {
363
+ indexed: false,
364
+ internalType: "address",
365
+ name: "sourceDsaSender",
366
+ type: "address",
367
+ },
368
+ {
369
+ indexed: false,
370
+ internalType: "uint256",
371
+ name: "sourceDsaId",
372
+ type: "uint256",
373
+ },
374
+ {
375
+ indexed: false,
376
+ internalType: "uint256",
377
+ name: "targetDsaId",
378
+ type: "uint256",
379
+ },
380
+ {
381
+ indexed: false,
382
+ internalType: "uint256",
383
+ name: "sourceChainId",
384
+ type: "uint256",
385
+ },
386
+ {
387
+ indexed: false,
388
+ internalType: "uint256",
389
+ name: "targetChainId",
390
+ type: "uint256",
391
+ },
392
+ {
393
+ indexed: true,
394
+ internalType: "uint256",
395
+ name: "vnonce",
396
+ type: "uint256",
397
+ },
398
+ {
399
+ indexed: false,
400
+ internalType: "bytes",
401
+ name: "metadata",
402
+ type: "bytes",
403
+ },
404
+ ],
405
+ name: "LogRevert",
406
+ type: "event",
407
+ },
408
+ {
409
+ anonymous: false,
410
+ inputs: [
411
+ {
412
+ components: [
413
+ {
414
+ internalType: "string",
415
+ name: "connector",
416
+ type: "string",
417
+ },
418
+ {
419
+ internalType: "bytes",
420
+ name: "data",
421
+ type: "bytes",
422
+ },
423
+ ],
424
+ indexed: false,
425
+ internalType: "struct Structs.Spell[]",
426
+ name: "sourceSpells",
427
+ type: "tuple[]",
428
+ },
429
+ {
430
+ components: [
431
+ {
432
+ internalType: "string",
433
+ name: "connector",
434
+ type: "string",
435
+ },
436
+ {
437
+ internalType: "bytes",
438
+ name: "data",
439
+ type: "bytes",
440
+ },
441
+ ],
442
+ indexed: false,
443
+ internalType: "struct Structs.Spell[]",
444
+ name: "sourceRevertSpells",
445
+ type: "tuple[]",
446
+ },
447
+ {
448
+ components: [
449
+ {
450
+ components: [
451
+ {
452
+ internalType: "address",
453
+ name: "sourceToken",
454
+ type: "address",
455
+ },
456
+ {
457
+ internalType: "address",
458
+ name: "targetToken",
459
+ type: "address",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "amount",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ internalType: "struct Structs.TokenInfo[]",
468
+ name: "supply",
469
+ type: "tuple[]",
470
+ },
471
+ {
472
+ components: [
473
+ {
474
+ internalType: "address",
475
+ name: "sourceToken",
476
+ type: "address",
477
+ },
478
+ {
479
+ internalType: "address",
480
+ name: "targetToken",
481
+ type: "address",
482
+ },
483
+ {
484
+ internalType: "uint256",
485
+ name: "amount",
486
+ type: "uint256",
487
+ },
488
+ ],
489
+ internalType: "struct Structs.TokenInfo[]",
490
+ name: "withdraw",
491
+ type: "tuple[]",
492
+ },
493
+ ],
494
+ indexed: false,
495
+ internalType: "struct Structs.Position",
496
+ name: "position",
497
+ type: "tuple",
498
+ },
499
+ {
500
+ indexed: false,
501
+ internalType: "string",
502
+ name: "actionId",
503
+ type: "string",
504
+ },
505
+ {
506
+ indexed: true,
507
+ internalType: "bytes32",
508
+ name: "actionIdHash",
509
+ type: "bytes32",
510
+ },
511
+ {
512
+ indexed: false,
513
+ internalType: "address",
514
+ name: "sourceDsaSender",
515
+ type: "address",
516
+ },
517
+ {
518
+ indexed: false,
519
+ internalType: "uint256",
520
+ name: "sourceDsaId",
521
+ type: "uint256",
522
+ },
523
+ {
524
+ indexed: false,
525
+ internalType: "uint256",
526
+ name: "targetDsaId",
527
+ type: "uint256",
528
+ },
529
+ {
530
+ indexed: false,
531
+ internalType: "uint256",
532
+ name: "sourceChainId",
533
+ type: "uint256",
534
+ },
535
+ {
536
+ indexed: false,
537
+ internalType: "uint256",
538
+ name: "targetChainId",
539
+ type: "uint256",
540
+ },
541
+ {
542
+ indexed: true,
543
+ internalType: "uint256",
544
+ name: "vnonce",
545
+ type: "uint256",
546
+ },
547
+ {
548
+ indexed: false,
549
+ internalType: "bytes",
550
+ name: "metadata",
551
+ type: "bytes",
552
+ },
553
+ ],
554
+ name: "LogSourceRevert",
555
+ type: "event",
556
+ },
557
+ {
558
+ anonymous: false,
559
+ inputs: [
560
+ {
561
+ components: [
562
+ {
563
+ components: [
564
+ {
565
+ internalType: "address",
566
+ name: "sourceToken",
567
+ type: "address",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "targetToken",
572
+ type: "address",
573
+ },
574
+ {
575
+ internalType: "uint256",
576
+ name: "amount",
577
+ type: "uint256",
578
+ },
579
+ ],
580
+ internalType: "struct Structs.TokenInfo[]",
581
+ name: "supply",
582
+ type: "tuple[]",
583
+ },
584
+ {
585
+ components: [
586
+ {
587
+ internalType: "address",
588
+ name: "sourceToken",
589
+ type: "address",
590
+ },
591
+ {
592
+ internalType: "address",
593
+ name: "targetToken",
594
+ type: "address",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "amount",
599
+ type: "uint256",
600
+ },
601
+ ],
602
+ internalType: "struct Structs.TokenInfo[]",
603
+ name: "withdraw",
604
+ type: "tuple[]",
605
+ },
606
+ ],
607
+ indexed: false,
608
+ internalType: "struct Structs.Position",
609
+ name: "position",
610
+ type: "tuple",
611
+ },
612
+ {
613
+ indexed: false,
614
+ internalType: "string",
615
+ name: "actionId",
616
+ type: "string",
617
+ },
618
+ {
619
+ indexed: true,
620
+ internalType: "bytes32",
621
+ name: "actionIdHashHash",
622
+ type: "bytes32",
623
+ },
624
+ {
625
+ indexed: false,
626
+ internalType: "address",
627
+ name: "sourceSender",
628
+ type: "address",
629
+ },
630
+ {
631
+ indexed: false,
632
+ internalType: "uint256",
633
+ name: "sourceDsaId",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ indexed: false,
638
+ internalType: "uint256",
639
+ name: "targetDsaId",
640
+ type: "uint256",
641
+ },
642
+ {
643
+ indexed: false,
644
+ internalType: "uint256",
645
+ name: "sourceChainId",
646
+ type: "uint256",
647
+ },
648
+ {
649
+ indexed: false,
650
+ internalType: "uint256",
651
+ name: "targetChainId",
652
+ type: "uint256",
653
+ },
654
+ {
655
+ indexed: true,
656
+ internalType: "uint256",
657
+ name: "vnonce",
658
+ type: "uint256",
659
+ },
660
+ {
661
+ indexed: false,
662
+ internalType: "bytes",
663
+ name: "metadata",
664
+ type: "bytes",
665
+ },
666
+ ],
667
+ name: "LogSubmit",
668
+ type: "event",
669
+ },
670
+ {
671
+ anonymous: false,
672
+ inputs: [
673
+ {
674
+ components: [
675
+ {
676
+ components: [
677
+ {
678
+ internalType: "address",
679
+ name: "sourceToken",
680
+ type: "address",
681
+ },
682
+ {
683
+ internalType: "address",
684
+ name: "targetToken",
685
+ type: "address",
686
+ },
687
+ {
688
+ internalType: "uint256",
689
+ name: "amount",
690
+ type: "uint256",
691
+ },
692
+ ],
693
+ internalType: "struct Structs.TokenInfo[]",
694
+ name: "supply",
695
+ type: "tuple[]",
696
+ },
697
+ {
698
+ components: [
699
+ {
700
+ internalType: "address",
701
+ name: "sourceToken",
702
+ type: "address",
703
+ },
704
+ {
705
+ internalType: "address",
706
+ name: "targetToken",
707
+ type: "address",
708
+ },
709
+ {
710
+ internalType: "uint256",
711
+ name: "amount",
712
+ type: "uint256",
713
+ },
714
+ ],
715
+ internalType: "struct Structs.TokenInfo[]",
716
+ name: "withdraw",
717
+ type: "tuple[]",
718
+ },
719
+ ],
720
+ indexed: false,
721
+ internalType: "struct Structs.Position",
722
+ name: "position",
723
+ type: "tuple",
724
+ },
725
+ {
726
+ indexed: false,
727
+ internalType: "string",
728
+ name: "systemActionId",
729
+ type: "string",
730
+ },
731
+ {
732
+ indexed: true,
733
+ internalType: "bytes32",
734
+ name: "systemActionIdHash",
735
+ type: "bytes32",
736
+ },
737
+ {
738
+ indexed: false,
739
+ internalType: "address",
740
+ name: "gnosisSafe",
741
+ type: "address",
742
+ },
743
+ {
744
+ indexed: true,
745
+ internalType: "address",
746
+ name: "sender",
747
+ type: "address",
748
+ },
749
+ {
750
+ indexed: true,
751
+ internalType: "uint256",
752
+ name: "vnonceSystem",
753
+ type: "uint256",
754
+ },
755
+ {
756
+ indexed: false,
757
+ internalType: "bytes",
758
+ name: "metadata",
759
+ type: "bytes",
760
+ },
761
+ ],
762
+ name: "LogSubmitSystem",
763
+ type: "event",
764
+ },
765
+ {
766
+ anonymous: false,
767
+ inputs: [
768
+ {
769
+ components: [
770
+ {
771
+ internalType: "string",
772
+ name: "connector",
773
+ type: "string",
774
+ },
775
+ {
776
+ internalType: "bytes",
777
+ name: "data",
778
+ type: "bytes",
779
+ },
780
+ ],
781
+ indexed: false,
782
+ internalType: "struct Structs.Spell[]",
783
+ name: "sourceSpells",
784
+ type: "tuple[]",
785
+ },
786
+ {
787
+ components: [
788
+ {
789
+ components: [
790
+ {
791
+ internalType: "address",
792
+ name: "sourceToken",
793
+ type: "address",
794
+ },
795
+ {
796
+ internalType: "address",
797
+ name: "targetToken",
798
+ type: "address",
799
+ },
800
+ {
801
+ internalType: "uint256",
802
+ name: "amount",
803
+ type: "uint256",
804
+ },
805
+ ],
806
+ internalType: "struct Structs.TokenInfo[]",
807
+ name: "supply",
808
+ type: "tuple[]",
809
+ },
810
+ {
811
+ components: [
812
+ {
813
+ internalType: "address",
814
+ name: "sourceToken",
815
+ type: "address",
816
+ },
817
+ {
818
+ internalType: "address",
819
+ name: "targetToken",
820
+ type: "address",
821
+ },
822
+ {
823
+ internalType: "uint256",
824
+ name: "amount",
825
+ type: "uint256",
826
+ },
827
+ ],
828
+ internalType: "struct Structs.TokenInfo[]",
829
+ name: "withdraw",
830
+ type: "tuple[]",
831
+ },
832
+ ],
833
+ indexed: false,
834
+ internalType: "struct Structs.Position",
835
+ name: "position",
836
+ type: "tuple",
837
+ },
838
+ {
839
+ indexed: false,
840
+ internalType: "string",
841
+ name: "actionId",
842
+ type: "string",
843
+ },
844
+ {
845
+ indexed: true,
846
+ internalType: "bytes32",
847
+ name: "actionIdHash",
848
+ type: "bytes32",
849
+ },
850
+ {
851
+ indexed: false,
852
+ internalType: "address",
853
+ name: "sourceDsaSender",
854
+ type: "address",
855
+ },
856
+ {
857
+ indexed: false,
858
+ internalType: "uint256",
859
+ name: "sourceDsaId",
860
+ type: "uint256",
861
+ },
862
+ {
863
+ indexed: false,
864
+ internalType: "uint256",
865
+ name: "targetDsaId",
866
+ type: "uint256",
867
+ },
868
+ {
869
+ indexed: false,
870
+ internalType: "uint256",
871
+ name: "sourceChainId",
872
+ type: "uint256",
873
+ },
874
+ {
875
+ indexed: false,
876
+ internalType: "uint256",
877
+ name: "targetChainId",
878
+ type: "uint256",
879
+ },
880
+ {
881
+ indexed: true,
882
+ internalType: "uint256",
883
+ name: "vnonce",
884
+ type: "uint256",
885
+ },
886
+ {
887
+ indexed: false,
888
+ internalType: "bytes",
889
+ name: "metadata",
890
+ type: "bytes",
891
+ },
892
+ ],
893
+ name: "LogTargetRevert",
894
+ type: "event",
895
+ },
896
+ {
897
+ anonymous: false,
898
+ inputs: [
899
+ {
900
+ components: [
901
+ {
902
+ internalType: "string",
903
+ name: "connector",
904
+ type: "string",
905
+ },
906
+ {
907
+ internalType: "bytes",
908
+ name: "data",
909
+ type: "bytes",
910
+ },
911
+ ],
912
+ indexed: false,
913
+ internalType: "struct Structs.Spell[]",
914
+ name: "sourceSpells",
915
+ type: "tuple[]",
916
+ },
917
+ {
918
+ components: [
919
+ {
920
+ components: [
921
+ {
922
+ internalType: "address",
923
+ name: "sourceToken",
924
+ type: "address",
925
+ },
926
+ {
927
+ internalType: "address",
928
+ name: "targetToken",
929
+ type: "address",
930
+ },
931
+ {
932
+ internalType: "uint256",
933
+ name: "amount",
934
+ type: "uint256",
935
+ },
936
+ ],
937
+ internalType: "struct Structs.TokenInfo[]",
938
+ name: "supply",
939
+ type: "tuple[]",
940
+ },
941
+ {
942
+ components: [
943
+ {
944
+ internalType: "address",
945
+ name: "sourceToken",
946
+ type: "address",
947
+ },
948
+ {
949
+ internalType: "address",
950
+ name: "targetToken",
951
+ type: "address",
952
+ },
953
+ {
954
+ internalType: "uint256",
955
+ name: "amount",
956
+ type: "uint256",
957
+ },
958
+ ],
959
+ internalType: "struct Structs.TokenInfo[]",
960
+ name: "withdraw",
961
+ type: "tuple[]",
962
+ },
963
+ ],
964
+ indexed: false,
965
+ internalType: "struct Structs.Position",
966
+ name: "position",
967
+ type: "tuple",
968
+ },
969
+ {
970
+ indexed: false,
971
+ internalType: "string",
972
+ name: "actionId",
973
+ type: "string",
974
+ },
975
+ {
976
+ indexed: true,
977
+ internalType: "bytes32",
978
+ name: "actionIdHash",
979
+ type: "bytes32",
980
+ },
981
+ {
982
+ indexed: false,
983
+ internalType: "address",
984
+ name: "sourceSender",
985
+ type: "address",
986
+ },
987
+ {
988
+ indexed: false,
989
+ internalType: "uint256",
990
+ name: "sourceDsaId",
991
+ type: "uint256",
992
+ },
993
+ {
994
+ indexed: false,
995
+ internalType: "uint256",
996
+ name: "targetDsaId",
997
+ type: "uint256",
998
+ },
999
+ {
1000
+ indexed: false,
1001
+ internalType: "uint256",
1002
+ name: "sourceChainId",
1003
+ type: "uint256",
1004
+ },
1005
+ {
1006
+ indexed: false,
1007
+ internalType: "uint256",
1008
+ name: "targetChainId",
1009
+ type: "uint256",
1010
+ },
1011
+ {
1012
+ indexed: true,
1013
+ internalType: "uint256",
1014
+ name: "vnonce",
1015
+ type: "uint256",
1016
+ },
1017
+ {
1018
+ indexed: false,
1019
+ internalType: "bytes",
1020
+ name: "metadata",
1021
+ type: "bytes",
1022
+ },
1023
+ ],
1024
+ name: "LogValidate",
1025
+ type: "event",
1026
+ },
1027
+ {
1028
+ inputs: [
1029
+ {
1030
+ components: [
1031
+ {
1032
+ internalType: "string",
1033
+ name: "connector",
1034
+ type: "string",
1035
+ },
1036
+ {
1037
+ internalType: "bytes",
1038
+ name: "data",
1039
+ type: "bytes",
1040
+ },
1041
+ ],
1042
+ internalType: "struct Structs.Spell[]",
1043
+ name: "sourceSpells",
1044
+ type: "tuple[]",
1045
+ },
1046
+ {
1047
+ components: [
1048
+ {
1049
+ internalType: "string",
1050
+ name: "connector",
1051
+ type: "string",
1052
+ },
1053
+ {
1054
+ internalType: "bytes",
1055
+ name: "data",
1056
+ type: "bytes",
1057
+ },
1058
+ ],
1059
+ internalType: "struct Structs.Spell[]",
1060
+ name: "commonSpells",
1061
+ type: "tuple[]",
1062
+ },
1063
+ {
1064
+ components: [
1065
+ {
1066
+ components: [
1067
+ {
1068
+ internalType: "address",
1069
+ name: "sourceToken",
1070
+ type: "address",
1071
+ },
1072
+ {
1073
+ internalType: "address",
1074
+ name: "targetToken",
1075
+ type: "address",
1076
+ },
1077
+ {
1078
+ internalType: "uint256",
1079
+ name: "amount",
1080
+ type: "uint256",
1081
+ },
1082
+ ],
1083
+ internalType: "struct Structs.TokenInfo[]",
1084
+ name: "supply",
1085
+ type: "tuple[]",
1086
+ },
1087
+ {
1088
+ components: [
1089
+ {
1090
+ internalType: "address",
1091
+ name: "sourceToken",
1092
+ type: "address",
1093
+ },
1094
+ {
1095
+ internalType: "address",
1096
+ name: "targetToken",
1097
+ type: "address",
1098
+ },
1099
+ {
1100
+ internalType: "uint256",
1101
+ name: "amount",
1102
+ type: "uint256",
1103
+ },
1104
+ ],
1105
+ internalType: "struct Structs.TokenInfo[]",
1106
+ name: "withdraw",
1107
+ type: "tuple[]",
1108
+ },
1109
+ ],
1110
+ internalType: "struct Structs.Position",
1111
+ name: "position",
1112
+ type: "tuple",
1113
+ },
1114
+ {
1115
+ internalType: "string",
1116
+ name: "actionId",
1117
+ type: "string",
1118
+ },
1119
+ {
1120
+ internalType: "address",
1121
+ name: "sourceSender",
1122
+ type: "address",
1123
+ },
1124
+ {
1125
+ internalType: "uint64",
1126
+ name: "sourceDsaId",
1127
+ type: "uint64",
1128
+ },
1129
+ {
1130
+ internalType: "uint64",
1131
+ name: "targetDsaId",
1132
+ type: "uint64",
1133
+ },
1134
+ {
1135
+ internalType: "uint256",
1136
+ name: "sourceChainId",
1137
+ type: "uint256",
1138
+ },
1139
+ {
1140
+ internalType: "uint256",
1141
+ name: "targetChainId",
1142
+ type: "uint256",
1143
+ },
1144
+ {
1145
+ internalType: "uint256",
1146
+ name: "_vnonce",
1147
+ type: "uint256",
1148
+ },
1149
+ {
1150
+ internalType: "bytes",
1151
+ name: "metadata",
1152
+ type: "bytes",
1153
+ },
1154
+ ],
1155
+ name: "sourceAction",
1156
+ outputs: [],
1157
+ stateMutability: "nonpayable",
1158
+ type: "function",
1159
+ },
1160
+ {
1161
+ inputs: [
1162
+ {
1163
+ components: [
1164
+ {
1165
+ internalType: "string",
1166
+ name: "connector",
1167
+ type: "string",
1168
+ },
1169
+ {
1170
+ internalType: "bytes",
1171
+ name: "data",
1172
+ type: "bytes",
1173
+ },
1174
+ ],
1175
+ internalType: "struct Structs.Spell[]",
1176
+ name: "sourceSpells",
1177
+ type: "tuple[]",
1178
+ },
1179
+ {
1180
+ components: [
1181
+ {
1182
+ internalType: "string",
1183
+ name: "connector",
1184
+ type: "string",
1185
+ },
1186
+ {
1187
+ internalType: "bytes",
1188
+ name: "data",
1189
+ type: "bytes",
1190
+ },
1191
+ ],
1192
+ internalType: "struct Structs.Spell[]",
1193
+ name: "sourceRevertSpells",
1194
+ type: "tuple[]",
1195
+ },
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: "string",
1200
+ name: "connector",
1201
+ type: "string",
1202
+ },
1203
+ {
1204
+ internalType: "bytes",
1205
+ name: "data",
1206
+ type: "bytes",
1207
+ },
1208
+ ],
1209
+ internalType: "struct Structs.Spell[]",
1210
+ name: "commonSpells",
1211
+ type: "tuple[]",
1212
+ },
1213
+ {
1214
+ components: [
1215
+ {
1216
+ components: [
1217
+ {
1218
+ internalType: "address",
1219
+ name: "sourceToken",
1220
+ type: "address",
1221
+ },
1222
+ {
1223
+ internalType: "address",
1224
+ name: "targetToken",
1225
+ type: "address",
1226
+ },
1227
+ {
1228
+ internalType: "uint256",
1229
+ name: "amount",
1230
+ type: "uint256",
1231
+ },
1232
+ ],
1233
+ internalType: "struct Structs.TokenInfo[]",
1234
+ name: "supply",
1235
+ type: "tuple[]",
1236
+ },
1237
+ {
1238
+ components: [
1239
+ {
1240
+ internalType: "address",
1241
+ name: "sourceToken",
1242
+ type: "address",
1243
+ },
1244
+ {
1245
+ internalType: "address",
1246
+ name: "targetToken",
1247
+ type: "address",
1248
+ },
1249
+ {
1250
+ internalType: "uint256",
1251
+ name: "amount",
1252
+ type: "uint256",
1253
+ },
1254
+ ],
1255
+ internalType: "struct Structs.TokenInfo[]",
1256
+ name: "withdraw",
1257
+ type: "tuple[]",
1258
+ },
1259
+ ],
1260
+ internalType: "struct Structs.Position",
1261
+ name: "position",
1262
+ type: "tuple",
1263
+ },
1264
+ {
1265
+ internalType: "string",
1266
+ name: "actionId",
1267
+ type: "string",
1268
+ },
1269
+ {
1270
+ internalType: "address",
1271
+ name: "sourceSender",
1272
+ type: "address",
1273
+ },
1274
+ {
1275
+ internalType: "uint64",
1276
+ name: "sourceDsaId",
1277
+ type: "uint64",
1278
+ },
1279
+ {
1280
+ internalType: "uint64",
1281
+ name: "targetDsaId",
1282
+ type: "uint64",
1283
+ },
1284
+ {
1285
+ internalType: "uint256",
1286
+ name: "sourceChainId",
1287
+ type: "uint256",
1288
+ },
1289
+ {
1290
+ internalType: "uint256",
1291
+ name: "targetChainId",
1292
+ type: "uint256",
1293
+ },
1294
+ {
1295
+ internalType: "uint256",
1296
+ name: "_vnonce",
1297
+ type: "uint256",
1298
+ },
1299
+ {
1300
+ internalType: "bytes",
1301
+ name: "metadata",
1302
+ type: "bytes",
1303
+ },
1304
+ ],
1305
+ name: "sourceRevertAction",
1306
+ outputs: [],
1307
+ stateMutability: "nonpayable",
1308
+ type: "function",
1309
+ },
1310
+ {
1311
+ inputs: [
1312
+ {
1313
+ components: [
1314
+ {
1315
+ internalType: "string",
1316
+ name: "connector",
1317
+ type: "string",
1318
+ },
1319
+ {
1320
+ internalType: "bytes",
1321
+ name: "data",
1322
+ type: "bytes",
1323
+ },
1324
+ ],
1325
+ internalType: "struct Structs.Spell[]",
1326
+ name: "commonSpells",
1327
+ type: "tuple[]",
1328
+ },
1329
+ {
1330
+ internalType: "string",
1331
+ name: "systemActionId",
1332
+ type: "string",
1333
+ },
1334
+ {
1335
+ components: [
1336
+ {
1337
+ components: [
1338
+ {
1339
+ internalType: "address",
1340
+ name: "sourceToken",
1341
+ type: "address",
1342
+ },
1343
+ {
1344
+ internalType: "address",
1345
+ name: "targetToken",
1346
+ type: "address",
1347
+ },
1348
+ {
1349
+ internalType: "uint256",
1350
+ name: "amount",
1351
+ type: "uint256",
1352
+ },
1353
+ ],
1354
+ internalType: "struct Structs.TokenInfo[]",
1355
+ name: "supply",
1356
+ type: "tuple[]",
1357
+ },
1358
+ {
1359
+ components: [
1360
+ {
1361
+ internalType: "address",
1362
+ name: "sourceToken",
1363
+ type: "address",
1364
+ },
1365
+ {
1366
+ internalType: "address",
1367
+ name: "targetToken",
1368
+ type: "address",
1369
+ },
1370
+ {
1371
+ internalType: "uint256",
1372
+ name: "amount",
1373
+ type: "uint256",
1374
+ },
1375
+ ],
1376
+ internalType: "struct Structs.TokenInfo[]",
1377
+ name: "withdraw",
1378
+ type: "tuple[]",
1379
+ },
1380
+ ],
1381
+ internalType: "struct Structs.Position",
1382
+ name: "position",
1383
+ type: "tuple",
1384
+ },
1385
+ {
1386
+ internalType: "uint256",
1387
+ name: "_vnonce",
1388
+ type: "uint256",
1389
+ },
1390
+ {
1391
+ internalType: "bytes",
1392
+ name: "metadata",
1393
+ type: "bytes",
1394
+ },
1395
+ ],
1396
+ name: "sourceSystemAction",
1397
+ outputs: [],
1398
+ stateMutability: "nonpayable",
1399
+ type: "function",
1400
+ },
1401
+ {
1402
+ inputs: [
1403
+ {
1404
+ components: [
1405
+ {
1406
+ components: [
1407
+ {
1408
+ internalType: "address",
1409
+ name: "sourceToken",
1410
+ type: "address",
1411
+ },
1412
+ {
1413
+ internalType: "address",
1414
+ name: "targetToken",
1415
+ type: "address",
1416
+ },
1417
+ {
1418
+ internalType: "uint256",
1419
+ name: "amount",
1420
+ type: "uint256",
1421
+ },
1422
+ ],
1423
+ internalType: "struct Structs.TokenInfo[]",
1424
+ name: "supply",
1425
+ type: "tuple[]",
1426
+ },
1427
+ {
1428
+ components: [
1429
+ {
1430
+ internalType: "address",
1431
+ name: "sourceToken",
1432
+ type: "address",
1433
+ },
1434
+ {
1435
+ internalType: "address",
1436
+ name: "targetToken",
1437
+ type: "address",
1438
+ },
1439
+ {
1440
+ internalType: "uint256",
1441
+ name: "amount",
1442
+ type: "uint256",
1443
+ },
1444
+ ],
1445
+ internalType: "struct Structs.TokenInfo[]",
1446
+ name: "withdraw",
1447
+ type: "tuple[]",
1448
+ },
1449
+ ],
1450
+ internalType: "struct Structs.Position",
1451
+ name: "position",
1452
+ type: "tuple",
1453
+ },
1454
+ {
1455
+ internalType: "address",
1456
+ name: "sourceSender",
1457
+ type: "address",
1458
+ },
1459
+ {
1460
+ internalType: "string",
1461
+ name: "actionId",
1462
+ type: "string",
1463
+ },
1464
+ {
1465
+ internalType: "uint64",
1466
+ name: "targetDsaId",
1467
+ type: "uint64",
1468
+ },
1469
+ {
1470
+ internalType: "uint256",
1471
+ name: "targetChainId",
1472
+ type: "uint256",
1473
+ },
1474
+ {
1475
+ internalType: "bytes",
1476
+ name: "metadata",
1477
+ type: "bytes",
1478
+ },
1479
+ ],
1480
+ name: "submitAction",
1481
+ outputs: [],
1482
+ stateMutability: "nonpayable",
1483
+ type: "function",
1484
+ },
1485
+ {
1486
+ inputs: [
1487
+ {
1488
+ components: [
1489
+ {
1490
+ components: [
1491
+ {
1492
+ internalType: "address",
1493
+ name: "sourceToken",
1494
+ type: "address",
1495
+ },
1496
+ {
1497
+ internalType: "address",
1498
+ name: "targetToken",
1499
+ type: "address",
1500
+ },
1501
+ {
1502
+ internalType: "uint256",
1503
+ name: "amount",
1504
+ type: "uint256",
1505
+ },
1506
+ ],
1507
+ internalType: "struct Structs.TokenInfo[]",
1508
+ name: "supply",
1509
+ type: "tuple[]",
1510
+ },
1511
+ {
1512
+ components: [
1513
+ {
1514
+ internalType: "address",
1515
+ name: "sourceToken",
1516
+ type: "address",
1517
+ },
1518
+ {
1519
+ internalType: "address",
1520
+ name: "targetToken",
1521
+ type: "address",
1522
+ },
1523
+ {
1524
+ internalType: "uint256",
1525
+ name: "amount",
1526
+ type: "uint256",
1527
+ },
1528
+ ],
1529
+ internalType: "struct Structs.TokenInfo[]",
1530
+ name: "withdraw",
1531
+ type: "tuple[]",
1532
+ },
1533
+ ],
1534
+ internalType: "struct Structs.Position",
1535
+ name: "position",
1536
+ type: "tuple",
1537
+ },
1538
+ {
1539
+ internalType: "address",
1540
+ name: "sourceDsaSender",
1541
+ type: "address",
1542
+ },
1543
+ {
1544
+ internalType: "string",
1545
+ name: "actionId",
1546
+ type: "string",
1547
+ },
1548
+ {
1549
+ internalType: "uint64",
1550
+ name: "sourceDsaId",
1551
+ type: "uint64",
1552
+ },
1553
+ {
1554
+ internalType: "uint64",
1555
+ name: "targetDsaId",
1556
+ type: "uint64",
1557
+ },
1558
+ {
1559
+ internalType: "uint256",
1560
+ name: "targetChainId",
1561
+ type: "uint256",
1562
+ },
1563
+ {
1564
+ internalType: "uint256",
1565
+ name: "_vnonce",
1566
+ type: "uint256",
1567
+ },
1568
+ {
1569
+ internalType: "bytes",
1570
+ name: "metadata",
1571
+ type: "bytes",
1572
+ },
1573
+ ],
1574
+ name: "submitRevertAction",
1575
+ outputs: [],
1576
+ stateMutability: "nonpayable",
1577
+ type: "function",
1578
+ },
1579
+ {
1580
+ inputs: [
1581
+ {
1582
+ internalType: "string",
1583
+ name: "systemActionId",
1584
+ type: "string",
1585
+ },
1586
+ {
1587
+ components: [
1588
+ {
1589
+ components: [
1590
+ {
1591
+ internalType: "address",
1592
+ name: "sourceToken",
1593
+ type: "address",
1594
+ },
1595
+ {
1596
+ internalType: "address",
1597
+ name: "targetToken",
1598
+ type: "address",
1599
+ },
1600
+ {
1601
+ internalType: "uint256",
1602
+ name: "amount",
1603
+ type: "uint256",
1604
+ },
1605
+ ],
1606
+ internalType: "struct Structs.TokenInfo[]",
1607
+ name: "supply",
1608
+ type: "tuple[]",
1609
+ },
1610
+ {
1611
+ components: [
1612
+ {
1613
+ internalType: "address",
1614
+ name: "sourceToken",
1615
+ type: "address",
1616
+ },
1617
+ {
1618
+ internalType: "address",
1619
+ name: "targetToken",
1620
+ type: "address",
1621
+ },
1622
+ {
1623
+ internalType: "uint256",
1624
+ name: "amount",
1625
+ type: "uint256",
1626
+ },
1627
+ ],
1628
+ internalType: "struct Structs.TokenInfo[]",
1629
+ name: "withdraw",
1630
+ type: "tuple[]",
1631
+ },
1632
+ ],
1633
+ internalType: "struct Structs.Position",
1634
+ name: "position",
1635
+ type: "tuple",
1636
+ },
1637
+ {
1638
+ internalType: "bytes",
1639
+ name: "metadata",
1640
+ type: "bytes",
1641
+ },
1642
+ ],
1643
+ name: "submitSystemAction",
1644
+ outputs: [],
1645
+ stateMutability: "nonpayable",
1646
+ type: "function",
1647
+ },
1648
+ {
1649
+ inputs: [
1650
+ {
1651
+ components: [
1652
+ {
1653
+ internalType: "string",
1654
+ name: "connector",
1655
+ type: "string",
1656
+ },
1657
+ {
1658
+ internalType: "bytes",
1659
+ name: "data",
1660
+ type: "bytes",
1661
+ },
1662
+ ],
1663
+ internalType: "struct Structs.Spell[]",
1664
+ name: "sourceSpells",
1665
+ type: "tuple[]",
1666
+ },
1667
+ {
1668
+ components: [
1669
+ {
1670
+ internalType: "string",
1671
+ name: "connector",
1672
+ type: "string",
1673
+ },
1674
+ {
1675
+ internalType: "bytes",
1676
+ name: "data",
1677
+ type: "bytes",
1678
+ },
1679
+ ],
1680
+ internalType: "struct Structs.Spell[]",
1681
+ name: "targetSpells",
1682
+ type: "tuple[]",
1683
+ },
1684
+ {
1685
+ components: [
1686
+ {
1687
+ internalType: "string",
1688
+ name: "connector",
1689
+ type: "string",
1690
+ },
1691
+ {
1692
+ internalType: "bytes",
1693
+ name: "data",
1694
+ type: "bytes",
1695
+ },
1696
+ ],
1697
+ internalType: "struct Structs.Spell[]",
1698
+ name: "commonSpells",
1699
+ type: "tuple[]",
1700
+ },
1701
+ {
1702
+ components: [
1703
+ {
1704
+ components: [
1705
+ {
1706
+ internalType: "address",
1707
+ name: "sourceToken",
1708
+ type: "address",
1709
+ },
1710
+ {
1711
+ internalType: "address",
1712
+ name: "targetToken",
1713
+ type: "address",
1714
+ },
1715
+ {
1716
+ internalType: "uint256",
1717
+ name: "amount",
1718
+ type: "uint256",
1719
+ },
1720
+ ],
1721
+ internalType: "struct Structs.TokenInfo[]",
1722
+ name: "supply",
1723
+ type: "tuple[]",
1724
+ },
1725
+ {
1726
+ components: [
1727
+ {
1728
+ internalType: "address",
1729
+ name: "sourceToken",
1730
+ type: "address",
1731
+ },
1732
+ {
1733
+ internalType: "address",
1734
+ name: "targetToken",
1735
+ type: "address",
1736
+ },
1737
+ {
1738
+ internalType: "uint256",
1739
+ name: "amount",
1740
+ type: "uint256",
1741
+ },
1742
+ ],
1743
+ internalType: "struct Structs.TokenInfo[]",
1744
+ name: "withdraw",
1745
+ type: "tuple[]",
1746
+ },
1747
+ ],
1748
+ internalType: "struct Structs.Position",
1749
+ name: "position",
1750
+ type: "tuple",
1751
+ },
1752
+ {
1753
+ internalType: "string",
1754
+ name: "actionId",
1755
+ type: "string",
1756
+ },
1757
+ {
1758
+ internalType: "address",
1759
+ name: "sourceSender",
1760
+ type: "address",
1761
+ },
1762
+ {
1763
+ internalType: "uint64",
1764
+ name: "sourceDsaId",
1765
+ type: "uint64",
1766
+ },
1767
+ {
1768
+ internalType: "uint64",
1769
+ name: "targetDsaId",
1770
+ type: "uint64",
1771
+ },
1772
+ {
1773
+ internalType: "uint256",
1774
+ name: "sourceChainId",
1775
+ type: "uint256",
1776
+ },
1777
+ {
1778
+ internalType: "uint256",
1779
+ name: "targetChainId",
1780
+ type: "uint256",
1781
+ },
1782
+ {
1783
+ internalType: "uint256",
1784
+ name: "_vnonce",
1785
+ type: "uint256",
1786
+ },
1787
+ {
1788
+ internalType: "bytes",
1789
+ name: "metadata",
1790
+ type: "bytes",
1791
+ },
1792
+ ],
1793
+ name: "targetAction",
1794
+ outputs: [],
1795
+ stateMutability: "nonpayable",
1796
+ type: "function",
1797
+ },
1798
+ {
1799
+ inputs: [
1800
+ {
1801
+ components: [
1802
+ {
1803
+ internalType: "string",
1804
+ name: "connector",
1805
+ type: "string",
1806
+ },
1807
+ {
1808
+ internalType: "bytes",
1809
+ name: "data",
1810
+ type: "bytes",
1811
+ },
1812
+ ],
1813
+ internalType: "struct Structs.Spell[]",
1814
+ name: "sourceSpells",
1815
+ type: "tuple[]",
1816
+ },
1817
+ {
1818
+ components: [
1819
+ {
1820
+ components: [
1821
+ {
1822
+ internalType: "address",
1823
+ name: "sourceToken",
1824
+ type: "address",
1825
+ },
1826
+ {
1827
+ internalType: "address",
1828
+ name: "targetToken",
1829
+ type: "address",
1830
+ },
1831
+ {
1832
+ internalType: "uint256",
1833
+ name: "amount",
1834
+ type: "uint256",
1835
+ },
1836
+ ],
1837
+ internalType: "struct Structs.TokenInfo[]",
1838
+ name: "supply",
1839
+ type: "tuple[]",
1840
+ },
1841
+ {
1842
+ components: [
1843
+ {
1844
+ internalType: "address",
1845
+ name: "sourceToken",
1846
+ type: "address",
1847
+ },
1848
+ {
1849
+ internalType: "address",
1850
+ name: "targetToken",
1851
+ type: "address",
1852
+ },
1853
+ {
1854
+ internalType: "uint256",
1855
+ name: "amount",
1856
+ type: "uint256",
1857
+ },
1858
+ ],
1859
+ internalType: "struct Structs.TokenInfo[]",
1860
+ name: "withdraw",
1861
+ type: "tuple[]",
1862
+ },
1863
+ ],
1864
+ internalType: "struct Structs.Position",
1865
+ name: "position",
1866
+ type: "tuple",
1867
+ },
1868
+ {
1869
+ internalType: "string",
1870
+ name: "actionId",
1871
+ type: "string",
1872
+ },
1873
+ {
1874
+ internalType: "address",
1875
+ name: "sourceSender",
1876
+ type: "address",
1877
+ },
1878
+ {
1879
+ internalType: "uint64",
1880
+ name: "sourceDsaId",
1881
+ type: "uint64",
1882
+ },
1883
+ {
1884
+ internalType: "uint64",
1885
+ name: "targetDsaId",
1886
+ type: "uint64",
1887
+ },
1888
+ {
1889
+ internalType: "uint256",
1890
+ name: "sourceChainId",
1891
+ type: "uint256",
1892
+ },
1893
+ {
1894
+ internalType: "uint256",
1895
+ name: "targetChainId",
1896
+ type: "uint256",
1897
+ },
1898
+ {
1899
+ internalType: "uint256",
1900
+ name: "_vnonce",
1901
+ type: "uint256",
1902
+ },
1903
+ {
1904
+ internalType: "bytes",
1905
+ name: "metadata",
1906
+ type: "bytes",
1907
+ },
1908
+ ],
1909
+ name: "targetRevertAction",
1910
+ outputs: [],
1911
+ stateMutability: "nonpayable",
1912
+ type: "function",
1913
+ },
1914
+ {
1915
+ stateMutability: "payable",
1916
+ type: "receive",
1917
+ },
1918
+ ];
1919
+ class InteropX__factory {
1920
+ static createInterface() {
1921
+ return new ethers_1.utils.Interface(_abi);
1922
+ }
1923
+ static connect(address, signerOrProvider) {
1924
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1925
+ }
1926
+ }
1927
+ exports.InteropX__factory = InteropX__factory;
1928
+ InteropX__factory.abi = _abi;