Skip to content

Commit

Permalink
Merge pull request #9 from ethereum-push-notification-service/3_EPNS_…
Browse files Browse the repository at this point in the history
…TO_Push

name changes<>EPNS_to_Push
  • Loading branch information
zaryab2000 authored Feb 12, 2024
2 parents 8ab682d + bd647d0 commit 2e57ed4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions contracts/GovernorBravo.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "./GovernorBravoInterfaces.sol";

contract GovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorBravoEvents {
/// @notice The name of this contract
string public constant name = "EPNS Governor Bravo";
string public constant name = "Push Governor Bravo";

/// @notice The minimum setable proposal threshold
uint256 public constant MIN_PROPOSAL_THRESHOLD = 500000e18; // 500,000 = 0.5% of EPNS
uint256 public constant MIN_PROPOSAL_THRESHOLD = 500000e18; // 500,000 = 0.5% of PUSH

/// @notice The maximum setable proposal threshold
uint256 public constant MAX_PROPOSAL_THRESHOLD = 1000000e18; // 1,000,000 PUSH
Expand All @@ -26,7 +26,7 @@ contract GovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorBravoE
uint256 public constant MAX_VOTING_DELAY = 40320; // About 1 week

/// @notice The number of votes in support of a proposal required in order for a quorum to be reached and for a vote to succeed
uint256 public constant quorumVotes = 40000000e18; // 40,000,000 = 4% of EPNS
uint256 public constant quorumVotes = 40000000e18; // 40,000,000 = 4% of PUSH

/// @notice The maximum number of actions that can be included in a proposal
uint256 public constant proposalMaxOperations = 10; // 10 actions
Expand Down Expand Up @@ -74,7 +74,7 @@ contract GovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorBravoE

admin = admin_;
timelock = TimelockInterface(timelock_);
PUSH = EPNSInterface(push_);
PUSH = IPUSHToken(push_);
votingPeriod = votingPeriod_;
votingDelay = votingDelay_;
proposalThreshold = proposalThreshold_;
Expand Down
8 changes: 4 additions & 4 deletions contracts/GovernorBravoInterfaces.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ contract GovernorBravoDelegateStorageV1 is GovernorBravoDelegatorStorage {
/// @notice The total number of proposals
uint256 public proposalCount;

/// @notice The address of the EPNS Protocol Timelock
/// @notice The address of the Push Protocol Timelock
TimelockInterface public timelock;

/// @notice The address of the EPNS governance token
EPNSInterface public PUSH;
/// @notice The address of the Push governance token
IPUSHToken public PUSH;

/// @notice The official record of all proposals ever proposed
mapping(uint256 => Proposal) public proposals;
Expand Down Expand Up @@ -171,6 +171,6 @@ interface TimelockInterface {
) external payable returns (bytes memory);
}

interface EPNSInterface {
interface IPUSHToken {
function getPriorVotes(address account, uint256 blockNumber) external view returns (uint96);
}

0 comments on commit 2e57ed4

Please sign in to comment.