We are developing a smart-contract expected to be ran in a state-channel. We would like to identify each time a certain function in the contract is called, who the caller is.
We tried to use
Caller. addr / origin attributes to access caller address but we always receive the same address (belonging to contract deployer) no matter who made the function call using it.
Any idea and-or alternative?