MCPcopy Create free account
hub / github.com/circlefin/arc-node / schemaAdminProxyImpl

Function schemaAdminProxyImpl

scripts/genesis/AdminUpgradeableProxy.ts:49–56  ·  view source on GitHub ↗
(contractName: string)

Source from the content-addressed store, hash-verified

47 * Define the schema for the implementation behind the AdminUpgradeableProxy.
48 */
49export 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

Callers 3

ProtocolConfig.tsFile · 0.90
Denylist.tsFile · 0.90

Calls 1

defaultMethod · 0.45

Tested by

no test coverage detected