@wireio/stake 0.7.0 → 0.7.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.
package/lib/stake.js CHANGED
@@ -36553,7 +36553,7 @@ class EthereumStakingClient {
36553
36553
  const currentTrancheSupply = BigInt(trancheSupplyBn.toString()) / BigInt(1e10);
36554
36554
  const [roundId, answer, startedAt, updatedAt, answeredInRound] = yield this.contract.MockAggregator.latestRoundData();
36555
36555
  let ethPriceUsdBn = yield this.contract.EthUsdPriceConsumer.getPrice18Decimals();
36556
- let ethPriceUsd = BigInt(ethPriceUsdBn.toString()) / BigInt("10");
36556
+ let ethPriceUsd = BigInt(ethPriceUsdBn.toString()) / BigInt(1e10);
36557
36557
  let nativePriceTimestamp = Number(updatedAt);
36558
36558
  const initialTrancheSupply = BigInt(INITIAL_TRANCHE_SUPPLY) * BigInt(1e8);
36559
36559
  return buildEthereumTrancheSnapshot({