Logic behind coin awards for battles won

Is there any? I mean seriously, sometimes I get over 300, sometimes I get 27. It’s just kind of annoying there’s no consistency, and there can be such a large difference. Has anyone ever figured out ay kind of logic to it?

When battling for the tournament when I had all my incubators I would notice that it would give me 360 for the first 4-5 wins. Then drop to 120 for 3-5 wins then drop to 36 till I meet a max coins for the day. Now this is what I got when I had full incubators. If I win and received an incubator the amount was different.