Hooks
The pallet provides two hooks to the runtime, enabling the injection of custom logic that is executed upon extrinsic dispatch. This custom logic is not activated when functionality is invoked through the pallet's traits.
Traits OnCallHooks {
pre_call_dispatch(origin: Self::OriginSuccess, call: Self::Call) -> DispatchResult
post_call_dispatch(origin: Self::OriginSuccess, call: Self::Call) -> DispatchResult
}
Last updated