# Pastebin UW0o3sD9 sub stakers-info { my $data = validator-info; my $stakes = $data; return $stakes; } sub stake-int-friendly($stake) { return $stake * 1e-18; } sub format-stakes { my %stakes = do for stakers-info<> -> $delegator, $amount { stake-int-friendly($amount) } return %stakes; }