Function: broadcastUserPosition(address user, uint256[] calldata chainIds)
The function broadcasts the updated user position and total supply to specified chain IDs.
Inputs
userControl: Arbitrary.
Constraints: Must not be the zero address.
Impact: The parameter identifies the user whose position to broadcast.
chainIdsControl: Arbitrary.
Constraints: Must be nonempty and supported chain IDs.
Impact: The parameter specifies the chains to broadcast the update.
Branches and code coverage
Intended branches
Update and broadcast the user's veAnzen position and total supply to specified chains.
Negative behavior
Revert if
chainIdsis empty.Revert if elements of
chainIdsare not indestinationContracts.