You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checkProxyAdmin: false,// Not relevant for UUPSProxy
15
+
checkABIConflict: false,// Not relevant for UUPSProxy
16
+
upgradeFunction: {
17
+
methodName: "upgradeToAndCall",
18
+
upgradeArgs: ["{implementation}","{data}"],
19
+
},
20
+
};
21
+
}
20
22
21
-
typeDeployUpgradableOptions={
23
+
exporttypeDeployUpgradableOptions={
22
24
newImplementation?: string;
23
25
initializer?: string;
26
+
proxyAlias?: string;
24
27
}&DeployOptionsBase;
25
28
29
+
/**
30
+
* Deploy a contract with an upgradable proxy
31
+
* NOTE: This function assumes the existence of a proxy contract with the name `${proxy}Proxy`, if there is none add the option `proxyAlias: "UUPSProxy"`
0 commit comments