@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.browser.js +1 -1
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.js +1 -1
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +1 -1
- package/lib/stake.m.js.map +1 -1
- package/package.json +1 -1
- package/src/networks/ethereum/ethereum.ts +1 -1
package/lib/stake.browser.js
CHANGED
|
@@ -36001,7 +36001,7 @@ class EthereumStakingClient {
|
|
|
36001
36001
|
const currentTrancheSupply = BigInt(trancheSupplyBn.toString()) / BigInt(1e10);
|
|
36002
36002
|
const [roundId, answer, startedAt, updatedAt, answeredInRound] = await this.contract.MockAggregator.latestRoundData();
|
|
36003
36003
|
let ethPriceUsdBn = await this.contract.EthUsdPriceConsumer.getPrice18Decimals();
|
|
36004
|
-
let ethPriceUsd = BigInt(ethPriceUsdBn.toString()) /
|
|
36004
|
+
let ethPriceUsd = BigInt(ethPriceUsdBn.toString()) / BigInt(1e10);
|
|
36005
36005
|
let nativePriceTimestamp = Number(updatedAt);
|
|
36006
36006
|
const initialTrancheSupply = BigInt(INITIAL_TRANCHE_SUPPLY) * BigInt(1e8);
|
|
36007
36007
|
return buildEthereumTrancheSnapshot({
|