polywrap_wasm.imports.get_implementations module
This module contains the get_implementations imports for the Wasm module.
- class polywrap_wasm.imports.get_implementations.WrapGetImplementationsImports[source]
Bases:
BaseWrapImportsDefines the get_implementations family of imports for the Wasm module.
- wrap_get_implementations(uri_ptr: int, uri_len: int) bool[source]
Get the list of implementations URIs of the given interface URI from the invoker and store it in the state.
- Parameters:
uri_ptr (int) – The pointer to the interface URI bytes in memory.
uri_len (int) – The length of the interface URI bytes in memory.