Hi. I am working on an app that uses a factory to create proxy contracts. There is a logic “game” contract, and if a user wants to stand up their own game, a proxy is created. So, there can be many users that have their own proxy contract that all point to the logic contract. A user is the admin of the proxy so they can transfer ownership of the proxy to another user, but I also need them to access functions in the logic contract.
I am not using the CLI, I am importing the Zeppelin proxy contracts. When calling a logic function from the proxy admin address I get the
Error: VM Exception while processing transaction: revert Cannot call fallback function from the proxy admin because of the transparent proxy pattern.
Is there any way to structure this so that a proxy admin can call the logic functions?