@gurge/sdk 0.3.4 → 0.3.7
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/common/src/API/API.d.ts +127 -0
- package/common/src/API/accessCodeCalls.d.ts +23 -0
- package/common/src/API/admin-calls.d.ts +9 -0
- package/common/src/API/brotherhoodCalls.d.ts +82 -0
- package/common/src/API/callLifiAPI.d.ts +33 -0
- package/common/src/API/callMonitor.d.ts +9 -0
- package/common/src/API/callNearIntentsAPI.d.ts +3 -0
- package/common/src/API/callOdosAPI.d.ts +63 -0
- package/common/src/API/callOkxAPI.d.ts +10 -0
- package/common/src/API/callOneInchAPI.d.ts +18 -0
- package/common/src/API/callRelayer.d.ts +41 -0
- package/common/src/API/checkRisk.d.ts +1 -0
- package/common/src/API/dashboardAccountCalls.d.ts +24 -0
- package/common/src/API/dashboardAccountMemberCalls.d.ts +34 -0
- package/common/src/API/dashboardBalanceCalls.d.ts +12 -0
- package/common/src/API/dashboardContactCalls.d.ts +9 -0
- package/common/src/API/dashboardPayoutCalls.d.ts +14 -0
- package/common/src/API/dashboardTransactionCalls.d.ts +3 -0
- package/common/src/API/deposit-and-withdraw-status-calls.d.ts +21 -0
- package/common/src/API/enclaveRecipientInfoCalls.d.ts +14 -0
- package/common/src/API/enclaveSignatureCalls.d.ts +5 -0
- package/common/src/API/enclaveUtxoCalls.d.ts +46 -0
- package/common/src/API/fetchCommitmentsCache.d.ts +19 -0
- package/common/src/API/generate-trading-points.d.ts +27 -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/getAnyRecipientInfo.d.ts +1 -0
- package/common/src/API/getCoingeckoPrice.d.ts +21 -0
- package/common/src/API/getGasEstimates.d.ts +10 -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 +5 -0
- package/common/src/API/index.d.ts +25 -0
- package/common/src/API/kycCalls.d.ts +14 -0
- package/common/src/API/leaderboardCalls.d.ts +14 -0
- package/common/src/API/onrampCalls.d.ts +20 -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.d.ts +11 -0
- package/common/src/API/proxyAccountsCalls.d.ts +6 -0
- package/common/src/API/referralsCalls.d.ts +22 -0
- package/common/src/API/relayCalls.d.ts +5 -0
- package/common/src/API/resolve-sns.d.ts +1 -0
- package/common/src/API/rewardsUserCalls.d.ts +60 -0
- package/common/src/API/scheduled-transactions-calls.d.ts +20 -0
- package/common/src/API/seedless-calls.d.ts +53 -0
- package/common/src/API/send-telegram-callback.d.ts +7 -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/temporaryWalletCalls.d.ts +13 -0
- package/common/src/API/tenderly.api.d.ts +20 -0
- package/common/src/API/token-calls.d.ts +4 -0
- package/common/src/API/tronSubsidyCalls.d.ts +13 -0
- package/common/src/API/weeklyAnalyticCalls.d.ts +22 -0
- package/common/src/constants/activity.constants.d.ts +2 -0
- package/common/src/constants/addresses.constants.d.ts +70 -0
- package/common/src/constants/assets.constants.d.ts +13 -0
- 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.d.ts +1 -0
- package/common/src/constants/bridging.constants.d.ts +25 -0
- package/common/src/constants/chains.constants.d.ts +70 -0
- package/common/src/constants/coingecko.constants.d.ts +43 -0
- package/common/src/constants/contracts.constants.d.ts +119 -0
- package/common/src/constants/conversion.constants.d.ts +1 -0
- package/common/src/constants/deploy-data/index.d.ts +14 -0
- package/common/src/constants/deploy-data/mergeDeployData.d.ts +4 -0
- package/common/src/constants/events.constants.d.ts +1 -0
- package/common/src/constants/fees.constants.d.ts +9 -0
- 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.d.ts +37 -0
- package/common/src/constants/kyc.constants.d.ts +29 -0
- package/common/src/constants/lifi.constants.d.ts +3 -0
- package/common/src/constants/link.constant.d.ts +1 -0
- package/common/src/constants/mediaUrls.constants.d.ts +45 -0
- package/common/src/constants/mystery-boxes.constants.d.ts +0 -0
- package/common/src/constants/oauthUrls.constants.d.ts +4 -0
- package/common/src/constants/okx.constants.d.ts +2 -0
- package/common/src/constants/pay.constants.d.ts +1 -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/price-impact.constants.d.ts +2 -0
- package/common/src/constants/protocol.constants.d.ts +62 -0
- package/common/src/constants/reorg-depths.constants.d.ts +17 -0
- package/common/src/constants/rewards.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.d.ts +142 -0
- package/common/src/constants/tasks.constants.d.ts +9 -0
- package/common/src/constants/token.limits.constants.d.ts +5 -0
- package/common/src/constants/tokens.constants.d.ts +4 -0
- package/common/src/constants/tx-confirmation.constants.d.ts +4 -0
- package/common/src/constants/vite.constants.d.ts +15 -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-dual-path.d.ts +13 -0
- package/common/src/crypto/ecdh-sealed-keys.d.ts +22 -0
- package/common/src/crypto/ecdh.d.ts +2 -0
- package/common/src/crypto/eddsa.d.ts +8 -0
- package/common/src/crypto/index.d.ts +7 -0
- 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 +18 -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.d.ts +116 -0
- package/common/src/data-structures/Hinkal/HinkalPrivateBalanceController.d.ts +19 -0
- package/common/src/data-structures/Hinkal/IHinkal.d.ts +103 -0
- package/common/src/data-structures/Hinkal/handleAutoDepositBack.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalActionReceive.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalClaimUtxo.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalDeposit.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +2 -0
- package/common/src/data-structures/Hinkal/hinkalGetZkMeProvider.d.ts +28 -0
- package/common/src/data-structures/Hinkal/hinkalMultiSend.d.ts +3 -0
- package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.d.ts +6 -0
- 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.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalProxySwap.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSignSubAccount.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +8 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +24 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +5 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +6 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaSwap.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +31 -0
- package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalSwap.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalTransfer.d.ts +4 -0
- package/common/src/data-structures/Hinkal/hinkalWithdraw.d.ts +7 -0
- package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.d.ts +3 -0
- package/common/src/data-structures/Hinkal/index.d.ts +25 -0
- package/common/src/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.d.ts +22 -0
- package/common/src/data-structures/Hinkal/resetMerkleTrees.d.ts +2 -0
- package/common/src/data-structures/IndexedDB/activity-db.d.ts +14 -0
- package/common/src/data-structures/IndexedDB/balances-db.d.ts +13 -0
- package/common/src/data-structures/IndexedDB/contact-db.d.ts +12 -0
- package/common/src/data-structures/IndexedDB/index.d.ts +8 -0
- package/common/src/data-structures/IndexedDB/key-val-store.d.ts +6 -0
- package/common/src/data-structures/IndexedDB/pay-activity-db.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/prices-db.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/private-balances-db.d.ts +9 -0
- package/common/src/data-structures/IndexedDB/signatures-db.d.ts +10 -0
- package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +20 -0
- package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +19 -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.d.ts +11 -0
- package/common/src/data-structures/TokenDBs/PublicTokensDB.d.ts +9 -0
- package/common/src/data-structures/TokenDBs/index.d.ts +4 -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 +51 -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.d.ts +11 -0
- package/common/src/data-structures/cacheDevices/FileCacheDevice.d.ts +10 -0
- 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.d.ts +28 -0
- package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.d.ts +18 -0
- 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.d.ts +131 -0
- 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.d.ts +37 -0
- package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +11 -0
- 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.d.ts +34 -0
- 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 +21 -0
- package/common/src/data-structures/merkle-tree/MerkleTree.d.ts +82 -0
- 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/provider-adapter/IProviderAdapter.d.ts +40 -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.d.ts +9 -0
- 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.d.ts +69 -0
- 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.d.ts +250 -0
- package/common/src/error-handling/get-error.message.d.ts +5 -0
- package/common/src/error-handling/index.d.ts +6 -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.d.ts +254 -0
- package/common/src/externalABIs/swapAbi.d.ts +77 -0
- 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-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.d.ts +13 -0
- package/common/src/functions/auto-deposit-back-helpers/update-hinkal.d.ts +3 -0
- package/common/src/functions/connectors.types.d.ts +22 -0
- package/common/src/functions/index.d.ts +13 -0
- package/common/src/functions/kyc/aiPriseHelper.d.ts +0 -0
- package/common/src/functions/kyc/checkTokenLimitsUSD.d.ts +1 -0
- package/common/src/functions/kyc/index.d.ts +3 -0
- package/common/src/functions/kyc/openDefaultPassportWindow.d.ts +1 -0
- package/common/src/functions/kyc/passportHelper.d.ts +3 -0
- package/common/src/functions/kyc/zkMeHelper.d.ts +4 -0
- package/common/src/functions/pre-transaction/addressTableLookup.d.ts +4 -0
- package/common/src/functions/pre-transaction/buildCommitmentValidationData.d.ts +14 -0
- package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.d.ts +2 -0
- 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.d.ts +2 -0
- package/common/src/functions/pre-transaction/getExternalSwapAddress.d.ts +2 -0
- package/common/src/functions/pre-transaction/getFeeStructure.d.ts +5 -0
- package/common/src/functions/pre-transaction/getSolanaCalldataHash.d.ts +4 -0
- package/common/src/functions/pre-transaction/getVolatileTransferAmount.d.ts +9 -0
- package/common/src/functions/pre-transaction/index.d.ts +19 -0
- package/common/src/functions/pre-transaction/interaction-to-action.d.ts +2 -0
- 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.d.ts +2 -0
- package/common/src/functions/pre-transaction/outputUtxoProcessing.d.ts +5 -0
- package/common/src/functions/pre-transaction/process-gas-estimates.d.ts +5 -0
- package/common/src/functions/pre-transaction/recipientUtxoProcessing.d.ts +3 -0
- package/common/src/functions/pre-transaction/sendInitNullifiersTransaction.d.ts +11 -0
- package/common/src/functions/pre-transaction/sendV0Transaction.d.ts +18 -0
- package/common/src/functions/pre-transaction/solana-public-signals.d.ts +21 -0
- package/common/src/functions/pre-transaction/solana.d.ts +14 -0
- package/common/src/functions/pre-transaction/solanaTransfer.utils.d.ts +6 -0
- package/common/src/functions/pre-transaction/store-instructions.d.ts +4 -0
- package/common/src/functions/pre-transaction/store-proof.d.ts +7 -0
- package/common/src/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.d.ts +3 -0
- package/common/src/functions/private-wallet/emporium.helpers.d.ts +47 -0
- package/common/src/functions/private-wallet/emporium.swap.helpers.d.ts +4 -0
- package/common/src/functions/private-wallet/index.d.ts +3 -0
- package/common/src/functions/private-wallet/opProducer.d.ts +5 -0
- package/common/src/functions/snarkjs/common.snarkjs.d.ts +23 -0
- package/common/src/functions/snarkjs/constant.d.ts +149 -0
- package/common/src/functions/snarkjs/constructGeneralZkProof.d.ts +13 -0
- package/common/src/functions/snarkjs/constructSolanaZkProof.d.ts +13 -0
- package/common/src/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +11 -0
- package/common/src/functions/snarkjs/fetchOnChainRootHashes.d.ts +3 -0
- package/common/src/functions/snarkjs/generateCircomData.d.ts +5 -0
- package/common/src/functions/snarkjs/generateMainAndCommitmentZkProof.d.ts +11 -0
- package/common/src/functions/snarkjs/generateZkProof.d.ts +5 -0
- package/common/src/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
- package/common/src/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
- package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +16 -0
- package/common/src/functions/snarkjs/getOriginalSender.d.ts +1 -0
- package/common/src/functions/snarkjs/getZKFiles.d.ts +3 -0
- package/common/src/functions/snarkjs/index.d.ts +8 -0
- package/common/src/functions/snarkjs/signedMessageHash.d.ts +31 -0
- package/common/src/functions/snarkjs/verifyCommitmentValidationData.d.ts +4 -0
- package/common/src/functions/utils/addresses.d.ts +11 -0
- 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/bit.operations.d.ts +3 -0
- package/common/src/functions/utils/buildClaimableDepositPlan.d.ts +16 -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.d.ts +2 -0
- package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.d.ts +3 -0
- package/common/src/functions/utils/create-provider.d.ts +4 -0
- package/common/src/functions/utils/customEnclaveFunctionsRegister.d.ts +18 -0
- package/common/src/functions/utils/deposit-claimable.utils.d.ts +6 -0
- package/common/src/functions/utils/dispatchBalanceRefreshes.d.ts +4 -0
- package/common/src/functions/utils/enclave-recipient-info-storage.d.ts +2 -0
- package/common/src/functions/utils/enclave-signature-storage.d.ts +1 -0
- package/common/src/functions/utils/enclave-utxo-storage.d.ts +7 -0
- package/common/src/functions/utils/encodeTokenWithId.d.ts +2 -0
- package/common/src/functions/utils/encryptInputForEnclave.d.ts +8 -0
- package/common/src/functions/utils/enum.utils.d.ts +9 -0
- package/common/src/functions/utils/erc20tokenFunctions.d.ts +16 -0
- package/common/src/functions/utils/evmNetworkFunctions.d.ts +3 -0
- package/common/src/functions/utils/external-action.utils.d.ts +3 -0
- package/common/src/functions/utils/fees.utils.d.ts +6 -0
- package/common/src/functions/utils/formatter.d.ts +1 -0
- package/common/src/functions/utils/get-signature-header.d.ts +5 -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 +33 -0
- package/common/src/functions/utils/getRecipientInfoFromUserKeys.d.ts +4 -0
- package/common/src/functions/utils/getSignerFromContract.d.ts +3 -0
- package/common/src/functions/utils/getUtxosFromReceipt.utils.d.ts +6 -0
- package/common/src/functions/utils/getUtxosFromReceiptSolana.d.ts +7 -0
- 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.d.ts +72 -0
- package/common/src/functions/utils/involves-permit2-op.d.ts +7 -0
- package/common/src/functions/utils/ipfs.d.ts +8 -0
- package/common/src/functions/utils/is-valid-url.d.ts +1 -0
- package/common/src/functions/utils/lifi.utils.d.ts +4 -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.d.ts +1 -0
- package/common/src/functions/utils/mutexes.utils.d.ts +2 -0
- package/common/src/functions/utils/nearIntents.utils.d.ts +11 -0
- package/common/src/functions/utils/networks.utils.d.ts +1 -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.d.ts +11 -0
- package/common/src/functions/utils/process.utils.d.ts +13 -0
- package/common/src/functions/utils/proxyAvatar.utils.d.ts +2 -0
- package/common/src/functions/utils/publicBalance.utils.d.ts +7 -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-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.d.ts +3 -0
- 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/solanaMint.utils.d.ts +10 -0
- package/common/src/functions/utils/solanaSendPreflight.utils.d.ts +6 -0
- package/common/src/functions/utils/string.utils.d.ts +16 -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.d.ts +9 -0
- package/common/src/functions/utils/trimFieldValues.d.ts +4 -0
- package/common/src/functions/utils/tron.utils.d.ts +43 -0
- package/common/src/functions/utils/tronSimulation.utils.d.ts +1 -0
- package/common/src/functions/utils/tx-confirmation.utils.d.ts +10 -0
- 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/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 +8 -0
- package/common/src/functions/web3/crypto.d.ts +1 -0
- package/common/src/functions/web3/etherFunctions.d.ts +20 -0
- package/common/src/functions/web3/events/balanceChangedHandler.d.ts +5 -0
- package/common/src/functions/web3/events/getInputUtxoAndBalance.d.ts +38 -0
- package/common/src/functions/web3/events/getInputUtxosEnclave.d.ts +9 -0
- package/common/src/functions/web3/events/getShieldedBalance.d.ts +18 -0
- package/common/src/functions/web3/events/getTransactionLogEvents.d.ts +13 -0
- package/common/src/functions/web3/events/index.d.ts +4 -0
- package/common/src/functions/web3/fetchSolanaMerkleTreeRootHash.d.ts +3 -0
- package/common/src/functions/web3/functionCalls/approveToken.d.ts +4 -0
- package/common/src/functions/web3/functionCalls/approveTokensToHinkal.d.ts +4 -0
- package/common/src/functions/web3/functionCalls/constructBatchCall.d.ts +7 -0
- 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/transactCallDirect.d.ts +6 -0
- package/common/src/functions/web3/functionCalls/transactCallDirectTron.d.ts +12 -0
- package/common/src/functions/web3/functionCalls/transactCallRelayer.d.ts +37 -0
- 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.d.ts +2 -0
- package/common/src/functions/web3/getSolanaPriorityFee.d.ts +3 -0
- package/common/src/functions/web3/getTokenHolder.d.ts +1 -0
- package/common/src/functions/web3/index.d.ts +14 -0
- package/common/src/functions/web3/lifiAPI.d.ts +6 -0
- package/common/src/functions/web3/odosAPI.d.ts +5 -0
- package/common/src/functions/web3/okxAPI.d.ts +8 -0
- package/common/src/functions/web3/oneInchAPI.d.ts +5 -0
- package/common/src/functions/web3/runContractFunction.d.ts +16 -0
- package/common/src/functions/web3/signAndSendSerializedTransaction.d.ts +2 -0
- package/common/src/functions/web3/uniswapAPI.d.ts +16 -0
- package/common/src/index.d.ts +9 -0
- package/common/src/mutexes/index.d.ts +1 -0
- package/common/src/mutexes/mutex.d.ts +2 -0
- package/common/src/providers/EthersProviderAdapter.d.ts +36 -0
- package/common/src/providers/SolanaProviderAdapter.d.ts +52 -0
- package/common/src/providers/TronProviderAdapter.d.ts +39 -0
- package/common/src/providers/WagmiProviderAdapter.d.ts +48 -0
- package/common/src/providers/exportProviers.d.ts +3 -0
- package/common/src/types/API.types.d.ts +25 -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 +37 -0
- package/common/src/types/activities.types.d.ts +77 -0
- package/common/src/types/admin.types.d.ts +42 -0
- 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 +17 -0
- package/common/src/types/brotherhood-user.types.d.ts +11 -0
- package/common/src/types/cache.types.d.ts +58 -0
- package/common/src/types/chains.types.d.ts +11 -0
- package/common/src/types/circom-data.types.d.ts +107 -0
- package/common/src/types/coingecko.types.d.ts +220 -0
- package/common/src/types/commitments.types.d.ts +42 -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/crypto.types.d.ts +8 -0
- package/common/src/types/dashboard-account.d.ts +101 -0
- package/common/src/types/dashboard-payout.types.d.ts +29 -0
- package/common/src/types/dashboard-transaction.types.d.ts +22 -0
- package/common/src/types/eip5792.types.d.ts +33 -0
- package/common/src/types/ethereum-network.types.d.ts +62 -0
- package/common/src/types/events.types.d.ts +5 -0
- package/common/src/types/external-action.types.d.ts +17 -0
- package/common/src/types/fee.types.d.ts +13 -0
- package/common/src/types/generatePoints.d.ts +14 -0
- package/common/src/types/hinkal.types.d.ts +102 -0
- package/common/src/types/http.types.d.ts +8 -0
- package/common/src/types/index.d.ts +61 -0
- package/common/src/types/kyc.types.d.ts +41 -0
- package/common/src/types/message.types.d.ts +5 -0
- package/common/src/types/near-intents.types.d.ts +60 -0
- package/common/src/types/new-rewards.type.d.ts +153 -0
- package/common/src/types/offscreen.types.d.ts +9 -0
- 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 +32 -0
- package/common/src/types/pay-routing.types.d.ts +9 -0
- package/common/src/types/presaleReferral.types.d.ts +4 -0
- package/common/src/types/proxy.types.d.ts +19 -0
- package/common/src/types/referral.types.d.ts +12 -0
- package/common/src/types/remote-proof.types.d.ts +15 -0
- package/common/src/types/rewards.types.d.ts +34 -0
- package/common/src/types/schedule.types.d.ts +7 -0
- package/common/src/types/scheduled-transactions.types.d.ts +49 -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 +40 -0
- package/common/src/types/solana.types.d.ts +87 -0
- package/common/src/types/tenderly.api.types.d.ts +196 -0
- package/common/src/types/token-prices.types.d.ts +18 -0
- package/common/src/types/token-with-id.types.d.ts +4 -0
- package/common/src/types/token.types.d.ts +88 -0
- package/common/src/types/transaction.types.d.ts +160 -0
- package/common/src/types/transactions.types.d.ts +79 -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/package.json +1 -1
- 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/snarkjsWorkerLogic.d.ts +2 -0
- package/common/src/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts +1 -0
- package/common/src/webworker/utxoWorker/utxoWorker.types.d.ts +31 -0
- package/common/src/webworker/utxoWorker/utxoWorkerLauncher.d.ts +1 -0
- package/common/src/webworker/utxoWorker/utxoWorkerLogic.d.ts +5 -0
- package/common/src/webworker/utxoWorker/utxoWorkerNode.d.ts +1 -0
- package/common/src/webworker/viteWorkerURL.constant.cjs +3 -3
- package/common/src/webworker/viteWorkerURL.constant.d.ts +9 -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 +10 -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/zkProofWorkerLogic.d.ts +4 -0
- package/common/src/webworker/zkProofWorker/zkProofWorkerNode.d.ts +1 -0
- package/functions/utils/getERC20Token.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
export interface SendTransacrtionBase {
|
|
2
|
+
blockOverrides?: {
|
|
3
|
+
number: string;
|
|
4
|
+
timestamp: string;
|
|
5
|
+
};
|
|
6
|
+
stateOverrides?: {
|
|
7
|
+
nonce: number;
|
|
8
|
+
code: string;
|
|
9
|
+
balance: {
|
|
10
|
+
value: number;
|
|
11
|
+
};
|
|
12
|
+
storage: Map<string, string>;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export type SimulateTxBody = {
|
|
16
|
+
network_id: string;
|
|
17
|
+
from: string;
|
|
18
|
+
to: string;
|
|
19
|
+
input: string;
|
|
20
|
+
gas?: number;
|
|
21
|
+
block_number?: number;
|
|
22
|
+
transaction_index?: number;
|
|
23
|
+
gas_price?: string;
|
|
24
|
+
estimate_gas?: boolean;
|
|
25
|
+
value?: string;
|
|
26
|
+
save?: boolean;
|
|
27
|
+
save_if_fails?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type SimulateTxResponse = {
|
|
30
|
+
transaction: {
|
|
31
|
+
hash: string;
|
|
32
|
+
block_hash: string;
|
|
33
|
+
block_number: number;
|
|
34
|
+
from: string;
|
|
35
|
+
gas: number;
|
|
36
|
+
gas_price: number;
|
|
37
|
+
input: string;
|
|
38
|
+
nonce: number;
|
|
39
|
+
to: string;
|
|
40
|
+
index: number;
|
|
41
|
+
addresses: string[];
|
|
42
|
+
contract_ids: string[];
|
|
43
|
+
network_id: string;
|
|
44
|
+
timestamp: string;
|
|
45
|
+
transaction_info: {
|
|
46
|
+
contract_address: string;
|
|
47
|
+
method: 'approve';
|
|
48
|
+
logs: any[] | null;
|
|
49
|
+
balance_diff: any[] | null;
|
|
50
|
+
nonce_diff: any[] | null;
|
|
51
|
+
state_diff: any[] | null;
|
|
52
|
+
asset_changes: any[] | null;
|
|
53
|
+
exposure_changes: any[] | null;
|
|
54
|
+
balance_changes: any[] | null;
|
|
55
|
+
};
|
|
56
|
+
call_trace: any[] | null;
|
|
57
|
+
simulation: {
|
|
58
|
+
id: string;
|
|
59
|
+
project_id: string;
|
|
60
|
+
network_id: string;
|
|
61
|
+
blocknumber: number;
|
|
62
|
+
transaction_index: number;
|
|
63
|
+
block_header: object;
|
|
64
|
+
nonce: number;
|
|
65
|
+
contracts: any[];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
simulation: object;
|
|
69
|
+
};
|
|
70
|
+
export type RpcTransactionParams = {
|
|
71
|
+
from: string;
|
|
72
|
+
to: string;
|
|
73
|
+
gas: string;
|
|
74
|
+
gasPrice?: string;
|
|
75
|
+
value: string | bigint;
|
|
76
|
+
input: string;
|
|
77
|
+
maxFeePerGas?: number;
|
|
78
|
+
maxPriorityFeePerGas?: number;
|
|
79
|
+
};
|
|
80
|
+
export type RpcSimulateTransactionBody<T extends RpcTransactionParams | RpcTransactionParams[] = RpcTransactionParams> = {
|
|
81
|
+
params: [
|
|
82
|
+
T,
|
|
83
|
+
string | 'latest' | 'earliest' | 'pending' | 'finalized' | 'safe',
|
|
84
|
+
{
|
|
85
|
+
[key in string]: {
|
|
86
|
+
balance: string;
|
|
87
|
+
nonce?: string;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
};
|
|
92
|
+
export type StorageStateChange = {
|
|
93
|
+
address: string;
|
|
94
|
+
balance?: {
|
|
95
|
+
previousValue: string;
|
|
96
|
+
newValue: string;
|
|
97
|
+
};
|
|
98
|
+
nonce?: {
|
|
99
|
+
previousValue: string;
|
|
100
|
+
newValue: string;
|
|
101
|
+
};
|
|
102
|
+
storage?: {
|
|
103
|
+
slot: string;
|
|
104
|
+
previousValue: string;
|
|
105
|
+
newValue: string;
|
|
106
|
+
ERC20ChangeType?: 'balance' | 'allowance';
|
|
107
|
+
}[];
|
|
108
|
+
};
|
|
109
|
+
export type RPCSimulationAssetChange = {
|
|
110
|
+
rawAmount: string;
|
|
111
|
+
amount: string | null;
|
|
112
|
+
dollarValue?: string;
|
|
113
|
+
from: string;
|
|
114
|
+
to: string;
|
|
115
|
+
type: string;
|
|
116
|
+
id?: string;
|
|
117
|
+
assetInfo: {
|
|
118
|
+
standard: string;
|
|
119
|
+
type: string;
|
|
120
|
+
contractAddress?: string;
|
|
121
|
+
symbol?: string;
|
|
122
|
+
name?: string;
|
|
123
|
+
logo?: string;
|
|
124
|
+
decimals?: number;
|
|
125
|
+
dollarValue?: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export type RPCSimulationExposureChange = {
|
|
129
|
+
assetInfo: {
|
|
130
|
+
standard: string;
|
|
131
|
+
type: string;
|
|
132
|
+
contractAddress: string;
|
|
133
|
+
symbol: string;
|
|
134
|
+
name: string;
|
|
135
|
+
logo: string;
|
|
136
|
+
decimals: number;
|
|
137
|
+
dollarValue: string;
|
|
138
|
+
};
|
|
139
|
+
type: string;
|
|
140
|
+
owner: string;
|
|
141
|
+
spender: string;
|
|
142
|
+
rawAmount: string;
|
|
143
|
+
amount: string;
|
|
144
|
+
dollarValue: string;
|
|
145
|
+
};
|
|
146
|
+
export interface RpcTrace {
|
|
147
|
+
type: string;
|
|
148
|
+
from: string;
|
|
149
|
+
to: string;
|
|
150
|
+
gas: string;
|
|
151
|
+
gasUsed: string;
|
|
152
|
+
input: string;
|
|
153
|
+
method?: string;
|
|
154
|
+
output?: string;
|
|
155
|
+
subtraces: number;
|
|
156
|
+
traceAddress: string[];
|
|
157
|
+
value?: string;
|
|
158
|
+
error?: string;
|
|
159
|
+
errorReason?: string;
|
|
160
|
+
}
|
|
161
|
+
export type RpcSimulateLog = {
|
|
162
|
+
name: string;
|
|
163
|
+
inputs: {
|
|
164
|
+
value: string;
|
|
165
|
+
type: string;
|
|
166
|
+
name: string;
|
|
167
|
+
indexed: boolean;
|
|
168
|
+
}[];
|
|
169
|
+
raw: {
|
|
170
|
+
address: string;
|
|
171
|
+
data: string;
|
|
172
|
+
topics: string[];
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
export type RpcSimulateResult = {
|
|
176
|
+
assetChanges: RPCSimulationAssetChange[];
|
|
177
|
+
status: boolean;
|
|
178
|
+
gasUsed: string;
|
|
179
|
+
cumulativeGasUsed: string;
|
|
180
|
+
blockNumber: string;
|
|
181
|
+
type: string;
|
|
182
|
+
logsBloom: string;
|
|
183
|
+
logs: RpcSimulateLog[];
|
|
184
|
+
stateChanges: StorageStateChange[];
|
|
185
|
+
trace?: RpcTrace[];
|
|
186
|
+
exposureChanges: RPCSimulationExposureChange[];
|
|
187
|
+
};
|
|
188
|
+
export type RpcSimulateTransactionResponse<T extends RpcSimulateResult | RpcSimulateResult[] = RpcSimulateResult> = {
|
|
189
|
+
jsonrpc: '2.0';
|
|
190
|
+
id: 0;
|
|
191
|
+
result: T;
|
|
192
|
+
error?: {
|
|
193
|
+
code: number;
|
|
194
|
+
message: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const TOKEN_PRICE_STATUS: {
|
|
2
|
+
readonly INITIAL: "initial";
|
|
3
|
+
readonly FETCHING: "fetching";
|
|
4
|
+
readonly ERROR: "error";
|
|
5
|
+
readonly SUCCESS: "success";
|
|
6
|
+
};
|
|
7
|
+
export type TokenPriceStatus = (typeof TOKEN_PRICE_STATUS)[keyof typeof TOKEN_PRICE_STATUS];
|
|
8
|
+
export interface TokenPriceState {
|
|
9
|
+
tokenPriceDollar: number | undefined;
|
|
10
|
+
tokenPriceFetchStatus: TokenPriceStatus;
|
|
11
|
+
}
|
|
12
|
+
export declare enum TokenPriceTimeframe {
|
|
13
|
+
ONE_WEEK = "1w",
|
|
14
|
+
ONE_MONTH = "1m",
|
|
15
|
+
THREE_MONTHS = "3m",
|
|
16
|
+
ONE_YEAR = "1y",
|
|
17
|
+
ALL_TIME = "allTime"
|
|
18
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export interface ERC20Token {
|
|
2
|
+
chainId: number;
|
|
3
|
+
erc20TokenAddress: string;
|
|
4
|
+
wrappedErc20TokenAddress?: string;
|
|
5
|
+
underlyingErc20TokenAddress?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
decimals: number;
|
|
9
|
+
nftTokenType?: string;
|
|
10
|
+
logoURI?: string;
|
|
11
|
+
logoURIs?: string[];
|
|
12
|
+
whitelisted?: boolean;
|
|
13
|
+
isCustom?: true;
|
|
14
|
+
tokenIds?: string[];
|
|
15
|
+
approvalType?: ApprovalType;
|
|
16
|
+
isVolatile?: boolean;
|
|
17
|
+
sharedAddress?: string;
|
|
18
|
+
isPendleToken?: boolean;
|
|
19
|
+
isHToken?: boolean;
|
|
20
|
+
hasHToken?: boolean;
|
|
21
|
+
aaveToken?: boolean;
|
|
22
|
+
allowanceStorageOffset?: number;
|
|
23
|
+
balanceStorageOffset?: number;
|
|
24
|
+
isVyper?: boolean;
|
|
25
|
+
isSpam?: boolean;
|
|
26
|
+
is2022Program?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare enum ApprovalType {
|
|
29
|
+
Classic = 0,
|
|
30
|
+
ERC20Permit = 1,
|
|
31
|
+
DAIPermit = 2
|
|
32
|
+
}
|
|
33
|
+
export interface NFT {
|
|
34
|
+
tokenId: number;
|
|
35
|
+
image?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
timestamp?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface TokenBalance {
|
|
40
|
+
token: ERC20Token;
|
|
41
|
+
balance: bigint;
|
|
42
|
+
timestamp?: string;
|
|
43
|
+
nfts?: NFT[];
|
|
44
|
+
}
|
|
45
|
+
export interface TokenBalanceWithUsdValue extends TokenBalance {
|
|
46
|
+
isBalanceLoading?: boolean;
|
|
47
|
+
usdValue?: number;
|
|
48
|
+
isUsdValueLoading?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface PublicTokenBalances {
|
|
51
|
+
publicTokenBalances: TokenBalance[];
|
|
52
|
+
isPublicBalancesLoading: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface PublicTokenBalancesWithUsd {
|
|
55
|
+
publicTokenBalancesWithUSD: TokenBalanceWithUsdValue[];
|
|
56
|
+
publicTotalUSDBalances: number;
|
|
57
|
+
isPublicBalancesLoading: boolean;
|
|
58
|
+
isUsdBalanceLoading: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface TokenChanges<T = number> {
|
|
61
|
+
token: ERC20Token;
|
|
62
|
+
amount: T;
|
|
63
|
+
nftIds?: string[];
|
|
64
|
+
}
|
|
65
|
+
export interface GasTokensInfoEntry {
|
|
66
|
+
token: ERC20Token;
|
|
67
|
+
balance: string;
|
|
68
|
+
dollarValue: number;
|
|
69
|
+
isLoading: boolean;
|
|
70
|
+
isInsufficientGasBalance: boolean;
|
|
71
|
+
disabled: boolean;
|
|
72
|
+
}
|
|
73
|
+
export type VolatileTokenChange = {
|
|
74
|
+
tokenAddress: string;
|
|
75
|
+
amount: string;
|
|
76
|
+
targetAddress?: string;
|
|
77
|
+
originalIndex: number;
|
|
78
|
+
};
|
|
79
|
+
export interface PrivateRecipientInfo {
|
|
80
|
+
recipientInfo: string;
|
|
81
|
+
amount: bigint;
|
|
82
|
+
token: ERC20Token;
|
|
83
|
+
}
|
|
84
|
+
export interface TemporaryWalletBalance extends TokenBalanceWithUsdValue {
|
|
85
|
+
nonce: number;
|
|
86
|
+
ethAddress: string;
|
|
87
|
+
privateKey: string;
|
|
88
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { MerkleTreeJson } from '../data-structures/merkle-tree/MerkleTree';
|
|
2
|
+
import { TokenAmountInfo } from './activities.types';
|
|
3
|
+
import { EncryptedOutputWithSign } from './commitments.types';
|
|
4
|
+
import { ExternalActionId } from './external-action.types';
|
|
5
|
+
import { FeeStructure, IntegrationProvider } from './hinkal.types';
|
|
6
|
+
import { SubAccount } from './proxy.types';
|
|
7
|
+
import { ERC20Token, TokenChanges } from './token.types';
|
|
8
|
+
import { AppMetaData, WCTransactionParameters } from './wc.types';
|
|
9
|
+
import { WithId } from './with-id.types';
|
|
10
|
+
import { AdminTransactionType } from './admin.types';
|
|
11
|
+
export declare enum TransactionRequestType {
|
|
12
|
+
ReceiveFromShieldedAccount = "ReceiveFromShieldedAccount",
|
|
13
|
+
SwapTokens = "SwapTokens",
|
|
14
|
+
PrivateTransactionFromProxy = "PrivateTransactionFromProxy",
|
|
15
|
+
ProxySend = "ProxySend",
|
|
16
|
+
Send = "Send",
|
|
17
|
+
Fund = "Fund",
|
|
18
|
+
ProxySwapTokens = "ProxySwapTokens",
|
|
19
|
+
BatchTransaction = "BatchTransaction",
|
|
20
|
+
SignSolanaTransaction = "SignSolanaTransaction",
|
|
21
|
+
SignAndSendSolanaTransaction = "SignAndSendSolanaTransaction"
|
|
22
|
+
}
|
|
23
|
+
export interface TransferTokenRequest {
|
|
24
|
+
type: TransactionRequestType.Send | TransactionRequestType.Fund;
|
|
25
|
+
amounts: bigint[];
|
|
26
|
+
erc20Tokens: ERC20Token[];
|
|
27
|
+
to: string;
|
|
28
|
+
isRelayerOff: boolean;
|
|
29
|
+
action: AdminTransactionType;
|
|
30
|
+
feeToken?: string;
|
|
31
|
+
feeStructure?: FeeStructure;
|
|
32
|
+
}
|
|
33
|
+
export interface PrivateTransactionBaseRequest {
|
|
34
|
+
appMetaData: AppMetaData;
|
|
35
|
+
from: string;
|
|
36
|
+
feeStructure?: FeeStructure;
|
|
37
|
+
}
|
|
38
|
+
export interface PrivateTransactionFromProxyRequest extends PrivateTransactionBaseRequest {
|
|
39
|
+
type: TransactionRequestType.PrivateTransactionFromProxy;
|
|
40
|
+
subAccount: SubAccount;
|
|
41
|
+
tokenChanges: TokenChanges<bigint>[];
|
|
42
|
+
proxyApprovalData?: {
|
|
43
|
+
approvalToken: ERC20Token;
|
|
44
|
+
approvalAmount: string;
|
|
45
|
+
};
|
|
46
|
+
txParams: WCTransactionParameters;
|
|
47
|
+
autoDepositBack: boolean;
|
|
48
|
+
maxGasInDollar?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface BatchTransactionRequest extends PrivateTransactionBaseRequest {
|
|
51
|
+
type: TransactionRequestType.BatchTransaction;
|
|
52
|
+
tokenChanges: TokenChanges<bigint>[];
|
|
53
|
+
batchCalls: WCTransactionParameters[];
|
|
54
|
+
subAccount: SubAccount;
|
|
55
|
+
revokedTokens?: TokenAmountInfo[];
|
|
56
|
+
autoDepositBack?: boolean;
|
|
57
|
+
maxGasInDollar?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface SignSolanaTransactionRequest extends PrivateTransactionBaseRequest {
|
|
60
|
+
type: TransactionRequestType.SignSolanaTransaction;
|
|
61
|
+
subAccount: SubAccount;
|
|
62
|
+
tokenChanges: TokenChanges<bigint>[];
|
|
63
|
+
txParams: WCTransactionParameters;
|
|
64
|
+
serializedTx: string;
|
|
65
|
+
signature: string;
|
|
66
|
+
}
|
|
67
|
+
export interface SignAndSendSolanaTransactionRequest extends PrivateTransactionBaseRequest {
|
|
68
|
+
type: TransactionRequestType.SignAndSendSolanaTransaction;
|
|
69
|
+
subAccount: SubAccount;
|
|
70
|
+
tokenChanges: TokenChanges<bigint>[];
|
|
71
|
+
txParams: WCTransactionParameters;
|
|
72
|
+
serializedTx: string;
|
|
73
|
+
}
|
|
74
|
+
export interface ReceiveFromSubAccountRequest {
|
|
75
|
+
type: TransactionRequestType.ReceiveFromShieldedAccount;
|
|
76
|
+
from: string;
|
|
77
|
+
amounts: bigint[];
|
|
78
|
+
erc20Tokens: ERC20Token[];
|
|
79
|
+
subAccount: SubAccount;
|
|
80
|
+
feeToken?: string;
|
|
81
|
+
feeStructure?: FeeStructure;
|
|
82
|
+
}
|
|
83
|
+
export interface SwapTokensRequest {
|
|
84
|
+
type: TransactionRequestType.SwapTokens;
|
|
85
|
+
from: string;
|
|
86
|
+
amountChanges: bigint[];
|
|
87
|
+
erc20Tokens: ERC20Token[];
|
|
88
|
+
externalActionId: ExternalActionId;
|
|
89
|
+
swapData: string;
|
|
90
|
+
integrationProvider: IntegrationProvider;
|
|
91
|
+
action: AdminTransactionType;
|
|
92
|
+
feeToken?: string;
|
|
93
|
+
feeStructure?: FeeStructure;
|
|
94
|
+
bridgedToken?: ERC20Token;
|
|
95
|
+
bridgedTokenAmount?: bigint;
|
|
96
|
+
extraNativeTokenFee?: bigint;
|
|
97
|
+
}
|
|
98
|
+
export interface ProxySwapTokensRequest {
|
|
99
|
+
type: TransactionRequestType.ProxySwapTokens;
|
|
100
|
+
from: string;
|
|
101
|
+
amountChanges: bigint[];
|
|
102
|
+
erc20Tokens: ERC20Token[];
|
|
103
|
+
externalActionId: ExternalActionId;
|
|
104
|
+
swapData: string;
|
|
105
|
+
isTheSameChainSwap: boolean;
|
|
106
|
+
integrationProvider: IntegrationProvider;
|
|
107
|
+
subAccount: SubAccount;
|
|
108
|
+
action: AdminTransactionType;
|
|
109
|
+
feeToken?: string;
|
|
110
|
+
feeStructure?: FeeStructure;
|
|
111
|
+
bridgedToken?: ERC20Token;
|
|
112
|
+
bridgedTokenAmount?: bigint;
|
|
113
|
+
extraNativeTokenFee?: bigint;
|
|
114
|
+
autoDepositBack?: boolean;
|
|
115
|
+
maxGasInDollar?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface SendProxySendRequest {
|
|
118
|
+
type: TransactionRequestType.ProxySend;
|
|
119
|
+
from: string;
|
|
120
|
+
amounts: bigint[];
|
|
121
|
+
erc20Tokens: ERC20Token[];
|
|
122
|
+
to: string;
|
|
123
|
+
subAccount: SubAccount;
|
|
124
|
+
action: AdminTransactionType;
|
|
125
|
+
feeToken?: string;
|
|
126
|
+
feeStructure?: FeeStructure;
|
|
127
|
+
}
|
|
128
|
+
export interface PrepareHinkalFromSerializedArgs {
|
|
129
|
+
signature: string;
|
|
130
|
+
ethereumAddress: string;
|
|
131
|
+
chainId: number;
|
|
132
|
+
nullifiers: string[];
|
|
133
|
+
merkleTreeHinkal: MerkleTreeJson;
|
|
134
|
+
encryptedOutputs: EncryptedOutputWithSign<boolean>[];
|
|
135
|
+
generateProofRemotely: boolean;
|
|
136
|
+
serializedCache: Record<string, string>;
|
|
137
|
+
stealthPairCache: Record<string, string>;
|
|
138
|
+
stealthAddressCache: Record<string, string>;
|
|
139
|
+
}
|
|
140
|
+
export type TransactionRequest = (TransferTokenRequest | ReceiveFromSubAccountRequest | SwapTokensRequest | PrivateTransactionFromProxyRequest | SendProxySendRequest | ProxySwapTokensRequest | BatchTransactionRequest | SignAndSendSolanaTransactionRequest) & {
|
|
141
|
+
prepareHinkalArgs: PrepareHinkalFromSerializedArgs;
|
|
142
|
+
};
|
|
143
|
+
export type TransactionRuntimeMessageHandler = (message: WithId<TransactionRequest>) => Promise<{
|
|
144
|
+
result: string;
|
|
145
|
+
} | undefined>;
|
|
146
|
+
export interface TransactionResponseError {
|
|
147
|
+
id: number;
|
|
148
|
+
success: false;
|
|
149
|
+
error: Error;
|
|
150
|
+
erroredTx?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface TransactionResponseBase {
|
|
153
|
+
id: number;
|
|
154
|
+
success: true;
|
|
155
|
+
}
|
|
156
|
+
export interface TransactionResponseTx extends TransactionResponseBase {
|
|
157
|
+
txHash: string;
|
|
158
|
+
}
|
|
159
|
+
export type TransactionResponseSuccess = TransactionResponseTx;
|
|
160
|
+
export type TransactionResponse = TransactionResponseError | TransactionResponseSuccess;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { HookDataType, StealthAddressStructure } from './circom-data.types';
|
|
2
|
+
export interface RawTx {
|
|
3
|
+
blockNumber: number;
|
|
4
|
+
timeStamp: number;
|
|
5
|
+
isError: string;
|
|
6
|
+
methodId: string;
|
|
7
|
+
input: string;
|
|
8
|
+
logs: Log[];
|
|
9
|
+
hash: string;
|
|
10
|
+
gas: number;
|
|
11
|
+
gasPrice: number;
|
|
12
|
+
contract?: string;
|
|
13
|
+
}
|
|
14
|
+
type Log = {
|
|
15
|
+
topics: readonly string[];
|
|
16
|
+
data: string;
|
|
17
|
+
};
|
|
18
|
+
export interface EventLog {
|
|
19
|
+
address: string;
|
|
20
|
+
topics: readonly string[];
|
|
21
|
+
data: string;
|
|
22
|
+
blockNumber: string;
|
|
23
|
+
blockHash: string;
|
|
24
|
+
timeStamp: string;
|
|
25
|
+
gasPrice: string;
|
|
26
|
+
gasUsed: string;
|
|
27
|
+
logIndex: string;
|
|
28
|
+
transactionHash: string;
|
|
29
|
+
transactionIndex: string;
|
|
30
|
+
}
|
|
31
|
+
export interface DecodedTx<T = bigint, K = bigint> extends RawTx {
|
|
32
|
+
decodedInput: {
|
|
33
|
+
erc20TokenAddresses: string[];
|
|
34
|
+
amountChanges: K[];
|
|
35
|
+
flatFees: K[];
|
|
36
|
+
externalActionId: K;
|
|
37
|
+
externalActionMetadata: string;
|
|
38
|
+
encryptedOutputs: string[];
|
|
39
|
+
hookData: HookDataType;
|
|
40
|
+
stealthAddressStructure: StealthAddressStructure<T>;
|
|
41
|
+
};
|
|
42
|
+
status: string;
|
|
43
|
+
}
|
|
44
|
+
export interface DecodedTxWithUtxos<T = bigint, K = bigint> extends DecodedTx<T, K> {
|
|
45
|
+
utxosArray?: OnChainUtxo<T>[];
|
|
46
|
+
}
|
|
47
|
+
export type OnChainUtxo<AmountType = bigint> = {
|
|
48
|
+
amount: AmountType;
|
|
49
|
+
erc20TokenAddress: string;
|
|
50
|
+
timeStamp: string;
|
|
51
|
+
tokenId: number;
|
|
52
|
+
};
|
|
53
|
+
export declare const emptyDecodedTx: DecodedTx;
|
|
54
|
+
export declare enum TransactionStatus {
|
|
55
|
+
NotStarted = 0,
|
|
56
|
+
Loading = 1,
|
|
57
|
+
Confirmed = 2,
|
|
58
|
+
Failed = 3
|
|
59
|
+
}
|
|
60
|
+
export declare enum TransactionAction {
|
|
61
|
+
None = 0,
|
|
62
|
+
Deposit = 1,
|
|
63
|
+
Mint = 2,
|
|
64
|
+
PoolAdd = 3,
|
|
65
|
+
PoolRemove = 4,
|
|
66
|
+
Redeem = 5,
|
|
67
|
+
Swap = 6,
|
|
68
|
+
Bridge = 7,
|
|
69
|
+
Transfer = 8,
|
|
70
|
+
Withdraw = 9,
|
|
71
|
+
Send = 10,
|
|
72
|
+
Fund = 11,
|
|
73
|
+
Receive = 12
|
|
74
|
+
}
|
|
75
|
+
export declare enum TransactionReceiptStatus {
|
|
76
|
+
Failed = 0,
|
|
77
|
+
Succeeded = 1
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface TronSignerAdapter {
|
|
2
|
+
signMessage(message: string): Promise<string>;
|
|
3
|
+
signTransaction(transaction: any): Promise<any>;
|
|
4
|
+
on(event: 'accountsChanged', handler: (address: string, preAddr: string) => void): this;
|
|
5
|
+
off(event: 'accountsChanged', handler: (address: string, preAddr: string) => void): this;
|
|
6
|
+
}
|
|
7
|
+
export type TronWallet = {
|
|
8
|
+
address: string;
|
|
9
|
+
signerAdapter: TronSignerAdapter;
|
|
10
|
+
};
|
|
11
|
+
export interface TronChainParameter {
|
|
12
|
+
key: string;
|
|
13
|
+
value?: number;
|
|
14
|
+
}
|
|
15
|
+
export type TronAccountResources = Record<string, number>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { BuildApprovedNamespacesParams } from '@walletconnect/utils';
|
|
2
|
+
import { SessionMetadata } from './session.types';
|
|
3
|
+
export interface VerifyContextOptions {
|
|
4
|
+
verified: {
|
|
5
|
+
origin: string;
|
|
6
|
+
validation: string;
|
|
7
|
+
verifyUrl: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type WCSessionProposalOptions = {
|
|
11
|
+
id: number;
|
|
12
|
+
params: BuildApprovedNamespacesParams['proposal'];
|
|
13
|
+
verifyContext: VerifyContextOptions;
|
|
14
|
+
};
|
|
15
|
+
export type WCSessionRequestOptions = {
|
|
16
|
+
id: number;
|
|
17
|
+
topic: string;
|
|
18
|
+
params: {
|
|
19
|
+
chainId: string;
|
|
20
|
+
request: {
|
|
21
|
+
method: string;
|
|
22
|
+
params: unknown[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
verifyContext: VerifyContextOptions;
|
|
26
|
+
};
|
|
27
|
+
export interface TxParametersBase {
|
|
28
|
+
from: string;
|
|
29
|
+
to: string;
|
|
30
|
+
gas?: string;
|
|
31
|
+
gasPrice?: string;
|
|
32
|
+
value: string;
|
|
33
|
+
data?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface WCTransactionParameters<T = number> extends TxParametersBase {
|
|
36
|
+
chainId: T;
|
|
37
|
+
}
|
|
38
|
+
type BaseNamespace = {
|
|
39
|
+
chains?: string[];
|
|
40
|
+
accounts: string[];
|
|
41
|
+
methods: string[];
|
|
42
|
+
events: string[];
|
|
43
|
+
};
|
|
44
|
+
export type Namespaces = Record<string, BaseNamespace>;
|
|
45
|
+
export type WCSession = {
|
|
46
|
+
topic: string;
|
|
47
|
+
pairingTopic: string;
|
|
48
|
+
acknowledged: boolean;
|
|
49
|
+
controller: string;
|
|
50
|
+
self: {
|
|
51
|
+
publicKey: string;
|
|
52
|
+
};
|
|
53
|
+
peer: {
|
|
54
|
+
publicKey: string;
|
|
55
|
+
metadata: SessionMetadata;
|
|
56
|
+
};
|
|
57
|
+
namespaces: Namespaces;
|
|
58
|
+
};
|
|
59
|
+
export interface WCErrorResponse {
|
|
60
|
+
id: number;
|
|
61
|
+
error: {
|
|
62
|
+
code: number;
|
|
63
|
+
message: string;
|
|
64
|
+
};
|
|
65
|
+
jsonrpc: string;
|
|
66
|
+
}
|
|
67
|
+
export interface WCSuccessResponse {
|
|
68
|
+
id: number;
|
|
69
|
+
result: string | null | object;
|
|
70
|
+
jsonrpc: string;
|
|
71
|
+
}
|
|
72
|
+
export type WCResponse = WCErrorResponse | WCSuccessResponse;
|
|
73
|
+
export type AppMetaData = {
|
|
74
|
+
url?: string;
|
|
75
|
+
icon: string;
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Worker as NodeWorker } from 'worker_threads';
|
|
2
|
+
export declare class WorkerWrapper {
|
|
3
|
+
private worker;
|
|
4
|
+
constructor(worker: Worker | NodeWorker);
|
|
5
|
+
postMessage(data: any): void;
|
|
6
|
+
terminate(): void;
|
|
7
|
+
onMessage(cb: (data: any) => void): void;
|
|
8
|
+
onError(cb: (err: any) => void): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WorkerParams, WorkerPayload } from '../worker.types';
|
|
2
|
+
export declare enum SnarkJSWorkerActionType {
|
|
3
|
+
FULL_PROVE = 0
|
|
4
|
+
}
|
|
5
|
+
export interface SnarkJSWorkerFullProvePayload extends WorkerPayload<{
|
|
6
|
+
input: any;
|
|
7
|
+
chainId: number;
|
|
8
|
+
wasmFilePath: string;
|
|
9
|
+
zKeyFilePath: string;
|
|
10
|
+
}> {
|
|
11
|
+
type: SnarkJSWorkerActionType.FULL_PROVE;
|
|
12
|
+
}
|
|
13
|
+
export type SnarkJSPayload = SnarkJSWorkerFullProvePayload;
|
|
14
|
+
export type SnarkJSParams = WorkerParams<SnarkJSPayload>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|