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

Puffer upgrade #104

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ contract PufferPointTokenWrapper is UUPSHelper, ERC20Upgradeable {
uint256 length = userAllVestings.length;
while (i < length && i <= maxClaimIndex) {
VestingID storage userCurrentVesting = userAllVestings[i];
if (block.timestamp > userCurrentVesting.unlockTimestamp) {
if (block.timestamp > userCurrentVesting.unlockTimestamp && block.timestamp > 1740816009) {
amountClaimable += userCurrentVesting.amount;
nextClaimIndex = ++i;
} else break;
Expand Down
1 change: 1 addition & 0 deletions lib/forge-std
Submodule forge-std added at cb69e9
3 changes: 2 additions & 1 deletion scripts/deployPufferPointTokenWrapper.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ contract DeployPufferPointTokenWrapper is BaseScript {
// Deploy implementation
PufferPointTokenWrapper implementation = new PufferPointTokenWrapper();
console.log("PufferPointTokenWrapper Implementation:", address(implementation));

/*
// Deploy proxy
ERC1967Proxy proxy = new ERC1967Proxy(address(implementation), "");
console.log("PufferPointTokenWrapper Proxy:", address(proxy));

// Initialize
PufferPointTokenWrapper(address(proxy)).initialize(underlying, cliffDuration, manager, distributionCreator);
*/
vm.stopBroadcast();
}
}
Loading