@hinkal/common 0.2.2 → 0.2.4

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 (249) 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/README.md +32 -22
  10. package/constants/chains.constants.cjs +1 -1
  11. package/constants/chains.constants.mjs +2 -2
  12. package/constants/contracts.constants.cjs +1 -1
  13. package/constants/contracts.constants.mjs +138 -134
  14. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  15. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
  16. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  17. package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
  18. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  19. package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
  20. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  21. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
  22. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  23. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
  24. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  25. package/constants/deploy-data/deploy-data-localhost.json.mjs +935 -100
  26. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  27. package/constants/deploy-data/deploy-data-optimism.json.mjs +844 -9
  28. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  29. package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
  30. package/constants/kyc.constants.cjs +1 -1
  31. package/constants/kyc.constants.mjs +30 -18
  32. package/constants/server.constants.cjs +1 -1
  33. package/constants/server.constants.d.ts +3 -2
  34. package/constants/server.constants.mjs +7 -6
  35. package/constants/token-data/ERC20Registry.cjs +1 -1
  36. package/constants/token-data/ERC20Registry.mjs +48 -48
  37. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  38. package/constants/token-data/arbMainnetRegistry.json.mjs +4 -1
  39. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  40. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +4 -1
  41. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  42. package/constants/token-data/avalancheRegistry.json.mjs +4 -1
  43. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  44. package/constants/token-data/avalancheRegistryFixed.json.mjs +4 -1
  45. package/constants/token-data/baseRegistry.json.cjs +1 -1
  46. package/constants/token-data/baseRegistry.json.mjs +4 -1
  47. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  48. package/constants/token-data/baseRegistryFixed.json.mjs +4 -1
  49. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  50. package/constants/token-data/bnbMainnetRegistry.json.mjs +12 -9
  51. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  52. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +12 -9
  53. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  54. package/constants/token-data/ethMainnetRegistry.json.mjs +15 -12
  55. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  56. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +15 -12
  57. package/constants/token-data/index.cjs +1 -0
  58. package/constants/token-data/index.d.ts +972 -15
  59. package/constants/token-data/index.mjs +34 -0
  60. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  61. package/constants/token-data/localhostRegistry.json.mjs +15 -12
  62. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  63. package/constants/token-data/optimismRegistry.json.mjs +4 -1
  64. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  65. package/constants/token-data/optimismRegistryFixed.json.mjs +4 -1
  66. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  67. package/constants/token-data/polygonRegistry.json.mjs +4 -1
  68. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  69. package/constants/token-data/polygonRegistryFixed.json.mjs +4 -1
  70. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  71. package/data-structures/Hinkal/Hinkal.d.ts +2 -0
  72. package/data-structures/Hinkal/Hinkal.mjs +38 -32
  73. package/data-structures/Hinkal/IHinkal.d.ts +2 -0
  74. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  75. package/data-structures/Hinkal/hinkalActionBeefy.mjs +21 -20
  76. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  77. package/data-structures/Hinkal/hinkalActionConvex.mjs +13 -12
  78. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  79. package/data-structures/Hinkal/hinkalActionCurve.mjs +15 -14
  80. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  81. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +17 -16
  82. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  83. package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
  84. package/data-structures/Hinkal/hinkalActionPendle.mjs +24 -23
  85. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  86. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +21 -20
  87. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  88. package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
  89. package/data-structures/Hinkal/hinkalActionStake.mjs +6 -5
  90. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  91. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
  92. package/data-structures/Hinkal/hinkalActionVolatile.mjs +9 -8
  93. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  94. package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
  95. package/data-structures/Hinkal/hinkalDeposit.mjs +93 -54
  96. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  97. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +3 -2
  98. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  99. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +5 -4
  100. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  101. package/data-structures/Hinkal/hinkalSwap.mjs +23 -22
  102. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  103. package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
  104. package/data-structures/Hinkal/hinkalWithdraw.mjs +13 -12
  105. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  106. package/data-structures/merkle-tree/MerkleTree.d.ts +2 -0
  107. package/data-structures/merkle-tree/MerkleTree.mjs +38 -25
  108. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
  109. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
  110. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +9 -0
  111. package/data-structures/merkle-tree/index.d.ts +1 -0
  112. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  113. package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
  114. package/data-structures/transactions-manager/TransactionsManager.mjs +118 -111
  115. package/error-handling/error-codes.constants.cjs +1 -1
  116. package/error-handling/error-codes.constants.d.ts +4 -0
  117. package/error-handling/error-codes.constants.mjs +6 -2
  118. package/externalABIs/BabPassport.json.cjs +1 -1
  119. package/externalABIs/BabPassport.json.mjs +8 -3
  120. package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
  121. package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
  122. package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
  123. package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
  124. package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
  125. package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
  126. package/externalABIs/BeefyZapAbi.json.cjs +1 -1
  127. package/externalABIs/BeefyZapAbi.json.mjs +5 -2
  128. package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
  129. package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
  130. package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
  131. package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
  132. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
  133. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
  134. package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
  135. package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
  136. package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
  137. package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
  138. package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
  139. package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
  140. package/externalABIs/CurveZap.json.cjs +1 -1
  141. package/externalABIs/CurveZap.json.mjs +5 -2
  142. package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
  143. package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
  144. package/externalABIs/ERC20.json.cjs +1 -1
  145. package/externalABIs/ERC20.json.mjs +20 -3
  146. package/externalABIs/GalxePassport.json.cjs +1 -1
  147. package/externalABIs/GalxePassport.json.mjs +8 -3
  148. package/externalABIs/IQuoterV2.json.cjs +1 -1
  149. package/externalABIs/IQuoterV2.json.mjs +20 -3
  150. package/externalABIs/ISwapRouter.json.cjs +1 -1
  151. package/externalABIs/ISwapRouter.json.mjs +5 -2
  152. package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
  153. package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
  154. package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
  155. package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
  156. package/externalABIs/PendleRouterAbi.json.cjs +1 -1
  157. package/externalABIs/PendleRouterAbi.json.mjs +5 -2
  158. package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
  159. package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
  160. package/externalABIs/index.cjs +1 -0
  161. package/externalABIs/index.d.ts +307 -11
  162. package/externalABIs/index.mjs +23 -0
  163. package/externalABIs/transactionsProver.json.cjs +1 -1
  164. package/externalABIs/transactionsProver.json.mjs +20 -3
  165. package/functions/kyc/zkMeHelper.cjs +1 -1
  166. package/functions/kyc/zkMeHelper.d.ts +0 -1
  167. package/functions/kyc/zkMeHelper.mjs +8 -11
  168. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  169. package/functions/pre-transaction/process-gas-estimates.mjs +3 -2
  170. package/functions/private-wallet/opProducer.cjs +1 -1
  171. package/functions/private-wallet/opProducer.mjs +9 -10
  172. package/functions/protocols/convex.protocols.cjs +1 -1
  173. package/functions/protocols/convex.protocols.mjs +3 -2
  174. package/functions/protocols/pendle.helpers.cjs +1 -1
  175. package/functions/protocols/pendle.helpers.mjs +14 -13
  176. package/functions/snarkjs/constant.cjs +1 -1
  177. package/functions/snarkjs/constant.d.ts +1 -0
  178. package/functions/snarkjs/constant.mjs +6 -5
  179. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  180. package/functions/snarkjs/constructEmporiumProof.d.ts +1 -1
  181. package/functions/snarkjs/constructEmporiumProof.mjs +31 -31
  182. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  183. package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
  184. package/functions/snarkjs/constructGeneralZkProof.mjs +76 -75
  185. package/functions/snarkjs/generateZkProof.cjs +1 -1
  186. package/functions/snarkjs/generateZkProof.d.ts +1 -1
  187. package/functions/snarkjs/generateZkProof.mjs +4 -15
  188. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
  189. package/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
  190. package/functions/snarkjs/generateZkProofEnclave.mjs +33 -0
  191. package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
  192. package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
  193. package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
  194. package/functions/utils/axelar.utils.cjs +1 -1
  195. package/functions/utils/axelar.utils.mjs +3 -2
  196. package/functions/utils/cacheDevice.utils.cjs +1 -1
  197. package/functions/utils/cacheDevice.utils.mjs +9 -8
  198. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  199. package/functions/utils/erc20tokenFunctions.mjs +8 -7
  200. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  201. package/functions/utils/evmNetworkFunctions.mjs +4 -3
  202. package/functions/utils/userAgent.cjs +1 -1
  203. package/functions/utils/userAgent.mjs +8 -8
  204. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  205. package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
  206. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  207. package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
  208. package/functions/web3/functionCalls/transactCallDirect.mjs +43 -29
  209. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  210. package/functions/web3/functionCalls/transactCallRelayer.mjs +10 -8
  211. package/functions/web3/getContractMetadata.cjs +1 -0
  212. package/functions/web3/getContractMetadata.d.ts +5 -0
  213. package/functions/web3/getContractMetadata.mjs +30 -0
  214. package/functions/web3/odosAPI.cjs +1 -1
  215. package/functions/web3/odosAPI.d.ts +1 -2
  216. package/functions/web3/odosAPI.mjs +19 -18
  217. package/functions/web3/oneInchAPI.cjs +1 -1
  218. package/functions/web3/oneInchAPI.d.ts +1 -2
  219. package/functions/web3/oneInchAPI.mjs +17 -15
  220. package/functions/web3/uniswapAPI.cjs +1 -1
  221. package/functions/web3/uniswapAPI.d.ts +4 -4
  222. package/functions/web3/uniswapAPI.mjs +54 -43
  223. package/index.cjs +1 -1
  224. package/index.mjs +617 -638
  225. package/package.json +4 -3
  226. package/providers/EthersProviderAdapter.cjs +1 -1
  227. package/providers/EthersProviderAdapter.d.ts +1 -0
  228. package/providers/EthersProviderAdapter.mjs +26 -37
  229. package/providers/WagmiProviderAdapter.cjs +1 -1
  230. package/providers/WagmiProviderAdapter.d.ts +1 -1
  231. package/providers/WagmiProviderAdapter.mjs +52 -66
  232. package/providers/exportProviers.d.ts +1 -1
  233. package/providers/prepareEthersHinkal.cjs +1 -1
  234. package/providers/prepareEthersHinkal.mjs +4 -2
  235. package/providers/prepareWagmiHinkal.cjs +1 -1
  236. package/providers/prepareWagmiHinkal.mjs +4 -2
  237. package/types/ethereum-network.types.cjs +1 -1
  238. package/types/ethereum-network.types.d.ts +62 -59
  239. package/types/ethereum-network.types.mjs +1 -1
  240. package/types/hinkal.types.d.ts +4 -0
  241. package/types/kyc.types.cjs +1 -1
  242. package/types/kyc.types.d.ts +1 -1
  243. package/types/kyc.types.mjs +1 -1
  244. package/types/remote-proof.types.d.ts +15 -0
  245. package/types/rewards.types.d.ts +5 -0
  246. package/types/time.types.cjs +1 -1
  247. package/types/time.types.mjs +1 -1
  248. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  249. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
@@ -4677,7 +4677,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
4677
4677
  stateMutability: "view",
4678
4678
  type: "function"
4679
4679
  }
4680
- ], v = [
4680
+ ], M = [
4681
4681
  {
4682
4682
  inputs: [
4683
4683
  {
@@ -5043,7 +5043,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
5043
5043
  stateMutability: "payable",
5044
5044
  type: "receive"
5045
5045
  }
5046
- ], M = [
5046
+ ], v = [
5047
5047
  {
5048
5048
  inputs: [
5049
5049
  {
@@ -6820,7 +6820,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
6820
6820
  stateMutability: "payable",
6821
6821
  type: "receive"
6822
6822
  }
6823
- ], H = [
6823
+ ], g = [
6824
6824
  {
6825
6825
  inputs: [
6826
6826
  {
@@ -7307,7 +7307,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
7307
7307
  stateMutability: "nonpayable",
7308
7308
  type: "function"
7309
7309
  }
7310
- ], g = "0x67371816CA9B39EC09E7A5dbCb5914097252a589", C = "0x6AA94C6d2911CB94AF515c26E79DfefbD2A24D47", I = [
7310
+ ], H = "0x67371816CA9B39EC09E7A5dbCb5914097252a589", C = "0x6AA94C6d2911CB94AF515c26E79DfefbD2A24D47", I = [
7311
7311
  {
7312
7312
  inputs: [
7313
7313
  {
@@ -11338,7 +11338,838 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
11338
11338
  stateMutability: "view",
11339
11339
  type: "function"
11340
11340
  }
11341
- ], L = "0x6d007d431175b32A308f7a001e62196aEa8e7693", z = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", U = {
11341
+ ], L = "0x6d007d431175b32A308f7a001e62196aEa8e7693", z = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", K = "0x9E86294c272F0A68EE7b65161aBeC53C9F35b68c", U = [
11342
+ {
11343
+ inputs: [
11344
+ {
11345
+ internalType: "address",
11346
+ name: "_accessToken",
11347
+ type: "address"
11348
+ },
11349
+ {
11350
+ internalType: "address",
11351
+ name: "_hinkal",
11352
+ type: "address"
11353
+ }
11354
+ ],
11355
+ stateMutability: "nonpayable",
11356
+ type: "constructor"
11357
+ },
11358
+ {
11359
+ anonymous: !1,
11360
+ inputs: [
11361
+ {
11362
+ indexed: !0,
11363
+ internalType: "address",
11364
+ name: "previousOwner",
11365
+ type: "address"
11366
+ },
11367
+ {
11368
+ indexed: !0,
11369
+ internalType: "address",
11370
+ name: "newOwner",
11371
+ type: "address"
11372
+ }
11373
+ ],
11374
+ name: "OwnershipTransferStarted",
11375
+ type: "event"
11376
+ },
11377
+ {
11378
+ anonymous: !1,
11379
+ inputs: [
11380
+ {
11381
+ indexed: !0,
11382
+ internalType: "address",
11383
+ name: "previousOwner",
11384
+ type: "address"
11385
+ },
11386
+ {
11387
+ indexed: !0,
11388
+ internalType: "address",
11389
+ name: "newOwner",
11390
+ type: "address"
11391
+ }
11392
+ ],
11393
+ name: "OwnershipTransferred",
11394
+ type: "event"
11395
+ },
11396
+ {
11397
+ inputs: [],
11398
+ name: "acceptOwnership",
11399
+ outputs: [],
11400
+ stateMutability: "nonpayable",
11401
+ type: "function"
11402
+ },
11403
+ {
11404
+ inputs: [],
11405
+ name: "accessToken",
11406
+ outputs: [
11407
+ {
11408
+ internalType: "contract IExtendedCrossChainAccessToken",
11409
+ name: "",
11410
+ type: "address"
11411
+ }
11412
+ ],
11413
+ stateMutability: "view",
11414
+ type: "function"
11415
+ },
11416
+ {
11417
+ inputs: [],
11418
+ name: "accessTokenAcceptOwnership",
11419
+ outputs: [],
11420
+ stateMutability: "nonpayable",
11421
+ type: "function"
11422
+ },
11423
+ {
11424
+ inputs: [
11425
+ {
11426
+ internalType: "address",
11427
+ name: "newOwner",
11428
+ type: "address"
11429
+ }
11430
+ ],
11431
+ name: "accessTokenTransferOwnership",
11432
+ outputs: [],
11433
+ stateMutability: "nonpayable",
11434
+ type: "function"
11435
+ },
11436
+ {
11437
+ inputs: [
11438
+ {
11439
+ components: [
11440
+ {
11441
+ internalType: "uint8",
11442
+ name: "v",
11443
+ type: "uint8"
11444
+ },
11445
+ {
11446
+ internalType: "bytes32",
11447
+ name: "r",
11448
+ type: "bytes32"
11449
+ },
11450
+ {
11451
+ internalType: "bytes32",
11452
+ name: "s",
11453
+ type: "bytes32"
11454
+ },
11455
+ {
11456
+ internalType: "uint256",
11457
+ name: "accessKey",
11458
+ type: "uint256"
11459
+ },
11460
+ {
11461
+ internalType: "uint256",
11462
+ name: "nonce",
11463
+ type: "uint256"
11464
+ }
11465
+ ],
11466
+ internalType: "struct SignatureData",
11467
+ name: "signatureData",
11468
+ type: "tuple"
11469
+ }
11470
+ ],
11471
+ name: "addToken",
11472
+ outputs: [],
11473
+ stateMutability: "payable",
11474
+ type: "function"
11475
+ },
11476
+ {
11477
+ inputs: [
11478
+ {
11479
+ components: [
11480
+ {
11481
+ internalType: "uint8",
11482
+ name: "v",
11483
+ type: "uint8"
11484
+ },
11485
+ {
11486
+ internalType: "bytes32",
11487
+ name: "r",
11488
+ type: "bytes32"
11489
+ },
11490
+ {
11491
+ internalType: "bytes32",
11492
+ name: "s",
11493
+ type: "bytes32"
11494
+ },
11495
+ {
11496
+ internalType: "uint256",
11497
+ name: "accessKey",
11498
+ type: "uint256"
11499
+ },
11500
+ {
11501
+ internalType: "uint256",
11502
+ name: "nonce",
11503
+ type: "uint256"
11504
+ }
11505
+ ],
11506
+ internalType: "struct SignatureData",
11507
+ name: "signatureData",
11508
+ type: "tuple"
11509
+ },
11510
+ {
11511
+ internalType: "uint256[2]",
11512
+ name: "a",
11513
+ type: "uint256[2]"
11514
+ },
11515
+ {
11516
+ internalType: "uint256[2][2]",
11517
+ name: "b",
11518
+ type: "uint256[2][2]"
11519
+ },
11520
+ {
11521
+ internalType: "uint256[2]",
11522
+ name: "c",
11523
+ type: "uint256[2]"
11524
+ },
11525
+ {
11526
+ components: [
11527
+ {
11528
+ internalType: "uint16",
11529
+ name: "tokenNumber",
11530
+ type: "uint16"
11531
+ },
11532
+ {
11533
+ internalType: "uint16",
11534
+ name: "nullifierAmount",
11535
+ type: "uint16"
11536
+ },
11537
+ {
11538
+ internalType: "uint16",
11539
+ name: "outputAmount",
11540
+ type: "uint16"
11541
+ }
11542
+ ],
11543
+ internalType: "struct Dimensions",
11544
+ name: "dimensions",
11545
+ type: "tuple"
11546
+ },
11547
+ {
11548
+ components: [
11549
+ {
11550
+ internalType: "uint256",
11551
+ name: "rootHashHinkal",
11552
+ type: "uint256"
11553
+ },
11554
+ {
11555
+ internalType: "address[]",
11556
+ name: "erc20TokenAddresses",
11557
+ type: "address[]"
11558
+ },
11559
+ {
11560
+ internalType: "uint256[]",
11561
+ name: "tokenIds",
11562
+ type: "uint256[]"
11563
+ },
11564
+ {
11565
+ internalType: "int256[]",
11566
+ name: "amountChanges",
11567
+ type: "int256[]"
11568
+ },
11569
+ {
11570
+ internalType: "uint256[][]",
11571
+ name: "inputNullifiers",
11572
+ type: "uint256[][]"
11573
+ },
11574
+ {
11575
+ internalType: "uint256[][]",
11576
+ name: "outCommitments",
11577
+ type: "uint256[][]"
11578
+ },
11579
+ {
11580
+ internalType: "bytes[][]",
11581
+ name: "encryptedOutputs",
11582
+ type: "bytes[][]"
11583
+ },
11584
+ {
11585
+ internalType: "uint256[]",
11586
+ name: "flatFees",
11587
+ type: "uint256[]"
11588
+ },
11589
+ {
11590
+ internalType: "uint256",
11591
+ name: "timeStamp",
11592
+ type: "uint256"
11593
+ },
11594
+ {
11595
+ components: [
11596
+ {
11597
+ internalType: "uint256",
11598
+ name: "extraRandomization",
11599
+ type: "uint256"
11600
+ },
11601
+ {
11602
+ internalType: "uint256",
11603
+ name: "stealthAddress",
11604
+ type: "uint256"
11605
+ },
11606
+ {
11607
+ internalType: "uint256",
11608
+ name: "H0",
11609
+ type: "uint256"
11610
+ },
11611
+ {
11612
+ internalType: "uint256",
11613
+ name: "H1",
11614
+ type: "uint256"
11615
+ }
11616
+ ],
11617
+ internalType: "struct StealthAddressStructure",
11618
+ name: "stealthAddressStructure",
11619
+ type: "tuple"
11620
+ },
11621
+ {
11622
+ internalType: "uint256",
11623
+ name: "rootHashAccessToken",
11624
+ type: "uint256"
11625
+ },
11626
+ {
11627
+ internalType: "uint256",
11628
+ name: "calldataHash",
11629
+ type: "uint256"
11630
+ },
11631
+ {
11632
+ internalType: "uint16",
11633
+ name: "publicSignalCount",
11634
+ type: "uint16"
11635
+ },
11636
+ {
11637
+ internalType: "address",
11638
+ name: "relay",
11639
+ type: "address"
11640
+ },
11641
+ {
11642
+ internalType: "address",
11643
+ name: "externalAddress",
11644
+ type: "address"
11645
+ },
11646
+ {
11647
+ internalType: "uint256",
11648
+ name: "externalActionId",
11649
+ type: "uint256"
11650
+ },
11651
+ {
11652
+ internalType: "bytes",
11653
+ name: "externalActionMetadata",
11654
+ type: "bytes"
11655
+ },
11656
+ {
11657
+ components: [
11658
+ {
11659
+ internalType: "address",
11660
+ name: "preHookContract",
11661
+ type: "address"
11662
+ },
11663
+ {
11664
+ internalType: "address",
11665
+ name: "hookContract",
11666
+ type: "address"
11667
+ },
11668
+ {
11669
+ internalType: "bytes",
11670
+ name: "preHookMetadata",
11671
+ type: "bytes"
11672
+ },
11673
+ {
11674
+ internalType: "bytes",
11675
+ name: "postHookMetadata",
11676
+ type: "bytes"
11677
+ }
11678
+ ],
11679
+ internalType: "struct HookData",
11680
+ name: "hookData",
11681
+ type: "tuple"
11682
+ }
11683
+ ],
11684
+ internalType: "struct CircomData",
11685
+ name: "circomData",
11686
+ type: "tuple"
11687
+ }
11688
+ ],
11689
+ name: "addTokenAndTransact",
11690
+ outputs: [],
11691
+ stateMutability: "payable",
11692
+ type: "function"
11693
+ },
11694
+ {
11695
+ inputs: [
11696
+ {
11697
+ components: [
11698
+ {
11699
+ internalType: "uint8",
11700
+ name: "v",
11701
+ type: "uint8"
11702
+ },
11703
+ {
11704
+ internalType: "bytes32",
11705
+ name: "r",
11706
+ type: "bytes32"
11707
+ },
11708
+ {
11709
+ internalType: "bytes32",
11710
+ name: "s",
11711
+ type: "bytes32"
11712
+ },
11713
+ {
11714
+ internalType: "uint256",
11715
+ name: "accessKey",
11716
+ type: "uint256"
11717
+ },
11718
+ {
11719
+ internalType: "uint256",
11720
+ name: "nonce",
11721
+ type: "uint256"
11722
+ }
11723
+ ],
11724
+ internalType: "struct SignatureData",
11725
+ name: "signatureData",
11726
+ type: "tuple"
11727
+ },
11728
+ {
11729
+ components: [
11730
+ {
11731
+ components: [
11732
+ {
11733
+ internalType: "string",
11734
+ name: "destinationChain",
11735
+ type: "string"
11736
+ },
11737
+ {
11738
+ internalType: "string",
11739
+ name: "destinationAddress",
11740
+ type: "string"
11741
+ },
11742
+ {
11743
+ internalType: "uint256",
11744
+ name: "messageFee",
11745
+ type: "uint256"
11746
+ }
11747
+ ],
11748
+ internalType: "struct AxelarChainInfo[]",
11749
+ name: "chains",
11750
+ type: "tuple[]"
11751
+ },
11752
+ {
11753
+ internalType: "uint256",
11754
+ name: "totalMessageFees",
11755
+ type: "uint256"
11756
+ }
11757
+ ],
11758
+ internalType: "struct AxelarCapsule",
11759
+ name: "capsule",
11760
+ type: "tuple"
11761
+ }
11762
+ ],
11763
+ name: "addTokenCrossChain",
11764
+ outputs: [],
11765
+ stateMutability: "payable",
11766
+ type: "function"
11767
+ },
11768
+ {
11769
+ inputs: [
11770
+ {
11771
+ components: [
11772
+ {
11773
+ internalType: "uint256",
11774
+ name: "accessToken",
11775
+ type: "uint256"
11776
+ },
11777
+ {
11778
+ internalType: "address",
11779
+ name: "ethAddress",
11780
+ type: "address"
11781
+ }
11782
+ ],
11783
+ internalType: "struct AccessTokenWithAddress[]",
11784
+ name: "accessObjects",
11785
+ type: "tuple[]"
11786
+ }
11787
+ ],
11788
+ name: "approveTokens",
11789
+ outputs: [],
11790
+ stateMutability: "nonpayable",
11791
+ type: "function"
11792
+ },
11793
+ {
11794
+ inputs: [
11795
+ {
11796
+ internalType: "uint256",
11797
+ name: "accessKey",
11798
+ type: "uint256"
11799
+ },
11800
+ {
11801
+ internalType: "uint256",
11802
+ name: "index",
11803
+ type: "uint256"
11804
+ }
11805
+ ],
11806
+ name: "blacklistAccessKey",
11807
+ outputs: [],
11808
+ stateMutability: "nonpayable",
11809
+ type: "function"
11810
+ },
11811
+ {
11812
+ inputs: [
11813
+ {
11814
+ internalType: "address",
11815
+ name: "_address",
11816
+ type: "address"
11817
+ }
11818
+ ],
11819
+ name: "blacklistAddress",
11820
+ outputs: [],
11821
+ stateMutability: "nonpayable",
11822
+ type: "function"
11823
+ },
11824
+ {
11825
+ inputs: [
11826
+ {
11827
+ internalType: "uint256",
11828
+ name: "rootHashAccessToken",
11829
+ type: "uint256"
11830
+ },
11831
+ {
11832
+ internalType: "address",
11833
+ name: "sender",
11834
+ type: "address"
11835
+ }
11836
+ ],
11837
+ name: "checkForRootHash",
11838
+ outputs: [
11839
+ {
11840
+ internalType: "bool",
11841
+ name: "",
11842
+ type: "bool"
11843
+ }
11844
+ ],
11845
+ stateMutability: "view",
11846
+ type: "function"
11847
+ },
11848
+ {
11849
+ inputs: [
11850
+ {
11851
+ internalType: "uint256",
11852
+ name: "leaf",
11853
+ type: "uint256"
11854
+ }
11855
+ ],
11856
+ name: "getAccessTokenRootHash",
11857
+ outputs: [
11858
+ {
11859
+ internalType: "uint256",
11860
+ name: "newRoot",
11861
+ type: "uint256"
11862
+ }
11863
+ ],
11864
+ stateMutability: "view",
11865
+ type: "function"
11866
+ },
11867
+ {
11868
+ inputs: [
11869
+ {
11870
+ internalType: "uint256",
11871
+ name: "accessKey",
11872
+ type: "uint256"
11873
+ }
11874
+ ],
11875
+ name: "hasToken",
11876
+ outputs: [
11877
+ {
11878
+ internalType: "bool",
11879
+ name: "",
11880
+ type: "bool"
11881
+ }
11882
+ ],
11883
+ stateMutability: "view",
11884
+ type: "function"
11885
+ },
11886
+ {
11887
+ inputs: [],
11888
+ name: "hinkal",
11889
+ outputs: [
11890
+ {
11891
+ internalType: "address",
11892
+ name: "",
11893
+ type: "address"
11894
+ }
11895
+ ],
11896
+ stateMutability: "view",
11897
+ type: "function"
11898
+ },
11899
+ {
11900
+ inputs: [],
11901
+ name: "levels",
11902
+ outputs: [
11903
+ {
11904
+ internalType: "uint128",
11905
+ name: "",
11906
+ type: "uint128"
11907
+ }
11908
+ ],
11909
+ stateMutability: "view",
11910
+ type: "function"
11911
+ },
11912
+ {
11913
+ inputs: [
11914
+ {
11915
+ components: [
11916
+ {
11917
+ components: [
11918
+ {
11919
+ internalType: "string",
11920
+ name: "destinationChain",
11921
+ type: "string"
11922
+ },
11923
+ {
11924
+ internalType: "string",
11925
+ name: "destinationAddress",
11926
+ type: "string"
11927
+ },
11928
+ {
11929
+ internalType: "uint256",
11930
+ name: "messageFee",
11931
+ type: "uint256"
11932
+ }
11933
+ ],
11934
+ internalType: "struct AxelarChainInfo[]",
11935
+ name: "chains",
11936
+ type: "tuple[]"
11937
+ },
11938
+ {
11939
+ internalType: "uint256",
11940
+ name: "totalMessageFees",
11941
+ type: "uint256"
11942
+ }
11943
+ ],
11944
+ internalType: "struct AxelarCapsule",
11945
+ name: "capsule",
11946
+ type: "tuple"
11947
+ },
11948
+ {
11949
+ internalType: "uint256",
11950
+ name: "accessKey",
11951
+ type: "uint256"
11952
+ }
11953
+ ],
11954
+ name: "migrateAccessToken",
11955
+ outputs: [],
11956
+ stateMutability: "payable",
11957
+ type: "function"
11958
+ },
11959
+ {
11960
+ inputs: [],
11961
+ name: "minIndex",
11962
+ outputs: [
11963
+ {
11964
+ internalType: "uint256",
11965
+ name: "",
11966
+ type: "uint256"
11967
+ }
11968
+ ],
11969
+ stateMutability: "view",
11970
+ type: "function"
11971
+ },
11972
+ {
11973
+ inputs: [
11974
+ {
11975
+ internalType: "address",
11976
+ name: "",
11977
+ type: "address"
11978
+ },
11979
+ {
11980
+ internalType: "address",
11981
+ name: "",
11982
+ type: "address"
11983
+ },
11984
+ {
11985
+ internalType: "uint256",
11986
+ name: "",
11987
+ type: "uint256"
11988
+ },
11989
+ {
11990
+ internalType: "bytes",
11991
+ name: "",
11992
+ type: "bytes"
11993
+ }
11994
+ ],
11995
+ name: "onERC721Received",
11996
+ outputs: [
11997
+ {
11998
+ internalType: "bytes4",
11999
+ name: "",
12000
+ type: "bytes4"
12001
+ }
12002
+ ],
12003
+ stateMutability: "pure",
12004
+ type: "function"
12005
+ },
12006
+ {
12007
+ inputs: [],
12008
+ name: "owner",
12009
+ outputs: [
12010
+ {
12011
+ internalType: "address",
12012
+ name: "",
12013
+ type: "address"
12014
+ }
12015
+ ],
12016
+ stateMutability: "view",
12017
+ type: "function"
12018
+ },
12019
+ {
12020
+ inputs: [],
12021
+ name: "pendingOwner",
12022
+ outputs: [
12023
+ {
12024
+ internalType: "address",
12025
+ name: "",
12026
+ type: "address"
12027
+ }
12028
+ ],
12029
+ stateMutability: "view",
12030
+ type: "function"
12031
+ },
12032
+ {
12033
+ inputs: [
12034
+ {
12035
+ internalType: "address",
12036
+ name: "sender",
12037
+ type: "address"
12038
+ }
12039
+ ],
12040
+ name: "registerCheck",
12041
+ outputs: [],
12042
+ stateMutability: "view",
12043
+ type: "function"
12044
+ },
12045
+ {
12046
+ inputs: [
12047
+ {
12048
+ internalType: "address",
12049
+ name: "_address",
12050
+ type: "address"
12051
+ }
12052
+ ],
12053
+ name: "removeAddressFromBlacklist",
12054
+ outputs: [],
12055
+ stateMutability: "nonpayable",
12056
+ type: "function"
12057
+ },
12058
+ {
12059
+ inputs: [],
12060
+ name: "renounceOwnership",
12061
+ outputs: [],
12062
+ stateMutability: "view",
12063
+ type: "function"
12064
+ },
12065
+ {
12066
+ inputs: [
12067
+ {
12068
+ internalType: "address",
12069
+ name: "_accessToken",
12070
+ type: "address"
12071
+ }
12072
+ ],
12073
+ name: "setAccessToken",
12074
+ outputs: [],
12075
+ stateMutability: "nonpayable",
12076
+ type: "function"
12077
+ },
12078
+ {
12079
+ inputs: [
12080
+ {
12081
+ internalType: "address",
12082
+ name: "_gasService",
12083
+ type: "address"
12084
+ }
12085
+ ],
12086
+ name: "setAxelarGasService",
12087
+ outputs: [],
12088
+ stateMutability: "nonpayable",
12089
+ type: "function"
12090
+ },
12091
+ {
12092
+ inputs: [
12093
+ {
12094
+ components: [
12095
+ {
12096
+ internalType: "string",
12097
+ name: "sourceChain",
12098
+ type: "string"
12099
+ },
12100
+ {
12101
+ internalType: "address",
12102
+ name: "sourceAddress",
12103
+ type: "address"
12104
+ }
12105
+ ],
12106
+ internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
12107
+ name: "updates",
12108
+ type: "tuple[]"
12109
+ }
12110
+ ],
12111
+ name: "setCrossChainAccessTokenRegistry",
12112
+ outputs: [],
12113
+ stateMutability: "nonpayable",
12114
+ type: "function"
12115
+ },
12116
+ {
12117
+ inputs: [
12118
+ {
12119
+ internalType: "uint256",
12120
+ name: "_mintingFee",
12121
+ type: "uint256"
12122
+ }
12123
+ ],
12124
+ name: "setMintingFee",
12125
+ outputs: [],
12126
+ stateMutability: "nonpayable",
12127
+ type: "function"
12128
+ },
12129
+ {
12130
+ inputs: [
12131
+ {
12132
+ internalType: "address",
12133
+ name: "newOwner",
12134
+ type: "address"
12135
+ }
12136
+ ],
12137
+ name: "transferOwnership",
12138
+ outputs: [],
12139
+ stateMutability: "nonpayable",
12140
+ type: "function"
12141
+ },
12142
+ {
12143
+ inputs: [
12144
+ {
12145
+ internalType: "uint256",
12146
+ name: "",
12147
+ type: "uint256"
12148
+ }
12149
+ ],
12150
+ name: "usedNonces",
12151
+ outputs: [
12152
+ {
12153
+ internalType: "bool",
12154
+ name: "",
12155
+ type: "bool"
12156
+ }
12157
+ ],
12158
+ stateMutability: "view",
12159
+ type: "function"
12160
+ },
12161
+ {
12162
+ inputs: [],
12163
+ name: "withdraw",
12164
+ outputs: [],
12165
+ stateMutability: "payable",
12166
+ type: "function"
12167
+ },
12168
+ {
12169
+ stateMutability: "payable",
12170
+ type: "receive"
12171
+ }
12172
+ ], G = {
11342
12173
  hinkalAddress: e,
11343
12174
  hinkalABI: t,
11344
12175
  hinkalHelperAddress: n,
@@ -11358,14 +12189,14 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
11358
12189
  pendleExternalActionInstanceAddress: b,
11359
12190
  pendleExternalActionABI: f,
11360
12191
  WstYtTokenABI: A,
11361
- curveExternalActionABI: v,
11362
- wrappedStakedCurveLpABI: M,
12192
+ curveExternalActionABI: M,
12193
+ wrappedStakedCurveLpABI: v,
11363
12194
  convexExternalActionInstanceAddress: w,
11364
12195
  convexExternalActionABI: k,
11365
12196
  wrappedStakedConvexLpABI: h,
11366
12197
  BeefyExternalActionABI: x,
11367
- WrappedStakedBeefyLpABI: H,
11368
- hinkalWrapperAddress: g,
12198
+ WrappedStakedBeefyLpABI: g,
12199
+ hinkalWrapperAddress: H,
11369
12200
  hinkalWrapper2Address: C,
11370
12201
  HinkalWrapperABI: I,
11371
12202
  HinkalWrapper2ABI: S,
@@ -11381,7 +12212,9 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
11381
12212
  hETHOracleAddress: N,
11382
12213
  HTokenOracleABI: W,
11383
12214
  emporiumAddress: L,
11384
- hinkalWalletFactoryAddress: z
12215
+ hinkalWalletFactoryAddress: z,
12216
+ crossChainAccessTokenManagerAddress: K,
12217
+ crossChainAccessTokenManagerABI: U
11385
12218
  };
11386
12219
  export {
11387
12220
  x as BeefyExternalActionABI,
@@ -11392,7 +12225,7 @@ export {
11392
12225
  I as HinkalWrapperABI,
11393
12226
  D as VolatileTokenActionABI,
11394
12227
  R as VolatileVaultABI,
11395
- H as WrappedStakedBeefyLpABI,
12228
+ g as WrappedStakedBeefyLpABI,
11396
12229
  A as WstYtTokenABI,
11397
12230
  u as beefyExternalActionInstanceAddress,
11398
12231
  d as beefyStakeExternalActionInstanceAddress,
@@ -11400,11 +12233,13 @@ export {
11400
12233
  w as convexExternalActionInstanceAddress,
11401
12234
  s as crossChainAccessTokenABI,
11402
12235
  i as crossChainAccessTokenAddress,
11403
- v as curveExternalActionABI,
12236
+ U as crossChainAccessTokenManagerABI,
12237
+ K as crossChainAccessTokenManagerAddress,
12238
+ M as curveExternalActionABI,
11404
12239
  o as curveExternalActionDynamicInstanceAddress,
11405
12240
  l as curveExternalActionInstanceAddress,
11406
12241
  m as curveStakeExternalActionInstanceAddress,
11407
- U as default,
12242
+ G as default,
11408
12243
  L as emporiumAddress,
11409
12244
  N as hETHOracleAddress,
11410
12245
  t as hinkalABI,
@@ -11414,7 +12249,7 @@ export {
11414
12249
  F as hinkalStakeExternalActionAddress,
11415
12250
  z as hinkalWalletFactoryAddress,
11416
12251
  C as hinkalWrapper2Address,
11417
- g as hinkalWrapperAddress,
12252
+ H as hinkalWrapperAddress,
11418
12253
  T as lidoExternalActionEthAddress,
11419
12254
  c as lidoExternalActionMaticAddress,
11420
12255
  r as odosExternalActionInstanceAddress,
@@ -11427,5 +12262,5 @@ export {
11427
12262
  E as volatileTokenActionInstanceAddress,
11428
12263
  O as volatileVaultInstanceAddress,
11429
12264
  h as wrappedStakedConvexLpABI,
11430
- M as wrappedStakedCurveLpABI
12265
+ v as wrappedStakedCurveLpABI
11431
12266
  };