Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrai committed Jan 30, 2024
1 parent 36301c7 commit ba075c6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/nouns-contracts/contracts/Rewards.sol
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,6 @@ contract Rewards is ERC721('NounsClientIncentives', 'NounsClientIncentives'), Ow
return tokenId;
}

function requireProposalEligibleForRewards(NounsDAOV3Types.ProposalCondensed memory proposal) internal view {
require(proposal.forVotes >= proposal.quorumVotes, 'must reach quorum');

// voting has ended
require(block.number > proposal.endBlock, 'voting must end');
require(block.number > proposal.updatePeriodEndBlock, 'voting must end');
}

function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
Expand Down

0 comments on commit ba075c6

Please sign in to comment.