Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

interact_with_state

Fully qualified path: snforge_std::cheatcodes::storage::interact_with_state

pub fn interact_with_state<F, +Drop<F>, impl func: FnOnce<F, ()>, +Drop<func::Output>>(
    contract_address: ContractAddress, f: F,
) -> Output