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.