Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
getCurrentQuorumPct
Browse files Browse the repository at this point in the history
  • Loading branch information
dd0sxx committed Dec 14, 2023
1 parent 2a9d28f commit 9cd0126
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/token-voting/LlamaTokenCaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ abstract contract LlamaTokenCaster is Initializable {
nonces[msg.sender][selector] = LlamaUtils.uncheckedIncrement(nonces[msg.sender][selector]);
}

function getCurrentQuorumPct() external view returns (uint16 voteQuorumPct, uint16 vetoQuorumPct) {
return quorumCheckpoints.latest();
}

// ================================
// ======== Internal Logic ========
// ================================
Expand Down

0 comments on commit 9cd0126

Please sign in to comment.