@hinkal/common 0.2.37 → 0.2.38
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 +0 -5
- package/API/API.mjs +112 -117
- package/README.md +0 -22
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.mjs +2 -1
- package/constants/index.cjs +1 -1
- package/constants/index.d.ts +0 -2
- package/constants/index.mjs +0 -2
- package/constants/mediaUrls.constants.cjs +1 -1
- package/constants/mediaUrls.constants.d.ts +0 -1
- package/constants/mediaUrls.constants.mjs +0 -1
- package/constants/rewards.constants.cjs +1 -1
- package/constants/rewards.constants.d.ts +0 -2
- package/constants/rewards.constants.mjs +2 -2
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +0 -4
- package/constants/server.constants.mjs +0 -5
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +0 -3
- package/data-structures/Hinkal/Hinkal.mjs +69 -80
- package/data-structures/Hinkal/IHinkal.d.ts +0 -3
- package/data-structures/TokenDBs/PublicTokensDB.cjs +1 -1
- package/data-structures/TokenDBs/PublicTokensDB.mjs +22 -21
- package/data-structures/TokenDBs/TempoPublicTokensDB.cjs +1 -0
- package/data-structures/TokenDBs/TempoPublicTokensDB.d.ts +9 -0
- package/data-structures/TokenDBs/TempoPublicTokensDB.mjs +42 -0
- package/data-structures/TokenDBs/index.cjs +1 -1
- package/data-structures/TokenDBs/index.d.ts +1 -0
- package/data-structures/TokenDBs/index.mjs +1 -0
- package/data-structures/index.cjs +1 -1
- package/data-structures/index.mjs +1 -0
- package/error-handling/error-codes.constants.cjs +1 -1
- package/error-handling/error-codes.constants.d.ts +0 -5
- package/error-handling/error-codes.constants.mjs +0 -5
- package/externalABIs/index.cjs +1 -1
- package/externalABIs/index.d.ts +1 -36
- package/externalABIs/index.mjs +2 -4
- package/functions/index.cjs +1 -1
- package/functions/index.d.ts +0 -1
- package/functions/index.mjs +0 -4
- package/index.cjs +1 -1
- package/index.mjs +314 -319
- package/package.json +2 -2
- package/types/cache.types.cjs +1 -1
- package/types/cache.types.d.ts +1 -0
- package/types/cache.types.mjs +1 -1
- package/types/commitments.types.d.ts +0 -10
- package/types/hinkal.types.cjs +1 -1
- package/types/hinkal.types.d.ts +0 -7
- package/types/hinkal.types.mjs +2 -4
- package/types/index.cjs +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.mjs +0 -1
- package/types/new-rewards.type.cjs +1 -1
- package/types/new-rewards.type.d.ts +0 -1
- package/types/new-rewards.type.mjs +1 -1
- package/webworker/{logError-B1LyaM6e.js → logError-CU_5hb0O.js} +1 -1
- package/webworker/package.json +2 -2
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
- package/webworker/snarkjsWorkerNode.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
- package/webworker/utxoWorkerNode.cjs +1 -1
- package/webworker/viteWorkerURL.constant.cjs +3 -3
- package/webworker/viteWorkerURL.constant.mjs +3 -3
- package/webworker/{workerProxy-UUs7pDb1.js → workerProxy-JYVsEgnC.js} +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
- package/webworker/zkProofWorkerNode.cjs +1 -1
- package/API/kycCalls.cjs +0 -1
- package/API/kycCalls.d.ts +0 -14
- package/API/kycCalls.mjs +0 -26
- package/constants/assets.constants.cjs +0 -1
- package/constants/assets.constants.d.ts +0 -13
- package/constants/assets.constants.mjs +0 -16
- package/constants/kyc.constants.cjs +0 -1
- package/constants/kyc.constants.d.ts +0 -29
- package/constants/kyc.constants.mjs +0 -126
- package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +0 -1
- package/data-structures/Hinkal/hinkalGetZkMeProvider.d.ts +0 -28
- package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +0 -22
- package/externalABIs/BabPassport.json.cjs +0 -1
- package/externalABIs/BabPassport.json.mjs +0 -20
- package/externalABIs/GalxePassport.json.cjs +0 -1
- package/externalABIs/GalxePassport.json.mjs +0 -37
- package/functions/kyc/aiPriseHelper.d.ts +0 -0
- package/functions/kyc/checkTokenLimitsUSD.cjs +0 -1
- package/functions/kyc/checkTokenLimitsUSD.d.ts +0 -1
- package/functions/kyc/checkTokenLimitsUSD.mjs +0 -29
- package/functions/kyc/index.cjs +0 -1
- package/functions/kyc/index.d.ts +0 -3
- package/functions/kyc/index.mjs +0 -3
- package/functions/kyc/openDefaultPassportWindow.cjs +0 -1
- package/functions/kyc/openDefaultPassportWindow.d.ts +0 -1
- package/functions/kyc/openDefaultPassportWindow.mjs +0 -7
- package/functions/kyc/passportHelper.cjs +0 -1
- package/functions/kyc/passportHelper.d.ts +0 -3
- package/functions/kyc/passportHelper.mjs +0 -9
- package/functions/kyc/zkMeHelper.cjs +0 -1
- package/functions/kyc/zkMeHelper.d.ts +0 -4
- package/functions/kyc/zkMeHelper.mjs +0 -42
- package/types/kyc.types.cjs +0 -1
- package/types/kyc.types.d.ts +0 -41
- package/types/kyc.types.mjs +0 -12
package/API/API.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./callRelayer.cjs`),t=require(`./getTokenPrice.cjs`),n=require(`./callMonitor.cjs`),r=require(`./relayCalls.cjs`),i=require(`./
|
|
1
|
+
const e=require(`./callRelayer.cjs`),t=require(`./getTokenPrice.cjs`),n=require(`./callMonitor.cjs`),r=require(`./relayCalls.cjs`),i=require(`./callOdosAPI.cjs`),a=require(`./simulate-transaction.cjs`),o=require(`./simulate-batch-tx.cjs`),s=require(`./token-calls.cjs`),c=require(`./get-token-data.cjs`),l=require(`./enclaveUtxoCalls.cjs`),u=require(`./generate-trading-points.cjs`),d=require(`./brotherhoodCalls.cjs`),f=require(`./leaderboardCalls.cjs`),p=require(`./referralsCalls.cjs`),m=require(`./accessCodeCalls.cjs`),h=require(`./rewardsUserCalls.cjs`),g=require(`./weeklyAnalyticCalls.cjs`),_=require(`./send-telegram-callback.cjs`),v=require(`./proxyAccountsCalls.cjs`),y=require(`./seedless-calls.cjs`),b=require(`./scheduled-transactions-calls.cjs`),x=require(`./temporaryWalletCalls.cjs`),S=require(`./onrampCalls.cjs`),C=require(`./get-token-price-chart-data.cjs`),w=require(`./privacy-score-calls.cjs`),T=require(`./privateSendRecipientInfoCalls.cjs`),E=require(`./privateSendNonceCalls.cjs`),D=require(`./snapshot-event-calls.cjs`),O=require(`./privateSendEmailNotificationsCalls.cjs`),k=require(`./tronSubsidyCalls.cjs`),A=require(`./dashboardAccountCalls.cjs`),j=require(`./dashboardContactCalls.cjs`),M=require(`./dashboardPayoutCalls.cjs`),N=require(`./dashboardAccountMemberCalls.cjs`),P=require(`./dashboardBalanceCalls.cjs`),F=require(`./dashboardTransactionCalls.cjs`);var I={getTokenPrices:t.getTokenPrices,getOdosPriceForToken:i.getOdosPriceForToken,getTokenPriceChartData:C.getTokenPriceChartData,getTokenPreviousDayPrices:t.getTokenPreviousDayPrices,getIdleRelay:r.getIdleRelay,generateTradingPoints:u.generateTradingPoints,generateAumPoints:u.generateAumPoints,getBrotherhoodUsers:d.getBrotherhoodUsers,getCurrentUserBrotherhoodUsers:d.getCurrentUserBrotherhoodUsers,getBrotherhood:d.getBrotherhood,editBrotherhood:d.editBrotherhood,createBrotherhood:d.createBrotherhood,getCurrentUserBrotherhood:d.getCurrentUserBrotherhood,getPublicBrotherhoods:d.getPublicBrotherhoods,leaveBrotherhood:d.leaveBrotherhood,joinBrotherhood:d.joinBrotherhood,getUserAnalytics:g.getUserAnalytics,getBrotherhoodAnalytics:g.getBrotherhoodAnalytics,connectRewardsUser:h.connectRewardsUser,updateRewardsUser:h.updateRewardsUser,getRewardsUser:h.getRewardsUser,checkUsernameAvailability:h.checkUsernameAvailability,disconnectSocialNetwork:h.disconnectSocialNetwork,getUserCurrentLeaderboard:f.getUserCurrentLeaderboard,getBrotherhoodsLeaderboard:f.getBrotherhoodsLeaderboard,getCurrentUserReferral:p.getCurrentUserReferral,submitReferralCode:p.submitReferralCode,getCurrentUserAppliedReferralCode:p.getCurrentUserAppliedReferralCode,submitAccessCode:m.submitAccessCode,getAccessCodeBenefits:m.getAccessCodeBenefits,simulateTransaction:a.simulateTransaction,simulateBatchTx:o.simulateBatchTx,tokensInfoCall:s.tokensInfoCall,getTokenData:c.getTokenData,decryptUtxoEnclaveCall:l.decryptUtxoEnclaveCall,storeUtxoEnclaveCall:l.storeUtxoEnclaveCall,getUtxosEnclaveCall:l.getUtxosEnclaveCall,sendTelegramCallback:_.sendTelegramCallback,getTasksProgress:h.getTasksProgress,getSwapStreak:h.getSwapStreak,getProxyAccounts:v.getProxyAccounts,updateProxyAccounts:v.updateProxyAccounts,getNftMultiplier:h.getNftMultiplier,monitor:n.monitor,callRelayerSolanaTransactBatchAPI:e.callRelayerSolanaTransactBatchAPI,seedlessInit:y.seedlessInit,seedlessBackup:y.seedlessBackup,seedlessCheckPassword:y.seedlessCheckPassword,seedlessStatus:y.seedlessStatus,seedlessSalt:y.seedlessSalt,getScheduledTransactions:b.getScheduledTransactions,getTemporaryWalletNonces:x.getTemporaryWalletNonces,addTemporaryWalletNonce:x.addTemporaryWalletNonce,removeTemporaryWalletNonce:x.removeTemporaryWalletNonce,encodeMoonPayBuyUrl:S.encodeMoonPayBuyUrl,generateMoonPayQuote:S.generateMoonPayQuote,getPrivateTransactionRatio:w.getPrivateTransactionRatio,savePrivacyScoreAndGetPrivacyRank:w.savePrivacyScoreAndGetPrivacyRank,allocatePrivateSendRecipientInfos:T.allocatePrivateSendRecipientInfos,syncPrivateSendNonce:E.syncPrivateSendNonce,reservePrivateSendNonceRange:E.reservePrivateSendNonceRange,getSnapshotServerEvents:D.getSnapshotServerEvents,sendPrivateSendEmailNotifications:O.sendPrivateSendEmailNotifications,checkTronSubsidyEligibility:k.checkTronSubsidyEligibility,recordTronSubsidyUsage:k.recordTronSubsidyUsage,getDashboardAccount:A.getDashboardAccount,updateDashboardAccount:A.updateDashboardAccount,addDashboardContact:j.addDashboardContact,deleteDashboardContact:j.deleteDashboardContact,deleteDashboardAccount:A.deleteDashboardAccount,updateDashboardContact:j.updateDashboardContact,getDashboardContacts:j.getDashboardContacts,updateUserProfile:N.updateUserProfile,sendDashboardInvitationEmail:N.sendDashboardInvitationEmail,removeMember:N.removeMember,editMember:N.editMember,createDashboardPayout:M.createDashboardPayout,getDashboardPayouts:M.getDashboardPayouts,syncDashboardBalances:P.syncDashboardBalances,getDashboardBalances:P.getDashboardBalances,changePayoutStatus:M.changePayoutStatus,createDashboardTransactions:F.createDashboardTransactions,getDashboardTransactions:F.getDashboardTransactions};exports.API=I;
|
package/API/API.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getIdleRelay } from './relayCalls';
|
|
2
2
|
import { getTokenPreviousDayPrices, getTokenPrices } from './getTokenPrice';
|
|
3
|
-
import { getReclaimVerificationRequest, getUserKycStatus, getZkMeAccessToken, setAiPriseVerificationUrl } from './kycCalls';
|
|
4
3
|
import { getOdosPriceForToken } from './callOdosAPI';
|
|
5
4
|
import { simulateTransaction } from './simulate-transaction';
|
|
6
5
|
import { simulateBatchTx } from './simulate-batch-tx';
|
|
@@ -36,10 +35,6 @@ import { editMember, removeMember, sendDashboardInvitationEmail, updateUserProfi
|
|
|
36
35
|
import { getDashboardBalances, syncDashboardBalances } from './dashboardBalanceCalls';
|
|
37
36
|
import { createDashboardTransactions, getDashboardTransactions } from './dashboardTransactionCalls';
|
|
38
37
|
export type IAPI = {
|
|
39
|
-
getUserKycStatus: typeof getUserKycStatus;
|
|
40
|
-
setAiPriseVerificationUrl: typeof setAiPriseVerificationUrl;
|
|
41
|
-
getReclaimVerificationRequest: typeof getReclaimVerificationRequest;
|
|
42
|
-
getZkMeAccessToken: typeof getZkMeAccessToken;
|
|
43
38
|
getTokenPrices: typeof getTokenPrices;
|
|
44
39
|
getOdosPriceForToken: typeof getOdosPriceForToken;
|
|
45
40
|
getTokenPriceChartData: typeof getTokenPriceChartData;
|
package/API/API.mjs
CHANGED
|
@@ -2,128 +2,123 @@ import { callRelayerSolanaTransactBatchAPI as e } from "./callRelayer.mjs";
|
|
|
2
2
|
import { getTokenPreviousDayPrices as t, getTokenPrices as n } from "./getTokenPrice.mjs";
|
|
3
3
|
import { monitor as r } from "./callMonitor.mjs";
|
|
4
4
|
import { getIdleRelay as i } from "./relayCalls.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { createDashboardTransactions as je, getDashboardTransactions as Me } from "./dashboardTransactionCalls.mjs";
|
|
5
|
+
import { getOdosPriceForToken as a } from "./callOdosAPI.mjs";
|
|
6
|
+
import { simulateTransaction as o } from "./simulate-transaction.mjs";
|
|
7
|
+
import { simulateBatchTx as s } from "./simulate-batch-tx.mjs";
|
|
8
|
+
import { tokensInfoCall as c } from "./token-calls.mjs";
|
|
9
|
+
import { getTokenData as l } from "./get-token-data.mjs";
|
|
10
|
+
import { decryptUtxoEnclaveCall as u, getUtxosEnclaveCall as d, storeUtxoEnclaveCall as f } from "./enclaveUtxoCalls.mjs";
|
|
11
|
+
import { generateAumPoints as p, generateTradingPoints as m } from "./generate-trading-points.mjs";
|
|
12
|
+
import { createBrotherhood as h, editBrotherhood as g, getBrotherhood as _, getBrotherhoodUsers as v, getCurrentUserBrotherhood as y, getCurrentUserBrotherhoodUsers as b, getPublicBrotherhoods as x, joinBrotherhood as S, leaveBrotherhood as C } from "./brotherhoodCalls.mjs";
|
|
13
|
+
import { getBrotherhoodsLeaderboard as w, getUserCurrentLeaderboard as T } from "./leaderboardCalls.mjs";
|
|
14
|
+
import { getCurrentUserAppliedReferralCode as E, getCurrentUserReferral as D, submitReferralCode as O } from "./referralsCalls.mjs";
|
|
15
|
+
import { getAccessCodeBenefits as k, submitAccessCode as A } from "./accessCodeCalls.mjs";
|
|
16
|
+
import { checkUsernameAvailability as j, connectRewardsUser as M, disconnectSocialNetwork as N, getNftMultiplier as P, getRewardsUser as F, getSwapStreak as I, getTasksProgress as L, updateRewardsUser as R } from "./rewardsUserCalls.mjs";
|
|
17
|
+
import { getBrotherhoodAnalytics as z, getUserAnalytics as B } from "./weeklyAnalyticCalls.mjs";
|
|
18
|
+
import { sendTelegramCallback as V } from "./send-telegram-callback.mjs";
|
|
19
|
+
import { getProxyAccounts as H, updateProxyAccounts as U } from "./proxyAccountsCalls.mjs";
|
|
20
|
+
import { seedlessBackup as W, seedlessCheckPassword as G, seedlessInit as K, seedlessSalt as q, seedlessStatus as J } from "./seedless-calls.mjs";
|
|
21
|
+
import { getScheduledTransactions as Y } from "./scheduled-transactions-calls.mjs";
|
|
22
|
+
import { addTemporaryWalletNonce as X, getTemporaryWalletNonces as Z, removeTemporaryWalletNonce as Q } from "./temporaryWalletCalls.mjs";
|
|
23
|
+
import { encodeMoonPayBuyUrl as $, generateMoonPayQuote as ee } from "./onrampCalls.mjs";
|
|
24
|
+
import { getTokenPriceChartData as te } from "./get-token-price-chart-data.mjs";
|
|
25
|
+
import { getPrivateTransactionRatio as ne, savePrivacyScoreAndGetPrivacyRank as re } from "./privacy-score-calls.mjs";
|
|
26
|
+
import { allocatePrivateSendRecipientInfos as ie } from "./privateSendRecipientInfoCalls.mjs";
|
|
27
|
+
import { reservePrivateSendNonceRange as ae, syncPrivateSendNonce as oe } from "./privateSendNonceCalls.mjs";
|
|
28
|
+
import { getSnapshotServerEvents as se } from "./snapshot-event-calls.mjs";
|
|
29
|
+
import { sendPrivateSendEmailNotifications as ce } from "./privateSendEmailNotificationsCalls.mjs";
|
|
30
|
+
import { checkTronSubsidyEligibility as le, recordTronSubsidyUsage as ue } from "./tronSubsidyCalls.mjs";
|
|
31
|
+
import { deleteDashboardAccount as de, getDashboardAccount as fe, updateDashboardAccount as pe } from "./dashboardAccountCalls.mjs";
|
|
32
|
+
import { addDashboardContact as me, deleteDashboardContact as he, getDashboardContacts as ge, updateDashboardContact as _e } from "./dashboardContactCalls.mjs";
|
|
33
|
+
import { changePayoutStatus as ve, createDashboardPayout as ye, getDashboardPayouts as be } from "./dashboardPayoutCalls.mjs";
|
|
34
|
+
import { editMember as xe, removeMember as Se, sendDashboardInvitationEmail as Ce, updateUserProfile as we } from "./dashboardAccountMemberCalls.mjs";
|
|
35
|
+
import { getDashboardBalances as Te, syncDashboardBalances as Ee } from "./dashboardBalanceCalls.mjs";
|
|
36
|
+
import { createDashboardTransactions as De, getDashboardTransactions as Oe } from "./dashboardTransactionCalls.mjs";
|
|
38
37
|
//#region libs/shared/common/src/API/API.ts
|
|
39
|
-
var
|
|
40
|
-
getUserKycStatus: o,
|
|
41
|
-
setAiPriseVerificationUrl: c,
|
|
42
|
-
getReclaimVerificationRequest: a,
|
|
43
|
-
getZkMeAccessToken: s,
|
|
38
|
+
var ke = {
|
|
44
39
|
getTokenPrices: n,
|
|
45
|
-
getOdosPriceForToken:
|
|
46
|
-
getTokenPriceChartData:
|
|
40
|
+
getOdosPriceForToken: a,
|
|
41
|
+
getTokenPriceChartData: te,
|
|
47
42
|
getTokenPreviousDayPrices: t,
|
|
48
43
|
getIdleRelay: i,
|
|
49
|
-
generateTradingPoints:
|
|
50
|
-
generateAumPoints:
|
|
51
|
-
getBrotherhoodUsers:
|
|
52
|
-
getCurrentUserBrotherhoodUsers:
|
|
53
|
-
getBrotherhood:
|
|
54
|
-
editBrotherhood:
|
|
55
|
-
createBrotherhood:
|
|
56
|
-
getCurrentUserBrotherhood:
|
|
57
|
-
getPublicBrotherhoods:
|
|
58
|
-
leaveBrotherhood:
|
|
59
|
-
joinBrotherhood:
|
|
60
|
-
getUserAnalytics:
|
|
61
|
-
getBrotherhoodAnalytics:
|
|
62
|
-
connectRewardsUser:
|
|
63
|
-
updateRewardsUser:
|
|
64
|
-
getRewardsUser:
|
|
65
|
-
checkUsernameAvailability:
|
|
66
|
-
disconnectSocialNetwork:
|
|
67
|
-
getUserCurrentLeaderboard:
|
|
68
|
-
getBrotherhoodsLeaderboard:
|
|
69
|
-
getCurrentUserReferral:
|
|
70
|
-
submitReferralCode:
|
|
71
|
-
getCurrentUserAppliedReferralCode:
|
|
72
|
-
submitAccessCode:
|
|
73
|
-
getAccessCodeBenefits:
|
|
74
|
-
simulateTransaction:
|
|
75
|
-
simulateBatchTx:
|
|
76
|
-
tokensInfoCall:
|
|
77
|
-
getTokenData:
|
|
78
|
-
decryptUtxoEnclaveCall:
|
|
79
|
-
storeUtxoEnclaveCall:
|
|
80
|
-
getUtxosEnclaveCall:
|
|
81
|
-
sendTelegramCallback:
|
|
82
|
-
getTasksProgress:
|
|
83
|
-
getSwapStreak:
|
|
84
|
-
getProxyAccounts:
|
|
85
|
-
updateProxyAccounts:
|
|
86
|
-
getNftMultiplier:
|
|
44
|
+
generateTradingPoints: m,
|
|
45
|
+
generateAumPoints: p,
|
|
46
|
+
getBrotherhoodUsers: v,
|
|
47
|
+
getCurrentUserBrotherhoodUsers: b,
|
|
48
|
+
getBrotherhood: _,
|
|
49
|
+
editBrotherhood: g,
|
|
50
|
+
createBrotherhood: h,
|
|
51
|
+
getCurrentUserBrotherhood: y,
|
|
52
|
+
getPublicBrotherhoods: x,
|
|
53
|
+
leaveBrotherhood: C,
|
|
54
|
+
joinBrotherhood: S,
|
|
55
|
+
getUserAnalytics: B,
|
|
56
|
+
getBrotherhoodAnalytics: z,
|
|
57
|
+
connectRewardsUser: M,
|
|
58
|
+
updateRewardsUser: R,
|
|
59
|
+
getRewardsUser: F,
|
|
60
|
+
checkUsernameAvailability: j,
|
|
61
|
+
disconnectSocialNetwork: N,
|
|
62
|
+
getUserCurrentLeaderboard: T,
|
|
63
|
+
getBrotherhoodsLeaderboard: w,
|
|
64
|
+
getCurrentUserReferral: D,
|
|
65
|
+
submitReferralCode: O,
|
|
66
|
+
getCurrentUserAppliedReferralCode: E,
|
|
67
|
+
submitAccessCode: A,
|
|
68
|
+
getAccessCodeBenefits: k,
|
|
69
|
+
simulateTransaction: o,
|
|
70
|
+
simulateBatchTx: s,
|
|
71
|
+
tokensInfoCall: c,
|
|
72
|
+
getTokenData: l,
|
|
73
|
+
decryptUtxoEnclaveCall: u,
|
|
74
|
+
storeUtxoEnclaveCall: f,
|
|
75
|
+
getUtxosEnclaveCall: d,
|
|
76
|
+
sendTelegramCallback: V,
|
|
77
|
+
getTasksProgress: L,
|
|
78
|
+
getSwapStreak: I,
|
|
79
|
+
getProxyAccounts: H,
|
|
80
|
+
updateProxyAccounts: U,
|
|
81
|
+
getNftMultiplier: P,
|
|
87
82
|
monitor: r,
|
|
88
83
|
callRelayerSolanaTransactBatchAPI: e,
|
|
89
|
-
seedlessInit:
|
|
90
|
-
seedlessBackup:
|
|
91
|
-
seedlessCheckPassword:
|
|
92
|
-
seedlessStatus:
|
|
93
|
-
seedlessSalt:
|
|
94
|
-
getScheduledTransactions:
|
|
95
|
-
getTemporaryWalletNonces:
|
|
96
|
-
addTemporaryWalletNonce:
|
|
97
|
-
removeTemporaryWalletNonce:
|
|
98
|
-
encodeMoonPayBuyUrl:
|
|
99
|
-
generateMoonPayQuote:
|
|
100
|
-
getPrivateTransactionRatio:
|
|
101
|
-
savePrivacyScoreAndGetPrivacyRank:
|
|
102
|
-
allocatePrivateSendRecipientInfos:
|
|
103
|
-
syncPrivateSendNonce:
|
|
104
|
-
reservePrivateSendNonceRange:
|
|
105
|
-
getSnapshotServerEvents:
|
|
106
|
-
sendPrivateSendEmailNotifications:
|
|
107
|
-
checkTronSubsidyEligibility:
|
|
108
|
-
recordTronSubsidyUsage:
|
|
109
|
-
getDashboardAccount:
|
|
110
|
-
updateDashboardAccount:
|
|
111
|
-
addDashboardContact:
|
|
112
|
-
deleteDashboardContact:
|
|
113
|
-
deleteDashboardAccount:
|
|
114
|
-
updateDashboardContact:
|
|
115
|
-
getDashboardContacts:
|
|
116
|
-
updateUserProfile:
|
|
117
|
-
sendDashboardInvitationEmail:
|
|
118
|
-
removeMember:
|
|
119
|
-
editMember:
|
|
120
|
-
createDashboardPayout:
|
|
121
|
-
getDashboardPayouts:
|
|
122
|
-
syncDashboardBalances:
|
|
123
|
-
getDashboardBalances:
|
|
124
|
-
changePayoutStatus:
|
|
125
|
-
createDashboardTransactions:
|
|
126
|
-
getDashboardTransactions:
|
|
84
|
+
seedlessInit: K,
|
|
85
|
+
seedlessBackup: W,
|
|
86
|
+
seedlessCheckPassword: G,
|
|
87
|
+
seedlessStatus: J,
|
|
88
|
+
seedlessSalt: q,
|
|
89
|
+
getScheduledTransactions: Y,
|
|
90
|
+
getTemporaryWalletNonces: Z,
|
|
91
|
+
addTemporaryWalletNonce: X,
|
|
92
|
+
removeTemporaryWalletNonce: Q,
|
|
93
|
+
encodeMoonPayBuyUrl: $,
|
|
94
|
+
generateMoonPayQuote: ee,
|
|
95
|
+
getPrivateTransactionRatio: ne,
|
|
96
|
+
savePrivacyScoreAndGetPrivacyRank: re,
|
|
97
|
+
allocatePrivateSendRecipientInfos: ie,
|
|
98
|
+
syncPrivateSendNonce: oe,
|
|
99
|
+
reservePrivateSendNonceRange: ae,
|
|
100
|
+
getSnapshotServerEvents: se,
|
|
101
|
+
sendPrivateSendEmailNotifications: ce,
|
|
102
|
+
checkTronSubsidyEligibility: le,
|
|
103
|
+
recordTronSubsidyUsage: ue,
|
|
104
|
+
getDashboardAccount: fe,
|
|
105
|
+
updateDashboardAccount: pe,
|
|
106
|
+
addDashboardContact: me,
|
|
107
|
+
deleteDashboardContact: he,
|
|
108
|
+
deleteDashboardAccount: de,
|
|
109
|
+
updateDashboardContact: _e,
|
|
110
|
+
getDashboardContacts: ge,
|
|
111
|
+
updateUserProfile: we,
|
|
112
|
+
sendDashboardInvitationEmail: Ce,
|
|
113
|
+
removeMember: Se,
|
|
114
|
+
editMember: xe,
|
|
115
|
+
createDashboardPayout: ye,
|
|
116
|
+
getDashboardPayouts: be,
|
|
117
|
+
syncDashboardBalances: Ee,
|
|
118
|
+
getDashboardBalances: Te,
|
|
119
|
+
changePayoutStatus: ve,
|
|
120
|
+
createDashboardTransactions: De,
|
|
121
|
+
getDashboardTransactions: Oe
|
|
127
122
|
};
|
|
128
123
|
//#endregion
|
|
129
|
-
export {
|
|
124
|
+
export { ke as API };
|
package/README.md
CHANGED
|
@@ -338,28 +338,6 @@ In this example:
|
|
|
338
338
|
- First operation approves the gauge contract to spend LP tokens, executed from the persistent wallet
|
|
339
339
|
- Second operation deposits LP tokens into the gauge, with the wallet address as the recipient for reward tracking
|
|
340
340
|
|
|
341
|
-
## Access Tokens
|
|
342
|
-
|
|
343
|
-
Access tokens are required credentials that allow users to interact with Hinkal's privacy smart contracts. Think of them as a "passport" that proves you've completed the necessary compliance verification.
|
|
344
|
-
|
|
345
|
-
Before you can deposit funds, make transfers, or perform any private transactions through Hinkal, you must have a valid access token associated with your wallet. This is a one-time requirement—once you have an access token, you can use Hinkal's features without needing to verify again.
|
|
346
|
-
|
|
347
|
-
To check whether a user already has an access token on a specific chain, use the `checkAccessToken` function:
|
|
348
|
-
|
|
349
|
-
```typescript
|
|
350
|
-
function checkAccessToken(): Promise<boolean>;
|
|
351
|
-
```
|
|
352
|
-
|
|
353
|
-
If the user does not have an access token, they need to complete a compliance verification through one of Hinkal's supported compliance providers. This is a one-time process that verifies the user meets regulatory requirements before they can use the privacy features.
|
|
354
|
-
|
|
355
|
-
To get a list of all available compliance providers that can be used for verification:
|
|
356
|
-
|
|
357
|
-
```typescript
|
|
358
|
-
function getSupportedPassportLinks(): string[];
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
After passing the compliance check with one of the supported providers, the access token will be automatically minted during the user's first transaction with Hinkal. This token is stored on-chain and grants the user permission to interact with Hinkal's privacy contracts.
|
|
362
|
-
|
|
363
341
|
## Supported Chains
|
|
364
342
|
|
|
365
343
|
Hinkal SDK is available on the following blockchain networks:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../types/chains.types.cjs`),t=require(`./deploy-data/deploy-data-arbMainnet.json.cjs`),n=require(`./deploy-data/deploy-data-ethMainnet.json.cjs`),r=require(`./deploy-data/deploy-data-optimism.json.cjs`),i=require(`./deploy-data/deploy-data-optimismTest.json.cjs`),a=require(`./deploy-data/deploy-data-polygon.json.cjs`),o=require(`./deploy-data/deploy-data-base.json.cjs`),s=require(`./deploy-data/deploy-data-localhost.json.cjs`),c=require(`./deploy-data/deploy-data-arcTestnet.json.cjs`),l=require(`./deploy-data/deploy-data-sepoliaTestnet.json.cjs`),u=require(`./deploy-data/deploy-data-solana.json.cjs`),d=require(`./deploy-data/deploy-data-tronNile.json.cjs`),f=require(`./deploy-data/deploy-data-tronMainnet.json.cjs`),p=require(`./deploy-data/deploy-data-tempo.json.cjs`),m=require(`./vite.constants.cjs`);var h={chainId:0,name:`All`},g={polygon:137,arbMainnet:42161,ethMainnet:1,optimism:10,optimismTest:1010,base:8453,localhost:31337,arcTestnet:5042002,sepoliaTestnet:11155111,solanaMainnet:501,solanaLocalnet:102,tronNile:3448148188,tronLocalnet:103,tronMainnet:728126428,tempo:4217,bnbMainnet:56,avalanche:43114,cronos:25,monad:143,plasma:9745,ink:57073,hyperEvm:999},_=`4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ`,v=g.ethMainnet,y=e=>[g.localhost,g.tronLocalnet,g.solanaLocalnet].includes(e),b=e=>e?y(e)?v:e:v,x=e=>e===g.optimismTest?g.optimism:e,S=(e,t)=>x(e)===x(t),C=`X4IiEZsSzGOrJq8tzq7Y3`,w=m.isNotProduction?C:`XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9`,T=`https://mainnet.helius-rpc.com/?api-key=24718f72-c710-45d6-853e-d447cf530579`,E={[g.ethMainnet]:{name:`Ethereum`,chainId:g.ethMainnet,rpcUrl:`https://rpc.ankr.com/eth`,fetchRpcUrl:`https://eth-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://eth-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:n.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:1,maxPageSize:9e5},[g.arbMainnet]:{name:`Arbitrum`,chainId:g.arbMainnet,rpcUrl:`https://endpoints.omniatech.io/v1/arbitrum/one/public`,fetchRpcUrl:`https://arb-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://arb-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:t.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:2,maxPageSize:5e5},[g.optimism]:{name:`Optimism`,chainId:g.optimism,rpcUrl:`https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903`,fetchRpcUrl:`https://opt-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://opt-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:r.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:3,maxPageSize:9e5},[g.optimismTest]:{name:`Optimism Test`,chainId:g.optimismTest,rpcUrl:`https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903`,fetchRpcUrl:`https://opt-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://opt-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:i.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:3,maxPageSize:9e5},[g.polygon]:{name:`Polygon`,chainId:g.polygon,rpcUrl:`https://polygon-rpc.com`,fetchRpcUrl:`https://polygon-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://polygon-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:a.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:4,maxPageSize:9e5},[g.base]:{name:`Base`,chainId:g.base,rpcUrl:`https://mainnet.base.org/`,fetchRpcUrl:`https://base-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://base-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:o.default,quoterV2Address:`0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a`,uniswapV3FactoryAddress:`0x33128a8fC17869897dcE68Ed026d694621f6FDfD`,priority:7,maxPageSize:5e5},[g.arcTestnet]:{name:`Arc Testnet`,chainId:g.arcTestnet,rpcUrl:`https://arc-testnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://arc-testnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://arc-testnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:c.default,priority:8,maxPageSize:9999},[g.solanaMainnet]:{name:`Solana`,chainId:g.solanaMainnet,rpcUrl:`https://api.mainnet-beta.solana.com`,fetchRpcUrl:`https://mainnet.helius-rpc.com/?api-key=54ad9ec9-dad6-41de-b961-e3e8ea7a7188`,supported:!0,contractData:u.default,priority:8},[g.solanaLocalnet]:{name:`Solana Localnet`,chainId:g.solanaLocalnet,rpcUrl:`http://127.0.0.1:8899`,fetchRpcUrl:`http://127.0.0.1:8899`,supported:!0,contractData:u.default,priority:9},[g.tronNile]:{name:`Tron Nile`,chainId:g.tronNile,rpcUrl:`https://tron-testnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://tron-testnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:d.default,priority:9,maxPageSize:5e5},[g.tronMainnet]:{name:`Tron`,chainId:g.tronMainnet,rpcUrl:`https://tron-mainnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://tron-mainnet.g.alchemy.com/v2/${w}`,supported:!0,priority:10,contractData:f.default,maxPageSize:5e5},[g.sepoliaTestnet]:{name:`Sepolia Testnet`,chainId:g.sepoliaTestnet,rpcUrl:`https://eth-sepolia.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://eth-sepolia.g.alchemy.com/v2/${w}`,supported:!0,priority:11,contractData:l.default,quoterV2Address:`0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3`,uniswapV3FactoryAddress:`0x0227628f3F023bb0B980b67D528571c95c6DaC1c`,maxPageSize:9e5},[g.tempo]:{name:`Tempo`,chainId:g.tempo,rpcUrl:`https://rpc.tempo.xyz`,fetchRpcUrl:`https://rpc.tempo.xyz`,supported:!0,priority:12,contractData:p.default,quoterV2Address:`0x53ab5d7a69db158f621b43ee70423da1e1403c2a`,uniswapV3FactoryAddress:`0x24a3d4757e330890a8b8978028c9e58e04611fd6`,maxPageSize:9999},[g.bnbMainnet]:{name:`BNB Chain`,chainId:g.bnbMainnet,rpcUrl:`https://bsc-dataseed.binance.org`,fetchRpcUrl:`https://bnb-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://bnb-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:{},quoterV2Address:`0x78D78E420Da98ad378D7799bE8f4AF69033EB077`,uniswapV3FactoryAddress:`0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7`,priority:13},[g.avalanche]:{name:`Avalanche`,chainId:g.avalanche,rpcUrl:`https://api.avax.network/ext/bc/C/rpc`,fetchRpcUrl:`https://api.avax.network/ext/bc/C/rpc`,supported:!1,contractData:{},priority:14},[g.cronos]:{name:`Cronos`,chainId:g.cronos,rpcUrl:`https://evm.cronos.org`,fetchRpcUrl:`https://evm.cronos.org`,supported:!1,contractData:{},priority:15},[g.monad]:{name:`Monad`,chainId:g.monad,rpcUrl:`https://rpc.monad.xyz`,fetchRpcUrl:`https://rpc.monad.xyz`,supported:!1,contractData:{},priority:16},[g.plasma]:{name:`Plasma`,chainId:g.plasma,rpcUrl:`https://rpc.plasma.to`,fetchRpcUrl:`https://rpc.plasma.to`,supported:!1,contractData:{},priority:17},[g.ink]:{name:`Ink`,chainId:g.ink,rpcUrl:`https://rpc-gel.inkonchain.com`,fetchRpcUrl:`https://rpc-gel.inkonchain.com`,supported:!1,contractData:{},priority:18},[g.hyperEvm]:{name:`HyperEVM`,chainId:g.hyperEvm,rpcUrl:`https://rpc.hyperliquid.xyz/evm`,fetchRpcUrl:`https://rpc.hyperliquid.xyz/evm`,supported:!1,contractData:{},priority:19},...(m.isDevelopment,{})},D={name:`Localhost`,chainId:g.localhost,rpcUrl:`http://127.0.0.1:8545`,fetchRpcUrl:`http://127.0.0.1:8545`,supported:!0,contractData:s.default,quoterV2Address:E[v].quoterV2Address,uniswapV3FactoryAddress:E[v].uniswapV3FactoryAddress,priority:7};m.isDevelopment&&(E[g.localhost]=D);var O={[e.EthereumNetworkType.Mainnet]:[g.polygon,g.arbMainnet,g.ethMainnet,g.bnbMainnet,g.optimism,g.base,g.tronMainnet,g.tempo],[e.EthereumNetworkType.Testnet]:m.isNotProduction?[g.arcTestnet,g.tronNile,g.sepoliaTestnet,g.optimismTest]:[g.arcTestnet,g.sepoliaTestnet],[e.EthereumNetworkType.Local]:[g.localhost]},k=[g.tronNile,g.tronMainnet,g.tronLocalnet],A=[g.solanaMainnet,g.solanaLocalnet],j=e=>[g.optimism,g.optimismTest,g.base].includes(e),M=e=>A.includes(e),N=e=>k.includes(e),P=e=>M(e)||N(e),F=e=>e===g.sepoliaTestnet,I=e=>e===g.tempo,L=m.isNotProduction?g.tronNile:g.tronMainnet,R=g.solanaMainnet,z=[g.ethMainnet,g.optimism,g.base,g.polygon,g.arbMainnet,g.arcTestnet,R,g.sepoliaTestnet,g.tronMainnet,g.tronNile],B=[...z.filter(e=>!N(e)),L],V=e=>{let t=B.indexOf(L);t!==-1&&(B[t]=e),L=e},H=z.filter(e=>!N(e)&&!F(e)&&!I(e)),U=[g.sepoliaTestnet,g.tempo],W=B.filter(e=>!U.includes(e)),G=z.filter(e=>e!==g.arcTestnet&&!F(e)&&!(N(e)&&e!==g.tronMainnet)),K=[g.bnbMainnet,g.avalanche,g.cronos,g.monad,g.plasma,g.ink,g.hyperEvm],q=e=>K.includes(e),J=[...G,...K],Y=z.filter(e=>!M(e)&&!N(e)),X=e=>Y.includes(e),Z={[e.NetworkFilterType.Wallet]:H,[e.NetworkFilterType.Pay]:B,[e.NetworkFilterType.Bridge]:J,[e.NetworkFilterType.Dashboard]:W},Q=[g.arcTestnet],$=[g.arcTestnet];exports.ALCHEMY_API_KEY=w,exports.ALCHEMY_TEST_KEY=C,exports.ALL_NETWORKS_OPTION=h,exports.BRIDGE_DESTINATION_CHAINS=J,exports.BRIDGE_DESTINATION_ONLY_CHAINS=K,exports.BRIDGE_SUPPORTED_CHAINS=G,exports.DASHBOARD_EXCLUDED_CHAIN_IDS=U,exports.DASHBOARD_SUPPORTED_CHAINS=W,exports.EVM_CHAIN_IDS=Y,exports.EXCLUDED_CHAINS_FOR_BRIDGE=$,exports.FILTER_CHAIN_MAP=Z,exports.FRONT_END_SUPPORTED_CHAINS=B,exports.HELIUS_RPC_URL=T,exports.HINKAL_SUPPORTED_CHAINS=z,exports.SOLANA_CHAIN_IDS=A,exports.SWAP_EXCLUDED_CHAINS=Q,exports.TRON_CHAIN_IDS=k,exports.WALLET_SUPPORTED_CHAINS=H,exports.chainIds=g,exports.chainIdsByType=O,exports.currentSolanaChainId=R,Object.defineProperty(exports,`currentTronChainId`,{enumerable:!0,get:function(){return L}}),exports.getNonLocalhostChainId=b,exports.getOnchainChainId=x,exports.isBridgeDestinationOnlyChain=q,exports.isEvmChain=X,exports.isLocalNetwork=y,exports.isOptimismLike=j,exports.isSameOnchainNetwork=S,exports.isSepoliaTestnet=F,exports.isSolanaLike=M,exports.isTempo=I,exports.isTronLike=N,exports.localhostNetwork=v,exports.networkRegistry=E,exports.setHinkalTronChainId=V,exports.solanaChainIdStr=_,exports.usesNearIntentsBridge=P;
|
|
1
|
+
const e=require(`../types/chains.types.cjs`),t=require(`./deploy-data/deploy-data-arbMainnet.json.cjs`),n=require(`./deploy-data/deploy-data-ethMainnet.json.cjs`),r=require(`./deploy-data/deploy-data-optimism.json.cjs`),i=require(`./deploy-data/deploy-data-optimismTest.json.cjs`),a=require(`./deploy-data/deploy-data-polygon.json.cjs`),o=require(`./deploy-data/deploy-data-base.json.cjs`),s=require(`./deploy-data/deploy-data-localhost.json.cjs`),c=require(`./deploy-data/deploy-data-arcTestnet.json.cjs`),l=require(`./deploy-data/deploy-data-sepoliaTestnet.json.cjs`),u=require(`./deploy-data/deploy-data-solana.json.cjs`),d=require(`./deploy-data/deploy-data-tronNile.json.cjs`),f=require(`./deploy-data/deploy-data-tronMainnet.json.cjs`),p=require(`./deploy-data/deploy-data-tempo.json.cjs`),m=require(`./vite.constants.cjs`);var h={chainId:0,name:`All`},g={polygon:137,arbMainnet:42161,ethMainnet:1,optimism:10,optimismTest:1010,base:8453,localhost:31337,arcTestnet:5042002,sepoliaTestnet:11155111,solanaMainnet:501,solanaLocalnet:102,tronNile:3448148188,tronLocalnet:103,tronMainnet:728126428,tempo:4217,bnbMainnet:56,avalanche:43114,cronos:25,monad:143,plasma:9745,ink:57073,hyperEvm:999},_=`4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ`,v=g.ethMainnet,y=e=>[g.localhost,g.tronLocalnet,g.solanaLocalnet].includes(e),b=e=>e?y(e)?v:e:v,x=e=>e===g.optimismTest?g.optimism:e,S=(e,t)=>x(e)===x(t),C=`X4IiEZsSzGOrJq8tzq7Y3`,w=m.isNotProduction?C:`XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9`,T=`https://mainnet.helius-rpc.com/?api-key=24718f72-c710-45d6-853e-d447cf530579`,E={[g.ethMainnet]:{name:`Ethereum`,chainId:g.ethMainnet,rpcUrl:`https://rpc.ankr.com/eth`,fetchRpcUrl:`https://eth-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://eth-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:n.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:1,maxPageSize:9e5},[g.arbMainnet]:{name:`Arbitrum`,chainId:g.arbMainnet,rpcUrl:`https://endpoints.omniatech.io/v1/arbitrum/one/public`,fetchRpcUrl:`https://arb-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://arb-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:t.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:2,maxPageSize:5e5},[g.optimism]:{name:`Optimism`,chainId:g.optimism,rpcUrl:`https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903`,fetchRpcUrl:`https://opt-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://opt-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:r.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:3,maxPageSize:9e5},[g.optimismTest]:{name:`Optimism Test`,chainId:g.optimismTest,rpcUrl:`https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903`,fetchRpcUrl:`https://opt-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://opt-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:i.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:3,maxPageSize:9e5},[g.polygon]:{name:`Polygon`,chainId:g.polygon,rpcUrl:`https://polygon-rpc.com`,fetchRpcUrl:`https://polygon-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://polygon-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:a.default,quoterV2Address:`0x61fFE014bA17989E743c5F6cB21bF9697530B21e`,uniswapV3FactoryAddress:`0x1F98431c8aD98523631AE4a59f267346ea31F984`,priority:4,maxPageSize:9e5},[g.base]:{name:`Base`,chainId:g.base,rpcUrl:`https://mainnet.base.org/`,fetchRpcUrl:`https://base-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://base-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:o.default,quoterV2Address:`0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a`,uniswapV3FactoryAddress:`0x33128a8fC17869897dcE68Ed026d694621f6FDfD`,priority:7,maxPageSize:5e5},[g.arcTestnet]:{name:`Arc Testnet`,chainId:g.arcTestnet,rpcUrl:`https://arc-testnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://arc-testnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://arc-testnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:c.default,priority:8,maxPageSize:9999},[g.solanaMainnet]:{name:`Solana`,chainId:g.solanaMainnet,rpcUrl:`https://api.mainnet-beta.solana.com`,fetchRpcUrl:`https://mainnet.helius-rpc.com/?api-key=54ad9ec9-dad6-41de-b961-e3e8ea7a7188`,supported:!0,contractData:u.default,priority:8},[g.solanaLocalnet]:{name:`Solana Localnet`,chainId:g.solanaLocalnet,rpcUrl:`http://127.0.0.1:8899`,fetchRpcUrl:`http://127.0.0.1:8899`,supported:!0,contractData:u.default,priority:9},[g.tronNile]:{name:`Tron Nile`,chainId:g.tronNile,rpcUrl:`https://tron-testnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://tron-testnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:d.default,priority:9,maxPageSize:5e5},[g.tronMainnet]:{name:`Tron`,chainId:g.tronMainnet,rpcUrl:`https://tron-mainnet.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://tron-mainnet.g.alchemy.com/v2/${w}`,supported:!0,priority:10,contractData:f.default,maxPageSize:5e5},[g.sepoliaTestnet]:{name:`Sepolia Testnet`,chainId:g.sepoliaTestnet,rpcUrl:`https://eth-sepolia.g.alchemy.com/v2/${w}`,fetchRpcUrl:`https://eth-sepolia.g.alchemy.com/v2/${w}`,supported:!0,priority:11,contractData:l.default,quoterV2Address:`0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3`,uniswapV3FactoryAddress:`0x0227628f3F023bb0B980b67D528571c95c6DaC1c`,maxPageSize:9e5},[g.tempo]:{name:`Tempo`,chainId:g.tempo,rpcUrl:`https://rpc.tempo.xyz`,fetchRpcUrl:`https://rpc.tempo.xyz`,supported:!0,priority:12,contractData:p.default,quoterV2Address:`0x53ab5d7a69db158f621b43ee70423da1e1403c2a`,uniswapV3FactoryAddress:`0x24a3d4757e330890a8b8978028c9e58e04611fd6`,maxPageSize:9999},[g.bnbMainnet]:{name:`BNB Chain`,chainId:g.bnbMainnet,rpcUrl:`https://bsc-dataseed.binance.org`,fetchRpcUrl:`https://bnb-mainnet.g.alchemy.com/v2/${w}`,wsRpcUrl:`wss://bnb-mainnet.g.alchemy.com/v2/${w}`,supported:!0,contractData:{},quoterV2Address:`0x78D78E420Da98ad378D7799bE8f4AF69033EB077`,uniswapV3FactoryAddress:`0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7`,priority:13},[g.avalanche]:{name:`Avalanche`,chainId:g.avalanche,rpcUrl:`https://api.avax.network/ext/bc/C/rpc`,fetchRpcUrl:`https://api.avax.network/ext/bc/C/rpc`,supported:!1,contractData:{},priority:14},[g.cronos]:{name:`Cronos`,chainId:g.cronos,rpcUrl:`https://evm.cronos.org`,fetchRpcUrl:`https://evm.cronos.org`,supported:!1,contractData:{},priority:15},[g.monad]:{name:`Monad`,chainId:g.monad,rpcUrl:`https://rpc.monad.xyz`,fetchRpcUrl:`https://rpc.monad.xyz`,supported:!1,contractData:{},priority:16},[g.plasma]:{name:`Plasma`,chainId:g.plasma,rpcUrl:`https://rpc.plasma.to`,fetchRpcUrl:`https://rpc.plasma.to`,supported:!1,contractData:{},priority:17},[g.ink]:{name:`Ink`,chainId:g.ink,rpcUrl:`https://rpc-gel.inkonchain.com`,fetchRpcUrl:`https://rpc-gel.inkonchain.com`,supported:!1,contractData:{},priority:18},[g.hyperEvm]:{name:`HyperEVM`,chainId:g.hyperEvm,rpcUrl:`https://rpc.hyperliquid.xyz/evm`,fetchRpcUrl:`https://rpc.hyperliquid.xyz/evm`,supported:!1,contractData:{},priority:19},...(m.isDevelopment,{})},D={name:`Localhost`,chainId:g.localhost,rpcUrl:`http://127.0.0.1:8545`,fetchRpcUrl:`http://127.0.0.1:8545`,supported:!0,contractData:s.default,quoterV2Address:E[v].quoterV2Address,uniswapV3FactoryAddress:E[v].uniswapV3FactoryAddress,priority:7};m.isDevelopment&&(E[g.localhost]=D);var O={[e.EthereumNetworkType.Mainnet]:[g.polygon,g.arbMainnet,g.ethMainnet,g.bnbMainnet,g.optimism,g.base,g.tronMainnet,g.tempo],[e.EthereumNetworkType.Testnet]:m.isNotProduction?[g.arcTestnet,g.tronNile,g.sepoliaTestnet,g.optimismTest]:[g.arcTestnet,g.sepoliaTestnet],[e.EthereumNetworkType.Local]:[g.localhost]},k=[g.tronNile,g.tronMainnet,g.tronLocalnet],A=[g.solanaMainnet,g.solanaLocalnet],j=e=>[g.optimism,g.optimismTest,g.base].includes(e),M=e=>A.includes(e),N=e=>k.includes(e),P=e=>M(e)||N(e),F=e=>e===g.sepoliaTestnet,I=e=>e===g.tempo,L=m.isNotProduction?g.tronNile:g.tronMainnet,R=g.solanaMainnet,z=[g.ethMainnet,g.optimism,g.base,g.polygon,g.arbMainnet,g.arcTestnet,R,g.sepoliaTestnet,g.tronMainnet,g.tronNile,g.tempo],B=[...z.filter(e=>!N(e)),L],V=e=>{let t=B.indexOf(L);t!==-1&&(B[t]=e),L=e},H=z.filter(e=>!N(e)&&!F(e)&&!I(e)),U=[g.sepoliaTestnet,g.tempo],W=B.filter(e=>!U.includes(e)),G=z.filter(e=>e!==g.arcTestnet&&!F(e)&&!(N(e)&&e!==g.tronMainnet)),K=[g.bnbMainnet,g.avalanche,g.cronos,g.monad,g.plasma,g.ink,g.hyperEvm],q=e=>K.includes(e),J=[...G,...K],Y=z.filter(e=>!M(e)&&!N(e)),X=e=>Y.includes(e),Z={[e.NetworkFilterType.Wallet]:H,[e.NetworkFilterType.Pay]:B,[e.NetworkFilterType.Bridge]:J,[e.NetworkFilterType.Dashboard]:W},Q=[g.arcTestnet],$=[g.arcTestnet];exports.ALCHEMY_API_KEY=w,exports.ALCHEMY_TEST_KEY=C,exports.ALL_NETWORKS_OPTION=h,exports.BRIDGE_DESTINATION_CHAINS=J,exports.BRIDGE_DESTINATION_ONLY_CHAINS=K,exports.BRIDGE_SUPPORTED_CHAINS=G,exports.DASHBOARD_EXCLUDED_CHAIN_IDS=U,exports.DASHBOARD_SUPPORTED_CHAINS=W,exports.EVM_CHAIN_IDS=Y,exports.EXCLUDED_CHAINS_FOR_BRIDGE=$,exports.FILTER_CHAIN_MAP=Z,exports.FRONT_END_SUPPORTED_CHAINS=B,exports.HELIUS_RPC_URL=T,exports.HINKAL_SUPPORTED_CHAINS=z,exports.SOLANA_CHAIN_IDS=A,exports.SWAP_EXCLUDED_CHAINS=Q,exports.TRON_CHAIN_IDS=k,exports.WALLET_SUPPORTED_CHAINS=H,exports.chainIds=g,exports.chainIdsByType=O,exports.currentSolanaChainId=R,Object.defineProperty(exports,`currentTronChainId`,{enumerable:!0,get:function(){return L}}),exports.getNonLocalhostChainId=b,exports.getOnchainChainId=x,exports.isBridgeDestinationOnlyChain=q,exports.isEvmChain=X,exports.isLocalNetwork=y,exports.isOptimismLike=j,exports.isSameOnchainNetwork=S,exports.isSepoliaTestnet=F,exports.isSolanaLike=M,exports.isTempo=I,exports.isTronLike=N,exports.localhostNetwork=v,exports.networkRegistry=E,exports.setHinkalTronChainId=V,exports.solanaChainIdStr=_,exports.usesNearIntentsBridge=P;
|
package/constants/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./deploy-data/deploy-data-arbMainnet.json.cjs`),require(`./deploy-data/deploy-data-ethMainnet.json.cjs`),require(`./deploy-data/deploy-data-optimism.json.cjs`),require(`./deploy-data/deploy-data-optimismTest.json.cjs`),require(`./deploy-data/deploy-data-polygon.json.cjs`),require(`./deploy-data/deploy-data-base.json.cjs`),require(`./deploy-data/deploy-data-localhost.json.cjs`),require(`./deploy-data/deploy-data-arcTestnet.json.cjs`),require(`./deploy-data/deploy-data-sepoliaTestnet.json.cjs`),require(`./deploy-data/deploy-data-solana.json.cjs`),require(`./deploy-data/deploy-data-tronNile.json.cjs`),require(`./deploy-data/deploy-data-tronMainnet.json.cjs`),require(`./deploy-data/deploy-data-tempo.json.cjs`),require(`./vite.constants.cjs`),require(`./chains.constants.cjs`),require(`./protocol.constants.cjs`),require(`./fees.constants.cjs`),require(`./server.constants.cjs`),require(`./coingecko.constants.cjs`),require(`./auth.constants.cjs`),require(`./
|
|
1
|
+
require(`./deploy-data/deploy-data-arbMainnet.json.cjs`),require(`./deploy-data/deploy-data-ethMainnet.json.cjs`),require(`./deploy-data/deploy-data-optimism.json.cjs`),require(`./deploy-data/deploy-data-optimismTest.json.cjs`),require(`./deploy-data/deploy-data-polygon.json.cjs`),require(`./deploy-data/deploy-data-base.json.cjs`),require(`./deploy-data/deploy-data-localhost.json.cjs`),require(`./deploy-data/deploy-data-arcTestnet.json.cjs`),require(`./deploy-data/deploy-data-sepoliaTestnet.json.cjs`),require(`./deploy-data/deploy-data-solana.json.cjs`),require(`./deploy-data/deploy-data-tronNile.json.cjs`),require(`./deploy-data/deploy-data-tronMainnet.json.cjs`),require(`./deploy-data/deploy-data-tempo.json.cjs`),require(`./vite.constants.cjs`),require(`./chains.constants.cjs`),require(`./protocol.constants.cjs`),require(`./fees.constants.cjs`),require(`./server.constants.cjs`),require(`./coingecko.constants.cjs`),require(`./auth.constants.cjs`),require(`./token-data/ERC20Registry.cjs`),require(`./token-data/popularNonRebasingTokens.cjs`),require(`./token-data/index.cjs`),require(`./contracts.constants.cjs`),require(`./backend.constants.cjs`),require(`./rewards.constants.cjs`),require(`./reorg-depths.constants.cjs`),require(`./mediaUrls.constants.cjs`),require(`./permit2.constants.cjs`),require(`./addresses.constants.cjs`),require(`./conversion.constants.cjs`),require(`./tokens.constants.cjs`),require(`./token.limits.constants.cjs`),require(`./balance.constants.cjs`),require(`./bridging.constants.cjs`),require(`./wallet.constants.cjs`),require(`./presale.constants.cjs`),require(`./lifi.constants.cjs`),require(`./oauthUrls.constants.cjs`),require(`./activity.constants.cjs`),require(`./tasks.constants.cjs`),require(`./events.constants.cjs`),require(`./function-signatures.constants.cjs`),require(`./okx.constants.cjs`),require(`./link.constant.cjs`),require(`./tx-confirmation.constants.cjs`),require(`./schedule.constants.cjs`),require(`./images.constants.cjs`),require(`./pay.constants.cjs`),require(`./price-impact.constants.cjs`);
|
package/constants/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
export * from './assets.constants';
|
|
2
1
|
export * from './token-data';
|
|
3
2
|
export * from './deploy-data';
|
|
4
3
|
export * from './chains.constants';
|
|
5
4
|
export * from './fees.constants';
|
|
6
5
|
export * from './contracts.constants';
|
|
7
|
-
export * from './kyc.constants';
|
|
8
6
|
export * from './server.constants';
|
|
9
7
|
export * from './vite.constants';
|
|
10
8
|
export * from './protocol.constants';
|
package/constants/index.mjs
CHANGED
|
@@ -18,12 +18,10 @@ import "./fees.constants.mjs";
|
|
|
18
18
|
import "./server.constants.mjs";
|
|
19
19
|
import "./coingecko.constants.mjs";
|
|
20
20
|
import "./auth.constants.mjs";
|
|
21
|
-
import "./assets.constants.mjs";
|
|
22
21
|
import "./token-data/ERC20Registry.mjs";
|
|
23
22
|
import "./token-data/popularNonRebasingTokens.mjs";
|
|
24
23
|
import "./token-data/index.mjs";
|
|
25
24
|
import "./contracts.constants.mjs";
|
|
26
|
-
import "./kyc.constants.mjs";
|
|
27
25
|
import "./backend.constants.mjs";
|
|
28
26
|
import "./rewards.constants.mjs";
|
|
29
27
|
import "./reorg-depths.constants.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={GITHUB:`https://github.com/Novelty-Today/privacy-first-mixer`,TWITTER:`https://x.com/hinkal_protocol/`,TELEGRAM:`https://t.me/hinkal_protocol/`,DOCS:`/Whitepaper.pdf`,AUDIT:`/Hinkal_final_Secure3_Audit_Report.pdf`,
|
|
1
|
+
var e={GITHUB:`https://github.com/Novelty-Today/privacy-first-mixer`,TWITTER:`https://x.com/hinkal_protocol/`,TELEGRAM:`https://t.me/hinkal_protocol/`,DOCS:`/Whitepaper.pdf`,AUDIT:`/Hinkal_final_Secure3_Audit_Report.pdf`,DEMO:`https://www.loom.com/share/a03b147d930d4efdbb993b6bf72746ca`,POLY_SCAN:`https://polygonscan.com/`,ETH_SCAN:`https://etherscan.io/`,BSC_SCAN:`https://bscscan.com/`,ARB_SCAN:`https://arbiscan.io/`,SNOW_TRACE:`https://snowtrace.io/`,OPTIMISM_SCAN:`https://optimistic.etherscan.io/`,ETHER_SCAN:`https://etherscan.io/`,BASE_SCAN:`https://basescan.org/`,MUMBAI_SCAN:`https://mumbai.polygonscan.com/`,SOL_SCAN:`https://solscan.io/`,OPENSEA_TEST:`https://testnets.opensea.io/`,LINKTREE:`https://linktr.ee/hinkal_protocol`,DISCORD:`https://discord.gg/xYGJTJbZy7`,LINKEDIN:`https://www.linkedin.com/company/hinkal-protocol/`,ARC_TESTNET_EXPLORER:`https://testnet.arcscan.app/`,SEPOLIA_TESTNET_EXPLORER:`https://sepolia.etherscan.io/`,TEMPO_EXPLORER:`https://explore.tempo.xyz/`,TRON_NILE_EXPLORER:`https://nile.tronscan.org/`,TRON_MAINNET_EXPLORER:`https://tronscan.org/`,BLOG_WHITE:`https://x.com/hinkal_protocol/articles`,DEFILAMA_WHITE:`https://defillama.com/protocol/hinkal`,SOCIOGRAM_WHITE:`https://sociogram.org/Hinkal`,HINKAL_DAPP:`https://app.hinkal.pro/`,HINKAL_REWARDS:`https://rewards.hinkal.pro/`,HINKAL_DOCS:`https://hinkal-team.gitbook.io/hinkal-protocol/`,HINKAL_MEDIA_KIT:`https://hinkal.notion.site/Hinkal-Brand-Media-Kit-1bacbfea03a98051af40c8122158fa7a?pvs=73`,LANDING_PAGE_URL:`https://hinkal.io`,HINKAL_SDK:`https://www.npmjs.com/package/@hinkal/common`,LEGACY_ONBOARDING_URL:`https://legacy.onboarding.hinkal.io`,HINKAL_BLOG:`/blog`,HINKAL_PAY:`https://pay.hinkal.io`,PAY_APP_INFO:`/pay-app-info`,WALLET_INFO:`/wallet-info`,SDK_INFO:`/sdk-info`,WHAT_THEY_SAY_ABOUT_US:`https://hinkal.pro/blog/why-industry-leaders-are-choosing-hinkal-for-private-on-chain-finance`,DASHBOARD_APP_URL:`https://prime.hinkal.io/`};exports.mediaUrls=e;
|
|
@@ -5,7 +5,6 @@ var e = {
|
|
|
5
5
|
TELEGRAM: "https://t.me/hinkal_protocol/",
|
|
6
6
|
DOCS: "/Whitepaper.pdf",
|
|
7
7
|
AUDIT: "/Hinkal_final_Secure3_Audit_Report.pdf",
|
|
8
|
-
AIPRISE: "https://aiprise.com/",
|
|
9
8
|
DEMO: "https://www.loom.com/share/a03b147d930d4efdbb993b6bf72746ca",
|
|
10
9
|
POLY_SCAN: "https://polygonscan.com/",
|
|
11
10
|
ETH_SCAN: "https://etherscan.io/",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=[`USDC`],t=`https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program`,n=`https://hinkal-team.gitbook.io/hinkal/users/rewards/points`,r=`https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program`,i=3,a=9,o={10:2,50:1.6,100:1.2},s=7,c
|
|
1
|
+
var e=[`USDC`],t=`https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program`,n=`https://hinkal-team.gitbook.io/hinkal/users/rewards/points`,r=`https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program`,i=3,a=9,o={10:2,50:1.6,100:1.2},s=7,c=`a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs`,l=`Approve Rewards access using Hinkal Protocol.`;exports.CERTIFICATION_DISABLE_WEEK=s,exports.REWARDS_ENCRYPTION_PASSWORD=c,exports.REWARDS_MESSAGE_TO_SIGN=l,exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=e,exports.boostAmounts=o,exports.lpLink=r,exports.lpProgramStartWeek=i,exports.pointsLink=n,exports.raffleProgramStartWeek=a,exports.referralLink=t;
|
|
@@ -10,8 +10,6 @@ export declare const boostAmounts: {
|
|
|
10
10
|
readonly 100: 1.2;
|
|
11
11
|
};
|
|
12
12
|
export declare const CERTIFICATION_DISABLE_WEEK = 7;
|
|
13
|
-
export declare const ACCESS_TOKEN_MINTING_POINTS = 1000;
|
|
14
|
-
export declare const ACCESS_TOKEN_RECLAIM_POINTS = 10000;
|
|
15
13
|
export type PointsProvider = 'Hinkal';
|
|
16
14
|
export declare const REWARDS_ENCRYPTION_PASSWORD = "a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs";
|
|
17
15
|
export declare const REWARDS_MESSAGE_TO_SIGN = "Approve Rewards access using Hinkal Protocol.";
|
|
@@ -3,6 +3,6 @@ var e = ["USDC"], t = "https://hinkal-team.gitbook.io/hinkal/users/rebates/refer
|
|
|
3
3
|
10: 2,
|
|
4
4
|
50: 1.6,
|
|
5
5
|
100: 1.2
|
|
6
|
-
}, s = 7, c =
|
|
6
|
+
}, s = 7, c = "a8F#2xB9!qLmZ7pRt3$VwQ1yUeKj6mHs", l = "Approve Rewards access using Hinkal Protocol.";
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { s as CERTIFICATION_DISABLE_WEEK, c as REWARDS_ENCRYPTION_PASSWORD, l as REWARDS_MESSAGE_TO_SIGN, e as REWARD_RECEIVABLE_TOKEN_SYMBOLS, o as boostAmounts, r as lpLink, i as lpProgramStartWeek, n as pointsLink, a as raffleProgramStartWeek, t as referralLink };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./vite.constants.cjs`),t=require(`../types/new-rewards.type.cjs`);require(`../types/index.cjs`);var n={ROUTES:{
|
|
1
|
+
const e=require(`./vite.constants.cjs`),t=require(`../types/new-rewards.type.cjs`);require(`../types/index.cjs`);var n={ROUTES:{getSnapshots:e=>`/snapshots/${e}`,getMerkleTreeSiblings:`/merkle-tree-siblings`,getSnapshotServerEvents:`/events`,callOdosAPI:`/OdosSwapData`,callOneInchAPI:`/OneInchSwapData`,callLifiAPI:`/LifiBridgeData`,callOkxAPI:`/OkxSwapData`,callNearIntentsQuote:`/near-intents/quote`,callNearIntentsTokens:`/near-intents/tokens`,getOdosPriceForToken:(e,t)=>`/getOdosPriceForToken/${e}/${t}`,monitor:`/monitor`,monitorBatch:`/monitor/batch`,checkRisk:e=>`/check-risk/${e}`,simulateTransaction:`/simulate-transaction`,simulateBatchTx:`/simulate-batch-tx`,simulateVolatileTokenTransfer:`/simulate-volatile-token-transfer`,getTokensInfo:`/get-tokens-info`,getTokenData:e=>`/get-token-data/${e}`,getProxyAccounts:e=>`/get-proxy-accounts/${e}`,updateProxyAccounts:`/update-proxy-accounts`,getTemporaryWalletNonces:(e,t)=>`/temporary-wallets/nonces/${e}/${t}`,addTemporaryWalletNonce:`/temporary-wallets/add-nonce`,removeTemporaryWalletNonce:`/temporary-wallets/remove-nonce`,encodeMoonPayBuyUrl:`/moonpay-buy-url`,getMoonPayQuote:`/moonpay-quote`,privateSendTopUpRecipientInfos:`/private-send-recipient-info/top-up`,privateSendAllocateRecipientInfos:`/private-send-recipient-info/allocate`,privateSendNonceSync:`/private-send-nonce/sync`,privateSendNonceReserve:`/private-send-nonce/reserve`,getDashboardAccount:`/get-dashboard-account`,updateDashboardAccount:`/update-dashboard-account`,deleteDashboardAccount:`/delete-dashboard-account`,updateUserProfile:`/update-user-profile`,addDashboardContact:`/add-dashboard-contact`,deleteDashboardContact:`/delete-dashboard-contact`,updateDashboardContact:`/update-dashboard-contact`,getDashboardContacts:`/get-dashboard-contacts`,sendDashboardInvitationEmail:`/send-dashboard-invitation-email`,removeMember:`/remove-member`,editMember:`/edit-member`,createDashboardPayout:`/create-dashboard-payout`,getDashboardPayouts:`/get-dashboard-payouts`,syncDashboardBalances:`/sync-dashboard-balances`,getDashboardBalances:`/get-dashboard-balances`,changePayoutStatus:`/change-payout-status`,getDashboardTransactions:`/get-dashboard-transactions`,createDashboardTransactions:`/create-dashboard-transactions`,tronSubsidyEligibility:`/tron-subsidy/eligibility`,tronSubsidyRecord:`/tron-subsidy/record`,privateSendRecipientInfoGetAny:`/private-send-recipient-info/get-any`}},r={getGasEstimate:(e,t,n,r)=>`/gas-estimation/${e}/${n}/${t}/${r}`,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`,emitReferralTx:`/emit-referral-tx`,getScheduledTransactions:`/scheduled-transactions`,getScheduledTransactionById:e=>`/scheduled-transactions/${e}`,getScheduledTransactionsNullifierIndexes:`/scheduled-transactions/nullifier-indexes`,updateDepositAndWithdrawStatus:`/update-deposit-and-withdraw-status`,getTokenPriceChartData:`/get-token-price-chart-data`,getTokenPreviousDayPrices:`/get-token-previous-day-prices`,getPrivateTransactionsRatio:e=>`/get-private-transactions-ratio/${e}`,savePrivacyScoreAndGetPrivacyRank:`/save-privacy-score-and-get-privacy-rank`},i=[t.TaskTypes.firstSwap,t.TaskTypes.dailySwap,t.TaskTypes.dailyDappTx,t.TaskTypes.createOrJoinBH,t.TaskTypes.shieldUnshield,t.TaskTypes.moneyComes],a={[t.TaskTypes.discord]:e=>`/verify/discord/${e}`,[t.TaskTypes.telegram]:e=>`/verify/telegram/${e}`,...Object.fromEntries(i.map(e=>[e,e=>`/verify/wallet-task/${e}`]))},o={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`,getRewardsUser:e=>`/get-rewards-user/${e}`,checkUsernameAvailability:e=>`/check-username/${encodeURIComponent(e)}`,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`,sendPrivateSendEmailNotifications:`/private-send-email-notifications`,webflowBlogPosts:`/webflow-blog-posts`,brevoSubscribe:`/brevo-subscribe`,versionChecker:e=>`/version-checker/${e}`},s=`v12`,c=e.isNotProduction?e.deploymentMode:`${e.deploymentMode}v12`,l=`https://wallet-playground.hinkal.io`,u=`https://wallet-staging-v2.hinkal.io`,d=`https://wallet-prodv12.hinkal.io`,f=`http://localhost:7072`,p=`/server`,m=`http://localhost:7073`,h=`/relayer`,g=`http://localhost:7074`,_=`/snapshot-server`,v=`http://localhost:7090`,y=`/data-server`,b=`http://localhost:7075`,x=`/compliance-server`,S=`http://localhost:7077`,C=`https://api-staging.hinkal.io`,w=`https://api.hinkal.io`;exports.API_CONFIG=n,exports.DATA_SERVER_CONFIG=o,exports.DATA_SERVER_URL_ENDPOINT=y,exports.DATA_SERVER_URL_LOCAL=v,exports.ENCLAVE_API_PRODUCTION_URL=w,exports.ENCLAVE_API_STAGING_URL=C,exports.ENCLAVE_API_URL_LOCAL=S,exports.FUND_COMPLIANCE_URL_ENDPOINT=x,exports.FUND_COMPLIANCE_URL_LOCAL=b,exports.PLAYGROUND_URL=l,exports.PRODUCTION_URL=d,exports.RELAYER_CONFIG=r,exports.RELAYER_URL_ENDPOINT=h,exports.RELAYER_URL_LOCAL=m,exports.SERVER_URL_ENDPOINT=p,exports.SERVER_URL_LOCAL=f,exports.SNAPSHOT_SERVER_URL_ENDPOINT=_,exports.SNAPSHOT_SERVER_URL_LOCAL=g,exports.STAGING_URL=u,exports.VERIFICATION_ROUTES=a,exports.WALLET_TASK_VERIFICATION_TYPES=i,exports.backendVersion=s,exports.deploymentModeWithVersion=c;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { TaskTypes } from '../types';
|
|
2
2
|
export declare const API_CONFIG: {
|
|
3
3
|
ROUTES: {
|
|
4
|
-
checkKycStatus: string;
|
|
5
|
-
startReclaimVerification: string;
|
|
6
|
-
startUserVerification: string;
|
|
7
|
-
zkMeAccessToken: string;
|
|
8
4
|
getSnapshots: (chainId: number) => string;
|
|
9
5
|
getMerkleTreeSiblings: string;
|
|
10
6
|
getSnapshotServerEvents: string;
|
|
@@ -3,10 +3,6 @@ import { TaskTypes as n } from "../types/new-rewards.type.mjs";
|
|
|
3
3
|
import "../types/index.mjs";
|
|
4
4
|
//#region libs/shared/common/src/constants/server.constants.ts
|
|
5
5
|
var r = { ROUTES: {
|
|
6
|
-
checkKycStatus: "/check-kyc-status",
|
|
7
|
-
startReclaimVerification: "/start-reclaim-verification",
|
|
8
|
-
startUserVerification: "/start-aiprise-verification",
|
|
9
|
-
zkMeAccessToken: "/zkMeAccessToken",
|
|
10
6
|
getSnapshots: (e) => `/snapshots/${e}`,
|
|
11
7
|
getMerkleTreeSiblings: "/merkle-tree-siblings",
|
|
12
8
|
getSnapshotServerEvents: "/events",
|
|
@@ -77,7 +73,6 @@ var r = { ROUTES: {
|
|
|
77
73
|
savePrivacyScoreAndGetPrivacyRank: "/save-privacy-score-and-get-privacy-rank"
|
|
78
74
|
}, a = [
|
|
79
75
|
n.firstSwap,
|
|
80
|
-
n.reclaim,
|
|
81
76
|
n.dailySwap,
|
|
82
77
|
n.dailyDappTx,
|
|
83
78
|
n.createOrJoinBH,
|