@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
@@ -6409,7 +6409,7 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
6409
6409
  stateMutability: "nonpayable",
6410
6410
  type: "function"
6411
6411
  }
6412
- ], h = [
6412
+ ], v = [
6413
6413
  {
6414
6414
  inputs: [
6415
6415
  {
@@ -6909,7 +6909,7 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
6909
6909
  stateMutability: "nonpayable",
6910
6910
  type: "function"
6911
6911
  }
6912
- ], v = [
6912
+ ], h = [
6913
6913
  {
6914
6914
  inputs: [
6915
6915
  {
@@ -7837,7 +7837,7 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
7837
7837
  stateMutability: "payable",
7838
7838
  type: "receive"
7839
7839
  }
7840
- ], g = "0xA4D233Da2a8aC86Ff0E47d9b601B24b67E9B239d", H = [
7840
+ ], H = "0xA4D233Da2a8aC86Ff0E47d9b601B24b67E9B239d", g = [
7841
7841
  {
7842
7842
  inputs: [
7843
7843
  {
@@ -8360,838 +8360,7 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
8360
8360
  stateMutability: "payable",
8361
8361
  type: "receive"
8362
8362
  }
8363
- ], O = "0x6d007d431175b32A308f7a001e62196aEa8e7693", I = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", R = "0xA7EFDCFff02A89050aAFfB931553E7838792F1FB", D = [
8364
- {
8365
- inputs: [
8366
- {
8367
- internalType: "address",
8368
- name: "_accessToken",
8369
- type: "address"
8370
- },
8371
- {
8372
- internalType: "address",
8373
- name: "_hinkal",
8374
- type: "address"
8375
- }
8376
- ],
8377
- stateMutability: "nonpayable",
8378
- type: "constructor"
8379
- },
8380
- {
8381
- anonymous: !1,
8382
- inputs: [
8383
- {
8384
- indexed: !0,
8385
- internalType: "address",
8386
- name: "previousOwner",
8387
- type: "address"
8388
- },
8389
- {
8390
- indexed: !0,
8391
- internalType: "address",
8392
- name: "newOwner",
8393
- type: "address"
8394
- }
8395
- ],
8396
- name: "OwnershipTransferStarted",
8397
- type: "event"
8398
- },
8399
- {
8400
- anonymous: !1,
8401
- inputs: [
8402
- {
8403
- indexed: !0,
8404
- internalType: "address",
8405
- name: "previousOwner",
8406
- type: "address"
8407
- },
8408
- {
8409
- indexed: !0,
8410
- internalType: "address",
8411
- name: "newOwner",
8412
- type: "address"
8413
- }
8414
- ],
8415
- name: "OwnershipTransferred",
8416
- type: "event"
8417
- },
8418
- {
8419
- inputs: [],
8420
- name: "acceptOwnership",
8421
- outputs: [],
8422
- stateMutability: "nonpayable",
8423
- type: "function"
8424
- },
8425
- {
8426
- inputs: [],
8427
- name: "accessToken",
8428
- outputs: [
8429
- {
8430
- internalType: "contract IExtendedCrossChainAccessToken",
8431
- name: "",
8432
- type: "address"
8433
- }
8434
- ],
8435
- stateMutability: "view",
8436
- type: "function"
8437
- },
8438
- {
8439
- inputs: [],
8440
- name: "accessTokenAcceptOwnership",
8441
- outputs: [],
8442
- stateMutability: "nonpayable",
8443
- type: "function"
8444
- },
8445
- {
8446
- inputs: [
8447
- {
8448
- internalType: "address",
8449
- name: "newOwner",
8450
- type: "address"
8451
- }
8452
- ],
8453
- name: "accessTokenTransferOwnership",
8454
- outputs: [],
8455
- stateMutability: "nonpayable",
8456
- type: "function"
8457
- },
8458
- {
8459
- inputs: [
8460
- {
8461
- components: [
8462
- {
8463
- internalType: "uint8",
8464
- name: "v",
8465
- type: "uint8"
8466
- },
8467
- {
8468
- internalType: "bytes32",
8469
- name: "r",
8470
- type: "bytes32"
8471
- },
8472
- {
8473
- internalType: "bytes32",
8474
- name: "s",
8475
- type: "bytes32"
8476
- },
8477
- {
8478
- internalType: "uint256",
8479
- name: "accessKey",
8480
- type: "uint256"
8481
- },
8482
- {
8483
- internalType: "uint256",
8484
- name: "nonce",
8485
- type: "uint256"
8486
- }
8487
- ],
8488
- internalType: "struct SignatureData",
8489
- name: "signatureData",
8490
- type: "tuple"
8491
- }
8492
- ],
8493
- name: "addToken",
8494
- outputs: [],
8495
- stateMutability: "payable",
8496
- type: "function"
8497
- },
8498
- {
8499
- inputs: [
8500
- {
8501
- components: [
8502
- {
8503
- internalType: "uint8",
8504
- name: "v",
8505
- type: "uint8"
8506
- },
8507
- {
8508
- internalType: "bytes32",
8509
- name: "r",
8510
- type: "bytes32"
8511
- },
8512
- {
8513
- internalType: "bytes32",
8514
- name: "s",
8515
- type: "bytes32"
8516
- },
8517
- {
8518
- internalType: "uint256",
8519
- name: "accessKey",
8520
- type: "uint256"
8521
- },
8522
- {
8523
- internalType: "uint256",
8524
- name: "nonce",
8525
- type: "uint256"
8526
- }
8527
- ],
8528
- internalType: "struct SignatureData",
8529
- name: "signatureData",
8530
- type: "tuple"
8531
- },
8532
- {
8533
- internalType: "uint256[2]",
8534
- name: "a",
8535
- type: "uint256[2]"
8536
- },
8537
- {
8538
- internalType: "uint256[2][2]",
8539
- name: "b",
8540
- type: "uint256[2][2]"
8541
- },
8542
- {
8543
- internalType: "uint256[2]",
8544
- name: "c",
8545
- type: "uint256[2]"
8546
- },
8547
- {
8548
- components: [
8549
- {
8550
- internalType: "uint16",
8551
- name: "tokenNumber",
8552
- type: "uint16"
8553
- },
8554
- {
8555
- internalType: "uint16",
8556
- name: "nullifierAmount",
8557
- type: "uint16"
8558
- },
8559
- {
8560
- internalType: "uint16",
8561
- name: "outputAmount",
8562
- type: "uint16"
8563
- }
8564
- ],
8565
- internalType: "struct Dimensions",
8566
- name: "dimensions",
8567
- type: "tuple"
8568
- },
8569
- {
8570
- components: [
8571
- {
8572
- internalType: "uint256",
8573
- name: "rootHashHinkal",
8574
- type: "uint256"
8575
- },
8576
- {
8577
- internalType: "address[]",
8578
- name: "erc20TokenAddresses",
8579
- type: "address[]"
8580
- },
8581
- {
8582
- internalType: "uint256[]",
8583
- name: "tokenIds",
8584
- type: "uint256[]"
8585
- },
8586
- {
8587
- internalType: "int256[]",
8588
- name: "amountChanges",
8589
- type: "int256[]"
8590
- },
8591
- {
8592
- internalType: "uint256[][]",
8593
- name: "inputNullifiers",
8594
- type: "uint256[][]"
8595
- },
8596
- {
8597
- internalType: "uint256[][]",
8598
- name: "outCommitments",
8599
- type: "uint256[][]"
8600
- },
8601
- {
8602
- internalType: "bytes[][]",
8603
- name: "encryptedOutputs",
8604
- type: "bytes[][]"
8605
- },
8606
- {
8607
- internalType: "uint256[]",
8608
- name: "flatFees",
8609
- type: "uint256[]"
8610
- },
8611
- {
8612
- internalType: "uint256",
8613
- name: "timeStamp",
8614
- type: "uint256"
8615
- },
8616
- {
8617
- components: [
8618
- {
8619
- internalType: "uint256",
8620
- name: "extraRandomization",
8621
- type: "uint256"
8622
- },
8623
- {
8624
- internalType: "uint256",
8625
- name: "stealthAddress",
8626
- type: "uint256"
8627
- },
8628
- {
8629
- internalType: "uint256",
8630
- name: "H0",
8631
- type: "uint256"
8632
- },
8633
- {
8634
- internalType: "uint256",
8635
- name: "H1",
8636
- type: "uint256"
8637
- }
8638
- ],
8639
- internalType: "struct StealthAddressStructure",
8640
- name: "stealthAddressStructure",
8641
- type: "tuple"
8642
- },
8643
- {
8644
- internalType: "uint256",
8645
- name: "rootHashAccessToken",
8646
- type: "uint256"
8647
- },
8648
- {
8649
- internalType: "uint256",
8650
- name: "calldataHash",
8651
- type: "uint256"
8652
- },
8653
- {
8654
- internalType: "uint16",
8655
- name: "publicSignalCount",
8656
- type: "uint16"
8657
- },
8658
- {
8659
- internalType: "address",
8660
- name: "relay",
8661
- type: "address"
8662
- },
8663
- {
8664
- internalType: "address",
8665
- name: "externalAddress",
8666
- type: "address"
8667
- },
8668
- {
8669
- internalType: "uint256",
8670
- name: "externalActionId",
8671
- type: "uint256"
8672
- },
8673
- {
8674
- internalType: "bytes",
8675
- name: "externalActionMetadata",
8676
- type: "bytes"
8677
- },
8678
- {
8679
- components: [
8680
- {
8681
- internalType: "address",
8682
- name: "preHookContract",
8683
- type: "address"
8684
- },
8685
- {
8686
- internalType: "address",
8687
- name: "hookContract",
8688
- type: "address"
8689
- },
8690
- {
8691
- internalType: "bytes",
8692
- name: "preHookMetadata",
8693
- type: "bytes"
8694
- },
8695
- {
8696
- internalType: "bytes",
8697
- name: "postHookMetadata",
8698
- type: "bytes"
8699
- }
8700
- ],
8701
- internalType: "struct HookData",
8702
- name: "hookData",
8703
- type: "tuple"
8704
- }
8705
- ],
8706
- internalType: "struct CircomData",
8707
- name: "circomData",
8708
- type: "tuple"
8709
- }
8710
- ],
8711
- name: "addTokenAndTransact",
8712
- outputs: [],
8713
- stateMutability: "payable",
8714
- type: "function"
8715
- },
8716
- {
8717
- inputs: [
8718
- {
8719
- components: [
8720
- {
8721
- internalType: "uint8",
8722
- name: "v",
8723
- type: "uint8"
8724
- },
8725
- {
8726
- internalType: "bytes32",
8727
- name: "r",
8728
- type: "bytes32"
8729
- },
8730
- {
8731
- internalType: "bytes32",
8732
- name: "s",
8733
- type: "bytes32"
8734
- },
8735
- {
8736
- internalType: "uint256",
8737
- name: "accessKey",
8738
- type: "uint256"
8739
- },
8740
- {
8741
- internalType: "uint256",
8742
- name: "nonce",
8743
- type: "uint256"
8744
- }
8745
- ],
8746
- internalType: "struct SignatureData",
8747
- name: "signatureData",
8748
- type: "tuple"
8749
- },
8750
- {
8751
- components: [
8752
- {
8753
- components: [
8754
- {
8755
- internalType: "string",
8756
- name: "destinationChain",
8757
- type: "string"
8758
- },
8759
- {
8760
- internalType: "string",
8761
- name: "destinationAddress",
8762
- type: "string"
8763
- },
8764
- {
8765
- internalType: "uint256",
8766
- name: "messageFee",
8767
- type: "uint256"
8768
- }
8769
- ],
8770
- internalType: "struct AxelarChainInfo[]",
8771
- name: "chains",
8772
- type: "tuple[]"
8773
- },
8774
- {
8775
- internalType: "uint256",
8776
- name: "totalMessageFees",
8777
- type: "uint256"
8778
- }
8779
- ],
8780
- internalType: "struct AxelarCapsule",
8781
- name: "capsule",
8782
- type: "tuple"
8783
- }
8784
- ],
8785
- name: "addTokenCrossChain",
8786
- outputs: [],
8787
- stateMutability: "payable",
8788
- type: "function"
8789
- },
8790
- {
8791
- inputs: [
8792
- {
8793
- components: [
8794
- {
8795
- internalType: "uint256",
8796
- name: "accessToken",
8797
- type: "uint256"
8798
- },
8799
- {
8800
- internalType: "address",
8801
- name: "ethAddress",
8802
- type: "address"
8803
- }
8804
- ],
8805
- internalType: "struct AccessTokenWithAddress[]",
8806
- name: "accessObjects",
8807
- type: "tuple[]"
8808
- }
8809
- ],
8810
- name: "approveTokens",
8811
- outputs: [],
8812
- stateMutability: "nonpayable",
8813
- type: "function"
8814
- },
8815
- {
8816
- inputs: [
8817
- {
8818
- internalType: "uint256",
8819
- name: "accessKey",
8820
- type: "uint256"
8821
- },
8822
- {
8823
- internalType: "uint256",
8824
- name: "index",
8825
- type: "uint256"
8826
- }
8827
- ],
8828
- name: "blacklistAccessKey",
8829
- outputs: [],
8830
- stateMutability: "nonpayable",
8831
- type: "function"
8832
- },
8833
- {
8834
- inputs: [
8835
- {
8836
- internalType: "address",
8837
- name: "_address",
8838
- type: "address"
8839
- }
8840
- ],
8841
- name: "blacklistAddress",
8842
- outputs: [],
8843
- stateMutability: "nonpayable",
8844
- type: "function"
8845
- },
8846
- {
8847
- inputs: [
8848
- {
8849
- internalType: "uint256",
8850
- name: "rootHashAccessToken",
8851
- type: "uint256"
8852
- },
8853
- {
8854
- internalType: "address",
8855
- name: "sender",
8856
- type: "address"
8857
- }
8858
- ],
8859
- name: "checkForRootHash",
8860
- outputs: [
8861
- {
8862
- internalType: "bool",
8863
- name: "",
8864
- type: "bool"
8865
- }
8866
- ],
8867
- stateMutability: "view",
8868
- type: "function"
8869
- },
8870
- {
8871
- inputs: [
8872
- {
8873
- internalType: "uint256",
8874
- name: "leaf",
8875
- type: "uint256"
8876
- }
8877
- ],
8878
- name: "getAccessTokenRootHash",
8879
- outputs: [
8880
- {
8881
- internalType: "uint256",
8882
- name: "newRoot",
8883
- type: "uint256"
8884
- }
8885
- ],
8886
- stateMutability: "view",
8887
- type: "function"
8888
- },
8889
- {
8890
- inputs: [
8891
- {
8892
- internalType: "uint256",
8893
- name: "accessKey",
8894
- type: "uint256"
8895
- }
8896
- ],
8897
- name: "hasToken",
8898
- outputs: [
8899
- {
8900
- internalType: "bool",
8901
- name: "",
8902
- type: "bool"
8903
- }
8904
- ],
8905
- stateMutability: "view",
8906
- type: "function"
8907
- },
8908
- {
8909
- inputs: [],
8910
- name: "hinkal",
8911
- outputs: [
8912
- {
8913
- internalType: "address",
8914
- name: "",
8915
- type: "address"
8916
- }
8917
- ],
8918
- stateMutability: "view",
8919
- type: "function"
8920
- },
8921
- {
8922
- inputs: [],
8923
- name: "levels",
8924
- outputs: [
8925
- {
8926
- internalType: "uint128",
8927
- name: "",
8928
- type: "uint128"
8929
- }
8930
- ],
8931
- stateMutability: "view",
8932
- type: "function"
8933
- },
8934
- {
8935
- inputs: [
8936
- {
8937
- components: [
8938
- {
8939
- components: [
8940
- {
8941
- internalType: "string",
8942
- name: "destinationChain",
8943
- type: "string"
8944
- },
8945
- {
8946
- internalType: "string",
8947
- name: "destinationAddress",
8948
- type: "string"
8949
- },
8950
- {
8951
- internalType: "uint256",
8952
- name: "messageFee",
8953
- type: "uint256"
8954
- }
8955
- ],
8956
- internalType: "struct AxelarChainInfo[]",
8957
- name: "chains",
8958
- type: "tuple[]"
8959
- },
8960
- {
8961
- internalType: "uint256",
8962
- name: "totalMessageFees",
8963
- type: "uint256"
8964
- }
8965
- ],
8966
- internalType: "struct AxelarCapsule",
8967
- name: "capsule",
8968
- type: "tuple"
8969
- },
8970
- {
8971
- internalType: "uint256",
8972
- name: "accessKey",
8973
- type: "uint256"
8974
- }
8975
- ],
8976
- name: "migrateAccessToken",
8977
- outputs: [],
8978
- stateMutability: "payable",
8979
- type: "function"
8980
- },
8981
- {
8982
- inputs: [],
8983
- name: "minIndex",
8984
- outputs: [
8985
- {
8986
- internalType: "uint256",
8987
- name: "",
8988
- type: "uint256"
8989
- }
8990
- ],
8991
- stateMutability: "view",
8992
- type: "function"
8993
- },
8994
- {
8995
- inputs: [
8996
- {
8997
- internalType: "address",
8998
- name: "",
8999
- type: "address"
9000
- },
9001
- {
9002
- internalType: "address",
9003
- name: "",
9004
- type: "address"
9005
- },
9006
- {
9007
- internalType: "uint256",
9008
- name: "",
9009
- type: "uint256"
9010
- },
9011
- {
9012
- internalType: "bytes",
9013
- name: "",
9014
- type: "bytes"
9015
- }
9016
- ],
9017
- name: "onERC721Received",
9018
- outputs: [
9019
- {
9020
- internalType: "bytes4",
9021
- name: "",
9022
- type: "bytes4"
9023
- }
9024
- ],
9025
- stateMutability: "pure",
9026
- type: "function"
9027
- },
9028
- {
9029
- inputs: [],
9030
- name: "owner",
9031
- outputs: [
9032
- {
9033
- internalType: "address",
9034
- name: "",
9035
- type: "address"
9036
- }
9037
- ],
9038
- stateMutability: "view",
9039
- type: "function"
9040
- },
9041
- {
9042
- inputs: [],
9043
- name: "pendingOwner",
9044
- outputs: [
9045
- {
9046
- internalType: "address",
9047
- name: "",
9048
- type: "address"
9049
- }
9050
- ],
9051
- stateMutability: "view",
9052
- type: "function"
9053
- },
9054
- {
9055
- inputs: [
9056
- {
9057
- internalType: "address",
9058
- name: "sender",
9059
- type: "address"
9060
- }
9061
- ],
9062
- name: "registerCheck",
9063
- outputs: [],
9064
- stateMutability: "view",
9065
- type: "function"
9066
- },
9067
- {
9068
- inputs: [
9069
- {
9070
- internalType: "address",
9071
- name: "_address",
9072
- type: "address"
9073
- }
9074
- ],
9075
- name: "removeAddressFromBlacklist",
9076
- outputs: [],
9077
- stateMutability: "nonpayable",
9078
- type: "function"
9079
- },
9080
- {
9081
- inputs: [],
9082
- name: "renounceOwnership",
9083
- outputs: [],
9084
- stateMutability: "view",
9085
- type: "function"
9086
- },
9087
- {
9088
- inputs: [
9089
- {
9090
- internalType: "address",
9091
- name: "_accessToken",
9092
- type: "address"
9093
- }
9094
- ],
9095
- name: "setAccessToken",
9096
- outputs: [],
9097
- stateMutability: "nonpayable",
9098
- type: "function"
9099
- },
9100
- {
9101
- inputs: [
9102
- {
9103
- internalType: "address",
9104
- name: "_gasService",
9105
- type: "address"
9106
- }
9107
- ],
9108
- name: "setAxelarGasService",
9109
- outputs: [],
9110
- stateMutability: "nonpayable",
9111
- type: "function"
9112
- },
9113
- {
9114
- inputs: [
9115
- {
9116
- components: [
9117
- {
9118
- internalType: "string",
9119
- name: "sourceChain",
9120
- type: "string"
9121
- },
9122
- {
9123
- internalType: "address",
9124
- name: "sourceAddress",
9125
- type: "address"
9126
- }
9127
- ],
9128
- internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
9129
- name: "updates",
9130
- type: "tuple[]"
9131
- }
9132
- ],
9133
- name: "setCrossChainAccessTokenRegistry",
9134
- outputs: [],
9135
- stateMutability: "nonpayable",
9136
- type: "function"
9137
- },
9138
- {
9139
- inputs: [
9140
- {
9141
- internalType: "uint256",
9142
- name: "_mintingFee",
9143
- type: "uint256"
9144
- }
9145
- ],
9146
- name: "setMintingFee",
9147
- outputs: [],
9148
- stateMutability: "nonpayable",
9149
- type: "function"
9150
- },
9151
- {
9152
- inputs: [
9153
- {
9154
- internalType: "address",
9155
- name: "newOwner",
9156
- type: "address"
9157
- }
9158
- ],
9159
- name: "transferOwnership",
9160
- outputs: [],
9161
- stateMutability: "nonpayable",
9162
- type: "function"
9163
- },
9164
- {
9165
- inputs: [
9166
- {
9167
- internalType: "uint256",
9168
- name: "",
9169
- type: "uint256"
9170
- }
9171
- ],
9172
- name: "usedNonces",
9173
- outputs: [
9174
- {
9175
- internalType: "bool",
9176
- name: "",
9177
- type: "bool"
9178
- }
9179
- ],
9180
- stateMutability: "view",
9181
- type: "function"
9182
- },
9183
- {
9184
- inputs: [],
9185
- name: "withdraw",
9186
- outputs: [],
9187
- stateMutability: "payable",
9188
- type: "function"
9189
- },
9190
- {
9191
- stateMutability: "payable",
9192
- type: "receive"
9193
- }
9194
- ], _ = {
8363
+ ], I = "0x6d007d431175b32A308f7a001e62196aEa8e7693", O = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", R = {
9195
8364
  hinkalAddress: e,
9196
8365
  hinkalABI: t,
9197
8366
  hinkalHelperAddress: n,
@@ -9213,49 +8382,45 @@ const e = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", t = [
9213
8382
  wrappedStakedConvexLpABI: A,
9214
8383
  BeefyExternalActionABI: k,
9215
8384
  BeefyStakeExternalActionABI: M,
9216
- WrappedStakedBeefyLpABI: h,
9217
- pendleExternalActionABI: v,
8385
+ WrappedStakedBeefyLpABI: v,
8386
+ pendleExternalActionABI: h,
9218
8387
  volatileTokenActionInstanceAddress: w,
9219
8388
  VolatileTokenActionABI: x,
9220
- hinkalWrapperAddress: g,
9221
- HinkalWrapperABI: H,
8389
+ hinkalWrapperAddress: H,
8390
+ HinkalWrapperABI: g,
9222
8391
  volatileVaultInstanceAddress: C,
9223
8392
  VolatileVaultABI: S,
9224
- emporiumAddress: O,
9225
- hinkalWalletFactoryAddress: I,
9226
- crossChainAccessTokenManagerAddress: R,
9227
- crossChainAccessTokenManagerABI: D
8393
+ emporiumAddress: I,
8394
+ hinkalWalletFactoryAddress: O
9228
8395
  };
9229
8396
  export {
9230
8397
  k as BeefyExternalActionABI,
9231
8398
  M as BeefyStakeExternalActionABI,
9232
- H as HinkalWrapperABI,
8399
+ g as HinkalWrapperABI,
9233
8400
  x as VolatileTokenActionABI,
9234
8401
  S as VolatileVaultABI,
9235
- h as WrappedStakedBeefyLpABI,
8402
+ v as WrappedStakedBeefyLpABI,
9236
8403
  u as beefyExternalActionInstanceAddress,
9237
8404
  d as beefyStakeExternalActionInstanceAddress,
9238
8405
  f as convexExternalActionABI,
9239
8406
  s as crossChainAccessTokenABI,
9240
8407
  i as crossChainAccessTokenAddress,
9241
- D as crossChainAccessTokenManagerABI,
9242
- R as crossChainAccessTokenManagerAddress,
9243
8408
  o as curveExternalActionABI,
9244
8409
  T as curveExternalActionDynamicABI,
9245
8410
  m as curveExternalActionDynamicInstanceAddress,
9246
8411
  l as curveExternalActionInstanceAddress,
9247
8412
  c as curveStakeExternalActionInstanceAddress,
9248
- _ as default,
9249
- O as emporiumAddress,
8413
+ R as default,
8414
+ I as emporiumAddress,
9250
8415
  t as hinkalABI,
9251
8416
  e as hinkalAddress,
9252
8417
  a as hinkalHelperABI,
9253
8418
  n as hinkalHelperAddress,
9254
- I as hinkalWalletFactoryAddress,
9255
- g as hinkalWrapperAddress,
8419
+ O as hinkalWalletFactoryAddress,
8420
+ H as hinkalWrapperAddress,
9256
8421
  r as odosExternalActionInstanceAddress,
9257
8422
  y as oneInchExternalActionInstanceAddress,
9258
- v as pendleExternalActionABI,
8423
+ h as pendleExternalActionABI,
9259
8424
  p as uniswapExternalActionAddress,
9260
8425
  w as volatileTokenActionInstanceAddress,
9261
8426
  C as volatileVaultInstanceAddress,