Can a single proxy contract have several implementations?

We use the OpenZeppelin-SDK upgradeability and develop an implementation but the implementation can’t be deployed because of exceeding the gas limit right now.
We want to add more function.
Can we have several the implementation from one proxy contract?

2 Likes

Hi @Shinsaku,

OpenZeppelin SDK uses the “unstructured storage” proxy pattern, where the proxy points to a single implementation. See the documentation for more details: https://docs.openzeppelin.com/sdk/2.5/pattern

You may need to look at using optimization with the compiler or potentially break up your contract into multiple contracts to fit within the gas limit.

1 Like

Thank you!
I try to reduce the gas cost somehow.

2 Likes