@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
@@ -4677,7 +4677,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
4677
4677
  stateMutability: "view",
4678
4678
  type: "function"
4679
4679
  }
4680
- ], M = [
4680
+ ], v = [
4681
4681
  {
4682
4682
  inputs: [
4683
4683
  {
@@ -5043,7 +5043,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
5043
5043
  stateMutability: "payable",
5044
5044
  type: "receive"
5045
5045
  }
5046
- ], v = [
5046
+ ], M = [
5047
5047
  {
5048
5048
  inputs: [
5049
5049
  {
@@ -6820,7 +6820,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
6820
6820
  stateMutability: "payable",
6821
6821
  type: "receive"
6822
6822
  }
6823
- ], g = [
6823
+ ], H = [
6824
6824
  {
6825
6825
  inputs: [
6826
6826
  {
@@ -7307,7 +7307,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
7307
7307
  stateMutability: "nonpayable",
7308
7308
  type: "function"
7309
7309
  }
7310
- ], H = "0x67371816CA9B39EC09E7A5dbCb5914097252a589", C = "0x6AA94C6d2911CB94AF515c26E79DfefbD2A24D47", I = [
7310
+ ], g = "0x67371816CA9B39EC09E7A5dbCb5914097252a589", C = "0x6AA94C6d2911CB94AF515c26E79DfefbD2A24D47", I = [
7311
7311
  {
7312
7312
  inputs: [
7313
7313
  {
@@ -11338,838 +11338,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
11338
11338
  stateMutability: "view",
11339
11339
  type: "function"
11340
11340
  }
11341
- ], L = "0x6d007d431175b32A308f7a001e62196aEa8e7693", z = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", K = "0x9E86294c272F0A68EE7b65161aBeC53C9F35b68c", U = [
11342
- {
11343
- inputs: [
11344
- {
11345
- internalType: "address",
11346
- name: "_accessToken",
11347
- type: "address"
11348
- },
11349
- {
11350
- internalType: "address",
11351
- name: "_hinkal",
11352
- type: "address"
11353
- }
11354
- ],
11355
- stateMutability: "nonpayable",
11356
- type: "constructor"
11357
- },
11358
- {
11359
- anonymous: !1,
11360
- inputs: [
11361
- {
11362
- indexed: !0,
11363
- internalType: "address",
11364
- name: "previousOwner",
11365
- type: "address"
11366
- },
11367
- {
11368
- indexed: !0,
11369
- internalType: "address",
11370
- name: "newOwner",
11371
- type: "address"
11372
- }
11373
- ],
11374
- name: "OwnershipTransferStarted",
11375
- type: "event"
11376
- },
11377
- {
11378
- anonymous: !1,
11379
- inputs: [
11380
- {
11381
- indexed: !0,
11382
- internalType: "address",
11383
- name: "previousOwner",
11384
- type: "address"
11385
- },
11386
- {
11387
- indexed: !0,
11388
- internalType: "address",
11389
- name: "newOwner",
11390
- type: "address"
11391
- }
11392
- ],
11393
- name: "OwnershipTransferred",
11394
- type: "event"
11395
- },
11396
- {
11397
- inputs: [],
11398
- name: "acceptOwnership",
11399
- outputs: [],
11400
- stateMutability: "nonpayable",
11401
- type: "function"
11402
- },
11403
- {
11404
- inputs: [],
11405
- name: "accessToken",
11406
- outputs: [
11407
- {
11408
- internalType: "contract IExtendedCrossChainAccessToken",
11409
- name: "",
11410
- type: "address"
11411
- }
11412
- ],
11413
- stateMutability: "view",
11414
- type: "function"
11415
- },
11416
- {
11417
- inputs: [],
11418
- name: "accessTokenAcceptOwnership",
11419
- outputs: [],
11420
- stateMutability: "nonpayable",
11421
- type: "function"
11422
- },
11423
- {
11424
- inputs: [
11425
- {
11426
- internalType: "address",
11427
- name: "newOwner",
11428
- type: "address"
11429
- }
11430
- ],
11431
- name: "accessTokenTransferOwnership",
11432
- outputs: [],
11433
- stateMutability: "nonpayable",
11434
- type: "function"
11435
- },
11436
- {
11437
- inputs: [
11438
- {
11439
- components: [
11440
- {
11441
- internalType: "uint8",
11442
- name: "v",
11443
- type: "uint8"
11444
- },
11445
- {
11446
- internalType: "bytes32",
11447
- name: "r",
11448
- type: "bytes32"
11449
- },
11450
- {
11451
- internalType: "bytes32",
11452
- name: "s",
11453
- type: "bytes32"
11454
- },
11455
- {
11456
- internalType: "uint256",
11457
- name: "accessKey",
11458
- type: "uint256"
11459
- },
11460
- {
11461
- internalType: "uint256",
11462
- name: "nonce",
11463
- type: "uint256"
11464
- }
11465
- ],
11466
- internalType: "struct SignatureData",
11467
- name: "signatureData",
11468
- type: "tuple"
11469
- }
11470
- ],
11471
- name: "addToken",
11472
- outputs: [],
11473
- stateMutability: "payable",
11474
- type: "function"
11475
- },
11476
- {
11477
- inputs: [
11478
- {
11479
- components: [
11480
- {
11481
- internalType: "uint8",
11482
- name: "v",
11483
- type: "uint8"
11484
- },
11485
- {
11486
- internalType: "bytes32",
11487
- name: "r",
11488
- type: "bytes32"
11489
- },
11490
- {
11491
- internalType: "bytes32",
11492
- name: "s",
11493
- type: "bytes32"
11494
- },
11495
- {
11496
- internalType: "uint256",
11497
- name: "accessKey",
11498
- type: "uint256"
11499
- },
11500
- {
11501
- internalType: "uint256",
11502
- name: "nonce",
11503
- type: "uint256"
11504
- }
11505
- ],
11506
- internalType: "struct SignatureData",
11507
- name: "signatureData",
11508
- type: "tuple"
11509
- },
11510
- {
11511
- internalType: "uint256[2]",
11512
- name: "a",
11513
- type: "uint256[2]"
11514
- },
11515
- {
11516
- internalType: "uint256[2][2]",
11517
- name: "b",
11518
- type: "uint256[2][2]"
11519
- },
11520
- {
11521
- internalType: "uint256[2]",
11522
- name: "c",
11523
- type: "uint256[2]"
11524
- },
11525
- {
11526
- components: [
11527
- {
11528
- internalType: "uint16",
11529
- name: "tokenNumber",
11530
- type: "uint16"
11531
- },
11532
- {
11533
- internalType: "uint16",
11534
- name: "nullifierAmount",
11535
- type: "uint16"
11536
- },
11537
- {
11538
- internalType: "uint16",
11539
- name: "outputAmount",
11540
- type: "uint16"
11541
- }
11542
- ],
11543
- internalType: "struct Dimensions",
11544
- name: "dimensions",
11545
- type: "tuple"
11546
- },
11547
- {
11548
- components: [
11549
- {
11550
- internalType: "uint256",
11551
- name: "rootHashHinkal",
11552
- type: "uint256"
11553
- },
11554
- {
11555
- internalType: "address[]",
11556
- name: "erc20TokenAddresses",
11557
- type: "address[]"
11558
- },
11559
- {
11560
- internalType: "uint256[]",
11561
- name: "tokenIds",
11562
- type: "uint256[]"
11563
- },
11564
- {
11565
- internalType: "int256[]",
11566
- name: "amountChanges",
11567
- type: "int256[]"
11568
- },
11569
- {
11570
- internalType: "uint256[][]",
11571
- name: "inputNullifiers",
11572
- type: "uint256[][]"
11573
- },
11574
- {
11575
- internalType: "uint256[][]",
11576
- name: "outCommitments",
11577
- type: "uint256[][]"
11578
- },
11579
- {
11580
- internalType: "bytes[][]",
11581
- name: "encryptedOutputs",
11582
- type: "bytes[][]"
11583
- },
11584
- {
11585
- internalType: "uint256[]",
11586
- name: "flatFees",
11587
- type: "uint256[]"
11588
- },
11589
- {
11590
- internalType: "uint256",
11591
- name: "timeStamp",
11592
- type: "uint256"
11593
- },
11594
- {
11595
- components: [
11596
- {
11597
- internalType: "uint256",
11598
- name: "extraRandomization",
11599
- type: "uint256"
11600
- },
11601
- {
11602
- internalType: "uint256",
11603
- name: "stealthAddress",
11604
- type: "uint256"
11605
- },
11606
- {
11607
- internalType: "uint256",
11608
- name: "H0",
11609
- type: "uint256"
11610
- },
11611
- {
11612
- internalType: "uint256",
11613
- name: "H1",
11614
- type: "uint256"
11615
- }
11616
- ],
11617
- internalType: "struct StealthAddressStructure",
11618
- name: "stealthAddressStructure",
11619
- type: "tuple"
11620
- },
11621
- {
11622
- internalType: "uint256",
11623
- name: "rootHashAccessToken",
11624
- type: "uint256"
11625
- },
11626
- {
11627
- internalType: "uint256",
11628
- name: "calldataHash",
11629
- type: "uint256"
11630
- },
11631
- {
11632
- internalType: "uint16",
11633
- name: "publicSignalCount",
11634
- type: "uint16"
11635
- },
11636
- {
11637
- internalType: "address",
11638
- name: "relay",
11639
- type: "address"
11640
- },
11641
- {
11642
- internalType: "address",
11643
- name: "externalAddress",
11644
- type: "address"
11645
- },
11646
- {
11647
- internalType: "uint256",
11648
- name: "externalActionId",
11649
- type: "uint256"
11650
- },
11651
- {
11652
- internalType: "bytes",
11653
- name: "externalActionMetadata",
11654
- type: "bytes"
11655
- },
11656
- {
11657
- components: [
11658
- {
11659
- internalType: "address",
11660
- name: "preHookContract",
11661
- type: "address"
11662
- },
11663
- {
11664
- internalType: "address",
11665
- name: "hookContract",
11666
- type: "address"
11667
- },
11668
- {
11669
- internalType: "bytes",
11670
- name: "preHookMetadata",
11671
- type: "bytes"
11672
- },
11673
- {
11674
- internalType: "bytes",
11675
- name: "postHookMetadata",
11676
- type: "bytes"
11677
- }
11678
- ],
11679
- internalType: "struct HookData",
11680
- name: "hookData",
11681
- type: "tuple"
11682
- }
11683
- ],
11684
- internalType: "struct CircomData",
11685
- name: "circomData",
11686
- type: "tuple"
11687
- }
11688
- ],
11689
- name: "addTokenAndTransact",
11690
- outputs: [],
11691
- stateMutability: "payable",
11692
- type: "function"
11693
- },
11694
- {
11695
- inputs: [
11696
- {
11697
- components: [
11698
- {
11699
- internalType: "uint8",
11700
- name: "v",
11701
- type: "uint8"
11702
- },
11703
- {
11704
- internalType: "bytes32",
11705
- name: "r",
11706
- type: "bytes32"
11707
- },
11708
- {
11709
- internalType: "bytes32",
11710
- name: "s",
11711
- type: "bytes32"
11712
- },
11713
- {
11714
- internalType: "uint256",
11715
- name: "accessKey",
11716
- type: "uint256"
11717
- },
11718
- {
11719
- internalType: "uint256",
11720
- name: "nonce",
11721
- type: "uint256"
11722
- }
11723
- ],
11724
- internalType: "struct SignatureData",
11725
- name: "signatureData",
11726
- type: "tuple"
11727
- },
11728
- {
11729
- components: [
11730
- {
11731
- components: [
11732
- {
11733
- internalType: "string",
11734
- name: "destinationChain",
11735
- type: "string"
11736
- },
11737
- {
11738
- internalType: "string",
11739
- name: "destinationAddress",
11740
- type: "string"
11741
- },
11742
- {
11743
- internalType: "uint256",
11744
- name: "messageFee",
11745
- type: "uint256"
11746
- }
11747
- ],
11748
- internalType: "struct AxelarChainInfo[]",
11749
- name: "chains",
11750
- type: "tuple[]"
11751
- },
11752
- {
11753
- internalType: "uint256",
11754
- name: "totalMessageFees",
11755
- type: "uint256"
11756
- }
11757
- ],
11758
- internalType: "struct AxelarCapsule",
11759
- name: "capsule",
11760
- type: "tuple"
11761
- }
11762
- ],
11763
- name: "addTokenCrossChain",
11764
- outputs: [],
11765
- stateMutability: "payable",
11766
- type: "function"
11767
- },
11768
- {
11769
- inputs: [
11770
- {
11771
- components: [
11772
- {
11773
- internalType: "uint256",
11774
- name: "accessToken",
11775
- type: "uint256"
11776
- },
11777
- {
11778
- internalType: "address",
11779
- name: "ethAddress",
11780
- type: "address"
11781
- }
11782
- ],
11783
- internalType: "struct AccessTokenWithAddress[]",
11784
- name: "accessObjects",
11785
- type: "tuple[]"
11786
- }
11787
- ],
11788
- name: "approveTokens",
11789
- outputs: [],
11790
- stateMutability: "nonpayable",
11791
- type: "function"
11792
- },
11793
- {
11794
- inputs: [
11795
- {
11796
- internalType: "uint256",
11797
- name: "accessKey",
11798
- type: "uint256"
11799
- },
11800
- {
11801
- internalType: "uint256",
11802
- name: "index",
11803
- type: "uint256"
11804
- }
11805
- ],
11806
- name: "blacklistAccessKey",
11807
- outputs: [],
11808
- stateMutability: "nonpayable",
11809
- type: "function"
11810
- },
11811
- {
11812
- inputs: [
11813
- {
11814
- internalType: "address",
11815
- name: "_address",
11816
- type: "address"
11817
- }
11818
- ],
11819
- name: "blacklistAddress",
11820
- outputs: [],
11821
- stateMutability: "nonpayable",
11822
- type: "function"
11823
- },
11824
- {
11825
- inputs: [
11826
- {
11827
- internalType: "uint256",
11828
- name: "rootHashAccessToken",
11829
- type: "uint256"
11830
- },
11831
- {
11832
- internalType: "address",
11833
- name: "sender",
11834
- type: "address"
11835
- }
11836
- ],
11837
- name: "checkForRootHash",
11838
- outputs: [
11839
- {
11840
- internalType: "bool",
11841
- name: "",
11842
- type: "bool"
11843
- }
11844
- ],
11845
- stateMutability: "view",
11846
- type: "function"
11847
- },
11848
- {
11849
- inputs: [
11850
- {
11851
- internalType: "uint256",
11852
- name: "leaf",
11853
- type: "uint256"
11854
- }
11855
- ],
11856
- name: "getAccessTokenRootHash",
11857
- outputs: [
11858
- {
11859
- internalType: "uint256",
11860
- name: "newRoot",
11861
- type: "uint256"
11862
- }
11863
- ],
11864
- stateMutability: "view",
11865
- type: "function"
11866
- },
11867
- {
11868
- inputs: [
11869
- {
11870
- internalType: "uint256",
11871
- name: "accessKey",
11872
- type: "uint256"
11873
- }
11874
- ],
11875
- name: "hasToken",
11876
- outputs: [
11877
- {
11878
- internalType: "bool",
11879
- name: "",
11880
- type: "bool"
11881
- }
11882
- ],
11883
- stateMutability: "view",
11884
- type: "function"
11885
- },
11886
- {
11887
- inputs: [],
11888
- name: "hinkal",
11889
- outputs: [
11890
- {
11891
- internalType: "address",
11892
- name: "",
11893
- type: "address"
11894
- }
11895
- ],
11896
- stateMutability: "view",
11897
- type: "function"
11898
- },
11899
- {
11900
- inputs: [],
11901
- name: "levels",
11902
- outputs: [
11903
- {
11904
- internalType: "uint128",
11905
- name: "",
11906
- type: "uint128"
11907
- }
11908
- ],
11909
- stateMutability: "view",
11910
- type: "function"
11911
- },
11912
- {
11913
- inputs: [
11914
- {
11915
- components: [
11916
- {
11917
- components: [
11918
- {
11919
- internalType: "string",
11920
- name: "destinationChain",
11921
- type: "string"
11922
- },
11923
- {
11924
- internalType: "string",
11925
- name: "destinationAddress",
11926
- type: "string"
11927
- },
11928
- {
11929
- internalType: "uint256",
11930
- name: "messageFee",
11931
- type: "uint256"
11932
- }
11933
- ],
11934
- internalType: "struct AxelarChainInfo[]",
11935
- name: "chains",
11936
- type: "tuple[]"
11937
- },
11938
- {
11939
- internalType: "uint256",
11940
- name: "totalMessageFees",
11941
- type: "uint256"
11942
- }
11943
- ],
11944
- internalType: "struct AxelarCapsule",
11945
- name: "capsule",
11946
- type: "tuple"
11947
- },
11948
- {
11949
- internalType: "uint256",
11950
- name: "accessKey",
11951
- type: "uint256"
11952
- }
11953
- ],
11954
- name: "migrateAccessToken",
11955
- outputs: [],
11956
- stateMutability: "payable",
11957
- type: "function"
11958
- },
11959
- {
11960
- inputs: [],
11961
- name: "minIndex",
11962
- outputs: [
11963
- {
11964
- internalType: "uint256",
11965
- name: "",
11966
- type: "uint256"
11967
- }
11968
- ],
11969
- stateMutability: "view",
11970
- type: "function"
11971
- },
11972
- {
11973
- inputs: [
11974
- {
11975
- internalType: "address",
11976
- name: "",
11977
- type: "address"
11978
- },
11979
- {
11980
- internalType: "address",
11981
- name: "",
11982
- type: "address"
11983
- },
11984
- {
11985
- internalType: "uint256",
11986
- name: "",
11987
- type: "uint256"
11988
- },
11989
- {
11990
- internalType: "bytes",
11991
- name: "",
11992
- type: "bytes"
11993
- }
11994
- ],
11995
- name: "onERC721Received",
11996
- outputs: [
11997
- {
11998
- internalType: "bytes4",
11999
- name: "",
12000
- type: "bytes4"
12001
- }
12002
- ],
12003
- stateMutability: "pure",
12004
- type: "function"
12005
- },
12006
- {
12007
- inputs: [],
12008
- name: "owner",
12009
- outputs: [
12010
- {
12011
- internalType: "address",
12012
- name: "",
12013
- type: "address"
12014
- }
12015
- ],
12016
- stateMutability: "view",
12017
- type: "function"
12018
- },
12019
- {
12020
- inputs: [],
12021
- name: "pendingOwner",
12022
- outputs: [
12023
- {
12024
- internalType: "address",
12025
- name: "",
12026
- type: "address"
12027
- }
12028
- ],
12029
- stateMutability: "view",
12030
- type: "function"
12031
- },
12032
- {
12033
- inputs: [
12034
- {
12035
- internalType: "address",
12036
- name: "sender",
12037
- type: "address"
12038
- }
12039
- ],
12040
- name: "registerCheck",
12041
- outputs: [],
12042
- stateMutability: "view",
12043
- type: "function"
12044
- },
12045
- {
12046
- inputs: [
12047
- {
12048
- internalType: "address",
12049
- name: "_address",
12050
- type: "address"
12051
- }
12052
- ],
12053
- name: "removeAddressFromBlacklist",
12054
- outputs: [],
12055
- stateMutability: "nonpayable",
12056
- type: "function"
12057
- },
12058
- {
12059
- inputs: [],
12060
- name: "renounceOwnership",
12061
- outputs: [],
12062
- stateMutability: "view",
12063
- type: "function"
12064
- },
12065
- {
12066
- inputs: [
12067
- {
12068
- internalType: "address",
12069
- name: "_accessToken",
12070
- type: "address"
12071
- }
12072
- ],
12073
- name: "setAccessToken",
12074
- outputs: [],
12075
- stateMutability: "nonpayable",
12076
- type: "function"
12077
- },
12078
- {
12079
- inputs: [
12080
- {
12081
- internalType: "address",
12082
- name: "_gasService",
12083
- type: "address"
12084
- }
12085
- ],
12086
- name: "setAxelarGasService",
12087
- outputs: [],
12088
- stateMutability: "nonpayable",
12089
- type: "function"
12090
- },
12091
- {
12092
- inputs: [
12093
- {
12094
- components: [
12095
- {
12096
- internalType: "string",
12097
- name: "sourceChain",
12098
- type: "string"
12099
- },
12100
- {
12101
- internalType: "address",
12102
- name: "sourceAddress",
12103
- type: "address"
12104
- }
12105
- ],
12106
- internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
12107
- name: "updates",
12108
- type: "tuple[]"
12109
- }
12110
- ],
12111
- name: "setCrossChainAccessTokenRegistry",
12112
- outputs: [],
12113
- stateMutability: "nonpayable",
12114
- type: "function"
12115
- },
12116
- {
12117
- inputs: [
12118
- {
12119
- internalType: "uint256",
12120
- name: "_mintingFee",
12121
- type: "uint256"
12122
- }
12123
- ],
12124
- name: "setMintingFee",
12125
- outputs: [],
12126
- stateMutability: "nonpayable",
12127
- type: "function"
12128
- },
12129
- {
12130
- inputs: [
12131
- {
12132
- internalType: "address",
12133
- name: "newOwner",
12134
- type: "address"
12135
- }
12136
- ],
12137
- name: "transferOwnership",
12138
- outputs: [],
12139
- stateMutability: "nonpayable",
12140
- type: "function"
12141
- },
12142
- {
12143
- inputs: [
12144
- {
12145
- internalType: "uint256",
12146
- name: "",
12147
- type: "uint256"
12148
- }
12149
- ],
12150
- name: "usedNonces",
12151
- outputs: [
12152
- {
12153
- internalType: "bool",
12154
- name: "",
12155
- type: "bool"
12156
- }
12157
- ],
12158
- stateMutability: "view",
12159
- type: "function"
12160
- },
12161
- {
12162
- inputs: [],
12163
- name: "withdraw",
12164
- outputs: [],
12165
- stateMutability: "payable",
12166
- type: "function"
12167
- },
12168
- {
12169
- stateMutability: "payable",
12170
- type: "receive"
12171
- }
12172
- ], G = {
11341
+ ], L = "0x6d007d431175b32A308f7a001e62196aEa8e7693", z = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", U = {
12173
11342
  hinkalAddress: e,
12174
11343
  hinkalABI: t,
12175
11344
  hinkalHelperAddress: n,
@@ -12189,14 +11358,14 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
12189
11358
  pendleExternalActionInstanceAddress: b,
12190
11359
  pendleExternalActionABI: f,
12191
11360
  WstYtTokenABI: A,
12192
- curveExternalActionABI: M,
12193
- wrappedStakedCurveLpABI: v,
11361
+ curveExternalActionABI: v,
11362
+ wrappedStakedCurveLpABI: M,
12194
11363
  convexExternalActionInstanceAddress: w,
12195
11364
  convexExternalActionABI: k,
12196
11365
  wrappedStakedConvexLpABI: h,
12197
11366
  BeefyExternalActionABI: x,
12198
- WrappedStakedBeefyLpABI: g,
12199
- hinkalWrapperAddress: H,
11367
+ WrappedStakedBeefyLpABI: H,
11368
+ hinkalWrapperAddress: g,
12200
11369
  hinkalWrapper2Address: C,
12201
11370
  HinkalWrapperABI: I,
12202
11371
  HinkalWrapper2ABI: S,
@@ -12212,9 +11381,7 @@ const e = "0x2ea81946fF675d5Eb88192144ffc1418fA442E28", t = [
12212
11381
  hETHOracleAddress: N,
12213
11382
  HTokenOracleABI: W,
12214
11383
  emporiumAddress: L,
12215
- hinkalWalletFactoryAddress: z,
12216
- crossChainAccessTokenManagerAddress: K,
12217
- crossChainAccessTokenManagerABI: U
11384
+ hinkalWalletFactoryAddress: z
12218
11385
  };
12219
11386
  export {
12220
11387
  x as BeefyExternalActionABI,
@@ -12225,7 +11392,7 @@ export {
12225
11392
  I as HinkalWrapperABI,
12226
11393
  D as VolatileTokenActionABI,
12227
11394
  R as VolatileVaultABI,
12228
- g as WrappedStakedBeefyLpABI,
11395
+ H as WrappedStakedBeefyLpABI,
12229
11396
  A as WstYtTokenABI,
12230
11397
  u as beefyExternalActionInstanceAddress,
12231
11398
  d as beefyStakeExternalActionInstanceAddress,
@@ -12233,13 +11400,11 @@ export {
12233
11400
  w as convexExternalActionInstanceAddress,
12234
11401
  s as crossChainAccessTokenABI,
12235
11402
  i as crossChainAccessTokenAddress,
12236
- U as crossChainAccessTokenManagerABI,
12237
- K as crossChainAccessTokenManagerAddress,
12238
- M as curveExternalActionABI,
11403
+ v as curveExternalActionABI,
12239
11404
  o as curveExternalActionDynamicInstanceAddress,
12240
11405
  l as curveExternalActionInstanceAddress,
12241
11406
  m as curveStakeExternalActionInstanceAddress,
12242
- G as default,
11407
+ U as default,
12243
11408
  L as emporiumAddress,
12244
11409
  N as hETHOracleAddress,
12245
11410
  t as hinkalABI,
@@ -12249,7 +11414,7 @@ export {
12249
11414
  F as hinkalStakeExternalActionAddress,
12250
11415
  z as hinkalWalletFactoryAddress,
12251
11416
  C as hinkalWrapper2Address,
12252
- H as hinkalWrapperAddress,
11417
+ g as hinkalWrapperAddress,
12253
11418
  T as lidoExternalActionEthAddress,
12254
11419
  c as lidoExternalActionMaticAddress,
12255
11420
  r as odosExternalActionInstanceAddress,
@@ -12262,5 +11427,5 @@ export {
12262
11427
  E as volatileTokenActionInstanceAddress,
12263
11428
  O as volatileVaultInstanceAddress,
12264
11429
  h as wrappedStakedConvexLpABI,
12265
- v as wrappedStakedCurveLpABI
11430
+ M as wrappedStakedCurveLpABI
12266
11431
  };