@hinkal/common 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (574) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +9 -3
  3. package/API/API.mjs +44 -34
  4. package/API/ai-calls.cjs +1 -0
  5. package/API/ai-calls.d.ts +9 -0
  6. package/API/ai-calls.mjs +13 -0
  7. package/API/callCurveAPI.cjs +1 -1
  8. package/API/callCurveAPI.mjs +28 -22
  9. package/API/callRelayer.d.ts +3 -2
  10. package/API/dataServerCalls.cjs +1 -1
  11. package/API/dataServerCalls.d.ts +4 -0
  12. package/API/dataServerCalls.mjs +11 -7
  13. package/API/duneAPI.cjs +1 -1
  14. package/API/duneAPI.mjs +6 -4
  15. package/API/fetchCommitmentsCache.cjs +1 -1
  16. package/API/fetchCommitmentsCache.d.ts +9 -1
  17. package/API/fetchCommitmentsCache.mjs +6 -5
  18. package/API/getGasEstimates.cjs +1 -1
  19. package/API/getGasEstimates.d.ts +2 -1
  20. package/API/getGasEstimates.mjs +10 -9
  21. package/API/getServerURL.d.ts +1 -1
  22. package/API/index.d.ts +2 -0
  23. package/API/is-tx-stateless.cjs +1 -0
  24. package/API/is-tx-stateless.d.ts +3 -0
  25. package/API/is-tx-stateless.mjs +9 -0
  26. package/API/kycCalls.cjs +1 -1
  27. package/API/kycCalls.d.ts +0 -4
  28. package/API/kycCalls.mjs +11 -15
  29. package/API/rewardsPointsCalls.d.ts +0 -3
  30. package/API/tenderly.api.cjs +1 -0
  31. package/API/tenderly.api.d.ts +12 -0
  32. package/API/tenderly.api.mjs +47 -0
  33. package/API/token-calls.cjs +1 -0
  34. package/API/token-calls.d.ts +2 -0
  35. package/API/token-calls.mjs +9 -0
  36. package/README.md +0 -61
  37. package/constants/addresses.constants.cjs +1 -0
  38. package/constants/addresses.constants.d.ts +16 -0
  39. package/constants/addresses.constants.mjs +50 -0
  40. package/constants/assets.constants.cjs +1 -1
  41. package/constants/assets.constants.mjs +13 -13
  42. package/constants/axelar.constants.cjs +1 -1
  43. package/constants/axelar.constants.mjs +5 -5
  44. package/constants/balance.constants.cjs +1 -0
  45. package/constants/balance.constants.d.ts +1 -0
  46. package/constants/balance.constants.mjs +4 -0
  47. package/constants/chains.constants.cjs +1 -1
  48. package/constants/chains.constants.d.ts +0 -2
  49. package/constants/chains.constants.mjs +26 -38
  50. package/constants/contracts.constants.cjs +1 -1
  51. package/constants/contracts.constants.mjs +108 -108
  52. package/constants/conversion.constants.cjs +1 -0
  53. package/constants/conversion.constants.d.ts +1 -0
  54. package/constants/conversion.constants.mjs +4 -0
  55. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  56. package/constants/deploy-data/deploy-data-localhost.json.mjs +1652 -829
  57. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  58. package/constants/deploy-data/deploy-data-optimism.json.mjs +9707 -3957
  59. package/constants/fees.constants.cjs +1 -1
  60. package/constants/fees.constants.d.ts +5 -3
  61. package/constants/fees.constants.mjs +22 -19
  62. package/constants/index.d.ts +6 -0
  63. package/constants/mediaUrls.constants.cjs +1 -0
  64. package/constants/mediaUrls.constants.d.ts +23 -0
  65. package/constants/mediaUrls.constants.mjs +26 -0
  66. package/constants/permit2.constants.cjs +1 -0
  67. package/constants/permit2.constants.d.ts +2 -0
  68. package/constants/permit2.constants.mjs +5 -0
  69. package/constants/protocol.constants.cjs +1 -1
  70. package/constants/protocol.constants.d.ts +6 -0
  71. package/constants/protocol.constants.mjs +27 -15
  72. package/constants/rewards.constants.cjs +1 -1
  73. package/constants/rewards.constants.d.ts +0 -1
  74. package/constants/rewards.constants.mjs +14 -13
  75. package/constants/server.constants.cjs +1 -1
  76. package/constants/server.constants.d.ts +8 -3
  77. package/constants/server.constants.mjs +16 -11
  78. package/constants/token-data/ERC20Registry.cjs +1 -1
  79. package/constants/token-data/ERC20Registry.mjs +10 -9
  80. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  81. package/constants/token-data/arbMainnetRegistry.json.mjs +88 -88
  82. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  83. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +78 -78
  84. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  85. package/constants/token-data/avalancheRegistry.json.mjs +49 -49
  86. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  87. package/constants/token-data/avalancheRegistryFixed.json.mjs +49 -49
  88. package/constants/token-data/baseRegistry.json.cjs +1 -1
  89. package/constants/token-data/baseRegistry.json.mjs +32 -32
  90. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  91. package/constants/token-data/baseRegistryFixed.json.mjs +29 -29
  92. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  93. package/constants/token-data/bnbMainnetRegistry.json.mjs +65 -65
  94. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  95. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +65 -65
  96. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  97. package/constants/token-data/ethMainnetRegistry.json.mjs +227 -227
  98. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  99. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +191 -191
  100. package/constants/token-data/index.d.ts +91 -0
  101. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  102. package/constants/token-data/localhostRegistry.json.mjs +294 -277
  103. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  104. package/constants/token-data/optimismRegistry.json.mjs +702 -182
  105. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  106. package/constants/token-data/optimismRegistryFixed.json.mjs +678 -175
  107. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  108. package/constants/token-data/polygonRegistry.json.mjs +109 -109
  109. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  110. package/constants/token-data/polygonRegistryFixed.json.mjs +101 -101
  111. package/constants/token.limits.constants.cjs +1 -0
  112. package/constants/token.limits.constants.d.ts +5 -0
  113. package/constants/token.limits.constants.mjs +30 -0
  114. package/constants/vite.constants.cjs +1 -1
  115. package/constants/vite.constants.d.ts +5 -0
  116. package/constants/vite.constants.mjs +26 -22
  117. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  118. package/data-structures/Hinkal/Hinkal.d.ts +46 -21
  119. package/data-structures/Hinkal/Hinkal.mjs +260 -92
  120. package/data-structures/Hinkal/IHinkal.d.ts +35 -11
  121. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  122. package/data-structures/Hinkal/hinkalActionBeefy.mjs +5 -4
  123. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  124. package/data-structures/Hinkal/hinkalActionConvex.mjs +4 -3
  125. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  126. package/data-structures/Hinkal/hinkalActionCurve.mjs +5 -4
  127. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +1 -0
  128. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.d.ts +3 -0
  129. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +61 -0
  130. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  131. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +9 -8
  132. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  133. package/data-structures/Hinkal/hinkalActionPendle.mjs +17 -16
  134. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  135. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +14 -12
  136. package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -0
  137. package/data-structures/Hinkal/hinkalActionReceive.d.ts +4 -0
  138. package/data-structures/Hinkal/hinkalActionReceive.mjs +39 -0
  139. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  140. package/data-structures/Hinkal/hinkalActionStake.mjs +12 -9
  141. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  142. package/data-structures/Hinkal/hinkalActionVolatile.mjs +25 -21
  143. package/data-structures/Hinkal/hinkalApprove.cjs +1 -0
  144. package/data-structures/Hinkal/hinkalApprove.d.ts +2 -0
  145. package/data-structures/Hinkal/hinkalApprove.mjs +120 -0
  146. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -0
  147. package/data-structures/Hinkal/hinkalCheckTokenRegistry.d.ts +3 -0
  148. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +12 -0
  149. package/data-structures/Hinkal/hinkalDeploySubAccount.cjs +1 -0
  150. package/data-structures/Hinkal/hinkalDeploySubAccount.d.ts +3 -0
  151. package/data-structures/Hinkal/hinkalDeploySubAccount.mjs +15 -0
  152. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  153. package/data-structures/Hinkal/hinkalDeposit.d.ts +3 -2
  154. package/data-structures/Hinkal/hinkalDeposit.mjs +96 -71
  155. package/data-structures/Hinkal/hinkalGetRecipientInfo.cjs +1 -1
  156. package/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +1 -1
  157. package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +5 -11
  158. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  159. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +6 -18
  160. package/data-structures/Hinkal/hinkalInsideTransact.cjs +1 -0
  161. package/data-structures/Hinkal/hinkalInsideTransact.d.ts +2 -0
  162. package/data-structures/Hinkal/hinkalInsideTransact.mjs +111 -0
  163. package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -0
  164. package/data-structures/Hinkal/hinkalMultiSend.d.ts +3 -0
  165. package/data-structures/Hinkal/hinkalMultiSend.mjs +13 -0
  166. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  167. package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +2 -1
  168. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +83 -38
  169. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -0
  170. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +4 -0
  171. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +46 -0
  172. package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -0
  173. package/data-structures/Hinkal/hinkalProxySwap.d.ts +5 -0
  174. package/data-structures/Hinkal/hinkalProxySwap.mjs +36 -0
  175. package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -0
  176. package/data-structures/Hinkal/hinkalSignSubAccount.d.ts +3 -0
  177. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +20 -0
  178. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  179. package/data-structures/Hinkal/hinkalSwap.d.ts +2 -1
  180. package/data-structures/Hinkal/hinkalSwap.mjs +68 -60
  181. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  182. package/data-structures/Hinkal/hinkalWithdraw.d.ts +3 -1
  183. package/data-structures/Hinkal/hinkalWithdraw.mjs +76 -50
  184. package/data-structures/Hinkal/index.d.ts +1 -0
  185. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  186. package/data-structures/Hinkal/resetMerkleTrees.mjs +18 -11
  187. package/data-structures/IndexedDB/activity-db.cjs +1 -0
  188. package/data-structures/IndexedDB/activity-db.d.ts +16 -0
  189. package/data-structures/IndexedDB/activity-db.mjs +124 -0
  190. package/data-structures/IndexedDB/balances-db.cjs +1 -0
  191. package/data-structures/IndexedDB/balances-db.d.ts +13 -0
  192. package/data-structures/IndexedDB/balances-db.mjs +75 -0
  193. package/data-structures/IndexedDB/contact-db.cjs +1 -0
  194. package/data-structures/IndexedDB/contact-db.d.ts +11 -0
  195. package/data-structures/IndexedDB/contact-db.mjs +44 -0
  196. package/data-structures/IndexedDB/index.d.ts +5 -0
  197. package/data-structures/IndexedDB/prices-db.cjs +1 -0
  198. package/data-structures/IndexedDB/prices-db.d.ts +9 -0
  199. package/data-structures/IndexedDB/prices-db.mjs +62 -0
  200. package/data-structures/IndexedDB/private-balances-db.cjs +1 -0
  201. package/data-structures/IndexedDB/private-balances-db.d.ts +9 -0
  202. package/data-structures/IndexedDB/private-balances-db.mjs +28 -0
  203. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
  204. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +47 -44
  205. package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -0
  206. package/data-structures/TokenDBs/PrivateTokensDB.d.ts +11 -0
  207. package/data-structures/TokenDBs/PrivateTokensDB.mjs +53 -0
  208. package/data-structures/TokenDBs/PublicTokensDB.cjs +1 -0
  209. package/data-structures/TokenDBs/PublicTokensDB.d.ts +13 -0
  210. package/data-structures/TokenDBs/PublicTokensDB.mjs +81 -0
  211. package/data-structures/TokenDBs/index.d.ts +2 -0
  212. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.cjs +1 -0
  213. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.d.ts +8 -0
  214. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.mjs +28 -0
  215. package/data-structures/cacheDevices/BaseCacheDevice.cjs +1 -1
  216. package/data-structures/cacheDevices/BaseCacheDevice.d.ts +9 -6
  217. package/data-structures/cacheDevices/BaseCacheDevice.mjs +13 -4
  218. package/data-structures/cacheDevices/FileCacheDevice.cjs +1 -1
  219. package/data-structures/cacheDevices/FileCacheDevice.d.ts +1 -0
  220. package/data-structures/cacheDevices/FileCacheDevice.mjs +7 -3
  221. package/data-structures/cacheDevices/LocalStorageCacheDevice.cjs +1 -1
  222. package/data-structures/cacheDevices/LocalStorageCacheDevice.d.ts +2 -1
  223. package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +10 -5
  224. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  225. package/data-structures/crypto-keys/decodeUTXO.mjs +13 -12
  226. package/data-structures/crypto-keys/keys.cjs +1 -1
  227. package/data-structures/crypto-keys/keys.d.ts +13 -3
  228. package/data-structures/crypto-keys/keys.mjs +45 -34
  229. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
  230. package/data-structures/custom-token-registry/CustomTokenRegistry.d.ts +2 -3
  231. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +17 -21
  232. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
  233. package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +15 -29
  234. package/data-structures/event-service/AbstractApprovalsSnapshotService.cjs +1 -0
  235. package/data-structures/event-service/AbstractApprovalsSnapshotService.d.ts +30 -0
  236. package/data-structures/event-service/AbstractApprovalsSnapshotService.mjs +104 -0
  237. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
  238. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +24 -37
  239. package/data-structures/event-service/AbstractEventService.cjs +1 -1
  240. package/data-structures/event-service/AbstractEventService.d.ts +1 -1
  241. package/data-structures/event-service/AbstractEventService.mjs +34 -46
  242. package/data-structures/event-service/index.d.ts +1 -0
  243. package/data-structures/index.d.ts +2 -0
  244. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  245. package/data-structures/merkle-tree/MerkleTree.d.ts +4 -1
  246. package/data-structures/merkle-tree/MerkleTree.mjs +66 -65
  247. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -1
  248. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +1 -1
  249. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +10 -6
  250. package/data-structures/provider-adapter/IProviderAdapter.d.ts +2 -0
  251. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  252. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +6 -10
  253. package/data-structures/snapshot/ClientApprovalsSnapshotService.cjs +1 -0
  254. package/data-structures/snapshot/ClientApprovalsSnapshotService.d.ts +8 -0
  255. package/data-structures/snapshot/ClientApprovalsSnapshotService.mjs +23 -0
  256. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  257. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +6 -10
  258. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  259. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +6 -10
  260. package/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
  261. package/data-structures/token-price-fetcher/TokenChecker.d.ts +1 -0
  262. package/data-structures/token-price-fetcher/TokenChecker.mjs +4 -2
  263. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  264. package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
  265. package/data-structures/transactions-manager/TransactionsManager.mjs +95 -100
  266. package/data-structures/transactions-manager/history/getBeefyData.cjs +1 -1
  267. package/data-structures/transactions-manager/history/getBeefyData.mjs +3 -2
  268. package/data-structures/transactions-manager/history/getConvexData.cjs +1 -1
  269. package/data-structures/transactions-manager/history/getConvexData.mjs +3 -2
  270. package/data-structures/transactions-manager/history/getCurveData.cjs +1 -1
  271. package/data-structures/transactions-manager/history/getCurveData.mjs +3 -2
  272. package/data-structures/transactions-manager/history/getLidoData.cjs +1 -1
  273. package/data-structures/transactions-manager/history/getLidoData.mjs +3 -2
  274. package/data-structures/transactions-manager/history/getPendleData.cjs +1 -1
  275. package/data-structures/transactions-manager/history/getPendleData.mjs +13 -12
  276. package/data-structures/transactions-manager/history/getTxDetails.cjs +1 -1
  277. package/data-structures/transactions-manager/history/getTxDetails.mjs +22 -20
  278. package/data-structures/transactions-manager/history/getVolatileData.cjs +1 -1
  279. package/data-structures/transactions-manager/history/getVolatileData.mjs +11 -10
  280. package/data-structures/transactions-manager/history/history.types.cjs +1 -1
  281. package/data-structures/transactions-manager/history/history.types.mjs +4 -2
  282. package/data-structures/utxo/Utxo.cjs +1 -1
  283. package/data-structures/utxo/Utxo.d.ts +3 -3
  284. package/data-structures/utxo/Utxo.mjs +8 -7
  285. package/error-handling/error-codes.constants.cjs +2 -2
  286. package/error-handling/error-codes.constants.d.ts +20 -3
  287. package/error-handling/error-codes.constants.mjs +139 -126
  288. package/error-handling/get-error.message.cjs +1 -1
  289. package/error-handling/get-error.message.mjs +29 -25
  290. package/error-handling/index.d.ts +1 -0
  291. package/error-handling/logger.cjs +1 -0
  292. package/error-handling/logger.d.ts +5 -0
  293. package/error-handling/logger.mjs +16 -0
  294. package/error-handling/types.cjs +1 -1
  295. package/error-handling/types.d.ts +3 -1
  296. package/error-handling/types.mjs +2 -2
  297. package/functions/pre-transaction/getExternalSwapAddress.cjs +1 -0
  298. package/functions/pre-transaction/getExternalSwapAddress.d.ts +3 -0
  299. package/functions/pre-transaction/getExternalSwapAddress.mjs +26 -0
  300. package/functions/pre-transaction/getFeeStructure.cjs +1 -0
  301. package/functions/pre-transaction/getFeeStructure.d.ts +4 -0
  302. package/functions/pre-transaction/getFeeStructure.mjs +30 -0
  303. package/functions/pre-transaction/getFlatFees.cjs +1 -1
  304. package/functions/pre-transaction/getFlatFees.d.ts +3 -7
  305. package/functions/pre-transaction/getFlatFees.mjs +52 -46
  306. package/functions/pre-transaction/getSignatureDataForTransact.cjs +1 -0
  307. package/functions/pre-transaction/getSignatureDataForTransact.d.ts +3 -0
  308. package/functions/pre-transaction/getSignatureDataForTransact.mjs +6 -0
  309. package/functions/pre-transaction/index.d.ts +1 -0
  310. package/functions/pre-transaction/interaction-to-action.cjs +1 -1
  311. package/functions/pre-transaction/interaction-to-action.mjs +3 -2
  312. package/functions/pre-transaction/merge-with-fee-structure.cjs +1 -0
  313. package/functions/pre-transaction/merge-with-fee-structure.d.ts +2 -0
  314. package/functions/pre-transaction/merge-with-fee-structure.mjs +25 -0
  315. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -0
  316. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +16 -0
  317. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +42 -0
  318. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  319. package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
  320. package/functions/pre-transaction/outputUtxoProcessing.mjs +19 -30
  321. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  322. package/functions/pre-transaction/process-gas-estimates.d.ts +2 -2
  323. package/functions/pre-transaction/process-gas-estimates.mjs +17 -28
  324. package/functions/pre-transaction/processAmountChanges.cjs +1 -1
  325. package/functions/pre-transaction/processAmountChanges.mjs +34 -23
  326. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.cjs +1 -0
  327. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.d.ts +6 -0
  328. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +7 -0
  329. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  330. package/functions/private-wallet/emporium.helpers.d.ts +17 -4
  331. package/functions/private-wallet/emporium.helpers.mjs +119 -12
  332. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -0
  333. package/functions/private-wallet/emporium.swap.helpers.d.ts +5 -0
  334. package/functions/private-wallet/emporium.swap.helpers.mjs +92 -0
  335. package/functions/private-wallet/index.d.ts +2 -0
  336. package/functions/private-wallet/opProducer.cjs +1 -1
  337. package/functions/private-wallet/opProducer.mjs +1 -1
  338. package/functions/private-wallet/smartContractWalletCalculator.cjs +1 -0
  339. package/functions/private-wallet/smartContractWalletCalculator.d.ts +5 -0
  340. package/functions/private-wallet/smartContractWalletCalculator.mjs +25 -0
  341. package/functions/protocols/convex.protocols.cjs +1 -1
  342. package/functions/protocols/convex.protocols.mjs +10 -8
  343. package/functions/protocols/pendle.helpers.cjs +1 -1
  344. package/functions/protocols/pendle.helpers.mjs +16 -12
  345. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  346. package/functions/snarkjs/common.snarkjs.d.ts +8 -5
  347. package/functions/snarkjs/common.snarkjs.mjs +177 -87
  348. package/functions/snarkjs/constant.cjs +1 -1
  349. package/functions/snarkjs/constant.d.ts +223 -2
  350. package/functions/snarkjs/constant.mjs +313 -93
  351. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  352. package/functions/snarkjs/constructEmporiumProof.d.ts +6 -3
  353. package/functions/snarkjs/constructEmporiumProof.mjs +148 -84
  354. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  355. package/functions/snarkjs/constructGeneralZkProof.d.ts +5 -3
  356. package/functions/snarkjs/constructGeneralZkProof.mjs +141 -86
  357. package/functions/snarkjs/generateCircomData.cjs +1 -1
  358. package/functions/snarkjs/generateCircomData.d.ts +3 -2
  359. package/functions/snarkjs/generateCircomData.mjs +33 -35
  360. package/functions/snarkjs/generateZkProof.cjs +1 -1
  361. package/functions/snarkjs/generateZkProof.d.ts +2 -2
  362. package/functions/snarkjs/generateZkProof.mjs +4 -4
  363. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
  364. package/functions/snarkjs/generateZkProofEnclave.d.ts +2 -1
  365. package/functions/snarkjs/generateZkProofEnclave.mjs +22 -29
  366. package/functions/snarkjs/generateZkProofSelf.cjs +1 -1
  367. package/functions/snarkjs/generateZkProofSelf.d.ts +2 -2
  368. package/functions/snarkjs/generateZkProofSelf.mjs +10 -10
  369. package/functions/snarkjs/getOriginalSender.cjs +1 -0
  370. package/functions/snarkjs/getOriginalSender.d.ts +1 -0
  371. package/functions/snarkjs/getOriginalSender.mjs +5 -0
  372. package/functions/snarkjs/getZKFiles.cjs +1 -1
  373. package/functions/snarkjs/getZKFiles.d.ts +3 -2
  374. package/functions/snarkjs/getZKFiles.mjs +14 -5
  375. package/functions/utils/addresses.cjs +1 -0
  376. package/functions/utils/addresses.d.ts +4 -0
  377. package/functions/utils/addresses.mjs +20 -0
  378. package/functions/utils/amounts.utils.cjs +1 -1
  379. package/functions/utils/amounts.utils.d.ts +4 -1
  380. package/functions/utils/amounts.utils.mjs +29 -27
  381. package/functions/utils/arraysMatch.cjs +1 -0
  382. package/functions/utils/arraysMatch.d.ts +1 -0
  383. package/functions/utils/arraysMatch.mjs +4 -0
  384. package/functions/utils/axelar.utils.cjs +1 -1
  385. package/functions/utils/axelar.utils.d.ts +1 -0
  386. package/functions/utils/axelar.utils.mjs +31 -9
  387. package/functions/utils/cacheDevice.utils.cjs +1 -1
  388. package/functions/utils/cacheDevice.utils.mjs +5 -3
  389. package/functions/utils/cacheFunctions.cjs +1 -1
  390. package/functions/utils/cacheFunctions.d.ts +10 -7
  391. package/functions/utils/cacheFunctions.mjs +62 -39
  392. package/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -0
  393. package/functions/utils/convertEmporiumOpToCallInfo.d.ts +2 -0
  394. package/functions/utils/convertEmporiumOpToCallInfo.mjs +10 -0
  395. package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
  396. package/functions/utils/convertIntegrationProviderToExternalActionId.d.ts +2 -1
  397. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +7 -10
  398. package/functions/utils/encodeTokenWithId.cjs +1 -0
  399. package/functions/utils/encodeTokenWithId.d.ts +2 -0
  400. package/functions/utils/encodeTokenWithId.mjs +4 -0
  401. package/functions/utils/encryptInputForEnclave.cjs +1 -0
  402. package/functions/utils/encryptInputForEnclave.d.ts +8 -0
  403. package/functions/utils/encryptInputForEnclave.mjs +43 -0
  404. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  405. package/functions/utils/erc20tokenFunctions.d.ts +8 -2
  406. package/functions/utils/erc20tokenFunctions.mjs +22 -14
  407. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  408. package/functions/utils/evmNetworkFunctions.mjs +6 -4
  409. package/functions/utils/external-action.utils.d.ts +2 -2
  410. package/functions/utils/fees.utils.cjs +1 -0
  411. package/functions/utils/fees.utils.d.ts +2 -0
  412. package/functions/utils/fees.utils.mjs +14 -0
  413. package/functions/utils/getBlockExplorerUrl.cjs +1 -0
  414. package/functions/utils/getBlockExplorerUrl.d.ts +1 -0
  415. package/functions/utils/getBlockExplorerUrl.mjs +6 -0
  416. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -0
  417. package/functions/utils/getRecipientInfoFromUserKeys.d.ts +3 -0
  418. package/functions/utils/getRecipientInfoFromUserKeys.mjs +18 -0
  419. package/functions/utils/index.d.ts +12 -0
  420. package/functions/utils/involves-permit2-op.cjs +1 -0
  421. package/functions/utils/involves-permit2-op.d.ts +1 -0
  422. package/functions/utils/involves-permit2-op.mjs +5 -0
  423. package/functions/utils/merkleTree.utils.cjs +1 -0
  424. package/functions/utils/merkleTree.utils.d.ts +2 -0
  425. package/functions/utils/merkleTree.utils.mjs +19 -0
  426. package/functions/utils/prepareHinkal.d.ts +6 -0
  427. package/functions/utils/processUseApprovalUtxoData.cjs +1 -0
  428. package/functions/utils/processUseApprovalUtxoData.d.ts +3 -0
  429. package/functions/utils/processUseApprovalUtxoData.mjs +19 -0
  430. package/functions/utils/publicBalance.utils.cjs +1 -0
  431. package/functions/utils/publicBalance.utils.d.ts +5 -0
  432. package/functions/utils/publicBalance.utils.mjs +25 -0
  433. package/functions/utils/replaceAddressInCalldata.cjs +1 -0
  434. package/functions/utils/replaceAddressInCalldata.d.ts +1 -0
  435. package/functions/utils/replaceAddressInCalldata.mjs +7 -0
  436. package/functions/utils/rpc-int-encode.cjs +1 -0
  437. package/functions/utils/rpc-int-encode.d.ts +2 -0
  438. package/functions/utils/rpc-int-encode.mjs +8 -0
  439. package/functions/utils/serialize.utils.cjs +1 -1
  440. package/functions/utils/serialize.utils.d.ts +1 -0
  441. package/functions/utils/serialize.utils.mjs +3 -2
  442. package/functions/utils/string.utils.cjs +1 -1
  443. package/functions/utils/string.utils.d.ts +3 -0
  444. package/functions/utils/string.utils.mjs +31 -7
  445. package/functions/utils/time.utils.cjs +1 -1
  446. package/functions/utils/time.utils.d.ts +1 -0
  447. package/functions/utils/time.utils.mjs +4 -3
  448. package/functions/utils/token-check.utils.cjs +1 -0
  449. package/functions/utils/token-check.utils.d.ts +1 -0
  450. package/functions/utils/token-check.utils.mjs +10 -0
  451. package/functions/utils/upToDateState.cjs +1 -0
  452. package/functions/utils/upToDateState.d.ts +2 -0
  453. package/functions/utils/upToDateState.mjs +11 -0
  454. package/functions/web3/events/balanceChangedCustomHandler.cjs +1 -0
  455. package/functions/web3/events/balanceChangedCustomHandler.d.ts +2 -0
  456. package/functions/web3/events/balanceChangedCustomHandler.mjs +14 -0
  457. package/functions/web3/events/balanceChangedHandler.cjs +1 -1
  458. package/functions/web3/events/balanceChangedHandler.mjs +5 -4
  459. package/functions/web3/events/getApprovedBalance.cjs +1 -0
  460. package/functions/web3/events/getApprovedBalance.d.ts +7 -0
  461. package/functions/web3/events/getApprovedBalance.mjs +80 -0
  462. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  463. package/functions/web3/events/getInputUtxoAndBalance.d.ts +16 -3
  464. package/functions/web3/events/getInputUtxoAndBalance.mjs +128 -46
  465. package/functions/web3/events/getShieldedBalance.cjs +2 -2
  466. package/functions/web3/events/getShieldedBalance.d.ts +1 -1
  467. package/functions/web3/events/getShieldedBalance.mjs +79 -82
  468. package/functions/web3/events/index.d.ts +2 -0
  469. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  470. package/functions/web3/functionCalls/accessTokenCalls.d.ts +2 -2
  471. package/functions/web3/functionCalls/accessTokenCalls.mjs +19 -17
  472. package/functions/web3/functionCalls/approveToken.cjs +1 -1
  473. package/functions/web3/functionCalls/approveToken.mjs +8 -7
  474. package/functions/web3/functionCalls/approveTokensToHinkal.cjs +1 -0
  475. package/functions/web3/functionCalls/approveTokensToHinkal.d.ts +4 -0
  476. package/functions/web3/functionCalls/approveTokensToHinkal.mjs +11 -0
  477. package/functions/web3/functionCalls/estimateGasRelayer.cjs +1 -1
  478. package/functions/web3/functionCalls/estimateGasRelayer.d.ts +2 -2
  479. package/functions/web3/functionCalls/estimateGasRelayer.mjs +14 -8
  480. package/functions/web3/functionCalls/inHinkalApprovalCalls.cjs +1 -0
  481. package/functions/web3/functionCalls/inHinkalApprovalCalls.d.ts +5 -0
  482. package/functions/web3/functionCalls/inHinkalApprovalCalls.mjs +32 -0
  483. package/functions/web3/functionCalls/relayFunctions.d.ts +1 -15
  484. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  485. package/functions/web3/functionCalls/transactCallDirect.d.ts +2 -2
  486. package/functions/web3/functionCalls/transactCallDirect.mjs +29 -42
  487. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  488. package/functions/web3/functionCalls/transactCallRelayer.d.ts +2 -2
  489. package/functions/web3/functionCalls/transactCallRelayer.mjs +26 -5
  490. package/functions/web3/odosAPI.cjs +1 -1
  491. package/functions/web3/odosAPI.mjs +6 -3
  492. package/functions/web3/oneInchAPI.cjs +1 -1
  493. package/functions/web3/oneInchAPI.mjs +6 -3
  494. package/functions/web3/runContractFunction.cjs +1 -1
  495. package/functions/web3/runContractFunction.mjs +3 -2
  496. package/functions/web3/uniswapAPI.cjs +1 -1
  497. package/functions/web3/uniswapAPI.mjs +6 -3
  498. package/index.cjs +1 -1
  499. package/index.mjs +756 -612
  500. package/package.json +6 -2
  501. package/providers/EthersProviderAdapter.cjs +1 -1
  502. package/providers/EthersProviderAdapter.d.ts +7 -3
  503. package/providers/EthersProviderAdapter.mjs +31 -11
  504. package/providers/WagmiProviderAdapter.cjs +1 -1
  505. package/providers/WagmiProviderAdapter.d.ts +3 -1
  506. package/providers/WagmiProviderAdapter.mjs +12 -4
  507. package/providers/prepareEthersHinkal.cjs +1 -1
  508. package/providers/prepareEthersHinkal.mjs +17 -11
  509. package/providers/prepareWagmiHinkal.cjs +1 -1
  510. package/providers/prepareWagmiHinkal.mjs +17 -11
  511. package/types/API.types.d.ts +21 -0
  512. package/types/ICacheDevice.d.ts +4 -3
  513. package/types/TransactionSimulator.types.d.ts +9 -0
  514. package/types/activities.types.cjs +1 -0
  515. package/types/activities.types.d.ts +45 -0
  516. package/types/activities.types.mjs +13 -0
  517. package/types/balances.types.cjs +1 -0
  518. package/types/balances.types.d.ts +17 -0
  519. package/types/balances.types.mjs +4 -0
  520. package/types/cache.types.cjs +1 -0
  521. package/types/cache.types.d.ts +27 -0
  522. package/types/cache.types.mjs +4 -0
  523. package/types/circom-data.types.d.ts +29 -9
  524. package/types/commitments.types.d.ts +6 -0
  525. package/types/contacts.types.d.ts +5 -0
  526. package/types/crypto.types.d.ts +1 -0
  527. package/types/earlyAccessCode.types.d.ts +4 -0
  528. package/types/ethereum-network.types.cjs +1 -1
  529. package/types/ethereum-network.types.d.ts +66 -62
  530. package/types/ethereum-network.types.mjs +1 -1
  531. package/types/external-action.types.cjs +1 -1
  532. package/types/external-action.types.d.ts +2 -1
  533. package/types/external-action.types.mjs +1 -1
  534. package/types/fee.types.d.ts +9 -0
  535. package/types/hinkal.types.cjs +1 -1
  536. package/types/hinkal.types.d.ts +43 -5
  537. package/types/hinkal.types.mjs +37 -13
  538. package/types/index.d.ts +9 -0
  539. package/types/rewards.types.cjs +1 -1
  540. package/types/rewards.types.d.ts +3 -4
  541. package/types/rewards.types.mjs +12 -12
  542. package/types/sandbox.types.cjs +1 -0
  543. package/types/sandbox.types.d.ts +157 -0
  544. package/types/sandbox.types.mjs +4 -0
  545. package/types/tenderly.api.types.d.ts +180 -0
  546. package/types/token-with-id.types.d.ts +4 -0
  547. package/types/token.types.d.ts +23 -0
  548. package/types/transactions.types.cjs +1 -1
  549. package/types/transactions.types.d.ts +31 -0
  550. package/types/transactions.types.mjs +8 -5
  551. package/types/wc.types.d.ts +89 -0
  552. package/types/with-id.types.d.ts +3 -0
  553. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
  554. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
  555. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
  556. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +26 -31
  557. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  558. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  559. package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
  560. package/webworker/utxoWorker/utxoWorkerLogic.mjs +58 -50
  561. package/webworker/viteWorkerURL.constant.cjs +3 -3
  562. package/webworker/viteWorkerURL.constant.mjs +3 -3
  563. package/webworker/workerFactory.cjs +1 -1
  564. package/webworker/workerFactory.mjs +2 -2
  565. package/webworker/workerProxy.cjs +1 -1
  566. package/webworker/workerProxy.d.ts +11 -11
  567. package/webworker/workerProxy.mjs +24 -26
  568. package/webworker/zkProofWorker/zkProofWorker.types.d.ts +2 -0
  569. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  570. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  571. package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +1 -1
  572. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +47 -61
  573. package/functions/utils/memoize.utils.cjs +0 -1
  574. package/functions/utils/memoize.utils.mjs +0 -14
@@ -1,4 +1,4 @@
1
- const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1
+ const e = "0x0DD8E0Fa077dE680E59De0374Cc6E6c5E7b28Ee4", t = [
2
2
  {
3
3
  inputs: [
4
4
  {
@@ -35,7 +35,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
35
35
  },
36
36
  {
37
37
  internalType: "address",
38
- name: "_accessToken",
38
+ name: "_hinkalInLogic",
39
39
  type: "address"
40
40
  },
41
41
  {
@@ -47,6 +47,31 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
47
47
  stateMutability: "nonpayable",
48
48
  type: "constructor"
49
49
  },
50
+ {
51
+ anonymous: !1,
52
+ inputs: [
53
+ {
54
+ indexed: !1,
55
+ internalType: "address",
56
+ name: "approvalTarget",
57
+ type: "address"
58
+ },
59
+ {
60
+ indexed: !1,
61
+ internalType: "address",
62
+ name: "tokenAddress",
63
+ type: "address"
64
+ },
65
+ {
66
+ indexed: !1,
67
+ internalType: "uint256",
68
+ name: "inHinkalAddress",
69
+ type: "uint256"
70
+ }
71
+ ],
72
+ name: "BufferReleased",
73
+ type: "event"
74
+ },
50
75
  {
51
76
  anonymous: !1,
52
77
  inputs: [
@@ -66,11 +91,60 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
66
91
  {
67
92
  indexed: !1,
68
93
  internalType: "address",
69
- name: "externalActionAddress",
94
+ name: "approveTo",
95
+ type: "address"
96
+ },
97
+ {
98
+ indexed: !1,
99
+ internalType: "address",
100
+ name: "tokenAddress",
101
+ type: "address"
102
+ },
103
+ {
104
+ indexed: !1,
105
+ internalType: "int256",
106
+ name: "amount",
107
+ type: "int256"
108
+ },
109
+ {
110
+ indexed: !1,
111
+ internalType: "uint256",
112
+ name: "inHinkalAddress",
113
+ type: "uint256"
114
+ }
115
+ ],
116
+ name: "NewApprovedUtxo",
117
+ type: "event"
118
+ },
119
+ {
120
+ anonymous: !1,
121
+ inputs: [
122
+ {
123
+ indexed: !1,
124
+ internalType: "address",
125
+ name: "approvalTarget",
126
+ type: "address"
127
+ },
128
+ {
129
+ indexed: !1,
130
+ internalType: "address",
131
+ name: "tokenAddress",
70
132
  type: "address"
133
+ },
134
+ {
135
+ indexed: !1,
136
+ internalType: "uint256",
137
+ name: "amount",
138
+ type: "uint256"
139
+ },
140
+ {
141
+ indexed: !1,
142
+ internalType: "uint256",
143
+ name: "inHinkalAddress",
144
+ type: "uint256"
71
145
  }
72
146
  ],
73
- name: "ExternalActionRemoved",
147
+ name: "NewBufferEntry",
74
148
  type: "event"
75
149
  },
76
150
  {
@@ -223,25 +297,6 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
223
297
  name: "OwnershipTransferred",
224
298
  type: "event"
225
299
  },
226
- {
227
- anonymous: !1,
228
- inputs: [
229
- {
230
- indexed: !1,
231
- internalType: "address",
232
- name: "ethereumAddress",
233
- type: "address"
234
- },
235
- {
236
- indexed: !1,
237
- internalType: "bytes",
238
- name: "shieldedAddressHash",
239
- type: "bytes"
240
- }
241
- ],
242
- name: "Register",
243
- type: "event"
244
- },
245
300
  {
246
301
  anonymous: !1,
247
302
  inputs: [
@@ -383,16 +438,21 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
383
438
  type: "function"
384
439
  },
385
440
  {
386
- inputs: [],
387
- name: "accessToken",
388
- outputs: [
441
+ inputs: [
389
442
  {
390
- internalType: "contract ICrossChainAccessToken",
391
- name: "",
392
- type: "address"
443
+ internalType: "address[]",
444
+ name: "approvalTargets",
445
+ type: "address[]"
446
+ },
447
+ {
448
+ internalType: "uint256[][]",
449
+ name: "indexes",
450
+ type: "uint256[][]"
393
451
  }
394
452
  ],
395
- stateMutability: "view",
453
+ name: "bufferApprovals",
454
+ outputs: [],
455
+ stateMutability: "nonpayable",
396
456
  type: "function"
397
457
  },
398
458
  {
@@ -436,6 +496,71 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
436
496
  stateMutability: "pure",
437
497
  type: "function"
438
498
  },
499
+ {
500
+ inputs: [
501
+ {
502
+ internalType: "address",
503
+ name: "approveTo",
504
+ type: "address"
505
+ },
506
+ {
507
+ internalType: "address",
508
+ name: "tokenAddress",
509
+ type: "address"
510
+ },
511
+ {
512
+ internalType: "uint256",
513
+ name: "inHinkalAddress",
514
+ type: "uint256"
515
+ }
516
+ ],
517
+ name: "getBufferEntry",
518
+ outputs: [
519
+ {
520
+ internalType: "uint256",
521
+ name: "",
522
+ type: "uint256"
523
+ }
524
+ ],
525
+ stateMutability: "nonpayable",
526
+ type: "function"
527
+ },
528
+ {
529
+ inputs: [
530
+ {
531
+ internalType: "address",
532
+ name: "interaction",
533
+ type: "address"
534
+ }
535
+ ],
536
+ name: "getInteractionApprovals",
537
+ outputs: [
538
+ {
539
+ components: [
540
+ {
541
+ internalType: "address",
542
+ name: "tokenAddress",
543
+ type: "address"
544
+ },
545
+ {
546
+ internalType: "uint256",
547
+ name: "amount",
548
+ type: "uint256"
549
+ },
550
+ {
551
+ internalType: "uint256",
552
+ name: "inHinkalAddress",
553
+ type: "uint256"
554
+ }
555
+ ],
556
+ internalType: "struct ApprovedUtxo[]",
557
+ name: "approvedUtxos",
558
+ type: "tuple[]"
559
+ }
560
+ ],
561
+ stateMutability: "nonpayable",
562
+ type: "function"
563
+ },
439
564
  {
440
565
  inputs: [
441
566
  {
@@ -620,6 +745,19 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
620
745
  stateMutability: "view",
621
746
  type: "function"
622
747
  },
748
+ {
749
+ inputs: [],
750
+ name: "hinkalInLogic",
751
+ outputs: [
752
+ {
753
+ internalType: "contract IHinkalInLogic",
754
+ name: "",
755
+ type: "address"
756
+ }
757
+ ],
758
+ stateMutability: "view",
759
+ type: "function"
760
+ },
623
761
  {
624
762
  inputs: [
625
763
  {
@@ -770,19 +908,6 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
770
908
  stateMutability: "view",
771
909
  type: "function"
772
910
  },
773
- {
774
- inputs: [
775
- {
776
- internalType: "bytes",
777
- name: "shieldedAddressHash",
778
- type: "bytes"
779
- }
780
- ],
781
- name: "register",
782
- outputs: [],
783
- stateMutability: "nonpayable",
784
- type: "function"
785
- },
786
911
  {
787
912
  inputs: [
788
913
  {
@@ -819,19 +944,6 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
819
944
  stateMutability: "nonpayable",
820
945
  type: "function"
821
946
  },
822
- {
823
- inputs: [
824
- {
825
- internalType: "uint256",
826
- name: "externalActionId",
827
- type: "uint256"
828
- }
829
- ],
830
- name: "removeExternalAction",
831
- outputs: [],
832
- stateMutability: "nonpayable",
833
- type: "function"
834
- },
835
947
  {
836
948
  inputs: [
837
949
  {
@@ -924,11 +1036,11 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
924
1036
  inputs: [
925
1037
  {
926
1038
  internalType: "address",
927
- name: "_accessToken",
1039
+ name: "_hinkalHelper",
928
1040
  type: "address"
929
1041
  }
930
1042
  ],
931
- name: "setAccessToken",
1043
+ name: "setHinkalHelper",
932
1044
  outputs: [],
933
1045
  stateMutability: "nonpayable",
934
1046
  type: "function"
@@ -937,11 +1049,11 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
937
1049
  inputs: [
938
1050
  {
939
1051
  internalType: "address",
940
- name: "_hinkalHelper",
1052
+ name: "_hinkalLogic",
941
1053
  type: "address"
942
1054
  }
943
1055
  ],
944
- name: "setHinkalHelper",
1056
+ name: "setHinkalLogic",
945
1057
  outputs: [],
946
1058
  stateMutability: "nonpayable",
947
1059
  type: "function"
@@ -1026,6 +1138,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1026
1138
  name: "amountChanges",
1027
1139
  type: "int256[]"
1028
1140
  },
1141
+ {
1142
+ internalType: "bool[]",
1143
+ name: "onChainCreation",
1144
+ type: "bool[]"
1145
+ },
1146
+ {
1147
+ internalType: "int256[]",
1148
+ name: "slippageValues",
1149
+ type: "int256[]"
1150
+ },
1029
1151
  {
1030
1152
  internalType: "uint256[][]",
1031
1153
  name: "inputNullifiers",
@@ -1042,9 +1164,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1042
1164
  type: "bytes[][]"
1043
1165
  },
1044
1166
  {
1045
- internalType: "uint256[]",
1046
- name: "flatFees",
1047
- type: "uint256[]"
1167
+ components: [
1168
+ {
1169
+ internalType: "address",
1170
+ name: "feeToken",
1171
+ type: "address"
1172
+ },
1173
+ {
1174
+ internalType: "uint256",
1175
+ name: "flatFee",
1176
+ type: "uint256"
1177
+ },
1178
+ {
1179
+ internalType: "uint256",
1180
+ name: "variableRate",
1181
+ type: "uint256"
1182
+ }
1183
+ ],
1184
+ internalType: "struct FeeStructure",
1185
+ name: "feeStructure",
1186
+ type: "tuple"
1048
1187
  },
1049
1188
  {
1050
1189
  internalType: "uint256",
@@ -1113,6 +1252,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1113
1252
  name: "externalActionMetadata",
1114
1253
  type: "bytes"
1115
1254
  },
1255
+ {
1256
+ components: [
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "hinkalLogicAction",
1260
+ type: "uint256"
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "inHinkalAddress",
1265
+ type: "uint256"
1266
+ },
1267
+ {
1268
+ internalType: "int256[]",
1269
+ name: "executeApprovalChanges",
1270
+ type: "int256[]"
1271
+ },
1272
+ {
1273
+ internalType: "bool",
1274
+ name: "doPreTxApproval",
1275
+ type: "bool"
1276
+ },
1277
+ {
1278
+ components: [
1279
+ {
1280
+ internalType: "int256[]",
1281
+ name: "approvalChanges",
1282
+ type: "int256[]"
1283
+ },
1284
+ {
1285
+ internalType: "address[]",
1286
+ name: "externalApprovalAddresses",
1287
+ type: "address[]"
1288
+ },
1289
+ {
1290
+ internalType: "uint256[]",
1291
+ name: "conversionInHinkalAddress",
1292
+ type: "uint256[]"
1293
+ }
1294
+ ],
1295
+ internalType: "struct UseApprovalUTXOData[]",
1296
+ name: "useApprovalUtxoData",
1297
+ type: "tuple[]"
1298
+ }
1299
+ ],
1300
+ internalType: "struct HinkalLogicArgs",
1301
+ name: "hinkalLogicArgs",
1302
+ type: "tuple"
1303
+ },
1116
1304
  {
1117
1305
  components: [
1118
1306
  {
@@ -1154,576 +1342,18 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1154
1342
  {
1155
1343
  inputs: [
1156
1344
  {
1157
- internalType: "uint256[2]",
1158
- name: "a",
1159
- type: "uint256[2]"
1160
- },
1161
- {
1162
- internalType: "uint256[2][2]",
1163
- name: "b",
1164
- type: "uint256[2][2]"
1165
- },
1166
- {
1167
- internalType: "uint256[2]",
1168
- name: "c",
1169
- type: "uint256[2]"
1170
- },
1171
- {
1172
- components: [
1173
- {
1174
- internalType: "uint16",
1175
- name: "tokenNumber",
1176
- type: "uint16"
1177
- },
1178
- {
1179
- internalType: "uint16",
1180
- name: "nullifierAmount",
1181
- type: "uint16"
1182
- },
1183
- {
1184
- internalType: "uint16",
1185
- name: "outputAmount",
1186
- type: "uint16"
1187
- }
1188
- ],
1189
- internalType: "struct Dimensions",
1190
- name: "dimensions",
1191
- type: "tuple"
1192
- },
1193
- {
1194
- components: [
1195
- {
1196
- internalType: "uint256",
1197
- name: "rootHashHinkal",
1198
- type: "uint256"
1199
- },
1200
- {
1201
- internalType: "address[]",
1202
- name: "erc20TokenAddresses",
1203
- type: "address[]"
1204
- },
1205
- {
1206
- internalType: "uint256[]",
1207
- name: "tokenIds",
1208
- type: "uint256[]"
1209
- },
1210
- {
1211
- internalType: "int256[]",
1212
- name: "amountChanges",
1213
- type: "int256[]"
1214
- },
1215
- {
1216
- internalType: "uint256[][]",
1217
- name: "inputNullifiers",
1218
- type: "uint256[][]"
1219
- },
1220
- {
1221
- internalType: "uint256[][]",
1222
- name: "outCommitments",
1223
- type: "uint256[][]"
1224
- },
1225
- {
1226
- internalType: "bytes[][]",
1227
- name: "encryptedOutputs",
1228
- type: "bytes[][]"
1229
- },
1230
- {
1231
- internalType: "uint256[]",
1232
- name: "flatFees",
1233
- type: "uint256[]"
1234
- },
1235
- {
1236
- internalType: "uint256",
1237
- name: "timeStamp",
1238
- type: "uint256"
1239
- },
1240
- {
1241
- components: [
1242
- {
1243
- internalType: "uint256",
1244
- name: "extraRandomization",
1245
- type: "uint256"
1246
- },
1247
- {
1248
- internalType: "uint256",
1249
- name: "stealthAddress",
1250
- type: "uint256"
1251
- },
1252
- {
1253
- internalType: "uint256",
1254
- name: "H0",
1255
- type: "uint256"
1256
- },
1257
- {
1258
- internalType: "uint256",
1259
- name: "H1",
1260
- type: "uint256"
1261
- }
1262
- ],
1263
- internalType: "struct StealthAddressStructure",
1264
- name: "stealthAddressStructure",
1265
- type: "tuple"
1266
- },
1267
- {
1268
- internalType: "uint256",
1269
- name: "rootHashAccessToken",
1270
- type: "uint256"
1271
- },
1272
- {
1273
- internalType: "uint256",
1274
- name: "calldataHash",
1275
- type: "uint256"
1276
- },
1277
- {
1278
- internalType: "uint16",
1279
- name: "publicSignalCount",
1280
- type: "uint16"
1281
- },
1282
- {
1283
- internalType: "address",
1284
- name: "relay",
1285
- type: "address"
1286
- },
1287
- {
1288
- internalType: "address",
1289
- name: "externalAddress",
1290
- type: "address"
1291
- },
1292
- {
1293
- internalType: "uint256",
1294
- name: "externalActionId",
1295
- type: "uint256"
1296
- },
1297
- {
1298
- internalType: "bytes",
1299
- name: "externalActionMetadata",
1300
- type: "bytes"
1301
- },
1302
- {
1303
- components: [
1304
- {
1305
- internalType: "address",
1306
- name: "preHookContract",
1307
- type: "address"
1308
- },
1309
- {
1310
- internalType: "address",
1311
- name: "hookContract",
1312
- type: "address"
1313
- },
1314
- {
1315
- internalType: "bytes",
1316
- name: "preHookMetadata",
1317
- type: "bytes"
1318
- },
1319
- {
1320
- internalType: "bytes",
1321
- name: "postHookMetadata",
1322
- type: "bytes"
1323
- }
1324
- ],
1325
- internalType: "struct HookData",
1326
- name: "hookData",
1327
- type: "tuple"
1328
- }
1329
- ],
1330
- internalType: "struct CircomData",
1331
- name: "circomData",
1332
- type: "tuple"
1333
- }
1334
- ],
1335
- name: "transactWithExternalAction",
1336
- outputs: [],
1337
- stateMutability: "payable",
1338
- type: "function"
1339
- },
1340
- {
1341
- inputs: [
1342
- {
1343
- internalType: "uint256[2]",
1344
- name: "a",
1345
- type: "uint256[2]"
1346
- },
1347
- {
1348
- internalType: "uint256[2][2]",
1349
- name: "b",
1350
- type: "uint256[2][2]"
1351
- },
1352
- {
1353
- internalType: "uint256[2]",
1354
- name: "c",
1355
- type: "uint256[2]"
1356
- },
1357
- {
1358
- components: [
1359
- {
1360
- internalType: "uint16",
1361
- name: "tokenNumber",
1362
- type: "uint16"
1363
- },
1364
- {
1365
- internalType: "uint16",
1366
- name: "nullifierAmount",
1367
- type: "uint16"
1368
- },
1369
- {
1370
- internalType: "uint16",
1371
- name: "outputAmount",
1372
- type: "uint16"
1373
- }
1374
- ],
1375
- internalType: "struct Dimensions",
1376
- name: "dimensions",
1377
- type: "tuple"
1378
- },
1379
- {
1380
- components: [
1381
- {
1382
- internalType: "uint256",
1383
- name: "rootHashHinkal",
1384
- type: "uint256"
1385
- },
1386
- {
1387
- internalType: "address[]",
1388
- name: "erc20TokenAddresses",
1389
- type: "address[]"
1390
- },
1391
- {
1392
- internalType: "uint256[]",
1393
- name: "tokenIds",
1394
- type: "uint256[]"
1395
- },
1396
- {
1397
- internalType: "int256[]",
1398
- name: "amountChanges",
1399
- type: "int256[]"
1400
- },
1401
- {
1402
- internalType: "uint256[][]",
1403
- name: "inputNullifiers",
1404
- type: "uint256[][]"
1405
- },
1406
- {
1407
- internalType: "uint256[][]",
1408
- name: "outCommitments",
1409
- type: "uint256[][]"
1410
- },
1411
- {
1412
- internalType: "bytes[][]",
1413
- name: "encryptedOutputs",
1414
- type: "bytes[][]"
1415
- },
1416
- {
1417
- internalType: "uint256[]",
1418
- name: "flatFees",
1419
- type: "uint256[]"
1420
- },
1421
- {
1422
- internalType: "uint256",
1423
- name: "timeStamp",
1424
- type: "uint256"
1425
- },
1426
- {
1427
- components: [
1428
- {
1429
- internalType: "uint256",
1430
- name: "extraRandomization",
1431
- type: "uint256"
1432
- },
1433
- {
1434
- internalType: "uint256",
1435
- name: "stealthAddress",
1436
- type: "uint256"
1437
- },
1438
- {
1439
- internalType: "uint256",
1440
- name: "H0",
1441
- type: "uint256"
1442
- },
1443
- {
1444
- internalType: "uint256",
1445
- name: "H1",
1446
- type: "uint256"
1447
- }
1448
- ],
1449
- internalType: "struct StealthAddressStructure",
1450
- name: "stealthAddressStructure",
1451
- type: "tuple"
1452
- },
1453
- {
1454
- internalType: "uint256",
1455
- name: "rootHashAccessToken",
1456
- type: "uint256"
1457
- },
1458
- {
1459
- internalType: "uint256",
1460
- name: "calldataHash",
1461
- type: "uint256"
1462
- },
1463
- {
1464
- internalType: "uint16",
1465
- name: "publicSignalCount",
1466
- type: "uint16"
1467
- },
1468
- {
1469
- internalType: "address",
1470
- name: "relay",
1471
- type: "address"
1472
- },
1473
- {
1474
- internalType: "address",
1475
- name: "externalAddress",
1476
- type: "address"
1477
- },
1478
- {
1479
- internalType: "uint256",
1480
- name: "externalActionId",
1481
- type: "uint256"
1482
- },
1483
- {
1484
- internalType: "bytes",
1485
- name: "externalActionMetadata",
1486
- type: "bytes"
1487
- },
1488
- {
1489
- components: [
1490
- {
1491
- internalType: "address",
1492
- name: "preHookContract",
1493
- type: "address"
1494
- },
1495
- {
1496
- internalType: "address",
1497
- name: "hookContract",
1498
- type: "address"
1499
- },
1500
- {
1501
- internalType: "bytes",
1502
- name: "preHookMetadata",
1503
- type: "bytes"
1504
- },
1505
- {
1506
- internalType: "bytes",
1507
- name: "postHookMetadata",
1508
- type: "bytes"
1509
- }
1510
- ],
1511
- internalType: "struct HookData",
1512
- name: "hookData",
1513
- type: "tuple"
1514
- }
1515
- ],
1516
- internalType: "struct CircomData",
1517
- name: "circomData",
1518
- type: "tuple"
1519
- }
1520
- ],
1521
- name: "transactWithExternalActionAndHook",
1522
- outputs: [],
1523
- stateMutability: "payable",
1524
- type: "function"
1525
- },
1526
- {
1527
- inputs: [
1528
- {
1529
- internalType: "uint256[2]",
1530
- name: "a",
1531
- type: "uint256[2]"
1532
- },
1533
- {
1534
- internalType: "uint256[2][2]",
1535
- name: "b",
1536
- type: "uint256[2][2]"
1537
- },
1538
- {
1539
- internalType: "uint256[2]",
1540
- name: "c",
1541
- type: "uint256[2]"
1542
- },
1543
- {
1544
- components: [
1545
- {
1546
- internalType: "uint16",
1547
- name: "tokenNumber",
1548
- type: "uint16"
1549
- },
1550
- {
1551
- internalType: "uint16",
1552
- name: "nullifierAmount",
1553
- type: "uint16"
1554
- },
1555
- {
1556
- internalType: "uint16",
1557
- name: "outputAmount",
1558
- type: "uint16"
1559
- }
1560
- ],
1561
- internalType: "struct Dimensions",
1562
- name: "dimensions",
1563
- type: "tuple"
1564
- },
1565
- {
1566
- components: [
1567
- {
1568
- internalType: "uint256",
1569
- name: "rootHashHinkal",
1570
- type: "uint256"
1571
- },
1572
- {
1573
- internalType: "address[]",
1574
- name: "erc20TokenAddresses",
1575
- type: "address[]"
1576
- },
1577
- {
1578
- internalType: "uint256[]",
1579
- name: "tokenIds",
1580
- type: "uint256[]"
1581
- },
1582
- {
1583
- internalType: "int256[]",
1584
- name: "amountChanges",
1585
- type: "int256[]"
1586
- },
1587
- {
1588
- internalType: "uint256[][]",
1589
- name: "inputNullifiers",
1590
- type: "uint256[][]"
1591
- },
1592
- {
1593
- internalType: "uint256[][]",
1594
- name: "outCommitments",
1595
- type: "uint256[][]"
1596
- },
1597
- {
1598
- internalType: "bytes[][]",
1599
- name: "encryptedOutputs",
1600
- type: "bytes[][]"
1601
- },
1602
- {
1603
- internalType: "uint256[]",
1604
- name: "flatFees",
1605
- type: "uint256[]"
1606
- },
1607
- {
1608
- internalType: "uint256",
1609
- name: "timeStamp",
1610
- type: "uint256"
1611
- },
1612
- {
1613
- components: [
1614
- {
1615
- internalType: "uint256",
1616
- name: "extraRandomization",
1617
- type: "uint256"
1618
- },
1619
- {
1620
- internalType: "uint256",
1621
- name: "stealthAddress",
1622
- type: "uint256"
1623
- },
1624
- {
1625
- internalType: "uint256",
1626
- name: "H0",
1627
- type: "uint256"
1628
- },
1629
- {
1630
- internalType: "uint256",
1631
- name: "H1",
1632
- type: "uint256"
1633
- }
1634
- ],
1635
- internalType: "struct StealthAddressStructure",
1636
- name: "stealthAddressStructure",
1637
- type: "tuple"
1638
- },
1639
- {
1640
- internalType: "uint256",
1641
- name: "rootHashAccessToken",
1642
- type: "uint256"
1643
- },
1644
- {
1645
- internalType: "uint256",
1646
- name: "calldataHash",
1647
- type: "uint256"
1648
- },
1649
- {
1650
- internalType: "uint16",
1651
- name: "publicSignalCount",
1652
- type: "uint16"
1653
- },
1654
- {
1655
- internalType: "address",
1656
- name: "relay",
1657
- type: "address"
1658
- },
1659
- {
1660
- internalType: "address",
1661
- name: "externalAddress",
1662
- type: "address"
1663
- },
1664
- {
1665
- internalType: "uint256",
1666
- name: "externalActionId",
1667
- type: "uint256"
1668
- },
1669
- {
1670
- internalType: "bytes",
1671
- name: "externalActionMetadata",
1672
- type: "bytes"
1673
- },
1674
- {
1675
- components: [
1676
- {
1677
- internalType: "address",
1678
- name: "preHookContract",
1679
- type: "address"
1680
- },
1681
- {
1682
- internalType: "address",
1683
- name: "hookContract",
1684
- type: "address"
1685
- },
1686
- {
1687
- internalType: "bytes",
1688
- name: "preHookMetadata",
1689
- type: "bytes"
1690
- },
1691
- {
1692
- internalType: "bytes",
1693
- name: "postHookMetadata",
1694
- type: "bytes"
1695
- }
1696
- ],
1697
- internalType: "struct HookData",
1698
- name: "hookData",
1699
- type: "tuple"
1700
- }
1701
- ],
1702
- internalType: "struct CircomData",
1703
- name: "circomData",
1704
- type: "tuple"
1705
- }
1706
- ],
1707
- name: "transactWithHook",
1708
- outputs: [],
1709
- stateMutability: "payable",
1710
- type: "function"
1711
- },
1712
- {
1713
- inputs: [
1714
- {
1715
- internalType: "address",
1716
- name: "newOwner",
1717
- type: "address"
1718
- }
1719
- ],
1720
- name: "transferOwnership",
1721
- outputs: [],
1722
- stateMutability: "nonpayable",
1723
- type: "function"
1724
- },
1725
- {
1726
- inputs: [
1345
+ internalType: "address",
1346
+ name: "newOwner",
1347
+ type: "address"
1348
+ }
1349
+ ],
1350
+ name: "transferOwnership",
1351
+ outputs: [],
1352
+ stateMutability: "nonpayable",
1353
+ type: "function"
1354
+ },
1355
+ {
1356
+ inputs: [
1727
1357
  {
1728
1358
  internalType: "uint256",
1729
1359
  name: "",
@@ -1745,7 +1375,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1745
1375
  stateMutability: "payable",
1746
1376
  type: "receive"
1747
1377
  }
1748
- ], n = "0xf7263E7Fe5625eEAde04a4F2F9d594F990EA18F7", a = [
1378
+ ], n = "0x04A83b92d47Ba0f03E6bE05394C7624c1CF84829", a = [
1749
1379
  {
1750
1380
  inputs: [
1751
1381
  {
@@ -1753,6 +1383,11 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1753
1383
  name: "_enabled",
1754
1384
  type: "bool"
1755
1385
  },
1386
+ {
1387
+ internalType: "address",
1388
+ name: "_accessToken",
1389
+ type: "address"
1390
+ },
1756
1391
  {
1757
1392
  internalType: "address[]",
1758
1393
  name: "initialTokenSet",
@@ -1772,6 +1407,11 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1772
1407
  internalType: "uint256[]",
1773
1408
  name: "_stakeCircuitIds",
1774
1409
  type: "uint256[]"
1410
+ },
1411
+ {
1412
+ internalType: "address[]",
1413
+ name: "_gasTokens",
1414
+ type: "address[]"
1775
1415
  }
1776
1416
  ],
1777
1417
  stateMutability: "nonpayable",
@@ -1944,6 +1584,19 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1944
1584
  stateMutability: "view",
1945
1585
  type: "function"
1946
1586
  },
1587
+ {
1588
+ inputs: [],
1589
+ name: "accessToken",
1590
+ outputs: [
1591
+ {
1592
+ internalType: "contract ICrossChainAccessToken",
1593
+ name: "",
1594
+ type: "address"
1595
+ }
1596
+ ],
1597
+ stateMutability: "view",
1598
+ type: "function"
1599
+ },
1947
1600
  {
1948
1601
  inputs: [
1949
1602
  {
@@ -1957,6 +1610,19 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1957
1610
  stateMutability: "nonpayable",
1958
1611
  type: "function"
1959
1612
  },
1613
+ {
1614
+ inputs: [
1615
+ {
1616
+ internalType: "address[]",
1617
+ name: "_gasTokens",
1618
+ type: "address[]"
1619
+ }
1620
+ ],
1621
+ name: "addGasTokens",
1622
+ outputs: [],
1623
+ stateMutability: "nonpayable",
1624
+ type: "function"
1625
+ },
1960
1626
  {
1961
1627
  inputs: [
1962
1628
  {
@@ -1987,11 +1653,6 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1987
1653
  name: "balance",
1988
1654
  type: "uint256"
1989
1655
  },
1990
- {
1991
- internalType: "address",
1992
- name: "tokenAddress",
1993
- type: "address"
1994
- },
1995
1656
  {
1996
1657
  internalType: "uint256",
1997
1658
  name: "flatFee",
@@ -1999,7 +1660,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
1999
1660
  },
2000
1661
  {
2001
1662
  internalType: "uint256",
2002
- name: "externalActionId",
1663
+ name: "variableRate",
2003
1664
  type: "uint256"
2004
1665
  }
2005
1666
  ],
@@ -2011,7 +1672,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2011
1672
  type: "uint256"
2012
1673
  }
2013
1674
  ],
2014
- stateMutability: "view",
1675
+ stateMutability: "pure",
2015
1676
  type: "function"
2016
1677
  },
2017
1678
  {
@@ -2043,20 +1704,20 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2043
1704
  {
2044
1705
  inputs: [
2045
1706
  {
2046
- internalType: "uint256",
2047
- name: "H",
2048
- type: "uint256"
1707
+ internalType: "address",
1708
+ name: "",
1709
+ type: "address"
2049
1710
  }
2050
1711
  ],
2051
- name: "getPointSign",
1712
+ name: "gasTokens",
2052
1713
  outputs: [
2053
1714
  {
2054
- internalType: "uint256",
1715
+ internalType: "bool",
2055
1716
  name: "",
2056
- type: "uint256"
1717
+ type: "bool"
2057
1718
  }
2058
1719
  ],
2059
- stateMutability: "pure",
1720
+ stateMutability: "view",
2060
1721
  type: "function"
2061
1722
  },
2062
1723
  {
@@ -2067,7 +1728,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2067
1728
  type: "uint256"
2068
1729
  }
2069
1730
  ],
2070
- name: "getPointY",
1731
+ name: "getPointSign",
2071
1732
  outputs: [
2072
1733
  {
2073
1734
  internalType: "uint256",
@@ -2076,59 +1737,25 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2076
1737
  }
2077
1738
  ],
2078
1739
  stateMutability: "pure",
2079
- type: "function"
2080
- },
2081
- {
2082
- inputs: [
2083
- {
2084
- internalType: "uint256",
2085
- name: "amount",
2086
- type: "uint256"
2087
- },
2088
- {
2089
- internalType: "address",
2090
- name: "erc20Address",
2091
- type: "address"
2092
- }
2093
- ],
2094
- name: "getRelayPercentage",
2095
- outputs: [
2096
- {
2097
- internalType: "uint32",
2098
- name: "",
2099
- type: "uint32"
2100
- }
2101
- ],
2102
- stateMutability: "view",
2103
- type: "function"
2104
- },
2105
- {
2106
- inputs: [
2107
- {
2108
- internalType: "uint256",
2109
- name: "amount",
2110
- type: "uint256"
2111
- },
2112
- {
2113
- internalType: "address",
2114
- name: "erc20Address",
2115
- type: "address"
2116
- },
1740
+ type: "function"
1741
+ },
1742
+ {
1743
+ inputs: [
2117
1744
  {
2118
1745
  internalType: "uint256",
2119
- name: "externalActionId",
1746
+ name: "H",
2120
1747
  type: "uint256"
2121
1748
  }
2122
1749
  ],
2123
- name: "getRelayPercentageExternal",
1750
+ name: "getPointY",
2124
1751
  outputs: [
2125
1752
  {
2126
- internalType: "uint32",
1753
+ internalType: "uint256",
2127
1754
  name: "",
2128
- type: "uint32"
1755
+ type: "uint256"
2129
1756
  }
2130
1757
  ],
2131
- stateMutability: "view",
1758
+ stateMutability: "pure",
2132
1759
  type: "function"
2133
1760
  },
2134
1761
  {
@@ -2180,6 +1807,25 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2180
1807
  stateMutability: "view",
2181
1808
  type: "function"
2182
1809
  },
1810
+ {
1811
+ inputs: [
1812
+ {
1813
+ internalType: "address",
1814
+ name: "token",
1815
+ type: "address"
1816
+ }
1817
+ ],
1818
+ name: "isGasToken",
1819
+ outputs: [
1820
+ {
1821
+ internalType: "bool",
1822
+ name: "",
1823
+ type: "bool"
1824
+ }
1825
+ ],
1826
+ stateMutability: "view",
1827
+ type: "function"
1828
+ },
2183
1829
  {
2184
1830
  inputs: [
2185
1831
  {
@@ -2236,6 +1882,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2236
1882
  name: "amountChanges",
2237
1883
  type: "int256[]"
2238
1884
  },
1885
+ {
1886
+ internalType: "bool[]",
1887
+ name: "onChainCreation",
1888
+ type: "bool[]"
1889
+ },
1890
+ {
1891
+ internalType: "int256[]",
1892
+ name: "slippageValues",
1893
+ type: "int256[]"
1894
+ },
2239
1895
  {
2240
1896
  internalType: "uint256[][]",
2241
1897
  name: "inputNullifiers",
@@ -2252,9 +1908,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2252
1908
  type: "bytes[][]"
2253
1909
  },
2254
1910
  {
2255
- internalType: "uint256[]",
2256
- name: "flatFees",
2257
- type: "uint256[]"
1911
+ components: [
1912
+ {
1913
+ internalType: "address",
1914
+ name: "feeToken",
1915
+ type: "address"
1916
+ },
1917
+ {
1918
+ internalType: "uint256",
1919
+ name: "flatFee",
1920
+ type: "uint256"
1921
+ },
1922
+ {
1923
+ internalType: "uint256",
1924
+ name: "variableRate",
1925
+ type: "uint256"
1926
+ }
1927
+ ],
1928
+ internalType: "struct FeeStructure",
1929
+ name: "feeStructure",
1930
+ type: "tuple"
2258
1931
  },
2259
1932
  {
2260
1933
  internalType: "uint256",
@@ -2323,6 +1996,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2323
1996
  name: "externalActionMetadata",
2324
1997
  type: "bytes"
2325
1998
  },
1999
+ {
2000
+ components: [
2001
+ {
2002
+ internalType: "uint256",
2003
+ name: "hinkalLogicAction",
2004
+ type: "uint256"
2005
+ },
2006
+ {
2007
+ internalType: "uint256",
2008
+ name: "inHinkalAddress",
2009
+ type: "uint256"
2010
+ },
2011
+ {
2012
+ internalType: "int256[]",
2013
+ name: "executeApprovalChanges",
2014
+ type: "int256[]"
2015
+ },
2016
+ {
2017
+ internalType: "bool",
2018
+ name: "doPreTxApproval",
2019
+ type: "bool"
2020
+ },
2021
+ {
2022
+ components: [
2023
+ {
2024
+ internalType: "int256[]",
2025
+ name: "approvalChanges",
2026
+ type: "int256[]"
2027
+ },
2028
+ {
2029
+ internalType: "address[]",
2030
+ name: "externalApprovalAddresses",
2031
+ type: "address[]"
2032
+ },
2033
+ {
2034
+ internalType: "uint256[]",
2035
+ name: "conversionInHinkalAddress",
2036
+ type: "uint256[]"
2037
+ }
2038
+ ],
2039
+ internalType: "struct UseApprovalUTXOData[]",
2040
+ name: "useApprovalUtxoData",
2041
+ type: "tuple[]"
2042
+ }
2043
+ ],
2044
+ internalType: "struct HinkalLogicArgs",
2045
+ name: "hinkalLogicArgs",
2046
+ type: "tuple"
2047
+ },
2326
2048
  {
2327
2049
  components: [
2328
2050
  {
@@ -2418,32 +2140,6 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2418
2140
  stateMutability: "view",
2419
2141
  type: "function"
2420
2142
  },
2421
- {
2422
- inputs: [],
2423
- name: "relayPercentage",
2424
- outputs: [
2425
- {
2426
- internalType: "uint32",
2427
- name: "",
2428
- type: "uint32"
2429
- }
2430
- ],
2431
- stateMutability: "view",
2432
- type: "function"
2433
- },
2434
- {
2435
- inputs: [],
2436
- name: "relayPercentageExternal",
2437
- outputs: [
2438
- {
2439
- internalType: "uint32",
2440
- name: "",
2441
- type: "uint32"
2442
- }
2443
- ],
2444
- stateMutability: "view",
2445
- type: "function"
2446
- },
2447
2143
  {
2448
2144
  inputs: [
2449
2145
  {
@@ -2509,25 +2205,12 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2509
2205
  {
2510
2206
  inputs: [
2511
2207
  {
2512
- internalType: "uint32",
2513
- name: "_relayPercentage",
2514
- type: "uint32"
2515
- }
2516
- ],
2517
- name: "setRelayPercentage",
2518
- outputs: [],
2519
- stateMutability: "nonpayable",
2520
- type: "function"
2521
- },
2522
- {
2523
- inputs: [
2524
- {
2525
- internalType: "uint32",
2526
- name: "_relayPercentageExternal",
2527
- type: "uint32"
2208
+ internalType: "address",
2209
+ name: "_accessToken",
2210
+ type: "address"
2528
2211
  }
2529
2212
  ],
2530
- name: "setRelayPercentageExternal",
2213
+ name: "setAccessToken",
2531
2214
  outputs: [],
2532
2215
  stateMutability: "nonpayable",
2533
2216
  type: "function"
@@ -2674,7 +2357,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
2674
2357
  stateMutability: "nonpayable",
2675
2358
  type: "function"
2676
2359
  }
2677
- ], i = "0x2404F64A2462EA25AE95f77AD4006c5C1E54cD2f", s = [
2360
+ ], i = "0xce67A5621DbDbfBAe7eaa3970d7959eE272e0cb2", s = [
2678
2361
  {
2679
2362
  inputs: [
2680
2363
  {
@@ -3714,7 +3397,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
3714
3397
  stateMutability: "nonpayable",
3715
3398
  type: "function"
3716
3399
  }
3717
- ], p = "0xe59FF2F5eC7D109221ffaAbE183A64A63FA4F8c8", r = [
3400
+ ], p = "0xd844cc44866cabC48c25e08EF0DE00b5392c8857", r = [
3718
3401
  {
3719
3402
  inputs: [
3720
3403
  {
@@ -3942,6 +3625,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
3942
3625
  name: "amountChanges",
3943
3626
  type: "int256[]"
3944
3627
  },
3628
+ {
3629
+ internalType: "bool[]",
3630
+ name: "onChainCreation",
3631
+ type: "bool[]"
3632
+ },
3633
+ {
3634
+ internalType: "int256[]",
3635
+ name: "slippageValues",
3636
+ type: "int256[]"
3637
+ },
3945
3638
  {
3946
3639
  internalType: "uint256[][]",
3947
3640
  name: "inputNullifiers",
@@ -3958,9 +3651,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
3958
3651
  type: "bytes[][]"
3959
3652
  },
3960
3653
  {
3961
- internalType: "uint256[]",
3962
- name: "flatFees",
3963
- type: "uint256[]"
3654
+ components: [
3655
+ {
3656
+ internalType: "address",
3657
+ name: "feeToken",
3658
+ type: "address"
3659
+ },
3660
+ {
3661
+ internalType: "uint256",
3662
+ name: "flatFee",
3663
+ type: "uint256"
3664
+ },
3665
+ {
3666
+ internalType: "uint256",
3667
+ name: "variableRate",
3668
+ type: "uint256"
3669
+ }
3670
+ ],
3671
+ internalType: "struct FeeStructure",
3672
+ name: "feeStructure",
3673
+ type: "tuple"
3964
3674
  },
3965
3675
  {
3966
3676
  internalType: "uint256",
@@ -4029,6 +3739,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4029
3739
  name: "externalActionMetadata",
4030
3740
  type: "bytes"
4031
3741
  },
3742
+ {
3743
+ components: [
3744
+ {
3745
+ internalType: "uint256",
3746
+ name: "hinkalLogicAction",
3747
+ type: "uint256"
3748
+ },
3749
+ {
3750
+ internalType: "uint256",
3751
+ name: "inHinkalAddress",
3752
+ type: "uint256"
3753
+ },
3754
+ {
3755
+ internalType: "int256[]",
3756
+ name: "executeApprovalChanges",
3757
+ type: "int256[]"
3758
+ },
3759
+ {
3760
+ internalType: "bool",
3761
+ name: "doPreTxApproval",
3762
+ type: "bool"
3763
+ },
3764
+ {
3765
+ components: [
3766
+ {
3767
+ internalType: "int256[]",
3768
+ name: "approvalChanges",
3769
+ type: "int256[]"
3770
+ },
3771
+ {
3772
+ internalType: "address[]",
3773
+ name: "externalApprovalAddresses",
3774
+ type: "address[]"
3775
+ },
3776
+ {
3777
+ internalType: "uint256[]",
3778
+ name: "conversionInHinkalAddress",
3779
+ type: "uint256[]"
3780
+ }
3781
+ ],
3782
+ internalType: "struct UseApprovalUTXOData[]",
3783
+ name: "useApprovalUtxoData",
3784
+ type: "tuple[]"
3785
+ }
3786
+ ],
3787
+ internalType: "struct HinkalLogicArgs",
3788
+ name: "hinkalLogicArgs",
3789
+ type: "tuple"
3790
+ },
4032
3791
  {
4033
3792
  components: [
4034
3793
  {
@@ -4489,6 +4248,19 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4489
4248
  stateMutability: "nonpayable",
4490
4249
  type: "function"
4491
4250
  },
4251
+ {
4252
+ inputs: [
4253
+ {
4254
+ internalType: "address",
4255
+ name: "_hinkal",
4256
+ type: "address"
4257
+ }
4258
+ ],
4259
+ name: "setHinkal",
4260
+ outputs: [],
4261
+ stateMutability: "nonpayable",
4262
+ type: "function"
4263
+ },
4492
4264
  {
4493
4265
  inputs: [
4494
4266
  {
@@ -4545,7 +4317,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4545
4317
  stateMutability: "payable",
4546
4318
  type: "receive"
4547
4319
  }
4548
- ], y = "0x965e9591014b8FFEb9fE855463C3c350aC877A05", u = "0x3A465AE353369FBF95A3eE70519f4e8c5F47EfCE", d = "0xc4eEb832251a1823b5CB70DBc13e6ABf7fF6b5e2", l = "0xB937A3F956d63Eb578AB4De6904e46F4A8038D44", o = "0x5B21A6099bFd2b4503F5a57FFa6056d12ad1F09F", m = "0x43EAA89004F5cE4CDeA980B15FCF0103F44011E8", T = [
4320
+ ], y = "0x84cD6175597E020B5bD3BB65aB48D554B9525FAf", u = "0x9617cEa1352f31c346d57926C9abBa632834593d", l = "0x69e688082671B681553503Cd2FEA5A56127d2fcd", d = "0x8FD49AA4C6512dC9421A7354C0855DE55764D20a", o = "0x76d0bf912548c4b54E78cD02B4eed43A7807B84D", m = "0xAb01E459cF160c5715CA90EaD39eafC74BD11D5A", T = [
4549
4321
  {
4550
4322
  inputs: [
4551
4323
  {
@@ -4716,6 +4488,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4716
4488
  name: "amountChanges",
4717
4489
  type: "int256[]"
4718
4490
  },
4491
+ {
4492
+ internalType: "bool[]",
4493
+ name: "onChainCreation",
4494
+ type: "bool[]"
4495
+ },
4496
+ {
4497
+ internalType: "int256[]",
4498
+ name: "slippageValues",
4499
+ type: "int256[]"
4500
+ },
4719
4501
  {
4720
4502
  internalType: "uint256[][]",
4721
4503
  name: "inputNullifiers",
@@ -4732,9 +4514,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4732
4514
  type: "bytes[][]"
4733
4515
  },
4734
4516
  {
4735
- internalType: "uint256[]",
4736
- name: "flatFees",
4737
- type: "uint256[]"
4517
+ components: [
4518
+ {
4519
+ internalType: "address",
4520
+ name: "feeToken",
4521
+ type: "address"
4522
+ },
4523
+ {
4524
+ internalType: "uint256",
4525
+ name: "flatFee",
4526
+ type: "uint256"
4527
+ },
4528
+ {
4529
+ internalType: "uint256",
4530
+ name: "variableRate",
4531
+ type: "uint256"
4532
+ }
4533
+ ],
4534
+ internalType: "struct FeeStructure",
4535
+ name: "feeStructure",
4536
+ type: "tuple"
4738
4537
  },
4739
4538
  {
4740
4539
  internalType: "uint256",
@@ -4803,6 +4602,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4803
4602
  name: "externalActionMetadata",
4804
4603
  type: "bytes"
4805
4604
  },
4605
+ {
4606
+ components: [
4607
+ {
4608
+ internalType: "uint256",
4609
+ name: "hinkalLogicAction",
4610
+ type: "uint256"
4611
+ },
4612
+ {
4613
+ internalType: "uint256",
4614
+ name: "inHinkalAddress",
4615
+ type: "uint256"
4616
+ },
4617
+ {
4618
+ internalType: "int256[]",
4619
+ name: "executeApprovalChanges",
4620
+ type: "int256[]"
4621
+ },
4622
+ {
4623
+ internalType: "bool",
4624
+ name: "doPreTxApproval",
4625
+ type: "bool"
4626
+ },
4627
+ {
4628
+ components: [
4629
+ {
4630
+ internalType: "int256[]",
4631
+ name: "approvalChanges",
4632
+ type: "int256[]"
4633
+ },
4634
+ {
4635
+ internalType: "address[]",
4636
+ name: "externalApprovalAddresses",
4637
+ type: "address[]"
4638
+ },
4639
+ {
4640
+ internalType: "uint256[]",
4641
+ name: "conversionInHinkalAddress",
4642
+ type: "uint256[]"
4643
+ }
4644
+ ],
4645
+ internalType: "struct UseApprovalUTXOData[]",
4646
+ name: "useApprovalUtxoData",
4647
+ type: "tuple[]"
4648
+ }
4649
+ ],
4650
+ internalType: "struct HinkalLogicArgs",
4651
+ name: "hinkalLogicArgs",
4652
+ type: "tuple"
4653
+ },
4806
4654
  {
4807
4655
  components: [
4808
4656
  {
@@ -4926,7 +4774,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
4926
4774
  stateMutability: "payable",
4927
4775
  type: "receive"
4928
4776
  }
4929
- ], c = "0x28e3B63F197cc479cad5ad80Ba557412910ED808", b = [
4777
+ ], c = "0x0Ff708A179Bd7bCbD5C14c698dA4b157395CA1B7", b = [
4930
4778
  {
4931
4779
  inputs: [
4932
4780
  {
@@ -5097,6 +4945,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5097
4945
  name: "amountChanges",
5098
4946
  type: "int256[]"
5099
4947
  },
4948
+ {
4949
+ internalType: "bool[]",
4950
+ name: "onChainCreation",
4951
+ type: "bool[]"
4952
+ },
4953
+ {
4954
+ internalType: "int256[]",
4955
+ name: "slippageValues",
4956
+ type: "int256[]"
4957
+ },
5100
4958
  {
5101
4959
  internalType: "uint256[][]",
5102
4960
  name: "inputNullifiers",
@@ -5113,9 +4971,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5113
4971
  type: "bytes[][]"
5114
4972
  },
5115
4973
  {
5116
- internalType: "uint256[]",
5117
- name: "flatFees",
5118
- type: "uint256[]"
4974
+ components: [
4975
+ {
4976
+ internalType: "address",
4977
+ name: "feeToken",
4978
+ type: "address"
4979
+ },
4980
+ {
4981
+ internalType: "uint256",
4982
+ name: "flatFee",
4983
+ type: "uint256"
4984
+ },
4985
+ {
4986
+ internalType: "uint256",
4987
+ name: "variableRate",
4988
+ type: "uint256"
4989
+ }
4990
+ ],
4991
+ internalType: "struct FeeStructure",
4992
+ name: "feeStructure",
4993
+ type: "tuple"
5119
4994
  },
5120
4995
  {
5121
4996
  internalType: "uint256",
@@ -5184,6 +5059,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5184
5059
  name: "externalActionMetadata",
5185
5060
  type: "bytes"
5186
5061
  },
5062
+ {
5063
+ components: [
5064
+ {
5065
+ internalType: "uint256",
5066
+ name: "hinkalLogicAction",
5067
+ type: "uint256"
5068
+ },
5069
+ {
5070
+ internalType: "uint256",
5071
+ name: "inHinkalAddress",
5072
+ type: "uint256"
5073
+ },
5074
+ {
5075
+ internalType: "int256[]",
5076
+ name: "executeApprovalChanges",
5077
+ type: "int256[]"
5078
+ },
5079
+ {
5080
+ internalType: "bool",
5081
+ name: "doPreTxApproval",
5082
+ type: "bool"
5083
+ },
5084
+ {
5085
+ components: [
5086
+ {
5087
+ internalType: "int256[]",
5088
+ name: "approvalChanges",
5089
+ type: "int256[]"
5090
+ },
5091
+ {
5092
+ internalType: "address[]",
5093
+ name: "externalApprovalAddresses",
5094
+ type: "address[]"
5095
+ },
5096
+ {
5097
+ internalType: "uint256[]",
5098
+ name: "conversionInHinkalAddress",
5099
+ type: "uint256[]"
5100
+ }
5101
+ ],
5102
+ internalType: "struct UseApprovalUTXOData[]",
5103
+ name: "useApprovalUtxoData",
5104
+ type: "tuple[]"
5105
+ }
5106
+ ],
5107
+ internalType: "struct HinkalLogicArgs",
5108
+ name: "hinkalLogicArgs",
5109
+ type: "tuple"
5110
+ },
5187
5111
  {
5188
5112
  components: [
5189
5113
  {
@@ -5307,7 +5231,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5307
5231
  stateMutability: "payable",
5308
5232
  type: "receive"
5309
5233
  }
5310
- ], f = "0x041Ee45aFBf1151E92DC733CE963226665DE52dE", A = [
5234
+ ], f = "0x8e6540EEBCB7FAa3489879226CA1d1b2a69E6212", A = [
5311
5235
  {
5312
5236
  inputs: [
5313
5237
  {
@@ -5520,6 +5444,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5520
5444
  name: "amountChanges",
5521
5445
  type: "int256[]"
5522
5446
  },
5447
+ {
5448
+ internalType: "bool[]",
5449
+ name: "onChainCreation",
5450
+ type: "bool[]"
5451
+ },
5452
+ {
5453
+ internalType: "int256[]",
5454
+ name: "slippageValues",
5455
+ type: "int256[]"
5456
+ },
5523
5457
  {
5524
5458
  internalType: "uint256[][]",
5525
5459
  name: "inputNullifiers",
@@ -5536,9 +5470,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5536
5470
  type: "bytes[][]"
5537
5471
  },
5538
5472
  {
5539
- internalType: "uint256[]",
5540
- name: "flatFees",
5541
- type: "uint256[]"
5473
+ components: [
5474
+ {
5475
+ internalType: "address",
5476
+ name: "feeToken",
5477
+ type: "address"
5478
+ },
5479
+ {
5480
+ internalType: "uint256",
5481
+ name: "flatFee",
5482
+ type: "uint256"
5483
+ },
5484
+ {
5485
+ internalType: "uint256",
5486
+ name: "variableRate",
5487
+ type: "uint256"
5488
+ }
5489
+ ],
5490
+ internalType: "struct FeeStructure",
5491
+ name: "feeStructure",
5492
+ type: "tuple"
5542
5493
  },
5543
5494
  {
5544
5495
  internalType: "uint256",
@@ -5607,6 +5558,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5607
5558
  name: "externalActionMetadata",
5608
5559
  type: "bytes"
5609
5560
  },
5561
+ {
5562
+ components: [
5563
+ {
5564
+ internalType: "uint256",
5565
+ name: "hinkalLogicAction",
5566
+ type: "uint256"
5567
+ },
5568
+ {
5569
+ internalType: "uint256",
5570
+ name: "inHinkalAddress",
5571
+ type: "uint256"
5572
+ },
5573
+ {
5574
+ internalType: "int256[]",
5575
+ name: "executeApprovalChanges",
5576
+ type: "int256[]"
5577
+ },
5578
+ {
5579
+ internalType: "bool",
5580
+ name: "doPreTxApproval",
5581
+ type: "bool"
5582
+ },
5583
+ {
5584
+ components: [
5585
+ {
5586
+ internalType: "int256[]",
5587
+ name: "approvalChanges",
5588
+ type: "int256[]"
5589
+ },
5590
+ {
5591
+ internalType: "address[]",
5592
+ name: "externalApprovalAddresses",
5593
+ type: "address[]"
5594
+ },
5595
+ {
5596
+ internalType: "uint256[]",
5597
+ name: "conversionInHinkalAddress",
5598
+ type: "uint256[]"
5599
+ }
5600
+ ],
5601
+ internalType: "struct UseApprovalUTXOData[]",
5602
+ name: "useApprovalUtxoData",
5603
+ type: "tuple[]"
5604
+ }
5605
+ ],
5606
+ internalType: "struct HinkalLogicArgs",
5607
+ name: "hinkalLogicArgs",
5608
+ type: "tuple"
5609
+ },
5610
5610
  {
5611
5611
  components: [
5612
5612
  {
@@ -5730,7 +5730,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
5730
5730
  stateMutability: "payable",
5731
5731
  type: "receive"
5732
5732
  }
5733
- ], w = [
5733
+ ], v = [
5734
5734
  {
5735
5735
  inputs: [
5736
5736
  {
@@ -6171,7 +6171,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
6171
6171
  stateMutability: "nonpayable",
6172
6172
  type: "function"
6173
6173
  }
6174
- ], M = "0x06CB2B86bAaB196CCC04DFdf8eBdFA7F72719807", v = [
6174
+ ], w = "0x4e7Ea9Ae55b7005fDba2e22384Ff04564A35dbC3", M = [
6175
6175
  {
6176
6176
  inputs: [
6177
6177
  {
@@ -6366,6 +6366,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
6366
6366
  name: "amountChanges",
6367
6367
  type: "int256[]"
6368
6368
  },
6369
+ {
6370
+ internalType: "bool[]",
6371
+ name: "onChainCreation",
6372
+ type: "bool[]"
6373
+ },
6374
+ {
6375
+ internalType: "int256[]",
6376
+ name: "slippageValues",
6377
+ type: "int256[]"
6378
+ },
6369
6379
  {
6370
6380
  internalType: "uint256[][]",
6371
6381
  name: "inputNullifiers",
@@ -6382,9 +6392,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
6382
6392
  type: "bytes[][]"
6383
6393
  },
6384
6394
  {
6385
- internalType: "uint256[]",
6386
- name: "flatFees",
6387
- type: "uint256[]"
6395
+ components: [
6396
+ {
6397
+ internalType: "address",
6398
+ name: "feeToken",
6399
+ type: "address"
6400
+ },
6401
+ {
6402
+ internalType: "uint256",
6403
+ name: "flatFee",
6404
+ type: "uint256"
6405
+ },
6406
+ {
6407
+ internalType: "uint256",
6408
+ name: "variableRate",
6409
+ type: "uint256"
6410
+ }
6411
+ ],
6412
+ internalType: "struct FeeStructure",
6413
+ name: "feeStructure",
6414
+ type: "tuple"
6388
6415
  },
6389
6416
  {
6390
6417
  internalType: "uint256",
@@ -6453,6 +6480,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
6453
6480
  name: "externalActionMetadata",
6454
6481
  type: "bytes"
6455
6482
  },
6483
+ {
6484
+ components: [
6485
+ {
6486
+ internalType: "uint256",
6487
+ name: "hinkalLogicAction",
6488
+ type: "uint256"
6489
+ },
6490
+ {
6491
+ internalType: "uint256",
6492
+ name: "inHinkalAddress",
6493
+ type: "uint256"
6494
+ },
6495
+ {
6496
+ internalType: "int256[]",
6497
+ name: "executeApprovalChanges",
6498
+ type: "int256[]"
6499
+ },
6500
+ {
6501
+ internalType: "bool",
6502
+ name: "doPreTxApproval",
6503
+ type: "bool"
6504
+ },
6505
+ {
6506
+ components: [
6507
+ {
6508
+ internalType: "int256[]",
6509
+ name: "approvalChanges",
6510
+ type: "int256[]"
6511
+ },
6512
+ {
6513
+ internalType: "address[]",
6514
+ name: "externalApprovalAddresses",
6515
+ type: "address[]"
6516
+ },
6517
+ {
6518
+ internalType: "uint256[]",
6519
+ name: "conversionInHinkalAddress",
6520
+ type: "uint256[]"
6521
+ }
6522
+ ],
6523
+ internalType: "struct UseApprovalUTXOData[]",
6524
+ name: "useApprovalUtxoData",
6525
+ type: "tuple[]"
6526
+ }
6527
+ ],
6528
+ internalType: "struct HinkalLogicArgs",
6529
+ name: "hinkalLogicArgs",
6530
+ type: "tuple"
6531
+ },
6456
6532
  {
6457
6533
  components: [
6458
6534
  {
@@ -7348,6 +7424,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7348
7424
  name: "amountChanges",
7349
7425
  type: "int256[]"
7350
7426
  },
7427
+ {
7428
+ internalType: "bool[]",
7429
+ name: "onChainCreation",
7430
+ type: "bool[]"
7431
+ },
7432
+ {
7433
+ internalType: "int256[]",
7434
+ name: "slippageValues",
7435
+ type: "int256[]"
7436
+ },
7351
7437
  {
7352
7438
  internalType: "uint256[][]",
7353
7439
  name: "inputNullifiers",
@@ -7364,9 +7450,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7364
7450
  type: "bytes[][]"
7365
7451
  },
7366
7452
  {
7367
- internalType: "uint256[]",
7368
- name: "flatFees",
7369
- type: "uint256[]"
7453
+ components: [
7454
+ {
7455
+ internalType: "address",
7456
+ name: "feeToken",
7457
+ type: "address"
7458
+ },
7459
+ {
7460
+ internalType: "uint256",
7461
+ name: "flatFee",
7462
+ type: "uint256"
7463
+ },
7464
+ {
7465
+ internalType: "uint256",
7466
+ name: "variableRate",
7467
+ type: "uint256"
7468
+ }
7469
+ ],
7470
+ internalType: "struct FeeStructure",
7471
+ name: "feeStructure",
7472
+ type: "tuple"
7370
7473
  },
7371
7474
  {
7372
7475
  internalType: "uint256",
@@ -7435,6 +7538,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7435
7538
  name: "externalActionMetadata",
7436
7539
  type: "bytes"
7437
7540
  },
7541
+ {
7542
+ components: [
7543
+ {
7544
+ internalType: "uint256",
7545
+ name: "hinkalLogicAction",
7546
+ type: "uint256"
7547
+ },
7548
+ {
7549
+ internalType: "uint256",
7550
+ name: "inHinkalAddress",
7551
+ type: "uint256"
7552
+ },
7553
+ {
7554
+ internalType: "int256[]",
7555
+ name: "executeApprovalChanges",
7556
+ type: "int256[]"
7557
+ },
7558
+ {
7559
+ internalType: "bool",
7560
+ name: "doPreTxApproval",
7561
+ type: "bool"
7562
+ },
7563
+ {
7564
+ components: [
7565
+ {
7566
+ internalType: "int256[]",
7567
+ name: "approvalChanges",
7568
+ type: "int256[]"
7569
+ },
7570
+ {
7571
+ internalType: "address[]",
7572
+ name: "externalApprovalAddresses",
7573
+ type: "address[]"
7574
+ },
7575
+ {
7576
+ internalType: "uint256[]",
7577
+ name: "conversionInHinkalAddress",
7578
+ type: "uint256[]"
7579
+ }
7580
+ ],
7581
+ internalType: "struct UseApprovalUTXOData[]",
7582
+ name: "useApprovalUtxoData",
7583
+ type: "tuple[]"
7584
+ }
7585
+ ],
7586
+ internalType: "struct HinkalLogicArgs",
7587
+ name: "hinkalLogicArgs",
7588
+ type: "tuple"
7589
+ },
7438
7590
  {
7439
7591
  components: [
7440
7592
  {
@@ -7729,6 +7881,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7729
7881
  name: "amountChanges",
7730
7882
  type: "int256[]"
7731
7883
  },
7884
+ {
7885
+ internalType: "bool[]",
7886
+ name: "onChainCreation",
7887
+ type: "bool[]"
7888
+ },
7889
+ {
7890
+ internalType: "int256[]",
7891
+ name: "slippageValues",
7892
+ type: "int256[]"
7893
+ },
7732
7894
  {
7733
7895
  internalType: "uint256[][]",
7734
7896
  name: "inputNullifiers",
@@ -7745,9 +7907,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7745
7907
  type: "bytes[][]"
7746
7908
  },
7747
7909
  {
7748
- internalType: "uint256[]",
7749
- name: "flatFees",
7750
- type: "uint256[]"
7910
+ components: [
7911
+ {
7912
+ internalType: "address",
7913
+ name: "feeToken",
7914
+ type: "address"
7915
+ },
7916
+ {
7917
+ internalType: "uint256",
7918
+ name: "flatFee",
7919
+ type: "uint256"
7920
+ },
7921
+ {
7922
+ internalType: "uint256",
7923
+ name: "variableRate",
7924
+ type: "uint256"
7925
+ }
7926
+ ],
7927
+ internalType: "struct FeeStructure",
7928
+ name: "feeStructure",
7929
+ type: "tuple"
7751
7930
  },
7752
7931
  {
7753
7932
  internalType: "uint256",
@@ -7816,6 +7995,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
7816
7995
  name: "externalActionMetadata",
7817
7996
  type: "bytes"
7818
7997
  },
7998
+ {
7999
+ components: [
8000
+ {
8001
+ internalType: "uint256",
8002
+ name: "hinkalLogicAction",
8003
+ type: "uint256"
8004
+ },
8005
+ {
8006
+ internalType: "uint256",
8007
+ name: "inHinkalAddress",
8008
+ type: "uint256"
8009
+ },
8010
+ {
8011
+ internalType: "int256[]",
8012
+ name: "executeApprovalChanges",
8013
+ type: "int256[]"
8014
+ },
8015
+ {
8016
+ internalType: "bool",
8017
+ name: "doPreTxApproval",
8018
+ type: "bool"
8019
+ },
8020
+ {
8021
+ components: [
8022
+ {
8023
+ internalType: "int256[]",
8024
+ name: "approvalChanges",
8025
+ type: "int256[]"
8026
+ },
8027
+ {
8028
+ internalType: "address[]",
8029
+ name: "externalApprovalAddresses",
8030
+ type: "address[]"
8031
+ },
8032
+ {
8033
+ internalType: "uint256[]",
8034
+ name: "conversionInHinkalAddress",
8035
+ type: "uint256[]"
8036
+ }
8037
+ ],
8038
+ internalType: "struct UseApprovalUTXOData[]",
8039
+ name: "useApprovalUtxoData",
8040
+ type: "tuple[]"
8041
+ }
8042
+ ],
8043
+ internalType: "struct HinkalLogicArgs",
8044
+ name: "hinkalLogicArgs",
8045
+ type: "tuple"
8046
+ },
7819
8047
  {
7820
8048
  components: [
7821
8049
  {
@@ -8474,7 +8702,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
8474
8702
  stateMutability: "nonpayable",
8475
8703
  type: "function"
8476
8704
  }
8477
- ], H = "0xd7412653700DD686306923d3f294bc080c887d35", O = "0xF42DbA601EF3db176e2F4534830bDA3E08163B47", C = [
8705
+ ], C = "0x6e60Dd7af13E5D0373E91A535bA46e69A7c7332B", H = "0x9F4dB1442FB3C2f2Fb009BbC9d77a8BA95396Fd0", O = [
8478
8706
  {
8479
8707
  inputs: [
8480
8708
  {
@@ -8713,6 +8941,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
8713
8941
  name: "amountChanges",
8714
8942
  type: "int256[]"
8715
8943
  },
8944
+ {
8945
+ internalType: "bool[]",
8946
+ name: "onChainCreation",
8947
+ type: "bool[]"
8948
+ },
8949
+ {
8950
+ internalType: "int256[]",
8951
+ name: "slippageValues",
8952
+ type: "int256[]"
8953
+ },
8716
8954
  {
8717
8955
  internalType: "uint256[][]",
8718
8956
  name: "inputNullifiers",
@@ -8729,9 +8967,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
8729
8967
  type: "bytes[][]"
8730
8968
  },
8731
8969
  {
8732
- internalType: "uint256[]",
8733
- name: "flatFees",
8734
- type: "uint256[]"
8970
+ components: [
8971
+ {
8972
+ internalType: "address",
8973
+ name: "feeToken",
8974
+ type: "address"
8975
+ },
8976
+ {
8977
+ internalType: "uint256",
8978
+ name: "flatFee",
8979
+ type: "uint256"
8980
+ },
8981
+ {
8982
+ internalType: "uint256",
8983
+ name: "variableRate",
8984
+ type: "uint256"
8985
+ }
8986
+ ],
8987
+ internalType: "struct FeeStructure",
8988
+ name: "feeStructure",
8989
+ type: "tuple"
8735
8990
  },
8736
8991
  {
8737
8992
  internalType: "uint256",
@@ -8800,6 +9055,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
8800
9055
  name: "externalActionMetadata",
8801
9056
  type: "bytes"
8802
9057
  },
9058
+ {
9059
+ components: [
9060
+ {
9061
+ internalType: "uint256",
9062
+ name: "hinkalLogicAction",
9063
+ type: "uint256"
9064
+ },
9065
+ {
9066
+ internalType: "uint256",
9067
+ name: "inHinkalAddress",
9068
+ type: "uint256"
9069
+ },
9070
+ {
9071
+ internalType: "int256[]",
9072
+ name: "executeApprovalChanges",
9073
+ type: "int256[]"
9074
+ },
9075
+ {
9076
+ internalType: "bool",
9077
+ name: "doPreTxApproval",
9078
+ type: "bool"
9079
+ },
9080
+ {
9081
+ components: [
9082
+ {
9083
+ internalType: "int256[]",
9084
+ name: "approvalChanges",
9085
+ type: "int256[]"
9086
+ },
9087
+ {
9088
+ internalType: "address[]",
9089
+ name: "externalApprovalAddresses",
9090
+ type: "address[]"
9091
+ },
9092
+ {
9093
+ internalType: "uint256[]",
9094
+ name: "conversionInHinkalAddress",
9095
+ type: "uint256[]"
9096
+ }
9097
+ ],
9098
+ internalType: "struct UseApprovalUTXOData[]",
9099
+ name: "useApprovalUtxoData",
9100
+ type: "tuple[]"
9101
+ }
9102
+ ],
9103
+ internalType: "struct HinkalLogicArgs",
9104
+ name: "hinkalLogicArgs",
9105
+ type: "tuple"
9106
+ },
8803
9107
  {
8804
9108
  components: [
8805
9109
  {
@@ -8936,7 +9240,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
8936
9240
  stateMutability: "payable",
8937
9241
  type: "receive"
8938
9242
  }
8939
- ], S = "0x0F8c726cF0Fed77ecC1e29383a3626778077D368", I = [
9243
+ ], S = "0x59D563f614E7F88f8Ea0b7fA898BEF7C0080A1ac", I = [
8940
9244
  {
8941
9245
  inputs: [
8942
9246
  {
@@ -9188,6 +9492,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
9188
9492
  name: "amountChanges",
9189
9493
  type: "int256[]"
9190
9494
  },
9495
+ {
9496
+ internalType: "bool[]",
9497
+ name: "onChainCreation",
9498
+ type: "bool[]"
9499
+ },
9500
+ {
9501
+ internalType: "int256[]",
9502
+ name: "slippageValues",
9503
+ type: "int256[]"
9504
+ },
9191
9505
  {
9192
9506
  internalType: "uint256[][]",
9193
9507
  name: "inputNullifiers",
@@ -9204,9 +9518,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
9204
9518
  type: "bytes[][]"
9205
9519
  },
9206
9520
  {
9207
- internalType: "uint256[]",
9208
- name: "flatFees",
9209
- type: "uint256[]"
9521
+ components: [
9522
+ {
9523
+ internalType: "address",
9524
+ name: "feeToken",
9525
+ type: "address"
9526
+ },
9527
+ {
9528
+ internalType: "uint256",
9529
+ name: "flatFee",
9530
+ type: "uint256"
9531
+ },
9532
+ {
9533
+ internalType: "uint256",
9534
+ name: "variableRate",
9535
+ type: "uint256"
9536
+ }
9537
+ ],
9538
+ internalType: "struct FeeStructure",
9539
+ name: "feeStructure",
9540
+ type: "tuple"
9210
9541
  },
9211
9542
  {
9212
9543
  internalType: "uint256",
@@ -9275,6 +9606,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
9275
9606
  name: "externalActionMetadata",
9276
9607
  type: "bytes"
9277
9608
  },
9609
+ {
9610
+ components: [
9611
+ {
9612
+ internalType: "uint256",
9613
+ name: "hinkalLogicAction",
9614
+ type: "uint256"
9615
+ },
9616
+ {
9617
+ internalType: "uint256",
9618
+ name: "inHinkalAddress",
9619
+ type: "uint256"
9620
+ },
9621
+ {
9622
+ internalType: "int256[]",
9623
+ name: "executeApprovalChanges",
9624
+ type: "int256[]"
9625
+ },
9626
+ {
9627
+ internalType: "bool",
9628
+ name: "doPreTxApproval",
9629
+ type: "bool"
9630
+ },
9631
+ {
9632
+ components: [
9633
+ {
9634
+ internalType: "int256[]",
9635
+ name: "approvalChanges",
9636
+ type: "int256[]"
9637
+ },
9638
+ {
9639
+ internalType: "address[]",
9640
+ name: "externalApprovalAddresses",
9641
+ type: "address[]"
9642
+ },
9643
+ {
9644
+ internalType: "uint256[]",
9645
+ name: "conversionInHinkalAddress",
9646
+ type: "uint256[]"
9647
+ }
9648
+ ],
9649
+ internalType: "struct UseApprovalUTXOData[]",
9650
+ name: "useApprovalUtxoData",
9651
+ type: "tuple[]"
9652
+ }
9653
+ ],
9654
+ internalType: "struct HinkalLogicArgs",
9655
+ name: "hinkalLogicArgs",
9656
+ type: "tuple"
9657
+ },
9278
9658
  {
9279
9659
  components: [
9280
9660
  {
@@ -9411,7 +9791,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
9411
9791
  stateMutability: "payable",
9412
9792
  type: "receive"
9413
9793
  }
9414
- ], R = "0xB8ffeA6e14eb89B2Be483Bfa7578EB8f3957790c", E = [
9794
+ ], R = "0x2Ca9946a05aEFb1014CE52F16528154452a6e847", D = [
9415
9795
  {
9416
9796
  inputs: [
9417
9797
  {
@@ -10049,7 +10429,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
10049
10429
  stateMutability: "view",
10050
10430
  type: "function"
10051
10431
  }
10052
- ], D = [
10432
+ ], E = [
10053
10433
  {
10054
10434
  inputs: [
10055
10435
  {
@@ -10635,7 +11015,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
10635
11015
  stateMutability: "nonpayable",
10636
11016
  type: "function"
10637
11017
  }
10638
- ], _ = "0xc368Be2787E23D7b9C99802B9562E6ae1fE62f01", B = [
11018
+ ], _ = "0x824DC78C1F6B898fe379AeeFcfe698f50a72F32D", B = [
10639
11019
  {
10640
11020
  inputs: [
10641
11021
  {
@@ -10947,7 +11327,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
10947
11327
  stateMutability: "payable",
10948
11328
  type: "receive"
10949
11329
  }
10950
- ], F = "0xAb98D8AC0BFD0A8cf0A922012F5D82a7Bc8F92D4", P = [
11330
+ ], F = "0x844B7A0769FF0820b49bc78cF6c9cBB64b7325Fd", L = [
10951
11331
  {
10952
11332
  inputs: [
10953
11333
  {
@@ -11248,6 +11628,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11248
11628
  name: "amountChanges",
11249
11629
  type: "int256[]"
11250
11630
  },
11631
+ {
11632
+ internalType: "bool[]",
11633
+ name: "onChainCreation",
11634
+ type: "bool[]"
11635
+ },
11636
+ {
11637
+ internalType: "int256[]",
11638
+ name: "slippageValues",
11639
+ type: "int256[]"
11640
+ },
11251
11641
  {
11252
11642
  internalType: "uint256[][]",
11253
11643
  name: "inputNullifiers",
@@ -11264,9 +11654,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11264
11654
  type: "bytes[][]"
11265
11655
  },
11266
11656
  {
11267
- internalType: "uint256[]",
11268
- name: "flatFees",
11269
- type: "uint256[]"
11657
+ components: [
11658
+ {
11659
+ internalType: "address",
11660
+ name: "feeToken",
11661
+ type: "address"
11662
+ },
11663
+ {
11664
+ internalType: "uint256",
11665
+ name: "flatFee",
11666
+ type: "uint256"
11667
+ },
11668
+ {
11669
+ internalType: "uint256",
11670
+ name: "variableRate",
11671
+ type: "uint256"
11672
+ }
11673
+ ],
11674
+ internalType: "struct FeeStructure",
11675
+ name: "feeStructure",
11676
+ type: "tuple"
11270
11677
  },
11271
11678
  {
11272
11679
  internalType: "uint256",
@@ -11335,6 +11742,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11335
11742
  name: "externalActionMetadata",
11336
11743
  type: "bytes"
11337
11744
  },
11745
+ {
11746
+ components: [
11747
+ {
11748
+ internalType: "uint256",
11749
+ name: "hinkalLogicAction",
11750
+ type: "uint256"
11751
+ },
11752
+ {
11753
+ internalType: "uint256",
11754
+ name: "inHinkalAddress",
11755
+ type: "uint256"
11756
+ },
11757
+ {
11758
+ internalType: "int256[]",
11759
+ name: "executeApprovalChanges",
11760
+ type: "int256[]"
11761
+ },
11762
+ {
11763
+ internalType: "bool",
11764
+ name: "doPreTxApproval",
11765
+ type: "bool"
11766
+ },
11767
+ {
11768
+ components: [
11769
+ {
11770
+ internalType: "int256[]",
11771
+ name: "approvalChanges",
11772
+ type: "int256[]"
11773
+ },
11774
+ {
11775
+ internalType: "address[]",
11776
+ name: "externalApprovalAddresses",
11777
+ type: "address[]"
11778
+ },
11779
+ {
11780
+ internalType: "uint256[]",
11781
+ name: "conversionInHinkalAddress",
11782
+ type: "uint256[]"
11783
+ }
11784
+ ],
11785
+ internalType: "struct UseApprovalUTXOData[]",
11786
+ name: "useApprovalUtxoData",
11787
+ type: "tuple[]"
11788
+ }
11789
+ ],
11790
+ internalType: "struct HinkalLogicArgs",
11791
+ name: "hinkalLogicArgs",
11792
+ type: "tuple"
11793
+ },
11338
11794
  {
11339
11795
  components: [
11340
11796
  {
@@ -11580,7 +12036,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11580
12036
  stateMutability: "payable",
11581
12037
  type: "receive"
11582
12038
  }
11583
- ], V = "0xCa1EA03182B922F5E938459aA3a6d8dA62004AEB", N = [
12039
+ ], V = "0x731FaDfF58bC1BA712F90dec3bA4559196EF2eb1", U = [
11584
12040
  {
11585
12041
  inputs: [
11586
12042
  {
@@ -11707,6 +12163,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11707
12163
  name: "amountChanges",
11708
12164
  type: "int256[]"
11709
12165
  },
12166
+ {
12167
+ internalType: "bool[]",
12168
+ name: "onChainCreation",
12169
+ type: "bool[]"
12170
+ },
12171
+ {
12172
+ internalType: "int256[]",
12173
+ name: "slippageValues",
12174
+ type: "int256[]"
12175
+ },
11710
12176
  {
11711
12177
  internalType: "uint256[][]",
11712
12178
  name: "inputNullifiers",
@@ -11723,9 +12189,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11723
12189
  type: "bytes[][]"
11724
12190
  },
11725
12191
  {
11726
- internalType: "uint256[]",
11727
- name: "flatFees",
11728
- type: "uint256[]"
12192
+ components: [
12193
+ {
12194
+ internalType: "address",
12195
+ name: "feeToken",
12196
+ type: "address"
12197
+ },
12198
+ {
12199
+ internalType: "uint256",
12200
+ name: "flatFee",
12201
+ type: "uint256"
12202
+ },
12203
+ {
12204
+ internalType: "uint256",
12205
+ name: "variableRate",
12206
+ type: "uint256"
12207
+ }
12208
+ ],
12209
+ internalType: "struct FeeStructure",
12210
+ name: "feeStructure",
12211
+ type: "tuple"
11729
12212
  },
11730
12213
  {
11731
12214
  internalType: "uint256",
@@ -11794,6 +12277,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11794
12277
  name: "externalActionMetadata",
11795
12278
  type: "bytes"
11796
12279
  },
12280
+ {
12281
+ components: [
12282
+ {
12283
+ internalType: "uint256",
12284
+ name: "hinkalLogicAction",
12285
+ type: "uint256"
12286
+ },
12287
+ {
12288
+ internalType: "uint256",
12289
+ name: "inHinkalAddress",
12290
+ type: "uint256"
12291
+ },
12292
+ {
12293
+ internalType: "int256[]",
12294
+ name: "executeApprovalChanges",
12295
+ type: "int256[]"
12296
+ },
12297
+ {
12298
+ internalType: "bool",
12299
+ name: "doPreTxApproval",
12300
+ type: "bool"
12301
+ },
12302
+ {
12303
+ components: [
12304
+ {
12305
+ internalType: "int256[]",
12306
+ name: "approvalChanges",
12307
+ type: "int256[]"
12308
+ },
12309
+ {
12310
+ internalType: "address[]",
12311
+ name: "externalApprovalAddresses",
12312
+ type: "address[]"
12313
+ },
12314
+ {
12315
+ internalType: "uint256[]",
12316
+ name: "conversionInHinkalAddress",
12317
+ type: "uint256[]"
12318
+ }
12319
+ ],
12320
+ internalType: "struct UseApprovalUTXOData[]",
12321
+ name: "useApprovalUtxoData",
12322
+ type: "tuple[]"
12323
+ }
12324
+ ],
12325
+ internalType: "struct HinkalLogicArgs",
12326
+ name: "hinkalLogicArgs",
12327
+ type: "tuple"
12328
+ },
11797
12329
  {
11798
12330
  components: [
11799
12331
  {
@@ -11845,7 +12377,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
11845
12377
  stateMutability: "view",
11846
12378
  type: "function"
11847
12379
  }
11848
- ], W = "0x5c358f53a088ff3eEa1CB56F1fe870BAc392d02f", L = [
12380
+ ], P = "0x6603c0F7d206C39F1D83410cA9eA8a64AC22bd95", N = [
11849
12381
  {
11850
12382
  inputs: [
11851
12383
  {
@@ -12776,6 +13308,16 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
12776
13308
  name: "amountChanges",
12777
13309
  type: "int256[]"
12778
13310
  },
13311
+ {
13312
+ internalType: "bool[]",
13313
+ name: "onChainCreation",
13314
+ type: "bool[]"
13315
+ },
13316
+ {
13317
+ internalType: "int256[]",
13318
+ name: "slippageValues",
13319
+ type: "int256[]"
13320
+ },
12779
13321
  {
12780
13322
  internalType: "uint256[][]",
12781
13323
  name: "inputNullifiers",
@@ -12792,9 +13334,26 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
12792
13334
  type: "bytes[][]"
12793
13335
  },
12794
13336
  {
12795
- internalType: "uint256[]",
12796
- name: "flatFees",
12797
- type: "uint256[]"
13337
+ components: [
13338
+ {
13339
+ internalType: "address",
13340
+ name: "feeToken",
13341
+ type: "address"
13342
+ },
13343
+ {
13344
+ internalType: "uint256",
13345
+ name: "flatFee",
13346
+ type: "uint256"
13347
+ },
13348
+ {
13349
+ internalType: "uint256",
13350
+ name: "variableRate",
13351
+ type: "uint256"
13352
+ }
13353
+ ],
13354
+ internalType: "struct FeeStructure",
13355
+ name: "feeStructure",
13356
+ type: "tuple"
12798
13357
  },
12799
13358
  {
12800
13359
  internalType: "uint256",
@@ -12863,6 +13422,55 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
12863
13422
  name: "externalActionMetadata",
12864
13423
  type: "bytes"
12865
13424
  },
13425
+ {
13426
+ components: [
13427
+ {
13428
+ internalType: "uint256",
13429
+ name: "hinkalLogicAction",
13430
+ type: "uint256"
13431
+ },
13432
+ {
13433
+ internalType: "uint256",
13434
+ name: "inHinkalAddress",
13435
+ type: "uint256"
13436
+ },
13437
+ {
13438
+ internalType: "int256[]",
13439
+ name: "executeApprovalChanges",
13440
+ type: "int256[]"
13441
+ },
13442
+ {
13443
+ internalType: "bool",
13444
+ name: "doPreTxApproval",
13445
+ type: "bool"
13446
+ },
13447
+ {
13448
+ components: [
13449
+ {
13450
+ internalType: "int256[]",
13451
+ name: "approvalChanges",
13452
+ type: "int256[]"
13453
+ },
13454
+ {
13455
+ internalType: "address[]",
13456
+ name: "externalApprovalAddresses",
13457
+ type: "address[]"
13458
+ },
13459
+ {
13460
+ internalType: "uint256[]",
13461
+ name: "conversionInHinkalAddress",
13462
+ type: "uint256[]"
13463
+ }
13464
+ ],
13465
+ internalType: "struct UseApprovalUTXOData[]",
13466
+ name: "useApprovalUtxoData",
13467
+ type: "tuple[]"
13468
+ }
13469
+ ],
13470
+ internalType: "struct HinkalLogicArgs",
13471
+ name: "hinkalLogicArgs",
13472
+ type: "tuple"
13473
+ },
12866
13474
  {
12867
13475
  components: [
12868
13476
  {
@@ -13115,7 +13723,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
13115
13723
  stateMutability: "payable",
13116
13724
  type: "receive"
13117
13725
  }
13118
- ], z = [
13726
+ ], W = [
13119
13727
  {
13120
13728
  inputs: [
13121
13729
  {
@@ -13981,7 +14589,7 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
13981
14589
  stateMutability: "nonpayable",
13982
14590
  type: "function"
13983
14591
  }
13984
- ], K = "0x5Ea8c7Db069b9E81fc8E6EC43544F7fE826aB9B3", U = [
14592
+ ], z = "0xcCE0132334C228C0052267DC310c85c324aB49Ed", X = [
13985
14593
  {
13986
14594
  inputs: [
13987
14595
  {
@@ -14019,7 +14627,216 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
14019
14627
  stateMutability: "view",
14020
14628
  type: "function"
14021
14629
  }
14022
- ], X = "0xa9498AAdC99d6c7C7B5A49638DA945d29a36d713", G = {
14630
+ ], K = "0x690F838DAAeE94008cc252ED14646Fb83F961e59", G = "0x966Ea1955291d6F505367d1AfbA2611117566506", Y = "0x3AFf21dddFb1C0420De2854a4708BD54B51c482b", j = [
14631
+ {
14632
+ inputs: [],
14633
+ stateMutability: "nonpayable",
14634
+ type: "constructor"
14635
+ },
14636
+ {
14637
+ inputs: [],
14638
+ name: "Create2Failed",
14639
+ type: "error"
14640
+ },
14641
+ {
14642
+ inputs: [],
14643
+ name: "NotAllowedToCreateWallet",
14644
+ type: "error"
14645
+ },
14646
+ {
14647
+ anonymous: !1,
14648
+ inputs: [
14649
+ {
14650
+ indexed: !1,
14651
+ internalType: "uint8",
14652
+ name: "version",
14653
+ type: "uint8"
14654
+ }
14655
+ ],
14656
+ name: "Initialized",
14657
+ type: "event"
14658
+ },
14659
+ {
14660
+ anonymous: !1,
14661
+ inputs: [
14662
+ {
14663
+ indexed: !0,
14664
+ internalType: "address",
14665
+ name: "previousOwner",
14666
+ type: "address"
14667
+ },
14668
+ {
14669
+ indexed: !0,
14670
+ internalType: "address",
14671
+ name: "newOwner",
14672
+ type: "address"
14673
+ }
14674
+ ],
14675
+ name: "OwnershipTransferStarted",
14676
+ type: "event"
14677
+ },
14678
+ {
14679
+ anonymous: !1,
14680
+ inputs: [
14681
+ {
14682
+ indexed: !0,
14683
+ internalType: "address",
14684
+ name: "previousOwner",
14685
+ type: "address"
14686
+ },
14687
+ {
14688
+ indexed: !0,
14689
+ internalType: "address",
14690
+ name: "newOwner",
14691
+ type: "address"
14692
+ }
14693
+ ],
14694
+ name: "OwnershipTransferred",
14695
+ type: "event"
14696
+ },
14697
+ {
14698
+ inputs: [],
14699
+ name: "acceptOwnership",
14700
+ outputs: [],
14701
+ stateMutability: "nonpayable",
14702
+ type: "function"
14703
+ },
14704
+ {
14705
+ inputs: [
14706
+ {
14707
+ internalType: "bytes32",
14708
+ name: "salt",
14709
+ type: "bytes32"
14710
+ }
14711
+ ],
14712
+ name: "createWallet",
14713
+ outputs: [],
14714
+ stateMutability: "nonpayable",
14715
+ type: "function"
14716
+ },
14717
+ {
14718
+ inputs: [],
14719
+ name: "getEmporium",
14720
+ outputs: [
14721
+ {
14722
+ internalType: "address",
14723
+ name: "",
14724
+ type: "address"
14725
+ }
14726
+ ],
14727
+ stateMutability: "view",
14728
+ type: "function"
14729
+ },
14730
+ {
14731
+ inputs: [
14732
+ {
14733
+ internalType: "bytes32",
14734
+ name: "salt",
14735
+ type: "bytes32"
14736
+ }
14737
+ ],
14738
+ name: "getWallet",
14739
+ outputs: [
14740
+ {
14741
+ internalType: "contract IHinkalWallet",
14742
+ name: "",
14743
+ type: "address"
14744
+ }
14745
+ ],
14746
+ stateMutability: "view",
14747
+ type: "function"
14748
+ },
14749
+ {
14750
+ inputs: [
14751
+ {
14752
+ internalType: "address",
14753
+ name: "_emporium",
14754
+ type: "address"
14755
+ },
14756
+ {
14757
+ internalType: "address",
14758
+ name: "_beaconAdmin",
14759
+ type: "address"
14760
+ }
14761
+ ],
14762
+ name: "initialize",
14763
+ outputs: [],
14764
+ stateMutability: "nonpayable",
14765
+ type: "function"
14766
+ },
14767
+ {
14768
+ inputs: [],
14769
+ name: "owner",
14770
+ outputs: [
14771
+ {
14772
+ internalType: "address",
14773
+ name: "",
14774
+ type: "address"
14775
+ }
14776
+ ],
14777
+ stateMutability: "view",
14778
+ type: "function"
14779
+ },
14780
+ {
14781
+ inputs: [],
14782
+ name: "pendingOwner",
14783
+ outputs: [
14784
+ {
14785
+ internalType: "address",
14786
+ name: "",
14787
+ type: "address"
14788
+ }
14789
+ ],
14790
+ stateMutability: "view",
14791
+ type: "function"
14792
+ },
14793
+ {
14794
+ inputs: [],
14795
+ name: "renounceOwnership",
14796
+ outputs: [],
14797
+ stateMutability: "view",
14798
+ type: "function"
14799
+ },
14800
+ {
14801
+ inputs: [
14802
+ {
14803
+ internalType: "address",
14804
+ name: "_emporium",
14805
+ type: "address"
14806
+ }
14807
+ ],
14808
+ name: "setEmporium",
14809
+ outputs: [],
14810
+ stateMutability: "nonpayable",
14811
+ type: "function"
14812
+ },
14813
+ {
14814
+ inputs: [
14815
+ {
14816
+ internalType: "address",
14817
+ name: "newOwner",
14818
+ type: "address"
14819
+ }
14820
+ ],
14821
+ name: "transferOwnership",
14822
+ outputs: [],
14823
+ stateMutability: "nonpayable",
14824
+ type: "function"
14825
+ },
14826
+ {
14827
+ inputs: [],
14828
+ name: "walletBeacon",
14829
+ outputs: [
14830
+ {
14831
+ internalType: "contract IBeacon",
14832
+ name: "",
14833
+ type: "address"
14834
+ }
14835
+ ],
14836
+ stateMutability: "view",
14837
+ type: "function"
14838
+ }
14839
+ ], Z = {
14023
14840
  hinkalAddress: e,
14024
14841
  hinkalABI: t,
14025
14842
  hinkalHelperAddress: n,
@@ -14030,8 +14847,8 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
14030
14847
  crossChainAccessTokenManagerABI: r,
14031
14848
  uniswapExternalActionAddress: y,
14032
14849
  odosExternalActionInstanceAddress: u,
14033
- oneInchExternalActionInstanceAddress: d,
14034
- beefyExternalActionInstanceAddress: l,
14850
+ oneInchExternalActionInstanceAddress: l,
14851
+ beefyExternalActionInstanceAddress: d,
14035
14852
  beefyStakeExternalActionInstanceAddress: o,
14036
14853
  curveExternalActionInstanceAddress: m,
14037
14854
  curveExternalActionABI: T,
@@ -14039,50 +14856,53 @@ const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
14039
14856
  curveExternalActionDynamicABI: b,
14040
14857
  curveStakeExternalActionInstanceAddress: f,
14041
14858
  curveStakeExternalActionABI: A,
14042
- wrappedStakedCurveLpABI: w,
14043
- convexExternalActionInstanceAddress: M,
14044
- convexExternalActionABI: v,
14859
+ wrappedStakedCurveLpABI: v,
14860
+ convexExternalActionInstanceAddress: w,
14861
+ convexExternalActionABI: M,
14045
14862
  wrappedStakedConvexLpABI: k,
14046
14863
  BeefyExternalActionABI: h,
14047
14864
  BeefyStakeExternalActionABI: x,
14048
14865
  WrappedStakedBeefyLpABI: g,
14049
- lidoExternalActionEthAddress: H,
14050
- lidoExternalActionMaticAddress: O,
14051
- pendleExternalActionABI: C,
14866
+ lidoExternalActionEthAddress: C,
14867
+ lidoExternalActionMaticAddress: H,
14868
+ pendleExternalActionABI: O,
14052
14869
  pendleExternalActionInstanceAddress: S,
14053
14870
  pendleLPExternalActionABI: I,
14054
14871
  pendleLPExternalActionInstanceAddress: R,
14055
- WstYtTokenABI: E,
14056
- WstPendleLPABI: D,
14872
+ WstYtTokenABI: D,
14873
+ WstPendleLPABI: E,
14057
14874
  volatileVaultInstanceAddress: _,
14058
14875
  VolatileVaultABI: B,
14059
14876
  volatileTokenActionInstanceAddress: F,
14060
- VolatileTokenActionABI: P,
14877
+ VolatileTokenActionABI: L,
14061
14878
  hinkalWrapperAddress: V,
14062
- HinkalWrapperABI: N,
14063
- hinkalStakeExternalActionAddress: W,
14064
- HinkalStakeExternalActionABI: L,
14065
- HTokenABI: z,
14066
- hETHOracleAddress: K,
14067
- HTokenOracleABI: U,
14068
- emporiumAddress: X
14879
+ HinkalWrapperABI: U,
14880
+ hinkalStakeExternalActionAddress: P,
14881
+ HinkalStakeExternalActionABI: N,
14882
+ HTokenABI: W,
14883
+ hETHOracleAddress: z,
14884
+ HTokenOracleABI: X,
14885
+ emporiumAddress: K,
14886
+ hinkalWalletFactoryAddress: G,
14887
+ hinkalWalletBeaconAddress: Y,
14888
+ hinkalWalletFactoryABI: j
14069
14889
  };
14070
14890
  export {
14071
14891
  h as BeefyExternalActionABI,
14072
14892
  x as BeefyStakeExternalActionABI,
14073
- z as HTokenABI,
14074
- U as HTokenOracleABI,
14075
- L as HinkalStakeExternalActionABI,
14076
- N as HinkalWrapperABI,
14077
- P as VolatileTokenActionABI,
14893
+ W as HTokenABI,
14894
+ X as HTokenOracleABI,
14895
+ N as HinkalStakeExternalActionABI,
14896
+ U as HinkalWrapperABI,
14897
+ L as VolatileTokenActionABI,
14078
14898
  B as VolatileVaultABI,
14079
14899
  g as WrappedStakedBeefyLpABI,
14080
- D as WstPendleLPABI,
14081
- E as WstYtTokenABI,
14082
- l as beefyExternalActionInstanceAddress,
14900
+ E as WstPendleLPABI,
14901
+ D as WstYtTokenABI,
14902
+ d as beefyExternalActionInstanceAddress,
14083
14903
  o as beefyStakeExternalActionInstanceAddress,
14084
- v as convexExternalActionABI,
14085
- M as convexExternalActionInstanceAddress,
14904
+ M as convexExternalActionABI,
14905
+ w as convexExternalActionInstanceAddress,
14086
14906
  s as crossChainAccessTokenABI,
14087
14907
  i as crossChainAccessTokenAddress,
14088
14908
  r as crossChainAccessTokenManagerABI,
@@ -14093,20 +14913,23 @@ export {
14093
14913
  m as curveExternalActionInstanceAddress,
14094
14914
  A as curveStakeExternalActionABI,
14095
14915
  f as curveStakeExternalActionInstanceAddress,
14096
- G as default,
14097
- X as emporiumAddress,
14098
- K as hETHOracleAddress,
14916
+ Z as default,
14917
+ K as emporiumAddress,
14918
+ z as hETHOracleAddress,
14099
14919
  t as hinkalABI,
14100
14920
  e as hinkalAddress,
14101
14921
  a as hinkalHelperABI,
14102
14922
  n as hinkalHelperAddress,
14103
- W as hinkalStakeExternalActionAddress,
14923
+ P as hinkalStakeExternalActionAddress,
14924
+ Y as hinkalWalletBeaconAddress,
14925
+ j as hinkalWalletFactoryABI,
14926
+ G as hinkalWalletFactoryAddress,
14104
14927
  V as hinkalWrapperAddress,
14105
- H as lidoExternalActionEthAddress,
14106
- O as lidoExternalActionMaticAddress,
14928
+ C as lidoExternalActionEthAddress,
14929
+ H as lidoExternalActionMaticAddress,
14107
14930
  u as odosExternalActionInstanceAddress,
14108
- d as oneInchExternalActionInstanceAddress,
14109
- C as pendleExternalActionABI,
14931
+ l as oneInchExternalActionInstanceAddress,
14932
+ O as pendleExternalActionABI,
14110
14933
  S as pendleExternalActionInstanceAddress,
14111
14934
  I as pendleLPExternalActionABI,
14112
14935
  R as pendleLPExternalActionInstanceAddress,
@@ -14114,5 +14937,5 @@ export {
14114
14937
  F as volatileTokenActionInstanceAddress,
14115
14938
  _ as volatileVaultInstanceAddress,
14116
14939
  k as wrappedStakedConvexLpABI,
14117
- w as wrappedStakedCurveLpABI
14940
+ v as wrappedStakedCurveLpABI
14118
14941
  };