File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/thirdweb/src/extensions/prebuilts Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ async function directDeploy(options: {
278278 } ) ;
279279}
280280
281- async function getInitializeTransaction ( options : {
281+ export async function getInitializeTransaction ( options : {
282282 client : ThirdwebClient ;
283283 chain : Chain ;
284284 account : Account ;
@@ -304,8 +304,8 @@ async function getInitializeTransaction(options: {
304304 ( i ) =>
305305 i . type === "function" &&
306306 i . name ===
307- ( metadata . factoryDeploymentData ?. implementationInitializerFunction ||
308- "initialize" ) ,
307+ ( metadata . factoryDeploymentData ?. implementationInitializerFunction ||
308+ "initialize" ) ,
309309 ) as AbiFunction ;
310310 if ( ! initializeFunction ) {
311311 throw new Error ( `Could not find initialize function for ${ metadata . name } ` ) ;
@@ -338,9 +338,9 @@ async function getInitializeTransaction(options: {
338338 moduleInstallData . push (
339339 installFunction
340340 ? encodeAbiParameters (
341- installFunction . inputs ,
342- normalizeFunctionParams ( installFunction , module . initializeParams ) ,
343- )
341+ installFunction . inputs ,
342+ normalizeFunctionParams ( installFunction , module . initializeParams ) ,
343+ )
344344 : "0x" ,
345345 ) ;
346346 }
You can’t perform that action at this time.
0 commit comments