// Mint twTAP position
tokenId = ++mintedTWTap;
_safeMint(_participant, tokenId);
require(position.expiry <= block.timestamp, "twTAP: Lock not expired");
weekTotals[w0 + 1].netActiveVotes += int256(votes);
weekTotals[w1 + 1].netActiveVotes -= int256(votes);
function distributeReward(
    uint256 _rewardTokenId,
    uint256 _amount
) external {
    require(
        lastProcessedWeek == currentWeek(),
        "twTAP: Advance week first"
    );
    WeekTotals storage totals = weekTotals[lastProcessedWeek];
    IERC20 rewardToken = rewardTokens[_rewardTokenId];
    // If this is a DBZ then there are no positions to give the reward to.
    // Since reward eligibility starts in the week after locking, there is
    // no way to give out rewards THIS week.
    // Cast is safe: `netActiveVotes` is at most zero by construction of
    // weekly totals and the requirement that they are up to date.
    // TODO: Word this better
    totals.totalDistPerVote[_rewardTokenId] +=
        (_amount * DIST_PRECISION) /
        uint256(totals.netActiveVotes);
    rewardToken.safeTransferFrom(msg.sender, address(this), _amount);
}
