Skip to content

Commit

Permalink
fix gov addr missing
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Jun 4, 2021
1 parent c34b1e2 commit 77299d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/auction/RevenuePoolV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ contract RevenuePoolV3 is DSAuth, AuctionSettingIds {
if (balance > 10) {
address pointsRewardPool = registry.addressOf(AuctionSettingIds.CONTRACT_POINTS_REWARD_POOL);
address contributionIncentivePool = registry.addressOf(AuctionSettingIds.CONTRACT_CONTRIBUTION_INCENTIVE_POOL);
address governorPool = registry.addressOf(CONTRACT_DIVIDENDS_POOL);
address devPool = registry.addressOf(AuctionSettingIds.CONTRACT_DEV_POOL);

require(pointsRewardPool != 0x0 && contributionIncentivePool != 0x0 && governorPool != 0x0 && devPool != 0x0, "invalid addr");
require(pointsRewardPool != 0x0 && contributionIncentivePool != 0x0 && devPool != 0x0, "invalid addr");

require(IERC20(_tokenAddress).transfer(pointsRewardPool, balance * 4 / 10));
require(IERC20(_tokenAddress).transfer(contributionIncentivePool, balance * 3 / 10));
Expand Down

0 comments on commit 77299d2

Please sign in to comment.