styling consistency

This commit is contained in:
tim
2025-10-15 11:19:36 -04:00
parent 7ac4cdc8f6
commit ead004d631
18 changed files with 275 additions and 281 deletions

View File

@@ -119,7 +119,7 @@ contract PartyPlanner is IPartyPlanner {
_allPools.push(pool);
_poolSupported[pool] = true;
// Track tokens and populate mappings
// Track _tokens and populate mappings
for (uint256 i = 0; i < _tokens.length; i++) {
IERC20 token = _tokens[i];
@@ -135,7 +135,7 @@ contract PartyPlanner is IPartyPlanner {
emit PartyStarted(pool, name_, symbol_, _tokens);
// Transfer initial tokens from payer to the pool
// Transfer initial _tokens from payer to the pool
for (uint256 i = 0; i < _tokens.length; i++) {
if (initialDeposits[i] > 0) {
IERC20(_tokens[i]).safeTransferFrom(payer, address(pool), initialDeposits[i]);
@@ -143,7 +143,7 @@ contract PartyPlanner is IPartyPlanner {
}
}
// Call mint on the new pool to initialize it with the transferred tokens
// Call mint on the new pool to initialize it with the transferred _tokens
lpAmount = pool.initialMint(receiver, initialLpAmount);
}
@@ -240,7 +240,7 @@ contract PartyPlanner is IPartyPlanner {
return new address[](0);
}
// Calculate actual number of tokens to return (respecting bounds)
// Calculate actual number of _tokens to return (respecting bounds)
uint256 itemsToReturn = (offset + limit > totalTokens) ? (totalTokens - offset) : limit;
// Create result array of appropriate size