Skip to content

Commit

Permalink
docs: authorization on distribute fees
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Nov 28, 2024
1 parent 5f1ab4c commit 498530a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ fn distribute_fees() {
```
**Note:** in order to show the current balance for users, we should discount the fees (if there is gains) from the total assets of the Vaults.

This function is public and can be called by anyone.

It is expected that the Fee Receiver is associated with the manager, allowing the entity managing the Vault to be compensated through the Fee Receiver. In other words, the Fee Receiver could be the manager using the same address, or it could be a different entity such as a streaming contract, a DAO, or another party.

<!-- ### Multi-transaction Actions _(TODO)_
Expand Down

0 comments on commit 498530a

Please sign in to comment.