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 is basically identical to the std libs Debug derive but without adding any bounds to existing generics.
- 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.