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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) 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 +81 -0
  5. package/dist/src/abi/aaveV2Resolver.json +832 -0
  6. package/dist/src/abi/balanceResolver.json +211 -0
  7. package/dist/src/abi/connectors/index.js +36 -0
  8. package/dist/src/abi/connectors/v1/aave.js +148 -0
  9. package/dist/src/abi/connectors/v1/aave_claim.js +4 -0
  10. package/dist/src/abi/connectors/v1/aave_migrate.js +109 -0
  11. package/dist/src/abi/connectors/v1/aave_polygon_migrate.js +110 -0
  12. package/dist/src/abi/connectors/v1/aave_stake.js +4 -0
  13. package/dist/src/abi/connectors/v1/aave_v1_import.js +54 -0
  14. package/dist/src/abi/connectors/v1/aave_v2.js +230 -0
  15. package/dist/src/abi/connectors/v1/aave_v2_import.js +59 -0
  16. package/dist/src/abi/connectors/v1/authority.js +100 -0
  17. package/dist/src/abi/connectors/v1/basic.js +136 -0
  18. package/dist/src/abi/connectors/v1/chi.js +36 -0
  19. package/dist/src/abi/connectors/v1/comp.js +4 -0
  20. package/dist/src/abi/connectors/v1/compound.js +4 -0
  21. package/dist/src/abi/connectors/v1/compoundImport.js +69 -0
  22. package/dist/src/abi/connectors/v1/compoundImport_v2.js +4 -0
  23. package/dist/src/abi/connectors/v1/compound_old.js +448 -0
  24. package/dist/src/abi/connectors/v1/curve.js +140 -0
  25. package/dist/src/abi/connectors/v1/curve_claim.js +63 -0
  26. package/dist/src/abi/connectors/v1/curve_gauge.js +158 -0
  27. package/dist/src/abi/connectors/v1/curve_sbtc.js +140 -0
  28. package/dist/src/abi/connectors/v1/curve_susd.js +140 -0
  29. package/dist/src/abi/connectors/v1/curve_three.js +79 -0
  30. package/dist/src/abi/connectors/v1/curve_y.js +140 -0
  31. package/dist/src/abi/connectors/v1/dsa_migrate_v1_to_v2.js +4 -0
  32. package/dist/src/abi/connectors/v1/dydx.js +148 -0
  33. package/dist/src/abi/connectors/v1/dydx_flash.js +52 -0
  34. package/dist/src/abi/connectors/v1/fee.js +50 -0
  35. package/dist/src/abi/connectors/v1/gelato.js +1138 -0
  36. package/dist/src/abi/connectors/v1/index.js +58 -0
  37. package/dist/src/abi/connectors/v1/instapool.js +439 -0
  38. package/dist/src/abi/connectors/v1/instapool_v2.js +126 -0
  39. package/dist/src/abi/connectors/v1/kyber.js +117 -0
  40. package/dist/src/abi/connectors/v1/maker.js +480 -0
  41. package/dist/src/abi/connectors/v1/maker_old.js +300 -0
  42. package/dist/src/abi/connectors/v1/math.js +43 -0
  43. package/dist/src/abi/connectors/v1/migrate.js +46 -0
  44. package/dist/src/abi/connectors/v1/oasis.js +198 -0
  45. package/dist/src/abi/connectors/v1/oneInch.js +160 -0
  46. package/dist/src/abi/connectors/v1/polygon_bridge.js +4 -0
  47. package/dist/src/abi/connectors/v1/refinance.js +4 -0
  48. package/dist/src/abi/connectors/v1/staking.js +220 -0
  49. package/dist/src/abi/connectors/v1/swerve.js +179 -0
  50. package/dist/src/abi/connectors/v1/uniswap.js +297 -0
  51. package/dist/src/abi/connectors/v2/1INCH-A.js +4 -0
  52. package/dist/src/abi/connectors/v2/1INCH-B.js +4 -0
  53. package/dist/src/abi/connectors/v2/AAVE-CLAIM-A.js +4 -0
  54. package/dist/src/abi/connectors/v2/AAVE-CLAIM-B.js +166 -0
  55. package/dist/src/abi/connectors/v2/AAVE-STAKE-A.js +4 -0
  56. package/dist/src/abi/connectors/v2/AAVE-V1-A.js +130 -0
  57. package/dist/src/abi/connectors/v2/AAVE-V1-IMPORT-A.js +4 -0
  58. package/dist/src/abi/connectors/v2/AAVE-V2-A.js +230 -0
  59. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-A.js +4 -0
  60. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-B.js +225 -0
  61. package/dist/src/abi/connectors/v2/AUTHORITY-A.js +100 -0
  62. package/dist/src/abi/connectors/v2/B-COMPOUND-A.js +4 -0
  63. package/dist/src/abi/connectors/v2/B-LIQUITY-A.js +4 -0
  64. package/dist/src/abi/connectors/v2/B-MAKERDAO-A.js +4 -0
  65. package/dist/src/abi/connectors/v2/BASIC-A.js +136 -0
  66. package/dist/src/abi/connectors/v2/BASIC-B.js +4 -0
  67. package/dist/src/abi/connectors/v2/BASIC-C.js +4 -0
  68. package/dist/src/abi/connectors/v2/COMP-A.js +4 -0
  69. package/dist/src/abi/connectors/v2/COMPOUND-A.js +4 -0
  70. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-A.js +4 -0
  71. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-B.js +195 -0
  72. package/dist/src/abi/connectors/v2/G-UNISWAP-A.js +4 -0
  73. package/dist/src/abi/connectors/v2/GELATO-AAVE-A.js +4 -0
  74. package/dist/src/abi/connectors/v2/INST-A.js +4 -0
  75. package/dist/src/abi/connectors/v2/INST-LM-A.js +4 -0
  76. package/dist/src/abi/connectors/v2/INST-STAKING-A.js +4 -0
  77. package/dist/src/abi/connectors/v2/INST-STAKING-B.js +4 -0
  78. package/dist/src/abi/connectors/v2/INSTAPOOL-A.js +4 -0
  79. package/dist/src/abi/connectors/v2/LIQUITY-A.js +4 -0
  80. package/dist/src/abi/connectors/v2/MAKERDAO-A.js +4 -0
  81. package/dist/src/abi/connectors/v2/MAKERDAO-CLAIM-A.js +136 -0
  82. package/dist/src/abi/connectors/v2/PARASWAP-A.js +4 -0
  83. package/dist/src/abi/connectors/v2/POLYGON-BRIDGE-A.js +4 -0
  84. package/dist/src/abi/connectors/v2/REFINANCE-A.js +4 -0
  85. package/dist/src/abi/connectors/v2/REFLEXER-A.js +4 -0
  86. package/dist/src/abi/connectors/v2/STAKE-ERC20-A.js +4 -0
  87. package/dist/src/abi/connectors/v2/UNISWAP-A.js +297 -0
  88. package/dist/src/abi/connectors/v2/UNISWAP-V2-A.js +4 -0
  89. package/dist/src/abi/connectors/v2/UNISWAP-V3-A.js +4 -0
  90. package/dist/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.js +4 -0
  91. package/dist/src/abi/connectors/v2/WETH-A.js +4 -0
  92. package/dist/src/abi/connectors/v2/YEARN-VAULT-A.js +4 -0
  93. package/dist/src/abi/connectors/v2/index.js +89 -0
  94. package/dist/src/abi/erc20.json +350 -0
  95. package/dist/src/abi/gnosisSafe.json +747 -0
  96. package/dist/src/abi/index.js +21 -0
  97. package/dist/src/abi/instList.json +232 -0
  98. package/dist/src/abi/interopX.json +1436 -0
  99. package/dist/src/alias.js +10 -0
  100. package/dist/src/api/index.js +43 -0
  101. package/dist/src/config/index.js +31 -0
  102. package/dist/src/constants/addresses.js +23 -0
  103. package/dist/src/constants/blockConfirmations.js +8 -0
  104. package/dist/src/constants/capPerChain.js +8 -0
  105. package/dist/{constants → src/constants}/index.js +4 -0
  106. package/dist/src/constants/tokens.js +130 -0
  107. package/dist/src/constants/wrappedNativeToken.js +8 -0
  108. package/dist/src/crons/index.js +3 -0
  109. package/dist/src/crons/prices.js +16 -0
  110. package/dist/{db → src/db}/index.js +0 -0
  111. package/dist/{db → src/db}/models/index.js +1 -1
  112. package/dist/src/db/models/transaction.js +80 -0
  113. package/dist/{db → src/db}/sequelize.js +2 -1
  114. package/dist/src/errors/index.js +30 -0
  115. package/dist/src/gnosis/actions/aaveV2/index.js +11 -0
  116. package/dist/src/gnosis/actions/aaveV2/source.js +73 -0
  117. package/dist/src/gnosis/actions/aaveV2/target.js +86 -0
  118. package/dist/src/gnosis/actions/index.js +9 -0
  119. package/dist/src/gnosis/index.js +20 -0
  120. package/dist/src/index.js +120 -0
  121. package/dist/{logger → src/logger}/index.js +0 -0
  122. package/dist/{net → src/net}/index.js +0 -0
  123. package/dist/{net → src/net}/peer/index.js +8 -3
  124. package/dist/{net → src/net}/pool/index.js +32 -9
  125. package/dist/{net → src/net}/protocol/dial/BaseDialProtocol.js +0 -0
  126. package/dist/{net → src/net}/protocol/dial/SignatureDialProtocol.js +19 -12
  127. package/dist/src/net/protocol/dial/TransactionStatusDialProtocol.js +30 -0
  128. package/dist/{net → src/net}/protocol/index.js +54 -4
  129. package/dist/src/services/Prices.js +74 -0
  130. package/dist/src/services/index.js +8 -0
  131. package/dist/src/tasks/AutoUpdateTask.js +70 -0
  132. package/dist/{tasks → src/tasks}/BaseTask.js +13 -5
  133. package/dist/src/tasks/InteropX/ProcessSubmitEvents.js +244 -0
  134. package/dist/src/tasks/InteropX/ProcessValidateEvents.js +184 -0
  135. package/dist/src/tasks/InteropX/SyncLogExecuteEvents.js +112 -0
  136. package/dist/src/tasks/InteropX/SyncLogSubmitEvents.js +87 -0
  137. package/dist/src/tasks/InteropX/SyncLogValidateEvents.js +105 -0
  138. package/dist/src/tasks/Transactions/SyncTransactionStatusTask.js +58 -0
  139. package/dist/src/tasks/index.js +45 -0
  140. package/dist/src/typechain/AaveV2Resolver.js +2 -0
  141. package/dist/src/typechain/BalanceResolver.js +2 -0
  142. package/dist/src/typechain/Erc20.js +2 -0
  143. package/dist/src/typechain/GnosisSafe.js +2 -0
  144. package/dist/src/typechain/InstList.js +2 -0
  145. package/dist/src/typechain/InteropX.js +2 -0
  146. package/dist/src/typechain/common.js +2 -0
  147. package/dist/src/typechain/factories/AaveV2Resolver__factory.js +1191 -0
  148. package/dist/src/typechain/factories/BalanceResolver__factory.js +228 -0
  149. package/dist/src/typechain/factories/Erc20__factory.js +367 -0
  150. package/dist/src/typechain/factories/GnosisSafe__factory.js +1174 -0
  151. package/dist/src/typechain/factories/InstList__factory.js +249 -0
  152. package/dist/src/typechain/factories/InteropX__factory.js +1928 -0
  153. package/dist/src/typechain/factories/index.js +18 -0
  154. package/dist/src/typechain/index.js +39 -0
  155. package/dist/{types.js → src/types.js} +0 -0
  156. package/dist/src/utils/async.js +18 -0
  157. package/dist/src/utils/dsa.js +24 -0
  158. package/dist/src/utils/formatting.js +67 -0
  159. package/dist/src/utils/gnosis.js +62 -0
  160. package/dist/src/utils/http.js +10 -0
  161. package/dist/src/utils/index.js +25 -0
  162. package/dist/src/utils/interop.js +16 -0
  163. package/dist/src/utils/tokens.js +22 -0
  164. package/dist/src/utils/validate.js +111 -0
  165. package/dist/src/utils/web3.js +93 -0
  166. package/package.json +35 -19
  167. package/patches/@ethersproject+properties+5.6.0.patch +13 -0
  168. package/src/abi/aaveV2Resolver.json +832 -0
  169. package/src/abi/balanceResolver.json +211 -0
  170. package/src/abi/connectors/index.ts +14 -0
  171. package/src/abi/connectors/v1/aave.ts +147 -0
  172. package/src/abi/connectors/v1/aave_claim.ts +3 -0
  173. package/src/abi/connectors/v1/aave_migrate.ts +108 -0
  174. package/src/abi/connectors/v1/aave_polygon_migrate.ts +109 -0
  175. package/src/abi/connectors/v1/aave_stake.ts +3 -0
  176. package/src/abi/connectors/v1/aave_v1_import.ts +53 -0
  177. package/src/abi/connectors/v1/aave_v2.ts +229 -0
  178. package/src/abi/connectors/v1/aave_v2_import.ts +58 -0
  179. package/src/abi/connectors/v1/authority.ts +99 -0
  180. package/src/abi/connectors/v1/basic.ts +135 -0
  181. package/src/abi/connectors/v1/chi.ts +35 -0
  182. package/src/abi/connectors/v1/comp.ts +3 -0
  183. package/src/abi/connectors/v1/compound.ts +3 -0
  184. package/src/abi/connectors/v1/compoundImport.ts +68 -0
  185. package/src/abi/connectors/v1/compoundImport_v2.ts +3 -0
  186. package/src/abi/connectors/v1/compound_old.ts +447 -0
  187. package/src/abi/connectors/v1/curve.ts +139 -0
  188. package/src/abi/connectors/v1/curve_claim.ts +62 -0
  189. package/src/abi/connectors/v1/curve_gauge.ts +157 -0
  190. package/src/abi/connectors/v1/curve_sbtc.ts +139 -0
  191. package/src/abi/connectors/v1/curve_susd.ts +139 -0
  192. package/src/abi/connectors/v1/curve_three.ts +78 -0
  193. package/src/abi/connectors/v1/curve_y.ts +139 -0
  194. package/src/abi/connectors/v1/dsa_migrate_v1_to_v2.ts +3 -0
  195. package/src/abi/connectors/v1/dydx.ts +147 -0
  196. package/src/abi/connectors/v1/dydx_flash.ts +51 -0
  197. package/src/abi/connectors/v1/fee.ts +49 -0
  198. package/src/abi/connectors/v1/gelato.ts +1137 -0
  199. package/src/abi/connectors/v1/index.ts +42 -0
  200. package/src/abi/connectors/v1/instapool.ts +438 -0
  201. package/src/abi/connectors/v1/instapool_v2.ts +125 -0
  202. package/src/abi/connectors/v1/kyber.ts +116 -0
  203. package/src/abi/connectors/v1/maker.ts +479 -0
  204. package/src/abi/connectors/v1/maker_old.ts +299 -0
  205. package/src/abi/connectors/v1/math.ts +42 -0
  206. package/src/abi/connectors/v1/migrate.ts +45 -0
  207. package/src/abi/connectors/v1/oasis.ts +197 -0
  208. package/src/abi/connectors/v1/oneInch.ts +159 -0
  209. package/src/abi/connectors/v1/polygon_bridge.ts +3 -0
  210. package/src/abi/connectors/v1/refinance.ts +3 -0
  211. package/src/abi/connectors/v1/staking.ts +219 -0
  212. package/src/abi/connectors/v1/swerve.ts +178 -0
  213. package/src/abi/connectors/v1/uniswap.ts +297 -0
  214. package/src/abi/connectors/v2/1INCH-A.ts +3 -0
  215. package/src/abi/connectors/v2/1INCH-B.ts +3 -0
  216. package/src/abi/connectors/v2/AAVE-CLAIM-A.ts +3 -0
  217. package/src/abi/connectors/v2/AAVE-CLAIM-B.ts +165 -0
  218. package/src/abi/connectors/v2/AAVE-STAKE-A.ts +3 -0
  219. package/src/abi/connectors/v2/AAVE-V1-A.ts +130 -0
  220. package/src/abi/connectors/v2/AAVE-V1-IMPORT-A.ts +3 -0
  221. package/src/abi/connectors/v2/AAVE-V2-A.ts +229 -0
  222. package/src/abi/connectors/v2/AAVE-V2-IMPORT-A.ts +3 -0
  223. package/src/abi/connectors/v2/AAVE-V2-IMPORT-B.ts +224 -0
  224. package/src/abi/connectors/v2/AUTHORITY-A.ts +99 -0
  225. package/src/abi/connectors/v2/B-COMPOUND-A.ts +3 -0
  226. package/src/abi/connectors/v2/B-LIQUITY-A.ts +3 -0
  227. package/src/abi/connectors/v2/B-MAKERDAO-A.ts +3 -0
  228. package/src/abi/connectors/v2/BASIC-A.ts +135 -0
  229. package/src/abi/connectors/v2/BASIC-B.ts +3 -0
  230. package/src/abi/connectors/v2/BASIC-C.ts +3 -0
  231. package/src/abi/connectors/v2/COMP-A.ts +3 -0
  232. package/src/abi/connectors/v2/COMPOUND-A.ts +3 -0
  233. package/src/abi/connectors/v2/COMPOUND-IMPORT-A.ts +3 -0
  234. package/src/abi/connectors/v2/COMPOUND-IMPORT-B.ts +194 -0
  235. package/src/abi/connectors/v2/G-UNISWAP-A.ts +3 -0
  236. package/src/abi/connectors/v2/GELATO-AAVE-A.ts +3 -0
  237. package/src/abi/connectors/v2/INST-A.ts +3 -0
  238. package/src/abi/connectors/v2/INST-LM-A.ts +3 -0
  239. package/src/abi/connectors/v2/INST-STAKING-A.ts +3 -0
  240. package/src/abi/connectors/v2/INST-STAKING-B.ts +3 -0
  241. package/src/abi/connectors/v2/INSTAPOOL-A.ts +3 -0
  242. package/src/abi/connectors/v2/LIQUITY-A.ts +3 -0
  243. package/src/abi/connectors/v2/MAKERDAO-A.ts +3 -0
  244. package/src/abi/connectors/v2/MAKERDAO-CLAIM-A.ts +135 -0
  245. package/src/abi/connectors/v2/PARASWAP-A.ts +3 -0
  246. package/src/abi/connectors/v2/POLYGON-BRIDGE-A.ts +3 -0
  247. package/src/abi/connectors/v2/REFINANCE-A.ts +3 -0
  248. package/src/abi/connectors/v2/REFLEXER-A.ts +3 -0
  249. package/src/abi/connectors/v2/STAKE-ERC20-A.ts +3 -0
  250. package/src/abi/connectors/v2/UNISWAP-A.ts +297 -0
  251. package/src/abi/connectors/v2/UNISWAP-V2-A.ts +3 -0
  252. package/src/abi/connectors/v2/UNISWAP-V3-A.ts +3 -0
  253. package/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.ts +3 -0
  254. package/src/abi/connectors/v2/WETH-A.ts +3 -0
  255. package/src/abi/connectors/v2/YEARN-VAULT-A.ts +3 -0
  256. package/src/abi/connectors/v2/index.ts +87 -0
  257. package/src/abi/erc20.json +350 -0
  258. package/src/abi/gnosisSafe.json +747 -0
  259. package/src/abi/index.ts +17 -0
  260. package/src/abi/instList.json +232 -0
  261. package/src/abi/interopX.json +1436 -0
  262. package/src/alias.ts +6 -0
  263. package/src/api/index.ts +44 -0
  264. package/src/config/index.ts +17 -1
  265. package/src/constants/addresses.ts +26 -6
  266. package/src/constants/blockConfirmations.ts +5 -0
  267. package/src/constants/capPerChain.ts +5 -0
  268. package/src/constants/index.ts +4 -0
  269. package/src/constants/tokens.ts +127 -0
  270. package/src/constants/wrappedNativeToken.ts +5 -0
  271. package/src/crons/index.ts +1 -0
  272. package/src/crons/prices.ts +12 -0
  273. package/src/db/models/index.ts +1 -1
  274. package/src/db/models/transaction.ts +190 -0
  275. package/src/db/sequelize.ts +2 -1
  276. package/src/errors/index.ts +26 -0
  277. package/src/gnosis/actions/aaveV2/index.ts +9 -0
  278. package/src/gnosis/actions/aaveV2/source.ts +118 -0
  279. package/src/gnosis/actions/aaveV2/target.ts +141 -0
  280. package/src/gnosis/actions/index.ts +5 -0
  281. package/src/gnosis/index.ts +19 -0
  282. package/src/index.ts +110 -8
  283. package/src/net/peer/index.ts +9 -7
  284. package/src/net/pool/index.ts +41 -11
  285. package/src/net/protocol/dial/SignatureDialProtocol.ts +23 -15
  286. package/src/net/protocol/dial/TransactionStatusDialProtocol.ts +33 -0
  287. package/src/net/protocol/index.ts +70 -4
  288. package/src/services/Prices.ts +89 -0
  289. package/src/services/index.ts +1 -0
  290. package/src/tasks/AutoUpdateTask.ts +82 -0
  291. package/src/tasks/BaseTask.ts +15 -6
  292. package/src/tasks/InteropX/ProcessSubmitEvents.ts +344 -0
  293. package/src/tasks/InteropX/ProcessValidateEvents.ts +271 -0
  294. package/src/tasks/InteropX/SyncLogExecuteEvents.ts +160 -0
  295. package/src/tasks/InteropX/SyncLogSubmitEvents.ts +137 -0
  296. package/src/tasks/InteropX/SyncLogValidateEvents.ts +150 -0
  297. package/src/tasks/Transactions/SyncTransactionStatusTask.ts +70 -0
  298. package/src/tasks/index.ts +32 -2
  299. package/src/typechain/AaveV2Resolver.ts +1017 -0
  300. package/src/typechain/BalanceResolver.ts +266 -0
  301. package/src/typechain/Erc20.ts +491 -0
  302. package/src/typechain/GnosisSafe.ts +1728 -0
  303. package/src/typechain/InstList.ts +402 -0
  304. package/src/typechain/InteropX.ts +1216 -0
  305. package/src/typechain/common.ts +44 -0
  306. package/src/typechain/factories/AaveV2Resolver__factory.ts +1198 -0
  307. package/src/typechain/factories/BalanceResolver__factory.ts +235 -0
  308. package/src/typechain/factories/Erc20__factory.ts +368 -0
  309. package/src/typechain/factories/GnosisSafe__factory.ts +1178 -0
  310. package/src/typechain/factories/InstList__factory.ts +253 -0
  311. package/src/typechain/factories/InteropX__factory.ts +1932 -0
  312. package/src/typechain/factories/index.ts +9 -0
  313. package/src/typechain/index.ts +16 -0
  314. package/src/types.ts +1 -1
  315. package/src/utils/async.ts +22 -0
  316. package/src/utils/dsa.ts +30 -0
  317. package/src/utils/formatting.ts +68 -0
  318. package/src/utils/gnosis.ts +123 -0
  319. package/src/utils/http.ts +6 -0
  320. package/src/utils/index.ts +9 -116
  321. package/src/utils/interop.ts +28 -0
  322. package/src/utils/tokens.ts +21 -0
  323. package/src/utils/validate.ts +173 -0
  324. package/src/utils/web3.ts +132 -0
  325. package/tsconfig.json +7 -2
  326. package/dist/config/index.js +0 -17
  327. package/dist/constants/addresses.js +0 -13
  328. package/dist/db/models/execution.js +0 -38
  329. package/dist/index.js +0 -43
  330. package/dist/tasks/index.js +0 -19
  331. package/dist/utils/index.js +0 -89
  332. package/src/db/models/execution.ts +0 -57
@@ -0,0 +1,1436 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "uint256", "name": "vnonce", "type": "uint256" },
5
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
6
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" }
7
+ ],
8
+ "name": "ErrorSourceFailed",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ { "internalType": "uint256", "name": "vnonce", "type": "uint256" },
14
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
15
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" }
16
+ ],
17
+ "name": "ErrorTargetFailed",
18
+ "type": "error"
19
+ },
20
+ {
21
+ "anonymous": false,
22
+ "inputs": [
23
+ {
24
+ "components": [
25
+ { "internalType": "string", "name": "connector", "type": "string" },
26
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
27
+ ],
28
+ "indexed": false,
29
+ "internalType": "struct Structs.Spell[]",
30
+ "name": "sourceSpells",
31
+ "type": "tuple[]"
32
+ },
33
+ {
34
+ "components": [
35
+ { "internalType": "string", "name": "connector", "type": "string" },
36
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
37
+ ],
38
+ "indexed": false,
39
+ "internalType": "struct Structs.Spell[]",
40
+ "name": "targetSpells",
41
+ "type": "tuple[]"
42
+ },
43
+ {
44
+ "components": [
45
+ {
46
+ "components": [
47
+ {
48
+ "internalType": "address",
49
+ "name": "sourceToken",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "internalType": "address",
54
+ "name": "targetToken",
55
+ "type": "address"
56
+ },
57
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
58
+ ],
59
+ "internalType": "struct Structs.TokenInfo[]",
60
+ "name": "supply",
61
+ "type": "tuple[]"
62
+ },
63
+ {
64
+ "components": [
65
+ {
66
+ "internalType": "address",
67
+ "name": "sourceToken",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "internalType": "address",
72
+ "name": "targetToken",
73
+ "type": "address"
74
+ },
75
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
76
+ ],
77
+ "internalType": "struct Structs.TokenInfo[]",
78
+ "name": "withdraw",
79
+ "type": "tuple[]"
80
+ }
81
+ ],
82
+ "indexed": false,
83
+ "internalType": "struct Structs.Position",
84
+ "name": "position",
85
+ "type": "tuple"
86
+ },
87
+ {
88
+ "indexed": false,
89
+ "internalType": "string",
90
+ "name": "actionId",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "indexed": true,
95
+ "internalType": "bytes32",
96
+ "name": "actionIdHash",
97
+ "type": "bytes32"
98
+ },
99
+ {
100
+ "indexed": false,
101
+ "internalType": "address",
102
+ "name": "sourceSender",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint256",
108
+ "name": "sourceDsaId",
109
+ "type": "uint256"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "uint256",
114
+ "name": "targetDsaId",
115
+ "type": "uint256"
116
+ },
117
+ {
118
+ "indexed": false,
119
+ "internalType": "uint256",
120
+ "name": "sourceChainId",
121
+ "type": "uint256"
122
+ },
123
+ {
124
+ "indexed": false,
125
+ "internalType": "uint256",
126
+ "name": "targetChainId",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "indexed": true,
131
+ "internalType": "uint256",
132
+ "name": "vnonce",
133
+ "type": "uint256"
134
+ },
135
+ {
136
+ "indexed": false,
137
+ "internalType": "bytes",
138
+ "name": "metadata",
139
+ "type": "bytes"
140
+ }
141
+ ],
142
+ "name": "LogExecute",
143
+ "type": "event"
144
+ },
145
+ {
146
+ "anonymous": false,
147
+ "inputs": [
148
+ {
149
+ "components": [
150
+ {
151
+ "components": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sourceToken",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "address",
159
+ "name": "targetToken",
160
+ "type": "address"
161
+ },
162
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
163
+ ],
164
+ "internalType": "struct Structs.TokenInfo[]",
165
+ "name": "supply",
166
+ "type": "tuple[]"
167
+ },
168
+ {
169
+ "components": [
170
+ {
171
+ "internalType": "address",
172
+ "name": "sourceToken",
173
+ "type": "address"
174
+ },
175
+ {
176
+ "internalType": "address",
177
+ "name": "targetToken",
178
+ "type": "address"
179
+ },
180
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
181
+ ],
182
+ "internalType": "struct Structs.TokenInfo[]",
183
+ "name": "withdraw",
184
+ "type": "tuple[]"
185
+ }
186
+ ],
187
+ "indexed": false,
188
+ "internalType": "struct Structs.Position",
189
+ "name": "position",
190
+ "type": "tuple"
191
+ },
192
+ {
193
+ "indexed": false,
194
+ "internalType": "string",
195
+ "name": "systemActionId",
196
+ "type": "string"
197
+ },
198
+ {
199
+ "indexed": true,
200
+ "internalType": "bytes32",
201
+ "name": "systemActionIdHash",
202
+ "type": "bytes32"
203
+ },
204
+ {
205
+ "indexed": false,
206
+ "internalType": "address",
207
+ "name": "gnosisSafe",
208
+ "type": "address"
209
+ },
210
+ {
211
+ "indexed": true,
212
+ "internalType": "address",
213
+ "name": "sender",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "indexed": true,
218
+ "internalType": "uint256",
219
+ "name": "vnonceSystem",
220
+ "type": "uint256"
221
+ },
222
+ {
223
+ "indexed": false,
224
+ "internalType": "bytes",
225
+ "name": "metadata",
226
+ "type": "bytes"
227
+ }
228
+ ],
229
+ "name": "LogRebalanceSystem",
230
+ "type": "event"
231
+ },
232
+ {
233
+ "anonymous": false,
234
+ "inputs": [
235
+ {
236
+ "components": [
237
+ {
238
+ "components": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "sourceToken",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "address",
246
+ "name": "targetToken",
247
+ "type": "address"
248
+ },
249
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
250
+ ],
251
+ "internalType": "struct Structs.TokenInfo[]",
252
+ "name": "supply",
253
+ "type": "tuple[]"
254
+ },
255
+ {
256
+ "components": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "sourceToken",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "address",
264
+ "name": "targetToken",
265
+ "type": "address"
266
+ },
267
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
268
+ ],
269
+ "internalType": "struct Structs.TokenInfo[]",
270
+ "name": "withdraw",
271
+ "type": "tuple[]"
272
+ }
273
+ ],
274
+ "indexed": false,
275
+ "internalType": "struct Structs.Position",
276
+ "name": "position",
277
+ "type": "tuple"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "string",
282
+ "name": "actionId",
283
+ "type": "string"
284
+ },
285
+ {
286
+ "indexed": true,
287
+ "internalType": "bytes32",
288
+ "name": "actionIdHashHash",
289
+ "type": "bytes32"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "address",
294
+ "name": "sourceDsaSender",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "indexed": false,
299
+ "internalType": "uint256",
300
+ "name": "sourceDsaId",
301
+ "type": "uint256"
302
+ },
303
+ {
304
+ "indexed": false,
305
+ "internalType": "uint256",
306
+ "name": "targetDsaId",
307
+ "type": "uint256"
308
+ },
309
+ {
310
+ "indexed": false,
311
+ "internalType": "uint256",
312
+ "name": "sourceChainId",
313
+ "type": "uint256"
314
+ },
315
+ {
316
+ "indexed": false,
317
+ "internalType": "uint256",
318
+ "name": "targetChainId",
319
+ "type": "uint256"
320
+ },
321
+ {
322
+ "indexed": true,
323
+ "internalType": "uint256",
324
+ "name": "vnonce",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "bytes",
330
+ "name": "metadata",
331
+ "type": "bytes"
332
+ }
333
+ ],
334
+ "name": "LogRevert",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "components": [
342
+ { "internalType": "string", "name": "connector", "type": "string" },
343
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
344
+ ],
345
+ "indexed": false,
346
+ "internalType": "struct Structs.Spell[]",
347
+ "name": "sourceSpells",
348
+ "type": "tuple[]"
349
+ },
350
+ {
351
+ "components": [
352
+ { "internalType": "string", "name": "connector", "type": "string" },
353
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
354
+ ],
355
+ "indexed": false,
356
+ "internalType": "struct Structs.Spell[]",
357
+ "name": "sourceRevertSpells",
358
+ "type": "tuple[]"
359
+ },
360
+ {
361
+ "components": [
362
+ {
363
+ "components": [
364
+ {
365
+ "internalType": "address",
366
+ "name": "sourceToken",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "internalType": "address",
371
+ "name": "targetToken",
372
+ "type": "address"
373
+ },
374
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
375
+ ],
376
+ "internalType": "struct Structs.TokenInfo[]",
377
+ "name": "supply",
378
+ "type": "tuple[]"
379
+ },
380
+ {
381
+ "components": [
382
+ {
383
+ "internalType": "address",
384
+ "name": "sourceToken",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "internalType": "address",
389
+ "name": "targetToken",
390
+ "type": "address"
391
+ },
392
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
393
+ ],
394
+ "internalType": "struct Structs.TokenInfo[]",
395
+ "name": "withdraw",
396
+ "type": "tuple[]"
397
+ }
398
+ ],
399
+ "indexed": false,
400
+ "internalType": "struct Structs.Position",
401
+ "name": "position",
402
+ "type": "tuple"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "internalType": "string",
407
+ "name": "actionId",
408
+ "type": "string"
409
+ },
410
+ {
411
+ "indexed": true,
412
+ "internalType": "bytes32",
413
+ "name": "actionIdHash",
414
+ "type": "bytes32"
415
+ },
416
+ {
417
+ "indexed": false,
418
+ "internalType": "address",
419
+ "name": "sourceDsaSender",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "indexed": false,
424
+ "internalType": "uint256",
425
+ "name": "sourceDsaId",
426
+ "type": "uint256"
427
+ },
428
+ {
429
+ "indexed": false,
430
+ "internalType": "uint256",
431
+ "name": "targetDsaId",
432
+ "type": "uint256"
433
+ },
434
+ {
435
+ "indexed": false,
436
+ "internalType": "uint256",
437
+ "name": "sourceChainId",
438
+ "type": "uint256"
439
+ },
440
+ {
441
+ "indexed": false,
442
+ "internalType": "uint256",
443
+ "name": "targetChainId",
444
+ "type": "uint256"
445
+ },
446
+ {
447
+ "indexed": true,
448
+ "internalType": "uint256",
449
+ "name": "vnonce",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "indexed": false,
454
+ "internalType": "bytes",
455
+ "name": "metadata",
456
+ "type": "bytes"
457
+ }
458
+ ],
459
+ "name": "LogSourceRevert",
460
+ "type": "event"
461
+ },
462
+ {
463
+ "anonymous": false,
464
+ "inputs": [
465
+ {
466
+ "components": [
467
+ {
468
+ "components": [
469
+ {
470
+ "internalType": "address",
471
+ "name": "sourceToken",
472
+ "type": "address"
473
+ },
474
+ {
475
+ "internalType": "address",
476
+ "name": "targetToken",
477
+ "type": "address"
478
+ },
479
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
480
+ ],
481
+ "internalType": "struct Structs.TokenInfo[]",
482
+ "name": "supply",
483
+ "type": "tuple[]"
484
+ },
485
+ {
486
+ "components": [
487
+ {
488
+ "internalType": "address",
489
+ "name": "sourceToken",
490
+ "type": "address"
491
+ },
492
+ {
493
+ "internalType": "address",
494
+ "name": "targetToken",
495
+ "type": "address"
496
+ },
497
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
498
+ ],
499
+ "internalType": "struct Structs.TokenInfo[]",
500
+ "name": "withdraw",
501
+ "type": "tuple[]"
502
+ }
503
+ ],
504
+ "indexed": false,
505
+ "internalType": "struct Structs.Position",
506
+ "name": "position",
507
+ "type": "tuple"
508
+ },
509
+ {
510
+ "indexed": false,
511
+ "internalType": "string",
512
+ "name": "actionId",
513
+ "type": "string"
514
+ },
515
+ {
516
+ "indexed": true,
517
+ "internalType": "bytes32",
518
+ "name": "actionIdHashHash",
519
+ "type": "bytes32"
520
+ },
521
+ {
522
+ "indexed": false,
523
+ "internalType": "address",
524
+ "name": "sourceSender",
525
+ "type": "address"
526
+ },
527
+ {
528
+ "indexed": false,
529
+ "internalType": "uint256",
530
+ "name": "sourceDsaId",
531
+ "type": "uint256"
532
+ },
533
+ {
534
+ "indexed": false,
535
+ "internalType": "uint256",
536
+ "name": "targetDsaId",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "indexed": false,
541
+ "internalType": "uint256",
542
+ "name": "sourceChainId",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "indexed": false,
547
+ "internalType": "uint256",
548
+ "name": "targetChainId",
549
+ "type": "uint256"
550
+ },
551
+ {
552
+ "indexed": true,
553
+ "internalType": "uint256",
554
+ "name": "vnonce",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "indexed": false,
559
+ "internalType": "bytes",
560
+ "name": "metadata",
561
+ "type": "bytes"
562
+ }
563
+ ],
564
+ "name": "LogSubmit",
565
+ "type": "event"
566
+ },
567
+ {
568
+ "anonymous": false,
569
+ "inputs": [
570
+ {
571
+ "components": [
572
+ {
573
+ "components": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "sourceToken",
577
+ "type": "address"
578
+ },
579
+ {
580
+ "internalType": "address",
581
+ "name": "targetToken",
582
+ "type": "address"
583
+ },
584
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
585
+ ],
586
+ "internalType": "struct Structs.TokenInfo[]",
587
+ "name": "supply",
588
+ "type": "tuple[]"
589
+ },
590
+ {
591
+ "components": [
592
+ {
593
+ "internalType": "address",
594
+ "name": "sourceToken",
595
+ "type": "address"
596
+ },
597
+ {
598
+ "internalType": "address",
599
+ "name": "targetToken",
600
+ "type": "address"
601
+ },
602
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
603
+ ],
604
+ "internalType": "struct Structs.TokenInfo[]",
605
+ "name": "withdraw",
606
+ "type": "tuple[]"
607
+ }
608
+ ],
609
+ "indexed": false,
610
+ "internalType": "struct Structs.Position",
611
+ "name": "position",
612
+ "type": "tuple"
613
+ },
614
+ {
615
+ "indexed": false,
616
+ "internalType": "string",
617
+ "name": "systemActionId",
618
+ "type": "string"
619
+ },
620
+ {
621
+ "indexed": true,
622
+ "internalType": "bytes32",
623
+ "name": "systemActionIdHash",
624
+ "type": "bytes32"
625
+ },
626
+ {
627
+ "indexed": false,
628
+ "internalType": "address",
629
+ "name": "gnosisSafe",
630
+ "type": "address"
631
+ },
632
+ {
633
+ "indexed": true,
634
+ "internalType": "address",
635
+ "name": "sender",
636
+ "type": "address"
637
+ },
638
+ {
639
+ "indexed": true,
640
+ "internalType": "uint256",
641
+ "name": "vnonceSystem",
642
+ "type": "uint256"
643
+ },
644
+ {
645
+ "indexed": false,
646
+ "internalType": "bytes",
647
+ "name": "metadata",
648
+ "type": "bytes"
649
+ }
650
+ ],
651
+ "name": "LogSubmitSystem",
652
+ "type": "event"
653
+ },
654
+ {
655
+ "anonymous": false,
656
+ "inputs": [
657
+ {
658
+ "components": [
659
+ { "internalType": "string", "name": "connector", "type": "string" },
660
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
661
+ ],
662
+ "indexed": false,
663
+ "internalType": "struct Structs.Spell[]",
664
+ "name": "sourceSpells",
665
+ "type": "tuple[]"
666
+ },
667
+ {
668
+ "components": [
669
+ {
670
+ "components": [
671
+ {
672
+ "internalType": "address",
673
+ "name": "sourceToken",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "address",
678
+ "name": "targetToken",
679
+ "type": "address"
680
+ },
681
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
682
+ ],
683
+ "internalType": "struct Structs.TokenInfo[]",
684
+ "name": "supply",
685
+ "type": "tuple[]"
686
+ },
687
+ {
688
+ "components": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "sourceToken",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "address",
696
+ "name": "targetToken",
697
+ "type": "address"
698
+ },
699
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
700
+ ],
701
+ "internalType": "struct Structs.TokenInfo[]",
702
+ "name": "withdraw",
703
+ "type": "tuple[]"
704
+ }
705
+ ],
706
+ "indexed": false,
707
+ "internalType": "struct Structs.Position",
708
+ "name": "position",
709
+ "type": "tuple"
710
+ },
711
+ {
712
+ "indexed": false,
713
+ "internalType": "string",
714
+ "name": "actionId",
715
+ "type": "string"
716
+ },
717
+ {
718
+ "indexed": true,
719
+ "internalType": "bytes32",
720
+ "name": "actionIdHash",
721
+ "type": "bytes32"
722
+ },
723
+ {
724
+ "indexed": false,
725
+ "internalType": "address",
726
+ "name": "sourceDsaSender",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "indexed": false,
731
+ "internalType": "uint256",
732
+ "name": "sourceDsaId",
733
+ "type": "uint256"
734
+ },
735
+ {
736
+ "indexed": false,
737
+ "internalType": "uint256",
738
+ "name": "targetDsaId",
739
+ "type": "uint256"
740
+ },
741
+ {
742
+ "indexed": false,
743
+ "internalType": "uint256",
744
+ "name": "sourceChainId",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "indexed": false,
749
+ "internalType": "uint256",
750
+ "name": "targetChainId",
751
+ "type": "uint256"
752
+ },
753
+ {
754
+ "indexed": true,
755
+ "internalType": "uint256",
756
+ "name": "vnonce",
757
+ "type": "uint256"
758
+ },
759
+ {
760
+ "indexed": false,
761
+ "internalType": "bytes",
762
+ "name": "metadata",
763
+ "type": "bytes"
764
+ }
765
+ ],
766
+ "name": "LogTargetRevert",
767
+ "type": "event"
768
+ },
769
+ {
770
+ "anonymous": false,
771
+ "inputs": [
772
+ {
773
+ "components": [
774
+ { "internalType": "string", "name": "connector", "type": "string" },
775
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
776
+ ],
777
+ "indexed": false,
778
+ "internalType": "struct Structs.Spell[]",
779
+ "name": "sourceSpells",
780
+ "type": "tuple[]"
781
+ },
782
+ {
783
+ "components": [
784
+ {
785
+ "components": [
786
+ {
787
+ "internalType": "address",
788
+ "name": "sourceToken",
789
+ "type": "address"
790
+ },
791
+ {
792
+ "internalType": "address",
793
+ "name": "targetToken",
794
+ "type": "address"
795
+ },
796
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
797
+ ],
798
+ "internalType": "struct Structs.TokenInfo[]",
799
+ "name": "supply",
800
+ "type": "tuple[]"
801
+ },
802
+ {
803
+ "components": [
804
+ {
805
+ "internalType": "address",
806
+ "name": "sourceToken",
807
+ "type": "address"
808
+ },
809
+ {
810
+ "internalType": "address",
811
+ "name": "targetToken",
812
+ "type": "address"
813
+ },
814
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
815
+ ],
816
+ "internalType": "struct Structs.TokenInfo[]",
817
+ "name": "withdraw",
818
+ "type": "tuple[]"
819
+ }
820
+ ],
821
+ "indexed": false,
822
+ "internalType": "struct Structs.Position",
823
+ "name": "position",
824
+ "type": "tuple"
825
+ },
826
+ {
827
+ "indexed": false,
828
+ "internalType": "string",
829
+ "name": "actionId",
830
+ "type": "string"
831
+ },
832
+ {
833
+ "indexed": true,
834
+ "internalType": "bytes32",
835
+ "name": "actionIdHash",
836
+ "type": "bytes32"
837
+ },
838
+ {
839
+ "indexed": false,
840
+ "internalType": "address",
841
+ "name": "sourceSender",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "indexed": false,
846
+ "internalType": "uint256",
847
+ "name": "sourceDsaId",
848
+ "type": "uint256"
849
+ },
850
+ {
851
+ "indexed": false,
852
+ "internalType": "uint256",
853
+ "name": "targetDsaId",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "indexed": false,
858
+ "internalType": "uint256",
859
+ "name": "sourceChainId",
860
+ "type": "uint256"
861
+ },
862
+ {
863
+ "indexed": false,
864
+ "internalType": "uint256",
865
+ "name": "targetChainId",
866
+ "type": "uint256"
867
+ },
868
+ {
869
+ "indexed": true,
870
+ "internalType": "uint256",
871
+ "name": "vnonce",
872
+ "type": "uint256"
873
+ },
874
+ {
875
+ "indexed": false,
876
+ "internalType": "bytes",
877
+ "name": "metadata",
878
+ "type": "bytes"
879
+ }
880
+ ],
881
+ "name": "LogValidate",
882
+ "type": "event"
883
+ },
884
+ {
885
+ "inputs": [
886
+ {
887
+ "components": [
888
+ { "internalType": "string", "name": "connector", "type": "string" },
889
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
890
+ ],
891
+ "internalType": "struct Structs.Spell[]",
892
+ "name": "sourceSpells",
893
+ "type": "tuple[]"
894
+ },
895
+ {
896
+ "components": [
897
+ { "internalType": "string", "name": "connector", "type": "string" },
898
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
899
+ ],
900
+ "internalType": "struct Structs.Spell[]",
901
+ "name": "commonSpells",
902
+ "type": "tuple[]"
903
+ },
904
+ {
905
+ "components": [
906
+ {
907
+ "components": [
908
+ {
909
+ "internalType": "address",
910
+ "name": "sourceToken",
911
+ "type": "address"
912
+ },
913
+ {
914
+ "internalType": "address",
915
+ "name": "targetToken",
916
+ "type": "address"
917
+ },
918
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
919
+ ],
920
+ "internalType": "struct Structs.TokenInfo[]",
921
+ "name": "supply",
922
+ "type": "tuple[]"
923
+ },
924
+ {
925
+ "components": [
926
+ {
927
+ "internalType": "address",
928
+ "name": "sourceToken",
929
+ "type": "address"
930
+ },
931
+ {
932
+ "internalType": "address",
933
+ "name": "targetToken",
934
+ "type": "address"
935
+ },
936
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
937
+ ],
938
+ "internalType": "struct Structs.TokenInfo[]",
939
+ "name": "withdraw",
940
+ "type": "tuple[]"
941
+ }
942
+ ],
943
+ "internalType": "struct Structs.Position",
944
+ "name": "position",
945
+ "type": "tuple"
946
+ },
947
+ { "internalType": "string", "name": "actionId", "type": "string" },
948
+ { "internalType": "address", "name": "sourceSender", "type": "address" },
949
+ { "internalType": "uint64", "name": "sourceDsaId", "type": "uint64" },
950
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
951
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
952
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
953
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
954
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
955
+ ],
956
+ "name": "sourceAction",
957
+ "outputs": [],
958
+ "stateMutability": "nonpayable",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [
963
+ {
964
+ "components": [
965
+ { "internalType": "string", "name": "connector", "type": "string" },
966
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
967
+ ],
968
+ "internalType": "struct Structs.Spell[]",
969
+ "name": "sourceSpells",
970
+ "type": "tuple[]"
971
+ },
972
+ {
973
+ "components": [
974
+ { "internalType": "string", "name": "connector", "type": "string" },
975
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
976
+ ],
977
+ "internalType": "struct Structs.Spell[]",
978
+ "name": "sourceRevertSpells",
979
+ "type": "tuple[]"
980
+ },
981
+ {
982
+ "components": [
983
+ { "internalType": "string", "name": "connector", "type": "string" },
984
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
985
+ ],
986
+ "internalType": "struct Structs.Spell[]",
987
+ "name": "commonSpells",
988
+ "type": "tuple[]"
989
+ },
990
+ {
991
+ "components": [
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "address",
996
+ "name": "sourceToken",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "address",
1001
+ "name": "targetToken",
1002
+ "type": "address"
1003
+ },
1004
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1005
+ ],
1006
+ "internalType": "struct Structs.TokenInfo[]",
1007
+ "name": "supply",
1008
+ "type": "tuple[]"
1009
+ },
1010
+ {
1011
+ "components": [
1012
+ {
1013
+ "internalType": "address",
1014
+ "name": "sourceToken",
1015
+ "type": "address"
1016
+ },
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "targetToken",
1020
+ "type": "address"
1021
+ },
1022
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1023
+ ],
1024
+ "internalType": "struct Structs.TokenInfo[]",
1025
+ "name": "withdraw",
1026
+ "type": "tuple[]"
1027
+ }
1028
+ ],
1029
+ "internalType": "struct Structs.Position",
1030
+ "name": "position",
1031
+ "type": "tuple"
1032
+ },
1033
+ { "internalType": "string", "name": "actionId", "type": "string" },
1034
+ { "internalType": "address", "name": "sourceSender", "type": "address" },
1035
+ { "internalType": "uint64", "name": "sourceDsaId", "type": "uint64" },
1036
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
1037
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
1038
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
1039
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
1040
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1041
+ ],
1042
+ "name": "sourceRevertAction",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [
1049
+ {
1050
+ "components": [
1051
+ { "internalType": "string", "name": "connector", "type": "string" },
1052
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
1053
+ ],
1054
+ "internalType": "struct Structs.Spell[]",
1055
+ "name": "commonSpells",
1056
+ "type": "tuple[]"
1057
+ },
1058
+ { "internalType": "string", "name": "systemActionId", "type": "string" },
1059
+ {
1060
+ "components": [
1061
+ {
1062
+ "components": [
1063
+ {
1064
+ "internalType": "address",
1065
+ "name": "sourceToken",
1066
+ "type": "address"
1067
+ },
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "targetToken",
1071
+ "type": "address"
1072
+ },
1073
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1074
+ ],
1075
+ "internalType": "struct Structs.TokenInfo[]",
1076
+ "name": "supply",
1077
+ "type": "tuple[]"
1078
+ },
1079
+ {
1080
+ "components": [
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "sourceToken",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "targetToken",
1089
+ "type": "address"
1090
+ },
1091
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1092
+ ],
1093
+ "internalType": "struct Structs.TokenInfo[]",
1094
+ "name": "withdraw",
1095
+ "type": "tuple[]"
1096
+ }
1097
+ ],
1098
+ "internalType": "struct Structs.Position",
1099
+ "name": "position",
1100
+ "type": "tuple"
1101
+ },
1102
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
1103
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1104
+ ],
1105
+ "name": "sourceSystemAction",
1106
+ "outputs": [],
1107
+ "stateMutability": "nonpayable",
1108
+ "type": "function"
1109
+ },
1110
+ {
1111
+ "inputs": [
1112
+ {
1113
+ "components": [
1114
+ {
1115
+ "components": [
1116
+ {
1117
+ "internalType": "address",
1118
+ "name": "sourceToken",
1119
+ "type": "address"
1120
+ },
1121
+ {
1122
+ "internalType": "address",
1123
+ "name": "targetToken",
1124
+ "type": "address"
1125
+ },
1126
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1127
+ ],
1128
+ "internalType": "struct Structs.TokenInfo[]",
1129
+ "name": "supply",
1130
+ "type": "tuple[]"
1131
+ },
1132
+ {
1133
+ "components": [
1134
+ {
1135
+ "internalType": "address",
1136
+ "name": "sourceToken",
1137
+ "type": "address"
1138
+ },
1139
+ {
1140
+ "internalType": "address",
1141
+ "name": "targetToken",
1142
+ "type": "address"
1143
+ },
1144
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1145
+ ],
1146
+ "internalType": "struct Structs.TokenInfo[]",
1147
+ "name": "withdraw",
1148
+ "type": "tuple[]"
1149
+ }
1150
+ ],
1151
+ "internalType": "struct Structs.Position",
1152
+ "name": "position",
1153
+ "type": "tuple"
1154
+ },
1155
+ { "internalType": "address", "name": "sourceSender", "type": "address" },
1156
+ { "internalType": "string", "name": "actionId", "type": "string" },
1157
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
1158
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
1159
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1160
+ ],
1161
+ "name": "submitAction",
1162
+ "outputs": [],
1163
+ "stateMutability": "nonpayable",
1164
+ "type": "function"
1165
+ },
1166
+ {
1167
+ "inputs": [
1168
+ {
1169
+ "components": [
1170
+ {
1171
+ "components": [
1172
+ {
1173
+ "internalType": "address",
1174
+ "name": "sourceToken",
1175
+ "type": "address"
1176
+ },
1177
+ {
1178
+ "internalType": "address",
1179
+ "name": "targetToken",
1180
+ "type": "address"
1181
+ },
1182
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1183
+ ],
1184
+ "internalType": "struct Structs.TokenInfo[]",
1185
+ "name": "supply",
1186
+ "type": "tuple[]"
1187
+ },
1188
+ {
1189
+ "components": [
1190
+ {
1191
+ "internalType": "address",
1192
+ "name": "sourceToken",
1193
+ "type": "address"
1194
+ },
1195
+ {
1196
+ "internalType": "address",
1197
+ "name": "targetToken",
1198
+ "type": "address"
1199
+ },
1200
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1201
+ ],
1202
+ "internalType": "struct Structs.TokenInfo[]",
1203
+ "name": "withdraw",
1204
+ "type": "tuple[]"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct Structs.Position",
1208
+ "name": "position",
1209
+ "type": "tuple"
1210
+ },
1211
+ {
1212
+ "internalType": "address",
1213
+ "name": "sourceDsaSender",
1214
+ "type": "address"
1215
+ },
1216
+ { "internalType": "string", "name": "actionId", "type": "string" },
1217
+ { "internalType": "uint64", "name": "sourceDsaId", "type": "uint64" },
1218
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
1219
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
1220
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
1221
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1222
+ ],
1223
+ "name": "submitRevertAction",
1224
+ "outputs": [],
1225
+ "stateMutability": "nonpayable",
1226
+ "type": "function"
1227
+ },
1228
+ {
1229
+ "inputs": [
1230
+ { "internalType": "string", "name": "systemActionId", "type": "string" },
1231
+ {
1232
+ "components": [
1233
+ {
1234
+ "components": [
1235
+ {
1236
+ "internalType": "address",
1237
+ "name": "sourceToken",
1238
+ "type": "address"
1239
+ },
1240
+ {
1241
+ "internalType": "address",
1242
+ "name": "targetToken",
1243
+ "type": "address"
1244
+ },
1245
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1246
+ ],
1247
+ "internalType": "struct Structs.TokenInfo[]",
1248
+ "name": "supply",
1249
+ "type": "tuple[]"
1250
+ },
1251
+ {
1252
+ "components": [
1253
+ {
1254
+ "internalType": "address",
1255
+ "name": "sourceToken",
1256
+ "type": "address"
1257
+ },
1258
+ {
1259
+ "internalType": "address",
1260
+ "name": "targetToken",
1261
+ "type": "address"
1262
+ },
1263
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1264
+ ],
1265
+ "internalType": "struct Structs.TokenInfo[]",
1266
+ "name": "withdraw",
1267
+ "type": "tuple[]"
1268
+ }
1269
+ ],
1270
+ "internalType": "struct Structs.Position",
1271
+ "name": "position",
1272
+ "type": "tuple"
1273
+ },
1274
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1275
+ ],
1276
+ "name": "submitSystemAction",
1277
+ "outputs": [],
1278
+ "stateMutability": "nonpayable",
1279
+ "type": "function"
1280
+ },
1281
+ {
1282
+ "inputs": [
1283
+ {
1284
+ "components": [
1285
+ { "internalType": "string", "name": "connector", "type": "string" },
1286
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
1287
+ ],
1288
+ "internalType": "struct Structs.Spell[]",
1289
+ "name": "sourceSpells",
1290
+ "type": "tuple[]"
1291
+ },
1292
+ {
1293
+ "components": [
1294
+ { "internalType": "string", "name": "connector", "type": "string" },
1295
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
1296
+ ],
1297
+ "internalType": "struct Structs.Spell[]",
1298
+ "name": "targetSpells",
1299
+ "type": "tuple[]"
1300
+ },
1301
+ {
1302
+ "components": [
1303
+ { "internalType": "string", "name": "connector", "type": "string" },
1304
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
1305
+ ],
1306
+ "internalType": "struct Structs.Spell[]",
1307
+ "name": "commonSpells",
1308
+ "type": "tuple[]"
1309
+ },
1310
+ {
1311
+ "components": [
1312
+ {
1313
+ "components": [
1314
+ {
1315
+ "internalType": "address",
1316
+ "name": "sourceToken",
1317
+ "type": "address"
1318
+ },
1319
+ {
1320
+ "internalType": "address",
1321
+ "name": "targetToken",
1322
+ "type": "address"
1323
+ },
1324
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1325
+ ],
1326
+ "internalType": "struct Structs.TokenInfo[]",
1327
+ "name": "supply",
1328
+ "type": "tuple[]"
1329
+ },
1330
+ {
1331
+ "components": [
1332
+ {
1333
+ "internalType": "address",
1334
+ "name": "sourceToken",
1335
+ "type": "address"
1336
+ },
1337
+ {
1338
+ "internalType": "address",
1339
+ "name": "targetToken",
1340
+ "type": "address"
1341
+ },
1342
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1343
+ ],
1344
+ "internalType": "struct Structs.TokenInfo[]",
1345
+ "name": "withdraw",
1346
+ "type": "tuple[]"
1347
+ }
1348
+ ],
1349
+ "internalType": "struct Structs.Position",
1350
+ "name": "position",
1351
+ "type": "tuple"
1352
+ },
1353
+ { "internalType": "string", "name": "actionId", "type": "string" },
1354
+ { "internalType": "address", "name": "sourceSender", "type": "address" },
1355
+ { "internalType": "uint64", "name": "sourceDsaId", "type": "uint64" },
1356
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
1357
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
1358
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
1359
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
1360
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1361
+ ],
1362
+ "name": "targetAction",
1363
+ "outputs": [],
1364
+ "stateMutability": "nonpayable",
1365
+ "type": "function"
1366
+ },
1367
+ {
1368
+ "inputs": [
1369
+ {
1370
+ "components": [
1371
+ { "internalType": "string", "name": "connector", "type": "string" },
1372
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
1373
+ ],
1374
+ "internalType": "struct Structs.Spell[]",
1375
+ "name": "sourceSpells",
1376
+ "type": "tuple[]"
1377
+ },
1378
+ {
1379
+ "components": [
1380
+ {
1381
+ "components": [
1382
+ {
1383
+ "internalType": "address",
1384
+ "name": "sourceToken",
1385
+ "type": "address"
1386
+ },
1387
+ {
1388
+ "internalType": "address",
1389
+ "name": "targetToken",
1390
+ "type": "address"
1391
+ },
1392
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1393
+ ],
1394
+ "internalType": "struct Structs.TokenInfo[]",
1395
+ "name": "supply",
1396
+ "type": "tuple[]"
1397
+ },
1398
+ {
1399
+ "components": [
1400
+ {
1401
+ "internalType": "address",
1402
+ "name": "sourceToken",
1403
+ "type": "address"
1404
+ },
1405
+ {
1406
+ "internalType": "address",
1407
+ "name": "targetToken",
1408
+ "type": "address"
1409
+ },
1410
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1411
+ ],
1412
+ "internalType": "struct Structs.TokenInfo[]",
1413
+ "name": "withdraw",
1414
+ "type": "tuple[]"
1415
+ }
1416
+ ],
1417
+ "internalType": "struct Structs.Position",
1418
+ "name": "position",
1419
+ "type": "tuple"
1420
+ },
1421
+ { "internalType": "string", "name": "actionId", "type": "string" },
1422
+ { "internalType": "address", "name": "sourceSender", "type": "address" },
1423
+ { "internalType": "uint64", "name": "sourceDsaId", "type": "uint64" },
1424
+ { "internalType": "uint64", "name": "targetDsaId", "type": "uint64" },
1425
+ { "internalType": "uint256", "name": "sourceChainId", "type": "uint256" },
1426
+ { "internalType": "uint256", "name": "targetChainId", "type": "uint256" },
1427
+ { "internalType": "uint256", "name": "_vnonce", "type": "uint256" },
1428
+ { "internalType": "bytes", "name": "metadata", "type": "bytes" }
1429
+ ],
1430
+ "name": "targetRevertAction",
1431
+ "outputs": [],
1432
+ "stateMutability": "nonpayable",
1433
+ "type": "function"
1434
+ },
1435
+ { "stateMutability": "payable", "type": "receive" }
1436
+ ]