Everytime the solution is deployed, do we need to hand over the code?

Hi!

I wanted to know the following, this is my first time here…
1.) Everytime the solution is deployed, do we need to hand over the code?

2.) If the code is handed over with modification, do we have to hand over the seperate module which we have created.

3.) Can I licence the seperate module under a different licence agreement and charge…no royalty, lump sum charge(can i sell it)

4.) which licences will have the above provisions