Trait scrypto_test::prelude::VmInvoke
source · pub trait VmInvoke {
// Required method
fn invoke<Y, V>(
&mut self,
export_name: &str,
input: &IndexedScryptoValue,
api: &mut Y,
vm_api: &V
) -> Result<IndexedScryptoValue, RuntimeError>
where Y: ClientApi<RuntimeError> + KernelNodeApi + KernelSubstateApi<SystemLockData>,
V: VmApi;
}
Required Methods§
fn invoke<Y, V>( &mut self, export_name: &str, input: &IndexedScryptoValue, api: &mut Y, vm_api: &V ) -> Result<IndexedScryptoValue, RuntimeError>
Object Safety§
This trait is not object safe.