Skip to content

Commit

Permalink
docs: update profit and loss cases mentioned in Accounting (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakrit-Jain authored Aug 19, 2023
1 parent ba8e6e1 commit 8f6992d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ The strategy will evaluate profit and losses from the yield generating activitie

This is done comparing the current totalAssets of the strategy with the amount returned from _harvestAndReport()

If totalAssets < newTotalAssets: the vault will record a loss
If totalAssets > newTotalAssets: the vault will record a profit
If totalAssets < newTotalAssets: the vault will record a profit
If totalAssets > newTotalAssets: the vault will record a loss

Both loss and profit will impact strategy's totalAssets, increasing if there are profits, decreasing if there are losses.

Expand Down

0 comments on commit 8f6992d

Please sign in to comment.