@hinkal/common 0.2.15 → 0.2.17
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/API/API.cjs +1 -1
- package/API/API.d.ts +73 -34
- package/API/API.mjs +112 -59
- package/API/accessCodeCalls.cjs +1 -0
- package/API/accessCodeCalls.d.ts +23 -0
- package/API/accessCodeCalls.mjs +23 -0
- package/API/admin-calls.cjs +1 -0
- package/API/admin-calls.d.ts +2 -0
- package/API/admin-calls.mjs +8 -0
- package/API/ai-calls.cjs +1 -1
- package/API/ai-calls.d.ts +8 -0
- package/API/ai-calls.mjs +16 -8
- package/API/brotherhoodCalls.cjs +1 -0
- package/API/brotherhoodCalls.d.ts +82 -0
- package/API/brotherhoodCalls.mjs +59 -0
- package/API/callLifiAPI.cjs +1 -0
- package/API/callLifiAPI.d.ts +33 -0
- package/API/callLifiAPI.mjs +11 -0
- package/API/callMonitor.cjs +1 -1
- package/API/callMonitor.mjs +5 -2
- package/API/callOdosAPI.cjs +1 -1
- package/API/callOdosAPI.mjs +12 -13
- package/API/callOkxAPI.cjs +1 -0
- package/API/callOkxAPI.d.ts +10 -0
- package/API/callOkxAPI.mjs +13 -0
- package/API/callOneInchAPI.cjs +1 -1
- package/API/callOneInchAPI.mjs +9 -8
- package/API/callRelayer.cjs +1 -1
- package/API/callRelayer.d.ts +17 -0
- package/API/callRelayer.mjs +15 -6
- package/API/checkRisk.cjs +1 -1
- package/API/checkRisk.mjs +5 -4
- package/API/duneAPI.cjs +1 -1
- package/API/duneAPI.mjs +7 -5
- package/API/enclaveCalls.cjs +1 -0
- package/API/enclaveCalls.d.ts +9 -0
- package/API/enclaveCalls.mjs +11 -0
- package/API/fetchCommitmentsCache.cjs +1 -1
- package/API/fetchCommitmentsCache.d.ts +12 -4
- package/API/fetchCommitmentsCache.mjs +21 -7
- package/API/generate-trading-points.cjs +1 -0
- package/API/generate-trading-points.d.ts +27 -0
- package/API/generate-trading-points.mjs +45 -0
- package/API/get-token-data.cjs +1 -0
- package/API/get-token-data.d.ts +6 -0
- package/API/get-token-data.mjs +8 -0
- package/API/getBridgeProtocols.cjs +1 -0
- package/API/getBridgeProtocols.d.ts +7 -0
- package/API/getBridgeProtocols.mjs +8 -0
- package/API/getGasEstimates.cjs +1 -1
- package/API/getGasEstimates.d.ts +2 -2
- package/API/getGasEstimates.mjs +10 -10
- package/API/getLifiStatus.cjs +1 -0
- package/API/getLifiStatus.d.ts +24 -0
- package/API/getLifiStatus.mjs +15 -0
- package/API/getRelayerURL.cjs +1 -1
- package/API/getRelayerURL.mjs +6 -6
- package/API/getServerURL.cjs +1 -1
- package/API/getServerURL.d.ts +3 -1
- package/API/getServerURL.mjs +60 -29
- package/API/getTokenPrice.cjs +1 -1
- package/API/getTokenPrice.d.ts +0 -11
- package/API/getTokenPrice.mjs +8 -16
- package/API/getWebsiteURL.cjs +1 -0
- package/API/getWebsiteURL.d.ts +3 -0
- package/API/getWebsiteURL.mjs +56 -0
- package/API/index.d.ts +9 -3
- package/API/is-tx-stateless.cjs +1 -1
- package/API/is-tx-stateless.d.ts +4 -2
- package/API/is-tx-stateless.mjs +18 -7
- package/API/kycCalls.cjs +1 -1
- package/API/kycCalls.d.ts +4 -7
- package/API/kycCalls.mjs +34 -32
- package/API/leaderboardCalls.cjs +1 -0
- package/API/leaderboardCalls.d.ts +14 -0
- package/API/leaderboardCalls.mjs +16 -0
- package/API/proxyAccountsCalls.cjs +1 -0
- package/API/proxyAccountsCalls.d.ts +4 -0
- package/API/proxyAccountsCalls.mjs +26 -0
- package/API/referralsCalls.cjs +1 -0
- package/API/referralsCalls.d.ts +22 -0
- package/API/referralsCalls.mjs +22 -0
- package/API/relayCalls.cjs +1 -1
- package/API/relayCalls.d.ts +1 -1
- package/API/relayCalls.mjs +8 -5
- package/API/resolve-sns.cjs +1 -0
- package/API/resolve-sns.d.ts +1 -0
- package/API/resolve-sns.mjs +12 -0
- package/API/restoreSnapshots.cjs +1 -1
- package/API/restoreSnapshots.mjs +4 -3
- package/API/rewardsUserCalls.cjs +1 -0
- package/API/rewardsUserCalls.d.ts +51 -0
- package/API/rewardsUserCalls.mjs +44 -0
- package/API/scheduled-transactions-calls.cjs +1 -0
- package/API/scheduled-transactions-calls.d.ts +6 -0
- package/API/scheduled-transactions-calls.mjs +9 -0
- package/API/seedless-calls.cjs +1 -0
- package/API/seedless-calls.d.ts +53 -0
- package/API/seedless-calls.mjs +12 -0
- package/API/send-telegram-callback.cjs +1 -0
- package/API/send-telegram-callback.d.ts +7 -0
- package/API/send-telegram-callback.mjs +11 -0
- package/API/simulate-batch-tx.cjs +1 -0
- package/API/simulate-batch-tx.d.ts +3 -0
- package/API/simulate-batch-tx.mjs +13 -0
- package/API/solana-calls.cjs +1 -0
- package/API/solana-calls.d.ts +34 -0
- package/API/solana-calls.mjs +19 -0
- package/API/tenderly.api.cjs +1 -1
- package/API/tenderly.api.mjs +24 -22
- package/API/token-calls.cjs +1 -1
- package/API/token-calls.d.ts +1 -1
- package/API/token-calls.mjs +12 -7
- package/API/unspent-utxos-calls.cjs +1 -0
- package/API/unspent-utxos-calls.d.ts +26 -0
- package/API/unspent-utxos-calls.mjs +27 -0
- package/API/weeklyAnalyticCalls.cjs +1 -0
- package/API/weeklyAnalyticCalls.d.ts +22 -0
- package/API/weeklyAnalyticCalls.mjs +16 -0
- package/README.md +61 -0
- package/constants/activity.constants.cjs +1 -0
- package/constants/activity.constants.d.ts +2 -0
- package/constants/activity.constants.mjs +14 -0
- package/constants/addresses.constants.cjs +1 -1
- package/constants/addresses.constants.d.ts +9 -0
- package/constants/addresses.constants.mjs +71 -41
- package/constants/backend.constants.cjs +1 -1
- package/constants/backend.constants.d.ts +3 -1
- package/constants/backend.constants.mjs +6 -7
- package/constants/bridging.constants.cjs +1 -0
- package/constants/bridging.constants.d.ts +5 -0
- package/constants/bridging.constants.mjs +8 -0
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.d.ts +8 -3
- package/constants/chains.constants.mjs +88 -79
- package/constants/coingecko.constants.cjs +1 -1
- package/constants/coingecko.constants.d.ts +4 -1
- package/constants/coingecko.constants.mjs +25 -15
- package/constants/contracts.constants.cjs +1 -1
- package/constants/contracts.constants.mjs +74 -252
- package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +1487 -8687
- package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -0
- package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +7381 -0
- package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-avalanche.json.mjs +258 -8430
- package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-base.json.mjs +1491 -8681
- package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +258 -7898
- package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +1835 -8845
- package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-localhost.json.mjs +1209 -10210
- package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-optimism.json.mjs +1491 -8681
- package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-polygon.json.mjs +1491 -8681
- package/constants/deploy-data/deploy-data-solana.json.cjs +1 -0
- package/constants/deploy-data/deploy-data-solana.json.mjs +6111 -0
- package/constants/deploy-data/index.d.ts +3 -3
- package/constants/events.constants.cjs +1 -0
- package/constants/events.constants.d.ts +1 -0
- package/constants/events.constants.mjs +12 -0
- package/constants/fees.constants.cjs +1 -1
- package/constants/fees.constants.d.ts +1 -12
- package/constants/fees.constants.mjs +4 -35
- package/constants/function-signatures.constants.cjs +1 -0
- package/constants/function-signatures.constants.d.ts +5 -0
- package/constants/function-signatures.constants.mjs +8 -0
- package/constants/index.d.ts +11 -6
- package/constants/kyc.constants.cjs +1 -1
- package/constants/kyc.constants.mjs +23 -35
- package/constants/lifi.constants.cjs +1 -0
- package/constants/lifi.constants.d.ts +1 -0
- package/constants/lifi.constants.mjs +4 -0
- package/constants/link.constant.cjs +1 -0
- package/constants/link.constant.d.ts +1 -0
- package/constants/link.constant.mjs +4 -0
- package/constants/mediaUrls.constants.cjs +1 -1
- package/constants/mediaUrls.constants.d.ts +10 -0
- package/constants/mediaUrls.constants.mjs +14 -4
- package/constants/oauthUrls.constants.cjs +1 -0
- package/constants/oauthUrls.constants.d.ts +7 -0
- package/constants/oauthUrls.constants.mjs +10 -0
- package/constants/okx.constants.cjs +1 -0
- package/constants/okx.constants.d.ts +2 -0
- package/constants/okx.constants.mjs +5 -0
- package/constants/permit2.constants.cjs +1 -1
- package/constants/permit2.constants.d.ts +6 -0
- package/constants/permit2.constants.mjs +14 -2
- package/constants/presale.constants.cjs +1 -0
- package/constants/presale.constants.d.ts +78 -0
- package/{externalABIs/LidoWstEthAbi.json.mjs → constants/presale.constants.mjs} +242 -218
- package/constants/protocol.constants.cjs +1 -1
- package/constants/protocol.constants.d.ts +32 -11
- package/constants/protocol.constants.mjs +44 -36
- package/constants/reorg-depths.constants.cjs +1 -1
- package/constants/reorg-depths.constants.mjs +14 -11
- package/constants/rewards.constants.cjs +1 -1
- package/constants/rewards.constants.d.ts +3 -4
- package/constants/rewards.constants.mjs +14 -21
- package/constants/save-depths.cjs +1 -0
- package/constants/save-depths.d.ts +3 -0
- package/constants/save-depths.mjs +19 -0
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +103 -79
- package/constants/server.constants.mjs +195 -148
- package/constants/tasks.constants.cjs +1 -0
- package/constants/tasks.constants.d.ts +9 -0
- package/constants/tasks.constants.mjs +230 -0
- package/constants/token-data/ERC20Registry.cjs +1 -1
- package/constants/token-data/ERC20Registry.mjs +50 -33
- package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistry.json.mjs +1185 -526
- package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistryFixed.json.mjs +1218 -463
- package/constants/token-data/arcTestnetRegistry.json.cjs +1 -0
- package/constants/token-data/arcTestnetRegistry.json.mjs +439 -0
- package/constants/token-data/avalancheRegistry.json.cjs +1 -1
- package/constants/token-data/avalancheRegistry.json.mjs +296 -322
- package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
- package/constants/token-data/avalancheRegistryFixed.json.mjs +297 -323
- package/constants/token-data/baseRegistry.json.cjs +1 -1
- package/constants/token-data/baseRegistry.json.mjs +715 -232
- package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
- package/constants/token-data/baseRegistryFixed.json.mjs +736 -217
- package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistry.json.mjs +444 -516
- package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +444 -516
- package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistry.json.mjs +2710 -1798
- package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistryFixed.json.mjs +2894 -1494
- package/constants/token-data/index.cjs +1 -1
- package/constants/token-data/index.d.ts +228 -291
- package/constants/token-data/index.mjs +34 -28
- package/constants/token-data/localhostRegistry.json.cjs +1 -1
- package/constants/token-data/localhostRegistry.json.mjs +3 -3
- package/constants/token-data/optimismRegistry.json.cjs +1 -1
- package/constants/token-data/optimismRegistry.json.mjs +129 -1402
- package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
- package/constants/token-data/optimismRegistryFixed.json.mjs +129 -1322
- package/constants/token-data/polygonRegistry.json.cjs +1 -1
- package/constants/token-data/polygonRegistry.json.mjs +1395 -784
- package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
- package/constants/token-data/polygonRegistryFixed.json.mjs +1447 -746
- package/constants/token-data/solanaLocalnetRegistry.json.cjs +1 -0
- package/constants/token-data/solanaLocalnetRegistry.json.mjs +24 -0
- package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -0
- package/constants/token-data/solanaMainnetRegistry.json.mjs +560 -0
- package/constants/token-data/tokenPricing.consts.d.ts +0 -3
- package/constants/vite.constants.cjs +1 -1
- package/constants/vite.constants.d.ts +7 -11
- package/constants/vite.constants.mjs +13 -38
- package/constants/wallet.constants.cjs +1 -0
- package/constants/wallet.constants.d.ts +7 -0
- package/constants/wallet.constants.mjs +10 -0
- package/crypto/preProcessing.cjs +1 -1
- package/crypto/preProcessing.mjs +3 -3
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -0
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.d.ts +18 -0
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +175 -0
- package/data-structures/ApprovalDBs/index.d.ts +1 -0
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +40 -46
- package/data-structures/Hinkal/Hinkal.mjs +344 -191
- package/data-structures/Hinkal/IHinkal.d.ts +39 -45
- package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -0
- package/data-structures/Hinkal/handleAutoDepositBack.d.ts +5 -0
- package/data-structures/Hinkal/handleAutoDepositBack.mjs +108 -0
- package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.d.ts +5 -1
- package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +31 -50
- package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionReceive.d.ts +4 -1
- package/data-structures/Hinkal/hinkalActionReceive.mjs +33 -31
- package/data-structures/Hinkal/hinkalApprove.cjs +1 -1
- package/data-structures/Hinkal/hinkalApprove.d.ts +2 -1
- package/data-structures/Hinkal/hinkalApprove.mjs +73 -78
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.cjs +1 -0
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.d.ts +3 -0
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +28 -0
- package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -1
- package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +46 -7
- package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
- package/data-structures/Hinkal/hinkalDeposit.mjs +76 -62
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +4 -0
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +188 -0
- package/data-structures/Hinkal/hinkalGetRecipientInfo.cjs +1 -1
- package/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +1 -1
- package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +4 -4
- package/data-structures/Hinkal/hinkalGetZkMeProvider.d.ts +27 -2
- package/data-structures/Hinkal/hinkalInsideTransact.cjs +1 -1
- package/data-structures/Hinkal/hinkalInsideTransact.d.ts +3 -1
- package/data-structures/Hinkal/hinkalInsideTransact.mjs +84 -74
- package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -1
- package/data-structures/Hinkal/hinkalMultiSend.mjs +6 -6
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +4 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +127 -73
- package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalProxySwap.d.ts +4 -1
- package/data-structures/Hinkal/hinkalProxySwap.mjs +48 -24
- package/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -0
- package/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +6 -0
- package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +45 -0
- package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -1
- package/data-structures/Hinkal/hinkalSignSubAccount.d.ts +3 -2
- package/data-structures/Hinkal/hinkalSignSubAccount.mjs +19 -17
- package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +4 -0
- package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +133 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +236 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +6 -0
- package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +55 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +6 -0
- package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +99 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +5 -0
- package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +96 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +4 -0
- package/data-structures/Hinkal/hinkalSolanaSwap.mjs +119 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +89 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +3 -0
- package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +105 -0
- package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalSwap.d.ts +3 -1
- package/data-structures/Hinkal/hinkalSwap.mjs +103 -58
- package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
- package/data-structures/Hinkal/hinkalTransfer.d.ts +4 -1
- package/data-structures/Hinkal/hinkalTransfer.mjs +127 -2
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.d.ts +2 -2
- package/data-structures/Hinkal/hinkalWithdraw.mjs +95 -60
- package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -0
- package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.d.ts +4 -0
- package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +147 -0
- package/data-structures/Hinkal/index.d.ts +5 -4
- package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
- package/data-structures/Hinkal/resetMerkleTrees.mjs +59 -27
- package/data-structures/IndexedDB/activity-db.cjs +1 -1
- package/data-structures/IndexedDB/activity-db.d.ts +2 -3
- package/data-structures/IndexedDB/activity-db.mjs +146 -83
- package/data-structures/IndexedDB/balances-db.cjs +1 -1
- package/data-structures/IndexedDB/balances-db.d.ts +1 -1
- package/data-structures/IndexedDB/balances-db.mjs +59 -41
- package/data-structures/IndexedDB/contact-db.cjs +1 -1
- package/data-structures/IndexedDB/contact-db.mjs +83 -29
- package/data-structures/IndexedDB/index.d.ts +1 -0
- package/data-structures/IndexedDB/signatures-db.cjs +1 -0
- package/data-structures/IndexedDB/signatures-db.d.ts +10 -0
- package/data-structures/IndexedDB/signatures-db.mjs +63 -0
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +2 -2
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +32 -31
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -0
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +19 -0
- package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +204 -0
- package/data-structures/TokenDBs/ArcPublicTokensDB.cjs +1 -0
- package/data-structures/TokenDBs/ArcPublicTokensDB.d.ts +11 -0
- package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +112 -0
- package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -0
- package/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +17 -0
- package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +173 -0
- package/data-structures/TokenDBs/IPublicTokensDB.d.ts +6 -0
- package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/PrivateTokensDB.mjs +48 -36
- package/data-structures/TokenDBs/PublicTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/PublicTokensDB.d.ts +4 -8
- package/data-structures/TokenDBs/PublicTokensDB.mjs +21 -75
- package/data-structures/TokenDBs/index.d.ts +2 -0
- package/data-structures/TokenDBs/token-visibility-db.cjs +1 -0
- package/data-structures/TokenDBs/token-visibility-db.d.ts +17 -0
- package/data-structures/TokenDBs/token-visibility-db.mjs +96 -0
- package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
- package/data-structures/crypto-keys/decodeUTXO.d.ts +15 -3
- package/data-structures/crypto-keys/decodeUTXO.mjs +84 -26
- package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
- package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +36 -30
- package/data-structures/crypto-keys/keys.cjs +1 -1
- package/data-structures/crypto-keys/keys.d.ts +21 -0
- package/data-structures/crypto-keys/keys.mjs +118 -38
- package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractAccessTokenSnapshotService.d.ts → evm/AbstractAccessTokenSnapshotService.d.ts} +4 -5
- package/data-structures/event-service/{AbstractAccessTokenSnapshotService.mjs → evm/AbstractAccessTokenSnapshotService.mjs} +12 -23
- package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractApprovalsSnapshotService.d.ts → evm/AbstractApprovalsSnapshotService.d.ts} +4 -5
- package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +92 -0
- package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractCommitmentsSnapshotService.d.ts → evm/AbstractCommitmentsSnapshotService.d.ts} +5 -6
- package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +86 -0
- package/data-structures/event-service/evm/AbstractEventService.cjs +1 -0
- package/data-structures/event-service/evm/AbstractEventService.d.ts +12 -0
- package/data-structures/event-service/evm/AbstractEventService.mjs +37 -0
- package/data-structures/event-service/evm/AbstractNullifierSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractNullifierSnapshotService.d.ts → evm/AbstractNullifierSnapshotService.d.ts} +4 -4
- package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +48 -0
- package/data-structures/event-service/evm/AbstractSnapshotService.cjs +1 -0
- package/data-structures/event-service/{AbstractSnapshotService.d.ts → evm/AbstractSnapshotService.d.ts} +6 -7
- package/data-structures/event-service/evm/AbstractSnapshotService.mjs +33 -0
- package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -0
- package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +26 -0
- package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +90 -0
- package/data-structures/event-service/index.d.ts +13 -6
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +34 -0
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +87 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +29 -0
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +96 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.d.ts +22 -0
- package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +33 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +21 -0
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +49 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.cjs +1 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.d.ts +22 -0
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +33 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +41 -0
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +154 -0
- package/data-structures/http/BasicHttpClient.cjs +1 -0
- package/data-structures/http/BasicHttpClient.d.ts +11 -0
- package/data-structures/http/BasicHttpClient.mjs +25 -0
- package/data-structures/http/HttpClient.cjs +1 -0
- package/data-structures/http/HttpClient.d.ts +10 -0
- package/data-structures/http/HttpClient.mjs +15 -0
- package/data-structures/http/index.d.ts +2 -0
- package/data-structures/index.d.ts +4 -1
- package/data-structures/presale/PresaleContractWrapper.cjs +1 -0
- package/data-structures/presale/PresaleContractWrapper.d.ts +23 -0
- package/data-structures/presale/PresaleContractWrapper.mjs +54 -0
- package/data-structures/presale/index.d.ts +1 -0
- package/data-structures/provider-adapter/IProviderAdapter.d.ts +4 -3
- package/data-structures/snapshot/SnapshotFetcherService.cjs +1 -0
- package/data-structures/snapshot/SnapshotFetcherService.d.ts +16 -0
- package/data-structures/snapshot/SnapshotFetcherService.mjs +42 -0
- package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientAccessTokenSnapshotService.d.ts → evm-snapshots/ClientAccessTokenSnapshotService.d.ts} +4 -3
- package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +41 -0
- package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/{ClientApprovalsSnapshotService.d.ts → evm-snapshots/ClientApprovalsSnapshotService.d.ts} +4 -4
- package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +43 -0
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +35 -0
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.cjs +1 -0
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +34 -0
- package/data-structures/snapshot/index.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +42 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +34 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.cjs +1 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.d.ts +8 -0
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +34 -0
- package/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
- package/data-structures/token-price-fetcher/TokenChecker.d.ts +1 -13
- package/data-structures/token-price-fetcher/TokenChecker.mjs +13 -26
- package/data-structures/transactions-manager/history/history.types.cjs +1 -1
- package/data-structures/transactions-manager/history/history.types.d.ts +2 -81
- package/data-structures/transactions-manager/history/history.types.mjs +2 -42
- package/data-structures/transactions-manager/index.d.ts +0 -1
- package/data-structures/utxo/Utxo.cjs +1 -1
- package/data-structures/utxo/Utxo.d.ts +6 -1
- package/data-structures/utxo/Utxo.mjs +37 -24
- package/error-handling/customErrors/ErrorWithTx.cjs +1 -0
- package/error-handling/customErrors/ErrorWithTx.d.ts +5 -0
- package/error-handling/customErrors/ErrorWithTx.mjs +9 -0
- package/error-handling/customErrors/SimulationFailureError.cjs +1 -0
- package/error-handling/customErrors/SimulationFailureError.d.ts +10 -0
- package/error-handling/customErrors/SimulationFailureError.mjs +9 -0
- package/error-handling/customErrors/index.d.ts +2 -0
- package/error-handling/error-codes.constants.cjs +2 -2
- package/error-handling/error-codes.constants.d.ts +19 -20
- package/error-handling/error-codes.constants.mjs +178 -179
- package/error-handling/get-error.message.cjs +1 -1
- package/error-handling/get-error.message.d.ts +2 -0
- package/error-handling/get-error.message.mjs +81 -36
- package/error-handling/index.d.ts +1 -2
- package/error-handling/types.cjs +1 -1
- package/error-handling/types.d.ts +4 -1
- package/error-handling/types.mjs +2 -2
- package/externalABIs/ERC1155.json.cjs +1 -0
- package/externalABIs/ERC1155.json.mjs +320 -0
- package/externalABIs/ERC721.json.cjs +1 -0
- package/externalABIs/{BeefyZapOneInchAbi.json.mjs → ERC721.json.mjs} +162 -167
- package/externalABIs/NodeInterfaceABI.json.cjs +1 -0
- package/externalABIs/NodeInterfaceABI.json.mjs +280 -0
- package/externalABIs/index.cjs +1 -1
- package/externalABIs/index.d.ts +25 -79
- package/externalABIs/index.mjs +18 -20
- package/externalABIs/swapAbi.cjs +1 -0
- package/externalABIs/{BeefyZapAbi.json.mjs → swapAbi.mjs} +161 -81
- package/functions/connectors.types.d.ts +14 -0
- package/functions/index.d.ts +1 -1
- package/functions/pre-transaction/addressTableLookup.cjs +1 -0
- package/functions/pre-transaction/addressTableLookup.d.ts +4 -0
- package/functions/pre-transaction/addressTableLookup.mjs +44 -0
- package/functions/pre-transaction/constructAdminData.cjs +1 -0
- package/functions/pre-transaction/constructAdminData.d.ts +3 -0
- package/functions/pre-transaction/constructAdminData.mjs +33 -0
- package/functions/pre-transaction/convert-okx-instructions.cjs +1 -0
- package/functions/pre-transaction/convert-okx-instructions.d.ts +12 -0
- package/functions/pre-transaction/convert-okx-instructions.mjs +30 -0
- package/functions/pre-transaction/getExternalSwapAddress.cjs +1 -1
- package/functions/pre-transaction/getExternalSwapAddress.mjs +9 -6
- package/functions/pre-transaction/getFeeStructure.cjs +1 -1
- package/functions/pre-transaction/getFeeStructure.d.ts +2 -2
- package/functions/pre-transaction/getFeeStructure.mjs +8 -9
- package/functions/pre-transaction/getFlatFees.cjs +1 -1
- package/functions/pre-transaction/getFlatFees.d.ts +2 -2
- package/functions/pre-transaction/getFlatFees.mjs +43 -166
- package/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -0
- package/functions/pre-transaction/getSolanaCalldataHash.d.ts +4 -0
- package/functions/pre-transaction/getSolanaCalldataHash.mjs +36 -0
- package/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -0
- package/functions/pre-transaction/getVolatileTransferAmount.d.ts +9 -0
- package/functions/pre-transaction/getVolatileTransferAmount.mjs +53 -0
- package/functions/pre-transaction/index.d.ts +12 -1
- package/functions/pre-transaction/initTokenLimitIfNeeded.cjs +1 -0
- package/functions/pre-transaction/initTokenLimitIfNeeded.d.ts +3 -0
- package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +20 -0
- package/functions/pre-transaction/interaction-to-action.cjs +1 -1
- package/functions/pre-transaction/interaction-to-action.d.ts +2 -2
- package/functions/pre-transaction/interaction-to-action.mjs +6 -53
- package/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +1 -0
- package/functions/pre-transaction/merge-with-fee-structure-emporium.d.ts +3 -0
- package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +24 -0
- package/functions/pre-transaction/merge-with-fee-structure.cjs +1 -1
- package/functions/pre-transaction/merge-with-fee-structure.mjs +15 -17
- package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -1
- package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +1 -0
- package/functions/pre-transaction/outputApprovalDataProcessing.mjs +32 -35
- package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.mjs +31 -18
- package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
- package/functions/pre-transaction/process-gas-estimates.d.ts +2 -2
- package/functions/pre-transaction/process-gas-estimates.mjs +9 -9
- package/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -0
- package/functions/pre-transaction/recipientUtxoProcessing.d.ts +3 -0
- package/functions/pre-transaction/recipientUtxoProcessing.mjs +36 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.d.ts +11 -0
- package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +41 -0
- package/functions/pre-transaction/sendV0Transaction.cjs +1 -0
- package/functions/pre-transaction/sendV0Transaction.d.ts +22 -0
- package/functions/pre-transaction/sendV0Transaction.mjs +121 -0
- package/functions/pre-transaction/solana-public-signals.cjs +1 -0
- package/functions/pre-transaction/solana-public-signals.d.ts +19 -0
- package/functions/pre-transaction/solana-public-signals.mjs +60 -0
- package/functions/pre-transaction/solana.cjs +1 -0
- package/functions/pre-transaction/solana.d.ts +17 -0
- package/functions/pre-transaction/solana.mjs +96 -0
- package/functions/pre-transaction/solanaTransfer.utils.cjs +1 -0
- package/functions/pre-transaction/solanaTransfer.utils.d.ts +6 -0
- package/functions/pre-transaction/solanaTransfer.utils.mjs +38 -0
- package/functions/pre-transaction/store-instructions.cjs +1 -0
- package/functions/pre-transaction/store-instructions.d.ts +4 -0
- package/functions/pre-transaction/store-instructions.mjs +9 -0
- package/functions/pre-transaction/store-proof.cjs +1 -0
- package/functions/pre-transaction/store-proof.d.ts +7 -0
- package/functions/pre-transaction/store-proof.mjs +55 -0
- package/functions/private-wallet/emporium.helpers.cjs +1 -1
- package/functions/private-wallet/emporium.helpers.d.ts +20 -7
- package/functions/private-wallet/emporium.helpers.mjs +171 -95
- package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
- package/functions/private-wallet/emporium.swap.helpers.d.ts +3 -1
- package/functions/private-wallet/emporium.swap.helpers.mjs +134 -69
- package/functions/private-wallet/index.d.ts +0 -1
- package/functions/snarkjs/common.snarkjs.cjs +1 -1
- package/functions/snarkjs/common.snarkjs.d.ts +5 -1
- package/functions/snarkjs/common.snarkjs.mjs +70 -69
- package/functions/snarkjs/constant.cjs +1 -1
- package/functions/snarkjs/constant.d.ts +64 -6
- package/functions/snarkjs/constant.mjs +93 -29
- package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
- package/functions/snarkjs/constructEmporiumProof.d.ts +7 -6
- package/functions/snarkjs/constructEmporiumProof.mjs +146 -149
- package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/functions/snarkjs/constructGeneralZkProof.d.ts +4 -4
- package/functions/snarkjs/constructGeneralZkProof.mjs +115 -118
- package/functions/snarkjs/constructSolanaZkProof.cjs +1 -0
- package/functions/snarkjs/constructSolanaZkProof.d.ts +13 -0
- package/functions/snarkjs/constructSolanaZkProof.mjs +105 -0
- package/functions/snarkjs/fetchMerkleTreeSiblings.cjs +1 -0
- package/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +11 -0
- package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +22 -0
- package/functions/snarkjs/generateCircomData.cjs +1 -1
- package/functions/snarkjs/generateCircomData.d.ts +1 -1
- package/functions/snarkjs/generateCircomData.mjs +23 -23
- package/functions/snarkjs/generateZkProof.cjs +1 -1
- package/functions/snarkjs/generateZkProof.mjs +13 -4
- package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
- package/functions/snarkjs/generateZkProofEnclave.mjs +13 -12
- package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -0
- package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +13 -0
- package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +92 -0
- package/functions/snarkjs/getZKFiles.cjs +1 -1
- package/functions/snarkjs/getZKFiles.mjs +13 -13
- package/functions/snarkjs/index.d.ts +1 -0
- package/functions/utils/addresses.cjs +1 -1
- package/functions/utils/addresses.d.ts +2 -1
- package/functions/utils/addresses.mjs +21 -15
- package/functions/utils/amounts.utils.cjs +1 -1
- package/functions/utils/amounts.utils.d.ts +3 -0
- package/functions/utils/amounts.utils.mjs +54 -28
- package/functions/utils/bytes32.utils.cjs +1 -0
- package/functions/utils/bytes32.utils.d.ts +2 -0
- package/functions/utils/bytes32.utils.mjs +10 -0
- package/functions/utils/cacheDevice.utils.cjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +8 -5
- package/functions/utils/cacheFunctions.cjs +1 -1
- package/functions/utils/cacheFunctions.mjs +53 -52
- package/functions/utils/caseInsensitive.utils.cjs +1 -1
- package/functions/utils/caseInsensitive.utils.d.ts +1 -1
- package/functions/utils/caseInsensitive.utils.mjs +3 -3
- package/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -1
- package/functions/utils/convertEmporiumOpToCallInfo.d.ts +1 -1
- package/functions/utils/convertEmporiumOpToCallInfo.mjs +6 -5
- package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
- package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +5 -4
- package/functions/utils/create-provider.cjs +1 -1
- package/functions/utils/create-provider.d.ts +4 -0
- package/functions/utils/create-provider.mjs +9 -2
- package/functions/utils/encodeTokenWithId.cjs +1 -1
- package/functions/utils/encodeTokenWithId.d.ts +1 -1
- package/functions/utils/encodeTokenWithId.mjs +6 -2
- package/functions/utils/encryptInputForEnclave.cjs +1 -1
- package/functions/utils/encryptInputForEnclave.mjs +22 -21
- package/functions/utils/erc20tokenFunctions.cjs +1 -1
- package/functions/utils/erc20tokenFunctions.d.ts +7 -2
- package/functions/utils/erc20tokenFunctions.mjs +54 -21
- package/functions/utils/ethers-formatter.utils.cjs +1 -0
- package/functions/utils/ethers-formatter.utils.d.ts +5 -0
- package/functions/utils/ethers-formatter.utils.mjs +59 -0
- package/functions/utils/evmNetworkFunctions.cjs +1 -1
- package/functions/utils/evmNetworkFunctions.mjs +10 -7
- package/functions/utils/external-action.utils.cjs +1 -1
- package/functions/utils/external-action.utils.d.ts +0 -5
- package/functions/utils/external-action.utils.mjs +8 -56
- package/functions/utils/fees.utils.cjs +1 -1
- package/functions/utils/fees.utils.d.ts +3 -0
- package/functions/utils/fees.utils.mjs +29 -8
- package/functions/utils/get-hinkal-approvals.cjs +1 -0
- package/functions/utils/get-hinkal-approvals.d.ts +3 -0
- package/functions/utils/get-hinkal-approvals.mjs +38 -0
- package/functions/utils/get-signature-header.cjs +1 -0
- package/functions/utils/get-signature-header.d.ts +5 -0
- package/functions/utils/get-signature-header.mjs +8 -0
- package/functions/utils/getBlockExplorerUrl.cjs +1 -1
- package/functions/utils/getBlockExplorerUrl.mjs +3 -3
- package/functions/utils/getDataFromTransaction.cjs +1 -1
- package/functions/utils/getDataFromTransaction.d.ts +3 -4
- package/functions/utils/getDataFromTransaction.mjs +25 -44
- package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
- package/functions/utils/getRecipientInfoFromUserKeys.d.ts +0 -1
- package/functions/utils/getRecipientInfoFromUserKeys.mjs +10 -13
- package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -0
- package/functions/utils/getUtxosFromReceipt.utils.d.ts +4 -0
- package/functions/utils/getUtxosFromReceipt.utils.mjs +29 -0
- package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -0
- package/functions/utils/getUtxosFromReceiptSolana.d.ts +5 -0
- package/functions/utils/getUtxosFromReceiptSolana.mjs +19 -0
- package/functions/utils/inLogicMetadata.cjs +1 -0
- package/functions/utils/inLogicMetadata.d.ts +2 -0
- package/functions/utils/inLogicMetadata.mjs +8 -0
- package/functions/utils/index.d.ts +16 -2
- package/functions/utils/involves-permit2-op.cjs +1 -1
- package/functions/utils/involves-permit2-op.d.ts +8 -1
- package/functions/utils/involves-permit2-op.mjs +7 -3
- package/functions/utils/ipfs.cjs +1 -0
- package/functions/utils/ipfs.d.ts +8 -0
- package/functions/utils/ipfs.mjs +25 -0
- package/functions/utils/is-valid-url.cjs +1 -0
- package/functions/utils/is-valid-url.d.ts +1 -0
- package/functions/utils/is-valid-url.mjs +4 -0
- package/functions/utils/lifi.utils.d.ts +1 -0
- package/functions/utils/mutexes.utils.cjs +1 -0
- package/functions/utils/mutexes.utils.d.ts +2 -0
- package/functions/utils/mutexes.utils.mjs +5 -0
- package/functions/utils/networks.utils.cjs +1 -0
- package/functions/utils/networks.utils.d.ts +1 -0
- package/functions/utils/networks.utils.mjs +21 -0
- package/functions/utils/nftTokenFunctions.cjs +1 -0
- package/functions/utils/nftTokenFunctions.d.ts +2 -0
- package/functions/utils/nftTokenFunctions.mjs +40 -0
- package/functions/utils/postToOffscreen.cjs +1 -0
- package/functions/utils/postToOffscreen.d.ts +2 -0
- package/functions/utils/postToOffscreen.mjs +6 -0
- package/functions/utils/prepareHinkal.cjs +1 -0
- package/functions/utils/prepareHinkal.d.ts +14 -2
- package/functions/utils/prepareHinkal.mjs +88 -0
- package/functions/utils/publicBalance.utils.cjs +1 -1
- package/functions/utils/publicBalance.utils.d.ts +5 -3
- package/functions/utils/publicBalance.utils.mjs +95 -15
- package/functions/utils/solanaMint.utils.cjs +1 -0
- package/functions/utils/solanaMint.utils.d.ts +10 -0
- package/functions/utils/solanaMint.utils.mjs +14 -0
- package/functions/utils/string.utils.cjs +1 -1
- package/functions/utils/string.utils.d.ts +3 -0
- package/functions/utils/string.utils.mjs +10 -4
- package/functions/utils/time.utils.cjs +1 -1
- package/functions/utils/time.utils.d.ts +11 -0
- package/functions/utils/time.utils.mjs +52 -4
- package/functions/utils/trimFieldValues.cjs +1 -0
- package/functions/utils/trimFieldValues.d.ts +4 -0
- package/functions/utils/trimFieldValues.mjs +17 -0
- package/functions/utils/userAgent.cjs +1 -1
- package/functions/utils/userAgent.d.ts +2 -1
- package/functions/utils/userAgent.mjs +23 -11
- package/functions/utils/walletBalances.utils.cjs +1 -0
- package/functions/utils/walletBalances.utils.d.ts +17 -0
- package/functions/utils/walletBalances.utils.mjs +42 -0
- package/functions/web3/EIP-712.cjs +1 -0
- package/functions/web3/EIP-712.d.ts +23 -0
- package/functions/web3/EIP-712.mjs +113 -0
- package/functions/web3/connectors.utils.cjs +1 -0
- package/functions/web3/connectors.utils.d.ts +6 -0
- package/functions/web3/connectors.utils.mjs +23 -0
- package/functions/web3/events/balanceChangedCustomHandler.cjs +1 -1
- package/functions/web3/events/balanceChangedCustomHandler.mjs +2 -3
- package/functions/web3/events/balanceChangedHandler.cjs +1 -1
- package/functions/web3/events/balanceChangedHandler.mjs +4 -5
- package/functions/web3/events/getApprovedBalance.cjs +1 -1
- package/functions/web3/events/getApprovedBalance.mjs +42 -68
- package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.d.ts +7 -6
- package/functions/web3/events/getInputUtxoAndBalance.mjs +154 -119
- package/functions/web3/events/getInputUtxosEnclave.cjs +1 -0
- package/functions/web3/events/getInputUtxosEnclave.d.ts +8 -0
- package/functions/web3/events/getInputUtxosEnclave.mjs +47 -0
- package/functions/web3/events/getShieldedBalance.cjs +2 -2
- package/functions/web3/events/getShieldedBalance.d.ts +2 -2
- package/functions/web3/events/getShieldedBalance.mjs +78 -68
- package/functions/web3/events/getTransactionLogEvents.cjs +1 -0
- package/functions/web3/events/getTransactionLogEvents.d.ts +13 -0
- package/functions/web3/events/getTransactionLogEvents.mjs +75 -0
- package/functions/web3/events/index.d.ts +1 -0
- package/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -0
- package/functions/web3/fetchSolanaMerkleTreeRootHash.d.ts +4 -0
- package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +45 -0
- package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
- package/functions/web3/functionCalls/accessTokenCalls.d.ts +3 -2
- package/functions/web3/functionCalls/accessTokenCalls.mjs +24 -21
- package/functions/web3/functionCalls/approveToken.cjs +1 -1
- package/functions/web3/functionCalls/approveToken.mjs +21 -19
- package/functions/web3/functionCalls/constructBatchCall.cjs +1 -0
- package/functions/web3/functionCalls/constructBatchCall.d.ts +5 -0
- package/functions/web3/functionCalls/constructBatchCall.mjs +21 -0
- package/functions/web3/functionCalls/estimateGasRelayer.cjs +1 -1
- package/functions/web3/functionCalls/estimateGasRelayer.d.ts +2 -1
- package/functions/web3/functionCalls/estimateGasRelayer.mjs +15 -14
- package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
- package/functions/web3/functionCalls/transactCallDirect.mjs +38 -24
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.d.ts +22 -2
- package/functions/web3/functionCalls/transactCallRelayer.mjs +86 -32
- package/functions/web3/getContractMetadata.cjs +1 -1
- package/functions/web3/getContractMetadata.mjs +24 -20
- package/functions/web3/getPublicAddressBalance.cjs +1 -0
- package/functions/web3/getPublicAddressBalance.d.ts +2 -0
- package/functions/web3/getPublicAddressBalance.mjs +9 -0
- package/functions/web3/getTokenHolder.cjs +1 -1
- package/functions/web3/getTokenHolder.mjs +71 -10
- package/functions/web3/index.d.ts +6 -0
- package/functions/web3/lifiAPI.cjs +1 -0
- package/functions/web3/lifiAPI.d.ts +6 -0
- package/functions/web3/lifiAPI.mjs +30 -0
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.d.ts +1 -1
- package/functions/web3/odosAPI.mjs +30 -21
- package/functions/web3/okxAPI.cjs +1 -0
- package/functions/web3/okxAPI.d.ts +8 -0
- package/functions/web3/okxAPI.mjs +43 -0
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.d.ts +1 -1
- package/functions/web3/oneInchAPI.mjs +30 -20
- package/functions/web3/runContractFunction.cjs +1 -1
- package/functions/web3/runContractFunction.mjs +33 -26
- package/functions/web3/signAndSendSerializedTransaction.cjs +1 -0
- package/functions/web3/signAndSendSerializedTransaction.d.ts +2 -0
- package/functions/web3/signAndSendSerializedTransaction.mjs +11 -0
- package/functions/web3/solana-wagmi-adapter.cjs +1 -0
- package/functions/web3/solana-wagmi-adapter.d.ts +3 -0
- package/functions/web3/solana-wagmi-adapter.mjs +29 -0
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.mjs +36 -27
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.mjs +978 -787
- package/mutexes/index.d.ts +1 -0
- package/mutexes/mutex.cjs +1 -0
- package/mutexes/mutex.d.ts +2 -0
- package/mutexes/mutex.mjs +5 -0
- package/package.json +10 -3
- package/providers/CustomEthersProvider.cjs +1 -0
- package/providers/CustomEthersProvider.d.ts +10 -0
- package/providers/CustomEthersProvider.mjs +29 -0
- package/providers/CustomSolanaConnection.cjs +1 -0
- package/providers/CustomSolanaConnection.d.ts +4 -0
- package/providers/CustomSolanaConnection.mjs +33 -0
- package/providers/EthersProviderAdapter.cjs +1 -1
- package/providers/EthersProviderAdapter.d.ts +1 -2
- package/providers/EthersProviderAdapter.mjs +19 -21
- package/providers/SolanaProviderAdapter.cjs +1 -0
- package/providers/SolanaProviderAdapter.d.ts +44 -0
- package/providers/SolanaProviderAdapter.mjs +125 -0
- package/providers/WagmiProviderAdapter.cjs +1 -1
- package/providers/WagmiProviderAdapter.d.ts +5 -2
- package/providers/WagmiProviderAdapter.mjs +94 -47
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +27 -15
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +27 -15
- package/types/API.types.d.ts +0 -19
- package/types/IMultiThreadedUtxoUtils.d.ts +2 -2
- package/types/RewardUserEnums.cjs +1 -0
- package/types/RewardUserEnums.d.ts +11 -0
- package/types/RewardUserEnums.mjs +5 -0
- package/types/TransactionSimulator.types.d.ts +17 -3
- package/types/WeeklyAnalytics.types.d.ts +37 -0
- package/types/activities.types.cjs +1 -1
- package/types/activities.types.d.ts +34 -7
- package/types/activities.types.mjs +22 -10
- package/types/admin.types.cjs +1 -1
- package/types/admin.types.d.ts +42 -20
- package/types/admin.types.mjs +2 -3
- package/types/all-points.types.d.ts +7 -0
- package/types/approvals.types.cjs +1 -0
- package/types/approvals.types.d.ts +41 -0
- package/types/approvals.types.mjs +4 -0
- package/types/bridging.types.d.ts +29 -0
- package/types/brotherhood-user.types.d.ts +11 -0
- package/types/cache.types.cjs +1 -1
- package/types/cache.types.d.ts +26 -4
- package/types/cache.types.mjs +2 -2
- package/types/circom-data.types.d.ts +12 -0
- package/types/coingecko.types.d.ts +207 -0
- package/types/commitments.types.d.ts +12 -0
- package/types/confirmation-request.types.cjs +1 -0
- package/types/confirmation-request.types.d.ts +10 -0
- package/types/confirmation-request.types.mjs +4 -0
- package/types/connector.types.d.ts +4 -0
- package/types/contacts.types.d.ts +1 -0
- package/types/eip5792.types.cjs +1 -0
- package/types/eip5792.types.d.ts +33 -0
- package/types/eip5792.types.mjs +5 -0
- package/types/ethereum-network.types.cjs +1 -1
- package/types/ethereum-network.types.d.ts +21 -95
- package/types/ethereum-network.types.mjs +2 -2
- package/types/external-action.types.cjs +1 -1
- package/types/external-action.types.d.ts +4 -16
- package/types/external-action.types.mjs +2 -2
- package/types/generatePoints.cjs +1 -0
- package/types/generatePoints.d.ts +14 -0
- package/types/generatePoints.mjs +5 -0
- package/types/hinkal.types.cjs +1 -1
- package/types/hinkal.types.d.ts +24 -96
- package/types/hinkal.types.mjs +26 -33
- package/types/http.types.d.ts +8 -0
- package/types/index.d.ts +25 -8
- package/types/kyc.types.cjs +1 -1
- package/types/kyc.types.d.ts +5 -3
- package/types/kyc.types.mjs +3 -3
- package/types/message.types.d.ts +5 -0
- package/types/new-rewards.type.cjs +1 -0
- package/types/new-rewards.type.d.ts +156 -0
- package/types/new-rewards.type.mjs +7 -0
- package/types/offscreen.types.cjs +1 -0
- package/types/offscreen.types.d.ts +9 -0
- package/types/offscreen.types.mjs +4 -0
- package/types/okx.types.d.ts +57 -0
- package/types/presaleReferral.types.d.ts +4 -0
- package/types/proxy.types.d.ts +10 -0
- package/types/referral.types.d.ts +12 -0
- package/types/rewards.types.cjs +1 -1
- package/types/rewards.types.d.ts +15 -210
- package/types/rewards.types.mjs +3 -25
- package/types/routing.types.cjs +1 -0
- package/types/routing.types.d.ts +7 -0
- package/types/routing.types.mjs +4 -0
- package/types/sandbox.types.cjs +1 -1
- package/types/sandbox.types.d.ts +86 -21
- package/types/sandbox.types.mjs +2 -2
- package/types/scheduled-transactions.types.cjs +1 -0
- package/types/scheduled-transactions.types.d.ts +22 -0
- package/types/scheduled-transactions.types.mjs +4 -0
- package/types/session.types.d.ts +11 -0
- package/types/signature.types.d.ts +10 -0
- package/types/slippage.types.cjs +1 -1
- package/types/slippage.types.d.ts +1 -13
- package/types/slippage.types.mjs +2 -13
- package/types/solana.types.d.ts +75 -0
- package/types/tenderly.api.types.d.ts +37 -21
- package/types/token-prices.types.cjs +1 -0
- package/types/token-prices.types.d.ts +7 -0
- package/types/token-prices.types.mjs +9 -0
- package/types/token.types.d.ts +32 -8
- package/types/transactions.types.cjs +1 -1
- package/types/transactions.types.d.ts +12 -20
- package/types/transactions.types.mjs +5 -5
- package/types/wc.types.d.ts +4 -15
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +28 -21
- package/webworker/utxoWorker/utxoWorker.types.d.ts +2 -0
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLogic.mjs +33 -31
- package/webworker/viteWorkerURL.constant.cjs +3 -3
- package/webworker/viteWorkerURL.constant.mjs +3 -3
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
- package/API/HinkalPointsCalls.cjs +0 -1
- package/API/HinkalPointsCalls.d.ts +0 -20
- package/API/HinkalPointsCalls.mjs +0 -15
- package/API/callBeefyGraphAPI.cjs +0 -1
- package/API/callBeefyGraphAPI.d.ts +0 -2
- package/API/callBeefyGraphAPI.mjs +0 -14
- package/API/callCurveAPI.cjs +0 -1
- package/API/callCurveAPI.d.ts +0 -9
- package/API/callCurveAPI.mjs +0 -160
- package/API/dataServerCalls.cjs +0 -1
- package/API/dataServerCalls.d.ts +0 -6
- package/API/dataServerCalls.mjs +0 -13
- package/API/fetchNullifiers.cjs +0 -1
- package/API/fetchNullifiers.d.ts +0 -5
- package/API/fetchNullifiers.mjs +0 -7
- package/API/getAxelarGasEstimate.cjs +0 -1
- package/API/getAxelarGasEstimate.d.ts +0 -5
- package/API/getAxelarGasEstimate.mjs +0 -14
- package/API/getConnextReceiveFee.cjs +0 -1
- package/API/getConnextReceiveFee.d.ts +0 -2
- package/API/getConnextReceiveFee.mjs +0 -7
- package/API/referralProgramCalls.cjs +0 -1
- package/API/referralProgramCalls.d.ts +0 -36
- package/API/referralProgramCalls.mjs +0 -35
- package/API/rewardsPointsCalls.cjs +0 -1
- package/API/rewardsPointsCalls.d.ts +0 -10
- package/API/rewardsPointsCalls.mjs +0 -15
- package/API/userVerifyTransactions.cjs +0 -1
- package/API/userVerifyTransactions.d.ts +0 -19
- package/API/userVerifyTransactions.mjs +0 -21
- package/constants/axelar.constants.cjs +0 -1
- package/constants/axelar.constants.d.ts +0 -5
- package/constants/axelar.constants.mjs +0 -48
- package/constants/beefy.registry.cjs +0 -1
- package/constants/beefy.registry.d.ts +0 -8
- package/constants/beefy.registry.mjs +0 -24
- package/constants/crvCvx.registry.cjs +0 -1
- package/constants/crvCvx.registry.d.ts +0 -20
- package/constants/crvCvx.registry.mjs +0 -638
- package/constants/crvDynamic.registry.cjs +0 -1
- package/constants/crvDynamic.registry.d.ts +0 -1
- package/constants/crvDynamic.registry.mjs +0 -24
- package/constants/deploy-data/deploy-data-axelar1.json.cjs +0 -1
- package/constants/deploy-data/deploy-data-axelar1.json.mjs +0 -4329
- package/constants/deploy-data/deploy-data-axelar2.json.cjs +0 -1
- package/constants/deploy-data/deploy-data-axelar2.json.mjs +0 -4329
- package/constants/lido.constants.cjs +0 -1
- package/constants/lido.constants.d.ts +0 -10
- package/constants/lido.constants.mjs +0 -13
- package/constants/pendle.registry.cjs +0 -1
- package/constants/pendle.registry.d.ts +0 -21
- package/constants/pendle.registry.mjs +0 -253
- package/constants/token-data/tokenPricing.consts.cjs +0 -1
- package/constants/token-data/tokenPricing.consts.mjs +0 -6
- package/data-structures/Hinkal/hinkalActionBeefy.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionBeefy.d.ts +0 -3
- package/data-structures/Hinkal/hinkalActionBeefy.mjs +0 -80
- package/data-structures/Hinkal/hinkalActionConvex.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionConvex.d.ts +0 -12
- package/data-structures/Hinkal/hinkalActionConvex.mjs +0 -61
- package/data-structures/Hinkal/hinkalActionCurve.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionCurve.d.ts +0 -12
- package/data-structures/Hinkal/hinkalActionCurve.mjs +0 -93
- package/data-structures/Hinkal/hinkalActionLidoEth.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionLidoEth.d.ts +0 -4
- package/data-structures/Hinkal/hinkalActionLidoEth.mjs +0 -72
- package/data-structures/Hinkal/hinkalActionPendle.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionPendle.d.ts +0 -3
- package/data-structures/Hinkal/hinkalActionPendle.mjs +0 -119
- package/data-structures/Hinkal/hinkalActionPendleLP.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionPendleLP.d.ts +0 -7
- package/data-structures/Hinkal/hinkalActionPendleLP.mjs +0 -81
- package/data-structures/Hinkal/hinkalActionStake.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionStake.mjs +0 -122
- package/data-structures/Hinkal/hinkalActionVolatile.cjs +0 -1
- package/data-structures/Hinkal/hinkalActionVolatile.d.ts +0 -3
- package/data-structures/Hinkal/hinkalActionVolatile.mjs +0 -89
- package/data-structures/Hinkal/hinkalDeploySubAccount.cjs +0 -1
- package/data-structures/Hinkal/hinkalDeploySubAccount.d.ts +0 -3
- package/data-structures/Hinkal/hinkalDeploySubAccount.mjs +0 -15
- package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractApprovalsSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractApprovalsSnapshotService.mjs +0 -104
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +0 -94
- package/data-structures/event-service/AbstractEventService.cjs +0 -1
- package/data-structures/event-service/AbstractEventService.d.ts +0 -31
- package/data-structures/event-service/AbstractEventService.mjs +0 -95
- package/data-structures/event-service/AbstractNullifierSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractNullifierSnapshotService.mjs +0 -59
- package/data-structures/event-service/AbstractSnapshotService.cjs +0 -1
- package/data-structures/event-service/AbstractSnapshotService.mjs +0 -35
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +0 -32
- package/data-structures/snapshot/ClientApprovalsSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientApprovalsSnapshotService.mjs +0 -23
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.d.ts +0 -7
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +0 -31
- package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +0 -1
- package/data-structures/snapshot/ClientNullifierSnapshotService.d.ts +0 -7
- package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +0 -28
- package/data-structures/transactions-manager/TransactionsManager.cjs +0 -1
- package/data-structures/transactions-manager/TransactionsManager.d.ts +0 -28
- package/data-structures/transactions-manager/TransactionsManager.mjs +0 -180
- package/data-structures/transactions-manager/history/getBeefyData.cjs +0 -1
- package/data-structures/transactions-manager/history/getBeefyData.d.ts +0 -3
- package/data-structures/transactions-manager/history/getBeefyData.mjs +0 -49
- package/data-structures/transactions-manager/history/getConvexData.cjs +0 -1
- package/data-structures/transactions-manager/history/getConvexData.d.ts +0 -6
- package/data-structures/transactions-manager/history/getConvexData.mjs +0 -38
- package/data-structures/transactions-manager/history/getCurveData.cjs +0 -1
- package/data-structures/transactions-manager/history/getCurveData.d.ts +0 -6
- package/data-structures/transactions-manager/history/getCurveData.mjs +0 -78
- package/data-structures/transactions-manager/history/getDepositData.cjs +0 -1
- package/data-structures/transactions-manager/history/getDepositData.d.ts +0 -2
- package/data-structures/transactions-manager/history/getDepositData.mjs +0 -12
- package/data-structures/transactions-manager/history/getLidoData.cjs +0 -1
- package/data-structures/transactions-manager/history/getLidoData.d.ts +0 -10
- package/data-structures/transactions-manager/history/getLidoData.mjs +0 -26
- package/data-structures/transactions-manager/history/getPendleData.cjs +0 -1
- package/data-structures/transactions-manager/history/getPendleData.d.ts +0 -3
- package/data-structures/transactions-manager/history/getPendleData.mjs +0 -40
- package/data-structures/transactions-manager/history/getSwapData.cjs +0 -1
- package/data-structures/transactions-manager/history/getSwapData.d.ts +0 -3
- package/data-structures/transactions-manager/history/getSwapData.mjs +0 -19
- package/data-structures/transactions-manager/history/getTxDetails.cjs +0 -1
- package/data-structures/transactions-manager/history/getTxDetails.d.ts +0 -3
- package/data-structures/transactions-manager/history/getTxDetails.mjs +0 -57
- package/data-structures/transactions-manager/history/getVolatileData.cjs +0 -1
- package/data-structures/transactions-manager/history/getVolatileData.d.ts +0 -32
- package/data-structures/transactions-manager/history/getVolatileData.mjs +0 -56
- package/data-structures/transactions-manager/history/history.utils.cjs +0 -1
- package/data-structures/transactions-manager/history/history.utils.d.ts +0 -8
- package/data-structures/transactions-manager/history/history.utils.mjs +0 -8
- package/data-structures/volatile-helper/VolatileHelper.cjs +0 -1
- package/data-structures/volatile-helper/VolatileHelper.d.ts +0 -57
- package/data-structures/volatile-helper/VolatileHelper.mjs +0 -161
- package/data-structures/volatile-helper/index.d.ts +0 -1
- package/externalABIs/BeefyRouterAbi.json.cjs +0 -1
- package/externalABIs/BeefyRouterAbi.json.mjs +0 -1025
- package/externalABIs/BeefyStrategyAbi.json.cjs +0 -1
- package/externalABIs/BeefyStrategyAbi.json.mjs +0 -1426
- package/externalABIs/BeefyVaultAbi.json.cjs +0 -1
- package/externalABIs/BeefyVaultAbi.json.mjs +0 -573
- package/externalABIs/BeefyZapAbi.json.cjs +0 -1
- package/externalABIs/BeefyZapOneInchAbi.json.cjs +0 -1
- package/externalABIs/ConvexBoosterAbi.json.cjs +0 -1
- package/externalABIs/ConvexBoosterAbi.json.mjs +0 -677
- package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +0 -1
- package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +0 -1005
- package/externalABIs/ConvexRewardPoolAbi.json.cjs +0 -1
- package/externalABIs/ConvexRewardPoolAbi.json.mjs +0 -886
- package/externalABIs/CurveReadingWrapperAbi.json.cjs +0 -1
- package/externalABIs/CurveReadingWrapperAbi.json.mjs +0 -1425
- package/externalABIs/CurveWrappedMainPool.json.cjs +0 -1
- package/externalABIs/CurveWrappedMainPool.json.mjs +0 -1139
- package/externalABIs/CurveZap.json.cjs +0 -1
- package/externalABIs/CurveZap.json.mjs +0 -265
- package/externalABIs/CvxCrvUtilities.json.cjs +0 -1
- package/externalABIs/CvxCrvUtilities.json.mjs +0 -267
- package/externalABIs/ERC20.d.ts +0 -1
- package/externalABIs/LidoStEthAbi.json.cjs +0 -1
- package/externalABIs/LidoStEthAbi.json.mjs +0 -1603
- package/externalABIs/LidoStMaticAbi.json.cjs +0 -1
- package/externalABIs/LidoStMaticAbi.json.mjs +0 -1764
- package/externalABIs/LidoStakeManagerAbi.json.cjs +0 -1
- package/externalABIs/LidoStakeManagerAbi.json.mjs +0 -2082
- package/externalABIs/LidoWithdrawalQueueERC721Abi.json.cjs +0 -1
- package/externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs +0 -2030
- package/externalABIs/LidoWstEthAbi.json.cjs +0 -1
- package/externalABIs/PendleRouterAbi.json.cjs +0 -1
- package/externalABIs/PendleRouterAbi.json.mjs +0 -176
- package/externalABIs/PoLidoNftAbi.json.cjs +0 -1
- package/externalABIs/PoLidoNftAbi.json.mjs +0 -701
- package/externalABIs/crvFRAX.d.ts +0 -38
- package/functions/pre-transaction/processAmountChanges.cjs +0 -1
- package/functions/pre-transaction/processAmountChanges.d.ts +0 -12
- package/functions/pre-transaction/processAmountChanges.mjs +0 -228
- package/functions/private-wallet/smartContractWalletCalculator.cjs +0 -1
- package/functions/private-wallet/smartContractWalletCalculator.d.ts +0 -5
- package/functions/private-wallet/smartContractWalletCalculator.mjs +0 -25
- package/functions/protocols/convex.protocols.cjs +0 -1
- package/functions/protocols/convex.protocols.d.ts +0 -1
- package/functions/protocols/convex.protocols.mjs +0 -28
- package/functions/protocols/curve.protocols.cjs +0 -1
- package/functions/protocols/curve.protocols.d.ts +0 -1
- package/functions/protocols/curve.protocols.mjs +0 -22
- package/functions/protocols/index.d.ts +0 -3
- package/functions/protocols/pendle.helpers.cjs +0 -1
- package/functions/protocols/pendle.helpers.d.ts +0 -8
- package/functions/protocols/pendle.helpers.mjs +0 -112
- package/functions/utils/axelar.utils.cjs +0 -1
- package/functions/utils/axelar.utils.d.ts +0 -3
- package/functions/utils/axelar.utils.mjs +0 -45
- package/functions/utils/enum.utils.cjs +0 -1
- package/functions/utils/enum.utils.mjs +0 -14
- package/functions/utils/volatile-patcher.utils.cjs +0 -1
- package/functions/utils/volatile-patcher.utils.d.ts +0 -1
- package/functions/utils/volatile-patcher.utils.mjs +0 -18
- package/types/axelar.types.d.ts +0 -14
- package/types/beefy.types.cjs +0 -1
- package/types/beefy.types.d.ts +0 -11
- package/types/beefy.types.mjs +0 -21
- package/types/connext.types.d.ts +0 -13
- package/types/curve.types.cjs +0 -1
- package/types/curve.types.d.ts +0 -133
- package/types/curve.types.mjs +0 -24
- package/types/earlyAccessCode.types.d.ts +0 -4
- package/types/hinkalTvl.types.d.ts +0 -4
- package/types/pendle.api.types.d.ts +0 -233
- package/types/pendle.types.cjs +0 -1
- package/types/pendle.types.d.ts +0 -222
- package/types/pendle.types.mjs +0 -15
- package/types/time.types.cjs +0 -1
- package/types/time.types.d.ts +0 -31
- package/types/time.types.mjs +0 -58
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=`0x${"00".repeat(20)}`,S="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",o="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",r="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",a="11111111111111111111111111111111",C="Hinkal Stake KeyPair Generator",L="0xa33e4e1672ffdc9a08d0d8b50c79a7dee400bb5493d054076ff01733d7646b32",A="0x0a0e05B6375a61D345173d90Cf7c8bd81E76445c",R="0xB8D5E90d8Baf0650e5b9D6bb988c6dd206F4BaaD",T="0xE6bDF21Ecd55358aF595D3f5Eea912A8e82ECA5e",c=[A,R,T],P=60*60*1e3,s=21888242871839275222246405745257275088548364400416034343698204186575808495617n,d=s/2n,D=25,M=200n,O="0x1626ba7e",i="0xffffffff",E=`0x${"00".repeat(32)}`,F={r:E,s:E,v:E,accessKey:E,nonce:0,ethereumAddress:_},U=10**15,N="ERC721",t="ERC1155",l=[N,t],f=["V1_NFT","V2_NFT","ProgrammableNFT","MplCoreAsset"];var n=(e=>(e.Transfer="Transfer",e.Mint="Mint",e.Burn="Burn",e))(n||{}),I=(e=>(e.ERC20="ERC20",e.ERC721="ERC721",e.ERC1155="ERC1155",e.MetaplexNFT="Metaplex NFT",e.Token2022NFT="Token-2022 NFT",e.CompressedNFT="Compressed NFT",e))(I||{});const u="0x3600000000000000000000000000000000000000",H=35n,V=5n,K=5n,Y=15,b=0,B=14e5,x=2e5,m=.2;exports.ARC_TESTNET_USDC_ADDRESS=u;exports.AssetChangeType=n;exports.CIRCOM_MERKLE_LENGTH=D;exports.CIRCOM_P=s;exports.CIRCOM_P_HALF=d;exports.COMPUTE_UNIT_PADDING_PERCENTAGE=m;exports.EIP1271_FAILURE=i;exports.EIP1271_SUCCESS=O;exports.HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE=K;exports.HINKAL_PRIVATE_SEND_VARIABLE_RATE=V;exports.HINKAL_SWAP_VARIABLE_RATE=H;exports.MAX_COMPUTE_UNIT_LIMIT=B;exports.MERKLE_LEVELS=M;exports.MICRO_LAMPORTS_PER_CU=b;exports.MIN_COMPUTE_UNIT_LIMIT=x;exports.NFT_1155_TRANSACTION_TYPE=t;exports.NFT_721_TRANSACTION_TYPE=N;exports.NFT_TRANSACTION_TYPES=l;exports.RELAYERS_ARRAY=c;exports.RELAYER_ADDRESS1=A;exports.RELAYER_ADDRESS2=R;exports.RELAYER_ADDRESS3=T;exports.SOLANA_NFT_INTERFACES=f;exports.SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH=Y;exports.TOKEN_VALUE_UNLIMITED_THRESHOLD=U;exports.TokenType=I;exports.defaultSignatureData=F;exports.ethVolatileAddress=r;exports.hinkalSimulationAddress=S;exports.oneInchZeroAddress=o;exports.ownerPublicKey=L;exports.permitSignatureValidFor=P;exports.signaturePhrase=C;exports.solanaNativeAddress=a;exports.zeroAddress=_;
|
|
@@ -2,25 +2,46 @@ import { SignatureData } from '../types/crypto.types';
|
|
|
2
2
|
export declare const zeroAddress: string;
|
|
3
3
|
export declare const hinkalSimulationAddress = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
|
|
4
4
|
export declare const oneInchZeroAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
5
|
-
export declare const curveZeroAddress = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
|
|
6
5
|
export declare const ethVolatileAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
6
|
+
export declare const solanaNativeAddress = "11111111111111111111111111111111";
|
|
7
7
|
export declare const signaturePhrase = "Hinkal Stake KeyPair Generator";
|
|
8
8
|
export declare const ownerPublicKey = "0xa33e4e1672ffdc9a08d0d8b50c79a7dee400bb5493d054076ff01733d7646b32";
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const RELAYER_ADDRESS1 = "0x0a0e05B6375a61D345173d90Cf7c8bd81E76445c";
|
|
10
|
+
export declare const RELAYER_ADDRESS2 = "0xB8D5E90d8Baf0650e5b9D6bb988c6dd206F4BaaD";
|
|
11
|
+
export declare const RELAYER_ADDRESS3 = "0xE6bDF21Ecd55358aF595D3f5Eea912A8e82ECA5e";
|
|
12
|
+
export declare const RELAYERS_ARRAY: string[];
|
|
10
13
|
export declare const permitSignatureValidFor: number;
|
|
11
14
|
export declare const CIRCOM_P = 21888242871839275222246405745257275088548364400416034343698204186575808495617n;
|
|
12
15
|
export declare const CIRCOM_P_HALF: bigint;
|
|
13
16
|
export declare const CIRCOM_MERKLE_LENGTH = 25;
|
|
14
17
|
export declare const MERKLE_LEVELS = 200n;
|
|
15
|
-
export declare const curveWithdrawGasTokenAddress: {
|
|
16
|
-
current: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const crvSymbol = "curve-dao-token";
|
|
19
|
-
export declare const threePoolSymbol = "lp-3pool-curve";
|
|
20
|
-
export declare const cvxSymbol = "convex-finance";
|
|
21
|
-
export declare const beefyChainIds: {
|
|
22
|
-
[key: number]: string;
|
|
23
|
-
};
|
|
24
18
|
export declare const EIP1271_SUCCESS = "0x1626ba7e";
|
|
25
19
|
export declare const EIP1271_FAILURE = "0xffffffff";
|
|
26
20
|
export declare const defaultSignatureData: SignatureData;
|
|
21
|
+
export declare const TOKEN_VALUE_UNLIMITED_THRESHOLD: number;
|
|
22
|
+
export declare const NFT_721_TRANSACTION_TYPE = "ERC721";
|
|
23
|
+
export declare const NFT_1155_TRANSACTION_TYPE = "ERC1155";
|
|
24
|
+
export declare const NFT_TRANSACTION_TYPES: string[];
|
|
25
|
+
export declare const SOLANA_NFT_INTERFACES: string[];
|
|
26
|
+
export declare enum AssetChangeType {
|
|
27
|
+
Transfer = "Transfer",
|
|
28
|
+
Mint = "Mint",
|
|
29
|
+
Burn = "Burn"
|
|
30
|
+
}
|
|
31
|
+
export declare enum TokenType {
|
|
32
|
+
ERC20 = "ERC20",
|
|
33
|
+
ERC721 = "ERC721",
|
|
34
|
+
ERC1155 = "ERC1155",
|
|
35
|
+
MetaplexNFT = "Metaplex NFT",
|
|
36
|
+
Token2022NFT = "Token-2022 NFT",
|
|
37
|
+
CompressedNFT = "Compressed NFT"
|
|
38
|
+
}
|
|
39
|
+
export declare const ARC_TESTNET_USDC_ADDRESS = "0x3600000000000000000000000000000000000000";
|
|
40
|
+
export declare const HINKAL_SWAP_VARIABLE_RATE = 35n;
|
|
41
|
+
export declare const HINKAL_PRIVATE_SEND_VARIABLE_RATE = 5n;
|
|
42
|
+
export declare const HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE = 5n;
|
|
43
|
+
export declare const SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH = 15;
|
|
44
|
+
export declare const MICRO_LAMPORTS_PER_CU = 0;
|
|
45
|
+
export declare const MAX_COMPUTE_UNIT_LIMIT = 1400000;
|
|
46
|
+
export declare const MIN_COMPUTE_UNIT_LIMIT = 200000;
|
|
47
|
+
export declare const COMPUTE_UNIT_PADDING_PERCENTAGE = 0.2;
|
|
@@ -1,39 +1,47 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
56: "bsc",
|
|
7
|
-
10: "optimism",
|
|
8
|
-
8453: "base"
|
|
9
|
-
}, h = "0x1626ba7e", v = "0xffffffff", e = `0x${"00".repeat(32)}`, y = {
|
|
10
|
-
r: e,
|
|
11
|
-
s: e,
|
|
12
|
-
v: e,
|
|
13
|
-
accessKey: e,
|
|
1
|
+
const _ = `0x${"00".repeat(20)}`, N = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", T = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", a = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", I = "11111111111111111111111111111111", C = "Hinkal Stake KeyPair Generator", S = "0xa33e4e1672ffdc9a08d0d8b50c79a7dee400bb5493d054076ff01733d7646b32", n = "0x0a0e05B6375a61D345173d90Cf7c8bd81E76445c", s = "0xB8D5E90d8Baf0650e5b9D6bb988c6dd206F4BaaD", t = "0xE6bDF21Ecd55358aF595D3f5Eea912A8e82ECA5e", d = [n, s, t], L = 60 * 60 * 1e3, A = 21888242871839275222246405745257275088548364400416034343698204186575808495617n, D = A / 2n, P = 25, F = 200n, M = "0x1626ba7e", f = "0xffffffff", E = `0x${"00".repeat(32)}`, O = {
|
|
2
|
+
r: E,
|
|
3
|
+
s: E,
|
|
4
|
+
v: E,
|
|
5
|
+
accessKey: E,
|
|
14
6
|
nonce: 0,
|
|
15
|
-
ethereumAddress:
|
|
16
|
-
};
|
|
7
|
+
ethereumAddress: _
|
|
8
|
+
}, i = 10 ** 15, o = "ERC721", R = "ERC1155", x = [o, R], U = ["V1_NFT", "V2_NFT", "ProgrammableNFT", "MplCoreAsset"];
|
|
9
|
+
var c = /* @__PURE__ */ ((e) => (e.Transfer = "Transfer", e.Mint = "Mint", e.Burn = "Burn", e))(c || {}), r = /* @__PURE__ */ ((e) => (e.ERC20 = "ERC20", e.ERC721 = "ERC721", e.ERC1155 = "ERC1155", e.MetaplexNFT = "Metaplex NFT", e.Token2022NFT = "Token-2022 NFT", e.CompressedNFT = "Compressed NFT", e))(r || {});
|
|
10
|
+
const l = "0x3600000000000000000000000000000000000000", b = 35n, u = 5n, B = 5n, H = 15, V = 0, K = 14e5, Y = 2e5, m = 0.2;
|
|
17
11
|
export {
|
|
18
|
-
l as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
u as
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
12
|
+
l as ARC_TESTNET_USDC_ADDRESS,
|
|
13
|
+
c as AssetChangeType,
|
|
14
|
+
P as CIRCOM_MERKLE_LENGTH,
|
|
15
|
+
A as CIRCOM_P,
|
|
16
|
+
D as CIRCOM_P_HALF,
|
|
17
|
+
m as COMPUTE_UNIT_PADDING_PERCENTAGE,
|
|
18
|
+
f as EIP1271_FAILURE,
|
|
19
|
+
M as EIP1271_SUCCESS,
|
|
20
|
+
B as HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE,
|
|
21
|
+
u as HINKAL_PRIVATE_SEND_VARIABLE_RATE,
|
|
22
|
+
b as HINKAL_SWAP_VARIABLE_RATE,
|
|
23
|
+
K as MAX_COMPUTE_UNIT_LIMIT,
|
|
24
|
+
F as MERKLE_LEVELS,
|
|
25
|
+
V as MICRO_LAMPORTS_PER_CU,
|
|
26
|
+
Y as MIN_COMPUTE_UNIT_LIMIT,
|
|
27
|
+
R as NFT_1155_TRANSACTION_TYPE,
|
|
28
|
+
o as NFT_721_TRANSACTION_TYPE,
|
|
29
|
+
x as NFT_TRANSACTION_TYPES,
|
|
30
|
+
d as RELAYERS_ARRAY,
|
|
31
|
+
n as RELAYER_ADDRESS1,
|
|
32
|
+
s as RELAYER_ADDRESS2,
|
|
33
|
+
t as RELAYER_ADDRESS3,
|
|
34
|
+
U as SOLANA_NFT_INTERFACES,
|
|
35
|
+
H as SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH,
|
|
36
|
+
i as TOKEN_VALUE_UNLIMITED_THRESHOLD,
|
|
37
|
+
r as TokenType,
|
|
38
|
+
O as defaultSignatureData,
|
|
39
|
+
a as ethVolatileAddress,
|
|
40
|
+
N as hinkalSimulationAddress,
|
|
41
|
+
T as oneInchZeroAddress,
|
|
42
|
+
S as ownerPublicKey,
|
|
43
|
+
L as permitSignatureValidFor,
|
|
44
|
+
C as signaturePhrase,
|
|
45
|
+
I as solanaNativeAddress,
|
|
46
|
+
_ as zeroAddress
|
|
39
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chains.constants.cjs"),n={[e.chainIds.ethMainnet]:300,[e.chainIds.bnbMainnet]:1e3,[e.chainIds.polygon]:1e3,[e.chainIds.avalanche]:1e3,[e.chainIds.arbMainnet]:1e3,[e.chainIds.optimism]:1e3,[e.chainIds.base]:1e3,[e.chainIds.arcTestnet]:30,[e.chainIds.localhost]:1};exports.blockReorgDepth=n;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { chainIds as
|
|
2
|
-
const
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
|
|
9
|
-
[
|
|
10
|
-
|
|
1
|
+
import { chainIds as e } from "./chains.constants.mjs";
|
|
2
|
+
const t = {
|
|
3
|
+
[e.ethMainnet]: 300,
|
|
4
|
+
[e.bnbMainnet]: 1e3,
|
|
5
|
+
[e.polygon]: 1e3,
|
|
6
|
+
[e.avalanche]: 1e3,
|
|
7
|
+
[e.arbMainnet]: 1e3,
|
|
8
|
+
// real depth = 2500,
|
|
9
|
+
[e.optimism]: 1e3,
|
|
10
|
+
// for some reason it is significantly more than base, not sure why
|
|
11
|
+
[e.base]: 1e3,
|
|
12
|
+
[e.arcTestnet]: 30,
|
|
13
|
+
[e.localhost]: 1
|
|
11
14
|
};
|
|
12
15
|
export {
|
|
13
|
-
|
|
16
|
+
t as blockReorgDepth
|
|
14
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["USDC"],o="https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program",r="https://hinkal-team.gitbook.io/hinkal/users/rewards/points",e="https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program",S=3,s=9,E={10:2,50:1.6,100:1.2},a=7,n=1e3,_=1e4,i="a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs",A="Approve Rewards access using Hinkal Protocol.";exports.ACCESS_TOKEN_MINTING_POINTS=n;exports.ACCESS_TOKEN_RECLAIM_POINTS=_;exports.CERTIFICATION_DISABLE_WEEK=a;exports.REWARDS_ENCRYPTION_PASSWORD=i;exports.REWARDS_MESSAGE_TO_SIGN=A;exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=t;exports.boostAmounts=E;exports.lpLink=e;exports.lpProgramStartWeek=S;exports.pointsLink=r;exports.raffleProgramStartWeek=s;exports.referralLink=o;
|
|
@@ -11,8 +11,7 @@ export declare const boostAmounts: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const CERTIFICATION_DISABLE_WEEK = 7;
|
|
13
13
|
export declare const ACCESS_TOKEN_MINTING_POINTS = 1000;
|
|
14
|
-
export declare const
|
|
15
|
-
Silver: number;
|
|
16
|
-
Gold: number;
|
|
17
|
-
};
|
|
14
|
+
export declare const ACCESS_TOKEN_RECLAIM_POINTS = 10000;
|
|
18
15
|
export type PointsProvider = 'Hinkal';
|
|
16
|
+
export declare const REWARDS_ENCRYPTION_PASSWORD = "a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs";
|
|
17
|
+
export declare const REWARDS_MESSAGE_TO_SIGN = "Approve Rewards access using Hinkal Protocol.";
|
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
import "./vite.constants.mjs";
|
|
3
|
-
import "../types/transactions.types.mjs";
|
|
4
|
-
import { RafflePrizeType as t } from "../types/rewards.types.mjs";
|
|
5
|
-
import "../types/curve.types.mjs";
|
|
6
|
-
import "../types/activities.types.mjs";
|
|
7
|
-
const n = ["USDC"], p = "https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program", l = "https://hinkal-team.gitbook.io/hinkal/users/rewards/points", m = "https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program", k = 3, E = 9, c = {
|
|
1
|
+
const t = ["USDC"], o = "https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program", s = "https://hinkal-team.gitbook.io/hinkal/users/rewards/points", r = "https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program", e = 3, n = 9, a = {
|
|
8
2
|
10: 2,
|
|
9
3
|
// if in the top 10
|
|
10
4
|
50: 1.6,
|
|
11
5
|
// if in top 50 but not in top 10
|
|
12
6
|
100: 1.2
|
|
13
7
|
// and so on
|
|
14
|
-
},
|
|
15
|
-
[t.Silver]: 1e4,
|
|
16
|
-
[t.Gold]: 2e4
|
|
17
|
-
};
|
|
8
|
+
}, i = 7, E = 1e3, S = 1e4, _ = "a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs", c = "Approve Rewards access using Hinkal Protocol.";
|
|
18
9
|
export {
|
|
19
|
-
|
|
20
|
-
S as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
c as
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
10
|
+
E as ACCESS_TOKEN_MINTING_POINTS,
|
|
11
|
+
S as ACCESS_TOKEN_RECLAIM_POINTS,
|
|
12
|
+
i as CERTIFICATION_DISABLE_WEEK,
|
|
13
|
+
_ as REWARDS_ENCRYPTION_PASSWORD,
|
|
14
|
+
c as REWARDS_MESSAGE_TO_SIGN,
|
|
15
|
+
t as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
16
|
+
a as boostAmounts,
|
|
17
|
+
r as lpLink,
|
|
18
|
+
e as lpProgramStartWeek,
|
|
19
|
+
s as pointsLink,
|
|
20
|
+
n as raffleProgramStartWeek,
|
|
21
|
+
o as referralLink
|
|
29
22
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chains.constants.cjs"),n={[a.chainIds.ethMainnet]:1e3,[a.chainIds.bnbMainnet]:1e3,[a.chainIds.polygon]:4e3,[a.chainIds.avalanche]:1e3,[a.chainIds.arbMainnet]:8e3,[a.chainIds.optimism]:6e3,[a.chainIds.base]:6e3,[a.chainIds.arcTestnet]:8e3,[a.chainIds.localhost]:1,[a.chainIds.solanaMainnet]:1e3,[a.chainIds.solanaLocalnet]:100};exports.saveDepths=n;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { chainIds as e } from "./chains.constants.mjs";
|
|
2
|
+
const n = {
|
|
3
|
+
[e.ethMainnet]: 1e3,
|
|
4
|
+
[e.bnbMainnet]: 1e3,
|
|
5
|
+
[e.polygon]: 4e3,
|
|
6
|
+
[e.avalanche]: 1e3,
|
|
7
|
+
[e.arbMainnet]: 8e3,
|
|
8
|
+
[e.optimism]: 6e3,
|
|
9
|
+
[e.base]: 6e3,
|
|
10
|
+
[e.arcTestnet]: 8e3,
|
|
11
|
+
// block time is less than 1sec like arbitrum
|
|
12
|
+
[e.localhost]: 1,
|
|
13
|
+
// Solana clusters (custom numeric IDs)
|
|
14
|
+
[e.solanaMainnet]: 1e3,
|
|
15
|
+
[e.solanaLocalnet]: 100
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
n as saveDepths
|
|
19
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../types/circom-data.types.cjs");require("../types/transactions.types.cjs");require("../types/activities.types.cjs");const r=require("../types/new-rewards.type.cjs"),c={ROUTES:{checkKycStatus:"/check-kyc-status",getUserSignature:"/signature-request",startReclaimVerification:"/start-reclaim-verification",startUserVerification:"/start-aiprise-verification",zkMeAccessToken:"/zkMeAccessToken",getSnapshots:"/snapshots",getMerkleTreeSiblings:"/merkle-tree-siblings",callOdosAPI:"/OdosSwapData",callOneInchAPI:"/OneInchSwapData",callLifiAPI:"/LifiBridgeData",callOkxAPI:"/OkxSwapData",getOdosPriceForToken:e=>`/getOdosPriceForToken/${e}`,userHasKyc:"/user-has-kyc",restoreSnapshots:"/snapshots/restore",monitor:"/monitor",checkRisk:e=>`/check-risk/${e}`,userHasPassword:e=>`/user-has-password/${e}`,userRegisterPassword:"/user-register-password",stakedYield:"/staked-yield",getPublicWalletInformation:e=>`/get-public-wallet-data/${e}`,getTokenApprovalAmount:"/get-token-approval-amount-from-html",getTokenSpendsFromOrderMessage:"/get-token-spends-from-order-message",isTxStateless:"/is-tx-stateless",simulateBatchTx:"/simulate-batch-tx",simulateVolatileTokenTransfer:"/simulate-volatile-token-transfer",getTokensInfo:"/get-tokens-info",getTokenData:e=>`/get-token-data/${e}`,getBridgeProtocols:"/get-bridge-protocols",lifiStatus:"/LifiStatus",getProxyAccounts:e=>`/get-proxy-accounts/${e}`,updateProxyAccounts:"/update-proxy-accounts",generateProoflessDepositLimitless:"/generate-proofless-deposit-limitless",generateMultiPaymentDepositLimitless:"/generate-multi-payment-deposit",generateAddAccessToken:"/generate-add-access-token"}},h={getGasEstimate:(e,n,l,i)=>`/gas-estimation/${e}/${l}/${n}/${i}`,getTokenPrices:"/get-token-prices",TRANSACT:"/general-transact",TRANSACT_BATCH:"/general-transact-batch",SOLANA_TRANSACT:"/solana-transact",SOLANA_TRANSACT_BATCH:"/solana-transact-batch",getIdleRelay:"/get-idle-relay",emitTxPublicData:"/emit-tx-public-data",getScheduledTransactions:e=>`/scheduled-transactions/${e}`,storeUnspentUtxos:"/store-unspent-utxos",getUnspentUtxos:e=>`/get-unspent-utxos/${e}`,deleteUnspentUtxos:"/delete-unspent-utxos"},o=[r.TaskTypes.firstSwap,r.TaskTypes.reclaim,r.TaskTypes.dailySwap,r.TaskTypes.dailyDappTx,r.TaskTypes.createOrJoinBH,r.TaskTypes.shieldUnshield,r.TaskTypes.moneyComes],p={[r.TaskTypes.discord]:e=>`/verify/discord/${e}`,[r.TaskTypes.x]:e=>`/verify/x/${e}`,[r.TaskTypes.xReferral]:e=>`/verify/x-referral/${e}`,[r.TaskTypes.telegram]:e=>`/verify/telegram/${e}`,...Object.fromEntries(o.map(e=>[e,n=>`/verify/wallet-task/${n}`]))},R={createPresaleReferral:"/create-presale-referral",updatePresaleReferralList:"/update-presale-referral-list",generateTradingPoints:"/generate-trading-points",getBrotherhoodUsers:e=>`/brotherhoods/${e}/users`,getCurrentUserBrotherhoodUsers:e=>`/get-current-user-brotherhood-users/${e}`,editBrotherhood:"/edit-brotherhood",createBrotherhood:"/create-brotherhood",getCurrentUserBrotherhood:"/get-current-user-brotherhood",getPublicBrotherhoods:"/get-public-brotherhoods",getBrotherhood:e=>`/brotherhoods/${e}`,leaveBrotherhood:e=>`/brotherhoods/${e}/leave`,joinBrotherhood:e=>`/brotherhoods/${e}/join`,getUserAnalytics:"/get-user-analytics",getBrotherhoodAnalytics:"/brotherhood/analytics",connectRewardsUser:"/connect-user",updateRewardsUser:"/update-rewards-user",getSwapStreak:"/swap-streak",getUserCurrentLeaderboard:"/current-users-leaderboard",getBrotherhoodsLeaderboard:"/brotherhoods-leaderboard",getCurrentUserReferral:"/current-user-referral",submitReferralCode:"/refer-user",getCurrentUserAppliedReferralCode:"/current-user-applied-referral-code",submitAccessCode:"/submit-access-code",getAccessCodeBenefits:"/get-access-code-benefits",getTelegramCallback:"/auth/telegram/callback",generateAumPoints:"/generate-aum-points",getTasksProgress:e=>`/get-tasks-progress/${e}`,disconnectSocialNetwork:"/disconnect-social-network",getNftMultiplier:e=>`/get-nft-multiplier/${e}`,seedlessInit:"/seedless/init",seedlessBackup:"/seedless/backup",seedlessCheckPassword:"/seedless/check-password",seedlessStatus:"/seedless/status",seedlessSalt:"/seedless/salt"},t="https://wallet-playground.hinkal.pro",a="https://wallet-staging.hinkal.pro",s="https://wallet-prod.hinkal.pro",d="http://localhost:7090",T="/ethMainnet-data-server",b={polygon:`${a}/polygon-server`,arbMainnet:`${a}/arbMainnet-server`,ethMainnet:`${a}/ethMainnet-server`,bnbMainnet:`${a}/bnbMainnet-server`,avalanche:`${a}/avalanche-server`,optimism:`${a}/optimism-server`,base:`${a}/base-server`,arcTestnet:`${a}/arcTestnet-server`,solanaMainnet:`${a}/solanaMainnet-server`,localhost:"http://localhost:7072"},g={polygon:`${t}/polygon-server`,arbMainnet:`${t}/arbMainnet-server`,ethMainnet:`${t}/ethMainnet-server`,bnbMainnet:`${t}/bnbMainnet-server`,avalanche:`${t}/avalanche-server`,optimism:`${t}/optimism-server`,base:`${t}/base-server`,arcTestnet:`${t}/arcTestnet-server`,solanaMainnet:`${t}/solanaMainnet-server`,localhost:"http://localhost:7072"},$={polygon:`${s}/polygon-server`,arbMainnet:`${s}/arbMainnet-server`,ethMainnet:`${s}/ethMainnet-server`,bnbMainnet:`${s}/bnbMainnet-server`,avalanche:`${s}/avalanche-server`,optimism:`${s}/optimism-server`,base:`${s}/base-server`,arcTestnet:`${s}/arcTestnet-server`,solanaMainnet:`${s}/solanaMainnet-server`,localhost:"http://localhost:7072"},S={polygon:`${a}/polygon-relayer`,arbMainnet:`${a}/arbMainnet-relayer`,ethMainnet:`${a}/ethMainnet-relayer`,bnbMainnet:`${a}/bnbMainnet-relayer`,avalanche:`${a}/avalanche-relayer`,optimism:`${a}/optimism-relayer`,base:`${a}/base-relayer`,arcTestnet:`${a}/arcTestnet-relayer`,solanaMainnet:`${a}/solanaMainnet-relayer`,localhost:"http://localhost:7073"},u={polygon:`${t}/polygon-relayer`,arbMainnet:`${t}/arbMainnet-relayer`,ethMainnet:`${t}/ethMainnet-relayer`,bnbMainnet:`${t}/bnbMainnet-relayer`,avalanche:`${t}/avalanche-relayer`,optimism:`${t}/optimism-relayer`,base:`${t}/base-relayer`,arcTestnet:`${t}/arcTestnet-relayer`,solanaMainnet:`${t}/solanaMainnet-relayer`,localhost:"http://localhost:7073"},v={polygon:`${s}/polygon-relayer`,arbMainnet:`${s}/arbMainnet-relayer`,ethMainnet:`${s}/ethMainnet-relayer`,bnbMainnet:`${s}/bnbMainnet-relayer`,avalanche:`${s}/avalanche-relayer`,optimism:`${s}/optimism-relayer`,base:`${s}/base-relayer`,arcTestnet:`${s}/arcTestnet-relayer`,solanaMainnet:`${s}/solanaMainnet-relayer`,localhost:"http://localhost:7073"},A={polygon:`${t}/polygon-snapshot-server`,arbMainnet:`${t}/arbMainnet-snapshot-server`,ethMainnet:`${t}/ethMainnet-snapshot-server`,bnbMainnet:`${t}/bnbMainnet-snapshot-server`,avalanche:`${t}/avalanche-snapshot-server`,optimism:`${t}/optimism-snapshot-server`,base:`${t}/base-snapshot-server`,arcTestnet:`${t}/arcTestnet-snapshot-server`,solanaMainnet:`${t}/solanaMainnet-snapshot-server`,localhost:"http://localhost:7074"},y={polygon:`${a}/polygon-snapshot-server`,arbMainnet:`${a}/arbMainnet-snapshot-server`,ethMainnet:`${a}/ethMainnet-snapshot-server`,bnbMainnet:`${a}/bnbMainnet-snapshot-server`,avalanche:`${a}/avalanche-snapshot-server`,optimism:`${a}/optimism-snapshot-server`,base:`${a}/base-snapshot-server`,arcTestnet:`${a}/arcTestnet-snapshot-server`,solanaMainnet:`${a}/solanaMainnet-snapshot-server`,localhost:"http://localhost:7074"},_={polygon:`${s}/polygon-snapshot-server`,arbMainnet:`${s}/arbMainnet-snapshot-server`,ethMainnet:`${s}/ethMainnet-snapshot-server`,bnbMainnet:`${s}/bnbMainnet-snapshot-server`,avalanche:`${s}/avalanche-snapshot-server`,optimism:`${s}/optimism-snapshot-server`,base:`${s}/base-snapshot-server`,arcTestnet:`${s}/arcTestnet-snapshot-server`,solanaMainnet:`${s}/solanaMainnet-snapshot-server`,localhost:"http://localhost:7074"};exports.API_CONFIG=c;exports.DATA_SERVER_CONFIG=R;exports.DATA_SERVER_URL_ENDPOINT=T;exports.DATA_SERVER_URL_LOCAL=d;exports.PLAYGROUND_RELAYER_URLS=u;exports.PLAYGROUND_SERVER_URLS=g;exports.PLAYGROUND_SNAPSHOT_SERVER_URLS=A;exports.PLAYGROUND_URL=t;exports.PRODUCTION_RELAYER_URLS=v;exports.PRODUCTION_SERVER_URLS=$;exports.PRODUCTION_SNAPSHOT_SERVER_URLS=_;exports.PRODUCTION_URL=s;exports.RELAYER_CONFIG=h;exports.STAGING_RELAYER_URLS=S;exports.STAGING_SERVER_URLS=b;exports.STAGING_SNAPSHOT_SERVER_URLS=y;exports.STAGING_URL=a;exports.VERIFICATION_ROUTES=p;exports.WALLET_TASK_VERIFICATION_TYPES=o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TaskTypes } from '../types';
|
|
2
2
|
export declare const API_CONFIG: {
|
|
3
3
|
ROUTES: {
|
|
4
4
|
checkKycStatus: string;
|
|
@@ -6,99 +6,95 @@ export declare const API_CONFIG: {
|
|
|
6
6
|
startReclaimVerification: string;
|
|
7
7
|
startUserVerification: string;
|
|
8
8
|
zkMeAccessToken: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
getAccessTokenSnapshot: string;
|
|
9
|
+
getSnapshots: string;
|
|
10
|
+
getMerkleTreeSiblings: string;
|
|
12
11
|
callOdosAPI: string;
|
|
13
12
|
callOneInchAPI: string;
|
|
13
|
+
callLifiAPI: string;
|
|
14
|
+
callOkxAPI: string;
|
|
14
15
|
getOdosPriceForToken: (tokenAddress: string) => string;
|
|
15
|
-
|
|
16
|
-
axelarGasEstimate: (sourceChainName: string, destChainName: string, sourceChainToken: string, accessKey: string) => string;
|
|
17
|
-
userHasAccessToken: (accessKey: string) => string;
|
|
18
|
-
afterKycCall: string;
|
|
16
|
+
userHasKyc: string;
|
|
19
17
|
restoreSnapshots: string;
|
|
20
|
-
beefyGraphAPI: string;
|
|
21
18
|
monitor: string;
|
|
22
19
|
checkRisk: (address: string) => string;
|
|
23
|
-
userVerifyTransactions: string;
|
|
24
|
-
userGetLatestCertifiedHashes: (ethereumAddress: string) => string;
|
|
25
|
-
userGetHasCerified: (ethereumAddress: string) => string;
|
|
26
|
-
userGetTransactions: (week?: number, lastHash?: string, startWeek?: number) => string;
|
|
27
|
-
getActiveCode: (ethereumAddress: string) => string;
|
|
28
|
-
updateActiveCode: string;
|
|
29
|
-
getWeeklyReferralCodes: (ethereumAddress: string, week: number) => string;
|
|
30
|
-
getReferralCodes: (ethereumAddress: string) => string;
|
|
31
|
-
getRewardsHistory: (ethereumAddress: string) => string;
|
|
32
|
-
addReferralCode: string;
|
|
33
|
-
getLpProgram: (ethereumAddress: string) => string;
|
|
34
|
-
points: (ethereumAddress: string, week?: number) => string;
|
|
35
|
-
leaderboard: (week?: number) => string;
|
|
36
|
-
setRewardsReceivingData: string;
|
|
37
|
-
getRewardsReceivingData: (ethereumAddress: string) => string;
|
|
38
|
-
seasonLeaderboard: string;
|
|
39
|
-
getUserAnonymityStakingPoints: (ethereumAddress: string) => string;
|
|
40
|
-
getLimitedAnonymityStakingPoints: (ethereumAddress: string) => string;
|
|
41
|
-
getUserAnonymityStakingReferralPoints: (ethereumAddress: string) => string;
|
|
42
20
|
userHasPassword: (ethereumAddress: string) => string;
|
|
43
21
|
userRegisterPassword: string;
|
|
44
|
-
getNickname: (ethereumAddress: string) => string;
|
|
45
|
-
addNickname: string;
|
|
46
|
-
getLidoDefiData: string;
|
|
47
|
-
getLidoStats: string;
|
|
48
|
-
getLidoEthStats: string;
|
|
49
|
-
getLidoDiscount: string;
|
|
50
|
-
getLidoRequestTime: string;
|
|
51
|
-
getLidoMaticReward: string;
|
|
52
|
-
pendleAddLiquiditySingleToken: string;
|
|
53
|
-
pendleAddLiquiditySingleSy: string;
|
|
54
|
-
pendleAddLiquiditySinglePt: string;
|
|
55
|
-
pendleAddLiquidityDualTokenAndPt: string;
|
|
56
|
-
pendleAddLiquidityDualSyAndPt: string;
|
|
57
|
-
pendleAddLiquiditySingleTokenKeepYt: string;
|
|
58
|
-
pendleRemoveLiquiditySingleToken: string;
|
|
59
|
-
pendleRemoveLiquiditySingleSy: string;
|
|
60
|
-
pendleRemoveLiquiditySinglePt: string;
|
|
61
|
-
pendleRemoveLiquidityDualTokenAndPt: string;
|
|
62
|
-
pendleRemoveLiquidityDualSyAndPt: string;
|
|
63
|
-
pendleMintPyFromToken: string;
|
|
64
|
-
pendlRedeemPyToToken: string;
|
|
65
|
-
removeLiquidityDualTokenAndPt: string;
|
|
66
|
-
removeLiquiditySinglePt: string;
|
|
67
|
-
pendleSwapExactTokenForYT: string;
|
|
68
|
-
pendleSwapExactTokenForPt: string;
|
|
69
|
-
pendleSwapExactPtForToken: string;
|
|
70
|
-
pendleSwapExactPtForYt: string;
|
|
71
|
-
pendleSwapExactYtForToken: string;
|
|
72
|
-
pendleSwapExactYtForPt: string;
|
|
73
|
-
pendleSyTokenInOut: string;
|
|
74
|
-
connextReceiveFee: (sourceChainName: string, destChainName: string) => string;
|
|
75
22
|
stakedYield: string;
|
|
76
23
|
getPublicWalletInformation: (ethereumAddress: string) => string;
|
|
77
24
|
getTokenApprovalAmount: string;
|
|
25
|
+
getTokenSpendsFromOrderMessage: string;
|
|
78
26
|
isTxStateless: string;
|
|
27
|
+
simulateBatchTx: string;
|
|
28
|
+
simulateVolatileTokenTransfer: string;
|
|
79
29
|
getTokensInfo: string;
|
|
80
|
-
|
|
81
|
-
|
|
30
|
+
getTokenData: (tokenSymbol: string) => string;
|
|
31
|
+
getBridgeProtocols: string;
|
|
32
|
+
lifiStatus: string;
|
|
33
|
+
getProxyAccounts: (secureKey: string) => string;
|
|
34
|
+
updateProxyAccounts: string;
|
|
35
|
+
generateProoflessDepositLimitless: string;
|
|
36
|
+
generateMultiPaymentDepositLimitless: string;
|
|
37
|
+
generateAddAccessToken: string;
|
|
82
38
|
};
|
|
83
39
|
};
|
|
84
40
|
export declare const RELAYER_CONFIG: {
|
|
85
|
-
getGasEstimate: (tokenAddress: string, externalActionId: string,
|
|
86
|
-
getTokenPrice: string;
|
|
87
|
-
getTokenPriceEth: (id: string) => string;
|
|
41
|
+
getGasEstimate: (tokenAddress: string, externalActionId: string, erc20TokenAddressLength: number, gasAmount?: number) => string;
|
|
88
42
|
getTokenPrices: string;
|
|
89
43
|
TRANSACT: string;
|
|
44
|
+
TRANSACT_BATCH: string;
|
|
45
|
+
SOLANA_TRANSACT: string;
|
|
46
|
+
SOLANA_TRANSACT_BATCH: string;
|
|
90
47
|
getIdleRelay: string;
|
|
48
|
+
emitTxPublicData: string;
|
|
49
|
+
getScheduledTransactions: (hashedEthereumAddress: string) => string;
|
|
50
|
+
storeUnspentUtxos: string;
|
|
51
|
+
getUnspentUtxos: (hashedEthereumAddress: string) => string;
|
|
52
|
+
deleteUnspentUtxos: string;
|
|
91
53
|
};
|
|
54
|
+
export declare const WALLET_TASK_VERIFICATION_TYPES: TaskTypes[];
|
|
55
|
+
export declare const VERIFICATION_ROUTES: Partial<Record<TaskTypes, (ethereumAddress: string) => string>>;
|
|
92
56
|
export declare const DATA_SERVER_CONFIG: {
|
|
93
|
-
|
|
94
|
-
|
|
57
|
+
createPresaleReferral: string;
|
|
58
|
+
updatePresaleReferralList: string;
|
|
59
|
+
generateTradingPoints: string;
|
|
60
|
+
getBrotherhoodUsers: (brotherhoodId: number) => string;
|
|
61
|
+
getCurrentUserBrotherhoodUsers: (ethereumAddress: string) => string;
|
|
62
|
+
editBrotherhood: string;
|
|
63
|
+
createBrotherhood: string;
|
|
64
|
+
getCurrentUserBrotherhood: string;
|
|
65
|
+
getPublicBrotherhoods: string;
|
|
66
|
+
getBrotherhood: (brotherhoodId: number) => string;
|
|
67
|
+
leaveBrotherhood: (brotherhoodId: number) => string;
|
|
68
|
+
joinBrotherhood: (brotherhoodId: number) => string;
|
|
69
|
+
getUserAnalytics: string;
|
|
70
|
+
getBrotherhoodAnalytics: string;
|
|
71
|
+
connectRewardsUser: string;
|
|
72
|
+
updateRewardsUser: string;
|
|
73
|
+
getSwapStreak: string;
|
|
74
|
+
getUserCurrentLeaderboard: string;
|
|
75
|
+
getBrotherhoodsLeaderboard: string;
|
|
76
|
+
getCurrentUserReferral: string;
|
|
77
|
+
submitReferralCode: string;
|
|
78
|
+
getCurrentUserAppliedReferralCode: string;
|
|
79
|
+
submitAccessCode: string;
|
|
80
|
+
getAccessCodeBenefits: string;
|
|
81
|
+
getTelegramCallback: string;
|
|
82
|
+
generateAumPoints: string;
|
|
83
|
+
getTasksProgress: (ethereumAddress: string) => string;
|
|
84
|
+
disconnectSocialNetwork: string;
|
|
85
|
+
getNftMultiplier: (ethereumAddress: string) => string;
|
|
86
|
+
seedlessInit: string;
|
|
87
|
+
seedlessBackup: string;
|
|
88
|
+
seedlessCheckPassword: string;
|
|
89
|
+
seedlessStatus: string;
|
|
90
|
+
seedlessSalt: string;
|
|
95
91
|
};
|
|
96
|
-
export declare const
|
|
97
|
-
export declare const
|
|
98
|
-
export declare const
|
|
99
|
-
export declare const DATA_SERVER_URL_LOCAL = "http://localhost";
|
|
100
|
-
export declare const
|
|
101
|
-
export declare const
|
|
92
|
+
export declare const PLAYGROUND_URL = "https://wallet-playground.hinkal.pro";
|
|
93
|
+
export declare const STAGING_URL = "https://wallet-staging.hinkal.pro";
|
|
94
|
+
export declare const PRODUCTION_URL = "https://wallet-prod.hinkal.pro";
|
|
95
|
+
export declare const DATA_SERVER_URL_LOCAL = "http://localhost:7090";
|
|
96
|
+
export declare const DATA_SERVER_URL_ENDPOINT = "/ethMainnet-data-server";
|
|
97
|
+
export declare const STAGING_SERVER_URLS: {
|
|
102
98
|
polygon: string;
|
|
103
99
|
arbMainnet: string;
|
|
104
100
|
ethMainnet: string;
|
|
@@ -106,9 +102,11 @@ export declare const SERVER_URLS: {
|
|
|
106
102
|
avalanche: string;
|
|
107
103
|
optimism: string;
|
|
108
104
|
base: string;
|
|
105
|
+
arcTestnet: string;
|
|
106
|
+
solanaMainnet: string;
|
|
109
107
|
localhost: string;
|
|
110
108
|
};
|
|
111
|
-
export declare const
|
|
109
|
+
export declare const PLAYGROUND_SERVER_URLS: {
|
|
112
110
|
polygon: string;
|
|
113
111
|
arbMainnet: string;
|
|
114
112
|
ethMainnet: string;
|
|
@@ -116,9 +114,11 @@ export declare const STAGING_SERVER_URLS: {
|
|
|
116
114
|
avalanche: string;
|
|
117
115
|
optimism: string;
|
|
118
116
|
base: string;
|
|
117
|
+
arcTestnet: string;
|
|
118
|
+
solanaMainnet: string;
|
|
119
119
|
localhost: string;
|
|
120
120
|
};
|
|
121
|
-
export declare const
|
|
121
|
+
export declare const PRODUCTION_SERVER_URLS: {
|
|
122
122
|
polygon: string;
|
|
123
123
|
arbMainnet: string;
|
|
124
124
|
ethMainnet: string;
|
|
@@ -126,9 +126,11 @@ export declare const PLAYGROUND_SERVER_URLS: {
|
|
|
126
126
|
avalanche: string;
|
|
127
127
|
optimism: string;
|
|
128
128
|
base: string;
|
|
129
|
+
arcTestnet: string;
|
|
130
|
+
solanaMainnet: string;
|
|
129
131
|
localhost: string;
|
|
130
132
|
};
|
|
131
|
-
export declare const
|
|
133
|
+
export declare const STAGING_RELAYER_URLS: {
|
|
132
134
|
polygon: string;
|
|
133
135
|
arbMainnet: string;
|
|
134
136
|
ethMainnet: string;
|
|
@@ -136,9 +138,11 @@ export declare const WALLET_SERVER_URLS: {
|
|
|
136
138
|
avalanche: string;
|
|
137
139
|
optimism: string;
|
|
138
140
|
base: string;
|
|
141
|
+
arcTestnet: string;
|
|
142
|
+
solanaMainnet: string;
|
|
139
143
|
localhost: string;
|
|
140
144
|
};
|
|
141
|
-
export declare const
|
|
145
|
+
export declare const PLAYGROUND_RELAYER_URLS: {
|
|
142
146
|
polygon: string;
|
|
143
147
|
arbMainnet: string;
|
|
144
148
|
ethMainnet: string;
|
|
@@ -146,9 +150,11 @@ export declare const RELAYER_URLS: {
|
|
|
146
150
|
avalanche: string;
|
|
147
151
|
optimism: string;
|
|
148
152
|
base: string;
|
|
153
|
+
arcTestnet: string;
|
|
154
|
+
solanaMainnet: string;
|
|
149
155
|
localhost: string;
|
|
150
156
|
};
|
|
151
|
-
export declare const
|
|
157
|
+
export declare const PRODUCTION_RELAYER_URLS: {
|
|
152
158
|
polygon: string;
|
|
153
159
|
arbMainnet: string;
|
|
154
160
|
ethMainnet: string;
|
|
@@ -156,9 +162,23 @@ export declare const STAGING_RELAYER_URLS: {
|
|
|
156
162
|
avalanche: string;
|
|
157
163
|
optimism: string;
|
|
158
164
|
base: string;
|
|
165
|
+
arcTestnet: string;
|
|
166
|
+
solanaMainnet: string;
|
|
159
167
|
localhost: string;
|
|
160
168
|
};
|
|
161
|
-
export declare const
|
|
169
|
+
export declare const PLAYGROUND_SNAPSHOT_SERVER_URLS: {
|
|
170
|
+
polygon: string;
|
|
171
|
+
arbMainnet: string;
|
|
172
|
+
ethMainnet: string;
|
|
173
|
+
bnbMainnet: string;
|
|
174
|
+
avalanche: string;
|
|
175
|
+
optimism: string;
|
|
176
|
+
base: string;
|
|
177
|
+
arcTestnet: string;
|
|
178
|
+
solanaMainnet: string;
|
|
179
|
+
localhost: string;
|
|
180
|
+
};
|
|
181
|
+
export declare const STAGING_SNAPSHOT_SERVER_URLS: {
|
|
162
182
|
polygon: string;
|
|
163
183
|
arbMainnet: string;
|
|
164
184
|
ethMainnet: string;
|
|
@@ -166,9 +186,11 @@ export declare const PLAYGROUND_RELAYER_URLS: {
|
|
|
166
186
|
avalanche: string;
|
|
167
187
|
optimism: string;
|
|
168
188
|
base: string;
|
|
189
|
+
arcTestnet: string;
|
|
190
|
+
solanaMainnet: string;
|
|
169
191
|
localhost: string;
|
|
170
192
|
};
|
|
171
|
-
export declare const
|
|
193
|
+
export declare const PRODUCTION_SNAPSHOT_SERVER_URLS: {
|
|
172
194
|
polygon: string;
|
|
173
195
|
arbMainnet: string;
|
|
174
196
|
ethMainnet: string;
|
|
@@ -176,5 +198,7 @@ export declare const WALLET_RELAYER_URLS: {
|
|
|
176
198
|
avalanche: string;
|
|
177
199
|
optimism: string;
|
|
178
200
|
base: string;
|
|
201
|
+
arcTestnet: string;
|
|
202
|
+
solanaMainnet: string;
|
|
179
203
|
localhost: string;
|
|
180
204
|
};
|