@gurge/sdk 0.3.5 → 0.3.8
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 +4 -4
- 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/package.json +4 -4
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BigIntable } from './big-intable.types';
|
|
2
|
+
export interface EncryptedOutputWithSign<Sign = boolean> {
|
|
3
|
+
value: string;
|
|
4
|
+
isPositive: Sign;
|
|
5
|
+
isBlocked: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface EncryptedOutputWithCommitment {
|
|
8
|
+
commitment: string;
|
|
9
|
+
encryptedOutput: string;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputsWithSignAndLast<Sign = boolean> {
|
|
12
|
+
additionalEncryptedOutputs: EncryptedOutputWithSign<Sign>[];
|
|
13
|
+
lastOutput: string;
|
|
14
|
+
}
|
|
15
|
+
export interface CommitmentEvent<BN = BigIntable> {
|
|
16
|
+
commitment: BN;
|
|
17
|
+
index: BN;
|
|
18
|
+
encryptedOutput: string;
|
|
19
|
+
}
|
|
20
|
+
export interface SolanaCommitmentEvent {
|
|
21
|
+
commitment: number[];
|
|
22
|
+
index: number[];
|
|
23
|
+
encrypted_output: number[];
|
|
24
|
+
on_chain_data: number[][];
|
|
25
|
+
}
|
|
26
|
+
export interface AccessTokenEvent<BN = BigIntable> {
|
|
27
|
+
accessKey: BN;
|
|
28
|
+
index: BN;
|
|
29
|
+
senderAddress: string;
|
|
30
|
+
}
|
|
31
|
+
export interface SolanaAccessTokenEvent<BN, PublicKeyType> {
|
|
32
|
+
access_key: BN;
|
|
33
|
+
index: BN;
|
|
34
|
+
sender_address: PublicKeyType;
|
|
35
|
+
}
|
|
36
|
+
export interface NullifierEvent<T> {
|
|
37
|
+
nullifier: T;
|
|
38
|
+
}
|
|
39
|
+
export interface RegisterEvent {
|
|
40
|
+
ethereumAddress: string;
|
|
41
|
+
shieldedAddressHash: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum ConfirmationRequestType {
|
|
2
|
+
'CONNECT' = "CONNECT",
|
|
3
|
+
'PERSONAL_SIGN' = "PERSONAL_SIGN",
|
|
4
|
+
'SIGN_TYPE_V4' = "SIGN_TYPE_V4",
|
|
5
|
+
'SEND_TRANSACTION' = "SEND_TRANSACTION",
|
|
6
|
+
'SEND_BATCH_TRANSACTION' = "SEND_BATCH_TRANSACTION",
|
|
7
|
+
'UNSUPPORTED_NETWORK' = "UNSUPPORTED_NETWORK",
|
|
8
|
+
'UNSUPPORTED_METHOD' = "UNSUPPORTED_METHOD",
|
|
9
|
+
'BLACKLISTED_DAPP' = "BLACKLISTED_DAPP"
|
|
10
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Contact } from './contacts.types';
|
|
2
|
+
export declare enum MemberRole {
|
|
3
|
+
OWNER = "Owner",
|
|
4
|
+
MEMBER = "Member"
|
|
5
|
+
}
|
|
6
|
+
export interface InvitedMemberInterface {
|
|
7
|
+
email: string;
|
|
8
|
+
username?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface InvitedMember {
|
|
11
|
+
email: string;
|
|
12
|
+
invitedAt: Date;
|
|
13
|
+
username: string;
|
|
14
|
+
}
|
|
15
|
+
export interface AccountMemberInterface {
|
|
16
|
+
email: string;
|
|
17
|
+
role: MemberRole;
|
|
18
|
+
username: string;
|
|
19
|
+
providerUserId: string;
|
|
20
|
+
profileImage?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface AccountMember {
|
|
23
|
+
email: string;
|
|
24
|
+
role: MemberRole;
|
|
25
|
+
username: string;
|
|
26
|
+
providerUserId: string;
|
|
27
|
+
profileImage?: string;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
}
|
|
31
|
+
export interface DashboardAccountInterface {
|
|
32
|
+
contacts: Contact[];
|
|
33
|
+
accessToken: string;
|
|
34
|
+
refreshToken: string;
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
createdAt: Date;
|
|
37
|
+
organizationName?: string;
|
|
38
|
+
defaultDeliveryMethod?: DeliveryMethod;
|
|
39
|
+
defaultNetworkChainId?: number;
|
|
40
|
+
organizationEmail?: string;
|
|
41
|
+
organizationImage?: string;
|
|
42
|
+
ethereumAddress?: string;
|
|
43
|
+
members?: AccountMember[];
|
|
44
|
+
invitedMembers?: InvitedMember[];
|
|
45
|
+
notifications?: {
|
|
46
|
+
payoutApprovalRequested: boolean;
|
|
47
|
+
largePayoutAlerts: boolean;
|
|
48
|
+
balanceLowWarning: boolean;
|
|
49
|
+
};
|
|
50
|
+
encryptedEvmBalances?: string;
|
|
51
|
+
encryptedSolanaBalances?: string;
|
|
52
|
+
encryptedTronBalances?: string;
|
|
53
|
+
balancesUpdatedAt?: Date;
|
|
54
|
+
id: string;
|
|
55
|
+
}
|
|
56
|
+
export interface DashboardDbBalance {
|
|
57
|
+
balance: string;
|
|
58
|
+
chainId: number;
|
|
59
|
+
erc20TokenAddress: string;
|
|
60
|
+
}
|
|
61
|
+
interface DashboardAccountBase {
|
|
62
|
+
contacts: Contact[];
|
|
63
|
+
members?: AccountMember[];
|
|
64
|
+
invitedMembers?: InvitedMember[];
|
|
65
|
+
organizationName?: string;
|
|
66
|
+
defaultDeliveryMethod?: DeliveryMethod;
|
|
67
|
+
defaultNetworkChainId?: number;
|
|
68
|
+
organizationEmail?: string;
|
|
69
|
+
organizationImage?: string;
|
|
70
|
+
ethereumAddress?: string;
|
|
71
|
+
tronAddress?: string;
|
|
72
|
+
solanaAddress?: string;
|
|
73
|
+
notifications?: {
|
|
74
|
+
payoutApprovalRequested: boolean;
|
|
75
|
+
largePayoutAlerts: boolean;
|
|
76
|
+
balanceLowWarning: boolean;
|
|
77
|
+
};
|
|
78
|
+
encryptedEvmBalances?: string;
|
|
79
|
+
encryptedSolanaBalances?: string;
|
|
80
|
+
encryptedTronBalances?: string;
|
|
81
|
+
id: string;
|
|
82
|
+
}
|
|
83
|
+
export interface DeserializedEncryptedBalances {
|
|
84
|
+
privateBalances: DashboardDbBalance[];
|
|
85
|
+
publicBalances: DashboardDbBalance[];
|
|
86
|
+
}
|
|
87
|
+
export interface DashboardAccount extends DashboardAccountBase {
|
|
88
|
+
balancesUpdatedAt?: Date;
|
|
89
|
+
updatedAt: Date;
|
|
90
|
+
createdAt: Date;
|
|
91
|
+
}
|
|
92
|
+
export interface DashboardAccountClient extends DashboardAccountBase {
|
|
93
|
+
balancesUpdatedAt?: string;
|
|
94
|
+
updatedAt: string;
|
|
95
|
+
createdAt: string;
|
|
96
|
+
}
|
|
97
|
+
export declare enum DeliveryMethod {
|
|
98
|
+
CONFIDENTIAL = "Confidential Settlement",
|
|
99
|
+
DIRECT = "Direct to wallet"
|
|
100
|
+
}
|
|
101
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare enum PayoutType {
|
|
2
|
+
SINGLE = "Single",
|
|
3
|
+
BATCH = "Batch"
|
|
4
|
+
}
|
|
5
|
+
export declare enum PayoutStatus {
|
|
6
|
+
PENDING = "Pending",
|
|
7
|
+
REJECTED = "Rejected",
|
|
8
|
+
COMPLETED = "Completed"
|
|
9
|
+
}
|
|
10
|
+
export interface PayoutItem {
|
|
11
|
+
payoutType: PayoutType;
|
|
12
|
+
payoutStatus: PayoutStatus;
|
|
13
|
+
usePrivateBalance: boolean;
|
|
14
|
+
recipient: string;
|
|
15
|
+
selectedTokenChainId: number;
|
|
16
|
+
selectedTokenAddress: string;
|
|
17
|
+
amount: string;
|
|
18
|
+
publicTransfer: boolean;
|
|
19
|
+
destinationChainId?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface DashboardPayout {
|
|
22
|
+
id: string;
|
|
23
|
+
dashboardAccountId: string;
|
|
24
|
+
status: PayoutStatus;
|
|
25
|
+
payoutItems: PayoutItem[];
|
|
26
|
+
providerUserId: string;
|
|
27
|
+
createdAt: string;
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PayActivityStatus, PayActivityTypes, TransferVisibility } from './pay-activities.types';
|
|
2
|
+
interface DashboardTransactionBase {
|
|
3
|
+
hashedDashboardAccountId: string;
|
|
4
|
+
activityType: PayActivityTypes;
|
|
5
|
+
amount: string;
|
|
6
|
+
amountInDollar: string;
|
|
7
|
+
from: string;
|
|
8
|
+
to: string;
|
|
9
|
+
sentFrom: TransferVisibility;
|
|
10
|
+
sentTo: TransferVisibility;
|
|
11
|
+
status: PayActivityStatus;
|
|
12
|
+
chainId: number;
|
|
13
|
+
erc20TokenAddress: string;
|
|
14
|
+
txHash: string;
|
|
15
|
+
}
|
|
16
|
+
export interface DashboardTransaction extends DashboardTransactionBase {
|
|
17
|
+
timestamp?: Date;
|
|
18
|
+
}
|
|
19
|
+
export interface DashboardTransactionClient extends DashboardTransactionBase {
|
|
20
|
+
timestamp?: string;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type Capability = {
|
|
2
|
+
[key: string]: unknown;
|
|
3
|
+
optional?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type Call = {
|
|
6
|
+
to?: string;
|
|
7
|
+
data?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
capabilities?: Record<string, Capability>;
|
|
10
|
+
};
|
|
11
|
+
export type SendCallsParams = {
|
|
12
|
+
version: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
from?: string;
|
|
15
|
+
chainId: string;
|
|
16
|
+
atomicRequired: boolean;
|
|
17
|
+
calls: Call[];
|
|
18
|
+
capabilities?: Record<string, Capability>;
|
|
19
|
+
};
|
|
20
|
+
export declare enum GetCallsStatusCode {
|
|
21
|
+
Pending = "pending",
|
|
22
|
+
Confirmed = "confirmed",
|
|
23
|
+
Failed = "failed",
|
|
24
|
+
NotFound = "not_found"
|
|
25
|
+
}
|
|
26
|
+
export declare enum CallsStatus {
|
|
27
|
+
Pending = 100,// Batch has been received but not completed execution onchain
|
|
28
|
+
Confirmed = 200,// Batch has been included onchain without reverts
|
|
29
|
+
OffchainFailure = 400,// Batch has not been included onchain and wallet will not retry
|
|
30
|
+
ChainFailure = 500,// Batch reverted completely onchain
|
|
31
|
+
PartialFailure = 600
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { InterfaceAbi } from 'ethers';
|
|
2
|
+
import { Idl } from '@coral-xyz/anchor';
|
|
3
|
+
export type ContractMetadata = {
|
|
4
|
+
abi?: InterfaceAbi;
|
|
5
|
+
address?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare enum ContractType {
|
|
8
|
+
HinkalContract = 0,
|
|
9
|
+
HinkalHelperContract = 1,
|
|
10
|
+
UniswapV3FactoryContract = 2,
|
|
11
|
+
UniswapV3PoolContract = 3,
|
|
12
|
+
UniswapV3QuoterContract = 4,
|
|
13
|
+
ERC20Contract = 5,
|
|
14
|
+
ERC721Contract = 6,
|
|
15
|
+
ERC1155Contract = 7,
|
|
16
|
+
WATokenContract = 8,
|
|
17
|
+
OneInchExternalActionContract = 9,
|
|
18
|
+
MerkleTreeContract = 10,
|
|
19
|
+
ContractWithNonces = 11,
|
|
20
|
+
PermitterContract = 12,
|
|
21
|
+
UniswapV2PoolContract = 13,
|
|
22
|
+
HinkalWrapper = 14,
|
|
23
|
+
HinkalWrapper2 = 15,
|
|
24
|
+
DepositOnChainUtxos = 16
|
|
25
|
+
}
|
|
26
|
+
export interface ContractData {
|
|
27
|
+
hinkalAddress: string;
|
|
28
|
+
hinkalABI?: InterfaceAbi;
|
|
29
|
+
hinkalIdl?: Idl;
|
|
30
|
+
hinkalHelperAddress?: string;
|
|
31
|
+
hinkalHelperABI?: InterfaceAbi;
|
|
32
|
+
permitterAddress?: string;
|
|
33
|
+
permitterABI?: InterfaceAbi;
|
|
34
|
+
uniswapExternalActionAddress?: string;
|
|
35
|
+
odosExternalActionInstanceAddress?: string;
|
|
36
|
+
oneInchExternalActionInstanceAddress?: string;
|
|
37
|
+
waTokenABI?: InterfaceAbi;
|
|
38
|
+
hinkalWrapperAddress?: string;
|
|
39
|
+
hinkalWrapper2Address?: string;
|
|
40
|
+
hinkalWrapperABI?: InterfaceAbi;
|
|
41
|
+
HinkalWrapper2ABI?: InterfaceAbi;
|
|
42
|
+
emporiumAddress?: string;
|
|
43
|
+
hinkalWalletAddress?: string;
|
|
44
|
+
originalDeployer?: string;
|
|
45
|
+
depositOnChainUtxosExternalActionAddress?: string;
|
|
46
|
+
depositOnChainUtxosExternalActionABI?: InterfaceAbi;
|
|
47
|
+
}
|
|
48
|
+
export interface EthereumNetwork {
|
|
49
|
+
name: string;
|
|
50
|
+
chainId: number;
|
|
51
|
+
rpcUrl: string;
|
|
52
|
+
maxPageSize?: number;
|
|
53
|
+
fetchRpcUrl?: string;
|
|
54
|
+
wsRpcUrl?: string;
|
|
55
|
+
contractData: ContractData;
|
|
56
|
+
supported?: boolean;
|
|
57
|
+
quoterV2Address?: string;
|
|
58
|
+
uniswapV3FactoryAddress?: string;
|
|
59
|
+
pollingInterval?: number;
|
|
60
|
+
gasStationUrl?: string;
|
|
61
|
+
priority?: number;
|
|
62
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BlockchainEvent } from '../data-structures/BlockchainEvent/BlockchainEvent';
|
|
2
|
+
export type EventProcessorFunction = (events: BlockchainEvent[], scannedToBlock?: number) => Promise<number> | number;
|
|
3
|
+
export declare enum EventCategory {
|
|
4
|
+
MainContractEvents = "MainContractEvents"
|
|
5
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum ExternalActionId {
|
|
2
|
+
Transact = "Transact",
|
|
3
|
+
Uniswap = "Uniswap",
|
|
4
|
+
Odos = "Odos",
|
|
5
|
+
OneInch = "OneInch",
|
|
6
|
+
Lifi = "Lifi",// Note: not an actual external action, added to handle lifi in hinkal.proxySwap
|
|
7
|
+
Okx = "Okx",// Note: not an actual external action
|
|
8
|
+
Emporium = "Emporium",
|
|
9
|
+
Wallet = "Wallet",
|
|
10
|
+
DepositOnChainUtxos = "DepositOnChainUtxos",
|
|
11
|
+
ProofLess = "ProofLess"
|
|
12
|
+
}
|
|
13
|
+
export interface ExternalActionData {
|
|
14
|
+
externalActionId: 0n | ExternalActionId;
|
|
15
|
+
externalAddress: string;
|
|
16
|
+
externalActionMetadata: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ERC20Token } from './token.types';
|
|
2
|
+
export interface MinimalFeeInfo {
|
|
3
|
+
flatFees: bigint[];
|
|
4
|
+
feeUnit: ERC20Token | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface FeeInfo extends MinimalFeeInfo {
|
|
7
|
+
priceOfTransactionInToken: bigint | undefined;
|
|
8
|
+
priceOfTransactionInUSD: number | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare enum SolanaPriorityFeeMode {
|
|
11
|
+
RECOMMENDED = "RECOMMENDED",
|
|
12
|
+
HIGH = "HIGH"
|
|
13
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration options for the Hinkal system.
|
|
3
|
+
*/
|
|
4
|
+
export type HinkalConfig = {
|
|
5
|
+
/**
|
|
6
|
+
* Path to the cache file used for storing temporary data.
|
|
7
|
+
* It should be a valid file path string.
|
|
8
|
+
*/
|
|
9
|
+
cacheFilePath?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Indicator to use caching on a file level.
|
|
12
|
+
* Node only.
|
|
13
|
+
*/
|
|
14
|
+
useFileCache?: boolean;
|
|
15
|
+
disableCaching?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Indicator controlling wether the proof should be constructed remotely in secure enclave.
|
|
18
|
+
*/
|
|
19
|
+
generateProofRemotely?: boolean;
|
|
20
|
+
disableMerkleTreeUpdates?: boolean;
|
|
21
|
+
serializedCache?: Record<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Override which Tron chain this Hinkal instance targets.
|
|
24
|
+
*/
|
|
25
|
+
tronChainOverride?: number;
|
|
26
|
+
};
|
|
27
|
+
export declare enum EventType {
|
|
28
|
+
BalanceChange = "BalanceChange",
|
|
29
|
+
KycNeeded = "KycNeeded",
|
|
30
|
+
AccountChanged = "AccountChanged",
|
|
31
|
+
ShowConnect = "ShowConnect",
|
|
32
|
+
ShowNetworkPopup = "ShowNetworkPopup",
|
|
33
|
+
MerkleTreeUpdated = "MerkleTreeUpdated",
|
|
34
|
+
MerkleTreeResetStarted = "MerkleTreeResetStarted",
|
|
35
|
+
MerkleTreeResetFinished = "MerkleTreeResetFinished"
|
|
36
|
+
}
|
|
37
|
+
export declare enum IntegrationProvider {
|
|
38
|
+
UNISWAP = 1,
|
|
39
|
+
ODOS = 2,
|
|
40
|
+
ONEINCH = 3,
|
|
41
|
+
LIFI = 4,
|
|
42
|
+
OKX = 5,
|
|
43
|
+
ALL = 6,
|
|
44
|
+
NONE = 7
|
|
45
|
+
}
|
|
46
|
+
export declare enum INTERACTION {
|
|
47
|
+
WITHDRAW = "WITHDRAW",
|
|
48
|
+
SWAP = "SWAP",
|
|
49
|
+
CLAIMING = "CLAIMING",
|
|
50
|
+
EMPORIUM = "EMPORIUM",
|
|
51
|
+
NONE = "NONE"
|
|
52
|
+
}
|
|
53
|
+
export declare enum HinkalLogicAction {
|
|
54
|
+
NONE = 0,// = 0
|
|
55
|
+
APPROVE = 1,// = 1
|
|
56
|
+
RELEASE_BUFFER = 2,// = 2
|
|
57
|
+
EXECUTE = 3
|
|
58
|
+
}
|
|
59
|
+
export interface UseApprovalUTXOData<T = bigint> {
|
|
60
|
+
approvalChanges: T[];
|
|
61
|
+
externalApprovalAddresses: string[];
|
|
62
|
+
conversionInHinkalAddress: T[];
|
|
63
|
+
}
|
|
64
|
+
export type HinkalLogicArgs<T = bigint> = {
|
|
65
|
+
hinkalLogicAction: HinkalLogicAction;
|
|
66
|
+
executeApprovalChanges: T[];
|
|
67
|
+
doPreTxApproval: boolean;
|
|
68
|
+
inHinkalAddress: T;
|
|
69
|
+
useApprovalUtxoData: UseApprovalUTXOData<T>[];
|
|
70
|
+
interactionAddress?: string;
|
|
71
|
+
};
|
|
72
|
+
export declare const defaultHinkalLogicArgs: (count: number) => HinkalLogicArgs<bigint>;
|
|
73
|
+
export type FeeStructure<T = bigint> = {
|
|
74
|
+
feeToken: string;
|
|
75
|
+
flatFee: T;
|
|
76
|
+
variableRate: T;
|
|
77
|
+
};
|
|
78
|
+
export declare const zeroFeeStructure: FeeStructure<bigint>;
|
|
79
|
+
export type AuthorizationData = {
|
|
80
|
+
v: string;
|
|
81
|
+
r: string;
|
|
82
|
+
s: string;
|
|
83
|
+
nonce: string;
|
|
84
|
+
address: string;
|
|
85
|
+
chainId: string;
|
|
86
|
+
};
|
|
87
|
+
export type ParsedInLogicMetadata = {
|
|
88
|
+
signature: string;
|
|
89
|
+
deadline: number;
|
|
90
|
+
erc20TokenAddresses: string[];
|
|
91
|
+
externalCallData: string;
|
|
92
|
+
};
|
|
93
|
+
export declare enum UserProgress {
|
|
94
|
+
NOT_STARTED = 0,
|
|
95
|
+
CONNECTED = 1,
|
|
96
|
+
KYC = 2,
|
|
97
|
+
COMPLETED = 3
|
|
98
|
+
}
|
|
99
|
+
export declare enum LoginMessageMode {
|
|
100
|
+
PROTOCOL = "protocol",
|
|
101
|
+
PRIVATE_TRANSFER = "privateTransfer"
|
|
102
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
export interface HttpClient {
|
|
3
|
+
get<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
4
|
+
post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
|
|
5
|
+
put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
|
|
6
|
+
patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
|
|
7
|
+
delete<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export * from './API.types';
|
|
2
|
+
export * from './approvals.types';
|
|
3
|
+
export * from './big-intable.types';
|
|
4
|
+
export * from './circom-data.types';
|
|
5
|
+
export * from './commitments.types';
|
|
6
|
+
export * from './IMultiThreadedUtxoUtils';
|
|
7
|
+
export * from './crypto.types';
|
|
8
|
+
export * from './ethereum-network.types';
|
|
9
|
+
export * from './external-action.types';
|
|
10
|
+
export * from './hinkal.types';
|
|
11
|
+
export * from './kyc.types';
|
|
12
|
+
export * from './snark.types';
|
|
13
|
+
export * from './token.types';
|
|
14
|
+
export * from './slippage.types';
|
|
15
|
+
export * from './transactions.types';
|
|
16
|
+
export * from './rewards.types';
|
|
17
|
+
export * from './admin.types';
|
|
18
|
+
export * from './ICacheDevice';
|
|
19
|
+
export * from './activities.types';
|
|
20
|
+
export * from './wc.types';
|
|
21
|
+
export * from './transaction.types';
|
|
22
|
+
export * from './with-id.types';
|
|
23
|
+
export * from './balances.types';
|
|
24
|
+
export * from './cache.types';
|
|
25
|
+
export * from './tenderly.api.types';
|
|
26
|
+
export * from './TransactionSimulator.types';
|
|
27
|
+
export * from './coingecko.types';
|
|
28
|
+
export * from './message.types';
|
|
29
|
+
export * from './session.types';
|
|
30
|
+
export * from './token-prices.types';
|
|
31
|
+
export * from './presaleReferral.types';
|
|
32
|
+
export * from './brotherhood-user.types';
|
|
33
|
+
export * from './WeeklyAnalytics.types';
|
|
34
|
+
export * from './referral.types';
|
|
35
|
+
export * from './all-points.types';
|
|
36
|
+
export * from './new-rewards.type';
|
|
37
|
+
export * from './RewardUserEnums';
|
|
38
|
+
export * from './generatePoints';
|
|
39
|
+
export * from './eip5792.types';
|
|
40
|
+
export * from './proxy.types';
|
|
41
|
+
export * from './confirmation-request.types';
|
|
42
|
+
export * from './signature.types';
|
|
43
|
+
export * from './offscreen.types';
|
|
44
|
+
export * from './solana.types';
|
|
45
|
+
export * from './okx.types';
|
|
46
|
+
export * from './http.types';
|
|
47
|
+
export * from './connector.types';
|
|
48
|
+
export * from './scheduled-transactions.types';
|
|
49
|
+
export * from './bridging-tx.types';
|
|
50
|
+
export * from './near-intents.types';
|
|
51
|
+
export * from './onramp.types';
|
|
52
|
+
export * from './events.types';
|
|
53
|
+
export * from './tron.types';
|
|
54
|
+
export * from './pay-activities.types';
|
|
55
|
+
export * from './schedule.types';
|
|
56
|
+
export * from './dashboard-account';
|
|
57
|
+
export * from './pay-routing.types';
|
|
58
|
+
export * from './contacts.types';
|
|
59
|
+
export * from './dashboard-payout.types';
|
|
60
|
+
export * from './dashboard-transaction.types';
|
|
61
|
+
export * from './chains.types';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare enum VERIFICATION_TYPE {
|
|
2
|
+
USER = "USER",
|
|
3
|
+
BUSINESS = "BUSINESS"
|
|
4
|
+
}
|
|
5
|
+
export declare const VerificationTypes: VERIFICATION_TYPE[];
|
|
6
|
+
export declare enum Passports {
|
|
7
|
+
AiPriseKyc = 0,
|
|
8
|
+
AiPriseKyb = 1,
|
|
9
|
+
BABPassport = 2,
|
|
10
|
+
GalxePassport = 3,
|
|
11
|
+
ZkMePassport = 4,
|
|
12
|
+
CoinbasePassport = 5,
|
|
13
|
+
AuthentoPassport = 6,
|
|
14
|
+
AuthentoPassportKyb = 7,
|
|
15
|
+
ReclaimCoinbasePassport = 8,
|
|
16
|
+
ReclaimBNBPassport = 9,
|
|
17
|
+
ReclaimOKXPassport = 10,
|
|
18
|
+
ReclaimGatePassport = 11,
|
|
19
|
+
ReclaimMexcPassport = 12,
|
|
20
|
+
ReclaimHtxPassport = 13
|
|
21
|
+
}
|
|
22
|
+
export declare enum KycVerificationResult {
|
|
23
|
+
APPROVED = "APPROVED",// The user is verified. The verification process successfully completed.
|
|
24
|
+
DECLINED = "DECLINED",// The user is not verified. The verification process successfully completed.
|
|
25
|
+
REVIEW = "REVIEW",// The end user or business needs to be manually looked at. The verification process successfully completed.
|
|
26
|
+
UNKNOWN = "UNKNOWN"
|
|
27
|
+
}
|
|
28
|
+
export declare enum KycVerificationStatus {
|
|
29
|
+
COMPLETED = "COMPLETED",// The verification process successfully completed.
|
|
30
|
+
FAILED = "FAILED",// The verification process failed. status_reasons(explained below) should have more details.
|
|
31
|
+
PENDING = "PENDING",// The verification process is waiting for a third-party API to complete its processing.
|
|
32
|
+
RUNNING = "RUNNING",// The verification process is running.
|
|
33
|
+
NOT_STARTED = "NOT_STARTED"
|
|
34
|
+
}
|
|
35
|
+
export interface VerificationData {
|
|
36
|
+
verificationResult: KycVerificationResult | null;
|
|
37
|
+
verificationStatus: KycVerificationStatus | null;
|
|
38
|
+
countryCode: string | null;
|
|
39
|
+
fullName: string | null;
|
|
40
|
+
idNumber: string | null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { TokenBalanceWithUsdValue } from './token.types';
|
|
2
|
+
export type NearIntentsSwapType = 'EXACT_INPUT' | 'EXACT_OUTPUT';
|
|
3
|
+
export type NearIntentsDepositType = 'ORIGIN_CHAIN' | 'INTENTS';
|
|
4
|
+
export type NearIntentsRecipientType = 'DESTINATION_CHAIN' | 'INTENTS';
|
|
5
|
+
export type NearIntentsRefundType = 'ORIGIN_CHAIN' | 'INTENTS';
|
|
6
|
+
export interface NearIntentsQuoteRequest {
|
|
7
|
+
dry: boolean;
|
|
8
|
+
swapType: NearIntentsSwapType;
|
|
9
|
+
slippageTolerance: number;
|
|
10
|
+
originAsset: string;
|
|
11
|
+
depositType: NearIntentsDepositType;
|
|
12
|
+
destinationAsset: string;
|
|
13
|
+
amount: string;
|
|
14
|
+
recipient: string;
|
|
15
|
+
recipientType: NearIntentsRecipientType;
|
|
16
|
+
refundTo: string;
|
|
17
|
+
refundType: NearIntentsRefundType;
|
|
18
|
+
deadline: string;
|
|
19
|
+
}
|
|
20
|
+
export interface NearIntentsQuoteResponse {
|
|
21
|
+
quote: {
|
|
22
|
+
depositAddress: string;
|
|
23
|
+
amountOut: string;
|
|
24
|
+
deadline?: string;
|
|
25
|
+
timeWhenInactive?: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export interface NearIntentsToken {
|
|
29
|
+
assetId: string;
|
|
30
|
+
decimals: number;
|
|
31
|
+
blockchain: string;
|
|
32
|
+
symbol: string;
|
|
33
|
+
contractAddress?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NearBridgeParams {
|
|
36
|
+
originAsset: string;
|
|
37
|
+
destinationChainId: number;
|
|
38
|
+
destinationAsset: string;
|
|
39
|
+
slippageBps?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface NearIntentsRefundBalance extends TokenBalanceWithUsdValue {
|
|
42
|
+
assetId: string;
|
|
43
|
+
}
|
|
44
|
+
export interface NearBridgeLeg {
|
|
45
|
+
destinationRecipient: string;
|
|
46
|
+
amount: bigint;
|
|
47
|
+
depositAddress: string;
|
|
48
|
+
quote: NearIntentsQuoteResponse['quote'];
|
|
49
|
+
}
|
|
50
|
+
export interface NearBridgeResult {
|
|
51
|
+
depositTxHash: string;
|
|
52
|
+
legs: NearBridgeLeg[];
|
|
53
|
+
}
|
|
54
|
+
export interface NearBridgeQuoteResult {
|
|
55
|
+
totalOutputAmount: bigint;
|
|
56
|
+
outputAmounts: bigint[];
|
|
57
|
+
isLoading: boolean;
|
|
58
|
+
error: string;
|
|
59
|
+
hasRoute: boolean;
|
|
60
|
+
}
|