It's both federal and cantonal.
So how are these two funds set up? What triggers the payment? If I'm a cantonal government and order a lot, am I spending mostly federal funds or cantonal funds also? This is a roundabout way to ask how you come up with a funding formula to make sure there's long-term, predictable funding.
I see that you get it through the infrastructure fund and through the federal public transport fund. Then, of course, there is the tax on mineral oils. But focusing on those two, who can access them? Is it a joint decision by the federal or cantonal government or is it just the cantonal government?