Attribute Macro frame_support::pallet_macros::getter

source ·
#[getter]
Expand description

The optional attribute #[pallet::getter(fn $my_getter_fn_name)] allows you to define a getter function on Pallet.

Also see pallet::storage