Expand description
This crate provides a set of macros and derive attributes to simplify the process of writing smart contracts for the Odra platform.
Attribute Macros§
- event
- This macro is used to implement the boilerplate code for the event and contract schema.
- 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<OdraError>
for an error enum. - odra_
type - Implements boilerplate for a type to be used in an Odra module.
Derive Macros§
- Into
Runtime Args - Implements
Into<odra::casper_types::RuntimeArgs>
for a struct.