(contractName: string)
| 47 | * Define the schema for the implementation behind the AdminUpgradeableProxy. |
| 48 | */ |
| 49 | export const schemaAdminProxyImpl = (contractName: string) => |
| 50 | z |
| 51 | .object({ |
| 52 | address: schemaAddress.optional(), |
| 53 | contractName: z.string().default(contractName).optional(), |
| 54 | }) |
| 55 | .strict() |
| 56 | .optional() |
| 57 | |
| 58 | /** |
| 59 | * setInitializers return the storage to set the initializers to a specific version |
no test coverage detected