@hyperbridge/sdk 1.6.5 → 1.6.6

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.
@@ -598,12 +598,14 @@ var chainConfigs = {
598
598
  DAI: "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
599
599
  USDC: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
600
600
  USDT: "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2",
601
+ EXT: "0x0e668E5127087e236578893a0e01E41837A28469",
601
602
  cNGN: "0x46C85152bFe9f96829aA94755D9f915F9B10EF5F"
602
603
  },
603
604
  tokenDecimals: {
604
605
  USDC: 6,
605
606
  USDT: 6,
606
- cNGN: 6
607
+ cNGN: 6,
608
+ EXT: 18
607
609
  },
608
610
  tokenStorageSlots: {
609
611
  USDT: { balanceSlot: 0, allowanceSlot: 1 },
@@ -650,11 +652,13 @@ var chainConfigs = {
650
652
  DAI: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
651
653
  USDC: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
652
654
  USDT: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
655
+ EXT: "0x7C8c11ADb8EF7cd3CFa718008Ea048445C6E7209",
653
656
  cNGN: "0x52828daa48C1a9A06F37500882b42daf0bE04C3B"
654
657
  },
655
658
  tokenDecimals: {
656
659
  USDC: 6,
657
660
  USDT: 6,
661
+ EXT: 18,
658
662
  cNGN: 6
659
663
  },
660
664
  tokenStorageSlots: {
@@ -16482,7 +16486,7 @@ var GasEstimator = class {
16482
16486
  BundlerMethod.ETH_ESTIMATE_USER_OPERATION_GAS,
16483
16487
  [bundlerUserOp, entryPointAddress, bundlerStateOverrides]
16484
16488
  );
16485
- callGasLimit = BigInt(gasEstimate.callGasLimit) * 105n / 100n;
16489
+ callGasLimit = BigInt(gasEstimate.callGasLimit) * 130n / 100n;
16486
16490
  verificationGasLimit = BigInt(gasEstimate.verificationGasLimit) * 105n / 100n;
16487
16491
  preVerificationGas = BigInt(gasEstimate.preVerificationGas) * 105n / 100n;
16488
16492
  if (this.ctx.bundlerUrl?.toLowerCase().includes("pimlico.io")) {
@@ -16495,8 +16499,8 @@ var GasEstimator = class {
16495
16499
  if (level) {
16496
16500
  const pimMaxFeePerGas = BigInt(level.maxFeePerGas);
16497
16501
  const pimMaxPriorityFeePerGas = BigInt(level.maxPriorityFeePerGas);
16498
- maxFeePerGas = pimMaxFeePerGas;
16499
- maxPriorityFeePerGas = pimMaxPriorityFeePerGas;
16502
+ maxFeePerGas = pimMaxFeePerGas + pimMaxFeePerGas * BigInt(maxFeeBumpPercent) / 100n;
16503
+ maxPriorityFeePerGas = pimMaxPriorityFeePerGas + pimMaxPriorityFeePerGas * BigInt(priorityFeeBumpPercent) / 100n;
16500
16504
  }
16501
16505
  } catch (e) {
16502
16506
  console.warn("Pimlico gas price fetch failed, using default gas price:", e);