Attribute Macro oasis_runtime_sdk_macros::sdk_derive

source ·
#[sdk_derive]
Expand description

Derives traits from a non-trait impl block (rather than from a struct).

Only the Module trait is supported. In other words, given an impl MyModule block, the macro derives implementations needed for implementing a module. See also the #[handler] and #[migration] attributes.