referrerpolicy=no-referrer-when-downgrade

Crate pallet_contracts_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 wasm module.

Attribute Macros§

  • Defines a host functions set that can be imported by contract wasm code.

Derive Macros§

  • This derives Debug for a struct where each field must be of some numeric type. It interprets each field as its represents some weight and formats it as times so that it is readable by humans.