Skip to content

Commit

Permalink
chore: add NatSpec to ConstantSumSolver
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlak committed Apr 26, 2024
1 parent 45b2cb1 commit b7b827d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ConstantSum/ConstantSumSolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@ import {
InvalidDeltasLength
} from "src/interfaces/ISolver.sol";

/**
* @notice Thrown when not enough liquidity is present to swap in
* a pool.
*/
error NotEnoughLiquidity();

/**
* @title Solver for the ConstantSum strategy.
* @author Primitive
*/
contract ConstantSumSolver is ISolver {
using FixedPointMathLib for uint256;

Expand Down

0 comments on commit b7b827d

Please sign in to comment.