Macro export_endpoints

Source
macro_rules! export_endpoints {
    ($app_const:expr, $app_type:ty) => { ... };
    ($app_const:expr, $app_type:ty, $custom_exec:ty) => { ... };
}
Expand description

Exports all entry-points, should be enabled by default.

  • instantiate
  • execute
  • query
  • migrate
  • reply
  • sudo

§Usage

Requires two arguments:

  1. The App constant.
  2. The App type.
abstract_app::export_endpoints!(MY_APP, MyApp);