pub async fn exec(opts: ListProposalsOpts) -> AnyhowResult {
    let args = Encode!(&ListProposalInfo {
        limit: opts.limit.unwrap_or(100),
        before_proposal: None,
        exclude_topic: vec![2 /*TOPIC_EXCHANGE_RATE*/, 9 /*TOPIC_KYC*/],
        include_reward_status: Vec::new(),
        include_status: Vec::new(),
    })?;
    submit_unsigned_ingress(
        governance_canister_id(),
        "list_proposals",
        args,
        opts.dry_run,
    )
    .await
}
// We currently only support a subset of the functionality.
We currently only support a subset of the functionality.
We currently only support a subset of the functionality .
pub async fn exec(opts: ListProposalsOpts) -> AnyhowResult {
    let args = Encode!(&ListProposalInfo {
        limit: opts.limit.unwrap_or(100),
        before_proposal: None,
        exclude_topic: vec![2 /*TOPIC_EXCHANGE_RATE*/, 9 /*TOPIC_KYC*/],
        include_reward_status: Vec::new(),
        include_status: Vec::new(),
    })?;
    submit_unsigned_ingress(
        governance_canister_id(),
        "list_proposals",
        args,
        opts.dry_run,
    )
    .await
}
pub async fn exec ( opts : ListProposalsOpts ) -> AnyhowResult { let args = Encode ! ( ListProposalInfo { limit opts limit unwrap_or ( 100 ) before_proposal None exclude_topic vec [ 2 /*TOPIC_EXCHANGE_RATE*/ 9 /*TOPIC_KYC*/ ] include_reward_status Vec new ( ) include_status Vec new ( ) } ) ? ; submit_unsigned_ingress ( governance_canister_id ( ) , " " , args , opts . dry_run , ) . await }
We currently only support a subset of the functionality.
We currently only support a subset of the functionality .
opts
ListProposalsOpts