Skip to main content

render_holder_distribution

Function render_holder_distribution 

Source
pub fn render_holder_distribution(holders: &[TokenHolder]) -> String
Expand description

Renders a holder distribution chart as ASCII bars.

This displays the top holders with horizontal bar representation of their percentage ownership.

§Arguments

  • holders - Vector of token holders sorted by balance

§Returns

Returns a string containing the ASCII distribution chart.