Skip to content

Commit

Permalink
docs: add @dev note about _allocateLQTY()
Browse files Browse the repository at this point in the history
  • Loading branch information
danielattilasimon committed Dec 27, 2024
1 parent 1df8113 commit 7cf3b1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,9 @@ contract Governance is MultiDelegateCall, UserProxyFactory, ReentrancyGuard, Own
}

/// @dev For each given initiative applies relative changes to the allocation
/// NOTE: Given the current usage the function either: Resets the value to 0, or sets the value to a new value
/// Review the flows as the function could be used in many ways, but it ends up being used in just those 2 ways
/// @dev Assumes that all the input arrays are of equal length
/// @dev NOTE: Given the current usage the function either: Resets the value to 0, or sets the value to a new value
/// Review the flows as the function could be used in many ways, but it ends up being used in just those 2 ways
function _allocateLQTY(
address[] memory _initiatives,
int256[] memory _deltaLQTYVotes,
Expand Down

0 comments on commit 7cf3b1f

Please sign in to comment.