A potential-gated molecularly imprinted smart electrode for nicotinamide analysis