pub fn ensure_allocator<T: Config>( key: &<T as Config>::AccountId, ) -> DispatchResult
Returns error if the origin is not listed as an allocator.