@hinkal/common 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +2 -2
  3. package/API/API.mjs +22 -22
  4. package/API/duneAPI.cjs +1 -1
  5. package/API/duneAPI.mjs +3 -2
  6. package/API/userVerifyTransactions.cjs +1 -1
  7. package/API/userVerifyTransactions.d.ts +6 -7
  8. package/API/userVerifyTransactions.mjs +13 -14
  9. package/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 +138 -134
  13. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  14. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
  15. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  16. package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
  17. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  18. package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
  19. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  20. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
  21. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  22. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
  23. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  24. package/constants/deploy-data/deploy-data-localhost.json.mjs +935 -100
  25. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  26. package/constants/deploy-data/deploy-data-optimism.json.mjs +844 -9
  27. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  28. package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
  29. package/constants/kyc.constants.cjs +1 -1
  30. package/constants/kyc.constants.mjs +30 -18
  31. package/constants/server.constants.cjs +1 -1
  32. package/constants/server.constants.d.ts +3 -2
  33. package/constants/server.constants.mjs +7 -6
  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 +4 -1
  38. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  39. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +4 -1
  40. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  41. package/constants/token-data/avalancheRegistry.json.mjs +4 -1
  42. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  43. package/constants/token-data/avalancheRegistryFixed.json.mjs +4 -1
  44. package/constants/token-data/baseRegistry.json.cjs +1 -1
  45. package/constants/token-data/baseRegistry.json.mjs +4 -1
  46. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  47. package/constants/token-data/baseRegistryFixed.json.mjs +4 -1
  48. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  49. package/constants/token-data/bnbMainnetRegistry.json.mjs +12 -9
  50. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  51. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +12 -9
  52. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  53. package/constants/token-data/ethMainnetRegistry.json.mjs +15 -12
  54. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  55. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +15 -12
  56. package/constants/token-data/index.cjs +1 -0
  57. package/constants/token-data/index.d.ts +972 -15
  58. package/constants/token-data/index.mjs +34 -0
  59. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  60. package/constants/token-data/localhostRegistry.json.mjs +15 -12
  61. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  62. package/constants/token-data/optimismRegistry.json.mjs +4 -1
  63. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  64. package/constants/token-data/optimismRegistryFixed.json.mjs +4 -1
  65. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  66. package/constants/token-data/polygonRegistry.json.mjs +4 -1
  67. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  68. package/constants/token-data/polygonRegistryFixed.json.mjs +4 -1
  69. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  70. package/data-structures/Hinkal/Hinkal.d.ts +2 -0
  71. package/data-structures/Hinkal/Hinkal.mjs +38 -32
  72. package/data-structures/Hinkal/IHinkal.d.ts +2 -0
  73. package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
  74. package/data-structures/Hinkal/hinkalActionBeefy.mjs +21 -20
  75. package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
  76. package/data-structures/Hinkal/hinkalActionConvex.mjs +13 -12
  77. package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
  78. package/data-structures/Hinkal/hinkalActionCurve.mjs +15 -14
  79. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
  80. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +17 -16
  81. package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
  82. package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
  83. package/data-structures/Hinkal/hinkalActionPendle.mjs +24 -23
  84. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
  85. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +21 -20
  86. package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
  87. package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
  88. package/data-structures/Hinkal/hinkalActionStake.mjs +6 -5
  89. package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
  90. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
  91. package/data-structures/Hinkal/hinkalActionVolatile.mjs +9 -8
  92. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  93. package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
  94. package/data-structures/Hinkal/hinkalDeposit.mjs +93 -54
  95. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  96. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +3 -2
  97. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  98. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +5 -4
  99. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  100. package/data-structures/Hinkal/hinkalSwap.mjs +23 -22
  101. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  102. package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
  103. package/data-structures/Hinkal/hinkalWithdraw.mjs +13 -12
  104. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  105. package/data-structures/merkle-tree/MerkleTree.d.ts +2 -0
  106. package/data-structures/merkle-tree/MerkleTree.mjs +38 -25
  107. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
  108. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
  109. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +9 -0
  110. package/data-structures/merkle-tree/index.d.ts +1 -0
  111. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  112. package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
  113. package/data-structures/transactions-manager/TransactionsManager.mjs +118 -111
  114. package/error-handling/error-codes.constants.cjs +1 -1
  115. package/error-handling/error-codes.constants.d.ts +4 -0
  116. package/error-handling/error-codes.constants.mjs +6 -2
  117. package/externalABIs/BabPassport.json.cjs +1 -1
  118. package/externalABIs/BabPassport.json.mjs +8 -3
  119. package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
  120. package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
  121. package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
  122. package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
  123. package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
  124. package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
  125. package/externalABIs/BeefyZapAbi.json.cjs +1 -1
  126. package/externalABIs/BeefyZapAbi.json.mjs +5 -2
  127. package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
  128. package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
  129. package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
  130. package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
  131. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
  132. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
  133. package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
  134. package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
  135. package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
  136. package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
  137. package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
  138. package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
  139. package/externalABIs/CurveZap.json.cjs +1 -1
  140. package/externalABIs/CurveZap.json.mjs +5 -2
  141. package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
  142. package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
  143. package/externalABIs/ERC20.json.cjs +1 -1
  144. package/externalABIs/ERC20.json.mjs +20 -3
  145. package/externalABIs/GalxePassport.json.cjs +1 -1
  146. package/externalABIs/GalxePassport.json.mjs +8 -3
  147. package/externalABIs/IQuoterV2.json.cjs +1 -1
  148. package/externalABIs/IQuoterV2.json.mjs +20 -3
  149. package/externalABIs/ISwapRouter.json.cjs +1 -1
  150. package/externalABIs/ISwapRouter.json.mjs +5 -2
  151. package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
  152. package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
  153. package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
  154. package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
  155. package/externalABIs/PendleRouterAbi.json.cjs +1 -1
  156. package/externalABIs/PendleRouterAbi.json.mjs +5 -2
  157. package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
  158. package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
  159. package/externalABIs/index.cjs +1 -0
  160. package/externalABIs/index.d.ts +307 -11
  161. package/externalABIs/index.mjs +23 -0
  162. package/externalABIs/transactionsProver.json.cjs +1 -1
  163. package/externalABIs/transactionsProver.json.mjs +20 -3
  164. package/functions/kyc/zkMeHelper.cjs +1 -1
  165. package/functions/kyc/zkMeHelper.d.ts +0 -1
  166. package/functions/kyc/zkMeHelper.mjs +8 -11
  167. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  168. package/functions/pre-transaction/process-gas-estimates.mjs +3 -2
  169. package/functions/private-wallet/opProducer.cjs +1 -1
  170. package/functions/private-wallet/opProducer.mjs +9 -10
  171. package/functions/protocols/convex.protocols.cjs +1 -1
  172. package/functions/protocols/convex.protocols.mjs +3 -2
  173. package/functions/protocols/pendle.helpers.cjs +1 -1
  174. package/functions/protocols/pendle.helpers.mjs +14 -13
  175. package/functions/snarkjs/constant.cjs +1 -1
  176. package/functions/snarkjs/constant.d.ts +1 -0
  177. package/functions/snarkjs/constant.mjs +6 -5
  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 +76 -75
  184. package/functions/snarkjs/generateZkProof.cjs +1 -1
  185. package/functions/snarkjs/generateZkProof.d.ts +1 -1
  186. package/functions/snarkjs/generateZkProof.mjs +4 -15
  187. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
  188. package/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
  189. package/functions/snarkjs/generateZkProofEnclave.mjs +33 -0
  190. package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
  191. package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
  192. package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
  193. package/functions/utils/axelar.utils.cjs +1 -1
  194. package/functions/utils/axelar.utils.mjs +3 -2
  195. package/functions/utils/cacheDevice.utils.cjs +1 -1
  196. package/functions/utils/cacheDevice.utils.mjs +9 -8
  197. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  198. package/functions/utils/erc20tokenFunctions.mjs +8 -7
  199. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  200. package/functions/utils/evmNetworkFunctions.mjs +4 -3
  201. package/functions/utils/userAgent.cjs +1 -1
  202. package/functions/utils/userAgent.mjs +8 -8
  203. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  204. package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
  205. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  206. package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
  207. package/functions/web3/functionCalls/transactCallDirect.mjs +43 -29
  208. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  209. package/functions/web3/functionCalls/transactCallRelayer.mjs +10 -8
  210. package/functions/web3/getContractMetadata.cjs +1 -0
  211. package/functions/web3/getContractMetadata.d.ts +5 -0
  212. package/functions/web3/getContractMetadata.mjs +30 -0
  213. package/functions/web3/odosAPI.cjs +1 -1
  214. package/functions/web3/odosAPI.d.ts +1 -2
  215. package/functions/web3/odosAPI.mjs +19 -18
  216. package/functions/web3/oneInchAPI.cjs +1 -1
  217. package/functions/web3/oneInchAPI.d.ts +1 -2
  218. package/functions/web3/oneInchAPI.mjs +17 -15
  219. package/functions/web3/uniswapAPI.cjs +1 -1
  220. package/functions/web3/uniswapAPI.d.ts +4 -4
  221. package/functions/web3/uniswapAPI.mjs +54 -43
  222. package/index.cjs +1 -1
  223. package/index.mjs +617 -638
  224. package/package.json +3 -2
  225. package/providers/EthersProviderAdapter.cjs +1 -1
  226. package/providers/EthersProviderAdapter.d.ts +1 -0
  227. package/providers/EthersProviderAdapter.mjs +26 -37
  228. package/providers/WagmiProviderAdapter.cjs +1 -1
  229. package/providers/WagmiProviderAdapter.d.ts +1 -0
  230. package/providers/WagmiProviderAdapter.mjs +45 -56
  231. package/providers/prepareEthersHinkal.cjs +1 -1
  232. package/providers/prepareEthersHinkal.mjs +4 -2
  233. package/providers/prepareWagmiHinkal.cjs +1 -1
  234. package/providers/prepareWagmiHinkal.mjs +4 -2
  235. package/types/ethereum-network.types.cjs +1 -1
  236. package/types/ethereum-network.types.d.ts +62 -59
  237. package/types/ethereum-network.types.mjs +1 -1
  238. package/types/hinkal.types.d.ts +4 -0
  239. package/types/kyc.types.cjs +1 -1
  240. package/types/kyc.types.d.ts +1 -1
  241. package/types/kyc.types.mjs +1 -1
  242. package/types/remote-proof.types.d.ts +15 -0
  243. package/types/rewards.types.d.ts +5 -0
  244. package/types/time.types.cjs +1 -1
  245. package/types/time.types.mjs +1 -1
  246. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  247. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
@@ -3620,7 +3620,7 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
3620
3620
  stateMutability: "nonpayable",
3621
3621
  type: "function"
3622
3622
  }
3623
- ], p = "0x2f954C479Af2E2DD2a787d8595d9d8B6aA814c92", r = "0xdC0Cba0Dc86889849C1Dd3464a725702EfFC7143", y = "0x9107d8e9dE5DC7229f35B505eDA0eb1734677fA0", u = "0xaCC1FEEF3Cde9b144A016D072241c060462126Bf", d = [
3623
+ ], p = "0x2f954C479Af2E2DD2a787d8595d9d8B6aA814c92", y = "0xdC0Cba0Dc86889849C1Dd3464a725702EfFC7143", r = "0x9107d8e9dE5DC7229f35B505eDA0eb1734677fA0", u = "0xaCC1FEEF3Cde9b144A016D072241c060462126Bf", l = [
3624
3624
  {
3625
3625
  inputs: [
3626
3626
  {
@@ -3986,7 +3986,7 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
3986
3986
  stateMutability: "payable",
3987
3987
  type: "receive"
3988
3988
  }
3989
- ], l = [
3989
+ ], d = [
3990
3990
  {
3991
3991
  inputs: [
3992
3992
  {
@@ -6615,7 +6615,7 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
6615
6615
  stateMutability: "payable",
6616
6616
  type: "receive"
6617
6617
  }
6618
- ], v = "0xf4A61B649D1cEAa682c3fafd4b71dF30E88FEd1A", h = [
6618
+ ], h = "0xf4A61B649D1cEAa682c3fafd4b71dF30E88FEd1A", M = [
6619
6619
  {
6620
6620
  inputs: [
6621
6621
  {
@@ -6826,7 +6826,838 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
6826
6826
  stateMutability: "nonpayable",
6827
6827
  type: "function"
6828
6828
  }
6829
- ], M = "0x6d007d431175b32A308f7a001e62196aEa8e7693", w = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", x = {
6829
+ ], v = "0x6d007d431175b32A308f7a001e62196aEa8e7693", w = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", x = "0x0Eb6e6c9434dE2F506f0858615B970784d534c4b", g = [
6830
+ {
6831
+ inputs: [
6832
+ {
6833
+ internalType: "address",
6834
+ name: "_accessToken",
6835
+ type: "address"
6836
+ },
6837
+ {
6838
+ internalType: "address",
6839
+ name: "_hinkal",
6840
+ type: "address"
6841
+ }
6842
+ ],
6843
+ stateMutability: "nonpayable",
6844
+ type: "constructor"
6845
+ },
6846
+ {
6847
+ anonymous: !1,
6848
+ inputs: [
6849
+ {
6850
+ indexed: !0,
6851
+ internalType: "address",
6852
+ name: "previousOwner",
6853
+ type: "address"
6854
+ },
6855
+ {
6856
+ indexed: !0,
6857
+ internalType: "address",
6858
+ name: "newOwner",
6859
+ type: "address"
6860
+ }
6861
+ ],
6862
+ name: "OwnershipTransferStarted",
6863
+ type: "event"
6864
+ },
6865
+ {
6866
+ anonymous: !1,
6867
+ inputs: [
6868
+ {
6869
+ indexed: !0,
6870
+ internalType: "address",
6871
+ name: "previousOwner",
6872
+ type: "address"
6873
+ },
6874
+ {
6875
+ indexed: !0,
6876
+ internalType: "address",
6877
+ name: "newOwner",
6878
+ type: "address"
6879
+ }
6880
+ ],
6881
+ name: "OwnershipTransferred",
6882
+ type: "event"
6883
+ },
6884
+ {
6885
+ inputs: [],
6886
+ name: "acceptOwnership",
6887
+ outputs: [],
6888
+ stateMutability: "nonpayable",
6889
+ type: "function"
6890
+ },
6891
+ {
6892
+ inputs: [],
6893
+ name: "accessToken",
6894
+ outputs: [
6895
+ {
6896
+ internalType: "contract IExtendedCrossChainAccessToken",
6897
+ name: "",
6898
+ type: "address"
6899
+ }
6900
+ ],
6901
+ stateMutability: "view",
6902
+ type: "function"
6903
+ },
6904
+ {
6905
+ inputs: [],
6906
+ name: "accessTokenAcceptOwnership",
6907
+ outputs: [],
6908
+ stateMutability: "nonpayable",
6909
+ type: "function"
6910
+ },
6911
+ {
6912
+ inputs: [
6913
+ {
6914
+ internalType: "address",
6915
+ name: "newOwner",
6916
+ type: "address"
6917
+ }
6918
+ ],
6919
+ name: "accessTokenTransferOwnership",
6920
+ outputs: [],
6921
+ stateMutability: "nonpayable",
6922
+ type: "function"
6923
+ },
6924
+ {
6925
+ inputs: [
6926
+ {
6927
+ components: [
6928
+ {
6929
+ internalType: "uint8",
6930
+ name: "v",
6931
+ type: "uint8"
6932
+ },
6933
+ {
6934
+ internalType: "bytes32",
6935
+ name: "r",
6936
+ type: "bytes32"
6937
+ },
6938
+ {
6939
+ internalType: "bytes32",
6940
+ name: "s",
6941
+ type: "bytes32"
6942
+ },
6943
+ {
6944
+ internalType: "uint256",
6945
+ name: "accessKey",
6946
+ type: "uint256"
6947
+ },
6948
+ {
6949
+ internalType: "uint256",
6950
+ name: "nonce",
6951
+ type: "uint256"
6952
+ }
6953
+ ],
6954
+ internalType: "struct SignatureData",
6955
+ name: "signatureData",
6956
+ type: "tuple"
6957
+ }
6958
+ ],
6959
+ name: "addToken",
6960
+ outputs: [],
6961
+ stateMutability: "payable",
6962
+ type: "function"
6963
+ },
6964
+ {
6965
+ inputs: [
6966
+ {
6967
+ components: [
6968
+ {
6969
+ internalType: "uint8",
6970
+ name: "v",
6971
+ type: "uint8"
6972
+ },
6973
+ {
6974
+ internalType: "bytes32",
6975
+ name: "r",
6976
+ type: "bytes32"
6977
+ },
6978
+ {
6979
+ internalType: "bytes32",
6980
+ name: "s",
6981
+ type: "bytes32"
6982
+ },
6983
+ {
6984
+ internalType: "uint256",
6985
+ name: "accessKey",
6986
+ type: "uint256"
6987
+ },
6988
+ {
6989
+ internalType: "uint256",
6990
+ name: "nonce",
6991
+ type: "uint256"
6992
+ }
6993
+ ],
6994
+ internalType: "struct SignatureData",
6995
+ name: "signatureData",
6996
+ type: "tuple"
6997
+ },
6998
+ {
6999
+ internalType: "uint256[2]",
7000
+ name: "a",
7001
+ type: "uint256[2]"
7002
+ },
7003
+ {
7004
+ internalType: "uint256[2][2]",
7005
+ name: "b",
7006
+ type: "uint256[2][2]"
7007
+ },
7008
+ {
7009
+ internalType: "uint256[2]",
7010
+ name: "c",
7011
+ type: "uint256[2]"
7012
+ },
7013
+ {
7014
+ components: [
7015
+ {
7016
+ internalType: "uint16",
7017
+ name: "tokenNumber",
7018
+ type: "uint16"
7019
+ },
7020
+ {
7021
+ internalType: "uint16",
7022
+ name: "nullifierAmount",
7023
+ type: "uint16"
7024
+ },
7025
+ {
7026
+ internalType: "uint16",
7027
+ name: "outputAmount",
7028
+ type: "uint16"
7029
+ }
7030
+ ],
7031
+ internalType: "struct Dimensions",
7032
+ name: "dimensions",
7033
+ type: "tuple"
7034
+ },
7035
+ {
7036
+ components: [
7037
+ {
7038
+ internalType: "uint256",
7039
+ name: "rootHashHinkal",
7040
+ type: "uint256"
7041
+ },
7042
+ {
7043
+ internalType: "address[]",
7044
+ name: "erc20TokenAddresses",
7045
+ type: "address[]"
7046
+ },
7047
+ {
7048
+ internalType: "uint256[]",
7049
+ name: "tokenIds",
7050
+ type: "uint256[]"
7051
+ },
7052
+ {
7053
+ internalType: "int256[]",
7054
+ name: "amountChanges",
7055
+ type: "int256[]"
7056
+ },
7057
+ {
7058
+ internalType: "uint256[][]",
7059
+ name: "inputNullifiers",
7060
+ type: "uint256[][]"
7061
+ },
7062
+ {
7063
+ internalType: "uint256[][]",
7064
+ name: "outCommitments",
7065
+ type: "uint256[][]"
7066
+ },
7067
+ {
7068
+ internalType: "bytes[][]",
7069
+ name: "encryptedOutputs",
7070
+ type: "bytes[][]"
7071
+ },
7072
+ {
7073
+ internalType: "uint256[]",
7074
+ name: "flatFees",
7075
+ type: "uint256[]"
7076
+ },
7077
+ {
7078
+ internalType: "uint256",
7079
+ name: "timeStamp",
7080
+ type: "uint256"
7081
+ },
7082
+ {
7083
+ components: [
7084
+ {
7085
+ internalType: "uint256",
7086
+ name: "extraRandomization",
7087
+ type: "uint256"
7088
+ },
7089
+ {
7090
+ internalType: "uint256",
7091
+ name: "stealthAddress",
7092
+ type: "uint256"
7093
+ },
7094
+ {
7095
+ internalType: "uint256",
7096
+ name: "H0",
7097
+ type: "uint256"
7098
+ },
7099
+ {
7100
+ internalType: "uint256",
7101
+ name: "H1",
7102
+ type: "uint256"
7103
+ }
7104
+ ],
7105
+ internalType: "struct StealthAddressStructure",
7106
+ name: "stealthAddressStructure",
7107
+ type: "tuple"
7108
+ },
7109
+ {
7110
+ internalType: "uint256",
7111
+ name: "rootHashAccessToken",
7112
+ type: "uint256"
7113
+ },
7114
+ {
7115
+ internalType: "uint256",
7116
+ name: "calldataHash",
7117
+ type: "uint256"
7118
+ },
7119
+ {
7120
+ internalType: "uint16",
7121
+ name: "publicSignalCount",
7122
+ type: "uint16"
7123
+ },
7124
+ {
7125
+ internalType: "address",
7126
+ name: "relay",
7127
+ type: "address"
7128
+ },
7129
+ {
7130
+ internalType: "address",
7131
+ name: "externalAddress",
7132
+ type: "address"
7133
+ },
7134
+ {
7135
+ internalType: "uint256",
7136
+ name: "externalActionId",
7137
+ type: "uint256"
7138
+ },
7139
+ {
7140
+ internalType: "bytes",
7141
+ name: "externalActionMetadata",
7142
+ type: "bytes"
7143
+ },
7144
+ {
7145
+ components: [
7146
+ {
7147
+ internalType: "address",
7148
+ name: "preHookContract",
7149
+ type: "address"
7150
+ },
7151
+ {
7152
+ internalType: "address",
7153
+ name: "hookContract",
7154
+ type: "address"
7155
+ },
7156
+ {
7157
+ internalType: "bytes",
7158
+ name: "preHookMetadata",
7159
+ type: "bytes"
7160
+ },
7161
+ {
7162
+ internalType: "bytes",
7163
+ name: "postHookMetadata",
7164
+ type: "bytes"
7165
+ }
7166
+ ],
7167
+ internalType: "struct HookData",
7168
+ name: "hookData",
7169
+ type: "tuple"
7170
+ }
7171
+ ],
7172
+ internalType: "struct CircomData",
7173
+ name: "circomData",
7174
+ type: "tuple"
7175
+ }
7176
+ ],
7177
+ name: "addTokenAndTransact",
7178
+ outputs: [],
7179
+ stateMutability: "payable",
7180
+ type: "function"
7181
+ },
7182
+ {
7183
+ inputs: [
7184
+ {
7185
+ components: [
7186
+ {
7187
+ internalType: "uint8",
7188
+ name: "v",
7189
+ type: "uint8"
7190
+ },
7191
+ {
7192
+ internalType: "bytes32",
7193
+ name: "r",
7194
+ type: "bytes32"
7195
+ },
7196
+ {
7197
+ internalType: "bytes32",
7198
+ name: "s",
7199
+ type: "bytes32"
7200
+ },
7201
+ {
7202
+ internalType: "uint256",
7203
+ name: "accessKey",
7204
+ type: "uint256"
7205
+ },
7206
+ {
7207
+ internalType: "uint256",
7208
+ name: "nonce",
7209
+ type: "uint256"
7210
+ }
7211
+ ],
7212
+ internalType: "struct SignatureData",
7213
+ name: "signatureData",
7214
+ type: "tuple"
7215
+ },
7216
+ {
7217
+ components: [
7218
+ {
7219
+ components: [
7220
+ {
7221
+ internalType: "string",
7222
+ name: "destinationChain",
7223
+ type: "string"
7224
+ },
7225
+ {
7226
+ internalType: "string",
7227
+ name: "destinationAddress",
7228
+ type: "string"
7229
+ },
7230
+ {
7231
+ internalType: "uint256",
7232
+ name: "messageFee",
7233
+ type: "uint256"
7234
+ }
7235
+ ],
7236
+ internalType: "struct AxelarChainInfo[]",
7237
+ name: "chains",
7238
+ type: "tuple[]"
7239
+ },
7240
+ {
7241
+ internalType: "uint256",
7242
+ name: "totalMessageFees",
7243
+ type: "uint256"
7244
+ }
7245
+ ],
7246
+ internalType: "struct AxelarCapsule",
7247
+ name: "capsule",
7248
+ type: "tuple"
7249
+ }
7250
+ ],
7251
+ name: "addTokenCrossChain",
7252
+ outputs: [],
7253
+ stateMutability: "payable",
7254
+ type: "function"
7255
+ },
7256
+ {
7257
+ inputs: [
7258
+ {
7259
+ components: [
7260
+ {
7261
+ internalType: "uint256",
7262
+ name: "accessToken",
7263
+ type: "uint256"
7264
+ },
7265
+ {
7266
+ internalType: "address",
7267
+ name: "ethAddress",
7268
+ type: "address"
7269
+ }
7270
+ ],
7271
+ internalType: "struct AccessTokenWithAddress[]",
7272
+ name: "accessObjects",
7273
+ type: "tuple[]"
7274
+ }
7275
+ ],
7276
+ name: "approveTokens",
7277
+ outputs: [],
7278
+ stateMutability: "nonpayable",
7279
+ type: "function"
7280
+ },
7281
+ {
7282
+ inputs: [
7283
+ {
7284
+ internalType: "uint256",
7285
+ name: "accessKey",
7286
+ type: "uint256"
7287
+ },
7288
+ {
7289
+ internalType: "uint256",
7290
+ name: "index",
7291
+ type: "uint256"
7292
+ }
7293
+ ],
7294
+ name: "blacklistAccessKey",
7295
+ outputs: [],
7296
+ stateMutability: "nonpayable",
7297
+ type: "function"
7298
+ },
7299
+ {
7300
+ inputs: [
7301
+ {
7302
+ internalType: "address",
7303
+ name: "_address",
7304
+ type: "address"
7305
+ }
7306
+ ],
7307
+ name: "blacklistAddress",
7308
+ outputs: [],
7309
+ stateMutability: "nonpayable",
7310
+ type: "function"
7311
+ },
7312
+ {
7313
+ inputs: [
7314
+ {
7315
+ internalType: "uint256",
7316
+ name: "rootHashAccessToken",
7317
+ type: "uint256"
7318
+ },
7319
+ {
7320
+ internalType: "address",
7321
+ name: "sender",
7322
+ type: "address"
7323
+ }
7324
+ ],
7325
+ name: "checkForRootHash",
7326
+ outputs: [
7327
+ {
7328
+ internalType: "bool",
7329
+ name: "",
7330
+ type: "bool"
7331
+ }
7332
+ ],
7333
+ stateMutability: "view",
7334
+ type: "function"
7335
+ },
7336
+ {
7337
+ inputs: [
7338
+ {
7339
+ internalType: "uint256",
7340
+ name: "leaf",
7341
+ type: "uint256"
7342
+ }
7343
+ ],
7344
+ name: "getAccessTokenRootHash",
7345
+ outputs: [
7346
+ {
7347
+ internalType: "uint256",
7348
+ name: "newRoot",
7349
+ type: "uint256"
7350
+ }
7351
+ ],
7352
+ stateMutability: "view",
7353
+ type: "function"
7354
+ },
7355
+ {
7356
+ inputs: [
7357
+ {
7358
+ internalType: "uint256",
7359
+ name: "accessKey",
7360
+ type: "uint256"
7361
+ }
7362
+ ],
7363
+ name: "hasToken",
7364
+ outputs: [
7365
+ {
7366
+ internalType: "bool",
7367
+ name: "",
7368
+ type: "bool"
7369
+ }
7370
+ ],
7371
+ stateMutability: "view",
7372
+ type: "function"
7373
+ },
7374
+ {
7375
+ inputs: [],
7376
+ name: "hinkal",
7377
+ outputs: [
7378
+ {
7379
+ internalType: "address",
7380
+ name: "",
7381
+ type: "address"
7382
+ }
7383
+ ],
7384
+ stateMutability: "view",
7385
+ type: "function"
7386
+ },
7387
+ {
7388
+ inputs: [],
7389
+ name: "levels",
7390
+ outputs: [
7391
+ {
7392
+ internalType: "uint128",
7393
+ name: "",
7394
+ type: "uint128"
7395
+ }
7396
+ ],
7397
+ stateMutability: "view",
7398
+ type: "function"
7399
+ },
7400
+ {
7401
+ inputs: [
7402
+ {
7403
+ components: [
7404
+ {
7405
+ components: [
7406
+ {
7407
+ internalType: "string",
7408
+ name: "destinationChain",
7409
+ type: "string"
7410
+ },
7411
+ {
7412
+ internalType: "string",
7413
+ name: "destinationAddress",
7414
+ type: "string"
7415
+ },
7416
+ {
7417
+ internalType: "uint256",
7418
+ name: "messageFee",
7419
+ type: "uint256"
7420
+ }
7421
+ ],
7422
+ internalType: "struct AxelarChainInfo[]",
7423
+ name: "chains",
7424
+ type: "tuple[]"
7425
+ },
7426
+ {
7427
+ internalType: "uint256",
7428
+ name: "totalMessageFees",
7429
+ type: "uint256"
7430
+ }
7431
+ ],
7432
+ internalType: "struct AxelarCapsule",
7433
+ name: "capsule",
7434
+ type: "tuple"
7435
+ },
7436
+ {
7437
+ internalType: "uint256",
7438
+ name: "accessKey",
7439
+ type: "uint256"
7440
+ }
7441
+ ],
7442
+ name: "migrateAccessToken",
7443
+ outputs: [],
7444
+ stateMutability: "payable",
7445
+ type: "function"
7446
+ },
7447
+ {
7448
+ inputs: [],
7449
+ name: "minIndex",
7450
+ outputs: [
7451
+ {
7452
+ internalType: "uint256",
7453
+ name: "",
7454
+ type: "uint256"
7455
+ }
7456
+ ],
7457
+ stateMutability: "view",
7458
+ type: "function"
7459
+ },
7460
+ {
7461
+ inputs: [
7462
+ {
7463
+ internalType: "address",
7464
+ name: "",
7465
+ type: "address"
7466
+ },
7467
+ {
7468
+ internalType: "address",
7469
+ name: "",
7470
+ type: "address"
7471
+ },
7472
+ {
7473
+ internalType: "uint256",
7474
+ name: "",
7475
+ type: "uint256"
7476
+ },
7477
+ {
7478
+ internalType: "bytes",
7479
+ name: "",
7480
+ type: "bytes"
7481
+ }
7482
+ ],
7483
+ name: "onERC721Received",
7484
+ outputs: [
7485
+ {
7486
+ internalType: "bytes4",
7487
+ name: "",
7488
+ type: "bytes4"
7489
+ }
7490
+ ],
7491
+ stateMutability: "pure",
7492
+ type: "function"
7493
+ },
7494
+ {
7495
+ inputs: [],
7496
+ name: "owner",
7497
+ outputs: [
7498
+ {
7499
+ internalType: "address",
7500
+ name: "",
7501
+ type: "address"
7502
+ }
7503
+ ],
7504
+ stateMutability: "view",
7505
+ type: "function"
7506
+ },
7507
+ {
7508
+ inputs: [],
7509
+ name: "pendingOwner",
7510
+ outputs: [
7511
+ {
7512
+ internalType: "address",
7513
+ name: "",
7514
+ type: "address"
7515
+ }
7516
+ ],
7517
+ stateMutability: "view",
7518
+ type: "function"
7519
+ },
7520
+ {
7521
+ inputs: [
7522
+ {
7523
+ internalType: "address",
7524
+ name: "sender",
7525
+ type: "address"
7526
+ }
7527
+ ],
7528
+ name: "registerCheck",
7529
+ outputs: [],
7530
+ stateMutability: "view",
7531
+ type: "function"
7532
+ },
7533
+ {
7534
+ inputs: [
7535
+ {
7536
+ internalType: "address",
7537
+ name: "_address",
7538
+ type: "address"
7539
+ }
7540
+ ],
7541
+ name: "removeAddressFromBlacklist",
7542
+ outputs: [],
7543
+ stateMutability: "nonpayable",
7544
+ type: "function"
7545
+ },
7546
+ {
7547
+ inputs: [],
7548
+ name: "renounceOwnership",
7549
+ outputs: [],
7550
+ stateMutability: "view",
7551
+ type: "function"
7552
+ },
7553
+ {
7554
+ inputs: [
7555
+ {
7556
+ internalType: "address",
7557
+ name: "_accessToken",
7558
+ type: "address"
7559
+ }
7560
+ ],
7561
+ name: "setAccessToken",
7562
+ outputs: [],
7563
+ stateMutability: "nonpayable",
7564
+ type: "function"
7565
+ },
7566
+ {
7567
+ inputs: [
7568
+ {
7569
+ internalType: "address",
7570
+ name: "_gasService",
7571
+ type: "address"
7572
+ }
7573
+ ],
7574
+ name: "setAxelarGasService",
7575
+ outputs: [],
7576
+ stateMutability: "nonpayable",
7577
+ type: "function"
7578
+ },
7579
+ {
7580
+ inputs: [
7581
+ {
7582
+ components: [
7583
+ {
7584
+ internalType: "string",
7585
+ name: "sourceChain",
7586
+ type: "string"
7587
+ },
7588
+ {
7589
+ internalType: "address",
7590
+ name: "sourceAddress",
7591
+ type: "address"
7592
+ }
7593
+ ],
7594
+ internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
7595
+ name: "updates",
7596
+ type: "tuple[]"
7597
+ }
7598
+ ],
7599
+ name: "setCrossChainAccessTokenRegistry",
7600
+ outputs: [],
7601
+ stateMutability: "nonpayable",
7602
+ type: "function"
7603
+ },
7604
+ {
7605
+ inputs: [
7606
+ {
7607
+ internalType: "uint256",
7608
+ name: "_mintingFee",
7609
+ type: "uint256"
7610
+ }
7611
+ ],
7612
+ name: "setMintingFee",
7613
+ outputs: [],
7614
+ stateMutability: "nonpayable",
7615
+ type: "function"
7616
+ },
7617
+ {
7618
+ inputs: [
7619
+ {
7620
+ internalType: "address",
7621
+ name: "newOwner",
7622
+ type: "address"
7623
+ }
7624
+ ],
7625
+ name: "transferOwnership",
7626
+ outputs: [],
7627
+ stateMutability: "nonpayable",
7628
+ type: "function"
7629
+ },
7630
+ {
7631
+ inputs: [
7632
+ {
7633
+ internalType: "uint256",
7634
+ name: "",
7635
+ type: "uint256"
7636
+ }
7637
+ ],
7638
+ name: "usedNonces",
7639
+ outputs: [
7640
+ {
7641
+ internalType: "bool",
7642
+ name: "",
7643
+ type: "bool"
7644
+ }
7645
+ ],
7646
+ stateMutability: "view",
7647
+ type: "function"
7648
+ },
7649
+ {
7650
+ inputs: [],
7651
+ name: "withdraw",
7652
+ outputs: [],
7653
+ stateMutability: "payable",
7654
+ type: "function"
7655
+ },
7656
+ {
7657
+ stateMutability: "payable",
7658
+ type: "receive"
7659
+ }
7660
+ ], H = {
6830
7661
  hinkalAddress: e,
6831
7662
  hinkalABI: t,
6832
7663
  hinkalHelperAddress: n,
@@ -6834,11 +7665,11 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
6834
7665
  crossChainAccessTokenAddress: i,
6835
7666
  crossChainAccessTokenABI: s,
6836
7667
  uniswapExternalActionAddress: p,
6837
- odosExternalActionInstanceAddress: r,
6838
- oneInchExternalActionInstanceAddress: y,
7668
+ odosExternalActionInstanceAddress: y,
7669
+ oneInchExternalActionInstanceAddress: r,
6839
7670
  beefyExternalActionInstanceAddress: u,
6840
- curveExternalActionABI: d,
6841
- wrappedStakedCurveLpABI: l,
7671
+ curveExternalActionABI: l,
7672
+ wrappedStakedCurveLpABI: d,
6842
7673
  convexExternalActionABI: o,
6843
7674
  BeefyExternalActionABI: m,
6844
7675
  pendleExternalActionInstanceAddress: T,
@@ -6847,14 +7678,16 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
6847
7678
  VolatileVaultABI: f,
6848
7679
  volatileTokenActionInstanceAddress: A,
6849
7680
  VolatileTokenActionABI: k,
6850
- hinkalWrapperAddress: v,
6851
- HinkalWrapperABI: h,
6852
- emporiumAddress: M,
6853
- hinkalWalletFactoryAddress: w
7681
+ hinkalWrapperAddress: h,
7682
+ HinkalWrapperABI: M,
7683
+ emporiumAddress: v,
7684
+ hinkalWalletFactoryAddress: w,
7685
+ crossChainAccessTokenManagerAddress: x,
7686
+ crossChainAccessTokenManagerABI: g
6854
7687
  };
6855
7688
  export {
6856
7689
  m as BeefyExternalActionABI,
6857
- h as HinkalWrapperABI,
7690
+ M as HinkalWrapperABI,
6858
7691
  k as VolatileTokenActionABI,
6859
7692
  f as VolatileVaultABI,
6860
7693
  c as WrappedStakedBeefyLpABI,
@@ -6862,20 +7695,22 @@ export {
6862
7695
  o as convexExternalActionABI,
6863
7696
  s as crossChainAccessTokenABI,
6864
7697
  i as crossChainAccessTokenAddress,
6865
- d as curveExternalActionABI,
6866
- x as default,
6867
- M as emporiumAddress,
7698
+ g as crossChainAccessTokenManagerABI,
7699
+ x as crossChainAccessTokenManagerAddress,
7700
+ l as curveExternalActionABI,
7701
+ H as default,
7702
+ v as emporiumAddress,
6868
7703
  t as hinkalABI,
6869
7704
  e as hinkalAddress,
6870
7705
  a as hinkalHelperABI,
6871
7706
  n as hinkalHelperAddress,
6872
7707
  w as hinkalWalletFactoryAddress,
6873
- v as hinkalWrapperAddress,
6874
- r as odosExternalActionInstanceAddress,
6875
- y as oneInchExternalActionInstanceAddress,
7708
+ h as hinkalWrapperAddress,
7709
+ y as odosExternalActionInstanceAddress,
7710
+ r as oneInchExternalActionInstanceAddress,
6876
7711
  T as pendleExternalActionInstanceAddress,
6877
7712
  p as uniswapExternalActionAddress,
6878
7713
  A as volatileTokenActionInstanceAddress,
6879
7714
  b as volatileVaultInstanceAddress,
6880
- l as wrappedStakedCurveLpABI
7715
+ d as wrappedStakedCurveLpABI
6881
7716
  };