Who's temp pole was on the job? When I set a temp pole on a job, it's considered a a contract to wire the house(IMO). But also in my area you have to pull a permit for the house to get the temp pole hooked up. If for no real reason a GC let someone else wire one of "my" jobs, I would be sending a bill for the profit I would've made on the job and for the use of my temp pole(which I set for free as part of a whole house job).

I don't know if you want to risk burning bridges, but you may have some recourse because of the situation you descibed.