Type Alias multiversx_sc_scenario::api::StaticApi
source · pub type StaticApi = VMHooksApi<StaticApiBackend>;
Aliased Type§
struct StaticApi { /* private fields */ }
Implementations§
source§impl StaticApi
impl StaticApi
sourcepub fn is_current_address_placeholder(address: &Address) -> bool
pub fn is_current_address_placeholder(address: &Address) -> bool
The static API does not allow interrogating the Tx input, but does offer a placeholder for the current (“SC”) address, to help with contract calls.
This placeholder then needs to be converted to something useful.