Trait multiversx_sc_snippets::InteractorStep

source ·
pub trait InteractorStep {
    // Required methods
    fn to_transaction(&self, interactor: &Interactor) -> Transaction;
    fn sender_address(&self) -> &AddressValue;
    fn run_step(&mut self, step_runner: &mut dyn ScenarioRunner);
    fn set_response(&mut self, tx_response: TxResponse);
}
Expand description

Describes a scenario step that can be executed in an interactor.

Required Methods§

source

fn to_transaction(&self, interactor: &Interactor) -> Transaction

source

fn sender_address(&self) -> &AddressValue

source

fn run_step(&mut self, step_runner: &mut dyn ScenarioRunner)

source

fn set_response(&mut self, tx_response: TxResponse)

Implementors§