Attribute Macro oasis_runtime_sdk::sdk_derive
#[sdk_derive]
Expand description
Derives traits from a non-trait impl
block (rather than from a struct
).
Only the Module
and EvmContract
traits are supported. In other words,
given an impl MyModule
block, the macro derives implementations needed either
for implementing a module (see also the #[handler]
and #[migration]
attributes)
or for implementing an EVM contract (see also the #[evm_method]
attribute).