Skip to content

Commit

Permalink
chore: update notes
Browse files Browse the repository at this point in the history
  • Loading branch information
shibatales committed Nov 1, 2023
1 parent 3bfcc0f commit 564f69b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/claim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const Home = () => {
(parseInt(currentBlock.toString()) - vestingSchedules[0].start)
: 0;

// Initialize the total amount of tokens that will be locked in the future
// Initialize the total amount of tokens that are still locked into the future
let totalFutureLockedTokens = new BigNumber("0");

// Iterate over each vesting schedule
Expand Down Expand Up @@ -129,10 +129,10 @@ const Home = () => {
// Calculate the amount of tokens unlocked so far
const tokensUnlockedSoFar = tokensVestedSoFar.gte(totalLockedTokens) ? totalLockedTokens : tokensVestedSoFar;

// Calculate the amount of tokens that will be locked in the future
// Calculate the amount of tokens that are still locked into the future
const futureLockedTokens = totalLockedTokens.minus(tokensUnlockedSoFar);

// Add the future locked tokens to the total amount
// Add the future locked tokens to the total future locked amount
totalFutureLockedTokens = totalFutureLockedTokens.plus(futureLockedTokens);
}

Expand Down

0 comments on commit 564f69b

Please sign in to comment.