If you send crypto to a contract that pays rewards but the original investment cannot be returned, do you claim as income after the original investment is met?

For example, you send $100 worth of crypto to a contract.  From you which receive $40, $60, $30 and $20.  Is each dollar amount received viewed as income?  Or, is the $40, $60 not viewed as income since it totals $100 (original investment) and the remaining $30 and $20 is viewed as income?  

Thank you