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

Sign up to get free protection for your applications and to get access to all the features.
@@ -18195,22 +18195,22 @@ export declare const spgAbi: readonly [{
18195
18195
  readonly name: "recipient";
18196
18196
  readonly internalType: "address";
18197
18197
  readonly type: "address";
18198
- }, {
18199
- readonly name: "nftMetadata";
18200
- readonly internalType: "string";
18201
- readonly type: "string";
18202
18198
  }, {
18203
18199
  readonly name: "ipMetadata";
18204
18200
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18205
18201
  readonly type: "tuple";
18206
18202
  readonly components: readonly [{
18207
- readonly name: "metadataURI";
18203
+ readonly name: "ipMetadataURI";
18208
18204
  readonly internalType: "string";
18209
18205
  readonly type: "string";
18210
18206
  }, {
18211
- readonly name: "metadataHash";
18207
+ readonly name: "ipMetadataHash";
18212
18208
  readonly internalType: "bytes32";
18213
18209
  readonly type: "bytes32";
18210
+ }, {
18211
+ readonly name: "nftMetadataURI";
18212
+ readonly internalType: "string";
18213
+ readonly type: "string";
18214
18214
  }, {
18215
18215
  readonly name: "nftMetadataHash";
18216
18216
  readonly internalType: "bytes32";
@@ -18238,22 +18238,22 @@ export declare const spgAbi: readonly [{
18238
18238
  readonly name: "recipient";
18239
18239
  readonly internalType: "address";
18240
18240
  readonly type: "address";
18241
- }, {
18242
- readonly name: "nftMetadata";
18243
- readonly internalType: "string";
18244
- readonly type: "string";
18245
18241
  }, {
18246
18242
  readonly name: "ipMetadata";
18247
18243
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18248
18244
  readonly type: "tuple";
18249
18245
  readonly components: readonly [{
18250
- readonly name: "metadataURI";
18246
+ readonly name: "ipMetadataURI";
18251
18247
  readonly internalType: "string";
18252
18248
  readonly type: "string";
18253
18249
  }, {
18254
- readonly name: "metadataHash";
18250
+ readonly name: "ipMetadataHash";
18255
18251
  readonly internalType: "bytes32";
18256
18252
  readonly type: "bytes32";
18253
+ }, {
18254
+ readonly name: "nftMetadataURI";
18255
+ readonly internalType: "string";
18256
+ readonly type: "string";
18257
18257
  }, {
18258
18258
  readonly name: "nftMetadataHash";
18259
18259
  readonly internalType: "bytes32";
@@ -18375,22 +18375,22 @@ export declare const spgAbi: readonly [{
18375
18375
  readonly internalType: "bytes";
18376
18376
  readonly type: "bytes";
18377
18377
  }];
18378
- }, {
18379
- readonly name: "nftMetadata";
18380
- readonly internalType: "string";
18381
- readonly type: "string";
18382
18378
  }, {
18383
18379
  readonly name: "ipMetadata";
18384
18380
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18385
18381
  readonly type: "tuple";
18386
18382
  readonly components: readonly [{
18387
- readonly name: "metadataURI";
18383
+ readonly name: "ipMetadataURI";
18388
18384
  readonly internalType: "string";
18389
18385
  readonly type: "string";
18390
18386
  }, {
18391
- readonly name: "metadataHash";
18387
+ readonly name: "ipMetadataHash";
18392
18388
  readonly internalType: "bytes32";
18393
18389
  readonly type: "bytes32";
18390
+ }, {
18391
+ readonly name: "nftMetadataURI";
18392
+ readonly internalType: "string";
18393
+ readonly type: "string";
18394
18394
  }, {
18395
18395
  readonly name: "nftMetadataHash";
18396
18396
  readonly internalType: "bytes32";
@@ -18426,22 +18426,22 @@ export declare const spgAbi: readonly [{
18426
18426
  readonly name: "royaltyContext";
18427
18427
  readonly internalType: "bytes";
18428
18428
  readonly type: "bytes";
18429
- }, {
18430
- readonly name: "nftMetadata";
18431
- readonly internalType: "string";
18432
- readonly type: "string";
18433
18429
  }, {
18434
18430
  readonly name: "ipMetadata";
18435
18431
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18436
18432
  readonly type: "tuple";
18437
18433
  readonly components: readonly [{
18438
- readonly name: "metadataURI";
18434
+ readonly name: "ipMetadataURI";
18439
18435
  readonly internalType: "string";
18440
18436
  readonly type: "string";
18441
18437
  }, {
18442
- readonly name: "metadataHash";
18438
+ readonly name: "ipMetadataHash";
18443
18439
  readonly internalType: "bytes32";
18444
18440
  readonly type: "bytes32";
18441
+ }, {
18442
+ readonly name: "nftMetadataURI";
18443
+ readonly internalType: "string";
18444
+ readonly type: "string";
18445
18445
  }, {
18446
18446
  readonly name: "nftMetadataHash";
18447
18447
  readonly internalType: "bytes32";
@@ -18514,13 +18514,17 @@ export declare const spgAbi: readonly [{
18514
18514
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18515
18515
  readonly type: "tuple";
18516
18516
  readonly components: readonly [{
18517
- readonly name: "metadataURI";
18517
+ readonly name: "ipMetadataURI";
18518
18518
  readonly internalType: "string";
18519
18519
  readonly type: "string";
18520
18520
  }, {
18521
- readonly name: "metadataHash";
18521
+ readonly name: "ipMetadataHash";
18522
18522
  readonly internalType: "bytes32";
18523
18523
  readonly type: "bytes32";
18524
+ }, {
18525
+ readonly name: "nftMetadataURI";
18526
+ readonly internalType: "string";
18527
+ readonly type: "string";
18524
18528
  }, {
18525
18529
  readonly name: "nftMetadataHash";
18526
18530
  readonly internalType: "bytes32";
@@ -18566,13 +18570,17 @@ export declare const spgAbi: readonly [{
18566
18570
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18567
18571
  readonly type: "tuple";
18568
18572
  readonly components: readonly [{
18569
- readonly name: "metadataURI";
18573
+ readonly name: "ipMetadataURI";
18570
18574
  readonly internalType: "string";
18571
18575
  readonly type: "string";
18572
18576
  }, {
18573
- readonly name: "metadataHash";
18577
+ readonly name: "ipMetadataHash";
18574
18578
  readonly internalType: "bytes32";
18575
18579
  readonly type: "bytes32";
18580
+ }, {
18581
+ readonly name: "nftMetadataURI";
18582
+ readonly internalType: "string";
18583
+ readonly type: "string";
18576
18584
  }, {
18577
18585
  readonly name: "nftMetadataHash";
18578
18586
  readonly internalType: "bytes32";
@@ -18733,13 +18741,17 @@ export declare const spgAbi: readonly [{
18733
18741
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18734
18742
  readonly type: "tuple";
18735
18743
  readonly components: readonly [{
18736
- readonly name: "metadataURI";
18744
+ readonly name: "ipMetadataURI";
18737
18745
  readonly internalType: "string";
18738
18746
  readonly type: "string";
18739
18747
  }, {
18740
- readonly name: "metadataHash";
18748
+ readonly name: "ipMetadataHash";
18741
18749
  readonly internalType: "bytes32";
18742
18750
  readonly type: "bytes32";
18751
+ }, {
18752
+ readonly name: "nftMetadataURI";
18753
+ readonly internalType: "string";
18754
+ readonly type: "string";
18743
18755
  }, {
18744
18756
  readonly name: "nftMetadataHash";
18745
18757
  readonly internalType: "bytes32";
@@ -18810,13 +18822,17 @@ export declare const spgAbi: readonly [{
18810
18822
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
18811
18823
  readonly type: "tuple";
18812
18824
  readonly components: readonly [{
18813
- readonly name: "metadataURI";
18825
+ readonly name: "ipMetadataURI";
18814
18826
  readonly internalType: "string";
18815
18827
  readonly type: "string";
18816
18828
  }, {
18817
- readonly name: "metadataHash";
18829
+ readonly name: "ipMetadataHash";
18818
18830
  readonly internalType: "bytes32";
18819
18831
  readonly type: "bytes32";
18832
+ }, {
18833
+ readonly name: "nftMetadataURI";
18834
+ readonly internalType: "string";
18835
+ readonly type: "string";
18820
18836
  }, {
18821
18837
  readonly name: "nftMetadataHash";
18822
18838
  readonly internalType: "bytes32";
@@ -19365,22 +19381,22 @@ export declare const spgConfig: {
19365
19381
  readonly name: "recipient";
19366
19382
  readonly internalType: "address";
19367
19383
  readonly type: "address";
19368
- }, {
19369
- readonly name: "nftMetadata";
19370
- readonly internalType: "string";
19371
- readonly type: "string";
19372
19384
  }, {
19373
19385
  readonly name: "ipMetadata";
19374
19386
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19375
19387
  readonly type: "tuple";
19376
19388
  readonly components: readonly [{
19377
- readonly name: "metadataURI";
19389
+ readonly name: "ipMetadataURI";
19378
19390
  readonly internalType: "string";
19379
19391
  readonly type: "string";
19380
19392
  }, {
19381
- readonly name: "metadataHash";
19393
+ readonly name: "ipMetadataHash";
19382
19394
  readonly internalType: "bytes32";
19383
19395
  readonly type: "bytes32";
19396
+ }, {
19397
+ readonly name: "nftMetadataURI";
19398
+ readonly internalType: "string";
19399
+ readonly type: "string";
19384
19400
  }, {
19385
19401
  readonly name: "nftMetadataHash";
19386
19402
  readonly internalType: "bytes32";
@@ -19408,22 +19424,22 @@ export declare const spgConfig: {
19408
19424
  readonly name: "recipient";
19409
19425
  readonly internalType: "address";
19410
19426
  readonly type: "address";
19411
- }, {
19412
- readonly name: "nftMetadata";
19413
- readonly internalType: "string";
19414
- readonly type: "string";
19415
19427
  }, {
19416
19428
  readonly name: "ipMetadata";
19417
19429
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19418
19430
  readonly type: "tuple";
19419
19431
  readonly components: readonly [{
19420
- readonly name: "metadataURI";
19432
+ readonly name: "ipMetadataURI";
19421
19433
  readonly internalType: "string";
19422
19434
  readonly type: "string";
19423
19435
  }, {
19424
- readonly name: "metadataHash";
19436
+ readonly name: "ipMetadataHash";
19425
19437
  readonly internalType: "bytes32";
19426
19438
  readonly type: "bytes32";
19439
+ }, {
19440
+ readonly name: "nftMetadataURI";
19441
+ readonly internalType: "string";
19442
+ readonly type: "string";
19427
19443
  }, {
19428
19444
  readonly name: "nftMetadataHash";
19429
19445
  readonly internalType: "bytes32";
@@ -19545,22 +19561,22 @@ export declare const spgConfig: {
19545
19561
  readonly internalType: "bytes";
19546
19562
  readonly type: "bytes";
19547
19563
  }];
19548
- }, {
19549
- readonly name: "nftMetadata";
19550
- readonly internalType: "string";
19551
- readonly type: "string";
19552
19564
  }, {
19553
19565
  readonly name: "ipMetadata";
19554
19566
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19555
19567
  readonly type: "tuple";
19556
19568
  readonly components: readonly [{
19557
- readonly name: "metadataURI";
19569
+ readonly name: "ipMetadataURI";
19558
19570
  readonly internalType: "string";
19559
19571
  readonly type: "string";
19560
19572
  }, {
19561
- readonly name: "metadataHash";
19573
+ readonly name: "ipMetadataHash";
19562
19574
  readonly internalType: "bytes32";
19563
19575
  readonly type: "bytes32";
19576
+ }, {
19577
+ readonly name: "nftMetadataURI";
19578
+ readonly internalType: "string";
19579
+ readonly type: "string";
19564
19580
  }, {
19565
19581
  readonly name: "nftMetadataHash";
19566
19582
  readonly internalType: "bytes32";
@@ -19596,22 +19612,22 @@ export declare const spgConfig: {
19596
19612
  readonly name: "royaltyContext";
19597
19613
  readonly internalType: "bytes";
19598
19614
  readonly type: "bytes";
19599
- }, {
19600
- readonly name: "nftMetadata";
19601
- readonly internalType: "string";
19602
- readonly type: "string";
19603
19615
  }, {
19604
19616
  readonly name: "ipMetadata";
19605
19617
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19606
19618
  readonly type: "tuple";
19607
19619
  readonly components: readonly [{
19608
- readonly name: "metadataURI";
19620
+ readonly name: "ipMetadataURI";
19609
19621
  readonly internalType: "string";
19610
19622
  readonly type: "string";
19611
19623
  }, {
19612
- readonly name: "metadataHash";
19624
+ readonly name: "ipMetadataHash";
19613
19625
  readonly internalType: "bytes32";
19614
19626
  readonly type: "bytes32";
19627
+ }, {
19628
+ readonly name: "nftMetadataURI";
19629
+ readonly internalType: "string";
19630
+ readonly type: "string";
19615
19631
  }, {
19616
19632
  readonly name: "nftMetadataHash";
19617
19633
  readonly internalType: "bytes32";
@@ -19684,13 +19700,17 @@ export declare const spgConfig: {
19684
19700
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19685
19701
  readonly type: "tuple";
19686
19702
  readonly components: readonly [{
19687
- readonly name: "metadataURI";
19703
+ readonly name: "ipMetadataURI";
19688
19704
  readonly internalType: "string";
19689
19705
  readonly type: "string";
19690
19706
  }, {
19691
- readonly name: "metadataHash";
19707
+ readonly name: "ipMetadataHash";
19692
19708
  readonly internalType: "bytes32";
19693
19709
  readonly type: "bytes32";
19710
+ }, {
19711
+ readonly name: "nftMetadataURI";
19712
+ readonly internalType: "string";
19713
+ readonly type: "string";
19694
19714
  }, {
19695
19715
  readonly name: "nftMetadataHash";
19696
19716
  readonly internalType: "bytes32";
@@ -19736,13 +19756,17 @@ export declare const spgConfig: {
19736
19756
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19737
19757
  readonly type: "tuple";
19738
19758
  readonly components: readonly [{
19739
- readonly name: "metadataURI";
19759
+ readonly name: "ipMetadataURI";
19740
19760
  readonly internalType: "string";
19741
19761
  readonly type: "string";
19742
19762
  }, {
19743
- readonly name: "metadataHash";
19763
+ readonly name: "ipMetadataHash";
19744
19764
  readonly internalType: "bytes32";
19745
19765
  readonly type: "bytes32";
19766
+ }, {
19767
+ readonly name: "nftMetadataURI";
19768
+ readonly internalType: "string";
19769
+ readonly type: "string";
19746
19770
  }, {
19747
19771
  readonly name: "nftMetadataHash";
19748
19772
  readonly internalType: "bytes32";
@@ -19903,13 +19927,17 @@ export declare const spgConfig: {
19903
19927
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19904
19928
  readonly type: "tuple";
19905
19929
  readonly components: readonly [{
19906
- readonly name: "metadataURI";
19930
+ readonly name: "ipMetadataURI";
19907
19931
  readonly internalType: "string";
19908
19932
  readonly type: "string";
19909
19933
  }, {
19910
- readonly name: "metadataHash";
19934
+ readonly name: "ipMetadataHash";
19911
19935
  readonly internalType: "bytes32";
19912
19936
  readonly type: "bytes32";
19937
+ }, {
19938
+ readonly name: "nftMetadataURI";
19939
+ readonly internalType: "string";
19940
+ readonly type: "string";
19913
19941
  }, {
19914
19942
  readonly name: "nftMetadataHash";
19915
19943
  readonly internalType: "bytes32";
@@ -19980,13 +20008,17 @@ export declare const spgConfig: {
19980
20008
  readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
19981
20009
  readonly type: "tuple";
19982
20010
  readonly components: readonly [{
19983
- readonly name: "metadataURI";
20011
+ readonly name: "ipMetadataURI";
19984
20012
  readonly internalType: "string";
19985
20013
  readonly type: "string";
19986
20014
  }, {
19987
- readonly name: "metadataHash";
20015
+ readonly name: "ipMetadataHash";
19988
20016
  readonly internalType: "bytes32";
19989
20017
  readonly type: "bytes32";
20018
+ }, {
20019
+ readonly name: "nftMetadataURI";
20020
+ readonly internalType: "string";
20021
+ readonly type: "string";
19990
20022
  }, {
19991
20023
  readonly name: "nftMetadataHash";
19992
20024
  readonly internalType: "bytes32";
@@ -24709,16 +24741,15 @@ export type SpgCreateCollectionRequest = {
24709
24741
  *
24710
24742
  * @param nftContract address
24711
24743
  * @param recipient address
24712
- * @param nftMetadata string
24713
24744
  * @param ipMetadata tuple
24714
24745
  */
24715
24746
  export type SpgMintAndRegisterIpRequest = {
24716
24747
  nftContract: Address;
24717
24748
  recipient: Address;
24718
- nftMetadata: string;
24719
24749
  ipMetadata: {
24720
- metadataURI: string;
24721
- metadataHash: Hex;
24750
+ ipMetadataURI: string;
24751
+ ipMetadataHash: Hex;
24752
+ nftMetadataURI: string;
24722
24753
  nftMetadataHash: Hex;
24723
24754
  };
24724
24755
  };
@@ -24727,17 +24758,16 @@ export type SpgMintAndRegisterIpRequest = {
24727
24758
  *
24728
24759
  * @param nftContract address
24729
24760
  * @param recipient address
24730
- * @param nftMetadata string
24731
24761
  * @param ipMetadata tuple
24732
24762
  * @param terms tuple
24733
24763
  */
24734
24764
  export type SpgMintAndRegisterIpAndAttachPilTermsRequest = {
24735
24765
  nftContract: Address;
24736
24766
  recipient: Address;
24737
- nftMetadata: string;
24738
24767
  ipMetadata: {
24739
- metadataURI: string;
24740
- metadataHash: Hex;
24768
+ ipMetadataURI: string;
24769
+ ipMetadataHash: Hex;
24770
+ nftMetadataURI: string;
24741
24771
  nftMetadataHash: Hex;
24742
24772
  };
24743
24773
  terms: {
@@ -24765,7 +24795,6 @@ export type SpgMintAndRegisterIpAndAttachPilTermsRequest = {
24765
24795
  *
24766
24796
  * @param nftContract address
24767
24797
  * @param derivData tuple
24768
- * @param nftMetadata string
24769
24798
  * @param ipMetadata tuple
24770
24799
  * @param recipient address
24771
24800
  */
@@ -24777,10 +24806,10 @@ export type SpgMintAndRegisterIpAndMakeDerivativeRequest = {
24777
24806
  licenseTermsIds: readonly bigint[];
24778
24807
  royaltyContext: Hex;
24779
24808
  };
24780
- nftMetadata: string;
24781
24809
  ipMetadata: {
24782
- metadataURI: string;
24783
- metadataHash: Hex;
24810
+ ipMetadataURI: string;
24811
+ ipMetadataHash: Hex;
24812
+ nftMetadataURI: string;
24784
24813
  nftMetadataHash: Hex;
24785
24814
  };
24786
24815
  recipient: Address;
@@ -24791,7 +24820,6 @@ export type SpgMintAndRegisterIpAndMakeDerivativeRequest = {
24791
24820
  * @param nftContract address
24792
24821
  * @param licenseTokenIds uint256[]
24793
24822
  * @param royaltyContext bytes
24794
- * @param nftMetadata string
24795
24823
  * @param ipMetadata tuple
24796
24824
  * @param recipient address
24797
24825
  */
@@ -24799,10 +24827,10 @@ export type SpgMintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
24799
24827
  nftContract: Address;
24800
24828
  licenseTokenIds: readonly bigint[];
24801
24829
  royaltyContext: Hex;
24802
- nftMetadata: string;
24803
24830
  ipMetadata: {
24804
- metadataURI: string;
24805
- metadataHash: Hex;
24831
+ ipMetadataURI: string;
24832
+ ipMetadataHash: Hex;
24833
+ nftMetadataURI: string;
24806
24834
  nftMetadataHash: Hex;
24807
24835
  };
24808
24836
  recipient: Address;
@@ -24819,8 +24847,9 @@ export type SpgRegisterIpRequest = {
24819
24847
  nftContract: Address;
24820
24848
  tokenId: bigint;
24821
24849
  ipMetadata: {
24822
- metadataURI: string;
24823
- metadataHash: Hex;
24850
+ ipMetadataURI: string;
24851
+ ipMetadataHash: Hex;
24852
+ nftMetadataURI: string;
24824
24853
  nftMetadataHash: Hex;
24825
24854
  };
24826
24855
  sigMetadata: {
@@ -24843,8 +24872,9 @@ export type SpgRegisterIpAndAttachPilTermsRequest = {
24843
24872
  nftContract: Address;
24844
24873
  tokenId: bigint;
24845
24874
  ipMetadata: {
24846
- metadataURI: string;
24847
- metadataHash: Hex;
24875
+ ipMetadataURI: string;
24876
+ ipMetadataHash: Hex;
24877
+ nftMetadataURI: string;
24848
24878
  nftMetadataHash: Hex;
24849
24879
  };
24850
24880
  terms: {
@@ -24897,8 +24927,9 @@ export type SpgRegisterIpAndMakeDerivativeRequest = {
24897
24927
  royaltyContext: Hex;
24898
24928
  };
24899
24929
  ipMetadata: {
24900
- metadataURI: string;
24901
- metadataHash: Hex;
24930
+ ipMetadataURI: string;
24931
+ ipMetadataHash: Hex;
24932
+ nftMetadataURI: string;
24902
24933
  nftMetadataHash: Hex;
24903
24934
  };
24904
24935
  sigMetadata: {
@@ -24929,8 +24960,9 @@ export type SpgRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
24929
24960
  licenseTokenIds: readonly bigint[];
24930
24961
  royaltyContext: Hex;
24931
24962
  ipMetadata: {
24932
- metadataURI: string;
24933
- metadataHash: Hex;
24963
+ ipMetadataURI: string;
24964
+ ipMetadataHash: Hex;
24965
+ nftMetadataURI: string;
24934
24966
  nftMetadataHash: Hex;
24935
24967
  };
24936
24968
  sigMetadata: {