Skip to content

Commit

Permalink
Prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Jul 3, 2023
1 parent 99760e8 commit 0eeca8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/components/vote-escrow/LockupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ const LockupForm: FunctionComponent<LockupFormProps> = ({ existingLockup }) => {
// as specified here: https://github.com/OriginProtocol/ousd-governance/blob/master/contracts/OgvStaking.sol#L21
const votingDecayFactor = 1.8;

const veOgvFromOgvLockup = lockupAmount * votingDecayFactor ** (lockupDuration / 12);
const veOgvFromOgvLockup =
lockupAmount * votingDecayFactor ** (lockupDuration / 12);

const ogvLockupRewardApy = getRewardsApy(
veOgvFromOgvLockup,
Expand Down

0 comments on commit 0eeca8f

Please sign in to comment.