Minor code tweaks
Add calculate_base_supply() to chain_interface