Skip to content

Commit

Permalink
feat: add comment for governorProtector (#460)
Browse files Browse the repository at this point in the history
* feat: add comment for governorProtector

* feat: add comment for assetProtector
  • Loading branch information
cosinlink authored Jan 8, 2024
1 parent 1abdfbf commit fe8749f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion contracts/BC_fusion/BSCGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ contract BSCGovernor is
// BSCGovernor => Timelock => GovHub => system contracts
whitelistTargets[GOV_HUB_ADDR] = true;

governorProtector = address(0xdEaD); // TODO
// TODO
// Different address will be set depending on the environment
governorProtector = address(0xdEaD);
}

/*----------------- onlyGovernorProtector -----------------*/
Expand Down
4 changes: 3 additions & 1 deletion contracts/BC_fusion/StakeHub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ contract StakeHub is System, Initializable {
_legacyVoteAddress[bcVoteAddress[i]] = true;
}

assetProtector = DEAD_ADDRESS; // TODO
// TODO
// Different address will be set depending on the environment
assetProtector = DEAD_ADDRESS;
}

/*----------------- Implement cross chain app -----------------*/
Expand Down

0 comments on commit fe8749f

Please sign in to comment.