Function pallet_pool_fees::pallet::dispatchables::update_portfolio_valuation
source · pub fn update_portfolio_valuation<T: Config>(pool_id: T::PoolId)
Expand description
Update the negative portfolio valuation via pending amounts of the pool’s active fees. Also updates the latter if the last update happened in the past.
NOTE: There can be fee amounts which are dependent on AssetsUnderManagement. Therefore, we enforce this to have been updated in the current timestamp. In the future, this coupling will be handled by an accounting pallet.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_portfolio_valuation
.