He wasn't pardoned, his sentence was commuted (he served nearly 2 years already).
Just like his Gaytors, Kodak Black knows how to spread around moderate amounts of money to try to purchase respectability, like the 50K he gave to the foundation started by the owner of Barstool Sports...