Skip to content

Commit

Permalink
✏️ Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Oct 10, 2023
1 parent 1841a75 commit 5628376
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/MonoPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract MonoPool is ReentrancyGuard {
using DecoderLib for uint256;

/* -------------------------------------------------------------------------- */
/* Constant's */
/* Constants */
/* -------------------------------------------------------------------------- */

/// @dev The max swap fee (5%)
Expand All @@ -37,7 +37,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Custom error's */
/* Custom errors */
/* -------------------------------------------------------------------------- */

error InvalidOp(uint256 op);
Expand All @@ -53,7 +53,7 @@ contract MonoPool is ReentrancyGuard {
uint256 private constant _SWAP_0_AMOUNT_SELECTOR = 0x5509f2e4;

/* -------------------------------------------------------------------------- */
/* Event's */
/* Events */
/* -------------------------------------------------------------------------- */

/// @dev Event emitted after a swap
Expand Down Expand Up @@ -119,7 +119,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* External write method's */
/* External write methods */
/* -------------------------------------------------------------------------- */

/// @notice Update the fee receiver and the fee amount
Expand Down Expand Up @@ -173,7 +173,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Internal write method's */
/* Internal write methods */
/* -------------------------------------------------------------------------- */

/// @notice Interpret an `op` from a programm encoded in a `ptr`, saving accounting changes in the `accounter`
Expand Down Expand Up @@ -284,7 +284,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Token sending / pulling op's */
/* Token sending / pulling ops */
/* -------------------------------------------------------------------------- */

/// @notice Perform the receive operation
Expand Down Expand Up @@ -332,7 +332,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Token sending / pulling ALL op's */
/* Token sending / pulling ALL ops */
/* -------------------------------------------------------------------------- */

/// @notice Perform the send all operation
Expand Down Expand Up @@ -428,7 +428,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Liquidity specific op's */
/* Liquidity specific ops */
/* -------------------------------------------------------------------------- */

/// @notice Perform the add liquidity operation
Expand Down Expand Up @@ -490,7 +490,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Token helper op's */
/* Token helper ops */
/* -------------------------------------------------------------------------- */

/// @notice Perform the permit operation
Expand All @@ -517,7 +517,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* Internal pure helper method's */
/* Internal pure helper methods */
/* -------------------------------------------------------------------------- */

function _getPc(bytes calldata program) internal pure returns (uint256 ptr, uint256 endPtr) {
Expand Down Expand Up @@ -546,7 +546,7 @@ contract MonoPool is ReentrancyGuard {
}

/* -------------------------------------------------------------------------- */
/* External view method's */
/* External view methods */
/* -------------------------------------------------------------------------- */

/// @notice Get the current tokens
Expand Down

0 comments on commit 5628376

Please sign in to comment.