Module pallet_contracts::api_doc
source · Expand description
Contains the documentation of the API available to contracts.
In order to generate this documentation, pass doc
attribute to the #[define_env]
macro:
#[define_env(doc)]
, and then run cargo doc
.
This module is not meant to be used by any code. Rather, it is meant to be consumed by humans through rustdoc.
Every function described in this module’s sub module’s traits uses this sub module’s identifier as its imported module name. The identifier of the function is the function’s imported name. According to the WASM spec of imports.