88 getTokenId ,
99 mintBySpg ,
1010 approveForLicenseToken ,
11- devnet ,
11+ homer ,
1212} from "./utils/util" ;
1313import { MockERC20 } from "./utils/mockERC20" ;
1414import {
@@ -22,7 +22,7 @@ import {
2222chai . use ( chaiAsPromised ) ;
2323const expect = chai . expect ;
2424
25- const pool = evenSplitGroupPoolAddress [ devnet ] ;
25+ const pool = evenSplitGroupPoolAddress [ homer ] ;
2626describe ( "IP Asset Functions " , ( ) => {
2727 let client : StoryClient ;
2828 let noCommercialLicenseTermsId : bigint ;
@@ -160,7 +160,7 @@ describe("IP Asset Functions ", () => {
160160 {
161161 terms : {
162162 transferable : true ,
163- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
163+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
164164 defaultMintingFee : 1n ,
165165 expiration : 0n ,
166166 commercialUse : true ,
@@ -174,7 +174,7 @@ describe("IP Asset Functions ", () => {
174174 derivativesApproval : false ,
175175 derivativesReciprocal : true ,
176176 derivativeRevCeiling : 0n ,
177- currency : mockErc20Address [ devnet ] ,
177+ currency : mockErc20Address [ homer ] ,
178178 uri : "" ,
179179 } ,
180180 licensingConfig : {
@@ -196,8 +196,8 @@ describe("IP Asset Functions ", () => {
196196 parentIpId = result . ipId ! ;
197197 licenseTermsId = result . licenseTermsIds ! [ 0 ] ;
198198 const mockERC20 = new MockERC20 ( ) ;
199- await mockERC20 . approve ( derivativeWorkflowsAddress [ devnet ] ) ;
200- await mockERC20 . approve ( royaltyTokenDistributionWorkflowsAddress [ devnet ] ) ;
199+ await mockERC20 . approve ( derivativeWorkflowsAddress [ homer ] ) ;
200+ await mockERC20 . approve ( royaltyTokenDistributionWorkflowsAddress [ homer ] ) ;
201201 await mockERC20 . mint ( ) ;
202202 } ) ;
203203 it ( "should not throw error when register a IP Asset given metadata" , async ( ) => {
@@ -263,7 +263,7 @@ describe("IP Asset Functions ", () => {
263263 derivativesApproval : false ,
264264 derivativesReciprocal : true ,
265265 derivativeRevCeiling : 0n ,
266- currency : mockErc20Address [ devnet ] ,
266+ currency : mockErc20Address [ homer ] ,
267267 uri : "" ,
268268 } ,
269269 licensingConfig : {
@@ -280,7 +280,7 @@ describe("IP Asset Functions ", () => {
280280 {
281281 terms : {
282282 transferable : true ,
283- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
283+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
284284 defaultMintingFee : 10000n ,
285285 expiration : 1000n ,
286286 commercialUse : true ,
@@ -294,7 +294,7 @@ describe("IP Asset Functions ", () => {
294294 derivativesApproval : false ,
295295 derivativesReciprocal : true ,
296296 derivativeRevCeiling : 0n ,
297- currency : mockErc20Address [ devnet ] ,
297+ currency : mockErc20Address [ homer ] ,
298298 uri : "test case" ,
299299 } ,
300300 licensingConfig : {
@@ -375,7 +375,7 @@ describe("IP Asset Functions ", () => {
375375 derivativesApproval : false ,
376376 derivativesReciprocal : true ,
377377 derivativeRevCeiling : 0n ,
378- currency : mockErc20Address [ devnet ] ,
378+ currency : mockErc20Address [ homer ] ,
379379 uri : "" ,
380380 } ,
381381 licensingConfig : {
@@ -392,7 +392,7 @@ describe("IP Asset Functions ", () => {
392392 {
393393 terms : {
394394 transferable : true ,
395- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
395+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
396396 defaultMintingFee : 10000n ,
397397 expiration : 1000n ,
398398 commercialUse : true ,
@@ -406,7 +406,7 @@ describe("IP Asset Functions ", () => {
406406 derivativesApproval : false ,
407407 derivativesReciprocal : true ,
408408 derivativeRevCeiling : 0n ,
409- currency : mockErc20Address [ devnet ] ,
409+ currency : mockErc20Address [ homer ] ,
410410 uri : "test case" ,
411411 } ,
412412 licensingConfig : {
@@ -441,7 +441,7 @@ describe("IP Asset Functions ", () => {
441441 } ,
442442 } ) ;
443443 await approveForLicenseToken (
444- derivativeWorkflowsAddress [ devnet ] ,
444+ derivativeWorkflowsAddress [ homer ] ,
445445 mintLicenseTokensResult . licenseTokenIds ! [ 0 ] ,
446446 ) ;
447447 const result = await client . ipAsset . mintAndRegisterIpAndMakeDerivativeWithLicenseTokens ( {
@@ -474,7 +474,7 @@ describe("IP Asset Functions ", () => {
474474 } ,
475475 } ) ;
476476 await approveForLicenseToken (
477- derivativeWorkflowsAddress [ devnet ] ,
477+ derivativeWorkflowsAddress [ homer ] ,
478478 mintLicenseTokensResult . licenseTokenIds ! [ 0 ] ,
479479 ) ;
480480 const result = await client . ipAsset . registerIpAndMakeDerivativeWithLicenseTokens ( {
@@ -506,7 +506,7 @@ describe("IP Asset Functions ", () => {
506506 {
507507 terms : {
508508 transferable : true ,
509- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
509+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
510510 defaultMintingFee : 10000n ,
511511 expiration : 1000n ,
512512 commercialUse : true ,
@@ -520,7 +520,7 @@ describe("IP Asset Functions ", () => {
520520 derivativesApproval : false ,
521521 derivativesReciprocal : true ,
522522 derivativeRevCeiling : 0n ,
523- currency : mockErc20Address [ devnet ] ,
523+ currency : mockErc20Address [ homer ] ,
524524 uri : "test case" ,
525525 } ,
526526 licensingConfig : {
@@ -594,7 +594,7 @@ describe("IP Asset Functions ", () => {
594594 {
595595 terms : {
596596 transferable : true ,
597- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
597+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
598598 defaultMintingFee : 10000n ,
599599 expiration : 1000n ,
600600 commercialUse : true ,
@@ -608,7 +608,7 @@ describe("IP Asset Functions ", () => {
608608 derivativesApproval : false ,
609609 derivativesReciprocal : true ,
610610 derivativeRevCeiling : 0n ,
611- currency : mockErc20Address [ devnet ] ,
611+ currency : mockErc20Address [ homer ] ,
612612 uri : "test case" ,
613613 } ,
614614 licensingConfig : {
@@ -625,7 +625,7 @@ describe("IP Asset Functions ", () => {
625625 {
626626 terms : {
627627 transferable : false ,
628- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
628+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
629629 defaultMintingFee : 10000n ,
630630 expiration : 1000n ,
631631 commercialUse : true ,
@@ -639,7 +639,7 @@ describe("IP Asset Functions ", () => {
639639 derivativesApproval : false ,
640640 derivativesReciprocal : true ,
641641 derivativeRevCeiling : 0n ,
642- currency : mockErc20Address [ devnet ] ,
642+ currency : mockErc20Address [ homer ] ,
643643 uri : "test case" ,
644644 } ,
645645 licensingConfig : {
@@ -769,7 +769,7 @@ describe("IP Asset Functions ", () => {
769769 {
770770 terms : {
771771 transferable : true ,
772- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
772+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
773773 defaultMintingFee : 8n ,
774774 expiration : 0n ,
775775 commercialUse : true ,
@@ -783,7 +783,7 @@ describe("IP Asset Functions ", () => {
783783 derivativesApproval : false ,
784784 derivativesReciprocal : true ,
785785 derivativeRevCeiling : 0n ,
786- currency : mockErc20Address [ devnet ] ,
786+ currency : mockErc20Address [ homer ] ,
787787 uri : "" ,
788788 } ,
789789 licensingConfig : {
@@ -806,7 +806,7 @@ describe("IP Asset Functions ", () => {
806806 {
807807 terms : {
808808 transferable : true ,
809- royaltyPolicy : royaltyPolicyLapAddress [ devnet ] ,
809+ royaltyPolicy : royaltyPolicyLapAddress [ homer ] ,
810810 defaultMintingFee : 8n ,
811811 expiration : 0n ,
812812 commercialUse : true ,
@@ -820,7 +820,7 @@ describe("IP Asset Functions ", () => {
820820 derivativesApproval : false ,
821821 derivativesReciprocal : true ,
822822 derivativeRevCeiling : 0n ,
823- currency : mockErc20Address [ devnet ] ,
823+ currency : mockErc20Address [ homer ] ,
824824 uri : "" ,
825825 } ,
826826 licensingConfig : {
0 commit comments