Crate pallet_evm_polkavm_proc_macro

Source
Expand description

Procedural macros used in the contracts module.

Most likely you should use the #[define_env] attribute macro which hides boilerplate of defining external environment for a polkavm module.

Attribute Macrosยง

define_env
Defines a host functions set that can be imported by contract polkavm code.
unstable_hostfn