@gurge/sdk 0.3.142 → 0.3.151
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.
- package/README.md +43 -29
- package/common/src/API/API.cjs +1 -1
- package/common/src/API/API.d.ts +97 -0
- package/common/src/API/API.mjs +96 -121
- package/common/src/API/TokenCallsCachedHelper.d.ts +15 -0
- package/common/src/API/admin-calls.cjs +1 -1
- package/common/src/API/admin-calls.d.ts +9 -0
- package/common/src/API/admin-calls.mjs +3 -1
- package/common/src/API/callLifiAPI.cjs +1 -1
- package/common/src/API/callLifiAPI.d.ts +37 -0
- package/common/src/API/callLifiAPI.mjs +7 -2
- package/common/src/API/callMonitor.d.ts +9 -0
- package/common/src/API/callNearIntentsAPI.cjs +1 -1
- package/common/src/API/callNearIntentsAPI.d.ts +3 -0
- package/common/src/API/callNearIntentsAPI.mjs +2 -2
- package/common/src/API/callOkxAPI.d.ts +10 -0
- package/common/src/API/callRelayer.cjs +1 -1
- package/common/src/API/callRelayer.d.ts +76 -0
- package/common/src/API/callRelayer.mjs +7 -1
- package/common/src/API/checkRisk.d.ts +1 -0
- package/common/src/API/dashboardAccountCalls.d.ts +24 -0
- package/common/src/API/dashboardAccountMemberCalls.cjs +1 -1
- package/common/src/API/dashboardAccountMemberCalls.d.ts +49 -0
- package/common/src/API/dashboardAccountMemberCalls.mjs +5 -2
- package/common/src/API/dashboardBalanceCalls.d.ts +12 -0
- package/common/src/API/dashboardContactCalls.d.ts +9 -0
- package/common/src/API/dashboardPayoutCalls.cjs +1 -1
- package/common/src/API/dashboardPayoutCalls.d.ts +15 -0
- package/common/src/API/dashboardPayoutCalls.mjs +4 -1
- package/common/src/API/dashboardTransactionCalls.cjs +1 -1
- package/common/src/API/dashboardTransactionCalls.d.ts +6 -0
- package/common/src/API/dashboardTransactionCalls.mjs +2 -2
- package/common/src/API/enclaveRecipientInfoCalls.d.ts +12 -0
- package/common/src/API/enclaveSignatureCalls.cjs +1 -1
- package/common/src/API/enclaveSignatureCalls.d.ts +6 -0
- package/common/src/API/enclaveSignatureCalls.mjs +5 -8
- package/common/src/API/enclaveUtxoCalls.cjs +1 -1
- package/common/src/API/enclaveUtxoCalls.d.ts +59 -0
- package/common/src/API/enclaveUtxoCalls.mjs +16 -17
- package/common/src/API/evm-rpc-fallback.cjs +1 -0
- package/common/src/API/evm-rpc-fallback.d.ts +1 -0
- package/common/src/API/evm-rpc-fallback.mjs +17 -0
- package/common/src/API/evm-token-assets.d.ts +8 -0
- package/common/src/API/fetchCommitmentsCache.d.ts +19 -0
- package/common/src/API/get-token-data.d.ts +6 -0
- package/common/src/API/get-token-price-chart-data.d.ts +16 -0
- package/common/src/API/getCoingeckoPrice.d.ts +21 -0
- package/common/src/API/getGasEstimates.d.ts +10 -0
- package/common/src/API/getOdosPriceForToken.cjs +1 -0
- package/common/src/API/getOdosPriceForToken.d.ts +1 -0
- package/common/src/API/getOdosPriceForToken.mjs +14 -0
- package/common/src/API/getServerURL.d.ts +7 -0
- package/common/src/API/getTokenPrice.d.ts +10 -0
- package/common/src/API/getWebsiteURL.d.ts +3 -0
- package/common/src/API/index.cjs +1 -1
- package/common/src/API/index.d.ts +24 -0
- package/common/src/API/index.mjs +4 -5
- package/common/src/API/onrampCalls.d.ts +20 -0
- package/common/src/API/payoutNotificationStateCalls.cjs +1 -0
- package/common/src/API/payoutNotificationStateCalls.d.ts +10 -0
- package/common/src/API/payoutNotificationStateCalls.mjs +10 -0
- package/common/src/API/privacy-score-calls.d.ts +17 -0
- package/common/src/API/privateSendEmailNotificationsCalls.d.ts +8 -0
- package/common/src/API/privateSendNonceCalls.d.ts +13 -0
- package/common/src/API/privateSendRecipientInfoCalls.cjs +1 -1
- package/common/src/API/privateSendRecipientInfoCalls.d.ts +8 -0
- package/common/src/API/privateSendRecipientInfoCalls.mjs +12 -6
- package/common/src/API/proxyAccountsCalls.cjs +1 -1
- package/common/src/API/proxyAccountsCalls.d.ts +5 -0
- package/common/src/API/proxyAccountsCalls.mjs +11 -10
- package/common/src/API/relayCalls.d.ts +5 -0
- package/common/src/API/resolve-sns.d.ts +1 -0
- package/common/src/API/rewardsUserCalls.cjs +1 -1
- package/common/src/API/rewardsUserCalls.d.ts +21 -0
- package/common/src/API/rewardsUserCalls.mjs +2 -10
- package/common/src/API/route-config.cjs +1 -0
- package/common/src/API/route-config.d.ts +1 -0
- package/common/src/API/route-config.mjs +26 -0
- package/common/src/API/scheduled-transactions-calls.cjs +1 -1
- package/common/src/API/scheduled-transactions-calls.d.ts +17 -0
- package/common/src/API/scheduled-transactions-calls.mjs +2 -6
- package/common/src/API/seedless-calls.d.ts +53 -0
- package/common/src/API/simulate-batch-tx.d.ts +3 -0
- package/common/src/API/simulate-transaction.d.ts +5 -0
- package/common/src/API/snapshot-event-calls.d.ts +7 -0
- package/common/src/API/solana-nft-assets.d.ts +1 -0
- package/common/src/API/solana-priority-fee.cjs +1 -0
- package/common/src/API/solana-priority-fee.d.ts +3 -0
- package/common/src/API/solana-priority-fee.mjs +20 -0
- package/common/src/API/solana-rpc-fallback.cjs +1 -0
- package/common/src/API/solana-rpc-fallback.d.ts +1 -0
- package/common/src/API/solana-rpc-fallback.mjs +13 -0
- package/common/src/API/temporaryWalletCalls.cjs +1 -1
- package/common/src/API/temporaryWalletCalls.d.ts +11 -0
- package/common/src/API/temporaryWalletCalls.mjs +8 -9
- package/common/src/API/tenderly.api.cjs +1 -1
- package/common/src/API/tenderly.api.d.ts +15 -0
- package/common/src/API/tenderly.api.mjs +1 -1
- package/common/src/API/token-calls.d.ts +4 -0
- package/common/src/API/tronSubsidyCalls.d.ts +13 -0
- package/common/src/API/weeklyAnalyticCalls.cjs +1 -1
- package/common/src/API/weeklyAnalyticCalls.d.ts +12 -0
- package/common/src/API/weeklyAnalyticCalls.mjs +2 -5
- package/common/src/constants/activity.constants.d.ts +2 -0
- package/common/src/constants/addresses.constants.cjs +1 -1
- package/common/src/constants/addresses.constants.d.ts +28 -0
- package/common/src/constants/addresses.constants.mjs +19 -60
- package/common/src/constants/auth.constants.d.ts +2 -0
- package/common/src/constants/backend.constants.d.ts +12 -0
- package/common/src/constants/balance.constants.cjs +1 -0
- package/common/src/constants/balance.constants.d.ts +4 -0
- package/common/src/constants/balance.constants.mjs +4 -0
- package/common/src/constants/bridging.constants.cjs +1 -1
- package/common/src/constants/bridging.constants.d.ts +35 -0
- package/common/src/constants/bridging.constants.mjs +2 -1
- package/common/src/constants/chains.constants.cjs +1 -1
- package/common/src/constants/chains.constants.d.ts +74 -0
- package/common/src/constants/chains.constants.mjs +175 -198
- package/common/src/constants/coingecko.constants.cjs +1 -1
- package/common/src/constants/coingecko.constants.d.ts +46 -0
- package/common/src/constants/coingecko.constants.mjs +1 -1
- package/common/src/constants/contracts.constants.cjs +1 -1
- package/common/src/constants/contracts.constants.d.ts +11 -0
- package/common/src/constants/contracts.constants.mjs +16 -34
- package/common/src/constants/conversion.constants.d.ts +1 -0
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.mjs +8 -9
- package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.mjs +7 -6
- package/common/src/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-base.json.mjs +8 -9
- package/common/src/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -0
- package/common/src/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +12 -0
- package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.mjs +8 -9
- package/common/src/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-localhost.json.mjs +0 -3
- package/common/src/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-optimism.json.mjs +8 -9
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-optimismTest.json.mjs +5 -9
- package/common/src/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-polygon.json.mjs +8 -9
- package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +0 -1
- package/common/src/constants/deploy-data/deploy-data-solana.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-solana.json.mjs +2 -2
- package/common/src/constants/deploy-data/deploy-data-tempo.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tempo.json.mjs +7 -7
- package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.mjs +2 -4
- package/common/src/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -1
- package/common/src/constants/deploy-data/deploy-data-tronNile.json.mjs +2 -4
- package/common/src/constants/deploy-data/index.cjs +1 -1
- package/common/src/constants/deploy-data/index.d.ts +15 -0
- package/common/src/constants/deploy-data/index.mjs +16 -15
- package/common/src/constants/deploy-data/mergeDeployData.d.ts +4 -0
- package/common/src/constants/deploy-data/shared-deploy-data-evm.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-evm.json.mjs +36 -45
- package/common/src/constants/deploy-data/shared-deploy-data-solana.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-solana.json.mjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-tron.json.cjs +1 -1
- package/common/src/constants/deploy-data/shared-deploy-data-tron.json.mjs +2 -46
- package/common/src/constants/enclaveAuth.constants.d.ts +5 -0
- package/common/src/constants/events.constants.cjs +1 -1
- package/common/src/constants/events.constants.d.ts +1 -0
- package/common/src/constants/events.constants.mjs +1 -15
- package/common/src/constants/fees.constants.cjs +1 -1
- package/common/src/constants/fees.constants.d.ts +9 -0
- package/common/src/constants/fees.constants.mjs +2 -2
- package/common/src/constants/function-signatures.constants.d.ts +4 -0
- package/common/src/constants/images.constants.d.ts +1 -0
- package/common/src/constants/index.cjs +1 -1
- package/common/src/constants/index.d.ts +32 -0
- package/common/src/constants/index.mjs +1 -1
- package/common/src/constants/lifi.constants.cjs +1 -1
- package/common/src/constants/lifi.constants.d.ts +3 -0
- package/common/src/constants/lifi.constants.mjs +6 -3
- package/common/src/constants/link.constant.d.ts +1 -0
- package/common/src/constants/mediaUrls.constants.d.ts +43 -0
- package/common/src/constants/oauthUrls.constants.d.ts +4 -0
- package/common/src/constants/okx.constants.d.ts +3 -0
- package/common/src/constants/pay.constants.d.ts +2 -0
- package/common/src/constants/permit2.constants.d.ts +7 -0
- package/common/src/constants/presale.constants.d.ts +87 -0
- package/common/src/constants/protocol.constants.cjs +2 -1
- package/common/src/constants/protocol.constants.d.ts +74 -0
- package/common/src/constants/protocol.constants.mjs +3 -15
- package/common/src/constants/reorg-depths.constants.d.ts +17 -0
- package/common/src/constants/save-depths.d.ts +19 -0
- package/common/src/constants/schedule.constants.d.ts +2 -0
- package/common/src/constants/server.constants.cjs +1 -1
- package/common/src/constants/server.constants.d.ts +116 -0
- package/common/src/constants/server.constants.mjs +19 -49
- package/common/src/constants/tokens.constants.cjs +1 -1
- package/common/src/constants/tokens.constants.d.ts +5 -0
- package/common/src/constants/tokens.constants.mjs +4 -1
- package/common/src/constants/tx-confirmation.constants.cjs +1 -1
- package/common/src/constants/tx-confirmation.constants.d.ts +5 -0
- package/common/src/constants/tx-confirmation.constants.mjs +2 -2
- package/common/src/constants/vite.constants.d.ts +16 -0
- package/common/src/constants/wallet.constants.d.ts +1 -0
- package/common/src/crypto/babyJub.d.ts +16 -0
- package/common/src/crypto/ecdh-sealed-keys.cjs +1 -1
- package/common/src/crypto/ecdh-sealed-keys.d.ts +22 -0
- package/common/src/crypto/ecdh-sealed-keys.mjs +17 -2
- package/common/src/crypto/ecdh.d.ts +2 -0
- package/common/src/crypto/eddsa.d.ts +8 -0
- package/common/src/crypto/index.cjs +1 -1
- package/common/src/crypto/index.d.ts +6 -0
- package/common/src/crypto/index.mjs +1 -2
- package/common/src/crypto/poseidon.d.ts +15 -0
- package/common/src/crypto/preProcessing.d.ts +1 -0
- package/common/src/data-structures/AccountActions/AccountActions.d.ts +17 -0
- package/common/src/data-structures/AccountActions/index.d.ts +1 -0
- package/common/src/data-structures/ApprovalDBs/EventsPublicApprovalsDB.d.ts +17 -0
- package/common/src/data-structures/ApprovalDBs/index.d.ts +1 -0
- package/common/src/data-structures/BlockchainEvent/BlockchainEvent.d.ts +14 -0
- package/common/src/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/common/src/data-structures/Hinkal/Hinkal.d.ts +120 -0
- package/common/src/data-structures/Hinkal/Hinkal.mjs +142 -174
- package/common/src/data-structures/Hinkal/IHinkal.d.ts +106 -0
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.d.ts +3 -0
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.mjs +36 -35
- package/common/src/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalActionReceive.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalActionReceive.mjs +13 -11
- package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.mjs +100 -0
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.mjs +40 -50
- package/common/src/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDeposit.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalDeposit.mjs +50 -119
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.mjs +113 -109
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +98 -64
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +21 -0
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +50 -48
- package/common/src/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +2 -0
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.mjs +8 -3
- package/common/src/data-structures/Hinkal/hinkalPalEvmDeposit.d.ts +9 -0
- package/common/src/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.d.ts +9 -0
- package/common/src/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +9 -0
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalPrivateWallet.mjs +50 -38
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.mjs +52 -117
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +10 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +26 -32
- package/common/src/data-structures/Hinkal/hinkalProxySend.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalProxySend.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalProxySend.mjs +16 -0
- package/common/src/data-structures/Hinkal/hinkalProxySwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProxySwap.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalProxySwap.mjs +13 -12
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.mjs +19 -17
- package/common/src/data-structures/Hinkal/hinkalSignSubAccount.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +50 -79
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.mjs +47 -51
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +28 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +115 -133
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +16 -12
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.mjs +1 -3
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +28 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +82 -56
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +11 -13
- package/common/src/data-structures/Hinkal/hinkalSolanaSponsoredShield.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaSponsoredShield.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaSponsoredShield.mjs +32 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.mjs +58 -79
- package/common/src/data-structures/Hinkal/hinkalSolanaTransact.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransact.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransact.mjs +119 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.mjs +46 -77
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +46 -57
- package/common/src/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalSwap.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalSwap.mjs +32 -32
- package/common/src/data-structures/Hinkal/hinkalTransact.cjs +1 -0
- package/common/src/data-structures/Hinkal/hinkalTransact.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalTransact.mjs +106 -0
- package/common/src/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalTransfer.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalTransfer.mjs +39 -44
- package/common/src/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalWithdraw.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalWithdraw.mjs +38 -49
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +160 -102
- package/common/src/data-structures/Hinkal/index.d.ts +25 -0
- package/common/src/data-structures/Hinkal/prepareTronDepositToSelf.d.ts +27 -0
- package/common/src/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
- package/common/src/data-structures/Hinkal/resetMerkleTrees.d.ts +2 -0
- package/common/src/data-structures/Hinkal/resetMerkleTrees.mjs +7 -6
- package/common/src/data-structures/IndexedDB/activity-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/activity-db.d.ts +14 -0
- package/common/src/data-structures/IndexedDB/activity-db.mjs +34 -34
- package/common/src/data-structures/IndexedDB/balances-db.d.ts +13 -0
- package/common/src/data-structures/IndexedDB/contact-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/contact-db.d.ts +11 -0
- package/common/src/data-structures/IndexedDB/contact-db.mjs +14 -28
- package/common/src/data-structures/IndexedDB/index.cjs +1 -1
- package/common/src/data-structures/IndexedDB/index.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/index.mjs +1 -0
- package/common/src/data-structures/IndexedDB/key-val-store.cjs +1 -1
- package/common/src/data-structures/IndexedDB/key-val-store.d.ts +8 -0
- package/common/src/data-structures/IndexedDB/key-val-store.mjs +14 -0
- package/common/src/data-structures/IndexedDB/pay-activity-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/pay-activity-db.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/pay-activity-db.mjs +43 -1
- package/common/src/data-structures/IndexedDB/prices-db.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/private-balances-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/private-balances-db.d.ts +10 -0
- package/common/src/data-structures/IndexedDB/private-balances-db.mjs +3 -0
- package/common/src/data-structures/IndexedDB/scheduled-transactions-db.cjs +1 -0
- package/common/src/data-structures/IndexedDB/scheduled-transactions-db.d.ts +11 -0
- package/common/src/data-structures/IndexedDB/scheduled-transactions-db.mjs +34 -0
- package/common/src/data-structures/IndexedDB/signatures-db.cjs +1 -1
- package/common/src/data-structures/IndexedDB/signatures-db.d.ts +10 -0
- package/common/src/data-structures/IndexedDB/signatures-db.mjs +11 -11
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +21 -0
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +29 -26
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +18 -0
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.d.ts +11 -0
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +18 -0
- package/common/src/data-structures/TokenDBs/IPublicTokensDB.d.ts +6 -0
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.d.ts +11 -0
- package/common/src/data-structures/TokenDBs/PrivateTokensDB.mjs +17 -18
- package/common/src/data-structures/TokenDBs/PublicTokensDB.d.ts +9 -0
- package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.d.ts +9 -0
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.d.ts +10 -0
- package/common/src/data-structures/TokenDBs/index.d.ts +6 -0
- package/common/src/data-structures/TokenDBs/token-visibility-db.d.ts +17 -0
- package/common/src/data-structures/ValueCache/ValueCache.d.ts +10 -0
- package/common/src/data-structures/ValueCache/index.d.ts +1 -0
- package/common/src/data-structures/WalletManager/WalletManager.d.ts +52 -0
- package/common/src/data-structures/WalletManager/index.d.ts +1 -0
- package/common/src/data-structures/cacheDevices/AttachableMemoryCacheDevice.d.ts +8 -0
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.cjs +1 -1
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.d.ts +12 -0
- package/common/src/data-structures/cacheDevices/BaseCacheDevice.mjs +3 -0
- package/common/src/data-structures/cacheDevices/FileCacheDevice.cjs +1 -1
- package/common/src/data-structures/cacheDevices/FileCacheDevice.d.ts +13 -0
- package/common/src/data-structures/cacheDevices/FileCacheDevice.mjs +12 -3
- package/common/src/data-structures/cacheDevices/LocalStorageCacheDevice.d.ts +8 -0
- package/common/src/data-structures/cacheDevices/index.d.ts +2 -0
- package/common/src/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
- package/common/src/data-structures/crypto-keys/decodeUTXO.d.ts +28 -0
- package/common/src/data-structures/crypto-keys/decodeUTXO.mjs +11 -71
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.d.ts +17 -0
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.mjs +39 -23
- package/common/src/data-structures/crypto-keys/index.d.ts +4 -0
- package/common/src/data-structures/crypto-keys/keyUtils.d.ts +2 -0
- package/common/src/data-structures/crypto-keys/keys.cjs +1 -1
- package/common/src/data-structures/crypto-keys/keys.d.ts +117 -0
- package/common/src/data-structures/crypto-keys/keys.mjs +64 -79
- package/common/src/data-structures/custom-token-registry/CustomTokenRegistry.d.ts +12 -0
- package/common/src/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.d.ts +34 -0
- package/common/src/data-structures/event-service/evm/AbstractEventService.d.ts +14 -0
- package/common/src/data-structures/event-service/evm/AbstractNullifierSnapshotService.d.ts +22 -0
- package/common/src/data-structures/event-service/evm/AbstractSnapshotService.d.ts +22 -0
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +38 -0
- package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.mjs +46 -38
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.cjs +1 -1
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +11 -0
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +2 -2
- package/common/src/data-structures/event-service/evm/PollingBlockchainEventEmitter.d.ts +6 -0
- package/common/src/data-structures/event-service/helpers/ClientEventHelper.d.ts +10 -0
- package/common/src/data-structures/event-service/helpers/PollingEventHelper.d.ts +7 -0
- package/common/src/data-structures/event-service/index.d.ts +14 -0
- package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -1
- package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +34 -0
- package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +27 -23
- package/common/src/data-structures/event-service/solana/AbstractSolanaEventService.d.ts +17 -0
- package/common/src/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +22 -0
- package/common/src/data-structures/event-service/solana/AbstractSolanaSnapshotService.d.ts +21 -0
- package/common/src/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.d.ts +11 -0
- package/common/src/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.d.ts +6 -0
- package/common/src/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +42 -0
- package/common/src/data-structures/http/BasicHttpClient.d.ts +11 -0
- package/common/src/data-structures/http/HttpClient.d.ts +10 -0
- package/common/src/data-structures/http/index.d.ts +2 -0
- package/common/src/data-structures/index.d.ts +22 -0
- package/common/src/data-structures/merkle-tree/MerkleTree.cjs +1 -1
- package/common/src/data-structures/merkle-tree/MerkleTree.d.ts +93 -0
- package/common/src/data-structures/merkle-tree/MerkleTree.mjs +12 -1
- package/common/src/data-structures/merkle-tree/MerkleTreeIncompleteError.d.ts +3 -0
- package/common/src/data-structures/merkle-tree/index.d.ts +2 -0
- package/common/src/data-structures/presale/PresaleContractWrapper.d.ts +23 -0
- package/common/src/data-structures/presale/index.d.ts +1 -0
- package/common/src/data-structures/private-balances/BalanceChangedHandler.d.ts +9 -0
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.cjs +1 -1
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.d.ts +25 -0
- package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.mjs +100 -86
- package/common/src/data-structures/private-balances/index.d.ts +3 -0
- package/common/src/data-structures/private-balances/privateBalancesReducer.d.ts +2 -0
- package/common/src/data-structures/provider-adapter/IProviderAdapter.d.ts +36 -0
- package/common/src/data-structures/snapshot/SnapshotFetcherService.d.ts +14 -0
- package/common/src/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.d.ts +8 -0
- package/common/src/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.d.ts +8 -0
- package/common/src/data-structures/snapshot/index.d.ts +5 -0
- package/common/src/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.d.ts +8 -0
- package/common/src/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.d.ts +8 -0
- package/common/src/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
- package/common/src/data-structures/token-price-fetcher/TokenChecker.d.ts +10 -0
- package/common/src/data-structures/token-price-fetcher/TokenChecker.mjs +5 -3
- package/common/src/data-structures/token-price-fetcher/index.d.ts +1 -0
- package/common/src/data-structures/transactions-manager/history/history.types.d.ts +16 -0
- package/common/src/data-structures/transactions-manager/index.d.ts +1 -0
- package/common/src/data-structures/utxo/Utxo.cjs +1 -1
- package/common/src/data-structures/utxo/Utxo.d.ts +66 -0
- package/common/src/data-structures/utxo/Utxo.mjs +7 -17
- package/common/src/error-handling/customErrors/ErrorWithAmount.d.ts +4 -0
- package/common/src/error-handling/customErrors/ErrorWithIndex.d.ts +4 -0
- package/common/src/error-handling/customErrors/ErrorWithTx.d.ts +4 -0
- package/common/src/error-handling/customErrors/FeeOverTransactionValueError.d.ts +9 -0
- package/common/src/error-handling/customErrors/HttpError.d.ts +4 -0
- package/common/src/error-handling/customErrors/SimulationFailureError.d.ts +10 -0
- package/common/src/error-handling/customErrors/customErrors.helpers.d.ts +5 -0
- package/common/src/error-handling/customErrors/index.d.ts +7 -0
- package/common/src/error-handling/error-codes.constants.cjs +2 -2
- package/common/src/error-handling/error-codes.constants.d.ts +249 -0
- package/common/src/error-handling/error-codes.constants.mjs +30 -32
- package/common/src/error-handling/get-error.message.cjs +1 -1
- package/common/src/error-handling/get-error.message.d.ts +5 -0
- package/common/src/error-handling/get-error.message.mjs +28 -18
- package/common/src/error-handling/index.cjs +1 -1
- package/common/src/error-handling/index.d.ts +7 -0
- package/common/src/error-handling/index.mjs +1 -0
- package/common/src/error-handling/isInsufficientFundsError.d.ts +1 -0
- package/common/src/error-handling/logError.d.ts +1 -0
- package/common/src/error-handling/logger.d.ts +5 -0
- package/common/src/error-handling/retrySolanaError.d.ts +1 -0
- package/common/src/error-handling/types.d.ts +10 -0
- package/common/src/externalABIs/BUSD.d.ts +38 -0
- package/common/src/externalABIs/DAI.d.ts +45 -0
- package/common/src/externalABIs/SanctionsList.d.ts +35 -0
- package/common/src/externalABIs/USDC.d.ts +28 -0
- package/common/src/externalABIs/USDR.d.ts +28 -0
- package/common/src/externalABIs/USDR3CRV.d.ts +49 -0
- package/common/src/externalABIs/USDT.d.ts +41 -0
- package/common/src/externalABIs/WETH.d.ts +38 -0
- package/common/src/externalABIs/amToken.d.ts +28 -0
- package/common/src/externalABIs/index.cjs +1 -1
- package/common/src/externalABIs/index.d.ts +107 -0
- package/common/src/externalABIs/index.mjs +2 -6
- package/common/src/externalABIs/swapAbi.d.ts +77 -0
- package/common/src/functions/auto-deposit-back-helpers/get-gas-token-records.cjs +1 -1
- package/common/src/functions/auto-deposit-back-helpers/get-gas-token-records.d.ts +9 -0
- package/common/src/functions/auto-deposit-back-helpers/get-gas-token-records.mjs +7 -6
- package/common/src/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.d.ts +3 -0
- package/common/src/functions/auto-deposit-back-helpers/index.d.ts +4 -0
- package/common/src/functions/auto-deposit-back-helpers/select-gas-token.cjs +1 -1
- package/common/src/functions/auto-deposit-back-helpers/select-gas-token.d.ts +13 -0
- package/common/src/functions/auto-deposit-back-helpers/select-gas-token.mjs +8 -8
- package/common/src/functions/auto-deposit-back-helpers/update-hinkal.d.ts +2 -0
- package/common/src/functions/connectors.types.d.ts +22 -0
- package/common/src/functions/index.cjs +1 -1
- package/common/src/functions/index.d.ts +11 -0
- package/common/src/functions/index.mjs +21 -20
- package/common/src/functions/pre-transaction/addressTableLookup.d.ts +4 -0
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.cjs +1 -1
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.d.ts +14 -0
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.mjs +36 -38
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.cjs +1 -1
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.d.ts +2 -0
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.mjs +38 -5
- package/common/src/functions/pre-transaction/constructAdminData.d.ts +3 -0
- package/common/src/functions/pre-transaction/convert-okx-instructions.d.ts +11 -0
- package/common/src/functions/pre-transaction/ensureAmountChanges.cjs +1 -1
- package/common/src/functions/pre-transaction/ensureAmountChanges.d.ts +2 -0
- package/common/src/functions/pre-transaction/ensureAmountChanges.mjs +3 -10
- package/common/src/functions/pre-transaction/getExternalSwapAddress.cjs +1 -1
- package/common/src/functions/pre-transaction/getExternalSwapAddress.d.ts +2 -0
- package/common/src/functions/pre-transaction/getExternalSwapAddress.mjs +2 -18
- package/common/src/functions/pre-transaction/getFeeStructure.d.ts +5 -0
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -1
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.d.ts +4 -0
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.mjs +11 -10
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -1
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.d.ts +9 -0
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.mjs +1 -1
- package/common/src/functions/pre-transaction/index.cjs +1 -1
- package/common/src/functions/pre-transaction/index.d.ts +19 -0
- package/common/src/functions/pre-transaction/index.mjs +2 -3
- package/common/src/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +1 -1
- package/common/src/functions/pre-transaction/merge-with-fee-structure-emporium.d.ts +3 -0
- package/common/src/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +2 -2
- package/common/src/functions/pre-transaction/merge-with-fee-structure.d.ts +2 -0
- package/common/src/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/common/src/functions/pre-transaction/outputUtxoProcessing.d.ts +6 -0
- package/common/src/functions/pre-transaction/outputUtxoProcessing.mjs +19 -18
- package/common/src/functions/pre-transaction/process-gas-estimates.d.ts +5 -0
- package/common/src/functions/pre-transaction/sendInitNullifiersTransaction.d.ts +11 -0
- package/common/src/functions/pre-transaction/sendV0Transaction.cjs +2 -2
- package/common/src/functions/pre-transaction/sendV0Transaction.d.ts +21 -0
- package/common/src/functions/pre-transaction/sendV0Transaction.mjs +4 -4
- package/common/src/functions/pre-transaction/solana-public-signals.d.ts +22 -0
- package/common/src/functions/pre-transaction/solana.cjs +1 -1
- package/common/src/functions/pre-transaction/solana.d.ts +27 -0
- package/common/src/functions/pre-transaction/solana.mjs +46 -21
- package/common/src/functions/pre-transaction/solanaTransfer.utils.cjs +1 -1
- package/common/src/functions/pre-transaction/solanaTransfer.utils.d.ts +6 -0
- package/common/src/functions/pre-transaction/solanaTransfer.utils.mjs +16 -15
- package/common/src/functions/pre-transaction/speculativeUtxo.cjs +1 -0
- package/common/src/functions/pre-transaction/speculativeUtxo.d.ts +9 -0
- package/common/src/functions/pre-transaction/speculativeUtxo.mjs +19 -0
- package/common/src/functions/pre-transaction/store-instructions.d.ts +4 -0
- package/common/src/functions/pre-transaction/store-proof.cjs +1 -1
- package/common/src/functions/pre-transaction/store-proof.d.ts +7 -0
- package/common/src/functions/pre-transaction/store-proof.mjs +1 -0
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.d.ts +3 -0
- package/common/src/functions/private-wallet/emporium.helpers.cjs +1 -1
- package/common/src/functions/private-wallet/emporium.helpers.d.ts +53 -0
- package/common/src/functions/private-wallet/emporium.helpers.mjs +116 -72
- package/common/src/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
- package/common/src/functions/private-wallet/emporium.swap.helpers.d.ts +3 -0
- package/common/src/functions/private-wallet/emporium.swap.helpers.mjs +38 -80
- package/common/src/functions/private-wallet/index.cjs +1 -1
- package/common/src/functions/private-wallet/index.d.ts +2 -0
- package/common/src/functions/private-wallet/index.mjs +0 -1
- package/common/src/functions/snarkjs/common.snarkjs.cjs +1 -1
- package/common/src/functions/snarkjs/common.snarkjs.d.ts +32 -0
- package/common/src/functions/snarkjs/common.snarkjs.mjs +104 -65
- package/common/src/functions/snarkjs/constant.cjs +1 -1
- package/common/src/functions/snarkjs/constant.d.ts +236 -0
- package/common/src/functions/snarkjs/constant.mjs +231 -145
- package/common/src/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/constructGeneralZkProof.d.ts +13 -0
- package/common/src/functions/snarkjs/constructGeneralZkProof.mjs +85 -69
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.cjs +1 -0
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.d.ts +7 -0
- package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.mjs +2 -0
- package/common/src/functions/snarkjs/constructSolanaZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/constructSolanaZkProof.d.ts +16 -0
- package/common/src/functions/snarkjs/constructSolanaZkProof.mjs +62 -61
- package/common/src/functions/snarkjs/constructTxEnclave.cjs +1 -0
- package/common/src/functions/snarkjs/constructTxEnclave.d.ts +34 -0
- package/common/src/functions/snarkjs/constructTxEnclave.mjs +95 -0
- package/common/src/functions/snarkjs/constructTxEnclaveVerify.cjs +1 -0
- package/common/src/functions/snarkjs/constructTxEnclaveVerify.d.ts +5 -0
- package/common/src/functions/snarkjs/constructTxEnclaveVerify.mjs +295 -0
- package/common/src/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +9 -0
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -1
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.d.ts +4 -0
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.mjs +16 -18
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.cjs +1 -0
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.d.ts +7 -0
- package/common/src/functions/snarkjs/fetchTronInsertionSiblings.mjs +13 -0
- package/common/src/functions/snarkjs/generateCircomData.cjs +1 -1
- package/common/src/functions/snarkjs/generateCircomData.d.ts +5 -0
- package/common/src/functions/snarkjs/generateCircomData.mjs +41 -31
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.d.ts +11 -0
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.mjs +7 -7
- package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.cjs +1 -0
- package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.d.ts +2 -0
- package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.mjs +3 -0
- package/common/src/functions/snarkjs/generateZkProof.cjs +1 -1
- package/common/src/functions/snarkjs/generateZkProof.d.ts +5 -0
- package/common/src/functions/snarkjs/generateZkProof.mjs +9 -16
- package/common/src/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -1
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +17 -0
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +19 -13
- package/common/src/functions/snarkjs/getOriginalSender.d.ts +1 -0
- package/common/src/functions/snarkjs/getZKFiles.cjs +1 -1
- package/common/src/functions/snarkjs/getZKFiles.d.ts +3 -0
- package/common/src/functions/snarkjs/getZKFiles.mjs +9 -3
- package/common/src/functions/snarkjs/index.cjs +1 -1
- package/common/src/functions/snarkjs/index.d.ts +10 -0
- package/common/src/functions/snarkjs/index.mjs +2 -0
- package/common/src/functions/snarkjs/signedMessageHash.cjs +1 -1
- package/common/src/functions/snarkjs/signedMessageHash.d.ts +47 -0
- package/common/src/functions/snarkjs/signedMessageHash.mjs +36 -7
- package/common/src/functions/snarkjs/verifyCommitmentValidationData.d.ts +4 -0
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.cjs +1 -0
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.d.ts +1 -0
- package/common/src/functions/snarkjs/verifySignedEnclaveResponse.mjs +11 -0
- package/common/src/functions/utils/abi.utils.d.ts +3 -0
- package/common/src/functions/utils/addresses.cjs +1 -1
- package/common/src/functions/utils/addresses.d.ts +12 -0
- package/common/src/functions/utils/addresses.mjs +30 -21
- package/common/src/functions/utils/aggregateTokenAmounts.d.ts +2 -0
- package/common/src/functions/utils/amounts.utils.d.ts +25 -0
- package/common/src/functions/utils/arraysMatch.d.ts +1 -0
- package/common/src/functions/utils/auth.utils.d.ts +5 -0
- package/common/src/functions/utils/bridge-arrival.utils.cjs +1 -0
- package/common/src/functions/utils/bridge-arrival.utils.d.ts +1 -0
- package/common/src/functions/utils/bridge-arrival.utils.mjs +16 -0
- package/common/src/functions/utils/bridge-claimable-utxo.utils.cjs +1 -0
- package/common/src/functions/utils/bridge-claimable-utxo.utils.d.ts +19 -0
- package/common/src/functions/utils/bridge-claimable-utxo.utils.mjs +24 -0
- package/common/src/functions/utils/bridge-claimable.utils.cjs +1 -0
- package/common/src/functions/utils/bridge-claimable.utils.d.ts +15 -0
- package/common/src/functions/utils/bridge-claimable.utils.mjs +3 -0
- package/common/src/functions/utils/bridge-flow.utils.cjs +1 -0
- package/common/src/functions/utils/bridge-flow.utils.d.ts +4 -0
- package/common/src/functions/utils/bridge-flow.utils.mjs +2 -0
- package/common/src/functions/utils/buildClaimableDepositPlan.d.ts +17 -0
- package/common/src/functions/utils/bytes32.utils.d.ts +2 -0
- package/common/src/functions/utils/cacheDevice.utils.d.ts +3 -0
- package/common/src/functions/utils/cacheFunctions.d.ts +16 -0
- package/common/src/functions/utils/caseInsensitive.utils.d.ts +3 -0
- package/common/src/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -1
- package/common/src/functions/utils/convertEmporiumOpToCallInfo.d.ts +2 -0
- package/common/src/functions/utils/convertEmporiumOpToCallInfo.mjs +5 -10
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.d.ts +3 -0
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -1
- package/common/src/functions/utils/create-provider.cjs +1 -1
- package/common/src/functions/utils/create-provider.d.ts +11 -0
- package/common/src/functions/utils/create-provider.mjs +45 -9
- package/common/src/functions/utils/customEnclaveFunctionsRegister.d.ts +18 -0
- package/common/src/functions/utils/deposit-claimable.utils.cjs +1 -1
- package/common/src/functions/utils/deposit-claimable.utils.d.ts +3 -0
- package/common/src/functions/utils/deposit-claimable.utils.mjs +3 -6
- package/common/src/functions/utils/dispatchBalanceRefreshes.d.ts +4 -0
- package/common/src/functions/utils/enclave-recipient-info-storage.cjs +1 -1
- package/common/src/functions/utils/enclave-recipient-info-storage.d.ts +5 -0
- package/common/src/functions/utils/enclave-recipient-info-storage.mjs +1 -0
- package/common/src/functions/utils/enclave-signature-storage.cjs +1 -1
- package/common/src/functions/utils/enclave-signature-storage.d.ts +1 -0
- package/common/src/functions/utils/enclave-signature-storage.mjs +3 -3
- package/common/src/functions/utils/enclave-utxo-storage.cjs +1 -1
- package/common/src/functions/utils/enclave-utxo-storage.d.ts +6 -0
- package/common/src/functions/utils/enclave-utxo-storage.mjs +16 -2
- package/common/src/functions/utils/enclaveHandshakeService.d.ts +10 -0
- package/common/src/functions/utils/enclaveSessionSigning.cjs +1 -0
- package/common/src/functions/utils/enclaveSessionSigning.d.ts +16 -0
- package/common/src/functions/utils/enclaveSessionSigning.mjs +2 -0
- package/common/src/functions/utils/encodeTokenWithId.cjs +1 -1
- package/common/src/functions/utils/encodeTokenWithId.d.ts +1 -0
- package/common/src/functions/utils/encodeTokenWithId.mjs +2 -5
- package/common/src/functions/utils/encryptInputForEnclave.cjs +1 -1
- package/common/src/functions/utils/encryptInputForEnclave.d.ts +16 -0
- package/common/src/functions/utils/encryptInputForEnclave.mjs +43 -23
- package/common/src/functions/utils/enum.utils.d.ts +9 -0
- package/common/src/functions/utils/erc20tokenFunctions.cjs +1 -1
- package/common/src/functions/utils/erc20tokenFunctions.d.ts +20 -0
- package/common/src/functions/utils/erc20tokenFunctions.mjs +2 -15
- package/common/src/functions/utils/evmNetworkFunctions.d.ts +4 -0
- package/common/src/functions/utils/external-action.utils.d.ts +3 -0
- package/common/src/functions/utils/fees.utils.cjs +1 -1
- package/common/src/functions/utils/fees.utils.d.ts +9 -0
- package/common/src/functions/utils/fees.utils.mjs +42 -29
- package/common/src/functions/utils/formatter.d.ts +3 -0
- package/common/src/functions/utils/getBlockExplorerUrl.d.ts +1 -0
- package/common/src/functions/utils/getContractAddress.d.ts +2 -0
- package/common/src/functions/utils/getDataFromTransaction.d.ts +34 -0
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.d.ts +4 -0
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.mjs +2 -3
- package/common/src/functions/utils/getSignerFromContract.d.ts +3 -0
- package/common/src/functions/utils/getUtxosFromReceipt.utils.cjs +1 -1
- package/common/src/functions/utils/getUtxosFromReceipt.utils.d.ts +6 -0
- package/common/src/functions/utils/getUtxosFromReceipt.utils.mjs +2 -26
- package/common/src/functions/utils/getUtxosFromReceiptSolana.cjs +1 -1
- package/common/src/functions/utils/getUtxosFromReceiptSolana.d.ts +7 -0
- package/common/src/functions/utils/getUtxosFromReceiptSolana.mjs +7 -24
- package/common/src/functions/utils/getWalletGroupKey.utils.d.ts +1 -0
- package/common/src/functions/utils/inLogicMetadata.d.ts +2 -0
- package/common/src/functions/utils/index.cjs +1 -1
- package/common/src/functions/utils/index.d.ts +89 -0
- package/common/src/functions/utils/index.mjs +27 -13
- package/common/src/functions/utils/involves-permit2-op.d.ts +7 -0
- package/common/src/functions/utils/ipfs.d.ts +7 -0
- package/common/src/functions/utils/is-valid-url.d.ts +1 -0
- package/common/src/functions/utils/legacyKeys.cjs +1 -0
- package/common/src/functions/utils/legacyKeys.d.ts +10 -0
- package/common/src/functions/utils/legacyKeys.mjs +8 -0
- package/common/src/functions/utils/lifi.utils.d.ts +7 -0
- package/common/src/functions/utils/map.utils.d.ts +1 -0
- package/common/src/functions/utils/memoize.utils.d.ts +1 -0
- package/common/src/functions/utils/merkleTree.utils.d.ts +2 -0
- package/common/src/functions/utils/mnemonics.cjs +1 -1
- package/common/src/functions/utils/mnemonics.d.ts +1 -0
- package/common/src/functions/utils/mnemonics.mjs +4 -6
- package/common/src/functions/utils/mutexes.utils.d.ts +2 -0
- package/common/src/functions/utils/nearIntents.utils.cjs +1 -1
- package/common/src/functions/utils/nearIntents.utils.d.ts +11 -0
- package/common/src/functions/utils/nearIntents.utils.mjs +27 -13
- package/common/src/functions/utils/networks.utils.d.ts +2 -0
- package/common/src/functions/utils/nftTokenFunctions.d.ts +2 -0
- package/common/src/functions/utils/nickname.utils.d.ts +1 -0
- package/common/src/functions/utils/pay-routing.utils.d.ts +4 -0
- package/common/src/functions/utils/postToOffscreen.d.ts +2 -0
- package/common/src/functions/utils/prepareHinkal.cjs +1 -1
- package/common/src/functions/utils/prepareHinkal.d.ts +9 -0
- package/common/src/functions/utils/prepareHinkal.mjs +2 -1
- package/common/src/functions/utils/process.utils.cjs +1 -1
- package/common/src/functions/utils/process.utils.d.ts +13 -0
- package/common/src/functions/utils/process.utils.mjs +2 -11
- package/common/src/functions/utils/proxyAvatar.utils.cjs +1 -0
- package/common/src/functions/utils/proxyAvatar.utils.d.ts +2 -0
- package/common/src/functions/utils/proxyAvatar.utils.mjs +3 -0
- package/common/src/functions/utils/publicBalance.utils.cjs +1 -1
- package/common/src/functions/utils/publicBalance.utils.d.ts +6 -0
- package/common/src/functions/utils/publicBalance.utils.mjs +37 -23
- package/common/src/functions/utils/recovery-balance.utils.cjs +1 -0
- package/common/src/functions/utils/recovery-balance.utils.d.ts +2 -0
- package/common/src/functions/utils/recovery-balance.utils.mjs +1 -0
- package/common/src/functions/utils/reloadPage.d.ts +1 -0
- package/common/src/functions/utils/requireEnv.d.ts +1 -0
- package/common/src/functions/utils/resolve-domain-address.cjs +1 -0
- package/common/src/functions/utils/resolve-domain-address.d.ts +4 -0
- package/common/src/functions/utils/resolve-domain-address.mjs +3 -0
- package/common/src/functions/utils/resolve-sync.utils.d.ts +6 -0
- package/common/src/functions/utils/rpc-int-encode.d.ts +1 -0
- package/common/src/functions/utils/serialize-utxos.utils.cjs +1 -1
- package/common/src/functions/utils/serialize-utxos.utils.d.ts +3 -0
- package/common/src/functions/utils/serialize-utxos.utils.mjs +6 -4
- package/common/src/functions/utils/serialize.utils.d.ts +10 -0
- package/common/src/functions/utils/solana-memo.d.ts +3 -0
- package/common/src/functions/utils/solana-program.utils.cjs +1 -0
- package/common/src/functions/utils/solana-program.utils.d.ts +3 -0
- package/common/src/functions/utils/solana-program.utils.mjs +17 -0
- package/common/src/functions/utils/solana-sponsored.utils.cjs +1 -0
- package/common/src/functions/utils/solana-sponsored.utils.d.ts +22 -0
- package/common/src/functions/utils/solana-sponsored.utils.mjs +30 -0
- package/common/src/functions/utils/solanaMint.utils.cjs +1 -1
- package/common/src/functions/utils/solanaMint.utils.d.ts +17 -0
- package/common/src/functions/utils/solanaMint.utils.mjs +18 -8
- package/common/src/functions/utils/solanaSendPreflight.utils.d.ts +6 -0
- package/common/src/functions/utils/sponsored-shield.utils.cjs +1 -0
- package/common/src/functions/utils/sponsored-shield.utils.d.ts +3 -0
- package/common/src/functions/utils/sponsored-shield.utils.mjs +3 -0
- package/common/src/functions/utils/string.utils.d.ts +16 -0
- package/common/src/functions/utils/temp-wallet.utils.cjs +1 -0
- package/common/src/functions/utils/temp-wallet.utils.d.ts +8 -0
- package/common/src/functions/utils/temp-wallet.utils.mjs +43 -0
- package/common/src/functions/utils/temporary-wallet-recovery.utils.cjs +1 -0
- package/common/src/functions/utils/temporary-wallet-recovery.utils.d.ts +7 -0
- package/common/src/functions/utils/temporary-wallet-recovery.utils.mjs +10 -0
- package/common/src/functions/utils/time.utils.d.ts +20 -0
- package/common/src/functions/utils/token-check.utils.d.ts +4 -0
- package/common/src/functions/utils/transfer-claimable.utils.cjs +1 -1
- package/common/src/functions/utils/transfer-claimable.utils.d.ts +8 -0
- package/common/src/functions/utils/transfer-claimable.utils.mjs +1 -4
- package/common/src/functions/utils/trimFieldValues.d.ts +4 -0
- package/common/src/functions/utils/tron.utils.cjs +1 -1
- package/common/src/functions/utils/tron.utils.d.ts +35 -0
- package/common/src/functions/utils/tron.utils.mjs +89 -152
- package/common/src/functions/utils/tronSimulation.utils.cjs +1 -1
- package/common/src/functions/utils/tronSimulation.utils.d.ts +1 -0
- package/common/src/functions/utils/tronSimulation.utils.mjs +4 -6
- package/common/src/functions/utils/tx-confirmation.utils.cjs +1 -1
- package/common/src/functions/utils/tx-confirmation.utils.d.ts +11 -0
- package/common/src/functions/utils/tx-confirmation.utils.mjs +16 -13
- package/common/src/functions/utils/upToDateState.d.ts +2 -0
- package/common/src/functions/utils/userAgent.d.ts +2 -0
- package/common/src/functions/utils/validateUsername.d.ts +5 -0
- package/common/src/functions/utils/validateWalletAddress.cjs +1 -0
- package/common/src/functions/utils/validateWalletAddress.d.ts +1 -0
- package/common/src/functions/utils/validateWalletAddress.mjs +2 -0
- package/common/src/functions/utils/voidWallets.utils.cjs +1 -0
- package/common/src/functions/utils/voidWallets.utils.d.ts +4 -0
- package/common/src/functions/utils/voidWallets.utils.mjs +1 -0
- package/common/src/functions/utils/waasStamp.cjs +1 -0
- package/common/src/functions/utils/waasStamp.d.ts +5 -0
- package/common/src/functions/utils/waasStamp.mjs +2 -0
- package/common/src/functions/utils/walletBalances.utils.d.ts +2 -0
- package/common/src/functions/web3/EIP-712.d.ts +23 -0
- package/common/src/functions/web3/connectors.utils.d.ts +9 -0
- package/common/src/functions/web3/crypto.d.ts +1 -0
- package/common/src/functions/web3/etherFunctions.d.ts +21 -0
- package/common/src/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/common/src/functions/web3/events/getInputUtxoAndBalance.d.ts +31 -0
- package/common/src/functions/web3/events/getInputUtxoAndBalance.mjs +50 -61
- package/common/src/functions/web3/events/getInputUtxosEnclave.cjs +1 -1
- package/common/src/functions/web3/events/getInputUtxosEnclave.d.ts +10 -0
- package/common/src/functions/web3/events/getInputUtxosEnclave.mjs +42 -35
- package/common/src/functions/web3/events/getShieldedBalance.cjs +1 -1
- package/common/src/functions/web3/events/getShieldedBalance.d.ts +18 -0
- package/common/src/functions/web3/events/getShieldedBalance.mjs +109 -93
- package/common/src/functions/web3/events/getTransactionLogEvents.d.ts +13 -0
- package/common/src/functions/web3/events/index.d.ts +3 -0
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -1
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.d.ts +3 -0
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +9 -6
- package/common/src/functions/web3/functionCalls/approveToken.cjs +1 -1
- package/common/src/functions/web3/functionCalls/approveToken.d.ts +4 -0
- package/common/src/functions/web3/functionCalls/approveToken.mjs +21 -107
- package/common/src/functions/web3/functionCalls/approveTokensToHinkal.d.ts +4 -0
- package/common/src/functions/web3/functionCalls/constructBatchCall.cjs +1 -1
- package/common/src/functions/web3/functionCalls/constructBatchCall.d.ts +7 -0
- package/common/src/functions/web3/functionCalls/constructBatchCall.mjs +23 -18
- package/common/src/functions/web3/functionCalls/estimateGasRelayer.d.ts +4 -0
- package/common/src/functions/web3/functionCalls/getRootHash.d.ts +2 -0
- package/common/src/functions/web3/functionCalls/recoverTransactionFromError.d.ts +2 -0
- package/common/src/functions/web3/functionCalls/relayFunctions.d.ts +3 -0
- package/common/src/functions/web3/functionCalls/submitProof.cjs +1 -0
- package/common/src/functions/web3/functionCalls/submitProof.d.ts +5 -0
- package/common/src/functions/web3/functionCalls/submitProof.mjs +26 -0
- package/common/src/functions/web3/functionCalls/transactCallDirect.d.ts +6 -0
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -1
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.d.ts +16 -0
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.mjs +81 -53
- package/common/src/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/common/src/functions/web3/functionCalls/transactCallRelayer.d.ts +32 -0
- package/common/src/functions/web3/functionCalls/transactCallRelayer.mjs +12 -8
- package/common/src/functions/web3/functionCalls/waitForErc20Approvals.d.ts +11 -0
- package/common/src/functions/web3/getContractMetadata.d.ts +5 -0
- package/common/src/functions/web3/getPublicAddressBalance.cjs +1 -1
- package/common/src/functions/web3/getPublicAddressBalance.d.ts +1 -0
- package/common/src/functions/web3/getPublicAddressBalance.mjs +6 -5
- package/common/src/functions/web3/getTokenHolder.cjs +1 -1
- package/common/src/functions/web3/getTokenHolder.d.ts +1 -0
- package/common/src/functions/web3/getTokenHolder.mjs +3 -2
- package/common/src/functions/web3/index.cjs +1 -1
- package/common/src/functions/web3/index.d.ts +11 -0
- package/common/src/functions/web3/index.mjs +1 -4
- package/common/src/functions/web3/lifiAPI.cjs +1 -1
- package/common/src/functions/web3/lifiAPI.d.ts +6 -0
- package/common/src/functions/web3/lifiAPI.mjs +38 -7
- package/common/src/functions/web3/okxAPI.d.ts +8 -0
- package/common/src/functions/web3/runContractFunction.d.ts +16 -0
- package/common/src/functions/web3/signAndSendSerializedTransaction.d.ts +2 -0
- package/common/src/index.d.ts +9 -0
- package/common/src/mutexes/chainBalanceRwLock.d.ts +18 -0
- package/common/src/mutexes/index.d.ts +2 -0
- package/common/src/mutexes/mutex.d.ts +2 -0
- package/common/src/providers/EthersProviderAdapter.cjs +1 -1
- package/common/src/providers/EthersProviderAdapter.d.ts +35 -0
- package/common/src/providers/EthersProviderAdapter.mjs +0 -3
- package/common/src/providers/SolanaProviderAdapter.cjs +1 -1
- package/common/src/providers/SolanaProviderAdapter.d.ts +48 -0
- package/common/src/providers/SolanaProviderAdapter.mjs +4 -11
- package/common/src/providers/TronProviderAdapter.cjs +1 -1
- package/common/src/providers/TronProviderAdapter.d.ts +38 -0
- package/common/src/providers/TronProviderAdapter.mjs +7 -4
- package/common/src/providers/WagmiProviderAdapter.cjs +1 -1
- package/common/src/providers/WagmiProviderAdapter.d.ts +47 -0
- package/common/src/providers/WagmiProviderAdapter.mjs +32 -39
- package/common/src/providers/exportProviers.d.ts +3 -0
- package/common/src/types/API.types.d.ts +21 -0
- package/common/src/types/ICacheDevice.d.ts +5 -0
- package/common/src/types/IMultiThreadedUtxoUtils.d.ts +8 -0
- package/common/src/types/RewardUserEnums.d.ts +11 -0
- package/common/src/types/TransactionSimulator.types.d.ts +16 -0
- package/common/src/types/WeeklyAnalytics.types.d.ts +12 -0
- package/common/src/types/activities.types.cjs +1 -1
- package/common/src/types/activities.types.d.ts +68 -0
- package/common/src/types/activities.types.mjs +1 -1
- package/common/src/types/admin.types.cjs +1 -1
- package/common/src/types/admin.types.d.ts +45 -0
- package/common/src/types/admin.types.mjs +1 -1
- package/common/src/types/all-points.types.d.ts +7 -0
- package/common/src/types/approvals.types.d.ts +41 -0
- package/common/src/types/balances.types.d.ts +39 -0
- package/common/src/types/big-intable.types.d.ts +3 -0
- package/common/src/types/bridging-tx.types.d.ts +40 -0
- package/common/src/types/cache.types.cjs +1 -1
- package/common/src/types/cache.types.d.ts +61 -0
- package/common/src/types/cache.types.mjs +1 -1
- package/common/src/types/chains.types.d.ts +11 -0
- package/common/src/types/circom-data.types.cjs +1 -1
- package/common/src/types/circom-data.types.d.ts +112 -0
- package/common/src/types/circom-data.types.mjs +1 -1
- package/common/src/types/coingecko.types.d.ts +220 -0
- package/common/src/types/commitments.types.d.ts +34 -0
- package/common/src/types/confirmation-request.types.d.ts +10 -0
- package/common/src/types/connector.types.d.ts +5 -0
- package/common/src/types/contacts.types.d.ts +7 -0
- package/common/src/types/dashboard-account.d.ts +116 -0
- package/common/src/types/dashboard-payout.types.d.ts +30 -0
- package/common/src/types/dashboard-transaction.types.d.ts +25 -0
- package/common/src/types/eip5792.types.d.ts +33 -0
- package/common/src/types/enclaveApi.types.d.ts +77 -0
- package/common/src/types/ethereum-network.types.cjs +1 -1
- package/common/src/types/ethereum-network.types.d.ts +46 -0
- package/common/src/types/ethereum-network.types.mjs +1 -1
- package/common/src/types/events.types.d.ts +6 -0
- package/common/src/types/external-action.types.cjs +1 -1
- package/common/src/types/external-action.types.d.ts +14 -0
- package/common/src/types/external-action.types.mjs +1 -1
- package/common/src/types/fee.types.d.ts +13 -0
- package/common/src/types/hinkal.types.cjs +1 -1
- package/common/src/types/hinkal.types.d.ts +82 -0
- package/common/src/types/hinkal.types.mjs +12 -20
- package/common/src/types/http.types.d.ts +8 -0
- package/common/src/types/index.cjs +1 -1
- package/common/src/types/index.d.ts +61 -0
- package/common/src/types/index.mjs +3 -2
- package/common/src/types/message.types.d.ts +5 -0
- package/common/src/types/near-intents.types.d.ts +62 -0
- package/common/src/types/new-rewards.type.d.ts +82 -0
- package/common/src/types/offscreen.types.cjs +1 -1
- package/common/src/types/offscreen.types.d.ts +8 -0
- package/common/src/types/offscreen.types.mjs +1 -1
- package/common/src/types/okx.types.d.ts +57 -0
- package/common/src/types/onramp.types.d.ts +58 -0
- package/common/src/types/pay-activities.types.d.ts +52 -0
- package/common/src/types/pay-routing.types.d.ts +9 -0
- package/common/src/types/payout-notification.types.d.ts +11 -0
- package/common/src/types/presaleReferral.types.d.ts +4 -0
- package/common/src/types/proxy-progress.types.d.ts +5 -0
- package/common/src/types/proxy.types.d.ts +19 -0
- package/common/src/types/remote-proof.types.d.ts +14 -0
- package/common/src/types/remote-tx-build.types.d.ts +298 -0
- package/common/src/types/schedule.types.d.ts +7 -0
- package/common/src/types/scheduled-transactions.types.d.ts +67 -0
- package/common/src/types/session.types.d.ts +13 -0
- package/common/src/types/signature.types.d.ts +10 -0
- package/common/src/types/slippage.types.d.ts +3 -0
- package/common/src/types/snark.types.d.ts +38 -0
- package/common/src/types/solana-transact.types.cjs +1 -0
- package/common/src/types/solana-transact.types.d.ts +35 -0
- package/common/src/types/solana-transact.types.mjs +6 -0
- package/common/src/types/solana.types.cjs +1 -0
- package/common/src/types/solana.types.d.ts +96 -0
- package/common/src/types/solana.types.mjs +6 -0
- package/common/src/types/temp-wallet.types.d.ts +9 -0
- package/common/src/types/tenderly.api.types.d.ts +266 -0
- package/common/src/types/token-prices.types.d.ts +18 -0
- package/common/src/types/token.types.cjs +1 -1
- package/common/src/types/token.types.d.ts +98 -0
- package/common/src/types/token.types.mjs +2 -2
- package/common/src/types/transact.types.cjs +1 -0
- package/common/src/types/transact.types.d.ts +53 -0
- package/common/src/types/transact.types.mjs +6 -0
- package/common/src/types/transaction.types.d.ts +159 -0
- package/common/src/types/transactions.types.d.ts +78 -0
- package/common/src/types/tron.types.d.ts +15 -0
- package/common/src/types/wc.types.d.ts +78 -0
- package/common/src/types/with-id.types.d.ts +3 -0
- package/common/src/webworker/WorkerWrapper.d.ts +9 -0
- package/common/src/webworker/logError-ScFy7p5w.js +2 -0
- package/common/src/webworker/package.json +26 -25
- package/common/src/webworker/performTaskWithWorker.d.ts +5 -0
- package/common/src/webworker/snarkjsWorker/snarkjsWorker.types.d.ts +14 -0
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.d.ts +1 -0
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerLogic.d.ts +2 -0
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts +1 -0
- package/common/src/webworker/snarkjsWorkerNode.cjs +1 -1
- package/common/src/webworker/utxoWorker/utxoWorker.types.d.ts +33 -0
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.d.ts +1 -0
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/utxoWorker/utxoWorkerLogic.d.ts +5 -0
- package/common/src/webworker/utxoWorker/utxoWorkerNode.d.ts +1 -0
- package/common/src/webworker/utxoWorkerNode.cjs +1 -1
- package/common/src/webworker/viteWorkerURL.constant.cjs +3 -3
- package/common/src/webworker/viteWorkerURL.constant.d.ts +10 -0
- package/common/src/webworker/viteWorkerURL.constant.fallback.d.ts +4 -0
- package/common/src/webworker/viteWorkerURL.constant.mjs +3 -3
- package/common/src/webworker/worker.registry.d.ts +10 -0
- package/common/src/webworker/worker.types.d.ts +33 -0
- package/common/src/webworker/workerErrorHandler.d.ts +1 -0
- package/common/src/webworker/workerFactory.d.ts +11 -0
- package/common/src/webworker/workerProxy-B_eSl85g.js +1 -0
- package/common/src/webworker/workerProxy.d.ts +39 -0
- package/common/src/webworker/zkProofWorker/zkProofWorker.types.d.ts +26 -0
- package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.d.ts +1 -0
- package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
- package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
- package/common/src/webworker/zkProofWorker/zkProofWorkerLogic.d.ts +4 -0
- package/common/src/webworker/zkProofWorker/zkProofWorkerNode.d.ts +1 -0
- package/common/src/webworker/zkProofWorkerNode.cjs +1 -1
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/internal/swapApi.cjs +1 -1
- package/internal/swapApi.d.ts +3 -3
- package/internal/swapApi.mjs +22 -25
- package/package.json +26 -25
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.d.ts +1 -0
- package/providers/prepareEthersHinkal.mjs +2 -2
- package/providers/prepareSolanaHinkal.cjs +1 -1
- package/providers/prepareSolanaHinkal.d.ts +1 -0
- package/providers/prepareSolanaHinkal.mjs +2 -2
- package/providers/prepareTronHinkal.cjs +1 -1
- package/providers/prepareTronHinkal.d.ts +1 -0
- package/providers/prepareTronHinkal.mjs +2 -2
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.d.ts +1 -0
- package/providers/prepareWagmiHinkal.mjs +2 -2
- package/services/Hinkal.cjs +1 -1
- package/services/Hinkal.d.ts +16 -10
- package/services/Hinkal.mjs +29 -17
- package/types/IHinkal.d.ts +16 -10
- package/types/swap.types.d.ts +3 -20
- package/common/src/API/accessCodeCalls.cjs +0 -1
- package/common/src/API/accessCodeCalls.mjs +0 -13
- package/common/src/API/brotherhoodCalls.cjs +0 -1
- package/common/src/API/brotherhoodCalls.mjs +0 -17
- package/common/src/API/callOdosAPI.cjs +0 -1
- package/common/src/API/callOdosAPI.mjs +0 -18
- package/common/src/API/callOneInchAPI.cjs +0 -1
- package/common/src/API/callOneInchAPI.mjs +0 -13
- package/common/src/API/deposit-and-withdraw-status-calls.cjs +0 -1
- package/common/src/API/deposit-and-withdraw-status-calls.mjs +0 -13
- package/common/src/API/generate-trading-points.cjs +0 -1
- package/common/src/API/generate-trading-points.mjs +0 -23
- package/common/src/API/leaderboardCalls.cjs +0 -1
- package/common/src/API/leaderboardCalls.mjs +0 -8
- package/common/src/API/referralsCalls.cjs +0 -1
- package/common/src/API/referralsCalls.mjs +0 -11
- package/common/src/API/send-telegram-callback.cjs +0 -1
- package/common/src/API/send-telegram-callback.mjs +0 -11
- package/common/src/constants/tasks.constants.cjs +0 -1
- package/common/src/constants/tasks.constants.mjs +0 -124
- package/common/src/crypto/ecdh-dual-path.cjs +0 -1
- package/common/src/crypto/ecdh-dual-path.mjs +0 -6
- package/common/src/data-structures/Hinkal/hinkalMultiSend.cjs +0 -1
- package/common/src/data-structures/Hinkal/hinkalMultiSend.mjs +0 -12
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.cjs +0 -1
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.mjs +0 -128
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.cjs +0 -1
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs +0 -34
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +0 -172
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.mjs +0 -94
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.mjs +0 -134
- package/common/src/data-structures/TokenDBs/PublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/PublicTokensDB.mjs +0 -32
- package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.mjs +0 -41
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.cjs +0 -1
- package/common/src/data-structures/TokenDBs/TronPublicTokensDB.mjs +0 -47
- package/common/src/data-structures/TokenDBs/index.cjs +0 -1
- package/common/src/data-structures/TokenDBs/index.mjs +0 -6
- package/common/src/externalABIs/IQuoterV2.json.cjs +0 -1
- package/common/src/externalABIs/IQuoterV2.json.mjs +0 -203
- package/common/src/externalABIs/ISwapRouter.json.cjs +0 -1
- package/common/src/externalABIs/ISwapRouter.json.mjs +0 -537
- package/common/src/externalABIs/IUniswapV3Factory.json.cjs +0 -1
- package/common/src/externalABIs/IUniswapV3Factory.json.mjs +0 -188
- package/common/src/externalABIs/IUniswapV3Pool.json.cjs +0 -1
- package/common/src/externalABIs/IUniswapV3Pool.json.mjs +0 -938
- package/common/src/externalABIs/UniswapV2PoolAbi.json.cjs +0 -1
- package/common/src/externalABIs/UniswapV2PoolAbi.json.mjs +0 -78
- package/common/src/functions/pre-transaction/interaction-to-action.cjs +0 -1
- package/common/src/functions/pre-transaction/interaction-to-action.mjs +0 -1
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.cjs +0 -1
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.mjs +0 -32
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.cjs +0 -1
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +0 -29
- package/common/src/functions/private-wallet/opProducer.cjs +0 -1
- package/common/src/functions/private-wallet/opProducer.mjs +0 -3
- package/common/src/functions/snarkjs/generateZkProofEnclave.cjs +0 -1
- package/common/src/functions/snarkjs/generateZkProofEnclave.mjs +0 -27
- package/common/src/functions/utils/bit.operations.cjs +0 -1
- package/common/src/functions/utils/bit.operations.mjs +0 -4
- package/common/src/functions/utils/get-signature-header.cjs +0 -1
- package/common/src/functions/utils/get-signature-header.mjs +0 -4
- package/common/src/functions/utils/ipfs.cjs +0 -1
- package/common/src/functions/utils/ipfs.mjs +0 -1
- package/common/src/functions/utils/reloadPage.cjs +0 -1
- package/common/src/functions/utils/reloadPage.mjs +0 -4
- package/common/src/functions/web3/getSolanaPriorityFee.cjs +0 -1
- package/common/src/functions/web3/getSolanaPriorityFee.mjs +0 -26
- package/common/src/functions/web3/odosAPI.cjs +0 -1
- package/common/src/functions/web3/odosAPI.mjs +0 -35
- package/common/src/functions/web3/oneInchAPI.cjs +0 -1
- package/common/src/functions/web3/oneInchAPI.mjs +0 -34
- package/common/src/functions/web3/uniswapAPI.cjs +0 -1
- package/common/src/functions/web3/uniswapAPI.mjs +0 -60
- package/common/src/types/new-rewards.type.cjs +0 -1
- package/common/src/types/new-rewards.type.mjs +0 -10
- package/common/src/types/scheduled-transactions.types.cjs +0 -1
- package/common/src/types/scheduled-transactions.types.mjs +0 -6
- package/common/src/webworker/logError-CZYZ3oyV.js +0 -2
- package/common/src/webworker/workerProxy-DPeuP2Mg.js +0 -1
|
@@ -1,93 +1,132 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { isTronLike as e } from "../../constants/chains.constants.mjs";
|
|
2
|
+
import { CIRCOM_P as t, zeroAddress as n } from "../../constants/protocol.constants.mjs";
|
|
3
|
+
import { BPS_DENOMINATOR as r } from "../../constants/fees.constants.mjs";
|
|
4
|
+
import { UserKeys as i } from "../../data-structures/crypto-keys/keys.mjs";
|
|
5
|
+
import { defaultHookData as a } from "../../types/circom-data.types.mjs";
|
|
6
|
+
import { encryptEncryptionKeyAndStealthAddress as o, encryptUtxo as s } from "../../data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
7
|
+
import { getExternalActionIdHash as c } from "../utils/external-action.utils.mjs";
|
|
8
|
+
import { getOriginalSender as l } from "./getOriginalSender.mjs";
|
|
9
|
+
import { ethers as u } from "ethers";
|
|
9
10
|
//#region libs/shared/common/src/functions/snarkjs/common.snarkjs.ts
|
|
10
|
-
var
|
|
11
|
+
var d = (e) => {
|
|
11
12
|
if (e.H0?.[0] !== void 0 && e.H0[1] !== void 0) return [e.H0[0], e.H0[1]];
|
|
12
|
-
if (e.randomization !== void 0) return n.getH0FromRandomization(e.randomization);
|
|
13
13
|
throw Error("UTXO missing H0 coordinates for proof input");
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
throw Error("UTXO missing randomization for old-style proof input");
|
|
18
|
-
}, d = Array.from({ length: 25 }, () => "0"), f = (e) => e.length > 0 && e.every((e) => e.every((e) => BigInt(e.amount) === 0n)), p = (e) => ({
|
|
19
|
-
inCommitmentSiblings: e.map((e) => e.map(() => [...d])),
|
|
20
|
-
inCommitmentSiblingSides: e.map((e) => e.map(() => [...d])),
|
|
14
|
+
}, f = Array.from({ length: 25 }, () => "0"), p = (e) => e.length > 0 && e.every((e) => e.every((e) => BigInt(e.amount) === 0n)), m = (e) => ({
|
|
15
|
+
inCommitmentSiblings: e.map((e) => e.map(() => [...f])),
|
|
16
|
+
inCommitmentSiblingSides: e.map((e) => e.map(() => [...f])),
|
|
21
17
|
inNullifiers: e.map((e) => e.map(() => "0"))
|
|
22
|
-
}),
|
|
18
|
+
}), h = (e) => e.map((e) => e.map((e) => e.amount === 0n ? "0" : e.getCommitment())), g = (e, n, r = !1) => {
|
|
23
19
|
let i = [];
|
|
24
|
-
for (let a = 0; a <
|
|
20
|
+
for (let a = 0; a < e.length; a += 1) {
|
|
25
21
|
let o = 0n, s = 0n;
|
|
26
|
-
for (let
|
|
22
|
+
for (let t = 0; t < e[a].length; t += 1) o += e[a][t].amount;
|
|
27
23
|
for (let e = 0; e < n[a].length; e += 1) s += n[a][e].amount;
|
|
28
|
-
s - o < 0 ? r ? i.push(s - o) : i.push(
|
|
24
|
+
s - o < 0 ? r ? i.push(s - o) : i.push(t + (s - o)) : i.push(s - o);
|
|
29
25
|
}
|
|
30
26
|
return i;
|
|
31
|
-
},
|
|
27
|
+
}, _ = (e) => e.map((e) => e >= 0n ? 0n : e), v = (e, t) => {
|
|
28
|
+
let n = BigInt(Math.round(t * 100));
|
|
29
|
+
return e.map((e) => e < 0n ? e : e - e * n / r);
|
|
30
|
+
}, y = (e) => {
|
|
32
31
|
if (e.length === 0) return [];
|
|
33
32
|
let t = [[""]];
|
|
34
33
|
for (let n = 0; n < e.length; n += 1) n > 0 && t.push([""]), e[n].forEach((e, r) => {
|
|
35
|
-
t[n][r] = `0x${Buffer.from(
|
|
34
|
+
t[n][r] = `0x${Buffer.from(s(e)).toString("hex")}`;
|
|
36
35
|
});
|
|
37
36
|
return t;
|
|
38
|
-
},
|
|
37
|
+
}, b = (e, t) => `0x${Buffer.from(o(e, t.stealthAddress)).toString("hex")}`, x = (e) => {
|
|
39
38
|
let t = { ...e };
|
|
40
|
-
return t.amountChanges = e.amountChanges.map((e) => e.toString()), t.calldataHash = e.calldataHash.toString(), t.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
return t.amountChanges = e.amountChanges.map((e) => e.toString()), t.calldataHash = e.calldataHash.toString(), t.stealthAddressStructure.H0x = e.stealthAddressStructure.H0x.toString(), t.stealthAddressStructure.H0y = e.stealthAddressStructure.H0y.toString(), t.stealthAddressStructure.H1x = e.stealthAddressStructure.H1x.toString(), t.stealthAddressStructure.H1y = e.stealthAddressStructure.H1y.toString(), t.stealthAddressStructure.stealthAddress = e.stealthAddressStructure.stealthAddress.toString(), t.rootHashHinkal = e.rootHashHinkal?.toString(), t.rootHashHinkalIndex = e.rootHashHinkalIndex?.toString(), t.externalActionData = {
|
|
40
|
+
...e.externalActionData,
|
|
41
|
+
externalActionId: e.externalActionData.externalActionId?.toString()
|
|
42
|
+
}, t.emporiumMessage = e.emporiumMessage?.toString(), t.slippageValues = e.slippageValues.map((e) => e.toString()), t.feeStructure.flatFee = e.feeStructure.flatFee.toString(), t.feeStructure.variableRate = e.feeStructure.variableRate.toString(), e.newRootHash !== void 0 && (t.newRootHash = e.newRootHash.toString()), e.insertedLeafIndex !== void 0 && (t.insertedLeafIndex = e.insertedLeafIndex.toString()), t;
|
|
43
|
+
}, S = (e) => ({
|
|
44
|
+
...e,
|
|
45
|
+
amountChanges: e.amountChanges.map((e) => BigInt(e)),
|
|
46
|
+
calldataHash: BigInt(e.calldataHash),
|
|
47
|
+
rootHashHinkal: BigInt(e.rootHashHinkal),
|
|
48
|
+
rootHashHinkalIndex: BigInt(e.rootHashHinkalIndex),
|
|
49
|
+
externalActionData: {
|
|
50
|
+
...e.externalActionData,
|
|
51
|
+
externalActionId: BigInt(e.externalActionData.externalActionId)
|
|
52
|
+
},
|
|
53
|
+
emporiumMessage: BigInt(e.emporiumMessage),
|
|
54
|
+
stealthAddressStructure: {
|
|
55
|
+
H0x: BigInt(e.stealthAddressStructure.H0x),
|
|
56
|
+
H0y: BigInt(e.stealthAddressStructure.H0y),
|
|
57
|
+
H1x: BigInt(e.stealthAddressStructure.H1x),
|
|
58
|
+
H1y: BigInt(e.stealthAddressStructure.H1y),
|
|
59
|
+
stealthAddress: BigInt(e.stealthAddressStructure.stealthAddress)
|
|
60
|
+
},
|
|
61
|
+
feeStructure: {
|
|
62
|
+
...e.feeStructure,
|
|
63
|
+
flatFee: BigInt(e.feeStructure.flatFee),
|
|
64
|
+
variableRate: BigInt(e.feeStructure.variableRate)
|
|
65
|
+
},
|
|
66
|
+
slippageValues: e.slippageValues.map((e) => BigInt(e)),
|
|
67
|
+
newRootHash: e.newRootHash === void 0 ? void 0 : BigInt(e.newRootHash),
|
|
68
|
+
insertedLeafIndex: e.insertedLeafIndex === void 0 ? void 0 : BigInt(e.insertedLeafIndex)
|
|
69
|
+
}), C = (r, i, o, s, d, f, p, m, h, g, _, v, y, b = "0x", x, S = !1) => {
|
|
70
|
+
let C = x !== void 0 && e(x), w = Object.values(h || a), T = o ?? n, E = y ?? l(T, i), D = typeof s == "bigint" ? s : c(s), O = [
|
|
71
|
+
v.feeToken,
|
|
72
|
+
v.flatFee,
|
|
73
|
+
v.variableRate
|
|
74
|
+
], k = u.AbiCoder.defaultAbiCoder().encode([
|
|
47
75
|
"uint16",
|
|
48
76
|
"address",
|
|
49
|
-
"address",
|
|
50
77
|
"uint256",
|
|
51
|
-
"bytes"
|
|
78
|
+
"tuple(address externalAddress, uint256 externalActionId, bytes externalActionMetadata)",
|
|
79
|
+
...C ? [] : ["int256[]"]
|
|
52
80
|
], [
|
|
53
|
-
|
|
81
|
+
r,
|
|
54
82
|
i,
|
|
55
|
-
s,
|
|
56
|
-
typeof l == "bigint" ? l : a(l),
|
|
57
|
-
u
|
|
58
|
-
]), x = c.AbiCoder.defaultAbiCoder().encode([
|
|
59
|
-
"tuple(address, address, bytes, bytes)",
|
|
60
|
-
"bytes[][]",
|
|
61
|
-
"tuple(address, uint256, uint256)",
|
|
62
|
-
"int256[]",
|
|
63
|
-
"bool[]",
|
|
64
|
-
"tuple(uint8 v, bytes32 r, bytes32 s, uint256 accessKey, uint256 nonce, address ethereumAddress)",
|
|
65
|
-
"address"
|
|
66
|
-
], [
|
|
67
|
-
v,
|
|
68
83
|
d,
|
|
69
84
|
[
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
85
|
+
T,
|
|
86
|
+
D,
|
|
87
|
+
f
|
|
88
|
+
],
|
|
89
|
+
...C ? [] : [g]
|
|
90
|
+
]), A = u.AbiCoder.defaultAbiCoder().encode([
|
|
91
|
+
"tuple(address, address, bytes, bytes)",
|
|
92
|
+
"bytes[][]",
|
|
93
|
+
...C ? ["tuple(address, uint256, uint256)", "int256[]"] : [
|
|
94
|
+
"bytes",
|
|
95
|
+
"tuple(address, uint256, uint256)",
|
|
96
|
+
"bool[]"
|
|
73
97
|
],
|
|
98
|
+
"address",
|
|
99
|
+
"bytes",
|
|
100
|
+
...C ? ["bool"] : []
|
|
101
|
+
], [
|
|
102
|
+
w,
|
|
74
103
|
p,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
104
|
+
...C ? [O, g] : [
|
|
105
|
+
m,
|
|
106
|
+
O,
|
|
107
|
+
_
|
|
108
|
+
],
|
|
109
|
+
E,
|
|
110
|
+
b,
|
|
111
|
+
...C ? [S] : []
|
|
112
|
+
]), j = BigInt(u.keccak256(k)), M = BigInt(u.keccak256(A)), N = u.AbiCoder.defaultAbiCoder().encode(["uint256", "uint256"], [j, M]);
|
|
113
|
+
return BigInt(u.keccak256(N)) % t;
|
|
114
|
+
}, w = (e, t, n, r, i) => {
|
|
115
|
+
if (e.startsWith("mainEVMCircuitMin0")) return 3;
|
|
116
|
+
let a = e.startsWith("mainTronCircuit");
|
|
117
|
+
return 2 + t.length + n.length + 1 + r.flat().length + i.flat().length + 1 + 1 + (a ? 2 : 5);
|
|
118
|
+
}, T = (e, t, n) => {
|
|
119
|
+
let r = i.getH1FromH0(e, t), a = BigInt(i.getStealthAddress(e, t, n));
|
|
82
120
|
return {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
121
|
+
H0x: e[0],
|
|
122
|
+
H0y: e[1],
|
|
123
|
+
H1x: r[0],
|
|
124
|
+
H1y: r[1],
|
|
86
125
|
stealthAddress: a
|
|
87
126
|
};
|
|
88
|
-
},
|
|
89
|
-
let { H0:
|
|
90
|
-
return
|
|
91
|
-
},
|
|
127
|
+
}, E = (e, t, n) => {
|
|
128
|
+
let { H0: r } = i.getRandomizedStealthPair(e, t);
|
|
129
|
+
return T(r, t, n);
|
|
130
|
+
}, D = (e, t, n = !1) => t.length === 0 ? "mainEVMCircuitMin0" : `${n ? "mainTronCircuit" : "mainEVMCircuit"}${e.length}x${e[0].length}x${t[0].length}`;
|
|
92
131
|
//#endregion
|
|
93
|
-
export {
|
|
132
|
+
export { h as buildOutCommitments, v as buildSwapSlippageValues, m as buildZeroInputMerkleDataFromSerialized, g as calcAmountChanges, y as calcEncryptedOutputs, b as calcOnchainEncryptedOutput, w as calcPublicSignalCount, E as calcStealthAddressStructure, T as calcStealthAddressStructureFromH0, C as createCallDataHash, S as deserializeCircomData, _ as getSlippageValues, d as getUtxoCircuitH0Coords, D as getZkProofVerifierName, p as hasOnlyZeroAmounts, x as serializeCircomData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../../constants/vite.constants.cjs`),t=require(`../../API/getServerURL.cjs`);var n=e.isNotProduction?`https://enclave-staging-v2.hinkal.io`:`https://enclave-server.hinkal.io`,r=`${t.BACK_END_URL}/verifiers-v2/`,i={mainEVMCircuit1x2x1v1x1Wasm:`${r}mainEVMCircuit1x2x1-1.1.wasm`,mainEVMCircuit1x2x1v1x1Zkey:`${r}mainEVMCircuit1x2x1_final-1.1.zkey`,mainEVMCircuit1x6x1v1x1Wasm:`${r}mainEVMCircuit1x6x1-1.1.wasm`,mainEVMCircuit1x6x1v1x1Zkey:`${r}mainEVMCircuit1x6x1_final-1.1.zkey`,mainEVMCircuit2x2x1v1x1Wasm:`${r}mainEVMCircuit2x2x1-1.1.wasm`,mainEVMCircuit2x2x1v1x1Zkey:`${r}mainEVMCircuit2x2x1_final-1.1.zkey`,mainEVMCircuit2x6x1v1x1Wasm:`${r}mainEVMCircuit2x6x1-1.1.wasm`,mainEVMCircuit2x6x1v1x1Zkey:`${r}mainEVMCircuit2x6x1_final-1.1.zkey`,mainEVMCircuit3x2x1v1x1Wasm:`${r}mainEVMCircuit3x2x1-1.1.wasm`,mainEVMCircuit3x2x1v1x1Zkey:`${r}mainEVMCircuit3x2x1_final-1.1.zkey`,mainEVMCircuit3x6x1v1x1Wasm:`${r}mainEVMCircuit3x6x1-1.1.wasm`,mainEVMCircuit3x6x1v1x1Zkey:`${r}mainEVMCircuit3x6x1_final-1.1.zkey`,mainEVMCircuit4x2x1v1x1Wasm:`${r}mainEVMCircuit4x2x1-1.1.wasm`,mainEVMCircuit4x2x1v1x1Zkey:`${r}mainEVMCircuit4x2x1_final-1.1.zkey`,mainEVMCircuit4x6x1v1x1Wasm:`${r}mainEVMCircuit4x6x1-1.1.wasm`,mainEVMCircuit4x6x1v1x1Zkey:`${r}mainEVMCircuit4x6x1_final-1.1.zkey`,mainEVMCircuit5x2x1v1x1Wasm:`${r}mainEVMCircuit5x2x1-1.1.wasm`,mainEVMCircuit5x2x1v1x1Zkey:`${r}mainEVMCircuit5x2x1_final-1.1.zkey`,mainEVMCircuit5x6x1v1x1Wasm:`${r}mainEVMCircuit5x6x1-1.1.wasm`,mainEVMCircuit5x6x1v1x1Zkey:`${r}mainEVMCircuit5x6x1_final-1.1.zkey`,mainEVMCircuit1x2x2v1x1Wasm:`${r}mainEVMCircuit1x2x2-1.1.wasm`,mainEVMCircuit1x2x2v1x1Zkey:`${r}mainEVMCircuit1x2x2_final-1.1.zkey`,mainEVMCircuit1x6x2v1x1Wasm:`${r}mainEVMCircuit1x6x2-1.1.wasm`,mainEVMCircuit1x6x2v1x1Zkey:`${r}mainEVMCircuit1x6x2_final-1.1.zkey`,mainEVMCircuit2x2x2v1x1Wasm:`${r}mainEVMCircuit2x2x2-1.1.wasm`,mainEVMCircuit2x2x2v1x1Zkey:`${r}mainEVMCircuit2x2x2_final-1.1.zkey`,mainEVMCircuit2x6x2v1x1Wasm:`${r}mainEVMCircuit2x6x2-1.1.wasm`,mainEVMCircuit2x6x2v1x1Zkey:`${r}mainEVMCircuit2x6x2_final-1.1.zkey`,mainEVMCircuitMin0v1x1Wasm:`${r}mainEVMCircuitMin0-1.1.wasm`,mainEVMCircuitMin0v1x1Zkey:`${r}mainEVMCircuitMin0_final-1.1.zkey`,mainSolanaCircuit1x2x1v1x1Zkey:`${r}mainSolanaCircuit1x2x1_final-1.1.zkey`,mainSolanaCircuit1x2x1v1x1Wasm:`${r}mainSolanaCircuit1x2x1-1.1.wasm`,mainSolanaCircuit1x2x2v1x1Zkey:`${r}mainSolanaCircuit1x2x2_final-1.1.zkey`,mainSolanaCircuit1x2x2v1x1Wasm:`${r}mainSolanaCircuit1x2x2-1.1.wasm`,mainSolanaCircuit1x6x1v1x1Zkey:`${r}mainSolanaCircuit1x6x1_final-1.1.zkey`,mainSolanaCircuit1x6x1v1x1Wasm:`${r}mainSolanaCircuit1x6x1-1.1.wasm`,mainSolanaCircuit1x6x2v1x1Zkey:`${r}mainSolanaCircuit1x6x2_final-1.1.zkey`,mainSolanaCircuit1x6x2v1x1Wasm:`${r}mainSolanaCircuit1x6x2-1.1.wasm`,mainSolanaCircuit2x2x1v1x1Zkey:`${r}mainSolanaCircuit2x2x1_final-1.1.zkey`,mainSolanaCircuit2x2x1v1x1Wasm:`${r}mainSolanaCircuit2x2x1-1.1.wasm`,mainSolanaCircuit2x6x1v1x1Zkey:`${r}mainSolanaCircuit2x6x1_final-1.1.zkey`,mainSolanaCircuit2x6x1v1x1Wasm:`${r}mainSolanaCircuit2x6x1-1.1.wasm`,commitmentCalculator1x2v1x1Wasm:`${r}commitmentCalculator1x2-1.1.wasm`,commitmentCalculator1x2v1x1Zkey:`${r}commitmentCalculator1x2_final-1.1.zkey`,commitmentCalculator1x2v1x1VK:`${r}commitmentCalculator1x2_final-1.1_verification_key.json`,commitmentCalculator1x6v1x1Wasm:`${r}commitmentCalculator1x6-1.1.wasm`,commitmentCalculator1x6v1x1Zkey:`${r}commitmentCalculator1x6_final-1.1.zkey`,commitmentCalculator1x6v1x1VK:`${r}commitmentCalculator1x6_final-1.1_verification_key.json`,commitmentCalculator2x2v1x1Wasm:`${r}commitmentCalculator2x2-1.1.wasm`,commitmentCalculator2x2v1x1Zkey:`${r}commitmentCalculator2x2_final-1.1.zkey`,commitmentCalculator2x2v1x1VK:`${r}commitmentCalculator2x2_final-1.1_verification_key.json`,commitmentCalculator2x6v1x1Wasm:`${r}commitmentCalculator2x6-1.1.wasm`,commitmentCalculator2x6v1x1Zkey:`${r}commitmentCalculator2x6_final-1.1.zkey`,commitmentCalculator2x6v1x1VK:`${r}commitmentCalculator2x6_final-1.1_verification_key.json`,commitmentCalculator3x2v1x1Wasm:`${r}commitmentCalculator3x2-1.1.wasm`,commitmentCalculator3x2v1x1Zkey:`${r}commitmentCalculator3x2_final-1.1.zkey`,commitmentCalculator3x2v1x1VK:`${r}commitmentCalculator3x2_final-1.1_verification_key.json`,commitmentCalculator3x6v1x1Wasm:`${r}commitmentCalculator3x6-1.1.wasm`,commitmentCalculator3x6v1x1Zkey:`${r}commitmentCalculator3x6_final-1.1.zkey`,commitmentCalculator3x6v1x1VK:`${r}commitmentCalculator3x6_final-1.1_verification_key.json`,commitmentCalculator4x2v1x1Wasm:`${r}commitmentCalculator4x2-1.1.wasm`,commitmentCalculator4x2v1x1Zkey:`${r}commitmentCalculator4x2_final-1.1.zkey`,commitmentCalculator4x2v1x1VK:`${r}commitmentCalculator4x2_final-1.1_verification_key.json`,commitmentCalculator4x6v1x1Wasm:`${r}commitmentCalculator4x6-1.1.wasm`,commitmentCalculator4x6v1x1Zkey:`${r}commitmentCalculator4x6_final-1.1.zkey`,commitmentCalculator4x6v1x1VK:`${r}commitmentCalculator4x6_final-1.1_verification_key.json`,commitmentCalculator5x2v1x1Wasm:`${r}commitmentCalculator5x2-1.1.wasm`,commitmentCalculator5x2v1x1Zkey:`${r}commitmentCalculator5x2_final-1.1.zkey`,commitmentCalculator5x2v1x1VK:`${r}commitmentCalculator5x2_final-1.1_verification_key.json`,commitmentCalculator5x6v1x1Wasm:`${r}commitmentCalculator5x6-1.1.wasm`,commitmentCalculator5x6v1x1Zkey:`${r}commitmentCalculator5x6_final-1.1.zkey`,commitmentCalculator5x6v1x1VK:`${r}commitmentCalculator5x6_final-1.1_verification_key.json`},a={mainEVMCircuit1x2x1v1x1Wasm:`mainEVMCircuit1x2x1-1.1.wasm`,mainEVMCircuit1x2x1v1x1Zkey:`mainEVMCircuit1x2x1_final-1.1.zkey`,mainEVMCircuit1x6x1v1x1Wasm:`mainEVMCircuit1x6x1-1.1.wasm`,mainEVMCircuit1x6x1v1x1Zkey:`mainEVMCircuit1x6x1_final-1.1.zkey`,mainEVMCircuit2x2x1v1x1Wasm:`mainEVMCircuit2x2x1-1.1.wasm`,mainEVMCircuit2x2x1v1x1Zkey:`mainEVMCircuit2x2x1_final-1.1.zkey`,mainEVMCircuit2x6x1v1x1Wasm:`mainEVMCircuit2x6x1-1.1.wasm`,mainEVMCircuit2x6x1v1x1Zkey:`mainEVMCircuit2x6x1_final-1.1.zkey`,mainEVMCircuit3x2x1v1x1Wasm:`mainEVMCircuit3x2x1-1.1.wasm`,mainEVMCircuit3x2x1v1x1Zkey:`mainEVMCircuit3x2x1_final-1.1.zkey`,mainEVMCircuit3x6x1v1x1Wasm:`mainEVMCircuit3x6x1-1.1.wasm`,mainEVMCircuit3x6x1v1x1Zkey:`mainEVMCircuit3x6x1_final-1.1.zkey`,mainEVMCircuit4x2x1v1x1Wasm:`mainEVMCircuit4x2x1-1.1.wasm`,mainEVMCircuit4x2x1v1x1Zkey:`mainEVMCircuit4x2x1_final-1.1.zkey`,mainEVMCircuit4x6x1v1x1Wasm:`mainEVMCircuit4x6x1-1.1.wasm`,mainEVMCircuit4x6x1v1x1Zkey:`mainEVMCircuit4x6x1_final-1.1.zkey`,mainEVMCircuit5x2x1v1x1Wasm:`mainEVMCircuit5x2x1-1.1.wasm`,mainEVMCircuit5x2x1v1x1Zkey:`mainEVMCircuit5x2x1_final-1.1.zkey`,mainEVMCircuit5x6x1v1x1Wasm:`mainEVMCircuit5x6x1-1.1.wasm`,mainEVMCircuit5x6x1v1x1Zkey:`mainEVMCircuit5x6x1_final-1.1.zkey`,mainEVMCircuit1x2x2v1x1Wasm:`mainEVMCircuit1x2x2-1.1.wasm`,mainEVMCircuit1x2x2v1x1Zkey:`mainEVMCircuit1x2x2_final-1.1.zkey`,mainEVMCircuit1x6x2v1x1Wasm:`mainEVMCircuit1x6x2-1.1.wasm`,mainEVMCircuit1x6x2v1x1Zkey:`mainEVMCircuit1x6x2_final-1.1.zkey`,mainEVMCircuit2x2x2v1x1Wasm:`mainEVMCircuit2x2x2-1.1.wasm`,mainEVMCircuit2x2x2v1x1Zkey:`mainEVMCircuit2x2x2_final-1.1.zkey`,mainEVMCircuit2x6x2v1x1Wasm:`mainEVMCircuit2x6x2-1.1.wasm`,mainEVMCircuit2x6x2v1x1Zkey:`mainEVMCircuit2x6x2_final-1.1.zkey`,mainEVMCircuitMin0v1x1Wasm:`mainEVMCircuitMin0-1.1.wasm`,mainEVMCircuitMin0v1x1Zkey:`mainEVMCircuitMin0_final-1.1.zkey`,mainSolanaCircuit1x2x1v1x1Zkey:`mainSolanaCircuit1x2x1_final-1.1.zkey`,mainSolanaCircuit1x2x1v1x1Wasm:`mainSolanaCircuit1x2x1-1.1.wasm`,mainSolanaCircuit1x2x2v1x1Zkey:`mainSolanaCircuit1x2x2_final-1.1.zkey`,mainSolanaCircuit1x2x2v1x1Wasm:`mainSolanaCircuit1x2x2-1.1.wasm`,mainSolanaCircuit1x6x1v1x1Zkey:`mainSolanaCircuit1x6x1_final-1.1.zkey`,mainSolanaCircuit1x6x1v1x1Wasm:`mainSolanaCircuit1x6x1-1.1.wasm`,mainSolanaCircuit1x6x2v1x1Zkey:`mainSolanaCircuit1x6x2_final-1.1.zkey`,mainSolanaCircuit1x6x2v1x1Wasm:`mainSolanaCircuit1x6x2-1.1.wasm`,mainSolanaCircuit2x2x1v1x1Zkey:`mainSolanaCircuit2x2x1_final-1.1.zkey`,mainSolanaCircuit2x2x1v1x1Wasm:`mainSolanaCircuit2x2x1-1.1.wasm`,mainSolanaCircuit2x6x1v1x1Zkey:`mainSolanaCircuit2x6x1_final-1.1.zkey`,mainSolanaCircuit2x6x1v1x1Wasm:`mainSolanaCircuit2x6x1-1.1.wasm`,commitmentCalculator1x2v1x1Zkey:`commitmentCalculator1x2_final-1.1.zkey`,commitmentCalculator1x2v1x1Wasm:`commitmentCalculator1x2-1.1.wasm`,commitmentCalculator1x2v1x1VK:`commitmentCalculator1x2_final-1.1_verification_key.json`,commitmentCalculator1x6v1x1Zkey:`commitmentCalculator1x6_final-1.1.zkey`,commitmentCalculator1x6v1x1Wasm:`commitmentCalculator1x6-1.1.wasm`,commitmentCalculator1x6v1x1VK:`commitmentCalculator1x6_final-1.1_verification_key.json`,commitmentCalculator2x2v1x1Zkey:`commitmentCalculator2x2_final-1.1.zkey`,commitmentCalculator2x2v1x1Wasm:`commitmentCalculator2x2-1.1.wasm`,commitmentCalculator2x2v1x1VK:`commitmentCalculator2x2_final-1.1_verification_key.json`,commitmentCalculator2x6v1x1Zkey:`commitmentCalculator2x6_final-1.1.zkey`,commitmentCalculator2x6v1x1Wasm:`commitmentCalculator2x6-1.1.wasm`,commitmentCalculator2x6v1x1VK:`commitmentCalculator2x6_final-1.1_verification_key.json`,commitmentCalculator3x2v1x1Zkey:`commitmentCalculator3x2_final-1.1.zkey`,commitmentCalculator3x2v1x1Wasm:`commitmentCalculator3x2-1.1.wasm`,commitmentCalculator3x2v1x1VK:`commitmentCalculator3x2_final-1.1_verification_key.json`,commitmentCalculator3x6v1x1Zkey:`commitmentCalculator3x6_final-1.1.zkey`,commitmentCalculator3x6v1x1Wasm:`commitmentCalculator3x6-1.1.wasm`,commitmentCalculator3x6v1x1VK:`commitmentCalculator3x6_final-1.1_verification_key.json`,commitmentCalculator4x2v1x1Zkey:`commitmentCalculator4x2_final-1.1.zkey`,commitmentCalculator4x2v1x1Wasm:`commitmentCalculator4x2-1.1.wasm`,commitmentCalculator4x2v1x1VK:`commitmentCalculator4x2_final-1.1_verification_key.json`,commitmentCalculator4x6v1x1Zkey:`commitmentCalculator4x6_final-1.1.zkey`,commitmentCalculator4x6v1x1Wasm:`commitmentCalculator4x6-1.1.wasm`,commitmentCalculator4x6v1x1VK:`commitmentCalculator4x6_final-1.1_verification_key.json`,commitmentCalculator5x2v1x1Zkey:`commitmentCalculator5x2_final-1.1.zkey`,commitmentCalculator5x2v1x1Wasm:`commitmentCalculator5x2-1.1.wasm`,commitmentCalculator5x2v1x1VK:`commitmentCalculator5x2_final-1.1_verification_key.json`,commitmentCalculator5x6v1x1Zkey:`commitmentCalculator5x6_final-1.1.zkey`,commitmentCalculator5x6v1x1Wasm:`commitmentCalculator5x6-1.1.wasm`,commitmentCalculator5x6v1x1VK:`commitmentCalculator5x6_final-1.1_verification_key.json`};exports.ENCLAVE_URL=n,exports.localVerifiers=a,exports.prodVerifiers=i;
|
|
1
|
+
const e=require(`../../constants/vite.constants.cjs`),t=require(`../../API/getServerURL.cjs`);var n=e.isNotProduction?`https://enclave-staging-v2.hinkal.io`:`https://enclave-server.hinkal.io`,r=`${t.BACK_END_URL}/verifiers-v4/`,i={mainEVMCircuit1x2x1v4Wasm:`${r}mainEVMCircuit1x2x1-4.wasm`,mainEVMCircuit1x2x1v4Zkey:`${r}mainEVMCircuit1x2x1_final-4.zkey`,mainEVMCircuit1x6x1v4Wasm:`${r}mainEVMCircuit1x6x1-4.wasm`,mainEVMCircuit1x6x1v4Zkey:`${r}mainEVMCircuit1x6x1_final-4.zkey`,mainEVMCircuit2x2x1v4Wasm:`${r}mainEVMCircuit2x2x1-4.wasm`,mainEVMCircuit2x2x1v4Zkey:`${r}mainEVMCircuit2x2x1_final-4.zkey`,mainEVMCircuit2x6x1v4Wasm:`${r}mainEVMCircuit2x6x1-4.wasm`,mainEVMCircuit2x6x1v4Zkey:`${r}mainEVMCircuit2x6x1_final-4.zkey`,mainEVMCircuit3x2x1v4Wasm:`${r}mainEVMCircuit3x2x1-4.wasm`,mainEVMCircuit3x2x1v4Zkey:`${r}mainEVMCircuit3x2x1_final-4.zkey`,mainEVMCircuit3x6x1v4Wasm:`${r}mainEVMCircuit3x6x1-4.wasm`,mainEVMCircuit3x6x1v4Zkey:`${r}mainEVMCircuit3x6x1_final-4.zkey`,mainEVMCircuit4x2x1v4Wasm:`${r}mainEVMCircuit4x2x1-4.wasm`,mainEVMCircuit4x2x1v4Zkey:`${r}mainEVMCircuit4x2x1_final-4.zkey`,mainEVMCircuit4x6x1v4Wasm:`${r}mainEVMCircuit4x6x1-4.wasm`,mainEVMCircuit4x6x1v4Zkey:`${r}mainEVMCircuit4x6x1_final-4.zkey`,mainEVMCircuit5x2x1v4Wasm:`${r}mainEVMCircuit5x2x1-4.wasm`,mainEVMCircuit5x2x1v4Zkey:`${r}mainEVMCircuit5x2x1_final-4.zkey`,mainEVMCircuit5x6x1v4Wasm:`${r}mainEVMCircuit5x6x1-4.wasm`,mainEVMCircuit5x6x1v4Zkey:`${r}mainEVMCircuit5x6x1_final-4.zkey`,mainEVMCircuit1x2x2v4Wasm:`${r}mainEVMCircuit1x2x2-4.wasm`,mainEVMCircuit1x2x2v4Zkey:`${r}mainEVMCircuit1x2x2_final-4.zkey`,mainEVMCircuit1x6x2v4Wasm:`${r}mainEVMCircuit1x6x2-4.wasm`,mainEVMCircuit1x6x2v4Zkey:`${r}mainEVMCircuit1x6x2_final-4.zkey`,mainEVMCircuit2x2x2v4Wasm:`${r}mainEVMCircuit2x2x2-4.wasm`,mainEVMCircuit2x2x2v4Zkey:`${r}mainEVMCircuit2x2x2_final-4.zkey`,mainEVMCircuit2x6x2v4Wasm:`${r}mainEVMCircuit2x6x2-4.wasm`,mainEVMCircuit2x6x2v4Zkey:`${r}mainEVMCircuit2x6x2_final-4.zkey`,mainEVMCircuitMin0v4Wasm:`${r}mainEVMCircuitMin0-4.wasm`,mainEVMCircuitMin0v4Zkey:`${r}mainEVMCircuitMin0_final-4.zkey`,mainSolanaCircuit1x2x1v4Zkey:`${r}mainSolanaCircuit1x2x1_final-4.zkey`,mainSolanaCircuit1x2x1v4Wasm:`${r}mainSolanaCircuit1x2x1-4.wasm`,mainSolanaCircuit1x2x2v4Zkey:`${r}mainSolanaCircuit1x2x2_final-4.zkey`,mainSolanaCircuit1x2x2v4Wasm:`${r}mainSolanaCircuit1x2x2-4.wasm`,mainSolanaCircuit1x6x1v4Zkey:`${r}mainSolanaCircuit1x6x1_final-4.zkey`,mainSolanaCircuit1x6x1v4Wasm:`${r}mainSolanaCircuit1x6x1-4.wasm`,mainSolanaCircuit1x6x2v4Zkey:`${r}mainSolanaCircuit1x6x2_final-4.zkey`,mainSolanaCircuit1x6x2v4Wasm:`${r}mainSolanaCircuit1x6x2-4.wasm`,mainSolanaCircuit2x2x1v4Zkey:`${r}mainSolanaCircuit2x2x1_final-4.zkey`,mainSolanaCircuit2x2x1v4Wasm:`${r}mainSolanaCircuit2x2x1-4.wasm`,mainSolanaCircuit2x6x1v4Zkey:`${r}mainSolanaCircuit2x6x1_final-4.zkey`,mainSolanaCircuit2x6x1v4Wasm:`${r}mainSolanaCircuit2x6x1-4.wasm`,mainTronCircuit1x2x1v4Wasm:`${r}mainTronCircuit1x2x1-4.wasm`,mainTronCircuit1x2x1v4Zkey:`${r}mainTronCircuit1x2x1_final-4.zkey`,mainTronCircuit2x2x1v4Wasm:`${r}mainTronCircuit2x2x1-4.wasm`,mainTronCircuit2x2x1v4Zkey:`${r}mainTronCircuit2x2x1_final-4.zkey`,mainTronCircuit1x6x1v4Wasm:`${r}mainTronCircuit1x6x1-4.wasm`,mainTronCircuit1x6x1v4Zkey:`${r}mainTronCircuit1x6x1_final-4.zkey`,mainTronCircuit2x6x1v4Wasm:`${r}mainTronCircuit2x6x1-4.wasm`,mainTronCircuit2x6x1v4Zkey:`${r}mainTronCircuit2x6x1_final-4.zkey`,mainTronCircuit1x2x2v4Wasm:`${r}mainTronCircuit1x2x2-4.wasm`,mainTronCircuit1x2x2v4Zkey:`${r}mainTronCircuit1x2x2_final-4.zkey`,mainTronCircuit1x6x2v4Wasm:`${r}mainTronCircuit1x6x2-4.wasm`,mainTronCircuit1x6x2v4Zkey:`${r}mainTronCircuit1x6x2_final-4.zkey`,mainTronCircuit2x2x2v4Wasm:`${r}mainTronCircuit2x2x2-4.wasm`,mainTronCircuit2x2x2v4Zkey:`${r}mainTronCircuit2x2x2_final-4.zkey`,mainTronCircuit2x6x2v4Wasm:`${r}mainTronCircuit2x6x2-4.wasm`,mainTronCircuit2x6x2v4Zkey:`${r}mainTronCircuit2x6x2_final-4.zkey`,mainTronCircuit1x2x3v4Wasm:`${r}mainTronCircuit1x2x3-4.wasm`,mainTronCircuit1x2x3v4Zkey:`${r}mainTronCircuit1x2x3_final-4.zkey`,mainTronCircuit1x6x3v4Wasm:`${r}mainTronCircuit1x6x3-4.wasm`,mainTronCircuit1x6x3v4Zkey:`${r}mainTronCircuit1x6x3_final-4.zkey`,mainTronCircuit2x2x3v4Wasm:`${r}mainTronCircuit2x2x3-4.wasm`,mainTronCircuit2x2x3v4Zkey:`${r}mainTronCircuit2x2x3_final-4.zkey`,mainTronCircuit2x6x3v4Wasm:`${r}mainTronCircuit2x6x3-4.wasm`,mainTronCircuit2x6x3v4Zkey:`${r}mainTronCircuit2x6x3_final-4.zkey`,mainTronCircuit1x2x4v4Wasm:`${r}mainTronCircuit1x2x4-4.wasm`,mainTronCircuit1x2x4v4Zkey:`${r}mainTronCircuit1x2x4_final-4.zkey`,mainTronCircuit1x6x4v4Wasm:`${r}mainTronCircuit1x6x4-4.wasm`,mainTronCircuit1x6x4v4Zkey:`${r}mainTronCircuit1x6x4_final-4.zkey`,mainTronCircuit2x2x4v4Wasm:`${r}mainTronCircuit2x2x4-4.wasm`,mainTronCircuit2x2x4v4Zkey:`${r}mainTronCircuit2x2x4_final-4.zkey`,mainTronCircuit2x6x4v4Wasm:`${r}mainTronCircuit2x6x4-4.wasm`,mainTronCircuit2x6x4v4Zkey:`${r}mainTronCircuit2x6x4_final-4.zkey`,mainTronCircuit1x2x5v4Wasm:`${r}mainTronCircuit1x2x5-4.wasm`,mainTronCircuit1x2x5v4Zkey:`${r}mainTronCircuit1x2x5_final-4.zkey`,mainTronCircuit1x6x5v4Wasm:`${r}mainTronCircuit1x6x5-4.wasm`,mainTronCircuit1x6x5v4Zkey:`${r}mainTronCircuit1x6x5_final-4.zkey`,mainTronCircuit2x2x5v4Wasm:`${r}mainTronCircuit2x2x5-4.wasm`,mainTronCircuit2x2x5v4Zkey:`${r}mainTronCircuit2x2x5_final-4.zkey`,mainTronCircuit2x6x5v4Wasm:`${r}mainTronCircuit2x6x5-4.wasm`,mainTronCircuit2x6x5v4Zkey:`${r}mainTronCircuit2x6x5_final-4.zkey`,commitmentCalculator1x2v4Wasm:`${r}commitmentCalculator1x2-4.wasm`,commitmentCalculator1x2v4Zkey:`${r}commitmentCalculator1x2_final-4.zkey`,commitmentCalculator1x2v4VK:`${r}commitmentCalculator1x2_final-4_verification_key.json`,commitmentCalculator1x6v4Wasm:`${r}commitmentCalculator1x6-4.wasm`,commitmentCalculator1x6v4Zkey:`${r}commitmentCalculator1x6_final-4.zkey`,commitmentCalculator1x6v4VK:`${r}commitmentCalculator1x6_final-4_verification_key.json`,commitmentCalculator2x2v4Wasm:`${r}commitmentCalculator2x2-4.wasm`,commitmentCalculator2x2v4Zkey:`${r}commitmentCalculator2x2_final-4.zkey`,commitmentCalculator2x2v4VK:`${r}commitmentCalculator2x2_final-4_verification_key.json`,commitmentCalculator2x6v4Wasm:`${r}commitmentCalculator2x6-4.wasm`,commitmentCalculator2x6v4Zkey:`${r}commitmentCalculator2x6_final-4.zkey`,commitmentCalculator2x6v4VK:`${r}commitmentCalculator2x6_final-4_verification_key.json`,commitmentCalculator3x2v4Wasm:`${r}commitmentCalculator3x2-4.wasm`,commitmentCalculator3x2v4Zkey:`${r}commitmentCalculator3x2_final-4.zkey`,commitmentCalculator3x2v4VK:`${r}commitmentCalculator3x2_final-4_verification_key.json`,commitmentCalculator3x6v4Wasm:`${r}commitmentCalculator3x6-4.wasm`,commitmentCalculator3x6v4Zkey:`${r}commitmentCalculator3x6_final-4.zkey`,commitmentCalculator3x6v4VK:`${r}commitmentCalculator3x6_final-4_verification_key.json`,commitmentCalculator4x2v4Wasm:`${r}commitmentCalculator4x2-4.wasm`,commitmentCalculator4x2v4Zkey:`${r}commitmentCalculator4x2_final-4.zkey`,commitmentCalculator4x2v4VK:`${r}commitmentCalculator4x2_final-4_verification_key.json`,commitmentCalculator4x6v4Wasm:`${r}commitmentCalculator4x6-4.wasm`,commitmentCalculator4x6v4Zkey:`${r}commitmentCalculator4x6_final-4.zkey`,commitmentCalculator4x6v4VK:`${r}commitmentCalculator4x6_final-4_verification_key.json`,commitmentCalculator5x2v4Wasm:`${r}commitmentCalculator5x2-4.wasm`,commitmentCalculator5x2v4Zkey:`${r}commitmentCalculator5x2_final-4.zkey`,commitmentCalculator5x2v4VK:`${r}commitmentCalculator5x2_final-4_verification_key.json`,commitmentCalculator5x6v4Wasm:`${r}commitmentCalculator5x6-4.wasm`,commitmentCalculator5x6v4Zkey:`${r}commitmentCalculator5x6_final-4.zkey`,commitmentCalculator5x6v4VK:`${r}commitmentCalculator5x6_final-4_verification_key.json`,SignatureFromMnemonicv1x1Wasm:`${r}SignatureFromMnemonic-1.1.wasm`,SignatureFromMnemonicv1x1Zkey:`${r}SignatureFromMnemonic_final-1.1.zkey`,SignatureFromMnemonicv1x1VK:`${r}SignatureFromMnemonic_final-1.1_verification_key.json`},a={mainEVMCircuit1x2x1v4Wasm:`mainEVMCircuit1x2x1-4.wasm`,mainEVMCircuit1x2x1v4Zkey:`mainEVMCircuit1x2x1_final-4.zkey`,mainEVMCircuit1x6x1v4Wasm:`mainEVMCircuit1x6x1-4.wasm`,mainEVMCircuit1x6x1v4Zkey:`mainEVMCircuit1x6x1_final-4.zkey`,mainEVMCircuit2x2x1v4Wasm:`mainEVMCircuit2x2x1-4.wasm`,mainEVMCircuit2x2x1v4Zkey:`mainEVMCircuit2x2x1_final-4.zkey`,mainEVMCircuit2x6x1v4Wasm:`mainEVMCircuit2x6x1-4.wasm`,mainEVMCircuit2x6x1v4Zkey:`mainEVMCircuit2x6x1_final-4.zkey`,mainEVMCircuit3x2x1v4Wasm:`mainEVMCircuit3x2x1-4.wasm`,mainEVMCircuit3x2x1v4Zkey:`mainEVMCircuit3x2x1_final-4.zkey`,mainEVMCircuit3x6x1v4Wasm:`mainEVMCircuit3x6x1-4.wasm`,mainEVMCircuit3x6x1v4Zkey:`mainEVMCircuit3x6x1_final-4.zkey`,mainEVMCircuit4x2x1v4Wasm:`mainEVMCircuit4x2x1-4.wasm`,mainEVMCircuit4x2x1v4Zkey:`mainEVMCircuit4x2x1_final-4.zkey`,mainEVMCircuit4x6x1v4Wasm:`mainEVMCircuit4x6x1-4.wasm`,mainEVMCircuit4x6x1v4Zkey:`mainEVMCircuit4x6x1_final-4.zkey`,mainEVMCircuit5x2x1v4Wasm:`mainEVMCircuit5x2x1-4.wasm`,mainEVMCircuit5x2x1v4Zkey:`mainEVMCircuit5x2x1_final-4.zkey`,mainEVMCircuit5x6x1v4Wasm:`mainEVMCircuit5x6x1-4.wasm`,mainEVMCircuit5x6x1v4Zkey:`mainEVMCircuit5x6x1_final-4.zkey`,mainEVMCircuit1x2x2v4Wasm:`mainEVMCircuit1x2x2-4.wasm`,mainEVMCircuit1x2x2v4Zkey:`mainEVMCircuit1x2x2_final-4.zkey`,mainEVMCircuit1x6x2v4Wasm:`mainEVMCircuit1x6x2-4.wasm`,mainEVMCircuit1x6x2v4Zkey:`mainEVMCircuit1x6x2_final-4.zkey`,mainEVMCircuit2x2x2v4Wasm:`mainEVMCircuit2x2x2-4.wasm`,mainEVMCircuit2x2x2v4Zkey:`mainEVMCircuit2x2x2_final-4.zkey`,mainEVMCircuit2x6x2v4Wasm:`mainEVMCircuit2x6x2-4.wasm`,mainEVMCircuit2x6x2v4Zkey:`mainEVMCircuit2x6x2_final-4.zkey`,mainEVMCircuitMin0v4Wasm:`mainEVMCircuitMin0-4.wasm`,mainEVMCircuitMin0v4Zkey:`mainEVMCircuitMin0_final-4.zkey`,mainSolanaCircuit1x2x1v4Zkey:`mainSolanaCircuit1x2x1_final-4.zkey`,mainSolanaCircuit1x2x1v4Wasm:`mainSolanaCircuit1x2x1-4.wasm`,mainSolanaCircuit1x2x2v4Zkey:`mainSolanaCircuit1x2x2_final-4.zkey`,mainSolanaCircuit1x2x2v4Wasm:`mainSolanaCircuit1x2x2-4.wasm`,mainSolanaCircuit1x6x1v4Zkey:`mainSolanaCircuit1x6x1_final-4.zkey`,mainSolanaCircuit1x6x1v4Wasm:`mainSolanaCircuit1x6x1-4.wasm`,mainSolanaCircuit1x6x2v4Zkey:`mainSolanaCircuit1x6x2_final-4.zkey`,mainSolanaCircuit1x6x2v4Wasm:`mainSolanaCircuit1x6x2-4.wasm`,mainSolanaCircuit2x2x1v4Zkey:`mainSolanaCircuit2x2x1_final-4.zkey`,mainSolanaCircuit2x2x1v4Wasm:`mainSolanaCircuit2x2x1-4.wasm`,mainSolanaCircuit2x6x1v4Zkey:`mainSolanaCircuit2x6x1_final-4.zkey`,mainSolanaCircuit2x6x1v4Wasm:`mainSolanaCircuit2x6x1-4.wasm`,mainTronCircuit1x2x1v4Wasm:`mainTronCircuit1x2x1-4.wasm`,mainTronCircuit1x2x1v4Zkey:`mainTronCircuit1x2x1_final-4.zkey`,mainTronCircuit2x2x1v4Wasm:`mainTronCircuit2x2x1-4.wasm`,mainTronCircuit2x2x1v4Zkey:`mainTronCircuit2x2x1_final-4.zkey`,mainTronCircuit1x6x1v4Wasm:`mainTronCircuit1x6x1-4.wasm`,mainTronCircuit1x6x1v4Zkey:`mainTronCircuit1x6x1_final-4.zkey`,mainTronCircuit2x6x1v4Wasm:`mainTronCircuit2x6x1-4.wasm`,mainTronCircuit2x6x1v4Zkey:`mainTronCircuit2x6x1_final-4.zkey`,mainTronCircuit1x2x2v4Wasm:`mainTronCircuit1x2x2-4.wasm`,mainTronCircuit1x2x2v4Zkey:`mainTronCircuit1x2x2_final-4.zkey`,mainTronCircuit1x6x2v4Wasm:`mainTronCircuit1x6x2-4.wasm`,mainTronCircuit1x6x2v4Zkey:`mainTronCircuit1x6x2_final-4.zkey`,mainTronCircuit2x2x2v4Wasm:`mainTronCircuit2x2x2-4.wasm`,mainTronCircuit2x2x2v4Zkey:`mainTronCircuit2x2x2_final-4.zkey`,mainTronCircuit2x6x2v4Wasm:`mainTronCircuit2x6x2-4.wasm`,mainTronCircuit2x6x2v4Zkey:`mainTronCircuit2x6x2_final-4.zkey`,mainTronCircuit1x2x3v4Wasm:`mainTronCircuit1x2x3-4.wasm`,mainTronCircuit1x2x3v4Zkey:`mainTronCircuit1x2x3_final-4.zkey`,mainTronCircuit1x6x3v4Wasm:`mainTronCircuit1x6x3-4.wasm`,mainTronCircuit1x6x3v4Zkey:`mainTronCircuit1x6x3_final-4.zkey`,mainTronCircuit2x2x3v4Wasm:`mainTronCircuit2x2x3-4.wasm`,mainTronCircuit2x2x3v4Zkey:`mainTronCircuit2x2x3_final-4.zkey`,mainTronCircuit2x6x3v4Wasm:`mainTronCircuit2x6x3-4.wasm`,mainTronCircuit2x6x3v4Zkey:`mainTronCircuit2x6x3_final-4.zkey`,mainTronCircuit1x2x4v4Wasm:`mainTronCircuit1x2x4-4.wasm`,mainTronCircuit1x2x4v4Zkey:`mainTronCircuit1x2x4_final-4.zkey`,mainTronCircuit1x6x4v4Wasm:`mainTronCircuit1x6x4-4.wasm`,mainTronCircuit1x6x4v4Zkey:`mainTronCircuit1x6x4_final-4.zkey`,mainTronCircuit2x2x4v4Wasm:`mainTronCircuit2x2x4-4.wasm`,mainTronCircuit2x2x4v4Zkey:`mainTronCircuit2x2x4_final-4.zkey`,mainTronCircuit2x6x4v4Wasm:`mainTronCircuit2x6x4-4.wasm`,mainTronCircuit2x6x4v4Zkey:`mainTronCircuit2x6x4_final-4.zkey`,mainTronCircuit1x2x5v4Wasm:`mainTronCircuit1x2x5-4.wasm`,mainTronCircuit1x2x5v4Zkey:`mainTronCircuit1x2x5_final-4.zkey`,mainTronCircuit1x6x5v4Wasm:`mainTronCircuit1x6x5-4.wasm`,mainTronCircuit1x6x5v4Zkey:`mainTronCircuit1x6x5_final-4.zkey`,mainTronCircuit2x2x5v4Wasm:`mainTronCircuit2x2x5-4.wasm`,mainTronCircuit2x2x5v4Zkey:`mainTronCircuit2x2x5_final-4.zkey`,mainTronCircuit2x6x5v4Wasm:`mainTronCircuit2x6x5-4.wasm`,mainTronCircuit2x6x5v4Zkey:`mainTronCircuit2x6x5_final-4.zkey`,commitmentCalculator1x2v4Zkey:`commitmentCalculator1x2_final-4.zkey`,commitmentCalculator1x2v4Wasm:`commitmentCalculator1x2-4.wasm`,commitmentCalculator1x2v4VK:`commitmentCalculator1x2_final-4_verification_key.json`,commitmentCalculator1x6v4Zkey:`commitmentCalculator1x6_final-4.zkey`,commitmentCalculator1x6v4Wasm:`commitmentCalculator1x6-4.wasm`,commitmentCalculator1x6v4VK:`commitmentCalculator1x6_final-4_verification_key.json`,commitmentCalculator2x2v4Zkey:`commitmentCalculator2x2_final-4.zkey`,commitmentCalculator2x2v4Wasm:`commitmentCalculator2x2-4.wasm`,commitmentCalculator2x2v4VK:`commitmentCalculator2x2_final-4_verification_key.json`,commitmentCalculator2x6v4Zkey:`commitmentCalculator2x6_final-4.zkey`,commitmentCalculator2x6v4Wasm:`commitmentCalculator2x6-4.wasm`,commitmentCalculator2x6v4VK:`commitmentCalculator2x6_final-4_verification_key.json`,commitmentCalculator3x2v4Zkey:`commitmentCalculator3x2_final-4.zkey`,commitmentCalculator3x2v4Wasm:`commitmentCalculator3x2-4.wasm`,commitmentCalculator3x2v4VK:`commitmentCalculator3x2_final-4_verification_key.json`,commitmentCalculator3x6v4Zkey:`commitmentCalculator3x6_final-4.zkey`,commitmentCalculator3x6v4Wasm:`commitmentCalculator3x6-4.wasm`,commitmentCalculator3x6v4VK:`commitmentCalculator3x6_final-4_verification_key.json`,commitmentCalculator4x2v4Zkey:`commitmentCalculator4x2_final-4.zkey`,commitmentCalculator4x2v4Wasm:`commitmentCalculator4x2-4.wasm`,commitmentCalculator4x2v4VK:`commitmentCalculator4x2_final-4_verification_key.json`,commitmentCalculator4x6v4Zkey:`commitmentCalculator4x6_final-4.zkey`,commitmentCalculator4x6v4Wasm:`commitmentCalculator4x6-4.wasm`,commitmentCalculator4x6v4VK:`commitmentCalculator4x6_final-4_verification_key.json`,commitmentCalculator5x2v4Zkey:`commitmentCalculator5x2_final-4.zkey`,commitmentCalculator5x2v4Wasm:`commitmentCalculator5x2-4.wasm`,commitmentCalculator5x2v4VK:`commitmentCalculator5x2_final-4_verification_key.json`,commitmentCalculator5x6v4Zkey:`commitmentCalculator5x6_final-4.zkey`,commitmentCalculator5x6v4Wasm:`commitmentCalculator5x6-4.wasm`,commitmentCalculator5x6v4VK:`commitmentCalculator5x6_final-4_verification_key.json`,SignatureFromMnemonicv1x1Wasm:`SignatureFromMnemonic-1.1.wasm`,SignatureFromMnemonicv1x1Zkey:`SignatureFromMnemonic_final-1.1.zkey`,SignatureFromMnemonicv1x1VK:`SignatureFromMnemonic_final-1.1_verification_key.json`};exports.ENCLAVE_URL=n,exports.localVerifiers=a,exports.prodVerifiers=i;
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
export declare const ENCLAVE_URL: string;
|
|
2
|
+
export declare const ENCLAVE_LEGACY_URL = "https://enclave-legacy.hinkal.io";
|
|
3
|
+
export declare const prodVerifiers: {
|
|
4
|
+
mainEVMCircuit1x2x1v4Wasm: string;
|
|
5
|
+
mainEVMCircuit1x2x1v4Zkey: string;
|
|
6
|
+
mainEVMCircuit1x6x1v4Wasm: string;
|
|
7
|
+
mainEVMCircuit1x6x1v4Zkey: string;
|
|
8
|
+
mainEVMCircuit2x2x1v4Wasm: string;
|
|
9
|
+
mainEVMCircuit2x2x1v4Zkey: string;
|
|
10
|
+
mainEVMCircuit2x6x1v4Wasm: string;
|
|
11
|
+
mainEVMCircuit2x6x1v4Zkey: string;
|
|
12
|
+
mainEVMCircuit3x2x1v4Wasm: string;
|
|
13
|
+
mainEVMCircuit3x2x1v4Zkey: string;
|
|
14
|
+
mainEVMCircuit3x6x1v4Wasm: string;
|
|
15
|
+
mainEVMCircuit3x6x1v4Zkey: string;
|
|
16
|
+
mainEVMCircuit4x2x1v4Wasm: string;
|
|
17
|
+
mainEVMCircuit4x2x1v4Zkey: string;
|
|
18
|
+
mainEVMCircuit4x6x1v4Wasm: string;
|
|
19
|
+
mainEVMCircuit4x6x1v4Zkey: string;
|
|
20
|
+
mainEVMCircuit5x2x1v4Wasm: string;
|
|
21
|
+
mainEVMCircuit5x2x1v4Zkey: string;
|
|
22
|
+
mainEVMCircuit5x6x1v4Wasm: string;
|
|
23
|
+
mainEVMCircuit5x6x1v4Zkey: string;
|
|
24
|
+
mainEVMCircuit1x2x2v4Wasm: string;
|
|
25
|
+
mainEVMCircuit1x2x2v4Zkey: string;
|
|
26
|
+
mainEVMCircuit1x6x2v4Wasm: string;
|
|
27
|
+
mainEVMCircuit1x6x2v4Zkey: string;
|
|
28
|
+
mainEVMCircuit2x2x2v4Wasm: string;
|
|
29
|
+
mainEVMCircuit2x2x2v4Zkey: string;
|
|
30
|
+
mainEVMCircuit2x6x2v4Wasm: string;
|
|
31
|
+
mainEVMCircuit2x6x2v4Zkey: string;
|
|
32
|
+
mainEVMCircuitMin0v4Wasm: string;
|
|
33
|
+
mainEVMCircuitMin0v4Zkey: string;
|
|
34
|
+
mainSolanaCircuit1x2x1v4Zkey: string;
|
|
35
|
+
mainSolanaCircuit1x2x1v4Wasm: string;
|
|
36
|
+
mainSolanaCircuit1x2x2v4Zkey: string;
|
|
37
|
+
mainSolanaCircuit1x2x2v4Wasm: string;
|
|
38
|
+
mainSolanaCircuit1x6x1v4Zkey: string;
|
|
39
|
+
mainSolanaCircuit1x6x1v4Wasm: string;
|
|
40
|
+
mainSolanaCircuit1x6x2v4Zkey: string;
|
|
41
|
+
mainSolanaCircuit1x6x2v4Wasm: string;
|
|
42
|
+
mainSolanaCircuit2x2x1v4Zkey: string;
|
|
43
|
+
mainSolanaCircuit2x2x1v4Wasm: string;
|
|
44
|
+
mainSolanaCircuit2x6x1v4Zkey: string;
|
|
45
|
+
mainSolanaCircuit2x6x1v4Wasm: string;
|
|
46
|
+
mainTronCircuit1x2x1v4Wasm: string;
|
|
47
|
+
mainTronCircuit1x2x1v4Zkey: string;
|
|
48
|
+
mainTronCircuit2x2x1v4Wasm: string;
|
|
49
|
+
mainTronCircuit2x2x1v4Zkey: string;
|
|
50
|
+
mainTronCircuit1x6x1v4Wasm: string;
|
|
51
|
+
mainTronCircuit1x6x1v4Zkey: string;
|
|
52
|
+
mainTronCircuit2x6x1v4Wasm: string;
|
|
53
|
+
mainTronCircuit2x6x1v4Zkey: string;
|
|
54
|
+
mainTronCircuit1x2x2v4Wasm: string;
|
|
55
|
+
mainTronCircuit1x2x2v4Zkey: string;
|
|
56
|
+
mainTronCircuit1x6x2v4Wasm: string;
|
|
57
|
+
mainTronCircuit1x6x2v4Zkey: string;
|
|
58
|
+
mainTronCircuit2x2x2v4Wasm: string;
|
|
59
|
+
mainTronCircuit2x2x2v4Zkey: string;
|
|
60
|
+
mainTronCircuit2x6x2v4Wasm: string;
|
|
61
|
+
mainTronCircuit2x6x2v4Zkey: string;
|
|
62
|
+
mainTronCircuit1x2x3v4Wasm: string;
|
|
63
|
+
mainTronCircuit1x2x3v4Zkey: string;
|
|
64
|
+
mainTronCircuit1x6x3v4Wasm: string;
|
|
65
|
+
mainTronCircuit1x6x3v4Zkey: string;
|
|
66
|
+
mainTronCircuit2x2x3v4Wasm: string;
|
|
67
|
+
mainTronCircuit2x2x3v4Zkey: string;
|
|
68
|
+
mainTronCircuit2x6x3v4Wasm: string;
|
|
69
|
+
mainTronCircuit2x6x3v4Zkey: string;
|
|
70
|
+
mainTronCircuit1x2x4v4Wasm: string;
|
|
71
|
+
mainTronCircuit1x2x4v4Zkey: string;
|
|
72
|
+
mainTronCircuit1x6x4v4Wasm: string;
|
|
73
|
+
mainTronCircuit1x6x4v4Zkey: string;
|
|
74
|
+
mainTronCircuit2x2x4v4Wasm: string;
|
|
75
|
+
mainTronCircuit2x2x4v4Zkey: string;
|
|
76
|
+
mainTronCircuit2x6x4v4Wasm: string;
|
|
77
|
+
mainTronCircuit2x6x4v4Zkey: string;
|
|
78
|
+
mainTronCircuit1x2x5v4Wasm: string;
|
|
79
|
+
mainTronCircuit1x2x5v4Zkey: string;
|
|
80
|
+
mainTronCircuit1x6x5v4Wasm: string;
|
|
81
|
+
mainTronCircuit1x6x5v4Zkey: string;
|
|
82
|
+
mainTronCircuit2x2x5v4Wasm: string;
|
|
83
|
+
mainTronCircuit2x2x5v4Zkey: string;
|
|
84
|
+
mainTronCircuit2x6x5v4Wasm: string;
|
|
85
|
+
mainTronCircuit2x6x5v4Zkey: string;
|
|
86
|
+
commitmentCalculator1x2v4Wasm: string;
|
|
87
|
+
commitmentCalculator1x2v4Zkey: string;
|
|
88
|
+
commitmentCalculator1x2v4VK: string;
|
|
89
|
+
commitmentCalculator1x6v4Wasm: string;
|
|
90
|
+
commitmentCalculator1x6v4Zkey: string;
|
|
91
|
+
commitmentCalculator1x6v4VK: string;
|
|
92
|
+
commitmentCalculator2x2v4Wasm: string;
|
|
93
|
+
commitmentCalculator2x2v4Zkey: string;
|
|
94
|
+
commitmentCalculator2x2v4VK: string;
|
|
95
|
+
commitmentCalculator2x6v4Wasm: string;
|
|
96
|
+
commitmentCalculator2x6v4Zkey: string;
|
|
97
|
+
commitmentCalculator2x6v4VK: string;
|
|
98
|
+
commitmentCalculator3x2v4Wasm: string;
|
|
99
|
+
commitmentCalculator3x2v4Zkey: string;
|
|
100
|
+
commitmentCalculator3x2v4VK: string;
|
|
101
|
+
commitmentCalculator3x6v4Wasm: string;
|
|
102
|
+
commitmentCalculator3x6v4Zkey: string;
|
|
103
|
+
commitmentCalculator3x6v4VK: string;
|
|
104
|
+
commitmentCalculator4x2v4Wasm: string;
|
|
105
|
+
commitmentCalculator4x2v4Zkey: string;
|
|
106
|
+
commitmentCalculator4x2v4VK: string;
|
|
107
|
+
commitmentCalculator4x6v4Wasm: string;
|
|
108
|
+
commitmentCalculator4x6v4Zkey: string;
|
|
109
|
+
commitmentCalculator4x6v4VK: string;
|
|
110
|
+
commitmentCalculator5x2v4Wasm: string;
|
|
111
|
+
commitmentCalculator5x2v4Zkey: string;
|
|
112
|
+
commitmentCalculator5x2v4VK: string;
|
|
113
|
+
commitmentCalculator5x6v4Wasm: string;
|
|
114
|
+
commitmentCalculator5x6v4Zkey: string;
|
|
115
|
+
commitmentCalculator5x6v4VK: string;
|
|
116
|
+
SignatureFromMnemonicv1x1Wasm: string;
|
|
117
|
+
SignatureFromMnemonicv1x1Zkey: string;
|
|
118
|
+
SignatureFromMnemonicv1x1VK: string;
|
|
119
|
+
};
|
|
120
|
+
export declare const localVerifiers: {
|
|
121
|
+
mainEVMCircuit1x2x1v4Wasm: string;
|
|
122
|
+
mainEVMCircuit1x2x1v4Zkey: string;
|
|
123
|
+
mainEVMCircuit1x6x1v4Wasm: string;
|
|
124
|
+
mainEVMCircuit1x6x1v4Zkey: string;
|
|
125
|
+
mainEVMCircuit2x2x1v4Wasm: string;
|
|
126
|
+
mainEVMCircuit2x2x1v4Zkey: string;
|
|
127
|
+
mainEVMCircuit2x6x1v4Wasm: string;
|
|
128
|
+
mainEVMCircuit2x6x1v4Zkey: string;
|
|
129
|
+
mainEVMCircuit3x2x1v4Wasm: string;
|
|
130
|
+
mainEVMCircuit3x2x1v4Zkey: string;
|
|
131
|
+
mainEVMCircuit3x6x1v4Wasm: string;
|
|
132
|
+
mainEVMCircuit3x6x1v4Zkey: string;
|
|
133
|
+
mainEVMCircuit4x2x1v4Wasm: string;
|
|
134
|
+
mainEVMCircuit4x2x1v4Zkey: string;
|
|
135
|
+
mainEVMCircuit4x6x1v4Wasm: string;
|
|
136
|
+
mainEVMCircuit4x6x1v4Zkey: string;
|
|
137
|
+
mainEVMCircuit5x2x1v4Wasm: string;
|
|
138
|
+
mainEVMCircuit5x2x1v4Zkey: string;
|
|
139
|
+
mainEVMCircuit5x6x1v4Wasm: string;
|
|
140
|
+
mainEVMCircuit5x6x1v4Zkey: string;
|
|
141
|
+
mainEVMCircuit1x2x2v4Wasm: string;
|
|
142
|
+
mainEVMCircuit1x2x2v4Zkey: string;
|
|
143
|
+
mainEVMCircuit1x6x2v4Wasm: string;
|
|
144
|
+
mainEVMCircuit1x6x2v4Zkey: string;
|
|
145
|
+
mainEVMCircuit2x2x2v4Wasm: string;
|
|
146
|
+
mainEVMCircuit2x2x2v4Zkey: string;
|
|
147
|
+
mainEVMCircuit2x6x2v4Wasm: string;
|
|
148
|
+
mainEVMCircuit2x6x2v4Zkey: string;
|
|
149
|
+
mainEVMCircuitMin0v4Wasm: string;
|
|
150
|
+
mainEVMCircuitMin0v4Zkey: string;
|
|
151
|
+
mainSolanaCircuit1x2x1v4Zkey: string;
|
|
152
|
+
mainSolanaCircuit1x2x1v4Wasm: string;
|
|
153
|
+
mainSolanaCircuit1x2x2v4Zkey: string;
|
|
154
|
+
mainSolanaCircuit1x2x2v4Wasm: string;
|
|
155
|
+
mainSolanaCircuit1x6x1v4Zkey: string;
|
|
156
|
+
mainSolanaCircuit1x6x1v4Wasm: string;
|
|
157
|
+
mainSolanaCircuit1x6x2v4Zkey: string;
|
|
158
|
+
mainSolanaCircuit1x6x2v4Wasm: string;
|
|
159
|
+
mainSolanaCircuit2x2x1v4Zkey: string;
|
|
160
|
+
mainSolanaCircuit2x2x1v4Wasm: string;
|
|
161
|
+
mainSolanaCircuit2x6x1v4Zkey: string;
|
|
162
|
+
mainSolanaCircuit2x6x1v4Wasm: string;
|
|
163
|
+
mainTronCircuit1x2x1v4Wasm: string;
|
|
164
|
+
mainTronCircuit1x2x1v4Zkey: string;
|
|
165
|
+
mainTronCircuit2x2x1v4Wasm: string;
|
|
166
|
+
mainTronCircuit2x2x1v4Zkey: string;
|
|
167
|
+
mainTronCircuit1x6x1v4Wasm: string;
|
|
168
|
+
mainTronCircuit1x6x1v4Zkey: string;
|
|
169
|
+
mainTronCircuit2x6x1v4Wasm: string;
|
|
170
|
+
mainTronCircuit2x6x1v4Zkey: string;
|
|
171
|
+
mainTronCircuit1x2x2v4Wasm: string;
|
|
172
|
+
mainTronCircuit1x2x2v4Zkey: string;
|
|
173
|
+
mainTronCircuit1x6x2v4Wasm: string;
|
|
174
|
+
mainTronCircuit1x6x2v4Zkey: string;
|
|
175
|
+
mainTronCircuit2x2x2v4Wasm: string;
|
|
176
|
+
mainTronCircuit2x2x2v4Zkey: string;
|
|
177
|
+
mainTronCircuit2x6x2v4Wasm: string;
|
|
178
|
+
mainTronCircuit2x6x2v4Zkey: string;
|
|
179
|
+
mainTronCircuit1x2x3v4Wasm: string;
|
|
180
|
+
mainTronCircuit1x2x3v4Zkey: string;
|
|
181
|
+
mainTronCircuit1x6x3v4Wasm: string;
|
|
182
|
+
mainTronCircuit1x6x3v4Zkey: string;
|
|
183
|
+
mainTronCircuit2x2x3v4Wasm: string;
|
|
184
|
+
mainTronCircuit2x2x3v4Zkey: string;
|
|
185
|
+
mainTronCircuit2x6x3v4Wasm: string;
|
|
186
|
+
mainTronCircuit2x6x3v4Zkey: string;
|
|
187
|
+
mainTronCircuit1x2x4v4Wasm: string;
|
|
188
|
+
mainTronCircuit1x2x4v4Zkey: string;
|
|
189
|
+
mainTronCircuit1x6x4v4Wasm: string;
|
|
190
|
+
mainTronCircuit1x6x4v4Zkey: string;
|
|
191
|
+
mainTronCircuit2x2x4v4Wasm: string;
|
|
192
|
+
mainTronCircuit2x2x4v4Zkey: string;
|
|
193
|
+
mainTronCircuit2x6x4v4Wasm: string;
|
|
194
|
+
mainTronCircuit2x6x4v4Zkey: string;
|
|
195
|
+
mainTronCircuit1x2x5v4Wasm: string;
|
|
196
|
+
mainTronCircuit1x2x5v4Zkey: string;
|
|
197
|
+
mainTronCircuit1x6x5v4Wasm: string;
|
|
198
|
+
mainTronCircuit1x6x5v4Zkey: string;
|
|
199
|
+
mainTronCircuit2x2x5v4Wasm: string;
|
|
200
|
+
mainTronCircuit2x2x5v4Zkey: string;
|
|
201
|
+
mainTronCircuit2x6x5v4Wasm: string;
|
|
202
|
+
mainTronCircuit2x6x5v4Zkey: string;
|
|
203
|
+
commitmentCalculator1x2v4Zkey: string;
|
|
204
|
+
commitmentCalculator1x2v4Wasm: string;
|
|
205
|
+
commitmentCalculator1x2v4VK: string;
|
|
206
|
+
commitmentCalculator1x6v4Zkey: string;
|
|
207
|
+
commitmentCalculator1x6v4Wasm: string;
|
|
208
|
+
commitmentCalculator1x6v4VK: string;
|
|
209
|
+
commitmentCalculator2x2v4Zkey: string;
|
|
210
|
+
commitmentCalculator2x2v4Wasm: string;
|
|
211
|
+
commitmentCalculator2x2v4VK: string;
|
|
212
|
+
commitmentCalculator2x6v4Zkey: string;
|
|
213
|
+
commitmentCalculator2x6v4Wasm: string;
|
|
214
|
+
commitmentCalculator2x6v4VK: string;
|
|
215
|
+
commitmentCalculator3x2v4Zkey: string;
|
|
216
|
+
commitmentCalculator3x2v4Wasm: string;
|
|
217
|
+
commitmentCalculator3x2v4VK: string;
|
|
218
|
+
commitmentCalculator3x6v4Zkey: string;
|
|
219
|
+
commitmentCalculator3x6v4Wasm: string;
|
|
220
|
+
commitmentCalculator3x6v4VK: string;
|
|
221
|
+
commitmentCalculator4x2v4Zkey: string;
|
|
222
|
+
commitmentCalculator4x2v4Wasm: string;
|
|
223
|
+
commitmentCalculator4x2v4VK: string;
|
|
224
|
+
commitmentCalculator4x6v4Zkey: string;
|
|
225
|
+
commitmentCalculator4x6v4Wasm: string;
|
|
226
|
+
commitmentCalculator4x6v4VK: string;
|
|
227
|
+
commitmentCalculator5x2v4Zkey: string;
|
|
228
|
+
commitmentCalculator5x2v4Wasm: string;
|
|
229
|
+
commitmentCalculator5x2v4VK: string;
|
|
230
|
+
commitmentCalculator5x6v4Zkey: string;
|
|
231
|
+
commitmentCalculator5x6v4Wasm: string;
|
|
232
|
+
commitmentCalculator5x6v4VK: string;
|
|
233
|
+
SignatureFromMnemonicv1x1Wasm: string;
|
|
234
|
+
SignatureFromMnemonicv1x1Zkey: string;
|
|
235
|
+
SignatureFromMnemonicv1x1VK: string;
|
|
236
|
+
};
|