multiversx_sc::contract_base

Trait CallableContract

Source
pub trait CallableContract: Send + Sync {
    // Required method
    fn call(&self, fn_name: &str) -> bool;
}
Expand description

CallableContract is the means by which the debugger calls methods in the contract.

Required Methods§

Source

fn call(&self, fn_name: &str) -> bool

Implementors§