Refactored functions that return type "Inv". Made them return type "InvCoins". :fire: