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