@hinkal/common 0.2.3 → 0.2.5

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 (262) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +2 -2
  3. package/API/API.mjs +22 -22
  4. package/API/duneAPI.cjs +1 -1
  5. package/API/duneAPI.mjs +3 -2
  6. package/API/userVerifyTransactions.cjs +1 -1
  7. package/API/userVerifyTransactions.d.ts +6 -7
  8. package/API/userVerifyTransactions.mjs +13 -14
  9. package/constants/chains.constants.cjs +1 -1
  10. package/constants/chains.constants.mjs +2 -2
  11. package/constants/contracts.constants.cjs +1 -1
  12. package/constants/contracts.constants.mjs +138 -134
  13. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  14. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
  15. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  16. package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
  17. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  18. package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
  19. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  20. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
  21. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  22. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
  23. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  24. package/constants/deploy-data/deploy-data-localhost.json.mjs +935 -100
  25. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  26. package/constants/deploy-data/deploy-data-optimism.json.mjs +858 -19
  27. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  28. package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
  29. package/constants/kyc.constants.cjs +1 -1
  30. package/constants/kyc.constants.mjs +30 -18
  31. package/constants/server.constants.cjs +1 -1
  32. package/constants/server.constants.d.ts +3 -2
  33. package/constants/server.constants.mjs +7 -6
  34. package/constants/token-data/ERC20Registry.cjs +1 -1
  35. package/constants/token-data/ERC20Registry.mjs +48 -48
  36. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  37. package/constants/token-data/arbMainnetRegistry.json.mjs +4 -1
  38. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  39. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +4 -1
  40. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  41. package/constants/token-data/avalancheRegistry.json.mjs +4 -1
  42. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  43. package/constants/token-data/avalancheRegistryFixed.json.mjs +4 -1
  44. package/constants/token-data/baseRegistry.json.cjs +1 -1
  45. package/constants/token-data/baseRegistry.json.mjs +4 -1
  46. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  47. package/constants/token-data/baseRegistryFixed.json.mjs +4 -1
  48. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  49. package/constants/token-data/bnbMainnetRegistry.json.mjs +12 -9
  50. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  51. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +12 -9
  52. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  53. package/constants/token-data/ethMainnetRegistry.json.mjs +15 -12
  54. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  55. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +15 -12
  56. package/constants/token-data/index.cjs +1 -0
  57. package/constants/token-data/index.d.ts +972 -15
  58. package/constants/token-data/index.mjs +34 -0
  59. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  60. package/constants/token-data/localhostRegistry.json.mjs +15 -12
  61. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  62. package/constants/token-data/optimismRegistry.json.mjs +4 -1
  63. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  64. package/constants/token-data/optimismRegistryFixed.json.mjs +4 -1
  65. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  66. package/constants/token-data/polygonRegistry.json.mjs +4 -1
  67. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  68. package/constants/token-data/polygonRegistryFixed.json.mjs +4 -1
  69. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  70. package/data-structures/Hinkal/Hinkal.d.ts +2 -0
  71. package/data-structures/Hinkal/Hinkal.mjs +38 -32
  72. package/data-structures/Hinkal/IHinkal.d.ts +2 -0
  73. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  74. package/data-structures/Hinkal/hinkalActionBeefy.mjs +21 -20
  75. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  76. package/data-structures/Hinkal/hinkalActionConvex.mjs +13 -12
  77. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  78. package/data-structures/Hinkal/hinkalActionCurve.mjs +15 -14
  79. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  80. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +17 -16
  81. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  82. package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
  83. package/data-structures/Hinkal/hinkalActionPendle.mjs +24 -23
  84. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  85. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +21 -20
  86. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  87. package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
  88. package/data-structures/Hinkal/hinkalActionStake.mjs +6 -5
  89. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  90. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
  91. package/data-structures/Hinkal/hinkalActionVolatile.mjs +9 -8
  92. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  93. package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
  94. package/data-structures/Hinkal/hinkalDeposit.mjs +93 -54
  95. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  96. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +3 -2
  97. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  98. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +5 -4
  99. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  100. package/data-structures/Hinkal/hinkalSwap.mjs +23 -22
  101. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  102. package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
  103. package/data-structures/Hinkal/hinkalWithdraw.mjs +13 -12
  104. package/data-structures/cacheDevices/LocalStorageCacheDevice.cjs +1 -1
  105. package/data-structures/cacheDevices/LocalStorageCacheDevice.d.ts +1 -1
  106. package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +2 -2
  107. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
  108. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +14 -18
  109. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  110. package/data-structures/merkle-tree/MerkleTree.d.ts +2 -0
  111. package/data-structures/merkle-tree/MerkleTree.mjs +38 -25
  112. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
  113. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
  114. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +9 -0
  115. package/data-structures/merkle-tree/index.d.ts +1 -0
  116. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  117. package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
  118. package/data-structures/transactions-manager/TransactionsManager.mjs +118 -111
  119. package/error-handling/error-codes.constants.cjs +1 -1
  120. package/error-handling/error-codes.constants.d.ts +4 -0
  121. package/error-handling/error-codes.constants.mjs +6 -2
  122. package/externalABIs/BabPassport.json.cjs +1 -1
  123. package/externalABIs/BabPassport.json.mjs +8 -3
  124. package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
  125. package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
  126. package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
  127. package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
  128. package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
  129. package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
  130. package/externalABIs/BeefyZapAbi.json.cjs +1 -1
  131. package/externalABIs/BeefyZapAbi.json.mjs +5 -2
  132. package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
  133. package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
  134. package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
  135. package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
  136. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
  137. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
  138. package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
  139. package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
  140. package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
  141. package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
  142. package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
  143. package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
  144. package/externalABIs/CurveZap.json.cjs +1 -1
  145. package/externalABIs/CurveZap.json.mjs +5 -2
  146. package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
  147. package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
  148. package/externalABIs/ERC20.json.cjs +1 -1
  149. package/externalABIs/ERC20.json.mjs +20 -3
  150. package/externalABIs/GalxePassport.json.cjs +1 -1
  151. package/externalABIs/GalxePassport.json.mjs +8 -3
  152. package/externalABIs/IQuoterV2.json.cjs +1 -1
  153. package/externalABIs/IQuoterV2.json.mjs +20 -3
  154. package/externalABIs/ISwapRouter.json.cjs +1 -1
  155. package/externalABIs/ISwapRouter.json.mjs +5 -2
  156. package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
  157. package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
  158. package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
  159. package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
  160. package/externalABIs/PendleRouterAbi.json.cjs +1 -1
  161. package/externalABIs/PendleRouterAbi.json.mjs +5 -2
  162. package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
  163. package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
  164. package/externalABIs/index.cjs +1 -0
  165. package/externalABIs/index.d.ts +307 -11
  166. package/externalABIs/index.mjs +23 -0
  167. package/externalABIs/transactionsProver.json.cjs +1 -1
  168. package/externalABIs/transactionsProver.json.mjs +20 -3
  169. package/functions/kyc/zkMeHelper.cjs +1 -1
  170. package/functions/kyc/zkMeHelper.d.ts +0 -1
  171. package/functions/kyc/zkMeHelper.mjs +8 -11
  172. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  173. package/functions/pre-transaction/process-gas-estimates.mjs +3 -2
  174. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  175. package/functions/private-wallet/emporium.helpers.d.ts +8 -3
  176. package/functions/private-wallet/emporium.helpers.mjs +23 -11
  177. package/functions/private-wallet/index.d.ts +1 -0
  178. package/functions/private-wallet/opProducer.cjs +1 -1
  179. package/functions/private-wallet/opProducer.mjs +9 -10
  180. package/functions/private-wallet/smartContractWalletCalculator.cjs +1 -0
  181. package/functions/private-wallet/smartContractWalletCalculator.d.ts +1 -0
  182. package/functions/private-wallet/smartContractWalletCalculator.mjs +20 -0
  183. package/functions/protocols/convex.protocols.cjs +1 -1
  184. package/functions/protocols/convex.protocols.mjs +3 -2
  185. package/functions/protocols/pendle.helpers.cjs +1 -1
  186. package/functions/protocols/pendle.helpers.mjs +1 -1
  187. package/functions/snarkjs/constant.cjs +1 -1
  188. package/functions/snarkjs/constant.d.ts +1 -0
  189. package/functions/snarkjs/constant.mjs +6 -5
  190. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  191. package/functions/snarkjs/constructEmporiumProof.d.ts +1 -1
  192. package/functions/snarkjs/constructEmporiumProof.mjs +31 -31
  193. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  194. package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
  195. package/functions/snarkjs/constructGeneralZkProof.mjs +76 -75
  196. package/functions/snarkjs/generateZkProof.cjs +1 -1
  197. package/functions/snarkjs/generateZkProof.d.ts +1 -1
  198. package/functions/snarkjs/generateZkProof.mjs +4 -15
  199. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
  200. package/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
  201. package/functions/snarkjs/generateZkProofEnclave.mjs +33 -0
  202. package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
  203. package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
  204. package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
  205. package/functions/utils/axelar.utils.cjs +1 -1
  206. package/functions/utils/axelar.utils.mjs +3 -2
  207. package/functions/utils/cacheDevice.utils.cjs +1 -1
  208. package/functions/utils/cacheDevice.utils.mjs +2 -1
  209. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  210. package/functions/utils/erc20tokenFunctions.mjs +8 -7
  211. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  212. package/functions/utils/evmNetworkFunctions.mjs +4 -3
  213. package/functions/utils/string.utils.cjs +1 -1
  214. package/functions/utils/string.utils.d.ts +1 -0
  215. package/functions/utils/string.utils.mjs +16 -6
  216. package/functions/utils/userAgent.cjs +1 -1
  217. package/functions/utils/userAgent.mjs +8 -8
  218. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  219. package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
  220. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  221. package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
  222. package/functions/web3/functionCalls/transactCallDirect.mjs +43 -29
  223. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  224. package/functions/web3/functionCalls/transactCallRelayer.mjs +10 -8
  225. package/functions/web3/getContractMetadata.cjs +1 -0
  226. package/functions/web3/getContractMetadata.d.ts +5 -0
  227. package/functions/web3/getContractMetadata.mjs +30 -0
  228. package/functions/web3/odosAPI.cjs +1 -1
  229. package/functions/web3/odosAPI.d.ts +1 -2
  230. package/functions/web3/odosAPI.mjs +19 -18
  231. package/functions/web3/oneInchAPI.cjs +1 -1
  232. package/functions/web3/oneInchAPI.d.ts +1 -2
  233. package/functions/web3/oneInchAPI.mjs +17 -15
  234. package/functions/web3/uniswapAPI.cjs +1 -1
  235. package/functions/web3/uniswapAPI.d.ts +4 -4
  236. package/functions/web3/uniswapAPI.mjs +54 -43
  237. package/index.cjs +1 -1
  238. package/index.mjs +620 -638
  239. package/package.json +3 -2
  240. package/providers/EthersProviderAdapter.cjs +1 -1
  241. package/providers/EthersProviderAdapter.d.ts +1 -0
  242. package/providers/EthersProviderAdapter.mjs +26 -37
  243. package/providers/WagmiProviderAdapter.cjs +1 -1
  244. package/providers/WagmiProviderAdapter.d.ts +1 -0
  245. package/providers/WagmiProviderAdapter.mjs +45 -56
  246. package/providers/prepareEthersHinkal.cjs +1 -1
  247. package/providers/prepareEthersHinkal.mjs +4 -3
  248. package/providers/prepareWagmiHinkal.cjs +1 -1
  249. package/providers/prepareWagmiHinkal.mjs +4 -3
  250. package/types/ethereum-network.types.cjs +1 -1
  251. package/types/ethereum-network.types.d.ts +64 -59
  252. package/types/ethereum-network.types.mjs +1 -1
  253. package/types/hinkal.types.d.ts +5 -0
  254. package/types/kyc.types.cjs +1 -1
  255. package/types/kyc.types.d.ts +1 -1
  256. package/types/kyc.types.mjs +1 -1
  257. package/types/remote-proof.types.d.ts +15 -0
  258. package/types/rewards.types.d.ts +5 -0
  259. package/types/time.types.cjs +1 -1
  260. package/types/time.types.mjs +1 -1
  261. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  262. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
@@ -3620,7 +3620,7 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
3620
3620
  stateMutability: "nonpayable",
3621
3621
  type: "function"
3622
3622
  }
3623
- ], p = "0x592Dd773d6045C78a2B3ddc7879e4dC9ad575fF0", r = "0x2989d5ea9167802A22bd79C8ADd4D5C5598BeCA0", y = "0xCcad535D888C002262dDD550E5ca95B1802C3045", u = "0xe9232286F8EC5Df93130046c43D5eD96c0b9DF23", d = "0x41e59A87191A32710bF0a8B70acd98A1A52dA537", l = "0xB6628a3B7943ba8d0BACf1ad56d128342f823f54", o = [
3623
+ ], p = "0x592Dd773d6045C78a2B3ddc7879e4dC9ad575fF0", y = "0x2989d5ea9167802A22bd79C8ADd4D5C5598BeCA0", r = "0xCcad535D888C002262dDD550E5ca95B1802C3045", u = "0xe9232286F8EC5Df93130046c43D5eD96c0b9DF23", d = "0x41e59A87191A32710bF0a8B70acd98A1A52dA537", l = "0xB6628a3B7943ba8d0BACf1ad56d128342f823f54", o = [
3624
3624
  {
3625
3625
  inputs: [
3626
3626
  {
@@ -7356,7 +7356,838 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
7356
7356
  stateMutability: "nonpayable",
7357
7357
  type: "function"
7358
7358
  }
7359
- ], H = "0x6d007d431175b32A308f7a001e62196aEa8e7693", C = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", S = {
7359
+ ], C = "0x6d007d431175b32A308f7a001e62196aEa8e7693", H = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", S = "0x11483322444E9E69a6db6E3545079443d6C3b47A", O = [
7360
+ {
7361
+ inputs: [
7362
+ {
7363
+ internalType: "address",
7364
+ name: "_accessToken",
7365
+ type: "address"
7366
+ },
7367
+ {
7368
+ internalType: "address",
7369
+ name: "_hinkal",
7370
+ type: "address"
7371
+ }
7372
+ ],
7373
+ stateMutability: "nonpayable",
7374
+ type: "constructor"
7375
+ },
7376
+ {
7377
+ anonymous: !1,
7378
+ inputs: [
7379
+ {
7380
+ indexed: !0,
7381
+ internalType: "address",
7382
+ name: "previousOwner",
7383
+ type: "address"
7384
+ },
7385
+ {
7386
+ indexed: !0,
7387
+ internalType: "address",
7388
+ name: "newOwner",
7389
+ type: "address"
7390
+ }
7391
+ ],
7392
+ name: "OwnershipTransferStarted",
7393
+ type: "event"
7394
+ },
7395
+ {
7396
+ anonymous: !1,
7397
+ inputs: [
7398
+ {
7399
+ indexed: !0,
7400
+ internalType: "address",
7401
+ name: "previousOwner",
7402
+ type: "address"
7403
+ },
7404
+ {
7405
+ indexed: !0,
7406
+ internalType: "address",
7407
+ name: "newOwner",
7408
+ type: "address"
7409
+ }
7410
+ ],
7411
+ name: "OwnershipTransferred",
7412
+ type: "event"
7413
+ },
7414
+ {
7415
+ inputs: [],
7416
+ name: "acceptOwnership",
7417
+ outputs: [],
7418
+ stateMutability: "nonpayable",
7419
+ type: "function"
7420
+ },
7421
+ {
7422
+ inputs: [],
7423
+ name: "accessToken",
7424
+ outputs: [
7425
+ {
7426
+ internalType: "contract IExtendedCrossChainAccessToken",
7427
+ name: "",
7428
+ type: "address"
7429
+ }
7430
+ ],
7431
+ stateMutability: "view",
7432
+ type: "function"
7433
+ },
7434
+ {
7435
+ inputs: [],
7436
+ name: "accessTokenAcceptOwnership",
7437
+ outputs: [],
7438
+ stateMutability: "nonpayable",
7439
+ type: "function"
7440
+ },
7441
+ {
7442
+ inputs: [
7443
+ {
7444
+ internalType: "address",
7445
+ name: "newOwner",
7446
+ type: "address"
7447
+ }
7448
+ ],
7449
+ name: "accessTokenTransferOwnership",
7450
+ outputs: [],
7451
+ stateMutability: "nonpayable",
7452
+ type: "function"
7453
+ },
7454
+ {
7455
+ inputs: [
7456
+ {
7457
+ components: [
7458
+ {
7459
+ internalType: "uint8",
7460
+ name: "v",
7461
+ type: "uint8"
7462
+ },
7463
+ {
7464
+ internalType: "bytes32",
7465
+ name: "r",
7466
+ type: "bytes32"
7467
+ },
7468
+ {
7469
+ internalType: "bytes32",
7470
+ name: "s",
7471
+ type: "bytes32"
7472
+ },
7473
+ {
7474
+ internalType: "uint256",
7475
+ name: "accessKey",
7476
+ type: "uint256"
7477
+ },
7478
+ {
7479
+ internalType: "uint256",
7480
+ name: "nonce",
7481
+ type: "uint256"
7482
+ }
7483
+ ],
7484
+ internalType: "struct SignatureData",
7485
+ name: "signatureData",
7486
+ type: "tuple"
7487
+ }
7488
+ ],
7489
+ name: "addToken",
7490
+ outputs: [],
7491
+ stateMutability: "payable",
7492
+ type: "function"
7493
+ },
7494
+ {
7495
+ inputs: [
7496
+ {
7497
+ components: [
7498
+ {
7499
+ internalType: "uint8",
7500
+ name: "v",
7501
+ type: "uint8"
7502
+ },
7503
+ {
7504
+ internalType: "bytes32",
7505
+ name: "r",
7506
+ type: "bytes32"
7507
+ },
7508
+ {
7509
+ internalType: "bytes32",
7510
+ name: "s",
7511
+ type: "bytes32"
7512
+ },
7513
+ {
7514
+ internalType: "uint256",
7515
+ name: "accessKey",
7516
+ type: "uint256"
7517
+ },
7518
+ {
7519
+ internalType: "uint256",
7520
+ name: "nonce",
7521
+ type: "uint256"
7522
+ }
7523
+ ],
7524
+ internalType: "struct SignatureData",
7525
+ name: "signatureData",
7526
+ type: "tuple"
7527
+ },
7528
+ {
7529
+ internalType: "uint256[2]",
7530
+ name: "a",
7531
+ type: "uint256[2]"
7532
+ },
7533
+ {
7534
+ internalType: "uint256[2][2]",
7535
+ name: "b",
7536
+ type: "uint256[2][2]"
7537
+ },
7538
+ {
7539
+ internalType: "uint256[2]",
7540
+ name: "c",
7541
+ type: "uint256[2]"
7542
+ },
7543
+ {
7544
+ components: [
7545
+ {
7546
+ internalType: "uint16",
7547
+ name: "tokenNumber",
7548
+ type: "uint16"
7549
+ },
7550
+ {
7551
+ internalType: "uint16",
7552
+ name: "nullifierAmount",
7553
+ type: "uint16"
7554
+ },
7555
+ {
7556
+ internalType: "uint16",
7557
+ name: "outputAmount",
7558
+ type: "uint16"
7559
+ }
7560
+ ],
7561
+ internalType: "struct Dimensions",
7562
+ name: "dimensions",
7563
+ type: "tuple"
7564
+ },
7565
+ {
7566
+ components: [
7567
+ {
7568
+ internalType: "uint256",
7569
+ name: "rootHashHinkal",
7570
+ type: "uint256"
7571
+ },
7572
+ {
7573
+ internalType: "address[]",
7574
+ name: "erc20TokenAddresses",
7575
+ type: "address[]"
7576
+ },
7577
+ {
7578
+ internalType: "uint256[]",
7579
+ name: "tokenIds",
7580
+ type: "uint256[]"
7581
+ },
7582
+ {
7583
+ internalType: "int256[]",
7584
+ name: "amountChanges",
7585
+ type: "int256[]"
7586
+ },
7587
+ {
7588
+ internalType: "uint256[][]",
7589
+ name: "inputNullifiers",
7590
+ type: "uint256[][]"
7591
+ },
7592
+ {
7593
+ internalType: "uint256[][]",
7594
+ name: "outCommitments",
7595
+ type: "uint256[][]"
7596
+ },
7597
+ {
7598
+ internalType: "bytes[][]",
7599
+ name: "encryptedOutputs",
7600
+ type: "bytes[][]"
7601
+ },
7602
+ {
7603
+ internalType: "uint256[]",
7604
+ name: "flatFees",
7605
+ type: "uint256[]"
7606
+ },
7607
+ {
7608
+ internalType: "uint256",
7609
+ name: "timeStamp",
7610
+ type: "uint256"
7611
+ },
7612
+ {
7613
+ components: [
7614
+ {
7615
+ internalType: "uint256",
7616
+ name: "extraRandomization",
7617
+ type: "uint256"
7618
+ },
7619
+ {
7620
+ internalType: "uint256",
7621
+ name: "stealthAddress",
7622
+ type: "uint256"
7623
+ },
7624
+ {
7625
+ internalType: "uint256",
7626
+ name: "H0",
7627
+ type: "uint256"
7628
+ },
7629
+ {
7630
+ internalType: "uint256",
7631
+ name: "H1",
7632
+ type: "uint256"
7633
+ }
7634
+ ],
7635
+ internalType: "struct StealthAddressStructure",
7636
+ name: "stealthAddressStructure",
7637
+ type: "tuple"
7638
+ },
7639
+ {
7640
+ internalType: "uint256",
7641
+ name: "rootHashAccessToken",
7642
+ type: "uint256"
7643
+ },
7644
+ {
7645
+ internalType: "uint256",
7646
+ name: "calldataHash",
7647
+ type: "uint256"
7648
+ },
7649
+ {
7650
+ internalType: "uint16",
7651
+ name: "publicSignalCount",
7652
+ type: "uint16"
7653
+ },
7654
+ {
7655
+ internalType: "address",
7656
+ name: "relay",
7657
+ type: "address"
7658
+ },
7659
+ {
7660
+ internalType: "address",
7661
+ name: "externalAddress",
7662
+ type: "address"
7663
+ },
7664
+ {
7665
+ internalType: "uint256",
7666
+ name: "externalActionId",
7667
+ type: "uint256"
7668
+ },
7669
+ {
7670
+ internalType: "bytes",
7671
+ name: "externalActionMetadata",
7672
+ type: "bytes"
7673
+ },
7674
+ {
7675
+ components: [
7676
+ {
7677
+ internalType: "address",
7678
+ name: "preHookContract",
7679
+ type: "address"
7680
+ },
7681
+ {
7682
+ internalType: "address",
7683
+ name: "hookContract",
7684
+ type: "address"
7685
+ },
7686
+ {
7687
+ internalType: "bytes",
7688
+ name: "preHookMetadata",
7689
+ type: "bytes"
7690
+ },
7691
+ {
7692
+ internalType: "bytes",
7693
+ name: "postHookMetadata",
7694
+ type: "bytes"
7695
+ }
7696
+ ],
7697
+ internalType: "struct HookData",
7698
+ name: "hookData",
7699
+ type: "tuple"
7700
+ }
7701
+ ],
7702
+ internalType: "struct CircomData",
7703
+ name: "circomData",
7704
+ type: "tuple"
7705
+ }
7706
+ ],
7707
+ name: "addTokenAndTransact",
7708
+ outputs: [],
7709
+ stateMutability: "payable",
7710
+ type: "function"
7711
+ },
7712
+ {
7713
+ inputs: [
7714
+ {
7715
+ components: [
7716
+ {
7717
+ internalType: "uint8",
7718
+ name: "v",
7719
+ type: "uint8"
7720
+ },
7721
+ {
7722
+ internalType: "bytes32",
7723
+ name: "r",
7724
+ type: "bytes32"
7725
+ },
7726
+ {
7727
+ internalType: "bytes32",
7728
+ name: "s",
7729
+ type: "bytes32"
7730
+ },
7731
+ {
7732
+ internalType: "uint256",
7733
+ name: "accessKey",
7734
+ type: "uint256"
7735
+ },
7736
+ {
7737
+ internalType: "uint256",
7738
+ name: "nonce",
7739
+ type: "uint256"
7740
+ }
7741
+ ],
7742
+ internalType: "struct SignatureData",
7743
+ name: "signatureData",
7744
+ type: "tuple"
7745
+ },
7746
+ {
7747
+ components: [
7748
+ {
7749
+ components: [
7750
+ {
7751
+ internalType: "string",
7752
+ name: "destinationChain",
7753
+ type: "string"
7754
+ },
7755
+ {
7756
+ internalType: "string",
7757
+ name: "destinationAddress",
7758
+ type: "string"
7759
+ },
7760
+ {
7761
+ internalType: "uint256",
7762
+ name: "messageFee",
7763
+ type: "uint256"
7764
+ }
7765
+ ],
7766
+ internalType: "struct AxelarChainInfo[]",
7767
+ name: "chains",
7768
+ type: "tuple[]"
7769
+ },
7770
+ {
7771
+ internalType: "uint256",
7772
+ name: "totalMessageFees",
7773
+ type: "uint256"
7774
+ }
7775
+ ],
7776
+ internalType: "struct AxelarCapsule",
7777
+ name: "capsule",
7778
+ type: "tuple"
7779
+ }
7780
+ ],
7781
+ name: "addTokenCrossChain",
7782
+ outputs: [],
7783
+ stateMutability: "payable",
7784
+ type: "function"
7785
+ },
7786
+ {
7787
+ inputs: [
7788
+ {
7789
+ components: [
7790
+ {
7791
+ internalType: "uint256",
7792
+ name: "accessToken",
7793
+ type: "uint256"
7794
+ },
7795
+ {
7796
+ internalType: "address",
7797
+ name: "ethAddress",
7798
+ type: "address"
7799
+ }
7800
+ ],
7801
+ internalType: "struct AccessTokenWithAddress[]",
7802
+ name: "accessObjects",
7803
+ type: "tuple[]"
7804
+ }
7805
+ ],
7806
+ name: "approveTokens",
7807
+ outputs: [],
7808
+ stateMutability: "nonpayable",
7809
+ type: "function"
7810
+ },
7811
+ {
7812
+ inputs: [
7813
+ {
7814
+ internalType: "uint256",
7815
+ name: "accessKey",
7816
+ type: "uint256"
7817
+ },
7818
+ {
7819
+ internalType: "uint256",
7820
+ name: "index",
7821
+ type: "uint256"
7822
+ }
7823
+ ],
7824
+ name: "blacklistAccessKey",
7825
+ outputs: [],
7826
+ stateMutability: "nonpayable",
7827
+ type: "function"
7828
+ },
7829
+ {
7830
+ inputs: [
7831
+ {
7832
+ internalType: "address",
7833
+ name: "_address",
7834
+ type: "address"
7835
+ }
7836
+ ],
7837
+ name: "blacklistAddress",
7838
+ outputs: [],
7839
+ stateMutability: "nonpayable",
7840
+ type: "function"
7841
+ },
7842
+ {
7843
+ inputs: [
7844
+ {
7845
+ internalType: "uint256",
7846
+ name: "rootHashAccessToken",
7847
+ type: "uint256"
7848
+ },
7849
+ {
7850
+ internalType: "address",
7851
+ name: "sender",
7852
+ type: "address"
7853
+ }
7854
+ ],
7855
+ name: "checkForRootHash",
7856
+ outputs: [
7857
+ {
7858
+ internalType: "bool",
7859
+ name: "",
7860
+ type: "bool"
7861
+ }
7862
+ ],
7863
+ stateMutability: "view",
7864
+ type: "function"
7865
+ },
7866
+ {
7867
+ inputs: [
7868
+ {
7869
+ internalType: "uint256",
7870
+ name: "leaf",
7871
+ type: "uint256"
7872
+ }
7873
+ ],
7874
+ name: "getAccessTokenRootHash",
7875
+ outputs: [
7876
+ {
7877
+ internalType: "uint256",
7878
+ name: "newRoot",
7879
+ type: "uint256"
7880
+ }
7881
+ ],
7882
+ stateMutability: "view",
7883
+ type: "function"
7884
+ },
7885
+ {
7886
+ inputs: [
7887
+ {
7888
+ internalType: "uint256",
7889
+ name: "accessKey",
7890
+ type: "uint256"
7891
+ }
7892
+ ],
7893
+ name: "hasToken",
7894
+ outputs: [
7895
+ {
7896
+ internalType: "bool",
7897
+ name: "",
7898
+ type: "bool"
7899
+ }
7900
+ ],
7901
+ stateMutability: "view",
7902
+ type: "function"
7903
+ },
7904
+ {
7905
+ inputs: [],
7906
+ name: "hinkal",
7907
+ outputs: [
7908
+ {
7909
+ internalType: "address",
7910
+ name: "",
7911
+ type: "address"
7912
+ }
7913
+ ],
7914
+ stateMutability: "view",
7915
+ type: "function"
7916
+ },
7917
+ {
7918
+ inputs: [],
7919
+ name: "levels",
7920
+ outputs: [
7921
+ {
7922
+ internalType: "uint128",
7923
+ name: "",
7924
+ type: "uint128"
7925
+ }
7926
+ ],
7927
+ stateMutability: "view",
7928
+ type: "function"
7929
+ },
7930
+ {
7931
+ inputs: [
7932
+ {
7933
+ components: [
7934
+ {
7935
+ components: [
7936
+ {
7937
+ internalType: "string",
7938
+ name: "destinationChain",
7939
+ type: "string"
7940
+ },
7941
+ {
7942
+ internalType: "string",
7943
+ name: "destinationAddress",
7944
+ type: "string"
7945
+ },
7946
+ {
7947
+ internalType: "uint256",
7948
+ name: "messageFee",
7949
+ type: "uint256"
7950
+ }
7951
+ ],
7952
+ internalType: "struct AxelarChainInfo[]",
7953
+ name: "chains",
7954
+ type: "tuple[]"
7955
+ },
7956
+ {
7957
+ internalType: "uint256",
7958
+ name: "totalMessageFees",
7959
+ type: "uint256"
7960
+ }
7961
+ ],
7962
+ internalType: "struct AxelarCapsule",
7963
+ name: "capsule",
7964
+ type: "tuple"
7965
+ },
7966
+ {
7967
+ internalType: "uint256",
7968
+ name: "accessKey",
7969
+ type: "uint256"
7970
+ }
7971
+ ],
7972
+ name: "migrateAccessToken",
7973
+ outputs: [],
7974
+ stateMutability: "payable",
7975
+ type: "function"
7976
+ },
7977
+ {
7978
+ inputs: [],
7979
+ name: "minIndex",
7980
+ outputs: [
7981
+ {
7982
+ internalType: "uint256",
7983
+ name: "",
7984
+ type: "uint256"
7985
+ }
7986
+ ],
7987
+ stateMutability: "view",
7988
+ type: "function"
7989
+ },
7990
+ {
7991
+ inputs: [
7992
+ {
7993
+ internalType: "address",
7994
+ name: "",
7995
+ type: "address"
7996
+ },
7997
+ {
7998
+ internalType: "address",
7999
+ name: "",
8000
+ type: "address"
8001
+ },
8002
+ {
8003
+ internalType: "uint256",
8004
+ name: "",
8005
+ type: "uint256"
8006
+ },
8007
+ {
8008
+ internalType: "bytes",
8009
+ name: "",
8010
+ type: "bytes"
8011
+ }
8012
+ ],
8013
+ name: "onERC721Received",
8014
+ outputs: [
8015
+ {
8016
+ internalType: "bytes4",
8017
+ name: "",
8018
+ type: "bytes4"
8019
+ }
8020
+ ],
8021
+ stateMutability: "pure",
8022
+ type: "function"
8023
+ },
8024
+ {
8025
+ inputs: [],
8026
+ name: "owner",
8027
+ outputs: [
8028
+ {
8029
+ internalType: "address",
8030
+ name: "",
8031
+ type: "address"
8032
+ }
8033
+ ],
8034
+ stateMutability: "view",
8035
+ type: "function"
8036
+ },
8037
+ {
8038
+ inputs: [],
8039
+ name: "pendingOwner",
8040
+ outputs: [
8041
+ {
8042
+ internalType: "address",
8043
+ name: "",
8044
+ type: "address"
8045
+ }
8046
+ ],
8047
+ stateMutability: "view",
8048
+ type: "function"
8049
+ },
8050
+ {
8051
+ inputs: [
8052
+ {
8053
+ internalType: "address",
8054
+ name: "sender",
8055
+ type: "address"
8056
+ }
8057
+ ],
8058
+ name: "registerCheck",
8059
+ outputs: [],
8060
+ stateMutability: "view",
8061
+ type: "function"
8062
+ },
8063
+ {
8064
+ inputs: [
8065
+ {
8066
+ internalType: "address",
8067
+ name: "_address",
8068
+ type: "address"
8069
+ }
8070
+ ],
8071
+ name: "removeAddressFromBlacklist",
8072
+ outputs: [],
8073
+ stateMutability: "nonpayable",
8074
+ type: "function"
8075
+ },
8076
+ {
8077
+ inputs: [],
8078
+ name: "renounceOwnership",
8079
+ outputs: [],
8080
+ stateMutability: "view",
8081
+ type: "function"
8082
+ },
8083
+ {
8084
+ inputs: [
8085
+ {
8086
+ internalType: "address",
8087
+ name: "_accessToken",
8088
+ type: "address"
8089
+ }
8090
+ ],
8091
+ name: "setAccessToken",
8092
+ outputs: [],
8093
+ stateMutability: "nonpayable",
8094
+ type: "function"
8095
+ },
8096
+ {
8097
+ inputs: [
8098
+ {
8099
+ internalType: "address",
8100
+ name: "_gasService",
8101
+ type: "address"
8102
+ }
8103
+ ],
8104
+ name: "setAxelarGasService",
8105
+ outputs: [],
8106
+ stateMutability: "nonpayable",
8107
+ type: "function"
8108
+ },
8109
+ {
8110
+ inputs: [
8111
+ {
8112
+ components: [
8113
+ {
8114
+ internalType: "string",
8115
+ name: "sourceChain",
8116
+ type: "string"
8117
+ },
8118
+ {
8119
+ internalType: "address",
8120
+ name: "sourceAddress",
8121
+ type: "address"
8122
+ }
8123
+ ],
8124
+ internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
8125
+ name: "updates",
8126
+ type: "tuple[]"
8127
+ }
8128
+ ],
8129
+ name: "setCrossChainAccessTokenRegistry",
8130
+ outputs: [],
8131
+ stateMutability: "nonpayable",
8132
+ type: "function"
8133
+ },
8134
+ {
8135
+ inputs: [
8136
+ {
8137
+ internalType: "uint256",
8138
+ name: "_mintingFee",
8139
+ type: "uint256"
8140
+ }
8141
+ ],
8142
+ name: "setMintingFee",
8143
+ outputs: [],
8144
+ stateMutability: "nonpayable",
8145
+ type: "function"
8146
+ },
8147
+ {
8148
+ inputs: [
8149
+ {
8150
+ internalType: "address",
8151
+ name: "newOwner",
8152
+ type: "address"
8153
+ }
8154
+ ],
8155
+ name: "transferOwnership",
8156
+ outputs: [],
8157
+ stateMutability: "nonpayable",
8158
+ type: "function"
8159
+ },
8160
+ {
8161
+ inputs: [
8162
+ {
8163
+ internalType: "uint256",
8164
+ name: "",
8165
+ type: "uint256"
8166
+ }
8167
+ ],
8168
+ name: "usedNonces",
8169
+ outputs: [
8170
+ {
8171
+ internalType: "bool",
8172
+ name: "",
8173
+ type: "bool"
8174
+ }
8175
+ ],
8176
+ stateMutability: "view",
8177
+ type: "function"
8178
+ },
8179
+ {
8180
+ inputs: [],
8181
+ name: "withdraw",
8182
+ outputs: [],
8183
+ stateMutability: "payable",
8184
+ type: "function"
8185
+ },
8186
+ {
8187
+ stateMutability: "payable",
8188
+ type: "receive"
8189
+ }
8190
+ ], I = {
7360
8191
  hinkalAddress: e,
7361
8192
  hinkalABI: t,
7362
8193
  hinkalHelperAddress: n,
@@ -7364,8 +8195,8 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
7364
8195
  crossChainAccessTokenAddress: i,
7365
8196
  crossChainAccessTokenABI: s,
7366
8197
  uniswapExternalActionAddress: p,
7367
- odosExternalActionInstanceAddress: r,
7368
- oneInchExternalActionInstanceAddress: y,
8198
+ odosExternalActionInstanceAddress: y,
8199
+ oneInchExternalActionInstanceAddress: r,
7369
8200
  beefyExternalActionInstanceAddress: u,
7370
8201
  curveExternalActionInstanceAddress: d,
7371
8202
  curveStakeExternalActionInstanceAddress: l,
@@ -7383,8 +8214,10 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
7383
8214
  VolatileTokenActionABI: h,
7384
8215
  hinkalWrapperAddress: x,
7385
8216
  HinkalWrapperABI: g,
7386
- emporiumAddress: H,
7387
- hinkalWalletFactoryAddress: C
8217
+ emporiumAddress: C,
8218
+ hinkalWalletFactoryAddress: H,
8219
+ crossChainAccessTokenManagerAddress: S,
8220
+ crossChainAccessTokenManagerABI: O
7388
8221
  };
7389
8222
  export {
7390
8223
  f as BeefyExternalActionABI,
@@ -7397,19 +8230,21 @@ export {
7397
8230
  T as convexExternalActionInstanceAddress,
7398
8231
  s as crossChainAccessTokenABI,
7399
8232
  i as crossChainAccessTokenAddress,
8233
+ O as crossChainAccessTokenManagerABI,
8234
+ S as crossChainAccessTokenManagerAddress,
7400
8235
  o as curveExternalActionABI,
7401
8236
  d as curveExternalActionInstanceAddress,
7402
8237
  l as curveStakeExternalActionInstanceAddress,
7403
- S as default,
7404
- H as emporiumAddress,
8238
+ I as default,
8239
+ C as emporiumAddress,
7405
8240
  t as hinkalABI,
7406
8241
  e as hinkalAddress,
7407
8242
  a as hinkalHelperABI,
7408
8243
  n as hinkalHelperAddress,
7409
- C as hinkalWalletFactoryAddress,
8244
+ H as hinkalWalletFactoryAddress,
7410
8245
  x as hinkalWrapperAddress,
7411
- r as odosExternalActionInstanceAddress,
7412
- y as oneInchExternalActionInstanceAddress,
8246
+ y as odosExternalActionInstanceAddress,
8247
+ r as oneInchExternalActionInstanceAddress,
7413
8248
  A as pendleExternalActionInstanceAddress,
7414
8249
  p as uniswapExternalActionAddress,
7415
8250
  w as volatileTokenActionInstanceAddress,