pub type StaticApi = VMHooksApi<StaticApiBackend>;

Aliased Type§

struct StaticApi { /* private fields */ }

Implementations§

source§

impl StaticApi

source

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.

Trait Implementations§

source§

impl Debug for StaticApi

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more