Skip to main content

interactive_tempo_fund_allowed

Function interactive_tempo_fund_allowed 

Source
fn interactive_tempo_fund_allowed(
    no_auto_fund: Option<&str>,
    in_ci: bool,
    stdin_is_terminal: bool,
    stderr_is_terminal: bool,
) -> bool
Expand description

Decide whether the interactive tempo wallet fund flow may be launched.

Policy (library-safe):

  • never run inside CI
  • never run unless both stdin and stderr are real terminals
  • FOUNDRY_MPP_NO_AUTO_FUND is honored as an opt-out; it must not bypass CI/TTY guards in shared transport code that may be embedded inside long-running RPC daemons.