@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
@@ -3646,7 +3646,7 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
3646
3646
  stateMutability: "nonpayable",
3647
3647
  type: "function"
3648
3648
  }
3649
- ], p = "0xFD92297A7bBEc5a6284bbd724F70aDaD04122ea2", r = "0xd32d870d6797c86AFCdd15b6F5733636766e99F9", y = "0xe713d90490d65cD2FF0463EE9B3bb68EBC6fC706", u = "0xa45d0b6e7537a93ef1cd7135edca469a48f66269", d = "0x9434722bf29750B44649eb1b1A10a335d40edFc1", l = "0xc8e6ac3324d36ac667996FB5c89dC171d67450d9", o = [
3649
+ ], p = "0xFD92297A7bBEc5a6284bbd724F70aDaD04122ea2", y = "0xd32d870d6797c86AFCdd15b6F5733636766e99F9", r = "0xe713d90490d65cD2FF0463EE9B3bb68EBC6fC706", u = "0xa45d0b6e7537a93ef1cd7135edca469a48f66269", d = "0x9434722bf29750B44649eb1b1A10a335d40edFc1", l = "0xc8e6ac3324d36ac667996FB5c89dC171d67450d9", o = [
3650
3650
  {
3651
3651
  inputs: [
3652
3652
  {
@@ -7382,7 +7382,838 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
7382
7382
  stateMutability: "nonpayable",
7383
7383
  type: "function"
7384
7384
  }
7385
- ], g = "0x6d007d431175b32A308f7a001e62196aEa8e7693", H = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", C = {
7385
+ ], g = "0x6d007d431175b32A308f7a001e62196aEa8e7693", C = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", H = "0xA9Ac3778912F237dC18B0b8833Dee6FFEBA1289A", S = [
7386
+ {
7387
+ inputs: [
7388
+ {
7389
+ internalType: "address",
7390
+ name: "_accessToken",
7391
+ type: "address"
7392
+ },
7393
+ {
7394
+ internalType: "address",
7395
+ name: "_hinkal",
7396
+ type: "address"
7397
+ }
7398
+ ],
7399
+ stateMutability: "nonpayable",
7400
+ type: "constructor"
7401
+ },
7402
+ {
7403
+ anonymous: !1,
7404
+ inputs: [
7405
+ {
7406
+ indexed: !0,
7407
+ internalType: "address",
7408
+ name: "previousOwner",
7409
+ type: "address"
7410
+ },
7411
+ {
7412
+ indexed: !0,
7413
+ internalType: "address",
7414
+ name: "newOwner",
7415
+ type: "address"
7416
+ }
7417
+ ],
7418
+ name: "OwnershipTransferStarted",
7419
+ type: "event"
7420
+ },
7421
+ {
7422
+ anonymous: !1,
7423
+ inputs: [
7424
+ {
7425
+ indexed: !0,
7426
+ internalType: "address",
7427
+ name: "previousOwner",
7428
+ type: "address"
7429
+ },
7430
+ {
7431
+ indexed: !0,
7432
+ internalType: "address",
7433
+ name: "newOwner",
7434
+ type: "address"
7435
+ }
7436
+ ],
7437
+ name: "OwnershipTransferred",
7438
+ type: "event"
7439
+ },
7440
+ {
7441
+ inputs: [],
7442
+ name: "acceptOwnership",
7443
+ outputs: [],
7444
+ stateMutability: "nonpayable",
7445
+ type: "function"
7446
+ },
7447
+ {
7448
+ inputs: [],
7449
+ name: "accessToken",
7450
+ outputs: [
7451
+ {
7452
+ internalType: "contract IExtendedCrossChainAccessToken",
7453
+ name: "",
7454
+ type: "address"
7455
+ }
7456
+ ],
7457
+ stateMutability: "view",
7458
+ type: "function"
7459
+ },
7460
+ {
7461
+ inputs: [],
7462
+ name: "accessTokenAcceptOwnership",
7463
+ outputs: [],
7464
+ stateMutability: "nonpayable",
7465
+ type: "function"
7466
+ },
7467
+ {
7468
+ inputs: [
7469
+ {
7470
+ internalType: "address",
7471
+ name: "newOwner",
7472
+ type: "address"
7473
+ }
7474
+ ],
7475
+ name: "accessTokenTransferOwnership",
7476
+ outputs: [],
7477
+ stateMutability: "nonpayable",
7478
+ type: "function"
7479
+ },
7480
+ {
7481
+ inputs: [
7482
+ {
7483
+ components: [
7484
+ {
7485
+ internalType: "uint8",
7486
+ name: "v",
7487
+ type: "uint8"
7488
+ },
7489
+ {
7490
+ internalType: "bytes32",
7491
+ name: "r",
7492
+ type: "bytes32"
7493
+ },
7494
+ {
7495
+ internalType: "bytes32",
7496
+ name: "s",
7497
+ type: "bytes32"
7498
+ },
7499
+ {
7500
+ internalType: "uint256",
7501
+ name: "accessKey",
7502
+ type: "uint256"
7503
+ },
7504
+ {
7505
+ internalType: "uint256",
7506
+ name: "nonce",
7507
+ type: "uint256"
7508
+ }
7509
+ ],
7510
+ internalType: "struct SignatureData",
7511
+ name: "signatureData",
7512
+ type: "tuple"
7513
+ }
7514
+ ],
7515
+ name: "addToken",
7516
+ outputs: [],
7517
+ stateMutability: "payable",
7518
+ type: "function"
7519
+ },
7520
+ {
7521
+ inputs: [
7522
+ {
7523
+ components: [
7524
+ {
7525
+ internalType: "uint8",
7526
+ name: "v",
7527
+ type: "uint8"
7528
+ },
7529
+ {
7530
+ internalType: "bytes32",
7531
+ name: "r",
7532
+ type: "bytes32"
7533
+ },
7534
+ {
7535
+ internalType: "bytes32",
7536
+ name: "s",
7537
+ type: "bytes32"
7538
+ },
7539
+ {
7540
+ internalType: "uint256",
7541
+ name: "accessKey",
7542
+ type: "uint256"
7543
+ },
7544
+ {
7545
+ internalType: "uint256",
7546
+ name: "nonce",
7547
+ type: "uint256"
7548
+ }
7549
+ ],
7550
+ internalType: "struct SignatureData",
7551
+ name: "signatureData",
7552
+ type: "tuple"
7553
+ },
7554
+ {
7555
+ internalType: "uint256[2]",
7556
+ name: "a",
7557
+ type: "uint256[2]"
7558
+ },
7559
+ {
7560
+ internalType: "uint256[2][2]",
7561
+ name: "b",
7562
+ type: "uint256[2][2]"
7563
+ },
7564
+ {
7565
+ internalType: "uint256[2]",
7566
+ name: "c",
7567
+ type: "uint256[2]"
7568
+ },
7569
+ {
7570
+ components: [
7571
+ {
7572
+ internalType: "uint16",
7573
+ name: "tokenNumber",
7574
+ type: "uint16"
7575
+ },
7576
+ {
7577
+ internalType: "uint16",
7578
+ name: "nullifierAmount",
7579
+ type: "uint16"
7580
+ },
7581
+ {
7582
+ internalType: "uint16",
7583
+ name: "outputAmount",
7584
+ type: "uint16"
7585
+ }
7586
+ ],
7587
+ internalType: "struct Dimensions",
7588
+ name: "dimensions",
7589
+ type: "tuple"
7590
+ },
7591
+ {
7592
+ components: [
7593
+ {
7594
+ internalType: "uint256",
7595
+ name: "rootHashHinkal",
7596
+ type: "uint256"
7597
+ },
7598
+ {
7599
+ internalType: "address[]",
7600
+ name: "erc20TokenAddresses",
7601
+ type: "address[]"
7602
+ },
7603
+ {
7604
+ internalType: "uint256[]",
7605
+ name: "tokenIds",
7606
+ type: "uint256[]"
7607
+ },
7608
+ {
7609
+ internalType: "int256[]",
7610
+ name: "amountChanges",
7611
+ type: "int256[]"
7612
+ },
7613
+ {
7614
+ internalType: "uint256[][]",
7615
+ name: "inputNullifiers",
7616
+ type: "uint256[][]"
7617
+ },
7618
+ {
7619
+ internalType: "uint256[][]",
7620
+ name: "outCommitments",
7621
+ type: "uint256[][]"
7622
+ },
7623
+ {
7624
+ internalType: "bytes[][]",
7625
+ name: "encryptedOutputs",
7626
+ type: "bytes[][]"
7627
+ },
7628
+ {
7629
+ internalType: "uint256[]",
7630
+ name: "flatFees",
7631
+ type: "uint256[]"
7632
+ },
7633
+ {
7634
+ internalType: "uint256",
7635
+ name: "timeStamp",
7636
+ type: "uint256"
7637
+ },
7638
+ {
7639
+ components: [
7640
+ {
7641
+ internalType: "uint256",
7642
+ name: "extraRandomization",
7643
+ type: "uint256"
7644
+ },
7645
+ {
7646
+ internalType: "uint256",
7647
+ name: "stealthAddress",
7648
+ type: "uint256"
7649
+ },
7650
+ {
7651
+ internalType: "uint256",
7652
+ name: "H0",
7653
+ type: "uint256"
7654
+ },
7655
+ {
7656
+ internalType: "uint256",
7657
+ name: "H1",
7658
+ type: "uint256"
7659
+ }
7660
+ ],
7661
+ internalType: "struct StealthAddressStructure",
7662
+ name: "stealthAddressStructure",
7663
+ type: "tuple"
7664
+ },
7665
+ {
7666
+ internalType: "uint256",
7667
+ name: "rootHashAccessToken",
7668
+ type: "uint256"
7669
+ },
7670
+ {
7671
+ internalType: "uint256",
7672
+ name: "calldataHash",
7673
+ type: "uint256"
7674
+ },
7675
+ {
7676
+ internalType: "uint16",
7677
+ name: "publicSignalCount",
7678
+ type: "uint16"
7679
+ },
7680
+ {
7681
+ internalType: "address",
7682
+ name: "relay",
7683
+ type: "address"
7684
+ },
7685
+ {
7686
+ internalType: "address",
7687
+ name: "externalAddress",
7688
+ type: "address"
7689
+ },
7690
+ {
7691
+ internalType: "uint256",
7692
+ name: "externalActionId",
7693
+ type: "uint256"
7694
+ },
7695
+ {
7696
+ internalType: "bytes",
7697
+ name: "externalActionMetadata",
7698
+ type: "bytes"
7699
+ },
7700
+ {
7701
+ components: [
7702
+ {
7703
+ internalType: "address",
7704
+ name: "preHookContract",
7705
+ type: "address"
7706
+ },
7707
+ {
7708
+ internalType: "address",
7709
+ name: "hookContract",
7710
+ type: "address"
7711
+ },
7712
+ {
7713
+ internalType: "bytes",
7714
+ name: "preHookMetadata",
7715
+ type: "bytes"
7716
+ },
7717
+ {
7718
+ internalType: "bytes",
7719
+ name: "postHookMetadata",
7720
+ type: "bytes"
7721
+ }
7722
+ ],
7723
+ internalType: "struct HookData",
7724
+ name: "hookData",
7725
+ type: "tuple"
7726
+ }
7727
+ ],
7728
+ internalType: "struct CircomData",
7729
+ name: "circomData",
7730
+ type: "tuple"
7731
+ }
7732
+ ],
7733
+ name: "addTokenAndTransact",
7734
+ outputs: [],
7735
+ stateMutability: "payable",
7736
+ type: "function"
7737
+ },
7738
+ {
7739
+ inputs: [
7740
+ {
7741
+ components: [
7742
+ {
7743
+ internalType: "uint8",
7744
+ name: "v",
7745
+ type: "uint8"
7746
+ },
7747
+ {
7748
+ internalType: "bytes32",
7749
+ name: "r",
7750
+ type: "bytes32"
7751
+ },
7752
+ {
7753
+ internalType: "bytes32",
7754
+ name: "s",
7755
+ type: "bytes32"
7756
+ },
7757
+ {
7758
+ internalType: "uint256",
7759
+ name: "accessKey",
7760
+ type: "uint256"
7761
+ },
7762
+ {
7763
+ internalType: "uint256",
7764
+ name: "nonce",
7765
+ type: "uint256"
7766
+ }
7767
+ ],
7768
+ internalType: "struct SignatureData",
7769
+ name: "signatureData",
7770
+ type: "tuple"
7771
+ },
7772
+ {
7773
+ components: [
7774
+ {
7775
+ components: [
7776
+ {
7777
+ internalType: "string",
7778
+ name: "destinationChain",
7779
+ type: "string"
7780
+ },
7781
+ {
7782
+ internalType: "string",
7783
+ name: "destinationAddress",
7784
+ type: "string"
7785
+ },
7786
+ {
7787
+ internalType: "uint256",
7788
+ name: "messageFee",
7789
+ type: "uint256"
7790
+ }
7791
+ ],
7792
+ internalType: "struct AxelarChainInfo[]",
7793
+ name: "chains",
7794
+ type: "tuple[]"
7795
+ },
7796
+ {
7797
+ internalType: "uint256",
7798
+ name: "totalMessageFees",
7799
+ type: "uint256"
7800
+ }
7801
+ ],
7802
+ internalType: "struct AxelarCapsule",
7803
+ name: "capsule",
7804
+ type: "tuple"
7805
+ }
7806
+ ],
7807
+ name: "addTokenCrossChain",
7808
+ outputs: [],
7809
+ stateMutability: "payable",
7810
+ type: "function"
7811
+ },
7812
+ {
7813
+ inputs: [
7814
+ {
7815
+ components: [
7816
+ {
7817
+ internalType: "uint256",
7818
+ name: "accessToken",
7819
+ type: "uint256"
7820
+ },
7821
+ {
7822
+ internalType: "address",
7823
+ name: "ethAddress",
7824
+ type: "address"
7825
+ }
7826
+ ],
7827
+ internalType: "struct AccessTokenWithAddress[]",
7828
+ name: "accessObjects",
7829
+ type: "tuple[]"
7830
+ }
7831
+ ],
7832
+ name: "approveTokens",
7833
+ outputs: [],
7834
+ stateMutability: "nonpayable",
7835
+ type: "function"
7836
+ },
7837
+ {
7838
+ inputs: [
7839
+ {
7840
+ internalType: "uint256",
7841
+ name: "accessKey",
7842
+ type: "uint256"
7843
+ },
7844
+ {
7845
+ internalType: "uint256",
7846
+ name: "index",
7847
+ type: "uint256"
7848
+ }
7849
+ ],
7850
+ name: "blacklistAccessKey",
7851
+ outputs: [],
7852
+ stateMutability: "nonpayable",
7853
+ type: "function"
7854
+ },
7855
+ {
7856
+ inputs: [
7857
+ {
7858
+ internalType: "address",
7859
+ name: "_address",
7860
+ type: "address"
7861
+ }
7862
+ ],
7863
+ name: "blacklistAddress",
7864
+ outputs: [],
7865
+ stateMutability: "nonpayable",
7866
+ type: "function"
7867
+ },
7868
+ {
7869
+ inputs: [
7870
+ {
7871
+ internalType: "uint256",
7872
+ name: "rootHashAccessToken",
7873
+ type: "uint256"
7874
+ },
7875
+ {
7876
+ internalType: "address",
7877
+ name: "sender",
7878
+ type: "address"
7879
+ }
7880
+ ],
7881
+ name: "checkForRootHash",
7882
+ outputs: [
7883
+ {
7884
+ internalType: "bool",
7885
+ name: "",
7886
+ type: "bool"
7887
+ }
7888
+ ],
7889
+ stateMutability: "view",
7890
+ type: "function"
7891
+ },
7892
+ {
7893
+ inputs: [
7894
+ {
7895
+ internalType: "uint256",
7896
+ name: "leaf",
7897
+ type: "uint256"
7898
+ }
7899
+ ],
7900
+ name: "getAccessTokenRootHash",
7901
+ outputs: [
7902
+ {
7903
+ internalType: "uint256",
7904
+ name: "newRoot",
7905
+ type: "uint256"
7906
+ }
7907
+ ],
7908
+ stateMutability: "view",
7909
+ type: "function"
7910
+ },
7911
+ {
7912
+ inputs: [
7913
+ {
7914
+ internalType: "uint256",
7915
+ name: "accessKey",
7916
+ type: "uint256"
7917
+ }
7918
+ ],
7919
+ name: "hasToken",
7920
+ outputs: [
7921
+ {
7922
+ internalType: "bool",
7923
+ name: "",
7924
+ type: "bool"
7925
+ }
7926
+ ],
7927
+ stateMutability: "view",
7928
+ type: "function"
7929
+ },
7930
+ {
7931
+ inputs: [],
7932
+ name: "hinkal",
7933
+ outputs: [
7934
+ {
7935
+ internalType: "address",
7936
+ name: "",
7937
+ type: "address"
7938
+ }
7939
+ ],
7940
+ stateMutability: "view",
7941
+ type: "function"
7942
+ },
7943
+ {
7944
+ inputs: [],
7945
+ name: "levels",
7946
+ outputs: [
7947
+ {
7948
+ internalType: "uint128",
7949
+ name: "",
7950
+ type: "uint128"
7951
+ }
7952
+ ],
7953
+ stateMutability: "view",
7954
+ type: "function"
7955
+ },
7956
+ {
7957
+ inputs: [
7958
+ {
7959
+ components: [
7960
+ {
7961
+ components: [
7962
+ {
7963
+ internalType: "string",
7964
+ name: "destinationChain",
7965
+ type: "string"
7966
+ },
7967
+ {
7968
+ internalType: "string",
7969
+ name: "destinationAddress",
7970
+ type: "string"
7971
+ },
7972
+ {
7973
+ internalType: "uint256",
7974
+ name: "messageFee",
7975
+ type: "uint256"
7976
+ }
7977
+ ],
7978
+ internalType: "struct AxelarChainInfo[]",
7979
+ name: "chains",
7980
+ type: "tuple[]"
7981
+ },
7982
+ {
7983
+ internalType: "uint256",
7984
+ name: "totalMessageFees",
7985
+ type: "uint256"
7986
+ }
7987
+ ],
7988
+ internalType: "struct AxelarCapsule",
7989
+ name: "capsule",
7990
+ type: "tuple"
7991
+ },
7992
+ {
7993
+ internalType: "uint256",
7994
+ name: "accessKey",
7995
+ type: "uint256"
7996
+ }
7997
+ ],
7998
+ name: "migrateAccessToken",
7999
+ outputs: [],
8000
+ stateMutability: "payable",
8001
+ type: "function"
8002
+ },
8003
+ {
8004
+ inputs: [],
8005
+ name: "minIndex",
8006
+ outputs: [
8007
+ {
8008
+ internalType: "uint256",
8009
+ name: "",
8010
+ type: "uint256"
8011
+ }
8012
+ ],
8013
+ stateMutability: "view",
8014
+ type: "function"
8015
+ },
8016
+ {
8017
+ inputs: [
8018
+ {
8019
+ internalType: "address",
8020
+ name: "",
8021
+ type: "address"
8022
+ },
8023
+ {
8024
+ internalType: "address",
8025
+ name: "",
8026
+ type: "address"
8027
+ },
8028
+ {
8029
+ internalType: "uint256",
8030
+ name: "",
8031
+ type: "uint256"
8032
+ },
8033
+ {
8034
+ internalType: "bytes",
8035
+ name: "",
8036
+ type: "bytes"
8037
+ }
8038
+ ],
8039
+ name: "onERC721Received",
8040
+ outputs: [
8041
+ {
8042
+ internalType: "bytes4",
8043
+ name: "",
8044
+ type: "bytes4"
8045
+ }
8046
+ ],
8047
+ stateMutability: "pure",
8048
+ type: "function"
8049
+ },
8050
+ {
8051
+ inputs: [],
8052
+ name: "owner",
8053
+ outputs: [
8054
+ {
8055
+ internalType: "address",
8056
+ name: "",
8057
+ type: "address"
8058
+ }
8059
+ ],
8060
+ stateMutability: "view",
8061
+ type: "function"
8062
+ },
8063
+ {
8064
+ inputs: [],
8065
+ name: "pendingOwner",
8066
+ outputs: [
8067
+ {
8068
+ internalType: "address",
8069
+ name: "",
8070
+ type: "address"
8071
+ }
8072
+ ],
8073
+ stateMutability: "view",
8074
+ type: "function"
8075
+ },
8076
+ {
8077
+ inputs: [
8078
+ {
8079
+ internalType: "address",
8080
+ name: "sender",
8081
+ type: "address"
8082
+ }
8083
+ ],
8084
+ name: "registerCheck",
8085
+ outputs: [],
8086
+ stateMutability: "view",
8087
+ type: "function"
8088
+ },
8089
+ {
8090
+ inputs: [
8091
+ {
8092
+ internalType: "address",
8093
+ name: "_address",
8094
+ type: "address"
8095
+ }
8096
+ ],
8097
+ name: "removeAddressFromBlacklist",
8098
+ outputs: [],
8099
+ stateMutability: "nonpayable",
8100
+ type: "function"
8101
+ },
8102
+ {
8103
+ inputs: [],
8104
+ name: "renounceOwnership",
8105
+ outputs: [],
8106
+ stateMutability: "view",
8107
+ type: "function"
8108
+ },
8109
+ {
8110
+ inputs: [
8111
+ {
8112
+ internalType: "address",
8113
+ name: "_accessToken",
8114
+ type: "address"
8115
+ }
8116
+ ],
8117
+ name: "setAccessToken",
8118
+ outputs: [],
8119
+ stateMutability: "nonpayable",
8120
+ type: "function"
8121
+ },
8122
+ {
8123
+ inputs: [
8124
+ {
8125
+ internalType: "address",
8126
+ name: "_gasService",
8127
+ type: "address"
8128
+ }
8129
+ ],
8130
+ name: "setAxelarGasService",
8131
+ outputs: [],
8132
+ stateMutability: "nonpayable",
8133
+ type: "function"
8134
+ },
8135
+ {
8136
+ inputs: [
8137
+ {
8138
+ components: [
8139
+ {
8140
+ internalType: "string",
8141
+ name: "sourceChain",
8142
+ type: "string"
8143
+ },
8144
+ {
8145
+ internalType: "address",
8146
+ name: "sourceAddress",
8147
+ type: "address"
8148
+ }
8149
+ ],
8150
+ internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
8151
+ name: "updates",
8152
+ type: "tuple[]"
8153
+ }
8154
+ ],
8155
+ name: "setCrossChainAccessTokenRegistry",
8156
+ outputs: [],
8157
+ stateMutability: "nonpayable",
8158
+ type: "function"
8159
+ },
8160
+ {
8161
+ inputs: [
8162
+ {
8163
+ internalType: "uint256",
8164
+ name: "_mintingFee",
8165
+ type: "uint256"
8166
+ }
8167
+ ],
8168
+ name: "setMintingFee",
8169
+ outputs: [],
8170
+ stateMutability: "nonpayable",
8171
+ type: "function"
8172
+ },
8173
+ {
8174
+ inputs: [
8175
+ {
8176
+ internalType: "address",
8177
+ name: "newOwner",
8178
+ type: "address"
8179
+ }
8180
+ ],
8181
+ name: "transferOwnership",
8182
+ outputs: [],
8183
+ stateMutability: "nonpayable",
8184
+ type: "function"
8185
+ },
8186
+ {
8187
+ inputs: [
8188
+ {
8189
+ internalType: "uint256",
8190
+ name: "",
8191
+ type: "uint256"
8192
+ }
8193
+ ],
8194
+ name: "usedNonces",
8195
+ outputs: [
8196
+ {
8197
+ internalType: "bool",
8198
+ name: "",
8199
+ type: "bool"
8200
+ }
8201
+ ],
8202
+ stateMutability: "view",
8203
+ type: "function"
8204
+ },
8205
+ {
8206
+ inputs: [],
8207
+ name: "withdraw",
8208
+ outputs: [],
8209
+ stateMutability: "payable",
8210
+ type: "function"
8211
+ },
8212
+ {
8213
+ stateMutability: "payable",
8214
+ type: "receive"
8215
+ }
8216
+ ], O = {
7386
8217
  hinkalAddress: e,
7387
8218
  hinkalABI: t,
7388
8219
  hinkalHelperAddress: n,
@@ -7390,8 +8221,8 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
7390
8221
  crossChainAccessTokenAddress: i,
7391
8222
  crossChainAccessTokenABI: s,
7392
8223
  uniswapExternalActionAddress: p,
7393
- odosExternalActionInstanceAddress: r,
7394
- oneInchExternalActionInstanceAddress: y,
8224
+ odosExternalActionInstanceAddress: y,
8225
+ oneInchExternalActionInstanceAddress: r,
7395
8226
  beefyExternalActionInstanceAddress: u,
7396
8227
  curveExternalActionInstanceAddress: d,
7397
8228
  curveStakeExternalActionInstanceAddress: l,
@@ -7409,7 +8240,9 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
7409
8240
  hinkalWrapperAddress: h,
7410
8241
  HinkalWrapperABI: x,
7411
8242
  emporiumAddress: g,
7412
- hinkalWalletFactoryAddress: H
8243
+ hinkalWalletFactoryAddress: C,
8244
+ crossChainAccessTokenManagerAddress: H,
8245
+ crossChainAccessTokenManagerABI: S
7413
8246
  };
7414
8247
  export {
7415
8248
  f as BeefyExternalActionABI,
@@ -7422,19 +8255,21 @@ export {
7422
8255
  T as convexExternalActionInstanceAddress,
7423
8256
  s as crossChainAccessTokenABI,
7424
8257
  i as crossChainAccessTokenAddress,
8258
+ S as crossChainAccessTokenManagerABI,
8259
+ H as crossChainAccessTokenManagerAddress,
7425
8260
  o as curveExternalActionABI,
7426
8261
  d as curveExternalActionInstanceAddress,
7427
8262
  l as curveStakeExternalActionInstanceAddress,
7428
- C as default,
8263
+ O as default,
7429
8264
  g as emporiumAddress,
7430
8265
  t as hinkalABI,
7431
8266
  e as hinkalAddress,
7432
8267
  a as hinkalHelperABI,
7433
8268
  n as hinkalHelperAddress,
7434
- H as hinkalWalletFactoryAddress,
8269
+ C as hinkalWalletFactoryAddress,
7435
8270
  h as hinkalWrapperAddress,
7436
- r as odosExternalActionInstanceAddress,
7437
- y as oneInchExternalActionInstanceAddress,
8271
+ y as odosExternalActionInstanceAddress,
8272
+ r as oneInchExternalActionInstanceAddress,
7438
8273
  p as uniswapExternalActionAddress,
7439
8274
  k as volatileTokenActionInstanceAddress,
7440
8275
  v as volatileVaultInstanceAddress,