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§

  • This macro is used to implement the boilerplate code for the event and contract schema.
  • Provides implementation of a reference to an external contract.
  • Core element of the Odra framework, entry point for writing smart contracts.
  • Implements Into<odra::OdraError> for an error enum.
  • Implements boilerplate for a type to be used in an Odra module.

Derive Macros§

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