Skip to content

Commit

Permalink
Updated Natspec for setCrossPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Oct 25, 2024
1 parent e1c04d9 commit 035a85f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/contracts/AbstractARM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ abstract contract AbstractARM is OwnableOperable, ERC20Upgradeable {
* If the cross price is being lowered, there can not be a significant amount of base assets in the ARM. eg stETH.
* This prevents the ARM making a loss when the base asset is sold at a lower price than it was bought
* before the cross price was lowered.
* The base assets should be sent to the withdrawal queue before the cross price can be lowered.
* The base assets should be sent to the withdrawal queue before the cross price can be lowered. For example, the
* `Owner` should construct a tx that calls `requestLidoWithdrawals` before `setCrossPrice` for the Lido ARM
* when the cross price is being lowered.
* The cross price can be increased with assets in the ARM.
* @param newCrossPrice The new cross price scaled to 36 decimals.
*/
Expand Down

0 comments on commit 035a85f

Please sign in to comment.