Crate odra_proc_macros

Source

Macros§

execution_error
Implements Into<odra::types::ExecutionError> and Into<odra::types::OdraError> for an error enum.
map
Implements the boilerplate code required to read/write a value from/to a map.

Attribute Macros§

external_contract
Provides implementation of a reference to an external contract.
module
Core element of the Odra framework, entry point for writing smart contracts.
odra_error
Implements Into<odra::types::OdraError> for an error enum.

Derive Macros§

Event
Implements boilerplate code required by an event.
Instance
Provides implementation of Instance trait.
OdraType
Implements boilerplate code required by an OdraType.