Skip to content

Commit

Permalink
drk/dao: use all the new keys
Browse files Browse the repository at this point in the history
  • Loading branch information
skoupidi committed Dec 27, 2024
1 parent e07dab3 commit 2c1864b
Show file tree
Hide file tree
Showing 5 changed files with 371 additions and 135 deletions.
4 changes: 4 additions & 0 deletions bin/drk/src/cli_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ pub fn generate_completions(shell: &str) -> Result<()> {
let quorum = Arg::with_name("quorum")
.help("Minimal threshold of participating total tokens needed for a proposal to pass");

let early_exec_quorum = Arg::with_name("early-exec-quorum")
.help("Minimal threshold of participating total tokens needed for a proposal to be considered as strongly supported, enabling early execution. Must be greater or equal to normal quorum.");

let approval_ratio = Arg::with_name("approval-ratio")
.help("The ratio of winning votes/total votes needed for a proposal to pass (2 decimals)");

Expand All @@ -269,6 +272,7 @@ pub fn generate_completions(shell: &str) -> Result<()> {
let create = SubCommand::with_name("create").about("Create DAO parameters").args(&vec![
proposer_limit,
quorum,
early_exec_quorum,
approval_ratio,
gov_token_id,
]);
Expand Down
Loading

0 comments on commit 2c1864b

Please sign in to comment.