@wireio/stake 0.3.0 → 0.3.1

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.
@@ -5818,7 +5818,7 @@ function buildSolanaTrancheSnapshot(options) {
5818
5818
  const currentTranche = trancheState.currentTrancheNumber.toNumber();
5819
5819
  const currentTrancheSupply = toBigint(trancheState.currentTrancheSupply);
5820
5820
  const initialTrancheSupply = toBigint(trancheState.initialTrancheSupply);
5821
- const totalPretokensSold = toBigint(trancheState.totalPretokensSold);
5821
+ const totalWarrantsSold = toBigint(trancheState.totalWarrantsSold);
5822
5822
  const currentPriceUsd = toBigint(trancheState.currentTranchePriceUsd);
5823
5823
  const supplyGrowthBps = trancheState.supplyGrowthBps;
5824
5824
  const priceGrowthBps = trancheState.priceGrowthBps;
@@ -5828,7 +5828,7 @@ function buildSolanaTrancheSnapshot(options) {
5828
5828
  currentTranche,
5829
5829
  initialTrancheSupply,
5830
5830
  currentTrancheSupply,
5831
- totalPretokensSold,
5831
+ totalWarrantsSold,
5832
5832
  currentPriceUsd,
5833
5833
  supplyGrowthBps,
5834
5834
  priceGrowthBps,
@@ -5845,7 +5845,7 @@ function buildSolanaTrancheSnapshot(options) {
5845
5845
  priceGrowthBps,
5846
5846
  currentTrancheSupply,
5847
5847
  initialTrancheSupply,
5848
- totalPretokensSold,
5848
+ totalWarrantsSold,
5849
5849
  nativePriceUsd: solPriceUsd,
5850
5850
  nativePriceTimestamp,
5851
5851
  ladder
@@ -6701,7 +6701,7 @@ class SolanaStakingClient {
6701
6701
  const trancheState = snapshot?.trancheState ?? null;
6702
6702
  const globalState = snapshot?.globalState ?? null;
6703
6703
  const stakedAmountStr = wireReceipt?.stakedLiqsol?.toString() ?? "0";
6704
- const wireSharesStr = userWarrantRecord?.totalPretokensPurchased?.toString() ?? "0";
6704
+ const wireSharesStr = userWarrantRecord?.totalWarrantsPurchased?.toString() ?? "0";
6705
6705
  return {
6706
6706
  native: {
6707
6707
  amount: BigInt(nativeLamports),
@@ -25876,7 +25876,7 @@ async function buildEthereumTrancheSnapshot(options) {
25876
25876
  priceGrowthBps,
25877
25877
  currentTrancheSupply,
25878
25878
  initialTrancheSupply,
25879
- totalPretokensSold: totalTrancheSupply,
25879
+ totalWarrantsSold: totalTrancheSupply,
25880
25880
  nativePriceUsd: ethPriceUsd,
25881
25881
  nativePriceTimestamp,
25882
25882
  ladder