@hinkal/common 0.2.4 → 0.2.13

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 (257) 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 +2 -3
  6. package/API/userVerifyTransactions.cjs +1 -1
  7. package/API/userVerifyTransactions.d.ts +7 -6
  8. package/API/userVerifyTransactions.mjs +14 -13
  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 +134 -138
  13. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  14. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +11 -846
  15. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  16. package/constants/deploy-data/deploy-data-avalanche.json.mjs +13 -848
  17. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  18. package/constants/deploy-data/deploy-data-base.json.mjs +17 -852
  19. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  20. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +20 -855
  21. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  22. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +15 -850
  23. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  24. package/constants/deploy-data/deploy-data-localhost.json.mjs +100 -935
  25. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  26. package/constants/deploy-data/deploy-data-optimism.json.mjs +18 -849
  27. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  28. package/constants/deploy-data/deploy-data-polygon.json.mjs +9 -844
  29. package/constants/kyc.constants.cjs +1 -1
  30. package/constants/kyc.constants.mjs +18 -30
  31. package/constants/server.constants.cjs +1 -1
  32. package/constants/server.constants.d.ts +2 -3
  33. package/constants/server.constants.mjs +6 -7
  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 +1 -4
  38. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  39. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +1 -4
  40. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  41. package/constants/token-data/avalancheRegistry.json.mjs +1 -4
  42. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  43. package/constants/token-data/avalancheRegistryFixed.json.mjs +1 -4
  44. package/constants/token-data/baseRegistry.json.cjs +1 -1
  45. package/constants/token-data/baseRegistry.json.mjs +1 -4
  46. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  47. package/constants/token-data/baseRegistryFixed.json.mjs +1 -4
  48. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  49. package/constants/token-data/bnbMainnetRegistry.json.mjs +1 -4
  50. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  51. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +1 -4
  52. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  53. package/constants/token-data/ethMainnetRegistry.json.mjs +1 -4
  54. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  55. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +1 -4
  56. package/constants/token-data/index.d.ts +15 -972
  57. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  58. package/constants/token-data/localhostRegistry.json.mjs +1 -4
  59. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  60. package/constants/token-data/optimismRegistry.json.mjs +1 -4
  61. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  62. package/constants/token-data/optimismRegistryFixed.json.mjs +1 -4
  63. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  64. package/constants/token-data/polygonRegistry.json.mjs +1 -4
  65. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  66. package/constants/token-data/polygonRegistryFixed.json.mjs +1 -4
  67. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  68. package/data-structures/Hinkal/Hinkal.d.ts +0 -2
  69. package/data-structures/Hinkal/Hinkal.mjs +32 -38
  70. package/data-structures/Hinkal/IHinkal.d.ts +0 -2
  71. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  72. package/data-structures/Hinkal/hinkalActionBeefy.mjs +20 -21
  73. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  74. package/data-structures/Hinkal/hinkalActionConvex.mjs +12 -13
  75. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  76. package/data-structures/Hinkal/hinkalActionCurve.mjs +14 -15
  77. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  78. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +16 -17
  79. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  80. package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
  81. package/data-structures/Hinkal/hinkalActionPendle.mjs +23 -24
  82. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  83. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +20 -21
  84. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  85. package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
  86. package/data-structures/Hinkal/hinkalActionStake.mjs +5 -6
  87. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  88. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
  89. package/data-structures/Hinkal/hinkalActionVolatile.mjs +8 -9
  90. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  91. package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
  92. package/data-structures/Hinkal/hinkalDeposit.mjs +54 -93
  93. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  94. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +2 -3
  95. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  96. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +4 -5
  97. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  98. package/data-structures/Hinkal/hinkalSwap.mjs +22 -23
  99. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  100. package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
  101. package/data-structures/Hinkal/hinkalWithdraw.mjs +12 -13
  102. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  103. package/data-structures/merkle-tree/MerkleTree.d.ts +0 -2
  104. package/data-structures/merkle-tree/MerkleTree.mjs +25 -38
  105. package/data-structures/merkle-tree/index.d.ts +0 -1
  106. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  107. package/data-structures/transactions-manager/TransactionsManager.d.ts +5 -6
  108. package/data-structures/transactions-manager/TransactionsManager.mjs +111 -118
  109. package/error-handling/error-codes.constants.cjs +1 -1
  110. package/error-handling/error-codes.constants.d.ts +0 -4
  111. package/error-handling/error-codes.constants.mjs +2 -6
  112. package/externalABIs/BabPassport.json.cjs +1 -1
  113. package/externalABIs/BabPassport.json.mjs +3 -8
  114. package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
  115. package/externalABIs/BeefyRouterAbi.json.mjs +2 -5
  116. package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
  117. package/externalABIs/BeefyStrategyAbi.json.mjs +2 -5
  118. package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
  119. package/externalABIs/BeefyVaultAbi.json.mjs +2 -5
  120. package/externalABIs/BeefyZapAbi.json.cjs +1 -1
  121. package/externalABIs/BeefyZapAbi.json.mjs +2 -5
  122. package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
  123. package/externalABIs/BeefyZapOneInchAbi.json.mjs +2 -5
  124. package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
  125. package/externalABIs/ConvexBoosterAbi.json.mjs +2 -5
  126. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
  127. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +2 -5
  128. package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
  129. package/externalABIs/ConvexRewardPoolAbi.json.mjs +2 -5
  130. package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
  131. package/externalABIs/CurveReadingWrapperAbi.json.mjs +2 -5
  132. package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
  133. package/externalABIs/CurveWrappedMainPool.json.mjs +2 -5
  134. package/externalABIs/CurveZap.json.cjs +1 -1
  135. package/externalABIs/CurveZap.json.mjs +2 -5
  136. package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
  137. package/externalABIs/CvxCrvUtilities.json.mjs +2 -5
  138. package/externalABIs/ERC20.json.cjs +1 -1
  139. package/externalABIs/ERC20.json.mjs +3 -20
  140. package/externalABIs/GalxePassport.json.cjs +1 -1
  141. package/externalABIs/GalxePassport.json.mjs +3 -8
  142. package/externalABIs/IQuoterV2.json.cjs +1 -1
  143. package/externalABIs/IQuoterV2.json.mjs +3 -20
  144. package/externalABIs/ISwapRouter.json.cjs +1 -1
  145. package/externalABIs/ISwapRouter.json.mjs +2 -5
  146. package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
  147. package/externalABIs/IUniswapV3Factory.json.mjs +3 -20
  148. package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
  149. package/externalABIs/IUniswapV3Pool.json.mjs +3 -20
  150. package/externalABIs/PendleRouterAbi.json.cjs +1 -1
  151. package/externalABIs/PendleRouterAbi.json.mjs +2 -5
  152. package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
  153. package/externalABIs/UniswapV2PoolAbi.json.mjs +3 -16
  154. package/externalABIs/index.d.ts +11 -307
  155. package/externalABIs/transactionsProver.json.cjs +1 -1
  156. package/externalABIs/transactionsProver.json.mjs +3 -20
  157. package/functions/kyc/zkMeHelper.cjs +1 -1
  158. package/functions/kyc/zkMeHelper.d.ts +1 -0
  159. package/functions/kyc/zkMeHelper.mjs +11 -8
  160. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  161. package/functions/pre-transaction/process-gas-estimates.mjs +2 -3
  162. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  163. package/functions/private-wallet/emporium.helpers.d.ts +8 -3
  164. package/functions/private-wallet/emporium.helpers.mjs +23 -11
  165. package/functions/private-wallet/index.d.ts +1 -0
  166. package/functions/private-wallet/opProducer.cjs +1 -1
  167. package/functions/private-wallet/opProducer.mjs +10 -9
  168. package/functions/private-wallet/smartContractWalletCalculator.cjs +1 -0
  169. package/functions/private-wallet/smartContractWalletCalculator.d.ts +1 -0
  170. package/functions/private-wallet/smartContractWalletCalculator.mjs +20 -0
  171. package/functions/protocols/convex.protocols.cjs +1 -1
  172. package/functions/protocols/convex.protocols.mjs +2 -3
  173. package/functions/protocols/pendle.helpers.cjs +1 -1
  174. package/functions/protocols/pendle.helpers.mjs +13 -14
  175. package/functions/snarkjs/constant.cjs +1 -1
  176. package/functions/snarkjs/constant.d.ts +0 -1
  177. package/functions/snarkjs/constant.mjs +5 -6
  178. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  179. package/functions/snarkjs/constructEmporiumProof.d.ts +1 -1
  180. package/functions/snarkjs/constructEmporiumProof.mjs +31 -31
  181. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  182. package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
  183. package/functions/snarkjs/constructGeneralZkProof.mjs +75 -76
  184. package/functions/snarkjs/generateZkProof.cjs +1 -1
  185. package/functions/snarkjs/generateZkProof.d.ts +1 -1
  186. package/functions/snarkjs/generateZkProof.mjs +15 -4
  187. package/functions/utils/axelar.utils.cjs +1 -1
  188. package/functions/utils/axelar.utils.mjs +2 -3
  189. package/functions/utils/cacheDevice.utils.cjs +1 -1
  190. package/functions/utils/cacheDevice.utils.mjs +8 -9
  191. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  192. package/functions/utils/erc20tokenFunctions.mjs +7 -8
  193. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  194. package/functions/utils/evmNetworkFunctions.mjs +3 -4
  195. package/functions/utils/string.utils.cjs +1 -1
  196. package/functions/utils/string.utils.d.ts +1 -0
  197. package/functions/utils/string.utils.mjs +16 -6
  198. package/functions/utils/userAgent.cjs +1 -1
  199. package/functions/utils/userAgent.mjs +8 -8
  200. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  201. package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
  202. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  203. package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
  204. package/functions/web3/functionCalls/transactCallDirect.mjs +29 -43
  205. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  206. package/functions/web3/functionCalls/transactCallRelayer.mjs +8 -10
  207. package/functions/web3/odosAPI.cjs +1 -1
  208. package/functions/web3/odosAPI.d.ts +2 -1
  209. package/functions/web3/odosAPI.mjs +18 -19
  210. package/functions/web3/oneInchAPI.cjs +1 -1
  211. package/functions/web3/oneInchAPI.d.ts +2 -1
  212. package/functions/web3/oneInchAPI.mjs +15 -17
  213. package/functions/web3/uniswapAPI.cjs +1 -1
  214. package/functions/web3/uniswapAPI.d.ts +4 -4
  215. package/functions/web3/uniswapAPI.mjs +43 -54
  216. package/index.cjs +1 -1
  217. package/index.mjs +641 -617
  218. package/package.json +2 -3
  219. package/providers/EthersProviderAdapter.cjs +1 -1
  220. package/providers/EthersProviderAdapter.d.ts +0 -1
  221. package/providers/EthersProviderAdapter.mjs +37 -26
  222. package/providers/WagmiProviderAdapter.cjs +1 -1
  223. package/providers/WagmiProviderAdapter.d.ts +0 -1
  224. package/providers/WagmiProviderAdapter.mjs +56 -45
  225. package/providers/prepareEthersHinkal.cjs +1 -1
  226. package/providers/prepareEthersHinkal.mjs +2 -4
  227. package/providers/prepareWagmiHinkal.cjs +1 -1
  228. package/providers/prepareWagmiHinkal.mjs +2 -4
  229. package/types/ethereum-network.types.cjs +1 -1
  230. package/types/ethereum-network.types.d.ts +61 -62
  231. package/types/ethereum-network.types.mjs +1 -1
  232. package/types/hinkal.types.d.ts +0 -4
  233. package/types/kyc.types.cjs +1 -1
  234. package/types/kyc.types.d.ts +1 -1
  235. package/types/kyc.types.mjs +1 -1
  236. package/types/rewards.types.d.ts +0 -5
  237. package/types/time.types.cjs +1 -1
  238. package/types/time.types.mjs +1 -1
  239. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  240. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  241. package/constants/token-data/index.cjs +0 -1
  242. package/constants/token-data/index.mjs +0 -34
  243. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +0 -1
  244. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +0 -3
  245. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +0 -9
  246. package/externalABIs/index.cjs +0 -1
  247. package/externalABIs/index.mjs +0 -23
  248. package/functions/snarkjs/generateZkProofEnclave.cjs +0 -1
  249. package/functions/snarkjs/generateZkProofEnclave.d.ts +0 -5
  250. package/functions/snarkjs/generateZkProofEnclave.mjs +0 -33
  251. package/functions/snarkjs/generateZkProofSelf.cjs +0 -1
  252. package/functions/snarkjs/generateZkProofSelf.d.ts +0 -5
  253. package/functions/snarkjs/generateZkProofSelf.mjs +0 -17
  254. package/functions/web3/getContractMetadata.cjs +0 -1
  255. package/functions/web3/getContractMetadata.d.ts +0 -5
  256. package/functions/web3/getContractMetadata.mjs +0 -30
  257. package/types/remote-proof.types.d.ts +0 -15
@@ -3646,7 +3646,7 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
3646
3646
  stateMutability: "nonpayable",
3647
3647
  type: "function"
3648
3648
  }
3649
- ], p = "0xFD92297A7bBEc5a6284bbd724F70aDaD04122ea2", y = "0xd32d870d6797c86AFCdd15b6F5733636766e99F9", r = "0xe713d90490d65cD2FF0463EE9B3bb68EBC6fC706", u = "0xa45d0b6e7537a93ef1cd7135edca469a48f66269", d = "0x9434722bf29750B44649eb1b1A10a335d40edFc1", l = "0xc8e6ac3324d36ac667996FB5c89dC171d67450d9", o = [
3649
+ ], p = "0xFD92297A7bBEc5a6284bbd724F70aDaD04122ea2", r = "0xd32d870d6797c86AFCdd15b6F5733636766e99F9", y = "0xe713d90490d65cD2FF0463EE9B3bb68EBC6fC706", u = "0xa45d0b6e7537a93ef1cd7135edca469a48f66269", d = "0x9434722bf29750B44649eb1b1A10a335d40edFc1", l = "0xc8e6ac3324d36ac667996FB5c89dC171d67450d9", o = [
3650
3650
  {
3651
3651
  inputs: [
3652
3652
  {
@@ -7382,838 +7382,7 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
7382
7382
  stateMutability: "nonpayable",
7383
7383
  type: "function"
7384
7384
  }
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 = {
7385
+ ], g = "0x6d007d431175b32A308f7a001e62196aEa8e7693", H = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", C = {
8217
7386
  hinkalAddress: e,
8218
7387
  hinkalABI: t,
8219
7388
  hinkalHelperAddress: n,
@@ -8221,8 +7390,8 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
8221
7390
  crossChainAccessTokenAddress: i,
8222
7391
  crossChainAccessTokenABI: s,
8223
7392
  uniswapExternalActionAddress: p,
8224
- odosExternalActionInstanceAddress: y,
8225
- oneInchExternalActionInstanceAddress: r,
7393
+ odosExternalActionInstanceAddress: r,
7394
+ oneInchExternalActionInstanceAddress: y,
8226
7395
  beefyExternalActionInstanceAddress: u,
8227
7396
  curveExternalActionInstanceAddress: d,
8228
7397
  curveStakeExternalActionInstanceAddress: l,
@@ -8240,9 +7409,7 @@ const e = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", t = [
8240
7409
  hinkalWrapperAddress: h,
8241
7410
  HinkalWrapperABI: x,
8242
7411
  emporiumAddress: g,
8243
- hinkalWalletFactoryAddress: C,
8244
- crossChainAccessTokenManagerAddress: H,
8245
- crossChainAccessTokenManagerABI: S
7412
+ hinkalWalletFactoryAddress: H
8246
7413
  };
8247
7414
  export {
8248
7415
  f as BeefyExternalActionABI,
@@ -8255,21 +7422,19 @@ export {
8255
7422
  T as convexExternalActionInstanceAddress,
8256
7423
  s as crossChainAccessTokenABI,
8257
7424
  i as crossChainAccessTokenAddress,
8258
- S as crossChainAccessTokenManagerABI,
8259
- H as crossChainAccessTokenManagerAddress,
8260
7425
  o as curveExternalActionABI,
8261
7426
  d as curveExternalActionInstanceAddress,
8262
7427
  l as curveStakeExternalActionInstanceAddress,
8263
- O as default,
7428
+ C as default,
8264
7429
  g as emporiumAddress,
8265
7430
  t as hinkalABI,
8266
7431
  e as hinkalAddress,
8267
7432
  a as hinkalHelperABI,
8268
7433
  n as hinkalHelperAddress,
8269
- C as hinkalWalletFactoryAddress,
7434
+ H as hinkalWalletFactoryAddress,
8270
7435
  h as hinkalWrapperAddress,
8271
- y as odosExternalActionInstanceAddress,
8272
- r as oneInchExternalActionInstanceAddress,
7436
+ r as odosExternalActionInstanceAddress,
7437
+ y as oneInchExternalActionInstanceAddress,
8273
7438
  p as uniswapExternalActionAddress,
8274
7439
  k as volatileTokenActionInstanceAddress,
8275
7440
  v as volatileVaultInstanceAddress,