issues
search
harmonixfi
/
core-smart-contract
Core smart contracts of Harmonix Finance
https://harmonix.fi/
3
stars
1
forks
source link
Implement logic to calculate performance fee, withdrawal fee when closeRound
#32
Closed
baonguyen1904
closed
5 months ago
baonguyen1904
commented
6 months ago
Close Round:
Options:
Close Options Round: update the PnL (Profit and Loss).
Liquidity:
Close LP Round: update weekly rewards.
Calculate performance fee, management fee
Rename vaultState.totalAssets to vaultState.pendingDepositAmount.
Define OptionStrategyState to consolidate attributes.
Rename totalAllocatedAmount to optionsTVL and update the rate calculation for USDC.e.
Rename getTotalAssets of LP to lpTVL.
Close Round: