Skip to content

Commit

Permalink
Update bribe params
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-clippy committed Aug 12, 2023
1 parent e27259a commit 8efe1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/governance/Briber.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ contract Briber is Ownable {
token = token_;
}

function bribe(uint256 proposalIndex, uint256 choiceIndex) external onlyOwner {
bytes32 proposal = keccak256(abi.encodePacked(proposalIndex, choiceIndex));
function bribe(address gauge) external onlyOwner {
bytes32 proposal = keccak256(abi.encodePacked(gauge));
rewardClaimer.claimRewards();
uint256 bribeAmount = IERC20(token).balanceOf(address(this));
IERC20(token).safeApprove(bribeMarket.BRIBE_VAULT(), bribeAmount);
Expand Down

0 comments on commit 8efe1bf

Please sign in to comment.