@hinkal/common 0.1.51 → 0.1.53
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 +2 -1
- package/API/API.mjs +17 -16
- package/API/kycCalls.cjs +1 -1
- package/API/kycCalls.d.ts +5 -0
- package/API/kycCalls.mjs +27 -19
- package/constants/axelar.constants.cjs +1 -1
- package/constants/axelar.constants.mjs +27 -28
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.mjs +49 -49
- package/constants/kyc.constants.cjs +1 -1
- package/constants/kyc.constants.d.ts +8 -1
- package/constants/kyc.constants.mjs +104 -28
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +1 -0
- package/constants/server.constants.mjs +3 -2
- package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
- package/data-structures/Hinkal/resetMerkleTrees.mjs +9 -10
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +38 -42
- package/data-structures/event-service/AbstractEventService.cjs +1 -1
- package/data-structures/event-service/AbstractEventService.d.ts +0 -1
- package/data-structures/event-service/AbstractEventService.mjs +8 -9
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.d.ts +1 -1
- package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +7 -7
- package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.mjs +18 -19
- package/index.cjs +1 -1
- package/index.mjs +545 -542
- package/package.json +1 -2
- package/types/IMultiThreadedUtxoUtils.d.ts +1 -1
- package/types/kyc.types.cjs +1 -1
- package/types/kyc.types.d.ts +8 -1
- package/types/kyc.types.mjs +8 -8
package/API/API.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./referralProgramCalls.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./referralProgramCalls.cjs"),r=require("./rewardsPointsCalls.cjs"),s=require("./userVerifyTransactions.cjs"),n=require("./relayCalls.cjs"),o=require("./passwordCalls.cjs"),a=require("./getTokenPrice.cjs"),t=require("./kycCalls.cjs"),c=require("./callOdosAPI.cjs"),g=require("./dataServerCalls.cjs"),i=require("./HinkalPointsCalls.cjs"),d={getUserKycStatus:t.getUserKycStatus,setAiPriseVerificationUrl:t.setAiPriseVerificationUrl,getAccessTokenSignature:t.getAccessTokenSignature,getReclaimVerificationRequest:t.getReclaimVerificationRequest,getZkMeAccessToken:t.getZkMeAccessToken,userHasAccessToken:t.userHasAccessToken,afterKycCall:t.afterKycCall,getTokenPrice:a.getTokenPrice,getTokenPriceEth:a.getTokenPriceEth,getTokenPrices:a.getTokenPrices,getOdosPriceForToken:c.getOdosPriceForToken,getActiveCode:e.getActiveCode,updateActiveCode:e.updateActiveCode,getWeeklyReferralCodes:e.getWeeklyReferralCodes,getReferralCodes:e.getReferralCodes,addReferralCode:e.addReferralCode,getLpProgram:e.getLpProgram,addNickname:r.addNickname,getNickname:r.getNickname,verificationStartDate:s.verificationStartDate,userGetTransactions:s.userGetTransactions,userVerifyTransactions:s.userVerifyTransactions,points:r.points,leaderboard:r.leaderboard,seasonLeaderboard:r.seasonLeaderboard,getIdleRelay:n.getIdleRelay,userHasPassword:o.userHasPassword,userRegisterPassword:o.userRegisterPassword,getRewardsHistory:e.getRewardsHistory,setRewardsReceivingData:e.setRewardsReceivingData,getRewardsReceivingData:e.getRewardsReceivingData,getUserPoints:g.getUserPoints,getLimitedAnonymityStakingPoints:i.getLimitedAnonymityStakingPoints,getUserAnonymityStakingPoints:i.getUserAnonymityStakingPoints,getUserAnonymityStakingReferralPoints:i.getUserAnonymityStakingReferralPoints};exports.API=d;
|
package/API/API.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { userGetTransactions, userVerifyTransactions, verificationStartDate } fr
|
|
|
4
4
|
import { getIdleRelay } from './relayCalls';
|
|
5
5
|
import { userHasPassword, userRegisterPassword } from './passwordCalls';
|
|
6
6
|
import { getTokenPrice, getTokenPriceEth, getTokenPrices } from './getTokenPrice';
|
|
7
|
-
import { afterKycCall, getAccessTokenSignature, getUserKycStatus, getZkMeAccessToken, setAiPriseVerificationUrl, userHasAccessToken } from './kycCalls';
|
|
7
|
+
import { afterKycCall, getAccessTokenSignature, getReclaimVerificationRequest, getUserKycStatus, getZkMeAccessToken, setAiPriseVerificationUrl, userHasAccessToken } from './kycCalls';
|
|
8
8
|
import { getOdosPriceForToken } from './callOdosAPI';
|
|
9
9
|
import { getUserPoints } from './dataServerCalls';
|
|
10
10
|
import { getLimitedAnonymityStakingPoints, getUserAnonymityStakingPoints, getUserAnonymityStakingReferralPoints } from './HinkalPointsCalls';
|
|
@@ -12,6 +12,7 @@ export type IAPI = {
|
|
|
12
12
|
getUserKycStatus: typeof getUserKycStatus;
|
|
13
13
|
setAiPriseVerificationUrl: typeof setAiPriseVerificationUrl;
|
|
14
14
|
getAccessTokenSignature: typeof getAccessTokenSignature;
|
|
15
|
+
getReclaimVerificationRequest: typeof getReclaimVerificationRequest;
|
|
15
16
|
getZkMeAccessToken: typeof getZkMeAccessToken;
|
|
16
17
|
getTokenPrice: typeof getTokenPrice;
|
|
17
18
|
getTokenPriceEth: typeof getTokenPriceEth;
|
package/API/API.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getActiveCode as e, updateActiveCode as
|
|
1
|
+
import { getActiveCode as e, updateActiveCode as t, getWeeklyReferralCodes as r, getReferralCodes as o, addReferralCode as i, getLpProgram as s, getRewardsHistory as a, setRewardsReceivingData as n, getRewardsReceivingData as g } from "./referralProgramCalls.mjs";
|
|
2
2
|
import { addNickname as m, getNickname as c, points as d, leaderboard as f, seasonLeaderboard as k } from "./rewardsPointsCalls.mjs";
|
|
3
|
-
import { verificationStartDate as p, userGetTransactions as P, userVerifyTransactions as
|
|
3
|
+
import { verificationStartDate as p, userGetTransactions as P, userVerifyTransactions as R } from "./userVerifyTransactions.mjs";
|
|
4
4
|
import { getIdleRelay as l } from "./relayCalls.mjs";
|
|
5
|
-
import { userHasPassword as
|
|
6
|
-
import { getTokenPrice as
|
|
7
|
-
import { getUserKycStatus as S, setAiPriseVerificationUrl as v, getAccessTokenSignature as w,
|
|
8
|
-
import { getOdosPriceForToken as
|
|
5
|
+
import { userHasPassword as y, userRegisterPassword as A } from "./passwordCalls.mjs";
|
|
6
|
+
import { getTokenPrice as u, getTokenPriceEth as T, getTokenPrices as C } from "./getTokenPrice.mjs";
|
|
7
|
+
import { getUserKycStatus as S, setAiPriseVerificationUrl as v, getAccessTokenSignature as w, getReclaimVerificationRequest as U, getZkMeAccessToken as D, userHasAccessToken as H, afterKycCall as L } from "./kycCalls.mjs";
|
|
8
|
+
import { getOdosPriceForToken as V } from "./callOdosAPI.mjs";
|
|
9
9
|
import { getUserPoints as b } from "./dataServerCalls.mjs";
|
|
10
10
|
import { getLimitedAnonymityStakingPoints as I, getUserAnonymityStakingPoints as K, getUserAnonymityStakingReferralPoints as N } from "./HinkalPointsCalls.mjs";
|
|
11
11
|
const j = {
|
|
@@ -13,18 +13,19 @@ const j = {
|
|
|
13
13
|
getUserKycStatus: S,
|
|
14
14
|
setAiPriseVerificationUrl: v,
|
|
15
15
|
getAccessTokenSignature: w,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
getReclaimVerificationRequest: U,
|
|
17
|
+
getZkMeAccessToken: D,
|
|
18
|
+
userHasAccessToken: H,
|
|
19
|
+
afterKycCall: L,
|
|
19
20
|
// Prices
|
|
20
|
-
getTokenPrice:
|
|
21
|
-
getTokenPriceEth:
|
|
21
|
+
getTokenPrice: u,
|
|
22
|
+
getTokenPriceEth: T,
|
|
22
23
|
getTokenPrices: C,
|
|
23
|
-
getOdosPriceForToken:
|
|
24
|
+
getOdosPriceForToken: V,
|
|
24
25
|
// Referral Codes
|
|
25
26
|
getActiveCode: e,
|
|
26
|
-
updateActiveCode:
|
|
27
|
-
getWeeklyReferralCodes:
|
|
27
|
+
updateActiveCode: t,
|
|
28
|
+
getWeeklyReferralCodes: r,
|
|
28
29
|
getReferralCodes: o,
|
|
29
30
|
addReferralCode: i,
|
|
30
31
|
getLpProgram: s,
|
|
@@ -34,14 +35,14 @@ const j = {
|
|
|
34
35
|
// Transaction Verifications
|
|
35
36
|
verificationStartDate: p,
|
|
36
37
|
userGetTransactions: P,
|
|
37
|
-
userVerifyTransactions:
|
|
38
|
+
userVerifyTransactions: R,
|
|
38
39
|
points: d,
|
|
39
40
|
leaderboard: f,
|
|
40
41
|
seasonLeaderboard: k,
|
|
41
42
|
// relay
|
|
42
43
|
getIdleRelay: l,
|
|
43
44
|
// password
|
|
44
|
-
userHasPassword:
|
|
45
|
+
userHasPassword: y,
|
|
45
46
|
userRegisterPassword: A,
|
|
46
47
|
getRewardsHistory: a,
|
|
47
48
|
setRewardsReceivingData: n,
|
package/API/kycCalls.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("axios"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("axios"),a=require("../constants/server.constants.cjs"),c=require("./getServerURL.cjs");async function i(e,t){return(await s.post(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.checkKycStatus}`,{ethereumAddress:t})).data}async function o(e,t,r,n){return(await s.post(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.startUserVerification}`,{ethereumAddress:t,verificationSessionId:r,verificationType:n})).data}async function u(e,t,r){return(await s.post(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.getUserSignature}`,{ethereumAddress:t,accessKey:r})).data}async function g(e,t,r,n){return(await s.post(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.startReclaimVerification}`,{ethereumAddress:r,providerId:t,userSignature:n})).data}const S=async e=>(await s.get(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.zkMeAccessToken}`)).data.accessToken,U=async(e,t)=>(await s.get(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.userHasAccessToken(t)}`)).data,R=async(e,t,r)=>(await s.post(`${c.getServerURL(e)}${a.API_CONFIG.ROUTES.afterKycCall}`,{ethereumAddress:t,hasAccessTokenOnAnyChain:r})).data;exports.afterKycCall=R;exports.getAccessTokenSignature=u;exports.getReclaimVerificationRequest=g;exports.getUserKycStatus=i;exports.getZkMeAccessToken=S;exports.setAiPriseVerificationUrl=o;exports.userHasAccessToken=U;
|
package/API/kycCalls.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ interface AccessTokenSignatureResponse {
|
|
|
10
10
|
signatureData: SignatureData;
|
|
11
11
|
}
|
|
12
12
|
export declare function getAccessTokenSignature(chainId: number, ethereumAddress: string, accessKey: string): Promise<AccessTokenSignatureResponse>;
|
|
13
|
+
interface ReclaimVerificationRequestResponse {
|
|
14
|
+
reclaimProofRequestConfig: string;
|
|
15
|
+
message?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function getReclaimVerificationRequest(chainId: number, providerId: string, ethereumAddress: string, userSignature: string): Promise<ReclaimVerificationRequestResponse>;
|
|
13
18
|
export declare const getZkMeAccessToken: (chainId: number) => Promise<any>;
|
|
14
19
|
export declare const userHasAccessToken: (chainId: number, accessKey: string) => Promise<{
|
|
15
20
|
hasAccessToken: boolean;
|
package/API/kycCalls.mjs
CHANGED
|
@@ -1,32 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { API_CONFIG as
|
|
3
|
-
import { getServerURL as
|
|
4
|
-
async function
|
|
5
|
-
return (await
|
|
1
|
+
import s from "axios";
|
|
2
|
+
import { API_CONFIG as r } from "../constants/server.constants.mjs";
|
|
3
|
+
import { getServerURL as n } from "./getServerURL.mjs";
|
|
4
|
+
async function $(t, e) {
|
|
5
|
+
return (await s.post(`${n(t)}${r.ROUTES.checkKycStatus}`, {
|
|
6
6
|
ethereumAddress: e
|
|
7
7
|
})).data;
|
|
8
8
|
}
|
|
9
|
-
async function
|
|
10
|
-
return (await
|
|
9
|
+
async function f(t, e, a, c) {
|
|
10
|
+
return (await s.post(`${n(t)}${r.ROUTES.startUserVerification}`, {
|
|
11
11
|
ethereumAddress: e,
|
|
12
|
-
verificationSessionId:
|
|
12
|
+
verificationSessionId: a,
|
|
13
13
|
verificationType: c
|
|
14
14
|
})).data;
|
|
15
15
|
}
|
|
16
|
-
async function
|
|
17
|
-
return (await
|
|
16
|
+
async function T(t, e, a) {
|
|
17
|
+
return (await s.post(`${n(t)}${r.ROUTES.getUserSignature}`, { ethereumAddress: e, accessKey: a })).data;
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
`${
|
|
21
|
-
|
|
19
|
+
async function S(t, e, a, c) {
|
|
20
|
+
return (await s.post(`${n(t)}${r.ROUTES.startReclaimVerification}`, {
|
|
21
|
+
ethereumAddress: a,
|
|
22
|
+
providerId: e,
|
|
23
|
+
userSignature: c
|
|
24
|
+
})).data;
|
|
25
|
+
}
|
|
26
|
+
const U = async (t) => (await s.get(`${n(t)}${r.ROUTES.zkMeAccessToken}`)).data.accessToken, p = async (t, e) => (await s.get(
|
|
27
|
+
`${n(t)}${r.ROUTES.userHasAccessToken(e)}`
|
|
28
|
+
)).data, y = async (t, e, a) => (await s.post(`${n(t)}${r.ROUTES.afterKycCall}`, {
|
|
22
29
|
ethereumAddress: e,
|
|
23
|
-
hasAccessTokenOnAnyChain:
|
|
30
|
+
hasAccessTokenOnAnyChain: a
|
|
24
31
|
})).data;
|
|
25
32
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
y as afterKycCall,
|
|
34
|
+
T as getAccessTokenSignature,
|
|
35
|
+
S as getReclaimVerificationRequest,
|
|
36
|
+
$ as getUserKycStatus,
|
|
29
37
|
U as getZkMeAccessToken,
|
|
30
|
-
|
|
31
|
-
|
|
38
|
+
f as setAiPriseVerificationUrl,
|
|
39
|
+
p as userHasAccessToken
|
|
32
40
|
};
|
|
@@ -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"),s=require("./deploy-data/deploy-data-bnbMainnet.json.cjs"),a=require("./deploy-data/deploy-data-arbMainnet.json.cjs"),n=require("./deploy-data/deploy-data-ethMainnet.json.cjs"),c=require("./deploy-data/deploy-data-optimism.json.cjs"),r=require("./deploy-data/deploy-data-polygon.json.cjs"),d=require("./deploy-data/deploy-data-avalanche.json.cjs"),o=require("./deploy-data/deploy-data-base.json.cjs"),i=[{chainId:e.chainIds.ethMainnet,sourceChain:"Ethereum",sourceAddress:n.default.crossChainAccessTokenAddress},{chainId:e.chainIds.arbMainnet,sourceChain:"arbitrum",sourceAddress:a.default.crossChainAccessTokenAddress},{chainId:e.chainIds.polygon,sourceChain:"Polygon",sourceAddress:r.default.crossChainAccessTokenAddress},{chainId:e.chainIds.avalanche,sourceChain:"Avalanche",sourceAddress:d.default.crossChainAccessTokenAddress},{chainId:e.chainIds.bnbMainnet,sourceChain:"binance",sourceAddress:s.default.crossChainAccessTokenAddress},{chainId:e.chainIds.optimism,sourceChain:"optimism",sourceAddress:c.default.crossChainAccessTokenAddress},{chainId:e.chainIds.base,sourceChain:"base",sourceAddress:o.default.crossChainAccessTokenAddress}];exports.AxelarRegistry=i;
|
|
@@ -1,49 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { chainIds as r } from "./chains.constants.mjs";
|
|
1
|
+
import { chainIds as s } from "./chains.constants.mjs";
|
|
3
2
|
import e from "./deploy-data/deploy-data-bnbMainnet.json.mjs";
|
|
4
|
-
import
|
|
3
|
+
import r from "./deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
5
4
|
import a from "./deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
5
|
+
import o from "./deploy-data/deploy-data-optimism.json.mjs";
|
|
6
|
+
import n from "./deploy-data/deploy-data-polygon.json.mjs";
|
|
7
|
+
import c from "./deploy-data/deploy-data-avalanche.json.mjs";
|
|
8
|
+
import i from "./deploy-data/deploy-data-base.json.mjs";
|
|
9
|
+
const b = [
|
|
11
10
|
{
|
|
12
|
-
chainId:
|
|
13
|
-
sourceChain:
|
|
11
|
+
chainId: s.ethMainnet,
|
|
12
|
+
sourceChain: "Ethereum",
|
|
14
13
|
sourceAddress: a.crossChainAccessTokenAddress
|
|
15
14
|
},
|
|
16
15
|
{
|
|
17
|
-
chainId:
|
|
18
|
-
sourceChain:
|
|
19
|
-
sourceAddress:
|
|
16
|
+
chainId: s.arbMainnet,
|
|
17
|
+
sourceChain: "arbitrum",
|
|
18
|
+
sourceAddress: r.crossChainAccessTokenAddress
|
|
20
19
|
},
|
|
21
20
|
{
|
|
22
|
-
chainId:
|
|
23
|
-
sourceChain:
|
|
24
|
-
sourceAddress:
|
|
21
|
+
chainId: s.polygon,
|
|
22
|
+
sourceChain: "Polygon",
|
|
23
|
+
sourceAddress: n.crossChainAccessTokenAddress
|
|
25
24
|
},
|
|
26
25
|
{
|
|
27
|
-
chainId:
|
|
28
|
-
sourceChain:
|
|
29
|
-
sourceAddress:
|
|
26
|
+
chainId: s.avalanche,
|
|
27
|
+
sourceChain: "Avalanche",
|
|
28
|
+
sourceAddress: c.crossChainAccessTokenAddress
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
|
-
chainId:
|
|
33
|
-
sourceChain:
|
|
31
|
+
chainId: s.bnbMainnet,
|
|
32
|
+
sourceChain: "binance",
|
|
34
33
|
sourceAddress: e.crossChainAccessTokenAddress
|
|
35
34
|
},
|
|
36
35
|
{
|
|
37
|
-
chainId:
|
|
38
|
-
sourceChain:
|
|
39
|
-
sourceAddress:
|
|
36
|
+
chainId: s.optimism,
|
|
37
|
+
sourceChain: "optimism",
|
|
38
|
+
sourceAddress: o.crossChainAccessTokenAddress
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
|
-
chainId:
|
|
43
|
-
sourceChain:
|
|
44
|
-
sourceAddress:
|
|
41
|
+
chainId: s.base,
|
|
42
|
+
sourceChain: "base",
|
|
43
|
+
sourceAddress: i.crossChainAccessTokenAddress
|
|
45
44
|
}
|
|
46
45
|
];
|
|
47
46
|
export {
|
|
48
|
-
|
|
47
|
+
b as AxelarRegistry
|
|
49
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./deploy-data/deploy-data-bnbMainnet.json.cjs"),l=require("./deploy-data/deploy-data-arbMainnet.json.cjs"),d=require("./deploy-data/deploy-data-ethMainnet.json.cjs"),h=require("./deploy-data/deploy-data-optimism.json.cjs"),u=require("./deploy-data/deploy-data-polygon.json.cjs"),m=require("./deploy-data/deploy-data-avalanche.json.cjs"),b=require("./deploy-data/deploy-data-base.json.cjs"),F=require("./deploy-data/deploy-data-localhost.json.cjs"),y=require("./deploy-data/deploy-data-axelar1.json.cjs"),g=require("./deploy-data/deploy-data-axelar2.json.cjs"),s=require("./vite.constants.cjs"),e={polygon:137,arbMainnet:42161,ethMainnet:1,avalanche:43114,bnbMainnet:56,optimism:10,base:8453,bnbTestnet:97,polygonMumbai:80001,mainnetSepolia:11155111,optimismSepolia:11155420,axelar1:2500,axelar2:2501,localhost:31337,hardhat:31337},n=e.ethMainnet,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./deploy-data/deploy-data-bnbMainnet.json.cjs"),l=require("./deploy-data/deploy-data-arbMainnet.json.cjs"),d=require("./deploy-data/deploy-data-ethMainnet.json.cjs"),h=require("./deploy-data/deploy-data-optimism.json.cjs"),u=require("./deploy-data/deploy-data-polygon.json.cjs"),m=require("./deploy-data/deploy-data-avalanche.json.cjs"),b=require("./deploy-data/deploy-data-base.json.cjs"),F=require("./deploy-data/deploy-data-localhost.json.cjs"),y=require("./deploy-data/deploy-data-axelar1.json.cjs"),g=require("./deploy-data/deploy-data-axelar2.json.cjs"),s=require("./vite.constants.cjs"),e={polygon:137,arbMainnet:42161,ethMainnet:1,avalanche:43114,bnbMainnet:56,optimism:10,base:8453,bnbTestnet:97,polygonMumbai:80001,mainnetSepolia:11155111,optimismSepolia:11155420,axelar1:2500,axelar2:2501,localhost:31337,hardhat:31337},n=e.ethMainnet,o=t=>!![e.axelar1,e.axelar2,e.localhost].includes(t),k=t=>t?o(t)?n:t:n,a={[e.ethMainnet]:{name:"Ethereum",chainId:e.ethMainnet,rpcUrl:"https://rpc.ankr.com/eth",fetchRpcUrl:"https://eth-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:d.default,quoterV2Address:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",uniswapV3FactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",accessTokenMintingFee:"0",priority:1,privateMempoolRpcUrl:"https://relay.flashbots.net"},[e.arbMainnet]:{name:"Arbitrum",chainId:e.arbMainnet,rpcUrl:"https://endpoints.omniatech.io/v1/arbitrum/one/public",fetchRpcUrl:"https://arb-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:l.default,quoterV2Address:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",uniswapV3FactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",accessTokenMintingFee:"0",priority:2},[e.optimism]:{name:"Optimism",chainId:e.optimism,rpcUrl:"https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903",fetchRpcUrl:"https://opt-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:h.default,quoterV2Address:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",uniswapV3FactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",accessTokenMintingFee:"0",priority:3},[e.polygon]:{name:"Polygon",chainId:e.polygon,rpcUrl:"https://polygon-rpc.com",fetchRpcUrl:"https://polygon-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:u.default,quoterV2Address:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",uniswapV3FactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",accessTokenMintingFee:"0",priority:4},[e.avalanche]:{name:"Avalanche",chainId:e.avalanche,rpcUrl:"https://api.avax.network/ext/bc/C/rpc",fetchRpcUrl:"https://avax-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:m.default,quoterV2Address:"0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",uniswapV3FactoryAddress:"0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",accessTokenMintingFee:"0",priority:5},[e.bnbMainnet]:{name:"BNB Chain",chainId:e.bnbMainnet,rpcUrl:"https://bsc-dataseed.binance.org",fetchRpcUrl:"https://bnb-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:p.default,quoterV2Address:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",uniswapV3FactoryAddress:"0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",accessTokenMintingFee:"0",priority:6},[e.base]:{name:"Base",chainId:e.base,rpcUrl:"https://mainnet.base.org/",fetchRpcUrl:"https://base-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",supported:!0,contractData:b.default,quoterV2Address:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",uniswapV3FactoryAddress:"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",accessTokenMintingFee:"0",priority:7},...s.isDevelopment?{}:{}},A={name:"Localhost",chainId:e.localhost,rpcUrl:"http://localhost:8545",fetchRpcUrl:"http://localhost:8545",supported:!0,contractData:F.default,quoterV2Address:a[n].quoterV2Address,uniswapV3FactoryAddress:a[n].uniswapV3FactoryAddress,accessTokenMintingFee:a[n].accessTokenMintingFee,priority:7},f={name:"axelar1",chainId:e.axelar1,rpcUrl:"http://localhost:8600/0",fetchRpcUrl:"http://localhost:8600/0",supported:!0,contractData:y.default,quoterV2Address:a[n].quoterV2Address,uniswapV3FactoryAddress:a[n].uniswapV3FactoryAddress,accessTokenMintingFee:a[n].accessTokenMintingFee,priority:8},D={name:"axelar2",chainId:e.axelar2,rpcUrl:"http://localhost:8600/1",fetchRpcUrl:"http://localhost:8600/1",supported:!0,contractData:g.default,quoterV2Address:a[n].quoterV2Address,uniswapV3FactoryAddress:a[n].uniswapV3FactoryAddress,accessTokenMintingFee:a[n].accessTokenMintingFee,priority:9};s.isDevelopment&&(a[e.localhost]=A,a[e.axelar1]=f,a[e.axelar2]=D);const U=[e.ethMainnet,e.arbMainnet,e.avalanche,e.bnbMainnet,e.polygon,e.optimism,e.base];var r=(t=>(t.Mainnet="Mainnet",t.Testnet="Testnet",t.Local="Local",t))(r||{});const M={Mainnet:[e.polygon,e.arbMainnet,e.ethMainnet,e.bnbMainnet,e.optimism,e.avalanche,e.base],Testnet:[e.bnbTestnet,e.polygonMumbai],Local:[e.localhost,e.axelar1,e.axelar2]},c=t=>[e.optimism,e.base].includes(t),i=t=>!1,x=t=>c(t)||i();exports.EthereumNetworkType=r;exports.chainIds=e;exports.chainIdsByType=M;exports.crossChainAccessTokenNetworks=U;exports.getNonLocalhostChainId=k;exports.isLocalNetwork=o;exports.isOptimismBedrockLike=i;exports.isOptimismEcotoneLike=c;exports.isOptimismLike=x;exports.localhostNetwork=n;exports.networkRegistry=a;
|
|
@@ -9,7 +9,7 @@ import m from "./deploy-data/deploy-data-localhost.json.mjs";
|
|
|
9
9
|
import h from "./deploy-data/deploy-data-axelar1.json.mjs";
|
|
10
10
|
import b from "./deploy-data/deploy-data-axelar2.json.mjs";
|
|
11
11
|
import { isDevelopment as r } from "./vite.constants.mjs";
|
|
12
|
-
const
|
|
12
|
+
const t = {
|
|
13
13
|
polygon: 137,
|
|
14
14
|
arbMainnet: 42161,
|
|
15
15
|
ethMainnet: 1,
|
|
@@ -25,10 +25,10 @@ const a = {
|
|
|
25
25
|
axelar2: 2501,
|
|
26
26
|
localhost: 31337,
|
|
27
27
|
hardhat: 31337
|
|
28
|
-
}, n =
|
|
29
|
-
[
|
|
28
|
+
}, n = t.ethMainnet, F = (a) => !![t.axelar1, t.axelar2, t.localhost].includes(a), z = (a) => a ? F(a) ? n : a : n, e = {
|
|
29
|
+
[t.ethMainnet]: {
|
|
30
30
|
name: "Ethereum",
|
|
31
|
-
chainId:
|
|
31
|
+
chainId: t.ethMainnet,
|
|
32
32
|
rpcUrl: "https://rpc.ankr.com/eth",
|
|
33
33
|
fetchRpcUrl: "https://eth-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
34
34
|
supported: !0,
|
|
@@ -39,9 +39,9 @@ const a = {
|
|
|
39
39
|
priority: 1,
|
|
40
40
|
privateMempoolRpcUrl: "https://relay.flashbots.net"
|
|
41
41
|
},
|
|
42
|
-
[
|
|
42
|
+
[t.arbMainnet]: {
|
|
43
43
|
name: "Arbitrum",
|
|
44
|
-
chainId:
|
|
44
|
+
chainId: t.arbMainnet,
|
|
45
45
|
rpcUrl: "https://endpoints.omniatech.io/v1/arbitrum/one/public",
|
|
46
46
|
fetchRpcUrl: "https://arb-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
47
47
|
supported: !0,
|
|
@@ -51,9 +51,9 @@ const a = {
|
|
|
51
51
|
accessTokenMintingFee: "0",
|
|
52
52
|
priority: 2
|
|
53
53
|
},
|
|
54
|
-
[
|
|
54
|
+
[t.optimism]: {
|
|
55
55
|
name: "Optimism",
|
|
56
|
-
chainId:
|
|
56
|
+
chainId: t.optimism,
|
|
57
57
|
rpcUrl: "https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903",
|
|
58
58
|
fetchRpcUrl: "https://opt-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
59
59
|
supported: !0,
|
|
@@ -63,9 +63,9 @@ const a = {
|
|
|
63
63
|
accessTokenMintingFee: "0",
|
|
64
64
|
priority: 3
|
|
65
65
|
},
|
|
66
|
-
[
|
|
66
|
+
[t.polygon]: {
|
|
67
67
|
name: "Polygon",
|
|
68
|
-
chainId:
|
|
68
|
+
chainId: t.polygon,
|
|
69
69
|
rpcUrl: "https://polygon-rpc.com",
|
|
70
70
|
fetchRpcUrl: "https://polygon-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
71
71
|
supported: !0,
|
|
@@ -75,9 +75,9 @@ const a = {
|
|
|
75
75
|
accessTokenMintingFee: "0",
|
|
76
76
|
priority: 4
|
|
77
77
|
},
|
|
78
|
-
[
|
|
78
|
+
[t.avalanche]: {
|
|
79
79
|
name: "Avalanche",
|
|
80
|
-
chainId:
|
|
80
|
+
chainId: t.avalanche,
|
|
81
81
|
rpcUrl: "https://api.avax.network/ext/bc/C/rpc",
|
|
82
82
|
fetchRpcUrl: "https://avax-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
83
83
|
supported: !0,
|
|
@@ -87,12 +87,12 @@ const a = {
|
|
|
87
87
|
accessTokenMintingFee: "0",
|
|
88
88
|
priority: 5
|
|
89
89
|
},
|
|
90
|
-
[
|
|
90
|
+
[t.bnbMainnet]: {
|
|
91
91
|
name: "BNB Chain",
|
|
92
|
-
chainId:
|
|
92
|
+
chainId: t.bnbMainnet,
|
|
93
93
|
rpcUrl: "https://bsc-dataseed.binance.org",
|
|
94
|
-
maxPageSize:
|
|
95
|
-
fetchRpcUrl: "https://
|
|
94
|
+
// maxPageSize: 1000,
|
|
95
|
+
fetchRpcUrl: "https://bnb-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
96
96
|
supported: !0,
|
|
97
97
|
contractData: o,
|
|
98
98
|
quoterV2Address: "0x78D78E420Da98ad378D7799bE8f4AF69033EB077",
|
|
@@ -100,9 +100,9 @@ const a = {
|
|
|
100
100
|
accessTokenMintingFee: "0",
|
|
101
101
|
priority: 6
|
|
102
102
|
},
|
|
103
|
-
[
|
|
103
|
+
[t.base]: {
|
|
104
104
|
name: "Base",
|
|
105
|
-
chainId:
|
|
105
|
+
chainId: t.base,
|
|
106
106
|
rpcUrl: "https://mainnet.base.org/",
|
|
107
107
|
// maxPageSize: 1000,
|
|
108
108
|
fetchRpcUrl: "https://base-mainnet.g.alchemy.com/v2/XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9",
|
|
@@ -116,7 +116,7 @@ const a = {
|
|
|
116
116
|
...r ? {} : {}
|
|
117
117
|
}, u = {
|
|
118
118
|
name: "Localhost",
|
|
119
|
-
chainId:
|
|
119
|
+
chainId: t.localhost,
|
|
120
120
|
rpcUrl: "http://localhost:8545",
|
|
121
121
|
fetchRpcUrl: "http://localhost:8545",
|
|
122
122
|
supported: !0,
|
|
@@ -125,9 +125,9 @@ const a = {
|
|
|
125
125
|
uniswapV3FactoryAddress: e[n].uniswapV3FactoryAddress,
|
|
126
126
|
accessTokenMintingFee: e[n].accessTokenMintingFee,
|
|
127
127
|
priority: 7
|
|
128
|
-
},
|
|
128
|
+
}, g = {
|
|
129
129
|
name: "axelar1",
|
|
130
|
-
chainId:
|
|
130
|
+
chainId: t.axelar1,
|
|
131
131
|
rpcUrl: "http://localhost:8600/0",
|
|
132
132
|
fetchRpcUrl: "http://localhost:8600/0",
|
|
133
133
|
supported: !0,
|
|
@@ -136,9 +136,9 @@ const a = {
|
|
|
136
136
|
uniswapV3FactoryAddress: e[n].uniswapV3FactoryAddress,
|
|
137
137
|
accessTokenMintingFee: e[n].accessTokenMintingFee,
|
|
138
138
|
priority: 8
|
|
139
|
-
},
|
|
139
|
+
}, f = {
|
|
140
140
|
name: "axelar2",
|
|
141
|
-
chainId:
|
|
141
|
+
chainId: t.axelar2,
|
|
142
142
|
rpcUrl: "http://localhost:8600/1",
|
|
143
143
|
fetchRpcUrl: "http://localhost:8600/1",
|
|
144
144
|
supported: !0,
|
|
@@ -148,40 +148,40 @@ const a = {
|
|
|
148
148
|
accessTokenMintingFee: e[n].accessTokenMintingFee,
|
|
149
149
|
priority: 9
|
|
150
150
|
};
|
|
151
|
-
r && (e[
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
151
|
+
r && (e[t.localhost] = u, e[t.axelar1] = g, e[t.axelar2] = f);
|
|
152
|
+
const G = [
|
|
153
|
+
t.ethMainnet,
|
|
154
|
+
t.arbMainnet,
|
|
155
|
+
t.avalanche,
|
|
156
|
+
t.bnbMainnet,
|
|
157
|
+
t.polygon,
|
|
158
|
+
t.optimism,
|
|
159
|
+
t.base
|
|
160
160
|
];
|
|
161
|
-
var y = /* @__PURE__ */ ((
|
|
162
|
-
const
|
|
161
|
+
var y = /* @__PURE__ */ ((a) => (a.Mainnet = "Mainnet", a.Testnet = "Testnet", a.Local = "Local", a))(y || {});
|
|
162
|
+
const q = {
|
|
163
163
|
Mainnet: [
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
164
|
+
t.polygon,
|
|
165
|
+
t.arbMainnet,
|
|
166
|
+
t.ethMainnet,
|
|
167
|
+
t.bnbMainnet,
|
|
168
|
+
t.optimism,
|
|
169
|
+
t.avalanche,
|
|
170
|
+
t.base
|
|
171
171
|
],
|
|
172
|
-
Testnet: [
|
|
173
|
-
Local: [
|
|
174
|
-
}, A = (
|
|
172
|
+
Testnet: [t.bnbTestnet, t.polygonMumbai],
|
|
173
|
+
Local: [t.localhost, t.axelar1, t.axelar2]
|
|
174
|
+
}, A = (a) => [t.optimism, t.base].includes(a), D = (a) => !1, C = (a) => A(a) || D();
|
|
175
175
|
export {
|
|
176
176
|
y as EthereumNetworkType,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
t as chainIds,
|
|
178
|
+
q as chainIdsByType,
|
|
179
|
+
G as crossChainAccessTokenNetworks,
|
|
180
|
+
z as getNonLocalhostChainId,
|
|
181
181
|
F as isLocalNetwork,
|
|
182
182
|
D as isOptimismBedrockLike,
|
|
183
183
|
A as isOptimismEcotoneLike,
|
|
184
|
-
|
|
184
|
+
C as isOptimismLike,
|
|
185
185
|
n as localhostNetwork,
|
|
186
186
|
e as networkRegistry
|
|
187
187
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../functions/kyc/zkMeHelper.cjs"),p=require("../functions/kyc/authentoHelper.cjs"),s=require("../types/kyc.types.cjs"),r=require("./chains.constants.cjs"),l="https://onboard.aiprise.com",c="https://onboard-sandbox.aiprise.com",i={[s.Passports.AiPriseKyc]:{id:s.Passports.AiPriseKyc,shortName:"AiPriseKyc",fullName:" AiPrice Kyc",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0},[s.Passports.AiPriseKyb]:{id:s.Passports.AiPriseKyb,shortName:"AiPriseKyb",fullName:" AiPrice Kyb",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0},[s.Passports.BABPassport]:{id:s.Passports.BABPassport,shortName:"Bab",fullName:"Bab Token",apiURL:"BabPassport",onboardURL:"https://www.binance.com/en/BABT",supportedChainIds:[r.chainIds.bnbMainnet]},[s.Passports.GalxePassport]:{id:s.Passports.GalxePassport,shortName:"Galxe",fullName:"Galxe Passport",apiURL:"GalxePassport",onboardURL:"https://galxe.com/passport",supportedChainIds:[r.chainIds.bnbMainnet]},[s.Passports.ZkMePassport]:{id:s.Passports.ZkMePassport,shortName:"zkMe",fullName:"zkMe Passport",apiURL:"ZkMePassport",onboardURL:"https://widget.zk.me/",customHandleKYC:(a,o,t)=>d.zkMeKycHandler(a,o,t,{merchId:"M2023090671844574053042402155408",zkChainId:r.chainIds.polygon}),supportedChainIds:[r.chainIds.polygon]},[s.Passports.CoinbasePassport]:{id:s.Passports.CoinbasePassport,shortName:"coinbase",fullName:"coinbase Passport",apiURL:"coinbasePassport",onboardURL:"https://www.coinbase.com/onchain-verify",supportedChainIds:[],supportsAllChains:!0},[s.Passports.AuthentoPassport]:{id:s.Passports.AuthentoPassport,shortName:"Authento",fullName:"Authento Passport",apiURL:"AuthentoPassport",onboardURL:"https://app.authento.io/",customHandleKYC:(a,o,t)=>p.authentoKycHandler(a,o,t),supportedChainIds:[],supportsAllChains:!0},[s.Passports.AuthentoPassportKyb]:{id:s.Passports.AuthentoPassportKyb,shortName:"Authento",fullName:"Authento Passport",apiURL:"AuthentoPassport",onboardURL:"https://app.authento.io/",customHandleKYC:(a,o,t)=>p.authentoKycHandler(a,o,t),supportedChainIds:[],supportsAllChains:!0}},n={[s.Passports.ReclaimBNBPassport]:{id:s.Passports.ReclaimBNBPassport,shortName:"ReclaimBNB",fullName:" Reclaim BNB",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"9a8127e6-c5c1-4336-bc49-24a0197f6c56"}},[s.Passports.ReclaimOKXPassport]:{id:s.Passports.ReclaimOKXPassport,shortName:"ReclaimOKX",fullName:" Reclaim OKX",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"4f464d13-d3b0-45b9-bed9-db160a1a5426"}},[s.Passports.ReclaimGatePassport]:{id:s.Passports.ReclaimGatePassport,shortName:"ReclaimGate",fullName:" Reclaim Gate",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"a824a912-52ad-4a84-a096-55728518c3d5"}},[s.Passports.ReclaimKucoinPassport]:{id:s.Passports.ReclaimKucoinPassport,shortName:"ReclaimKraken",fullName:" Reclaim Kraken",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"2a7a2124-04bb-4d8c-bb3b-54b0ddd97342"}},[s.Passports.ReclaimMexcPassport]:{id:s.Passports.ReclaimMexcPassport,shortName:"ReclaimMexc",fullName:" Reclaim Mexc",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"b9a7fa32-41f3-4708-bebf-18869b96bf41"}},[s.Passports.ReclaimHtxPassport]:{id:s.Passports.ReclaimHtxPassport,shortName:"ReclaimHtx",fullName:" Reclaim Htx",apiURL:"",onboardURL:"",supportedChainIds:[],supportsAllChains:!0,params:{providerId:"2fc15466-9106-4a80-b6f3-d21a77445c0a"}}},e={...i,...n},P=Object.values(e).filter((a,o)=>a.onboardURL?.length>0&&Object.values(e).indexOf(a)===o).map(a=>a.onboardURL),u="dbda56e5-31f5-4a37-a895-d4adca6c53fd",m="96050d8d-23c9-4908-b285-2e6dec4c020b",h="Approve Integrity Status proof generation using Reclaim Protocol.";exports.AIPRISE_KYB_TEMPLATE_ID_PROD=m;exports.AIPRISE_KYC_TEMPLATE_ID_PROD=u;exports.RECLAIM_MESSAGE_TO_SIGN=h;exports.ReclaimPassports=n;exports.StandardPassports=i;exports.SupportedPassports=e;exports.aipriseBaseOnboardingProductionUrl=l;exports.aipriseBaseOnboardingSandboxUrl=c;exports.supportedPassportLinks=P;
|
|
@@ -13,9 +13,16 @@ export type PassportDetails = {
|
|
|
13
13
|
supportsAllChains?: boolean;
|
|
14
14
|
supportedChainIds: number[];
|
|
15
15
|
};
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const StandardPassports: {
|
|
17
|
+
[passport: number]: PassportDetails;
|
|
18
|
+
};
|
|
19
|
+
export declare const ReclaimPassports: {
|
|
17
20
|
[passport: number]: PassportDetails;
|
|
18
21
|
};
|
|
22
|
+
export declare const SupportedPassports: {
|
|
23
|
+
[x: number]: PassportDetails;
|
|
24
|
+
};
|
|
19
25
|
export declare const supportedPassportLinks: string[];
|
|
20
26
|
export declare const AIPRISE_KYC_TEMPLATE_ID_PROD = "dbda56e5-31f5-4a37-a895-d4adca6c53fd";
|
|
21
27
|
export declare const AIPRISE_KYB_TEMPLATE_ID_PROD = "96050d8d-23c9-4908-b285-2e6dec4c020b";
|
|
28
|
+
export declare const RECLAIM_MESSAGE_TO_SIGN = "Approve Integrity Status proof generation using Reclaim Protocol.";
|