Crate odra_macros

Source
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§

IntoRuntimeArgs
Implements Into<odra::casper_types::RuntimeArgs> for a struct.