Skip to main content

run

Function run 

Source
pub async fn run(
    token: Option<String>,
    explicit_pair: Option<String>,
    ctx: &SessionContext,
    config: &Config,
    clients: &dyn ChainClientFactory,
) -> Result<()>
Expand description

Entry point for the monitor command from interactive mode.

When explicit_pair is Some, token resolution is bypassed and the exchange ticker is used as the primary data source. This enables monitoring tokens that are not indexed by DexScreener (e.g., PUSD on Biconomy).