Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Oracle Storage Layout #256

Merged
merged 11 commits into from
May 16, 2024
Prev Previous commit
remove mainnet specific lines
WalidOfNow committed May 15, 2024
commit 8bfe19e81fc6109f1332ad880c98fb49a9ea707c
3 changes: 1 addition & 2 deletions src/PufferOracleV2.sol
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

import { IGuardianModule } from "puffer/interface/IGuardianModule.sol";
import { IPufferOracleV2 } from "puffer/interface/IPufferOracleV2.sol";
import { IPufferOracle } from "pufETH/interface/IPufferOracle.sol";

Check warning on line 6 in src/PufferOracleV2.sol

GitHub Actions / solhint

imported name IPufferOracle is not used
import { AccessManaged } from "@openzeppelin/contracts/access/manager/AccessManaged.sol";

/**
@@ -57,8 +57,7 @@
PUFFER_VAULT = vault;
_totalNumberOfValidators = 927122; // Oracle will be updated with the correct value
_epochNumber = 268828; // Oracle will be updated with the correct value
_setMintPrice(3098470956104156);
_numberOfActivePufferValidators = 174;
_setMintPrice(0.01 ether);
Copy link
Contributor

@shayanb shayanb May 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to latest price

}

/**