Skip to content

Commit

Permalink
chore: add redemption rights var for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jparklev committed Oct 29, 2024
1 parent 0146847 commit f5797dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/script/PointTokenVault.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@ contract PointTokenVaultScripts is BatchScript {
bytes32 pointsId = LibString.packTwo("Rumpel kPoint: Ethena S2", "kpSATS");
ERC20 senaToken = ERC20(0x8bE3460A480c80728a8C4D7a5D5303c85ba7B3b9);
uint256 rewardsPerPToken = 63381137368827226;
bool usesRedemptionRights = true;

// Set redemption parameters
vm.startBroadcast(MAINNET_OPERATOR);
vaultV0_1_0.setRedemption(pointsId, senaToken, rewardsPerPToken, true);
vaultV0_1_0.setRedemption(pointsId, senaToken, rewardsPerPToken, usesRedemptionRights);
vm.stopBroadcast();

// Update merkle root
Expand Down

0 comments on commit f5797dc

Please sign in to comment.