Skip to content

Commit

Permalink
move struct up
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanSanderson committed Feb 24, 2024
1 parent 80ed67d commit 4a2f50e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pumps/MultiFlowPump.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ contract MultiFlowPump is IPump, IMultiFlowPumpErrors, IInstantaneousPump, ICumu
bytes16 maxLpSupplyDecrease;
}

struct CapRatesVariables {
uint256 r;
uint256 rLast;
uint256 rLimit;
uint256[] ratios;
}

//////////////////// PUMP ////////////////////

/**
Expand Down Expand Up @@ -240,13 +247,6 @@ contract MultiFlowPump is IPump, IMultiFlowPumpErrors, IInstantaneousPump, ICumu
}
}

struct CapRatesVariables {
uint256 r;
uint256 rLast;
uint256 rLimit;
uint256[] ratios;
}

/**
* @dev Cap the change in ratio of `reserves` to a maximum % change from `lastReserves`.
*/
Expand Down

0 comments on commit 4a2f50e

Please sign in to comment.