@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 = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
3620
3620
  stateMutability: "nonpayable",
3621
3621
  type: "function"
3622
3622
  }
3623
- ], p = "0x2f954C479Af2E2DD2a787d8595d9d8B6aA814c92", y = "0xdC0Cba0Dc86889849C1Dd3464a725702EfFC7143", r = "0x9107d8e9dE5DC7229f35B505eDA0eb1734677fA0", u = "0xaCC1FEEF3Cde9b144A016D072241c060462126Bf", l = [
3623
+ ], p = "0x2f954C479Af2E2DD2a787d8595d9d8B6aA814c92", r = "0xdC0Cba0Dc86889849C1Dd3464a725702EfFC7143", y = "0x9107d8e9dE5DC7229f35B505eDA0eb1734677fA0", u = "0xaCC1FEEF3Cde9b144A016D072241c060462126Bf", d = [
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
- ], d = [
3989
+ ], l = [
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
- ], h = "0xf4A61B649D1cEAa682c3fafd4b71dF30E88FEd1A", M = [
6618
+ ], v = "0xf4A61B649D1cEAa682c3fafd4b71dF30E88FEd1A", h = [
6619
6619
  {
6620
6620
  inputs: [
6621
6621
  {
@@ -6826,838 +6826,7 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
6826
6826
  stateMutability: "nonpayable",
6827
6827
  type: "function"
6828
6828
  }
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 = {
6829
+ ], M = "0x6d007d431175b32A308f7a001e62196aEa8e7693", w = "0x0bd4610C1D3DB87C2b5a403674c655B6a1138109", x = {
7661
6830
  hinkalAddress: e,
7662
6831
  hinkalABI: t,
7663
6832
  hinkalHelperAddress: n,
@@ -7665,11 +6834,11 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
7665
6834
  crossChainAccessTokenAddress: i,
7666
6835
  crossChainAccessTokenABI: s,
7667
6836
  uniswapExternalActionAddress: p,
7668
- odosExternalActionInstanceAddress: y,
7669
- oneInchExternalActionInstanceAddress: r,
6837
+ odosExternalActionInstanceAddress: r,
6838
+ oneInchExternalActionInstanceAddress: y,
7670
6839
  beefyExternalActionInstanceAddress: u,
7671
- curveExternalActionABI: l,
7672
- wrappedStakedCurveLpABI: d,
6840
+ curveExternalActionABI: d,
6841
+ wrappedStakedCurveLpABI: l,
7673
6842
  convexExternalActionABI: o,
7674
6843
  BeefyExternalActionABI: m,
7675
6844
  pendleExternalActionInstanceAddress: T,
@@ -7678,16 +6847,14 @@ const e = "0x0036E884Cab4F427193839788EDEBB4B92B9a069", t = [
7678
6847
  VolatileVaultABI: f,
7679
6848
  volatileTokenActionInstanceAddress: A,
7680
6849
  VolatileTokenActionABI: k,
7681
- hinkalWrapperAddress: h,
7682
- HinkalWrapperABI: M,
7683
- emporiumAddress: v,
7684
- hinkalWalletFactoryAddress: w,
7685
- crossChainAccessTokenManagerAddress: x,
7686
- crossChainAccessTokenManagerABI: g
6850
+ hinkalWrapperAddress: v,
6851
+ HinkalWrapperABI: h,
6852
+ emporiumAddress: M,
6853
+ hinkalWalletFactoryAddress: w
7687
6854
  };
7688
6855
  export {
7689
6856
  m as BeefyExternalActionABI,
7690
- M as HinkalWrapperABI,
6857
+ h as HinkalWrapperABI,
7691
6858
  k as VolatileTokenActionABI,
7692
6859
  f as VolatileVaultABI,
7693
6860
  c as WrappedStakedBeefyLpABI,
@@ -7695,22 +6862,20 @@ export {
7695
6862
  o as convexExternalActionABI,
7696
6863
  s as crossChainAccessTokenABI,
7697
6864
  i as crossChainAccessTokenAddress,
7698
- g as crossChainAccessTokenManagerABI,
7699
- x as crossChainAccessTokenManagerAddress,
7700
- l as curveExternalActionABI,
7701
- H as default,
7702
- v as emporiumAddress,
6865
+ d as curveExternalActionABI,
6866
+ x as default,
6867
+ M as emporiumAddress,
7703
6868
  t as hinkalABI,
7704
6869
  e as hinkalAddress,
7705
6870
  a as hinkalHelperABI,
7706
6871
  n as hinkalHelperAddress,
7707
6872
  w as hinkalWalletFactoryAddress,
7708
- h as hinkalWrapperAddress,
7709
- y as odosExternalActionInstanceAddress,
7710
- r as oneInchExternalActionInstanceAddress,
6873
+ v as hinkalWrapperAddress,
6874
+ r as odosExternalActionInstanceAddress,
6875
+ y as oneInchExternalActionInstanceAddress,
7711
6876
  T as pendleExternalActionInstanceAddress,
7712
6877
  p as uniswapExternalActionAddress,
7713
6878
  A as volatileTokenActionInstanceAddress,
7714
6879
  b as volatileVaultInstanceAddress,
7715
- d as wrappedStakedCurveLpABI
6880
+ l as wrappedStakedCurveLpABI
7716
6881
  };