@instadapp/interop-x 0.0.0-dev.e53015f → 0.0.0-dev.ea4acf6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (326) hide show
  1. package/.github/workflows/ci.yml +19 -0
  2. package/dist/package.json +23 -13
  3. package/dist/src/abi/aaveV2Resolver.json +832 -0
  4. package/dist/src/abi/aaveV3Resolver.json +628 -0
  5. package/dist/src/abi/balanceResolver.json +211 -0
  6. package/dist/src/abi/connectors/index.js +36 -0
  7. package/dist/src/abi/connectors/v1/aave.js +148 -0
  8. package/dist/src/abi/connectors/v1/aave_claim.js +4 -0
  9. package/dist/src/abi/connectors/v1/aave_migrate.js +109 -0
  10. package/dist/src/abi/connectors/v1/aave_polygon_migrate.js +110 -0
  11. package/dist/src/abi/connectors/v1/aave_stake.js +4 -0
  12. package/dist/src/abi/connectors/v1/aave_v1_import.js +54 -0
  13. package/dist/src/abi/connectors/v1/aave_v2.js +230 -0
  14. package/dist/src/abi/connectors/v1/aave_v2_import.js +59 -0
  15. package/dist/src/abi/connectors/v1/authority.js +100 -0
  16. package/dist/src/abi/connectors/v1/basic.js +136 -0
  17. package/dist/src/abi/connectors/v1/chi.js +36 -0
  18. package/dist/src/abi/connectors/v1/comp.js +4 -0
  19. package/dist/src/abi/connectors/v1/compound.js +4 -0
  20. package/dist/src/abi/connectors/v1/compoundImport.js +69 -0
  21. package/dist/src/abi/connectors/v1/compoundImport_v2.js +4 -0
  22. package/dist/src/abi/connectors/v1/compound_old.js +448 -0
  23. package/dist/src/abi/connectors/v1/curve.js +140 -0
  24. package/dist/src/abi/connectors/v1/curve_claim.js +63 -0
  25. package/dist/src/abi/connectors/v1/curve_gauge.js +158 -0
  26. package/dist/src/abi/connectors/v1/curve_sbtc.js +140 -0
  27. package/dist/src/abi/connectors/v1/curve_susd.js +140 -0
  28. package/dist/src/abi/connectors/v1/curve_three.js +79 -0
  29. package/dist/src/abi/connectors/v1/curve_y.js +140 -0
  30. package/dist/src/abi/connectors/v1/dsa_migrate_v1_to_v2.js +4 -0
  31. package/dist/src/abi/connectors/v1/dydx.js +148 -0
  32. package/dist/src/abi/connectors/v1/dydx_flash.js +52 -0
  33. package/dist/src/abi/connectors/v1/fee.js +50 -0
  34. package/dist/src/abi/connectors/v1/gelato.js +1138 -0
  35. package/dist/src/abi/connectors/v1/index.js +58 -0
  36. package/dist/src/abi/connectors/v1/instapool.js +439 -0
  37. package/dist/src/abi/connectors/v1/instapool_v2.js +126 -0
  38. package/dist/src/abi/connectors/v1/kyber.js +117 -0
  39. package/dist/src/abi/connectors/v1/maker.js +480 -0
  40. package/dist/src/abi/connectors/v1/maker_old.js +300 -0
  41. package/dist/src/abi/connectors/v1/math.js +43 -0
  42. package/dist/src/abi/connectors/v1/migrate.js +46 -0
  43. package/dist/src/abi/connectors/v1/oasis.js +198 -0
  44. package/dist/src/abi/connectors/v1/oneInch.js +160 -0
  45. package/dist/src/abi/connectors/v1/polygon_bridge.js +4 -0
  46. package/dist/src/abi/connectors/v1/refinance.js +4 -0
  47. package/dist/src/abi/connectors/v1/staking.js +220 -0
  48. package/dist/src/abi/connectors/v1/swerve.js +179 -0
  49. package/dist/src/abi/connectors/v1/uniswap.js +297 -0
  50. package/dist/src/abi/connectors/v2/1INCH-A.js +4 -0
  51. package/dist/src/abi/connectors/v2/1INCH-B.js +4 -0
  52. package/dist/src/abi/connectors/v2/AAVE-CLAIM-A.js +4 -0
  53. package/dist/src/abi/connectors/v2/AAVE-CLAIM-B.js +166 -0
  54. package/dist/src/abi/connectors/v2/AAVE-STAKE-A.js +4 -0
  55. package/dist/src/abi/connectors/v2/AAVE-V1-A.js +130 -0
  56. package/dist/src/abi/connectors/v2/AAVE-V1-IMPORT-A.js +4 -0
  57. package/dist/src/abi/connectors/v2/AAVE-V2-A.js +230 -0
  58. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-A.js +4 -0
  59. package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-B.js +225 -0
  60. package/dist/src/abi/connectors/v2/AUTHORITY-A.js +100 -0
  61. package/dist/src/abi/connectors/v2/B-COMPOUND-A.js +4 -0
  62. package/dist/src/abi/connectors/v2/B-LIQUITY-A.js +4 -0
  63. package/dist/src/abi/connectors/v2/B-MAKERDAO-A.js +4 -0
  64. package/dist/src/abi/connectors/v2/BASIC-A.js +136 -0
  65. package/dist/src/abi/connectors/v2/BASIC-B.js +4 -0
  66. package/dist/src/abi/connectors/v2/BASIC-C.js +4 -0
  67. package/dist/src/abi/connectors/v2/COMP-A.js +4 -0
  68. package/dist/src/abi/connectors/v2/COMPOUND-A.js +4 -0
  69. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-A.js +4 -0
  70. package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-B.js +195 -0
  71. package/dist/src/abi/connectors/v2/G-UNISWAP-A.js +4 -0
  72. package/dist/src/abi/connectors/v2/GELATO-AAVE-A.js +4 -0
  73. package/dist/src/abi/connectors/v2/INST-A.js +4 -0
  74. package/dist/src/abi/connectors/v2/INST-LM-A.js +4 -0
  75. package/dist/src/abi/connectors/v2/INST-STAKING-A.js +4 -0
  76. package/dist/src/abi/connectors/v2/INST-STAKING-B.js +4 -0
  77. package/dist/src/abi/connectors/v2/INSTAPOOL-A.js +4 -0
  78. package/dist/src/abi/connectors/v2/LIQUITY-A.js +4 -0
  79. package/dist/src/abi/connectors/v2/MAKERDAO-A.js +4 -0
  80. package/dist/src/abi/connectors/v2/MAKERDAO-CLAIM-A.js +136 -0
  81. package/dist/src/abi/connectors/v2/PARASWAP-A.js +4 -0
  82. package/dist/src/abi/connectors/v2/POLYGON-BRIDGE-A.js +4 -0
  83. package/dist/src/abi/connectors/v2/REFINANCE-A.js +4 -0
  84. package/dist/src/abi/connectors/v2/REFLEXER-A.js +4 -0
  85. package/dist/src/abi/connectors/v2/STAKE-ERC20-A.js +4 -0
  86. package/dist/src/abi/connectors/v2/UNISWAP-A.js +297 -0
  87. package/dist/src/abi/connectors/v2/UNISWAP-V2-A.js +4 -0
  88. package/dist/src/abi/connectors/v2/UNISWAP-V3-A.js +4 -0
  89. package/dist/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.js +4 -0
  90. package/dist/src/abi/connectors/v2/WETH-A.js +4 -0
  91. package/dist/src/abi/connectors/v2/YEARN-VAULT-A.js +4 -0
  92. package/dist/src/abi/connectors/v2/index.js +89 -0
  93. package/dist/src/abi/index.js +12 -4
  94. package/dist/src/abi/instList.json +232 -0
  95. package/dist/src/abi/interopX.json +1436 -0
  96. package/dist/src/alias.js +10 -0
  97. package/dist/src/api/index.js +10 -0
  98. package/dist/src/constants/addresses.js +12 -7
  99. package/dist/src/constants/blockConfirmations.js +8 -0
  100. package/dist/src/constants/capPerChain.js +8 -0
  101. package/dist/src/constants/index.js +3 -1
  102. package/dist/src/constants/tokens.js +30 -7
  103. package/dist/src/constants/wrappedNativeToken.js +8 -0
  104. package/dist/src/crons/index.js +3 -0
  105. package/dist/src/crons/prices.js +16 -0
  106. package/dist/src/db/models/transaction.js +42 -16
  107. package/dist/src/errors/index.js +30 -0
  108. package/dist/src/gnosis/actions/aaveV2/index.js +11 -0
  109. package/dist/src/gnosis/actions/aaveV2/source.js +98 -0
  110. package/dist/src/gnosis/actions/aaveV2/target.js +100 -0
  111. package/dist/src/gnosis/actions/aaveV3/index.js +11 -0
  112. package/dist/src/gnosis/actions/aaveV3/source.js +74 -0
  113. package/dist/src/gnosis/actions/aaveV3/target.js +87 -0
  114. package/dist/src/gnosis/actions/index.js +11 -0
  115. package/dist/src/gnosis/index.js +20 -0
  116. package/dist/src/index.js +24 -22
  117. package/dist/src/net/protocol/dial/SignatureDialProtocol.js +9 -10
  118. package/dist/src/net/protocol/dial/{SignatureDialProtocol.1.js → TransactionStatusDialProtocol.js} +2 -0
  119. package/dist/src/net/protocol/index.js +17 -7
  120. package/dist/src/providers/index.js +17 -0
  121. package/dist/src/providers/retry-provider.js +45 -0
  122. package/dist/src/services/Prices.js +74 -0
  123. package/dist/src/services/index.js +8 -0
  124. package/dist/src/tasks/AutoUpdateTask.js +6 -2
  125. package/dist/src/tasks/InteropX/ProcessSubmitEvents.js +273 -0
  126. package/dist/src/tasks/InteropX/ProcessValidateEvents.js +203 -0
  127. package/dist/src/tasks/InteropX/SyncLogExecuteEvents.js +113 -0
  128. package/dist/src/tasks/InteropX/SyncLogSubmitEvents.js +88 -0
  129. package/dist/src/tasks/InteropX/SyncLogValidateEvents.js +106 -0
  130. package/dist/src/tasks/Transactions/SyncTransactionStatusTask.js +8 -3
  131. package/dist/src/tasks/index.js +20 -19
  132. package/dist/src/typechain/{InteropBridgeToken.js → AaveV2Resolver.js} +0 -0
  133. package/dist/src/typechain/{InteropXGateway.js → AaveV3Resolver.js} +0 -0
  134. package/dist/src/typechain/BalanceResolver.js +2 -0
  135. package/dist/src/typechain/InstList.js +2 -0
  136. package/dist/src/typechain/InteropX.js +2 -0
  137. package/dist/src/typechain/factories/AaveV2Resolver__factory.js +1191 -0
  138. package/dist/src/typechain/factories/AaveV3Resolver__factory.js +887 -0
  139. package/dist/src/typechain/factories/BalanceResolver__factory.js +228 -0
  140. package/dist/src/typechain/factories/InstList__factory.js +249 -0
  141. package/dist/src/typechain/factories/InteropX__factory.js +1928 -0
  142. package/dist/src/typechain/factories/index.js +11 -5
  143. package/dist/src/typechain/index.js +11 -5
  144. package/dist/src/utils/async.js +18 -0
  145. package/dist/src/utils/dsa.js +36 -0
  146. package/dist/src/utils/formatting.js +67 -0
  147. package/dist/src/utils/gnosis.js +87 -0
  148. package/dist/src/utils/http.js +10 -0
  149. package/dist/src/utils/index.js +22 -235
  150. package/dist/src/utils/interop.js +16 -0
  151. package/dist/src/utils/tokens.js +22 -0
  152. package/dist/src/utils/validate.js +111 -0
  153. package/dist/src/utils/web3.js +93 -0
  154. package/package.json +23 -13
  155. package/src/abi/aaveV2Resolver.json +832 -0
  156. package/src/abi/aaveV3Resolver.json +628 -0
  157. package/src/abi/balanceResolver.json +211 -0
  158. package/src/abi/connectors/index.ts +14 -0
  159. package/src/abi/connectors/v1/aave.ts +147 -0
  160. package/src/abi/connectors/v1/aave_claim.ts +3 -0
  161. package/src/abi/connectors/v1/aave_migrate.ts +108 -0
  162. package/src/abi/connectors/v1/aave_polygon_migrate.ts +109 -0
  163. package/src/abi/connectors/v1/aave_stake.ts +3 -0
  164. package/src/abi/connectors/v1/aave_v1_import.ts +53 -0
  165. package/src/abi/connectors/v1/aave_v2.ts +229 -0
  166. package/src/abi/connectors/v1/aave_v2_import.ts +58 -0
  167. package/src/abi/connectors/v1/authority.ts +99 -0
  168. package/src/abi/connectors/v1/basic.ts +135 -0
  169. package/src/abi/connectors/v1/chi.ts +35 -0
  170. package/src/abi/connectors/v1/comp.ts +3 -0
  171. package/src/abi/connectors/v1/compound.ts +3 -0
  172. package/src/abi/connectors/v1/compoundImport.ts +68 -0
  173. package/src/abi/connectors/v1/compoundImport_v2.ts +3 -0
  174. package/src/abi/connectors/v1/compound_old.ts +447 -0
  175. package/src/abi/connectors/v1/curve.ts +139 -0
  176. package/src/abi/connectors/v1/curve_claim.ts +62 -0
  177. package/src/abi/connectors/v1/curve_gauge.ts +157 -0
  178. package/src/abi/connectors/v1/curve_sbtc.ts +139 -0
  179. package/src/abi/connectors/v1/curve_susd.ts +139 -0
  180. package/src/abi/connectors/v1/curve_three.ts +78 -0
  181. package/src/abi/connectors/v1/curve_y.ts +139 -0
  182. package/src/abi/connectors/v1/dsa_migrate_v1_to_v2.ts +3 -0
  183. package/src/abi/connectors/v1/dydx.ts +147 -0
  184. package/src/abi/connectors/v1/dydx_flash.ts +51 -0
  185. package/src/abi/connectors/v1/fee.ts +49 -0
  186. package/src/abi/connectors/v1/gelato.ts +1137 -0
  187. package/src/abi/connectors/v1/index.ts +42 -0
  188. package/src/abi/connectors/v1/instapool.ts +438 -0
  189. package/src/abi/connectors/v1/instapool_v2.ts +125 -0
  190. package/src/abi/connectors/v1/kyber.ts +116 -0
  191. package/src/abi/connectors/v1/maker.ts +479 -0
  192. package/src/abi/connectors/v1/maker_old.ts +299 -0
  193. package/src/abi/connectors/v1/math.ts +42 -0
  194. package/src/abi/connectors/v1/migrate.ts +45 -0
  195. package/src/abi/connectors/v1/oasis.ts +197 -0
  196. package/src/abi/connectors/v1/oneInch.ts +159 -0
  197. package/src/abi/connectors/v1/polygon_bridge.ts +3 -0
  198. package/src/abi/connectors/v1/refinance.ts +3 -0
  199. package/src/abi/connectors/v1/staking.ts +219 -0
  200. package/src/abi/connectors/v1/swerve.ts +178 -0
  201. package/src/abi/connectors/v1/uniswap.ts +297 -0
  202. package/src/abi/connectors/v2/1INCH-A.ts +3 -0
  203. package/src/abi/connectors/v2/1INCH-B.ts +3 -0
  204. package/src/abi/connectors/v2/AAVE-CLAIM-A.ts +3 -0
  205. package/src/abi/connectors/v2/AAVE-CLAIM-B.ts +165 -0
  206. package/src/abi/connectors/v2/AAVE-STAKE-A.ts +3 -0
  207. package/src/abi/connectors/v2/AAVE-V1-A.ts +130 -0
  208. package/src/abi/connectors/v2/AAVE-V1-IMPORT-A.ts +3 -0
  209. package/src/abi/connectors/v2/AAVE-V2-A.ts +229 -0
  210. package/src/abi/connectors/v2/AAVE-V2-IMPORT-A.ts +3 -0
  211. package/src/abi/connectors/v2/AAVE-V2-IMPORT-B.ts +224 -0
  212. package/src/abi/connectors/v2/AUTHORITY-A.ts +99 -0
  213. package/src/abi/connectors/v2/B-COMPOUND-A.ts +3 -0
  214. package/src/abi/connectors/v2/B-LIQUITY-A.ts +3 -0
  215. package/src/abi/connectors/v2/B-MAKERDAO-A.ts +3 -0
  216. package/src/abi/connectors/v2/BASIC-A.ts +135 -0
  217. package/src/abi/connectors/v2/BASIC-B.ts +3 -0
  218. package/src/abi/connectors/v2/BASIC-C.ts +3 -0
  219. package/src/abi/connectors/v2/COMP-A.ts +3 -0
  220. package/src/abi/connectors/v2/COMPOUND-A.ts +3 -0
  221. package/src/abi/connectors/v2/COMPOUND-IMPORT-A.ts +3 -0
  222. package/src/abi/connectors/v2/COMPOUND-IMPORT-B.ts +194 -0
  223. package/src/abi/connectors/v2/G-UNISWAP-A.ts +3 -0
  224. package/src/abi/connectors/v2/GELATO-AAVE-A.ts +3 -0
  225. package/src/abi/connectors/v2/INST-A.ts +3 -0
  226. package/src/abi/connectors/v2/INST-LM-A.ts +3 -0
  227. package/src/abi/connectors/v2/INST-STAKING-A.ts +3 -0
  228. package/src/abi/connectors/v2/INST-STAKING-B.ts +3 -0
  229. package/src/abi/connectors/v2/INSTAPOOL-A.ts +3 -0
  230. package/src/abi/connectors/v2/LIQUITY-A.ts +3 -0
  231. package/src/abi/connectors/v2/MAKERDAO-A.ts +3 -0
  232. package/src/abi/connectors/v2/MAKERDAO-CLAIM-A.ts +135 -0
  233. package/src/abi/connectors/v2/PARASWAP-A.ts +3 -0
  234. package/src/abi/connectors/v2/POLYGON-BRIDGE-A.ts +3 -0
  235. package/src/abi/connectors/v2/REFINANCE-A.ts +3 -0
  236. package/src/abi/connectors/v2/REFLEXER-A.ts +3 -0
  237. package/src/abi/connectors/v2/STAKE-ERC20-A.ts +3 -0
  238. package/src/abi/connectors/v2/UNISWAP-A.ts +297 -0
  239. package/src/abi/connectors/v2/UNISWAP-V2-A.ts +3 -0
  240. package/src/abi/connectors/v2/UNISWAP-V3-A.ts +3 -0
  241. package/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.ts +3 -0
  242. package/src/abi/connectors/v2/WETH-A.ts +3 -0
  243. package/src/abi/connectors/v2/YEARN-VAULT-A.ts +3 -0
  244. package/src/abi/connectors/v2/index.ts +87 -0
  245. package/src/abi/index.ts +15 -7
  246. package/src/abi/instList.json +232 -0
  247. package/src/abi/interopX.json +1436 -0
  248. package/src/alias.ts +6 -0
  249. package/src/api/index.ts +11 -0
  250. package/src/constants/addresses.ts +24 -8
  251. package/src/constants/blockConfirmations.ts +5 -0
  252. package/src/constants/capPerChain.ts +5 -0
  253. package/src/constants/index.ts +3 -1
  254. package/src/constants/tokens.ts +31 -8
  255. package/src/constants/wrappedNativeToken.ts +5 -0
  256. package/src/crons/index.ts +1 -0
  257. package/src/crons/prices.ts +12 -0
  258. package/src/db/models/transaction.ts +160 -66
  259. package/src/errors/index.ts +26 -0
  260. package/src/gnosis/actions/aaveV2/index.ts +9 -0
  261. package/src/gnosis/actions/aaveV2/source.ts +171 -0
  262. package/src/gnosis/actions/aaveV2/target.ts +160 -0
  263. package/src/gnosis/actions/aaveV3/index.ts +9 -0
  264. package/src/gnosis/actions/aaveV3/source.ts +119 -0
  265. package/src/gnosis/actions/aaveV3/target.ts +142 -0
  266. package/src/gnosis/actions/index.ts +7 -0
  267. package/src/gnosis/index.ts +19 -0
  268. package/src/index.ts +31 -23
  269. package/src/net/protocol/dial/SignatureDialProtocol.ts +12 -13
  270. package/src/net/protocol/dial/{SignatureDialProtocol.1.ts → TransactionStatusDialProtocol.ts} +3 -1
  271. package/src/net/protocol/index.ts +17 -7
  272. package/src/providers/index.ts +1 -0
  273. package/src/providers/retry-provider.ts +51 -0
  274. package/src/services/Prices.ts +89 -0
  275. package/src/services/index.ts +1 -0
  276. package/src/tasks/AutoUpdateTask.ts +12 -9
  277. package/src/tasks/InteropX/ProcessSubmitEvents.ts +384 -0
  278. package/src/tasks/InteropX/ProcessValidateEvents.ts +297 -0
  279. package/src/tasks/InteropX/SyncLogExecuteEvents.ts +161 -0
  280. package/src/tasks/InteropX/SyncLogSubmitEvents.ts +138 -0
  281. package/src/tasks/InteropX/SyncLogValidateEvents.ts +151 -0
  282. package/src/tasks/Transactions/SyncTransactionStatusTask.ts +8 -3
  283. package/src/tasks/index.ts +25 -20
  284. package/src/typechain/AaveV2Resolver.ts +1017 -0
  285. package/src/typechain/AaveV3Resolver.ts +935 -0
  286. package/src/typechain/BalanceResolver.ts +266 -0
  287. package/src/typechain/InstList.ts +402 -0
  288. package/src/typechain/InteropX.ts +1216 -0
  289. package/src/typechain/factories/AaveV2Resolver__factory.ts +1198 -0
  290. package/src/typechain/factories/AaveV3Resolver__factory.ts +894 -0
  291. package/src/typechain/factories/BalanceResolver__factory.ts +235 -0
  292. package/src/typechain/factories/InstList__factory.ts +253 -0
  293. package/src/typechain/factories/InteropX__factory.ts +1932 -0
  294. package/src/typechain/factories/index.ts +5 -2
  295. package/src/typechain/index.ts +10 -4
  296. package/src/utils/async.ts +22 -0
  297. package/src/utils/dsa.ts +56 -0
  298. package/src/utils/formatting.ts +68 -0
  299. package/src/utils/gnosis.ts +166 -0
  300. package/src/utils/http.ts +6 -0
  301. package/src/utils/index.ts +9 -319
  302. package/src/utils/interop.ts +28 -0
  303. package/src/utils/tokens.ts +21 -0
  304. package/src/utils/validate.ts +179 -0
  305. package/src/utils/web3.ts +132 -0
  306. package/tsconfig.json +7 -2
  307. package/dist/src/abi/interopBridgeToken.json +0 -286
  308. package/dist/src/abi/interopXGateway.json +0 -184
  309. package/dist/src/constants/itokens.js +0 -13
  310. package/dist/src/tasks/InteropBridge/ProcessWithdrawEvents.js +0 -146
  311. package/dist/src/tasks/InteropBridge/SyncWithdrawEvents.js +0 -69
  312. package/dist/src/tasks/InteropXGateway/ProcessDepositEvents.js +0 -149
  313. package/dist/src/tasks/InteropXGateway/SyncDepositEvents.js +0 -74
  314. package/dist/src/typechain/factories/InteropBridgeToken__factory.js +0 -459
  315. package/dist/src/typechain/factories/InteropXGateway__factory.js +0 -265
  316. package/src/abi/interopBridgeToken.json +0 -286
  317. package/src/abi/interopXGateway.json +0 -184
  318. package/src/constants/itokens.ts +0 -10
  319. package/src/tasks/InteropBridge/ProcessWithdrawEvents.ts +0 -231
  320. package/src/tasks/InteropBridge/SyncWithdrawEvents.ts +0 -119
  321. package/src/tasks/InteropXGateway/ProcessDepositEvents.ts +0 -243
  322. package/src/tasks/InteropXGateway/SyncDepositEvents.ts +0 -124
  323. package/src/typechain/InteropBridgeToken.ts +0 -686
  324. package/src/typechain/InteropXGateway.ts +0 -407
  325. package/src/typechain/factories/InteropBridgeToken__factory.ts +0 -466
  326. package/src/typechain/factories/InteropXGateway__factory.ts +0 -272
@@ -0,0 +1,1138 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.gelato = void 0;
4
+ exports.gelato = [
5
+ {
6
+ inputs: [{ internalType: "uint256", name: "_id", type: "uint256" }],
7
+ stateMutability: "nonpayable",
8
+ type: "constructor",
9
+ },
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ components: [
15
+ { internalType: "uint256", name: "id", type: "uint256" },
16
+ {
17
+ internalType: "address",
18
+ name: "userProxy",
19
+ type: "address",
20
+ },
21
+ {
22
+ components: [
23
+ {
24
+ internalType: "address",
25
+ name: "addr",
26
+ type: "address",
27
+ },
28
+ {
29
+ internalType: "address",
30
+ name: "module",
31
+ type: "address",
32
+ },
33
+ ],
34
+ internalType: "struct Provider",
35
+ name: "provider",
36
+ type: "tuple",
37
+ },
38
+ { internalType: "uint256", name: "index", type: "uint256" },
39
+ {
40
+ components: [
41
+ {
42
+ components: [
43
+ {
44
+ internalType: "address",
45
+ name: "inst",
46
+ type: "address",
47
+ },
48
+ {
49
+ internalType: "bytes",
50
+ name: "data",
51
+ type: "bytes",
52
+ },
53
+ ],
54
+ internalType: "struct Condition[]",
55
+ name: "conditions",
56
+ type: "tuple[]",
57
+ },
58
+ {
59
+ components: [
60
+ {
61
+ internalType: "address",
62
+ name: "addr",
63
+ type: "address",
64
+ },
65
+ {
66
+ internalType: "bytes",
67
+ name: "data",
68
+ type: "bytes",
69
+ },
70
+ {
71
+ internalType: "enum Operation",
72
+ name: "operation",
73
+ type: "uint8",
74
+ },
75
+ {
76
+ internalType: "enum DataFlow",
77
+ name: "dataFlow",
78
+ type: "uint8",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "value",
83
+ type: "uint256",
84
+ },
85
+ {
86
+ internalType: "bool",
87
+ name: "termsOkCheck",
88
+ type: "bool",
89
+ },
90
+ ],
91
+ internalType: "struct Action[]",
92
+ name: "actions",
93
+ type: "tuple[]",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "selfProviderGasLimit",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ internalType: "uint256",
102
+ name: "selfProviderGasPriceCeil",
103
+ type: "uint256",
104
+ },
105
+ ],
106
+ internalType: "struct Task[]",
107
+ name: "tasks",
108
+ type: "tuple[]",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "expiryDate",
113
+ type: "uint256",
114
+ },
115
+ { internalType: "uint256", name: "cycleId", type: "uint256" },
116
+ {
117
+ internalType: "uint256",
118
+ name: "submissionsLeft",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ indexed: true,
123
+ internalType: "struct TaskReceipt[]",
124
+ name: "taskReceipt",
125
+ type: "tuple[]",
126
+ },
127
+ {
128
+ indexed: false,
129
+ internalType: "uint256",
130
+ name: "getId",
131
+ type: "uint256",
132
+ },
133
+ {
134
+ indexed: false,
135
+ internalType: "uint256",
136
+ name: "setId",
137
+ type: "uint256",
138
+ },
139
+ ],
140
+ name: "LogMultiCancelTasks",
141
+ type: "event",
142
+ },
143
+ {
144
+ anonymous: false,
145
+ inputs: [
146
+ {
147
+ indexed: true,
148
+ internalType: "address",
149
+ name: "executor",
150
+ type: "address",
151
+ },
152
+ {
153
+ components: [
154
+ {
155
+ internalType: "address[]",
156
+ name: "conditions",
157
+ type: "address[]",
158
+ },
159
+ {
160
+ components: [
161
+ {
162
+ internalType: "address",
163
+ name: "addr",
164
+ type: "address",
165
+ },
166
+ { internalType: "bytes", name: "data", type: "bytes" },
167
+ {
168
+ internalType: "enum Operation",
169
+ name: "operation",
170
+ type: "uint8",
171
+ },
172
+ {
173
+ internalType: "enum DataFlow",
174
+ name: "dataFlow",
175
+ type: "uint8",
176
+ },
177
+ {
178
+ internalType: "uint256",
179
+ name: "value",
180
+ type: "uint256",
181
+ },
182
+ {
183
+ internalType: "bool",
184
+ name: "termsOkCheck",
185
+ type: "bool",
186
+ },
187
+ ],
188
+ internalType: "struct Action[]",
189
+ name: "actions",
190
+ type: "tuple[]",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "gasPriceCeil",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ indexed: true,
199
+ internalType: "struct TaskSpec[]",
200
+ name: "taskspecs",
201
+ type: "tuple[]",
202
+ },
203
+ {
204
+ indexed: true,
205
+ internalType: "address[]",
206
+ name: "modules",
207
+ type: "address[]",
208
+ },
209
+ {
210
+ indexed: false,
211
+ internalType: "uint256",
212
+ name: "ethToDeposit",
213
+ type: "uint256",
214
+ },
215
+ {
216
+ indexed: false,
217
+ internalType: "uint256",
218
+ name: "getId",
219
+ type: "uint256",
220
+ },
221
+ {
222
+ indexed: false,
223
+ internalType: "uint256",
224
+ name: "setId",
225
+ type: "uint256",
226
+ },
227
+ ],
228
+ name: "LogMultiProvide",
229
+ type: "event",
230
+ },
231
+ {
232
+ anonymous: false,
233
+ inputs: [
234
+ {
235
+ components: [
236
+ {
237
+ internalType: "address[]",
238
+ name: "conditions",
239
+ type: "address[]",
240
+ },
241
+ {
242
+ components: [
243
+ {
244
+ internalType: "address",
245
+ name: "addr",
246
+ type: "address",
247
+ },
248
+ { internalType: "bytes", name: "data", type: "bytes" },
249
+ {
250
+ internalType: "enum Operation",
251
+ name: "operation",
252
+ type: "uint8",
253
+ },
254
+ {
255
+ internalType: "enum DataFlow",
256
+ name: "dataFlow",
257
+ type: "uint8",
258
+ },
259
+ {
260
+ internalType: "uint256",
261
+ name: "value",
262
+ type: "uint256",
263
+ },
264
+ {
265
+ internalType: "bool",
266
+ name: "termsOkCheck",
267
+ type: "bool",
268
+ },
269
+ ],
270
+ internalType: "struct Action[]",
271
+ name: "actions",
272
+ type: "tuple[]",
273
+ },
274
+ {
275
+ internalType: "uint256",
276
+ name: "gasPriceCeil",
277
+ type: "uint256",
278
+ },
279
+ ],
280
+ indexed: true,
281
+ internalType: "struct TaskSpec[]",
282
+ name: "taskspecs",
283
+ type: "tuple[]",
284
+ },
285
+ {
286
+ indexed: true,
287
+ internalType: "address[]",
288
+ name: "modules",
289
+ type: "address[]",
290
+ },
291
+ {
292
+ indexed: false,
293
+ internalType: "uint256",
294
+ name: "ethToWithdraw",
295
+ type: "uint256",
296
+ },
297
+ {
298
+ indexed: false,
299
+ internalType: "uint256",
300
+ name: "getId",
301
+ type: "uint256",
302
+ },
303
+ {
304
+ indexed: false,
305
+ internalType: "uint256",
306
+ name: "setId",
307
+ type: "uint256",
308
+ },
309
+ ],
310
+ name: "LogMultiUnprovide",
311
+ type: "event",
312
+ },
313
+ {
314
+ anonymous: false,
315
+ inputs: [
316
+ {
317
+ components: [
318
+ { internalType: "address", name: "addr", type: "address" },
319
+ { internalType: "address", name: "module", type: "address" },
320
+ ],
321
+ indexed: true,
322
+ internalType: "struct Provider",
323
+ name: "provider",
324
+ type: "tuple",
325
+ },
326
+ {
327
+ components: [
328
+ {
329
+ components: [
330
+ {
331
+ internalType: "address",
332
+ name: "inst",
333
+ type: "address",
334
+ },
335
+ { internalType: "bytes", name: "data", type: "bytes" },
336
+ ],
337
+ internalType: "struct Condition[]",
338
+ name: "conditions",
339
+ type: "tuple[]",
340
+ },
341
+ {
342
+ components: [
343
+ {
344
+ internalType: "address",
345
+ name: "addr",
346
+ type: "address",
347
+ },
348
+ { internalType: "bytes", name: "data", type: "bytes" },
349
+ {
350
+ internalType: "enum Operation",
351
+ name: "operation",
352
+ type: "uint8",
353
+ },
354
+ {
355
+ internalType: "enum DataFlow",
356
+ name: "dataFlow",
357
+ type: "uint8",
358
+ },
359
+ {
360
+ internalType: "uint256",
361
+ name: "value",
362
+ type: "uint256",
363
+ },
364
+ {
365
+ internalType: "bool",
366
+ name: "termsOkCheck",
367
+ type: "bool",
368
+ },
369
+ ],
370
+ internalType: "struct Action[]",
371
+ name: "actions",
372
+ type: "tuple[]",
373
+ },
374
+ {
375
+ internalType: "uint256",
376
+ name: "selfProviderGasLimit",
377
+ type: "uint256",
378
+ },
379
+ {
380
+ internalType: "uint256",
381
+ name: "selfProviderGasPriceCeil",
382
+ type: "uint256",
383
+ },
384
+ ],
385
+ indexed: true,
386
+ internalType: "struct Task",
387
+ name: "task",
388
+ type: "tuple",
389
+ },
390
+ {
391
+ indexed: true,
392
+ internalType: "uint256",
393
+ name: "expiryDate",
394
+ type: "uint256",
395
+ },
396
+ {
397
+ indexed: false,
398
+ internalType: "uint256",
399
+ name: "getId",
400
+ type: "uint256",
401
+ },
402
+ {
403
+ indexed: false,
404
+ internalType: "uint256",
405
+ name: "setId",
406
+ type: "uint256",
407
+ },
408
+ ],
409
+ name: "LogSubmitTask",
410
+ type: "event",
411
+ },
412
+ {
413
+ anonymous: false,
414
+ inputs: [
415
+ {
416
+ components: [
417
+ { internalType: "address", name: "addr", type: "address" },
418
+ { internalType: "address", name: "module", type: "address" },
419
+ ],
420
+ indexed: true,
421
+ internalType: "struct Provider",
422
+ name: "provider",
423
+ type: "tuple",
424
+ },
425
+ {
426
+ components: [
427
+ {
428
+ components: [
429
+ {
430
+ internalType: "address",
431
+ name: "inst",
432
+ type: "address",
433
+ },
434
+ { internalType: "bytes", name: "data", type: "bytes" },
435
+ ],
436
+ internalType: "struct Condition[]",
437
+ name: "conditions",
438
+ type: "tuple[]",
439
+ },
440
+ {
441
+ components: [
442
+ {
443
+ internalType: "address",
444
+ name: "addr",
445
+ type: "address",
446
+ },
447
+ { internalType: "bytes", name: "data", type: "bytes" },
448
+ {
449
+ internalType: "enum Operation",
450
+ name: "operation",
451
+ type: "uint8",
452
+ },
453
+ {
454
+ internalType: "enum DataFlow",
455
+ name: "dataFlow",
456
+ type: "uint8",
457
+ },
458
+ {
459
+ internalType: "uint256",
460
+ name: "value",
461
+ type: "uint256",
462
+ },
463
+ {
464
+ internalType: "bool",
465
+ name: "termsOkCheck",
466
+ type: "bool",
467
+ },
468
+ ],
469
+ internalType: "struct Action[]",
470
+ name: "actions",
471
+ type: "tuple[]",
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "selfProviderGasLimit",
476
+ type: "uint256",
477
+ },
478
+ {
479
+ internalType: "uint256",
480
+ name: "selfProviderGasPriceCeil",
481
+ type: "uint256",
482
+ },
483
+ ],
484
+ indexed: true,
485
+ internalType: "struct Task[]",
486
+ name: "tasks",
487
+ type: "tuple[]",
488
+ },
489
+ {
490
+ indexed: true,
491
+ internalType: "uint256",
492
+ name: "expiryDate",
493
+ type: "uint256",
494
+ },
495
+ {
496
+ indexed: false,
497
+ internalType: "uint256",
498
+ name: "getId",
499
+ type: "uint256",
500
+ },
501
+ {
502
+ indexed: false,
503
+ internalType: "uint256",
504
+ name: "setId",
505
+ type: "uint256",
506
+ },
507
+ ],
508
+ name: "LogSubmitTaskChain",
509
+ type: "event",
510
+ },
511
+ {
512
+ anonymous: false,
513
+ inputs: [
514
+ {
515
+ components: [
516
+ { internalType: "address", name: "addr", type: "address" },
517
+ { internalType: "address", name: "module", type: "address" },
518
+ ],
519
+ indexed: true,
520
+ internalType: "struct Provider",
521
+ name: "provider",
522
+ type: "tuple",
523
+ },
524
+ {
525
+ components: [
526
+ {
527
+ components: [
528
+ {
529
+ internalType: "address",
530
+ name: "inst",
531
+ type: "address",
532
+ },
533
+ { internalType: "bytes", name: "data", type: "bytes" },
534
+ ],
535
+ internalType: "struct Condition[]",
536
+ name: "conditions",
537
+ type: "tuple[]",
538
+ },
539
+ {
540
+ components: [
541
+ {
542
+ internalType: "address",
543
+ name: "addr",
544
+ type: "address",
545
+ },
546
+ { internalType: "bytes", name: "data", type: "bytes" },
547
+ {
548
+ internalType: "enum Operation",
549
+ name: "operation",
550
+ type: "uint8",
551
+ },
552
+ {
553
+ internalType: "enum DataFlow",
554
+ name: "dataFlow",
555
+ type: "uint8",
556
+ },
557
+ {
558
+ internalType: "uint256",
559
+ name: "value",
560
+ type: "uint256",
561
+ },
562
+ {
563
+ internalType: "bool",
564
+ name: "termsOkCheck",
565
+ type: "bool",
566
+ },
567
+ ],
568
+ internalType: "struct Action[]",
569
+ name: "actions",
570
+ type: "tuple[]",
571
+ },
572
+ {
573
+ internalType: "uint256",
574
+ name: "selfProviderGasLimit",
575
+ type: "uint256",
576
+ },
577
+ {
578
+ internalType: "uint256",
579
+ name: "selfProviderGasPriceCeil",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ indexed: true,
584
+ internalType: "struct Task[]",
585
+ name: "tasks",
586
+ type: "tuple[]",
587
+ },
588
+ {
589
+ indexed: true,
590
+ internalType: "uint256",
591
+ name: "expiryDate",
592
+ type: "uint256",
593
+ },
594
+ {
595
+ indexed: false,
596
+ internalType: "uint256",
597
+ name: "getId",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ indexed: false,
602
+ internalType: "uint256",
603
+ name: "setId",
604
+ type: "uint256",
605
+ },
606
+ ],
607
+ name: "LogSubmitTaskCycle",
608
+ type: "event",
609
+ },
610
+ {
611
+ inputs: [],
612
+ name: "connectorID",
613
+ outputs: [
614
+ { internalType: "uint256", name: "_type", type: "uint256" },
615
+ { internalType: "uint256", name: "id", type: "uint256" },
616
+ ],
617
+ stateMutability: "view",
618
+ type: "function",
619
+ },
620
+ {
621
+ inputs: [
622
+ {
623
+ components: [
624
+ { internalType: "uint256", name: "id", type: "uint256" },
625
+ {
626
+ internalType: "address",
627
+ name: "userProxy",
628
+ type: "address",
629
+ },
630
+ {
631
+ components: [
632
+ {
633
+ internalType: "address",
634
+ name: "addr",
635
+ type: "address",
636
+ },
637
+ {
638
+ internalType: "address",
639
+ name: "module",
640
+ type: "address",
641
+ },
642
+ ],
643
+ internalType: "struct Provider",
644
+ name: "provider",
645
+ type: "tuple",
646
+ },
647
+ { internalType: "uint256", name: "index", type: "uint256" },
648
+ {
649
+ components: [
650
+ {
651
+ components: [
652
+ {
653
+ internalType: "address",
654
+ name: "inst",
655
+ type: "address",
656
+ },
657
+ {
658
+ internalType: "bytes",
659
+ name: "data",
660
+ type: "bytes",
661
+ },
662
+ ],
663
+ internalType: "struct Condition[]",
664
+ name: "conditions",
665
+ type: "tuple[]",
666
+ },
667
+ {
668
+ components: [
669
+ {
670
+ internalType: "address",
671
+ name: "addr",
672
+ type: "address",
673
+ },
674
+ {
675
+ internalType: "bytes",
676
+ name: "data",
677
+ type: "bytes",
678
+ },
679
+ {
680
+ internalType: "enum Operation",
681
+ name: "operation",
682
+ type: "uint8",
683
+ },
684
+ {
685
+ internalType: "enum DataFlow",
686
+ name: "dataFlow",
687
+ type: "uint8",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "value",
692
+ type: "uint256",
693
+ },
694
+ {
695
+ internalType: "bool",
696
+ name: "termsOkCheck",
697
+ type: "bool",
698
+ },
699
+ ],
700
+ internalType: "struct Action[]",
701
+ name: "actions",
702
+ type: "tuple[]",
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "selfProviderGasLimit",
707
+ type: "uint256",
708
+ },
709
+ {
710
+ internalType: "uint256",
711
+ name: "selfProviderGasPriceCeil",
712
+ type: "uint256",
713
+ },
714
+ ],
715
+ internalType: "struct Task[]",
716
+ name: "tasks",
717
+ type: "tuple[]",
718
+ },
719
+ {
720
+ internalType: "uint256",
721
+ name: "expiryDate",
722
+ type: "uint256",
723
+ },
724
+ { internalType: "uint256", name: "cycleId", type: "uint256" },
725
+ {
726
+ internalType: "uint256",
727
+ name: "submissionsLeft",
728
+ type: "uint256",
729
+ },
730
+ ],
731
+ internalType: "struct TaskReceipt[]",
732
+ name: "_taskReceipts",
733
+ type: "tuple[]",
734
+ },
735
+ ],
736
+ name: "multiCancelTasks",
737
+ outputs: [],
738
+ stateMutability: "payable",
739
+ type: "function",
740
+ },
741
+ {
742
+ inputs: [
743
+ { internalType: "address", name: "_executor", type: "address" },
744
+ {
745
+ components: [
746
+ {
747
+ internalType: "address[]",
748
+ name: "conditions",
749
+ type: "address[]",
750
+ },
751
+ {
752
+ components: [
753
+ {
754
+ internalType: "address",
755
+ name: "addr",
756
+ type: "address",
757
+ },
758
+ { internalType: "bytes", name: "data", type: "bytes" },
759
+ {
760
+ internalType: "enum Operation",
761
+ name: "operation",
762
+ type: "uint8",
763
+ },
764
+ {
765
+ internalType: "enum DataFlow",
766
+ name: "dataFlow",
767
+ type: "uint8",
768
+ },
769
+ {
770
+ internalType: "uint256",
771
+ name: "value",
772
+ type: "uint256",
773
+ },
774
+ {
775
+ internalType: "bool",
776
+ name: "termsOkCheck",
777
+ type: "bool",
778
+ },
779
+ ],
780
+ internalType: "struct Action[]",
781
+ name: "actions",
782
+ type: "tuple[]",
783
+ },
784
+ {
785
+ internalType: "uint256",
786
+ name: "gasPriceCeil",
787
+ type: "uint256",
788
+ },
789
+ ],
790
+ internalType: "struct TaskSpec[]",
791
+ name: "_taskSpecs",
792
+ type: "tuple[]",
793
+ },
794
+ {
795
+ internalType: "address[]",
796
+ name: "_modules",
797
+ type: "address[]",
798
+ },
799
+ {
800
+ internalType: "uint256",
801
+ name: "_ethToDeposit",
802
+ type: "uint256",
803
+ },
804
+ { internalType: "uint256", name: "_getId", type: "uint256" },
805
+ { internalType: "uint256", name: "_setId", type: "uint256" },
806
+ ],
807
+ name: "multiProvide",
808
+ outputs: [],
809
+ stateMutability: "payable",
810
+ type: "function",
811
+ },
812
+ {
813
+ inputs: [
814
+ {
815
+ internalType: "uint256",
816
+ name: "_withdrawAmount",
817
+ type: "uint256",
818
+ },
819
+ {
820
+ components: [
821
+ {
822
+ internalType: "address[]",
823
+ name: "conditions",
824
+ type: "address[]",
825
+ },
826
+ {
827
+ components: [
828
+ {
829
+ internalType: "address",
830
+ name: "addr",
831
+ type: "address",
832
+ },
833
+ { internalType: "bytes", name: "data", type: "bytes" },
834
+ {
835
+ internalType: "enum Operation",
836
+ name: "operation",
837
+ type: "uint8",
838
+ },
839
+ {
840
+ internalType: "enum DataFlow",
841
+ name: "dataFlow",
842
+ type: "uint8",
843
+ },
844
+ {
845
+ internalType: "uint256",
846
+ name: "value",
847
+ type: "uint256",
848
+ },
849
+ {
850
+ internalType: "bool",
851
+ name: "termsOkCheck",
852
+ type: "bool",
853
+ },
854
+ ],
855
+ internalType: "struct Action[]",
856
+ name: "actions",
857
+ type: "tuple[]",
858
+ },
859
+ {
860
+ internalType: "uint256",
861
+ name: "gasPriceCeil",
862
+ type: "uint256",
863
+ },
864
+ ],
865
+ internalType: "struct TaskSpec[]",
866
+ name: "_taskSpecs",
867
+ type: "tuple[]",
868
+ },
869
+ {
870
+ internalType: "address[]",
871
+ name: "_modules",
872
+ type: "address[]",
873
+ },
874
+ { internalType: "uint256", name: "_getId", type: "uint256" },
875
+ { internalType: "uint256", name: "_setId", type: "uint256" },
876
+ ],
877
+ name: "multiUnprovide",
878
+ outputs: [],
879
+ stateMutability: "payable",
880
+ type: "function",
881
+ },
882
+ {
883
+ inputs: [],
884
+ name: "name",
885
+ outputs: [{ internalType: "string", name: "", type: "string" }],
886
+ stateMutability: "view",
887
+ type: "function",
888
+ },
889
+ {
890
+ inputs: [
891
+ {
892
+ components: [
893
+ { internalType: "address", name: "addr", type: "address" },
894
+ { internalType: "address", name: "module", type: "address" },
895
+ ],
896
+ internalType: "struct Provider",
897
+ name: "_provider",
898
+ type: "tuple",
899
+ },
900
+ {
901
+ components: [
902
+ {
903
+ components: [
904
+ {
905
+ internalType: "address",
906
+ name: "inst",
907
+ type: "address",
908
+ },
909
+ { internalType: "bytes", name: "data", type: "bytes" },
910
+ ],
911
+ internalType: "struct Condition[]",
912
+ name: "conditions",
913
+ type: "tuple[]",
914
+ },
915
+ {
916
+ components: [
917
+ {
918
+ internalType: "address",
919
+ name: "addr",
920
+ type: "address",
921
+ },
922
+ { internalType: "bytes", name: "data", type: "bytes" },
923
+ {
924
+ internalType: "enum Operation",
925
+ name: "operation",
926
+ type: "uint8",
927
+ },
928
+ {
929
+ internalType: "enum DataFlow",
930
+ name: "dataFlow",
931
+ type: "uint8",
932
+ },
933
+ {
934
+ internalType: "uint256",
935
+ name: "value",
936
+ type: "uint256",
937
+ },
938
+ {
939
+ internalType: "bool",
940
+ name: "termsOkCheck",
941
+ type: "bool",
942
+ },
943
+ ],
944
+ internalType: "struct Action[]",
945
+ name: "actions",
946
+ type: "tuple[]",
947
+ },
948
+ {
949
+ internalType: "uint256",
950
+ name: "selfProviderGasLimit",
951
+ type: "uint256",
952
+ },
953
+ {
954
+ internalType: "uint256",
955
+ name: "selfProviderGasPriceCeil",
956
+ type: "uint256",
957
+ },
958
+ ],
959
+ internalType: "struct Task",
960
+ name: "_task",
961
+ type: "tuple",
962
+ },
963
+ { internalType: "uint256", name: "_expiryDate", type: "uint256" },
964
+ ],
965
+ name: "submitTask",
966
+ outputs: [],
967
+ stateMutability: "payable",
968
+ type: "function",
969
+ },
970
+ {
971
+ inputs: [
972
+ {
973
+ components: [
974
+ { internalType: "address", name: "addr", type: "address" },
975
+ { internalType: "address", name: "module", type: "address" },
976
+ ],
977
+ internalType: "struct Provider",
978
+ name: "_provider",
979
+ type: "tuple",
980
+ },
981
+ {
982
+ components: [
983
+ {
984
+ components: [
985
+ {
986
+ internalType: "address",
987
+ name: "inst",
988
+ type: "address",
989
+ },
990
+ { internalType: "bytes", name: "data", type: "bytes" },
991
+ ],
992
+ internalType: "struct Condition[]",
993
+ name: "conditions",
994
+ type: "tuple[]",
995
+ },
996
+ {
997
+ components: [
998
+ {
999
+ internalType: "address",
1000
+ name: "addr",
1001
+ type: "address",
1002
+ },
1003
+ { internalType: "bytes", name: "data", type: "bytes" },
1004
+ {
1005
+ internalType: "enum Operation",
1006
+ name: "operation",
1007
+ type: "uint8",
1008
+ },
1009
+ {
1010
+ internalType: "enum DataFlow",
1011
+ name: "dataFlow",
1012
+ type: "uint8",
1013
+ },
1014
+ {
1015
+ internalType: "uint256",
1016
+ name: "value",
1017
+ type: "uint256",
1018
+ },
1019
+ {
1020
+ internalType: "bool",
1021
+ name: "termsOkCheck",
1022
+ type: "bool",
1023
+ },
1024
+ ],
1025
+ internalType: "struct Action[]",
1026
+ name: "actions",
1027
+ type: "tuple[]",
1028
+ },
1029
+ {
1030
+ internalType: "uint256",
1031
+ name: "selfProviderGasLimit",
1032
+ type: "uint256",
1033
+ },
1034
+ {
1035
+ internalType: "uint256",
1036
+ name: "selfProviderGasPriceCeil",
1037
+ type: "uint256",
1038
+ },
1039
+ ],
1040
+ internalType: "struct Task[]",
1041
+ name: "_tasks",
1042
+ type: "tuple[]",
1043
+ },
1044
+ { internalType: "uint256", name: "_expiryDate", type: "uint256" },
1045
+ {
1046
+ internalType: "uint256",
1047
+ name: "_sumOfRequestedTaskSubmits",
1048
+ type: "uint256",
1049
+ },
1050
+ ],
1051
+ name: "submitTaskChain",
1052
+ outputs: [],
1053
+ stateMutability: "payable",
1054
+ type: "function",
1055
+ },
1056
+ {
1057
+ inputs: [
1058
+ {
1059
+ components: [
1060
+ { internalType: "address", name: "addr", type: "address" },
1061
+ { internalType: "address", name: "module", type: "address" },
1062
+ ],
1063
+ internalType: "struct Provider",
1064
+ name: "_provider",
1065
+ type: "tuple",
1066
+ },
1067
+ {
1068
+ components: [
1069
+ {
1070
+ components: [
1071
+ {
1072
+ internalType: "address",
1073
+ name: "inst",
1074
+ type: "address",
1075
+ },
1076
+ { internalType: "bytes", name: "data", type: "bytes" },
1077
+ ],
1078
+ internalType: "struct Condition[]",
1079
+ name: "conditions",
1080
+ type: "tuple[]",
1081
+ },
1082
+ {
1083
+ components: [
1084
+ {
1085
+ internalType: "address",
1086
+ name: "addr",
1087
+ type: "address",
1088
+ },
1089
+ { internalType: "bytes", name: "data", type: "bytes" },
1090
+ {
1091
+ internalType: "enum Operation",
1092
+ name: "operation",
1093
+ type: "uint8",
1094
+ },
1095
+ {
1096
+ internalType: "enum DataFlow",
1097
+ name: "dataFlow",
1098
+ type: "uint8",
1099
+ },
1100
+ {
1101
+ internalType: "uint256",
1102
+ name: "value",
1103
+ type: "uint256",
1104
+ },
1105
+ {
1106
+ internalType: "bool",
1107
+ name: "termsOkCheck",
1108
+ type: "bool",
1109
+ },
1110
+ ],
1111
+ internalType: "struct Action[]",
1112
+ name: "actions",
1113
+ type: "tuple[]",
1114
+ },
1115
+ {
1116
+ internalType: "uint256",
1117
+ name: "selfProviderGasLimit",
1118
+ type: "uint256",
1119
+ },
1120
+ {
1121
+ internalType: "uint256",
1122
+ name: "selfProviderGasPriceCeil",
1123
+ type: "uint256",
1124
+ },
1125
+ ],
1126
+ internalType: "struct Task[]",
1127
+ name: "_tasks",
1128
+ type: "tuple[]",
1129
+ },
1130
+ { internalType: "uint256", name: "_expiryDate", type: "uint256" },
1131
+ { internalType: "uint256", name: "_cycles", type: "uint256" },
1132
+ ],
1133
+ name: "submitTaskCycle",
1134
+ outputs: [],
1135
+ stateMutability: "payable",
1136
+ type: "function",
1137
+ },
1138
+ ];