Skip to content

Commit 1deb537

Browse files
committed
feat: enhance UCEFVotes privacy with PrivateVotes
1 parent 01cccd4 commit 1deb537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ucef/contracts/extensions/UCEFVotes.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pragma solidity ^0.8.20;
55

66
import {UCEF} from "../UCEF.sol";
7-
import {Votes} from "@openzeppelin/contracts/governance/utils/Votes.sol";
7+
import {PrivateVotes} from "../utils/PrivateVotes.sol";
88
import {Checkpoints} from "@openzeppelin/contracts/utils/structs/Checkpoints.sol";
99

1010
/**
@@ -20,7 +20,7 @@ import {Checkpoints} from "@openzeppelin/contracts/utils/structs/Checkpoints.sol
2020
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
2121
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
2222
*/
23-
abstract contract UCEFVotes is UCEF, Votes {
23+
abstract contract UCEFVotes is UCEF, PrivateVotes {
2424
/**
2525
* @dev Total supply cap has been exceeded, introducing a risk of votes overflowing.
2626
*/

0 commit comments

Comments
 (0)