@verified-network/verified-sdk 2.5.5 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,7 +61,7 @@ export declare class VerifiedContract {
61
61
  /** Constructs and call function as userop for biconomy gassless(sponsored/erc20 mode) */
62
62
  callFunctionAsUserOp(smartAccount: any, tx: any, functionName: string, paymentToken: string, ...args: any): Promise<SCResponse>;
63
63
  /** Constructs and call function using MEE client that allows gas payment in ERC20 tokens */
64
- callFunctionWithMEEClient(nexusAccount: any, chainId: number, rpc: string, tx: any, functionName: string, paymentToken: `0x${string}`, isSponsor?: boolean, _apiKey?: string, ...args: any): Promise<SCResponse>;
64
+ callFunctionWithMEEClient(nexusAccount: any, chainId: number, rpc: string, tx: any, functionName: string, paymentToken: `0x${string}`, isSponsor?: boolean, signerPk?: string, _apiKey?: string, ...args: any): Promise<SCResponse>;
65
65
  callContract(functionName: string, ...args: any): Promise<SCResponse>;
66
66
  getQuote(paymentTokenAddress: string, functionName: string, args: any[], rpc?: string, _apiKey?: string, isReactNative?: boolean): Promise<{
67
67
  tokenAddress: string;
@@ -195,12 +195,14 @@ class VerifiedContract {
195
195
  }
196
196
  /** Checks if a contract support gasless transaction */
197
197
  supportsGasless(chainId) {
198
- let isSupported = false;
199
- if (constants_1.PaymasterConstants[`${chainId}`] &&
200
- constants_1.PaymasterConstants[`${chainId}`]["PAYMASTER_API_KEY"] &&
201
- constants_1.PaymasterConstants[`${chainId}`]["BUNDLER_API_KEY"])
202
- isSupported = true;
203
- return isSupported;
198
+ // let isSupported = false;
199
+ // if (
200
+ // PaymasterConstants[`${chainId}`] &&
201
+ // PaymasterConstants[`${chainId}`]["PAYMASTER_API_KEY"] &&
202
+ // PaymasterConstants[`${chainId}`]["BUNDLER_API_KEY"]
203
+ // )
204
+ // isSupported = true;
205
+ return true;
204
206
  }
205
207
  /** Creates Biconomy smart account */
206
208
  async createSmartAccount(chainId) {
@@ -379,8 +381,8 @@ class VerifiedContract {
379
381
  }
380
382
  }
381
383
  /** Constructs and call function using MEE client that allows gas payment in ERC20 tokens */
382
- async callFunctionWithMEEClient(nexusAccount, chainId, rpc, tx, functionName, paymentToken, isSponsor, _apiKey, ...args) {
383
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
384
+ async callFunctionWithMEEClient(nexusAccount, chainId, rpc, tx, functionName, paymentToken, isSponsor, signerPk, _apiKey, ...args) {
385
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
384
386
  let res = {};
385
387
  let txHash = "";
386
388
  let recp;
@@ -442,27 +444,23 @@ class VerifiedContract {
442
444
  const sponsorUrl = constants_1.PaymasterConstants.HOSTED_SPONSOR_URL;
443
445
  let quote, cmpQuote;
444
446
  if (isSponsor) {
445
- quote = await meeClient.getQuote({
446
- instructions: [transactionInstruction],
447
- sponsorship: true,
448
- sponsorshipOptions: {
449
- url: sponsorUrl,
450
- customHeaders: {
451
- "cnt-tx": JSON.stringify(tx),
452
- "cnt-chainid": chainId === null || chainId === void 0 ? void 0 : chainId.toString(),
453
- "cnt-rpc": rpc,
454
- "cnt-isquote": "true",
455
- },
456
- gasTank: {
457
- address: (_c = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _c === void 0 ? void 0 : _c.account,
458
- token: (_d = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _d === void 0 ? void 0 : _d.token,
459
- chainId: (_e = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _e === void 0 ? void 0 : _e.chainId,
460
- },
461
- },
462
- simulation: {
463
- simulate: true,
447
+ const response = await fetch(`${sponsorUrl}/sponsorship/sign/${(_c = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _c === void 0 ? void 0 : _c.chainId}/${(_d = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _d === void 0 ? void 0 : _d.account}`, {
448
+ method: "POST",
449
+ headers: {
450
+ "cnt-tx": JSON.stringify(tx),
451
+ "cnt-chainid": chainId === null || chainId === void 0 ? void 0 : chainId.toString(),
452
+ "cnt-rpc": rpc,
453
+ "cnt-isquote": "true",
454
+ "cnt-pk": signerPk,
464
455
  },
456
+ body: null,
465
457
  });
458
+ if (!response.ok) {
459
+ quote = null;
460
+ }
461
+ else {
462
+ quote = await response.json();
463
+ }
466
464
  }
467
465
  else {
468
466
  cmpQuote = await meeClient.getQuote({
@@ -486,7 +484,7 @@ class VerifiedContract {
486
484
  data: {
487
485
  chainId,
488
486
  calls: [
489
- Object.assign(Object.assign({}, tx), { gasLimit: (_g = quote === null || quote === void 0 ? void 0 : quote.userOps[((_f = quote === null || quote === void 0 ? void 0 : quote.userOps) === null || _f === void 0 ? void 0 : _f.length) - 1]) === null || _g === void 0 ? void 0 : _g.maxGasLimit }),
487
+ Object.assign(Object.assign({}, tx), { gasLimit: (_f = quote === null || quote === void 0 ? void 0 : quote.userOps[((_e = quote === null || quote === void 0 ? void 0 : quote.userOps) === null || _e === void 0 ? void 0 : _e.length) - 1]) === null || _f === void 0 ? void 0 : _f.maxGasLimit }),
490
488
  ],
491
489
  },
492
490
  });
@@ -497,22 +495,23 @@ class VerifiedContract {
497
495
  data: {
498
496
  chainId,
499
497
  calls: [
500
- Object.assign(Object.assign({}, transferTx), { gasLimit: (_j = cmpQuote === null || cmpQuote === void 0 ? void 0 : cmpQuote.userOps[((_h = cmpQuote === null || cmpQuote === void 0 ? void 0 : cmpQuote.userOps) === null || _h === void 0 ? void 0 : _h.length) - 1]) === null || _j === void 0 ? void 0 : _j.maxGasLimit }),
498
+ Object.assign(Object.assign({}, transferTx), { gasLimit: (_h = cmpQuote === null || cmpQuote === void 0 ? void 0 : cmpQuote.userOps[((_g = cmpQuote === null || cmpQuote === void 0 ? void 0 : cmpQuote.userOps) === null || _g === void 0 ? void 0 : _g.length) - 1]) === null || _h === void 0 ? void 0 : _h.maxGasLimit }),
501
499
  ],
502
500
  },
503
501
  });
504
502
  }
505
- // Execute the transaction using passed paymentToken
503
+ // Execute the transaction using passed paymentToken or gasless details
506
504
  let _txHash;
507
505
  if (isSponsor) {
508
506
  let res;
509
- const response = await fetch(`${sponsorUrl}/sponsorship/sign/${(_k = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _k === void 0 ? void 0 : _k.chainId}/${(_l = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _l === void 0 ? void 0 : _l.account}`, {
507
+ const response = await fetch(`${sponsorUrl}/sponsorship/sign/${(_j = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _j === void 0 ? void 0 : _j.chainId}/${(_k = sponsorInfo[isTestnet ? "84532" : "8453"]) === null || _k === void 0 ? void 0 : _k.account}`, {
510
508
  method: "POST",
511
509
  headers: {
512
- "cnt-tx": JSON.stringify(Object.assign(Object.assign({}, tx), { gasLimit: (_o = quote === null || quote === void 0 ? void 0 : quote.userOps[((_m = quote === null || quote === void 0 ? void 0 : quote.userOps) === null || _m === void 0 ? void 0 : _m.length) - 1]) === null || _o === void 0 ? void 0 : _o.maxGasLimit })),
510
+ "cnt-tx": JSON.stringify(Object.assign(Object.assign({}, tx), { gasLimit: (_m = quote === null || quote === void 0 ? void 0 : quote.userOps[((_l = quote === null || quote === void 0 ? void 0 : quote.userOps) === null || _l === void 0 ? void 0 : _l.length) - 1]) === null || _m === void 0 ? void 0 : _m.maxGasLimit })),
513
511
  "cnt-chainid": chainId === null || chainId === void 0 ? void 0 : chainId.toString(),
514
512
  "cnt-rpc": rpc,
515
513
  "cnt-isquote": "false",
514
+ "cnt-pk": signerPk,
516
515
  },
517
516
  body: null,
518
517
  });
@@ -538,9 +537,9 @@ class VerifiedContract {
538
537
  const cmpReceipt = await meeClient.waitForSupertransactionReceipt({
539
538
  hash: cmpHash,
540
539
  });
541
- if (((_p = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts) === null || _p === void 0 ? void 0 : _p.length) > 0) {
540
+ if (((_o = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts) === null || _o === void 0 ? void 0 : _o.length) > 0) {
542
541
  //always pick last receipt????
543
- const txReceipt = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts[((_q = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts) === null || _q === void 0 ? void 0 : _q.length) - 1];
542
+ const txReceipt = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts[((_p = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts) === null || _p === void 0 ? void 0 : _p.length) - 1];
544
543
  if ((txReceipt === null || txReceipt === void 0 ? void 0 : txReceipt.status) === "success") {
545
544
  // console.log(
546
545
  // "Compensation tx successful will move to regular transaction...",
@@ -569,7 +568,7 @@ class VerifiedContract {
569
568
  console.error("MEE client transaction failed with error: ", "Invalid receipts length");
570
569
  res.status = STATUS.ERROR;
571
570
  res.response = {
572
- hash: (_r = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts[0]) === null || _r === void 0 ? void 0 : _r.transactionHash,
571
+ hash: (_q = cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts[0]) === null || _q === void 0 ? void 0 : _q.transactionHash,
573
572
  result: cmpReceipt === null || cmpReceipt === void 0 ? void 0 : cmpReceipt.receipts[0],
574
573
  }; //TODO: update result on response
575
574
  res.message = "";
@@ -584,9 +583,9 @@ class VerifiedContract {
584
583
  });
585
584
  // console.log("receipts: ", receipt);
586
585
  // console.log("receiptsss...: ", receipt?.receipts);
587
- if (((_s = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _s === void 0 ? void 0 : _s.length) > 0) {
586
+ if (((_r = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _r === void 0 ? void 0 : _r.length) > 0) {
588
587
  //always pick last receipt????
589
- const txReceipt = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[((_t = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _t === void 0 ? void 0 : _t.length) - 1];
588
+ const txReceipt = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[((_s = receipt === null || receipt === void 0 ? void 0 : receipt.receipts) === null || _s === void 0 ? void 0 : _s.length) - 1];
590
589
  if ((txReceipt === null || txReceipt === void 0 ? void 0 : txReceipt.status) === "success") {
591
590
  res.status = STATUS.SUCCESS;
592
591
  res.response = {
@@ -620,7 +619,7 @@ class VerifiedContract {
620
619
  else {
621
620
  res.status = STATUS.ERROR;
622
621
  res.response = {
623
- hash: (_u = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[0]) === null || _u === void 0 ? void 0 : _u.transactionHash,
622
+ hash: (_t = receipt === null || receipt === void 0 ? void 0 : receipt.receipts[0]) === null || _t === void 0 ? void 0 : _t.transactionHash,
624
623
  result: receipt === null || receipt === void 0 ? void 0 : receipt.receipts[0],
625
624
  }; //TODO: update result on response
626
625
  res.message = "";
@@ -646,7 +645,7 @@ class VerifiedContract {
646
645
  }
647
646
  }
648
647
  async callContract(functionName, ...args) {
649
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
648
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
650
649
  // Check if the function is a read function
651
650
  if (this.isReadFunction(functionName)) {
652
651
  console.log("read function will use ethers");
@@ -697,44 +696,52 @@ class VerifiedContract {
697
696
  const prov = this.signer.provider;
698
697
  const rpcUrl = (_c = prov === null || prov === void 0 ? void 0 : prov.connection) === null || _c === void 0 ? void 0 : _c.url;
699
698
  let nexusAccount;
700
- if ((_d = optionsRaw[0]) === null || _d === void 0 ? void 0 : _d.isReactNative) {
701
- nexusAccount = await (0, biconomyRNFix_1.createMultiChainNexusAccount)({
702
- chains: [chainToUse],
703
- transports: [
704
- (0, viem_1.http)(rpcUrl ||
705
- ((_e = optionsRaw[0]) === null || _e === void 0 ? void 0 : _e.rpcUrl) ||
706
- ((_f = constants_1.PaymasterConstants[Number(chainId)]) === null || _f === void 0 ? void 0 : _f.RPC_URL)),
707
- ],
708
- signer: _signer,
709
- });
699
+ try {
700
+ if ((_d = optionsRaw[0]) === null || _d === void 0 ? void 0 : _d.isReactNative) {
701
+ nexusAccount = await (0, biconomyRNFix_1.createMultiChainNexusAccount)({
702
+ chains: [chainToUse],
703
+ transports: [
704
+ (0, viem_1.http)(rpcUrl ||
705
+ ((_e = optionsRaw[0]) === null || _e === void 0 ? void 0 : _e.rpcUrl) ||
706
+ ((_f = constants_1.PaymasterConstants[Number(chainId)]) === null || _f === void 0 ? void 0 : _f.RPC_URL)),
707
+ ],
708
+ signer: _signer,
709
+ });
710
+ }
711
+ else {
712
+ nexusAccount = await (0, abstractjs_1.toMultichainNexusAccount)({
713
+ signer: _signer,
714
+ chainConfigurations: [
715
+ {
716
+ chain: chainToUse,
717
+ transport: (0, viem_1.http)(rpcUrl ||
718
+ ((_g = optionsRaw[0]) === null || _g === void 0 ? void 0 : _g.rpcUrl) ||
719
+ ((_h = constants_1.PaymasterConstants[Number(chainId)]) === null || _h === void 0 ? void 0 : _h.RPC_URL)),
720
+ version: (0, abstractjs_1.getMEEVersion)(abstractjs_1.MEEVersion.V2_0_0),
721
+ },
722
+ ],
723
+ });
724
+ }
725
+ // const meeAddress = nexusAccount.addressOn(chainId);
710
726
  }
711
- else {
712
- nexusAccount = await (0, abstractjs_1.toMultichainNexusAccount)({
713
- signer: _signer,
714
- chainConfigurations: [
715
- {
716
- chain: chainToUse,
717
- transport: (0, viem_1.http)(rpcUrl ||
718
- ((_g = optionsRaw[0]) === null || _g === void 0 ? void 0 : _g.rpcUrl) ||
719
- ((_h = constants_1.PaymasterConstants[Number(chainId)]) === null || _h === void 0 ? void 0 : _h.RPC_URL)),
720
- version: (0, abstractjs_1.getMEEVersion)(abstractjs_1.MEEVersion.V2_0_0),
721
- },
722
- ],
723
- });
727
+ catch (err) {
728
+ console.log("Gas sponsorship failed will use ethers...");
729
+ return await this.callFunctionWithEthers(functionName, ...args);
724
730
  }
725
- // const meeAddress = nexusAccount.addressOn(chainId);
726
731
  if ((_j = optionsRaw[0]) === null || _j === void 0 ? void 0 : _j.paymentToken) {
727
732
  console.log("Using Mee erc20 payment with paymentToken of: ", (_k = optionsRaw[0]) === null || _k === void 0 ? void 0 : _k.paymentToken);
728
733
  // console.log("nexus account address: ", meeAddress);
729
734
  return await this.callFunctionWithMEEClient(nexusAccount, chainId, rpcUrl ||
730
735
  ((_l = optionsRaw[0]) === null || _l === void 0 ? void 0 : _l.rpcUrl) ||
731
- ((_m = constants_1.PaymasterConstants[Number(chainId)]) === null || _m === void 0 ? void 0 : _m.RPC_URL), tx1, functionName, (_o = optionsRaw[0]) === null || _o === void 0 ? void 0 : _o.paymentToken, false, (_p = optionsRaw[0]) === null || _p === void 0 ? void 0 : _p.apiKey, ...args);
736
+ ((_m = constants_1.PaymasterConstants[Number(chainId)]) === null || _m === void 0 ? void 0 : _m.RPC_URL), tx1, functionName, (_o = optionsRaw[0]) === null || _o === void 0 ? void 0 : _o.paymentToken, false, undefined, (_p = optionsRaw[0]) === null || _p === void 0 ? void 0 : _p.apiKey, ...args);
732
737
  }
733
738
  else {
734
739
  console.log("Using mee gas sponsorship since no payment token...");
740
+ const signerAny = this.signer;
741
+ const signerPk = (_q = signerAny === null || signerAny === void 0 ? void 0 : signerAny._signingKey()) === null || _q === void 0 ? void 0 : _q.privateKey;
735
742
  return await this.callFunctionWithMEEClient(nexusAccount, chainId, rpcUrl ||
736
- ((_q = optionsRaw[0]) === null || _q === void 0 ? void 0 : _q.rpcUrl) ||
737
- ((_r = constants_1.PaymasterConstants[Number(chainId)]) === null || _r === void 0 ? void 0 : _r.RPC_URL), tx1, functionName, (_s = optionsRaw[0]) === null || _s === void 0 ? void 0 : _s.paymentToken, true, (_t = optionsRaw[0]) === null || _t === void 0 ? void 0 : _t.apiKey, ...args);
743
+ ((_r = optionsRaw[0]) === null || _r === void 0 ? void 0 : _r.rpcUrl) ||
744
+ ((_s = constants_1.PaymasterConstants[Number(chainId)]) === null || _s === void 0 ? void 0 : _s.RPC_URL), tx1, functionName, (_t = optionsRaw[0]) === null || _t === void 0 ? void 0 : _t.paymentToken, true, signerPk, (_u = optionsRaw[0]) === null || _u === void 0 ? void 0 : _u.apiKey, ...args);
738
745
  }
739
746
  }
740
747
  else {
@@ -310,37 +310,37 @@ const contractAddress = {
310
310
  },
311
311
  },
312
312
  11155111: {
313
- Client: "0xB72629Bb4d031F1C755AFfA123AAA28E81EfdA9A",
314
- Factory: "0xf4E7c068125F7937FCA1B1ed37ddd69Fc8Be40d2",
315
- Cash: "0x37De0Ffd0B20a73adD5Af2B50831f417F72E6fDa",
316
- Bond: "0x4034B2ea78e22FeE515D21d96E4a15B2a6a2cE2f",
317
- Token: "0xc35FF978c34825902537806b0a713e2E15B99408",
318
- Oracle: "0x1Dfc61E8cf73f19bd485A91eeFA1A656Bc3D8b6f",
319
- Rates: "0xD281789d42B9A8D463F2b999311e0C7C6816741B",
320
- Security: "0xa1c552a33FB9e391d0F50A6407385c55cd22d596",
321
- SecuritiesFactory: "0x7CaB6AA90fD672F6ddBd0B92c0a5428b53ebA414",
322
- Vitta: "0x87145164371Ad7851AD3B4D47C9820F95983d8EA",
323
- Liquidity: "0x27006b68b3594EF5Ae04C5457c24F0c7CF1E5553",
324
- Distribution: "0x5c3171AFEC854f8B6FD138ee9533629ABd8A5365",
313
+ Client: "0x7e987073A33A250c3B1a6263A86Ee4299eeB2BF3",
314
+ Factory: "0xF0e3fE5aF239Ab4a735E8ABd83eC802993CAd4e8",
315
+ Cash: "0x40f91BA8F7EEC08f089fDEFBbFb717aC98D7a118",
316
+ Bond: "0x12Bbe40617186a8e88744E1e2f91fAB83b9E95BA",
317
+ Token: "0x97C1Ba83d10B8A23e189af43b95Eb2cb121c3C7F",
318
+ Oracle: "0xB9c08446C580AeBd13Ea2B1366F09BEE5Da8863B",
319
+ Rates: "0x1d54a5caA5a50c82Bd196AcD54a8DaE28575d472",
320
+ Security: "0x9abBb65c40641733cEB17dcB669ceCf158998A08",
321
+ SecuritiesFactory: "0x6Dd8d8391ac5776f788C2CADbCFc8D00Fb7043e7",
322
+ Vitta: "0x12Ebb715D76541A987A090b171f13EA456470828",
323
+ Liquidity: "0xEa37817Ef280dbbB736751C343BF2f9b74c7F324",
324
+ Distribution: "0x1eB479128697c225A1dA3213CdE7eD3f047C1dc7",
325
325
  PrimaryIssuePoolFactory: "0xDA13BC71FEe08FfD523f10458B0e2c2D8427BBD5",
326
- BalancerPrimaryIssueManager: "0x56B802f315e97c2BDDb0dA5F13EE8e11cBa3846B",
326
+ BalancerPrimaryIssueManager: "0x261Dd2cf0DF7272A484909368472208d79D99979",
327
327
  SecondaryIssuePoolFactory: "0x4519148Cc4030c2e3573f1f886ed4071Fa35d62B",
328
- BalancerSecondaryIssueManager: "0xE3e3e9b8c0c292eD3756C7A1037322738de6B7FC",
328
+ BalancerSecondaryIssueManager: "0x4312CFF98CA2712C34da5B43551451956a656EFC",
329
329
  MarginTradingPoolFactory: "0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c",
330
- BalancerMarginIssueManager: "0xcC52ce78a8fF2198FBD37D85D1686E7C80604cd3",
331
- Custody: "0x3B3AD30e32fFef3dD598dd3EfDf6DCC392897786",
330
+ BalancerMarginIssueManager: "0x4414bDab6F19FF87DBdeaBDB721cfb078b3D002f",
331
+ Custody: "0x594DC49A7C2B4b0f279247239cb6F1d943a99e7F",
332
332
  Compound: "0x7FEC71327A33d59F293f4Db6dcDc4E6De2d407d6",
333
333
  CASH: {
334
- VCUSD: "0x2DDddbE71Ad0ffa4c62B2aEE408c5c4bDdD10A58",
335
- VCEUR: "0x16CBaa075beC8bEe8d4427A0E0077cE9C7c7018F",
336
- VCCHF: "0xcd39d935Bab9C0EF0667c290427F5BdC6181F3ec",
337
- VCINR: "0xf9139959C6b543E10ce26340CCf5845c73d83117",
334
+ VCUSD: "0xde35B711b397495795373F8918f3e268265Ba6e8",
335
+ VCEUR: "0xd7b20aC98A3151A192D811a3496D6D0C7b24DFA7",
336
+ VCCHF: "0x52e06081DbbeC905f056E690bB147307c49E2A3E",
337
+ VCINR: "0x38a2aa0A2dF7D5f77471279a91DB47cc5F47F975",
338
338
  },
339
339
  BOND: {
340
- VBUSD: "0xDEdB5B413a14e24Dc484221F8858f7a5b76294D0",
341
- VBEUR: "0x08c06611197E7f8162eDE48647eA8Cc913667556",
342
- VBCHF: "0x69036Bd8d4f7ff96A7Fe2098c6f12bf005eCba47",
343
- VBINR: "0x9381d9fba4ac1115e25E924D9bFa7c51179dea25",
340
+ VBUSD: "0x70F5aD429B35A3350e1ed28c9B2249Fa51BFB76B",
341
+ VBEUR: "0x040626779a139c0620629FC9bfbf715C33FCbBFE",
342
+ VBCHF: "0x0e9e61A7524c413386D061FA4B8cE83cfEF89526",
343
+ VBINR: "0x8Dde159290a754E51b5B298AD0E6Cb52d3BF25D0",
344
344
  },
345
345
  },
346
346
  balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymasterConstants = void 0;
4
4
  //Todo: add more network paymaster details for gasless
5
5
  exports.PaymasterConstants = {
6
- MEE_API_KEY: "mee_G5SSkmZYg9kiGksxJwFT9x",
6
+ MEE_API_KEY: "mee_G5SSkmZYg9kiGksxJwFT9x", //Non sponsored key from dashboard
7
7
  MEE_API_KEY_STAGING: "mee_3Zmc7H6Pbd5wUfUGu27aGzdf", //Biconomy sponsorship enabled staging api key???
8
8
  MEE_URL_STAGING: "https://staging-network.biconomy.io/v1",
9
9
  TEST_CHAINS: [11155111, 84532, 421614],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",