@story-protocol/core-sdk 1.0.0-rc.17 → 1.0.0-rc.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -17943,6 +17943,22 @@ export declare const spgAbi: readonly [{
17943
17943
  readonly type: "error";
17944
17944
  readonly inputs: readonly [];
17945
17945
  readonly name: "NotInitializing";
17946
+ }, {
17947
+ readonly type: "error";
17948
+ readonly inputs: readonly [{
17949
+ readonly name: "tokenId";
17950
+ readonly internalType: "uint256";
17951
+ readonly type: "uint256";
17952
+ }, {
17953
+ readonly name: "caller";
17954
+ readonly internalType: "address";
17955
+ readonly type: "address";
17956
+ }, {
17957
+ readonly name: "actualTokenOwner";
17958
+ readonly internalType: "address";
17959
+ readonly type: "address";
17960
+ }];
17961
+ readonly name: "SPG__CallerAndNotTokenOwner";
17946
17962
  }, {
17947
17963
  readonly type: "error";
17948
17964
  readonly inputs: readonly [];
@@ -18179,22 +18195,22 @@ export declare const spgAbi: readonly [{
18179
18195
  readonly name: "recipient";
18180
18196
  readonly internalType: "address";
18181
18197
  readonly type: "address";
18182
- }, {
18183
- readonly name: "nftMetadata";
18184
- readonly internalType: "string";
18185
- readonly type: "string";
18186
18198
  }, {
18187
18199
  readonly name: "ipMetadata";
18188
18200
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18189
18201
  readonly type: "tuple";
18190
18202
  readonly components: readonly [{
18191
- readonly name: "metadataURI";
18203
+ readonly name: "ipMetadataURI";
18192
18204
  readonly internalType: "string";
18193
18205
  readonly type: "string";
18194
18206
  }, {
18195
- readonly name: "metadataHash";
18207
+ readonly name: "ipMetadataHash";
18196
18208
  readonly internalType: "bytes32";
18197
18209
  readonly type: "bytes32";
18210
+ }, {
18211
+ readonly name: "nftMetadataURI";
18212
+ readonly internalType: "string";
18213
+ readonly type: "string";
18198
18214
  }, {
18199
18215
  readonly name: "nftMetadataHash";
18200
18216
  readonly internalType: "bytes32";
@@ -18222,22 +18238,22 @@ export declare const spgAbi: readonly [{
18222
18238
  readonly name: "recipient";
18223
18239
  readonly internalType: "address";
18224
18240
  readonly type: "address";
18225
- }, {
18226
- readonly name: "nftMetadata";
18227
- readonly internalType: "string";
18228
- readonly type: "string";
18229
18241
  }, {
18230
18242
  readonly name: "ipMetadata";
18231
18243
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18232
18244
  readonly type: "tuple";
18233
18245
  readonly components: readonly [{
18234
- readonly name: "metadataURI";
18246
+ readonly name: "ipMetadataURI";
18235
18247
  readonly internalType: "string";
18236
18248
  readonly type: "string";
18237
18249
  }, {
18238
- readonly name: "metadataHash";
18250
+ readonly name: "ipMetadataHash";
18239
18251
  readonly internalType: "bytes32";
18240
18252
  readonly type: "bytes32";
18253
+ }, {
18254
+ readonly name: "nftMetadataURI";
18255
+ readonly internalType: "string";
18256
+ readonly type: "string";
18241
18257
  }, {
18242
18258
  readonly name: "nftMetadataHash";
18243
18259
  readonly internalType: "bytes32";
@@ -18256,7 +18272,7 @@ export declare const spgAbi: readonly [{
18256
18272
  readonly internalType: "address";
18257
18273
  readonly type: "address";
18258
18274
  }, {
18259
- readonly name: "mintingFee";
18275
+ readonly name: "defaultMintingFee";
18260
18276
  readonly internalType: "uint256";
18261
18277
  readonly type: "uint256";
18262
18278
  }, {
@@ -18284,7 +18300,7 @@ export declare const spgAbi: readonly [{
18284
18300
  readonly internalType: "uint32";
18285
18301
  readonly type: "uint32";
18286
18302
  }, {
18287
- readonly name: "commercialRevCelling";
18303
+ readonly name: "commercialRevCeiling";
18288
18304
  readonly internalType: "uint256";
18289
18305
  readonly type: "uint256";
18290
18306
  }, {
@@ -18304,7 +18320,7 @@ export declare const spgAbi: readonly [{
18304
18320
  readonly internalType: "bool";
18305
18321
  readonly type: "bool";
18306
18322
  }, {
18307
- readonly name: "derivativeRevCelling";
18323
+ readonly name: "derivativeRevCeiling";
18308
18324
  readonly internalType: "uint256";
18309
18325
  readonly type: "uint256";
18310
18326
  }, {
@@ -18359,22 +18375,22 @@ export declare const spgAbi: readonly [{
18359
18375
  readonly internalType: "bytes";
18360
18376
  readonly type: "bytes";
18361
18377
  }];
18362
- }, {
18363
- readonly name: "nftMetadata";
18364
- readonly internalType: "string";
18365
- readonly type: "string";
18366
18378
  }, {
18367
18379
  readonly name: "ipMetadata";
18368
18380
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18369
18381
  readonly type: "tuple";
18370
18382
  readonly components: readonly [{
18371
- readonly name: "metadataURI";
18383
+ readonly name: "ipMetadataURI";
18372
18384
  readonly internalType: "string";
18373
18385
  readonly type: "string";
18374
18386
  }, {
18375
- readonly name: "metadataHash";
18387
+ readonly name: "ipMetadataHash";
18376
18388
  readonly internalType: "bytes32";
18377
18389
  readonly type: "bytes32";
18390
+ }, {
18391
+ readonly name: "nftMetadataURI";
18392
+ readonly internalType: "string";
18393
+ readonly type: "string";
18378
18394
  }, {
18379
18395
  readonly name: "nftMetadataHash";
18380
18396
  readonly internalType: "bytes32";
@@ -18410,22 +18426,22 @@ export declare const spgAbi: readonly [{
18410
18426
  readonly name: "royaltyContext";
18411
18427
  readonly internalType: "bytes";
18412
18428
  readonly type: "bytes";
18413
- }, {
18414
- readonly name: "nftMetadata";
18415
- readonly internalType: "string";
18416
- readonly type: "string";
18417
18429
  }, {
18418
18430
  readonly name: "ipMetadata";
18419
18431
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18420
18432
  readonly type: "tuple";
18421
18433
  readonly components: readonly [{
18422
- readonly name: "metadataURI";
18434
+ readonly name: "ipMetadataURI";
18423
18435
  readonly internalType: "string";
18424
18436
  readonly type: "string";
18425
18437
  }, {
18426
- readonly name: "metadataHash";
18438
+ readonly name: "ipMetadataHash";
18427
18439
  readonly internalType: "bytes32";
18428
18440
  readonly type: "bytes32";
18441
+ }, {
18442
+ readonly name: "nftMetadataURI";
18443
+ readonly internalType: "string";
18444
+ readonly type: "string";
18429
18445
  }, {
18430
18446
  readonly name: "nftMetadataHash";
18431
18447
  readonly internalType: "bytes32";
@@ -18447,6 +18463,32 @@ export declare const spgAbi: readonly [{
18447
18463
  readonly type: "uint256";
18448
18464
  }];
18449
18465
  readonly stateMutability: "nonpayable";
18466
+ }, {
18467
+ readonly type: "function";
18468
+ readonly inputs: readonly [{
18469
+ readonly name: "";
18470
+ readonly internalType: "address";
18471
+ readonly type: "address";
18472
+ }, {
18473
+ readonly name: "";
18474
+ readonly internalType: "address";
18475
+ readonly type: "address";
18476
+ }, {
18477
+ readonly name: "";
18478
+ readonly internalType: "uint256";
18479
+ readonly type: "uint256";
18480
+ }, {
18481
+ readonly name: "";
18482
+ readonly internalType: "bytes";
18483
+ readonly type: "bytes";
18484
+ }];
18485
+ readonly name: "onERC721Received";
18486
+ readonly outputs: readonly [{
18487
+ readonly name: "";
18488
+ readonly internalType: "bytes4";
18489
+ readonly type: "bytes4";
18490
+ }];
18491
+ readonly stateMutability: "nonpayable";
18450
18492
  }, {
18451
18493
  readonly type: "function";
18452
18494
  readonly inputs: readonly [];
@@ -18472,13 +18514,17 @@ export declare const spgAbi: readonly [{
18472
18514
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18473
18515
  readonly type: "tuple";
18474
18516
  readonly components: readonly [{
18475
- readonly name: "metadataURI";
18517
+ readonly name: "ipMetadataURI";
18476
18518
  readonly internalType: "string";
18477
18519
  readonly type: "string";
18478
18520
  }, {
18479
- readonly name: "metadataHash";
18521
+ readonly name: "ipMetadataHash";
18480
18522
  readonly internalType: "bytes32";
18481
18523
  readonly type: "bytes32";
18524
+ }, {
18525
+ readonly name: "nftMetadataURI";
18526
+ readonly internalType: "string";
18527
+ readonly type: "string";
18482
18528
  }, {
18483
18529
  readonly name: "nftMetadataHash";
18484
18530
  readonly internalType: "bytes32";
@@ -18524,13 +18570,17 @@ export declare const spgAbi: readonly [{
18524
18570
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18525
18571
  readonly type: "tuple";
18526
18572
  readonly components: readonly [{
18527
- readonly name: "metadataURI";
18573
+ readonly name: "ipMetadataURI";
18528
18574
  readonly internalType: "string";
18529
18575
  readonly type: "string";
18530
18576
  }, {
18531
- readonly name: "metadataHash";
18577
+ readonly name: "ipMetadataHash";
18532
18578
  readonly internalType: "bytes32";
18533
18579
  readonly type: "bytes32";
18580
+ }, {
18581
+ readonly name: "nftMetadataURI";
18582
+ readonly internalType: "string";
18583
+ readonly type: "string";
18534
18584
  }, {
18535
18585
  readonly name: "nftMetadataHash";
18536
18586
  readonly internalType: "bytes32";
@@ -18549,7 +18599,7 @@ export declare const spgAbi: readonly [{
18549
18599
  readonly internalType: "address";
18550
18600
  readonly type: "address";
18551
18601
  }, {
18552
- readonly name: "mintingFee";
18602
+ readonly name: "defaultMintingFee";
18553
18603
  readonly internalType: "uint256";
18554
18604
  readonly type: "uint256";
18555
18605
  }, {
@@ -18577,7 +18627,7 @@ export declare const spgAbi: readonly [{
18577
18627
  readonly internalType: "uint32";
18578
18628
  readonly type: "uint32";
18579
18629
  }, {
18580
- readonly name: "commercialRevCelling";
18630
+ readonly name: "commercialRevCeiling";
18581
18631
  readonly internalType: "uint256";
18582
18632
  readonly type: "uint256";
18583
18633
  }, {
@@ -18597,7 +18647,7 @@ export declare const spgAbi: readonly [{
18597
18647
  readonly internalType: "bool";
18598
18648
  readonly type: "bool";
18599
18649
  }, {
18600
- readonly name: "derivativeRevCelling";
18650
+ readonly name: "derivativeRevCeiling";
18601
18651
  readonly internalType: "uint256";
18602
18652
  readonly type: "uint256";
18603
18653
  }, {
@@ -18691,13 +18741,17 @@ export declare const spgAbi: readonly [{
18691
18741
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18692
18742
  readonly type: "tuple";
18693
18743
  readonly components: readonly [{
18694
- readonly name: "metadataURI";
18744
+ readonly name: "ipMetadataURI";
18695
18745
  readonly internalType: "string";
18696
18746
  readonly type: "string";
18697
18747
  }, {
18698
- readonly name: "metadataHash";
18748
+ readonly name: "ipMetadataHash";
18699
18749
  readonly internalType: "bytes32";
18700
18750
  readonly type: "bytes32";
18751
+ }, {
18752
+ readonly name: "nftMetadataURI";
18753
+ readonly internalType: "string";
18754
+ readonly type: "string";
18701
18755
  }, {
18702
18756
  readonly name: "nftMetadataHash";
18703
18757
  readonly internalType: "bytes32";
@@ -18768,13 +18822,17 @@ export declare const spgAbi: readonly [{
18768
18822
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18769
18823
  readonly type: "tuple";
18770
18824
  readonly components: readonly [{
18771
- readonly name: "metadataURI";
18825
+ readonly name: "ipMetadataURI";
18772
18826
  readonly internalType: "string";
18773
18827
  readonly type: "string";
18774
18828
  }, {
18775
- readonly name: "metadataHash";
18829
+ readonly name: "ipMetadataHash";
18776
18830
  readonly internalType: "bytes32";
18777
18831
  readonly type: "bytes32";
18832
+ }, {
18833
+ readonly name: "nftMetadataURI";
18834
+ readonly internalType: "string";
18835
+ readonly type: "string";
18778
18836
  }, {
18779
18837
  readonly name: "nftMetadataHash";
18780
18838
  readonly internalType: "bytes32";
@@ -18841,7 +18899,7 @@ export declare const spgAbi: readonly [{
18841
18899
  readonly internalType: "address";
18842
18900
  readonly type: "address";
18843
18901
  }, {
18844
- readonly name: "mintingFee";
18902
+ readonly name: "defaultMintingFee";
18845
18903
  readonly internalType: "uint256";
18846
18904
  readonly type: "uint256";
18847
18905
  }, {
@@ -18869,7 +18927,7 @@ export declare const spgAbi: readonly [{
18869
18927
  readonly internalType: "uint32";
18870
18928
  readonly type: "uint32";
18871
18929
  }, {
18872
- readonly name: "commercialRevCelling";
18930
+ readonly name: "commercialRevCeiling";
18873
18931
  readonly internalType: "uint256";
18874
18932
  readonly type: "uint256";
18875
18933
  }, {
@@ -18889,7 +18947,7 @@ export declare const spgAbi: readonly [{
18889
18947
  readonly internalType: "bool";
18890
18948
  readonly type: "bool";
18891
18949
  }, {
18892
- readonly name: "derivativeRevCelling";
18950
+ readonly name: "derivativeRevCeiling";
18893
18951
  readonly internalType: "uint256";
18894
18952
  readonly type: "uint256";
18895
18953
  }, {
@@ -19071,6 +19129,22 @@ export declare const spgConfig: {
19071
19129
  readonly type: "error";
19072
19130
  readonly inputs: readonly [];
19073
19131
  readonly name: "NotInitializing";
19132
+ }, {
19133
+ readonly type: "error";
19134
+ readonly inputs: readonly [{
19135
+ readonly name: "tokenId";
19136
+ readonly internalType: "uint256";
19137
+ readonly type: "uint256";
19138
+ }, {
19139
+ readonly name: "caller";
19140
+ readonly internalType: "address";
19141
+ readonly type: "address";
19142
+ }, {
19143
+ readonly name: "actualTokenOwner";
19144
+ readonly internalType: "address";
19145
+ readonly type: "address";
19146
+ }];
19147
+ readonly name: "SPG__CallerAndNotTokenOwner";
19074
19148
  }, {
19075
19149
  readonly type: "error";
19076
19150
  readonly inputs: readonly [];
@@ -19307,22 +19381,22 @@ export declare const spgConfig: {
19307
19381
  readonly name: "recipient";
19308
19382
  readonly internalType: "address";
19309
19383
  readonly type: "address";
19310
- }, {
19311
- readonly name: "nftMetadata";
19312
- readonly internalType: "string";
19313
- readonly type: "string";
19314
19384
  }, {
19315
19385
  readonly name: "ipMetadata";
19316
19386
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19317
19387
  readonly type: "tuple";
19318
19388
  readonly components: readonly [{
19319
- readonly name: "metadataURI";
19389
+ readonly name: "ipMetadataURI";
19320
19390
  readonly internalType: "string";
19321
19391
  readonly type: "string";
19322
19392
  }, {
19323
- readonly name: "metadataHash";
19393
+ readonly name: "ipMetadataHash";
19324
19394
  readonly internalType: "bytes32";
19325
19395
  readonly type: "bytes32";
19396
+ }, {
19397
+ readonly name: "nftMetadataURI";
19398
+ readonly internalType: "string";
19399
+ readonly type: "string";
19326
19400
  }, {
19327
19401
  readonly name: "nftMetadataHash";
19328
19402
  readonly internalType: "bytes32";
@@ -19350,22 +19424,22 @@ export declare const spgConfig: {
19350
19424
  readonly name: "recipient";
19351
19425
  readonly internalType: "address";
19352
19426
  readonly type: "address";
19353
- }, {
19354
- readonly name: "nftMetadata";
19355
- readonly internalType: "string";
19356
- readonly type: "string";
19357
19427
  }, {
19358
19428
  readonly name: "ipMetadata";
19359
19429
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19360
19430
  readonly type: "tuple";
19361
19431
  readonly components: readonly [{
19362
- readonly name: "metadataURI";
19432
+ readonly name: "ipMetadataURI";
19363
19433
  readonly internalType: "string";
19364
19434
  readonly type: "string";
19365
19435
  }, {
19366
- readonly name: "metadataHash";
19436
+ readonly name: "ipMetadataHash";
19367
19437
  readonly internalType: "bytes32";
19368
19438
  readonly type: "bytes32";
19439
+ }, {
19440
+ readonly name: "nftMetadataURI";
19441
+ readonly internalType: "string";
19442
+ readonly type: "string";
19369
19443
  }, {
19370
19444
  readonly name: "nftMetadataHash";
19371
19445
  readonly internalType: "bytes32";
@@ -19384,7 +19458,7 @@ export declare const spgConfig: {
19384
19458
  readonly internalType: "address";
19385
19459
  readonly type: "address";
19386
19460
  }, {
19387
- readonly name: "mintingFee";
19461
+ readonly name: "defaultMintingFee";
19388
19462
  readonly internalType: "uint256";
19389
19463
  readonly type: "uint256";
19390
19464
  }, {
@@ -19412,7 +19486,7 @@ export declare const spgConfig: {
19412
19486
  readonly internalType: "uint32";
19413
19487
  readonly type: "uint32";
19414
19488
  }, {
19415
- readonly name: "commercialRevCelling";
19489
+ readonly name: "commercialRevCeiling";
19416
19490
  readonly internalType: "uint256";
19417
19491
  readonly type: "uint256";
19418
19492
  }, {
@@ -19432,7 +19506,7 @@ export declare const spgConfig: {
19432
19506
  readonly internalType: "bool";
19433
19507
  readonly type: "bool";
19434
19508
  }, {
19435
- readonly name: "derivativeRevCelling";
19509
+ readonly name: "derivativeRevCeiling";
19436
19510
  readonly internalType: "uint256";
19437
19511
  readonly type: "uint256";
19438
19512
  }, {
@@ -19487,22 +19561,22 @@ export declare const spgConfig: {
19487
19561
  readonly internalType: "bytes";
19488
19562
  readonly type: "bytes";
19489
19563
  }];
19490
- }, {
19491
- readonly name: "nftMetadata";
19492
- readonly internalType: "string";
19493
- readonly type: "string";
19494
19564
  }, {
19495
19565
  readonly name: "ipMetadata";
19496
19566
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19497
19567
  readonly type: "tuple";
19498
19568
  readonly components: readonly [{
19499
- readonly name: "metadataURI";
19569
+ readonly name: "ipMetadataURI";
19500
19570
  readonly internalType: "string";
19501
19571
  readonly type: "string";
19502
19572
  }, {
19503
- readonly name: "metadataHash";
19573
+ readonly name: "ipMetadataHash";
19504
19574
  readonly internalType: "bytes32";
19505
19575
  readonly type: "bytes32";
19576
+ }, {
19577
+ readonly name: "nftMetadataURI";
19578
+ readonly internalType: "string";
19579
+ readonly type: "string";
19506
19580
  }, {
19507
19581
  readonly name: "nftMetadataHash";
19508
19582
  readonly internalType: "bytes32";
@@ -19538,22 +19612,22 @@ export declare const spgConfig: {
19538
19612
  readonly name: "royaltyContext";
19539
19613
  readonly internalType: "bytes";
19540
19614
  readonly type: "bytes";
19541
- }, {
19542
- readonly name: "nftMetadata";
19543
- readonly internalType: "string";
19544
- readonly type: "string";
19545
19615
  }, {
19546
19616
  readonly name: "ipMetadata";
19547
19617
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19548
19618
  readonly type: "tuple";
19549
19619
  readonly components: readonly [{
19550
- readonly name: "metadataURI";
19620
+ readonly name: "ipMetadataURI";
19551
19621
  readonly internalType: "string";
19552
19622
  readonly type: "string";
19553
19623
  }, {
19554
- readonly name: "metadataHash";
19624
+ readonly name: "ipMetadataHash";
19555
19625
  readonly internalType: "bytes32";
19556
19626
  readonly type: "bytes32";
19627
+ }, {
19628
+ readonly name: "nftMetadataURI";
19629
+ readonly internalType: "string";
19630
+ readonly type: "string";
19557
19631
  }, {
19558
19632
  readonly name: "nftMetadataHash";
19559
19633
  readonly internalType: "bytes32";
@@ -19575,6 +19649,32 @@ export declare const spgConfig: {
19575
19649
  readonly type: "uint256";
19576
19650
  }];
19577
19651
  readonly stateMutability: "nonpayable";
19652
+ }, {
19653
+ readonly type: "function";
19654
+ readonly inputs: readonly [{
19655
+ readonly name: "";
19656
+ readonly internalType: "address";
19657
+ readonly type: "address";
19658
+ }, {
19659
+ readonly name: "";
19660
+ readonly internalType: "address";
19661
+ readonly type: "address";
19662
+ }, {
19663
+ readonly name: "";
19664
+ readonly internalType: "uint256";
19665
+ readonly type: "uint256";
19666
+ }, {
19667
+ readonly name: "";
19668
+ readonly internalType: "bytes";
19669
+ readonly type: "bytes";
19670
+ }];
19671
+ readonly name: "onERC721Received";
19672
+ readonly outputs: readonly [{
19673
+ readonly name: "";
19674
+ readonly internalType: "bytes4";
19675
+ readonly type: "bytes4";
19676
+ }];
19677
+ readonly stateMutability: "nonpayable";
19578
19678
  }, {
19579
19679
  readonly type: "function";
19580
19680
  readonly inputs: readonly [];
@@ -19600,13 +19700,17 @@ export declare const spgConfig: {
19600
19700
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19601
19701
  readonly type: "tuple";
19602
19702
  readonly components: readonly [{
19603
- readonly name: "metadataURI";
19703
+ readonly name: "ipMetadataURI";
19604
19704
  readonly internalType: "string";
19605
19705
  readonly type: "string";
19606
19706
  }, {
19607
- readonly name: "metadataHash";
19707
+ readonly name: "ipMetadataHash";
19608
19708
  readonly internalType: "bytes32";
19609
19709
  readonly type: "bytes32";
19710
+ }, {
19711
+ readonly name: "nftMetadataURI";
19712
+ readonly internalType: "string";
19713
+ readonly type: "string";
19610
19714
  }, {
19611
19715
  readonly name: "nftMetadataHash";
19612
19716
  readonly internalType: "bytes32";
@@ -19652,13 +19756,17 @@ export declare const spgConfig: {
19652
19756
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19653
19757
  readonly type: "tuple";
19654
19758
  readonly components: readonly [{
19655
- readonly name: "metadataURI";
19759
+ readonly name: "ipMetadataURI";
19656
19760
  readonly internalType: "string";
19657
19761
  readonly type: "string";
19658
19762
  }, {
19659
- readonly name: "metadataHash";
19763
+ readonly name: "ipMetadataHash";
19660
19764
  readonly internalType: "bytes32";
19661
19765
  readonly type: "bytes32";
19766
+ }, {
19767
+ readonly name: "nftMetadataURI";
19768
+ readonly internalType: "string";
19769
+ readonly type: "string";
19662
19770
  }, {
19663
19771
  readonly name: "nftMetadataHash";
19664
19772
  readonly internalType: "bytes32";
@@ -19677,7 +19785,7 @@ export declare const spgConfig: {
19677
19785
  readonly internalType: "address";
19678
19786
  readonly type: "address";
19679
19787
  }, {
19680
- readonly name: "mintingFee";
19788
+ readonly name: "defaultMintingFee";
19681
19789
  readonly internalType: "uint256";
19682
19790
  readonly type: "uint256";
19683
19791
  }, {
@@ -19705,7 +19813,7 @@ export declare const spgConfig: {
19705
19813
  readonly internalType: "uint32";
19706
19814
  readonly type: "uint32";
19707
19815
  }, {
19708
- readonly name: "commercialRevCelling";
19816
+ readonly name: "commercialRevCeiling";
19709
19817
  readonly internalType: "uint256";
19710
19818
  readonly type: "uint256";
19711
19819
  }, {
@@ -19725,7 +19833,7 @@ export declare const spgConfig: {
19725
19833
  readonly internalType: "bool";
19726
19834
  readonly type: "bool";
19727
19835
  }, {
19728
- readonly name: "derivativeRevCelling";
19836
+ readonly name: "derivativeRevCeiling";
19729
19837
  readonly internalType: "uint256";
19730
19838
  readonly type: "uint256";
19731
19839
  }, {
@@ -19819,13 +19927,17 @@ export declare const spgConfig: {
19819
19927
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19820
19928
  readonly type: "tuple";
19821
19929
  readonly components: readonly [{
19822
- readonly name: "metadataURI";
19930
+ readonly name: "ipMetadataURI";
19823
19931
  readonly internalType: "string";
19824
19932
  readonly type: "string";
19825
19933
  }, {
19826
- readonly name: "metadataHash";
19934
+ readonly name: "ipMetadataHash";
19827
19935
  readonly internalType: "bytes32";
19828
19936
  readonly type: "bytes32";
19937
+ }, {
19938
+ readonly name: "nftMetadataURI";
19939
+ readonly internalType: "string";
19940
+ readonly type: "string";
19829
19941
  }, {
19830
19942
  readonly name: "nftMetadataHash";
19831
19943
  readonly internalType: "bytes32";
@@ -19896,13 +20008,17 @@ export declare const spgConfig: {
19896
20008
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19897
20009
  readonly type: "tuple";
19898
20010
  readonly components: readonly [{
19899
- readonly name: "metadataURI";
20011
+ readonly name: "ipMetadataURI";
19900
20012
  readonly internalType: "string";
19901
20013
  readonly type: "string";
19902
20014
  }, {
19903
- readonly name: "metadataHash";
20015
+ readonly name: "ipMetadataHash";
19904
20016
  readonly internalType: "bytes32";
19905
20017
  readonly type: "bytes32";
20018
+ }, {
20019
+ readonly name: "nftMetadataURI";
20020
+ readonly internalType: "string";
20021
+ readonly type: "string";
19906
20022
  }, {
19907
20023
  readonly name: "nftMetadataHash";
19908
20024
  readonly internalType: "bytes32";
@@ -19969,7 +20085,7 @@ export declare const spgConfig: {
19969
20085
  readonly internalType: "address";
19970
20086
  readonly type: "address";
19971
20087
  }, {
19972
- readonly name: "mintingFee";
20088
+ readonly name: "defaultMintingFee";
19973
20089
  readonly internalType: "uint256";
19974
20090
  readonly type: "uint256";
19975
20091
  }, {
@@ -19997,7 +20113,7 @@ export declare const spgConfig: {
19997
20113
  readonly internalType: "uint32";
19998
20114
  readonly type: "uint32";
19999
20115
  }, {
20000
- readonly name: "commercialRevCelling";
20116
+ readonly name: "commercialRevCeiling";
20001
20117
  readonly internalType: "uint256";
20002
20118
  readonly type: "uint256";
20003
20119
  }, {
@@ -20017,7 +20133,7 @@ export declare const spgConfig: {
20017
20133
  readonly internalType: "bool";
20018
20134
  readonly type: "bool";
20019
20135
  }, {
20020
- readonly name: "derivativeRevCelling";
20136
+ readonly name: "derivativeRevCeiling";
20021
20137
  readonly internalType: "uint256";
20022
20138
  readonly type: "uint256";
20023
20139
  }, {
@@ -24625,16 +24741,15 @@ export type SpgCreateCollectionRequest = {
24625
24741
  *
24626
24742
  * @param nftContract address
24627
24743
  * @param recipient address
24628
- * @param nftMetadata string
24629
24744
  * @param ipMetadata tuple
24630
24745
  */
24631
24746
  export type SpgMintAndRegisterIpRequest = {
24632
24747
  nftContract: Address;
24633
24748
  recipient: Address;
24634
- nftMetadata: string;
24635
24749
  ipMetadata: {
24636
- metadataURI: string;
24637
- metadataHash: Hex;
24750
+ ipMetadataURI: string;
24751
+ ipMetadataHash: Hex;
24752
+ nftMetadataURI: string;
24638
24753
  nftMetadataHash: Hex;
24639
24754
  };
24640
24755
  };
@@ -24643,35 +24758,34 @@ export type SpgMintAndRegisterIpRequest = {
24643
24758
  *
24644
24759
  * @param nftContract address
24645
24760
  * @param recipient address
24646
- * @param nftMetadata string
24647
24761
  * @param ipMetadata tuple
24648
24762
  * @param terms tuple
24649
24763
  */
24650
24764
  export type SpgMintAndRegisterIpAndAttachPilTermsRequest = {
24651
24765
  nftContract: Address;
24652
24766
  recipient: Address;
24653
- nftMetadata: string;
24654
24767
  ipMetadata: {
24655
- metadataURI: string;
24656
- metadataHash: Hex;
24768
+ ipMetadataURI: string;
24769
+ ipMetadataHash: Hex;
24770
+ nftMetadataURI: string;
24657
24771
  nftMetadataHash: Hex;
24658
24772
  };
24659
24773
  terms: {
24660
24774
  transferable: boolean;
24661
24775
  royaltyPolicy: Address;
24662
- mintingFee: bigint;
24776
+ defaultMintingFee: bigint;
24663
24777
  expiration: bigint;
24664
24778
  commercialUse: boolean;
24665
24779
  commercialAttribution: boolean;
24666
24780
  commercializerChecker: Address;
24667
24781
  commercializerCheckerData: Hex;
24668
24782
  commercialRevShare: number;
24669
- commercialRevCelling: bigint;
24783
+ commercialRevCeiling: bigint;
24670
24784
  derivativesAllowed: boolean;
24671
24785
  derivativesAttribution: boolean;
24672
24786
  derivativesApproval: boolean;
24673
24787
  derivativesReciprocal: boolean;
24674
- derivativeRevCelling: bigint;
24788
+ derivativeRevCeiling: bigint;
24675
24789
  currency: Address;
24676
24790
  uri: string;
24677
24791
  };
@@ -24681,7 +24795,6 @@ export type SpgMintAndRegisterIpAndAttachPilTermsRequest = {
24681
24795
  *
24682
24796
  * @param nftContract address
24683
24797
  * @param derivData tuple
24684
- * @param nftMetadata string
24685
24798
  * @param ipMetadata tuple
24686
24799
  * @param recipient address
24687
24800
  */
@@ -24693,10 +24806,10 @@ export type SpgMintAndRegisterIpAndMakeDerivativeRequest = {
24693
24806
  licenseTermsIds: readonly bigint[];
24694
24807
  royaltyContext: Hex;
24695
24808
  };
24696
- nftMetadata: string;
24697
24809
  ipMetadata: {
24698
- metadataURI: string;
24699
- metadataHash: Hex;
24810
+ ipMetadataURI: string;
24811
+ ipMetadataHash: Hex;
24812
+ nftMetadataURI: string;
24700
24813
  nftMetadataHash: Hex;
24701
24814
  };
24702
24815
  recipient: Address;
@@ -24707,7 +24820,6 @@ export type SpgMintAndRegisterIpAndMakeDerivativeRequest = {
24707
24820
  * @param nftContract address
24708
24821
  * @param licenseTokenIds uint256[]
24709
24822
  * @param royaltyContext bytes
24710
- * @param nftMetadata string
24711
24823
  * @param ipMetadata tuple
24712
24824
  * @param recipient address
24713
24825
  */
@@ -24715,10 +24827,10 @@ export type SpgMintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
24715
24827
  nftContract: Address;
24716
24828
  licenseTokenIds: readonly bigint[];
24717
24829
  royaltyContext: Hex;
24718
- nftMetadata: string;
24719
24830
  ipMetadata: {
24720
- metadataURI: string;
24721
- metadataHash: Hex;
24831
+ ipMetadataURI: string;
24832
+ ipMetadataHash: Hex;
24833
+ nftMetadataURI: string;
24722
24834
  nftMetadataHash: Hex;
24723
24835
  };
24724
24836
  recipient: Address;
@@ -24735,8 +24847,9 @@ export type SpgRegisterIpRequest = {
24735
24847
  nftContract: Address;
24736
24848
  tokenId: bigint;
24737
24849
  ipMetadata: {
24738
- metadataURI: string;
24739
- metadataHash: Hex;
24850
+ ipMetadataURI: string;
24851
+ ipMetadataHash: Hex;
24852
+ nftMetadataURI: string;
24740
24853
  nftMetadataHash: Hex;
24741
24854
  };
24742
24855
  sigMetadata: {
@@ -24759,26 +24872,27 @@ export type SpgRegisterIpAndAttachPilTermsRequest = {
24759
24872
  nftContract: Address;
24760
24873
  tokenId: bigint;
24761
24874
  ipMetadata: {
24762
- metadataURI: string;
24763
- metadataHash: Hex;
24875
+ ipMetadataURI: string;
24876
+ ipMetadataHash: Hex;
24877
+ nftMetadataURI: string;
24764
24878
  nftMetadataHash: Hex;
24765
24879
  };
24766
24880
  terms: {
24767
24881
  transferable: boolean;
24768
24882
  royaltyPolicy: Address;
24769
- mintingFee: bigint;
24883
+ defaultMintingFee: bigint;
24770
24884
  expiration: bigint;
24771
24885
  commercialUse: boolean;
24772
24886
  commercialAttribution: boolean;
24773
24887
  commercializerChecker: Address;
24774
24888
  commercializerCheckerData: Hex;
24775
24889
  commercialRevShare: number;
24776
- commercialRevCelling: bigint;
24890
+ commercialRevCeiling: bigint;
24777
24891
  derivativesAllowed: boolean;
24778
24892
  derivativesAttribution: boolean;
24779
24893
  derivativesApproval: boolean;
24780
24894
  derivativesReciprocal: boolean;
24781
- derivativeRevCelling: bigint;
24895
+ derivativeRevCeiling: bigint;
24782
24896
  currency: Address;
24783
24897
  uri: string;
24784
24898
  };
@@ -24813,8 +24927,9 @@ export type SpgRegisterIpAndMakeDerivativeRequest = {
24813
24927
  royaltyContext: Hex;
24814
24928
  };
24815
24929
  ipMetadata: {
24816
- metadataURI: string;
24817
- metadataHash: Hex;
24930
+ ipMetadataURI: string;
24931
+ ipMetadataHash: Hex;
24932
+ nftMetadataURI: string;
24818
24933
  nftMetadataHash: Hex;
24819
24934
  };
24820
24935
  sigMetadata: {
@@ -24845,8 +24960,9 @@ export type SpgRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
24845
24960
  licenseTokenIds: readonly bigint[];
24846
24961
  royaltyContext: Hex;
24847
24962
  ipMetadata: {
24848
- metadataURI: string;
24849
- metadataHash: Hex;
24963
+ ipMetadataURI: string;
24964
+ ipMetadataHash: Hex;
24965
+ nftMetadataURI: string;
24850
24966
  nftMetadataHash: Hex;
24851
24967
  };
24852
24968
  sigMetadata: {
@@ -24871,19 +24987,19 @@ export type SpgRegisterPilTermsAndAttachRequest = {
24871
24987
  terms: {
24872
24988
  transferable: boolean;
24873
24989
  royaltyPolicy: Address;
24874
- mintingFee: bigint;
24990
+ defaultMintingFee: bigint;
24875
24991
  expiration: bigint;
24876
24992
  commercialUse: boolean;
24877
24993
  commercialAttribution: boolean;
24878
24994
  commercializerChecker: Address;
24879
24995
  commercializerCheckerData: Hex;
24880
24996
  commercialRevShare: number;
24881
- commercialRevCelling: bigint;
24997
+ commercialRevCeiling: bigint;
24882
24998
  derivativesAllowed: boolean;
24883
24999
  derivativesAttribution: boolean;
24884
25000
  derivativesApproval: boolean;
24885
25001
  derivativesReciprocal: boolean;
24886
- derivativeRevCelling: bigint;
25002
+ derivativeRevCeiling: bigint;
24887
25003
  currency: Address;
24888
25004
  uri: string;
24889
25005
  };
@@ -25051,6 +25167,135 @@ export declare class SpgClient extends SpgEventClient {
25051
25167
  */
25052
25168
  registerPilTermsAndAttachEncode(request: SpgRegisterPilTermsAndAttachRequest): EncodedTxData;
25053
25169
  }
25170
+ /**
25171
+ * SpgnftBeaconOwnershipTransferredEvent
25172
+ *
25173
+ * @param previousOwner address
25174
+ * @param newOwner address
25175
+ */
25176
+ export type SpgnftBeaconOwnershipTransferredEvent = {
25177
+ previousOwner: Address;
25178
+ newOwner: Address;
25179
+ };
25180
+ /**
25181
+ * SpgnftBeaconUpgradedEvent
25182
+ *
25183
+ * @param implementation address
25184
+ */
25185
+ export type SpgnftBeaconUpgradedEvent = {
25186
+ implementation: Address;
25187
+ };
25188
+ export type SpgnftBeaconImplementationResponse = Address;
25189
+ export type SpgnftBeaconOwnerResponse = Address;
25190
+ /**
25191
+ * SpgnftBeaconTransferOwnershipRequest
25192
+ *
25193
+ * @param newOwner address
25194
+ */
25195
+ export type SpgnftBeaconTransferOwnershipRequest = {
25196
+ newOwner: Address;
25197
+ };
25198
+ /**
25199
+ * SpgnftBeaconUpgradeToRequest
25200
+ *
25201
+ * @param newImplementation address
25202
+ */
25203
+ export type SpgnftBeaconUpgradeToRequest = {
25204
+ newImplementation: Address;
25205
+ };
25206
+ /**
25207
+ * contract SPGNFTBeacon event
25208
+ */
25209
+ export declare class SpgnftBeaconEventClient {
25210
+ protected readonly rpcClient: PublicClient;
25211
+ readonly address: Address;
25212
+ constructor(rpcClient: PublicClient, address?: Address);
25213
+ /**
25214
+ * event OwnershipTransferred for contract SPGNFTBeacon
25215
+ */
25216
+ watchOwnershipTransferredEvent(onLogs: (txHash: Hex, ev: Partial<SpgnftBeaconOwnershipTransferredEvent>) => void): WatchContractEventReturnType;
25217
+ /**
25218
+ * parse tx receipt event OwnershipTransferred for contract SPGNFTBeacon
25219
+ */
25220
+ parseTxOwnershipTransferredEvent(txReceipt: TransactionReceipt): Array<SpgnftBeaconOwnershipTransferredEvent>;
25221
+ /**
25222
+ * event Upgraded for contract SPGNFTBeacon
25223
+ */
25224
+ watchUpgradedEvent(onLogs: (txHash: Hex, ev: Partial<SpgnftBeaconUpgradedEvent>) => void): WatchContractEventReturnType;
25225
+ /**
25226
+ * parse tx receipt event Upgraded for contract SPGNFTBeacon
25227
+ */
25228
+ parseTxUpgradedEvent(txReceipt: TransactionReceipt): Array<SpgnftBeaconUpgradedEvent>;
25229
+ }
25230
+ /**
25231
+ * contract SPGNFTBeacon readonly method
25232
+ */
25233
+ export declare class SpgnftBeaconReadOnlyClient extends SpgnftBeaconEventClient {
25234
+ constructor(rpcClient: PublicClient, address?: Address);
25235
+ /**
25236
+ * method implementation for contract SPGNFTBeacon
25237
+ *
25238
+ * @param request SpgnftBeaconImplementationRequest
25239
+ * @return Promise<SpgnftBeaconImplementationResponse>
25240
+ */
25241
+ implementation(): Promise<SpgnftBeaconImplementationResponse>;
25242
+ /**
25243
+ * method owner for contract SPGNFTBeacon
25244
+ *
25245
+ * @param request SpgnftBeaconOwnerRequest
25246
+ * @return Promise<SpgnftBeaconOwnerResponse>
25247
+ */
25248
+ owner(): Promise<SpgnftBeaconOwnerResponse>;
25249
+ }
25250
+ /**
25251
+ * contract SPGNFTBeacon write method
25252
+ */
25253
+ export declare class SpgnftBeaconClient extends SpgnftBeaconReadOnlyClient {
25254
+ protected readonly wallet: SimpleWalletClient;
25255
+ constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
25256
+ /**
25257
+ * method renounceOwnership for contract SPGNFTBeacon
25258
+ *
25259
+ * @param request SpgnftBeaconRenounceOwnershipRequest
25260
+ * @return Promise<WriteContractReturnType>
25261
+ */
25262
+ renounceOwnership(): Promise<WriteContractReturnType>;
25263
+ /**
25264
+ * method renounceOwnership for contract SPGNFTBeacon with only encode
25265
+ *
25266
+ * @param request SpgnftBeaconRenounceOwnershipRequest
25267
+ * @return EncodedTxData
25268
+ */
25269
+ renounceOwnershipEncode(): EncodedTxData;
25270
+ /**
25271
+ * method transferOwnership for contract SPGNFTBeacon
25272
+ *
25273
+ * @param request SpgnftBeaconTransferOwnershipRequest
25274
+ * @return Promise<WriteContractReturnType>
25275
+ */
25276
+ transferOwnership(request: SpgnftBeaconTransferOwnershipRequest): Promise<WriteContractReturnType>;
25277
+ /**
25278
+ * method transferOwnership for contract SPGNFTBeacon with only encode
25279
+ *
25280
+ * @param request SpgnftBeaconTransferOwnershipRequest
25281
+ * @return EncodedTxData
25282
+ */
25283
+ transferOwnershipEncode(request: SpgnftBeaconTransferOwnershipRequest): EncodedTxData;
25284
+ /**
25285
+ * method upgradeTo for contract SPGNFTBeacon
25286
+ *
25287
+ * @param request SpgnftBeaconUpgradeToRequest
25288
+ * @return Promise<WriteContractReturnType>
25289
+ */
25290
+ upgradeTo(request: SpgnftBeaconUpgradeToRequest): Promise<WriteContractReturnType>;
25291
+ /**
25292
+ * method upgradeTo for contract SPGNFTBeacon with only encode
25293
+ *
25294
+ * @param request SpgnftBeaconUpgradeToRequest
25295
+ * @return EncodedTxData
25296
+ */
25297
+ upgradeToEncode(request: SpgnftBeaconUpgradeToRequest): EncodedTxData;
25298
+ }
25054
25299
  /**
25055
25300
  * SpgnftImplApprovalEvent
25056
25301
  *