@@ -155,16 +155,12 @@ describe("SplitsCreator Factory", () => {
155155 ) ;
156156
157157 const { HatsFractionTokenModule : _HatsFractionTokenModule_IMPL } =
158- await deployHatsFractionTokenModule (
159- address1 . account ?. address ! ,
160- "0.0.0" ,
161- Create2Deployer . address ,
162- ) ;
158+ await deployHatsFractionTokenModule ( "0.0.0" , Create2Deployer . address ) ;
163159 HatsFractionTokenModule_IMPL = _HatsFractionTokenModule_IMPL ;
164160
165161 const timeFrameInitData = encodeAbiParameters (
166- [ { type : "address " } ] ,
167- [ address1 . account ?. address ! ] ,
162+ [ { type : "uint256 " } ] ,
163+ [ timeFrameTobanId ] ,
168164 ) ;
169165
170166 await HatsModuleFactory . write . createHatsModule ( [
@@ -190,12 +186,8 @@ describe("SplitsCreator Factory", () => {
190186
191187 // Deploy HatsFractionTokenModule
192188 const fractionTokenInitData = encodeAbiParameters (
193- [ { type : "address" } , { type : "string" } , { type : "uint256" } ] ,
194- [
195- address1 . account ?. address ! ,
196- "https://example.com/fraction-token" ,
197- 10000n ,
198- ] ,
189+ [ { type : "string" } , { type : "uint256" } ] ,
190+ [ "https://example.com/fraction-token" , 10000n ] ,
199191 ) ;
200192
201193 await HatsModuleFactory . write . createHatsModule ( [
@@ -428,11 +420,7 @@ describe("CreateSplit", () => {
428420 ) ;
429421
430422 const { HatsFractionTokenModule : _HatsFractionTokenModule_IMPL } =
431- await deployHatsFractionTokenModule (
432- address1 . account ?. address ! ,
433- "0.0.0" ,
434- Create2Deployer . address ,
435- ) ;
423+ await deployHatsFractionTokenModule ( "0.0.0" , Create2Deployer . address ) ;
436424 HatsFractionTokenModule_IMPL = _HatsFractionTokenModule_IMPL ;
437425
438426 const timeFrameInitData = encodeAbiParameters (
@@ -463,12 +451,8 @@ describe("CreateSplit", () => {
463451
464452 // Deploy HatsFractionTokenModule
465453 const fractionTokenInitData = encodeAbiParameters (
466- [ { type : "address" } , { type : "string" } , { type : "uint256" } ] ,
467- [
468- address1 . account ?. address ! ,
469- "https://example.com/fraction-token" ,
470- 10000n ,
471- ] ,
454+ [ { type : "string" } , { type : "uint256" } ] ,
455+ [ "https://example.com/fraction-token" , 10000n ] ,
472456 ) ;
473457
474458 await HatsModuleFactory . write . createHatsModule ( [
0 commit comments