@story-protocol/core-sdk 1.0.0-rc.21 → 1.0.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/declarations/src/abi/generated.d.ts +300 -3
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +4 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +3 -1
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +11 -4
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +17 -40
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +37 -9
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts +5 -5
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +4 -5
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts +3 -5
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +5 -0
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +26 -0
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +18 -7
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/utils/chain.d.ts +34 -0
- package/dist/declarations/src/utils/chain.d.ts.map +1 -0
- package/dist/declarations/src/utils/sign.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +1781 -1200
- package/dist/story-protocol-core-sdk.cjs.prod.js +1781 -1200
- package/dist/story-protocol-core-sdk.esm.js +1781 -1201
- package/package.json +1 -1
@@ -6099,6 +6099,10 @@ export declare const ipRoyaltyVaultImplAbi: readonly [{
|
|
6099
6099
|
readonly type: "error";
|
6100
6100
|
readonly inputs: readonly [];
|
6101
6101
|
readonly name: "IpRoyaltyVault__EnforcedPause";
|
6102
|
+
}, {
|
6103
|
+
readonly type: "error";
|
6104
|
+
readonly inputs: readonly [];
|
6105
|
+
readonly name: "IpRoyaltyVault__IpGraphCallFailed";
|
6102
6106
|
}, {
|
6103
6107
|
readonly type: "error";
|
6104
6108
|
readonly inputs: readonly [];
|
@@ -6778,6 +6782,10 @@ export declare const ipRoyaltyVaultImplConfig: {
|
|
6778
6782
|
readonly type: "error";
|
6779
6783
|
readonly inputs: readonly [];
|
6780
6784
|
readonly name: "IpRoyaltyVault__EnforcedPause";
|
6785
|
+
}, {
|
6786
|
+
readonly type: "error";
|
6787
|
+
readonly inputs: readonly [];
|
6788
|
+
readonly name: "IpRoyaltyVault__IpGraphCallFailed";
|
6781
6789
|
}, {
|
6782
6790
|
readonly type: "error";
|
6783
6791
|
readonly inputs: readonly [];
|
@@ -7434,6 +7442,10 @@ export declare const licenseRegistryAbi: readonly [{
|
|
7434
7442
|
readonly name: "disputeModule";
|
7435
7443
|
readonly internalType: "address";
|
7436
7444
|
readonly type: "address";
|
7445
|
+
}, {
|
7446
|
+
readonly name: "ipGraphAcl";
|
7447
|
+
readonly internalType: "address";
|
7448
|
+
readonly type: "address";
|
7437
7449
|
}];
|
7438
7450
|
readonly stateMutability: "nonpayable";
|
7439
7451
|
}, {
|
@@ -7492,6 +7504,18 @@ export declare const licenseRegistryAbi: readonly [{
|
|
7492
7504
|
readonly type: "error";
|
7493
7505
|
readonly inputs: readonly [];
|
7494
7506
|
readonly name: "InvalidInitialization";
|
7507
|
+
}, {
|
7508
|
+
readonly type: "error";
|
7509
|
+
readonly inputs: readonly [{
|
7510
|
+
readonly name: "childIpId";
|
7511
|
+
readonly internalType: "address";
|
7512
|
+
readonly type: "address";
|
7513
|
+
}, {
|
7514
|
+
readonly name: "parentIpIds";
|
7515
|
+
readonly internalType: "address[]";
|
7516
|
+
readonly type: "address[]";
|
7517
|
+
}];
|
7518
|
+
readonly name: "LicenseRegistry__AddParentIpToIPGraphFailed";
|
7495
7519
|
}, {
|
7496
7520
|
readonly type: "error";
|
7497
7521
|
readonly inputs: readonly [];
|
@@ -7692,6 +7716,10 @@ export declare const licenseRegistryAbi: readonly [{
|
|
7692
7716
|
readonly type: "error";
|
7693
7717
|
readonly inputs: readonly [];
|
7694
7718
|
readonly name: "LicenseRegistry__ZeroDisputeModule";
|
7719
|
+
}, {
|
7720
|
+
readonly type: "error";
|
7721
|
+
readonly inputs: readonly [];
|
7722
|
+
readonly name: "LicenseRegistry__ZeroIPGraphACL";
|
7695
7723
|
}, {
|
7696
7724
|
readonly type: "error";
|
7697
7725
|
readonly inputs: readonly [];
|
@@ -7874,6 +7902,16 @@ export declare const licenseRegistryAbi: readonly [{
|
|
7874
7902
|
readonly type: "bytes32";
|
7875
7903
|
}];
|
7876
7904
|
readonly stateMutability: "view";
|
7905
|
+
}, {
|
7906
|
+
readonly type: "function";
|
7907
|
+
readonly inputs: readonly [];
|
7908
|
+
readonly name: "IP_GRAPH_ACL";
|
7909
|
+
readonly outputs: readonly [{
|
7910
|
+
readonly name: "";
|
7911
|
+
readonly internalType: "contract IPGraphACL";
|
7912
|
+
readonly type: "address";
|
7913
|
+
}];
|
7914
|
+
readonly stateMutability: "view";
|
7877
7915
|
}, {
|
7878
7916
|
readonly type: "function";
|
7879
7917
|
readonly inputs: readonly [];
|
@@ -8454,6 +8492,10 @@ export declare const licenseRegistryConfig: {
|
|
8454
8492
|
readonly name: "disputeModule";
|
8455
8493
|
readonly internalType: "address";
|
8456
8494
|
readonly type: "address";
|
8495
|
+
}, {
|
8496
|
+
readonly name: "ipGraphAcl";
|
8497
|
+
readonly internalType: "address";
|
8498
|
+
readonly type: "address";
|
8457
8499
|
}];
|
8458
8500
|
readonly stateMutability: "nonpayable";
|
8459
8501
|
}, {
|
@@ -8512,6 +8554,18 @@ export declare const licenseRegistryConfig: {
|
|
8512
8554
|
readonly type: "error";
|
8513
8555
|
readonly inputs: readonly [];
|
8514
8556
|
readonly name: "InvalidInitialization";
|
8557
|
+
}, {
|
8558
|
+
readonly type: "error";
|
8559
|
+
readonly inputs: readonly [{
|
8560
|
+
readonly name: "childIpId";
|
8561
|
+
readonly internalType: "address";
|
8562
|
+
readonly type: "address";
|
8563
|
+
}, {
|
8564
|
+
readonly name: "parentIpIds";
|
8565
|
+
readonly internalType: "address[]";
|
8566
|
+
readonly type: "address[]";
|
8567
|
+
}];
|
8568
|
+
readonly name: "LicenseRegistry__AddParentIpToIPGraphFailed";
|
8515
8569
|
}, {
|
8516
8570
|
readonly type: "error";
|
8517
8571
|
readonly inputs: readonly [];
|
@@ -8712,6 +8766,10 @@ export declare const licenseRegistryConfig: {
|
|
8712
8766
|
readonly type: "error";
|
8713
8767
|
readonly inputs: readonly [];
|
8714
8768
|
readonly name: "LicenseRegistry__ZeroDisputeModule";
|
8769
|
+
}, {
|
8770
|
+
readonly type: "error";
|
8771
|
+
readonly inputs: readonly [];
|
8772
|
+
readonly name: "LicenseRegistry__ZeroIPGraphACL";
|
8715
8773
|
}, {
|
8716
8774
|
readonly type: "error";
|
8717
8775
|
readonly inputs: readonly [];
|
@@ -8894,6 +8952,16 @@ export declare const licenseRegistryConfig: {
|
|
8894
8952
|
readonly type: "bytes32";
|
8895
8953
|
}];
|
8896
8954
|
readonly stateMutability: "view";
|
8955
|
+
}, {
|
8956
|
+
readonly type: "function";
|
8957
|
+
readonly inputs: readonly [];
|
8958
|
+
readonly name: "IP_GRAPH_ACL";
|
8959
|
+
readonly outputs: readonly [{
|
8960
|
+
readonly name: "";
|
8961
|
+
readonly internalType: "contract IPGraphACL";
|
8962
|
+
readonly type: "address";
|
8963
|
+
}];
|
8964
|
+
readonly stateMutability: "view";
|
8897
8965
|
}, {
|
8898
8966
|
readonly type: "function";
|
8899
8967
|
readonly inputs: readonly [];
|
@@ -16716,6 +16784,10 @@ export declare const royaltyPolicyLapAbi: readonly [{
|
|
16716
16784
|
readonly name: "licensingModule";
|
16717
16785
|
readonly internalType: "address";
|
16718
16786
|
readonly type: "address";
|
16787
|
+
}, {
|
16788
|
+
readonly name: "ipGraphAcl";
|
16789
|
+
readonly internalType: "address";
|
16790
|
+
readonly type: "address";
|
16719
16791
|
}];
|
16720
16792
|
readonly stateMutability: "nonpayable";
|
16721
16793
|
}, {
|
@@ -16826,6 +16898,10 @@ export declare const royaltyPolicyLapAbi: readonly [{
|
|
16826
16898
|
readonly type: "error";
|
16827
16899
|
readonly inputs: readonly [];
|
16828
16900
|
readonly name: "RoyaltyPolicyLAP__ZeroAccessManager";
|
16901
|
+
}, {
|
16902
|
+
readonly type: "error";
|
16903
|
+
readonly inputs: readonly [];
|
16904
|
+
readonly name: "RoyaltyPolicyLAP__ZeroIPGraphACL";
|
16829
16905
|
}, {
|
16830
16906
|
readonly type: "error";
|
16831
16907
|
readonly inputs: readonly [];
|
@@ -16963,6 +17039,16 @@ export declare const royaltyPolicyLapAbi: readonly [{
|
|
16963
17039
|
readonly indexed: true;
|
16964
17040
|
}];
|
16965
17041
|
readonly name: "Upgraded";
|
17042
|
+
}, {
|
17043
|
+
readonly type: "function";
|
17044
|
+
readonly inputs: readonly [];
|
17045
|
+
readonly name: "IP_GRAPH_ACL";
|
17046
|
+
readonly outputs: readonly [{
|
17047
|
+
readonly name: "";
|
17048
|
+
readonly internalType: "contract IPGraphACL";
|
17049
|
+
readonly type: "address";
|
17050
|
+
}];
|
17051
|
+
readonly stateMutability: "view";
|
16966
17052
|
}, {
|
16967
17053
|
readonly type: "function";
|
16968
17054
|
readonly inputs: readonly [];
|
@@ -17287,6 +17373,10 @@ export declare const royaltyPolicyLapConfig: {
|
|
17287
17373
|
readonly name: "licensingModule";
|
17288
17374
|
readonly internalType: "address";
|
17289
17375
|
readonly type: "address";
|
17376
|
+
}, {
|
17377
|
+
readonly name: "ipGraphAcl";
|
17378
|
+
readonly internalType: "address";
|
17379
|
+
readonly type: "address";
|
17290
17380
|
}];
|
17291
17381
|
readonly stateMutability: "nonpayable";
|
17292
17382
|
}, {
|
@@ -17397,6 +17487,10 @@ export declare const royaltyPolicyLapConfig: {
|
|
17397
17487
|
readonly type: "error";
|
17398
17488
|
readonly inputs: readonly [];
|
17399
17489
|
readonly name: "RoyaltyPolicyLAP__ZeroAccessManager";
|
17490
|
+
}, {
|
17491
|
+
readonly type: "error";
|
17492
|
+
readonly inputs: readonly [];
|
17493
|
+
readonly name: "RoyaltyPolicyLAP__ZeroIPGraphACL";
|
17400
17494
|
}, {
|
17401
17495
|
readonly type: "error";
|
17402
17496
|
readonly inputs: readonly [];
|
@@ -17534,6 +17628,16 @@ export declare const royaltyPolicyLapConfig: {
|
|
17534
17628
|
readonly indexed: true;
|
17535
17629
|
}];
|
17536
17630
|
readonly name: "Upgraded";
|
17631
|
+
}, {
|
17632
|
+
readonly type: "function";
|
17633
|
+
readonly inputs: readonly [];
|
17634
|
+
readonly name: "IP_GRAPH_ACL";
|
17635
|
+
readonly outputs: readonly [{
|
17636
|
+
readonly name: "";
|
17637
|
+
readonly internalType: "contract IPGraphACL";
|
17638
|
+
readonly type: "address";
|
17639
|
+
}];
|
17640
|
+
readonly stateMutability: "view";
|
17537
17641
|
}, {
|
17538
17642
|
readonly type: "function";
|
17539
17643
|
readonly inputs: readonly [];
|
@@ -18463,6 +18567,20 @@ export declare const spgAbi: readonly [{
|
|
18463
18567
|
readonly type: "uint256";
|
18464
18568
|
}];
|
18465
18569
|
readonly stateMutability: "nonpayable";
|
18570
|
+
}, {
|
18571
|
+
readonly type: "function";
|
18572
|
+
readonly inputs: readonly [{
|
18573
|
+
readonly name: "data";
|
18574
|
+
readonly internalType: "bytes[]";
|
18575
|
+
readonly type: "bytes[]";
|
18576
|
+
}];
|
18577
|
+
readonly name: "multicall";
|
18578
|
+
readonly outputs: readonly [{
|
18579
|
+
readonly name: "results";
|
18580
|
+
readonly internalType: "bytes[]";
|
18581
|
+
readonly type: "bytes[]";
|
18582
|
+
}];
|
18583
|
+
readonly stateMutability: "nonpayable";
|
18466
18584
|
}, {
|
18467
18585
|
readonly type: "function";
|
18468
18586
|
readonly inputs: readonly [{
|
@@ -19649,6 +19767,20 @@ export declare const spgConfig: {
|
|
19649
19767
|
readonly type: "uint256";
|
19650
19768
|
}];
|
19651
19769
|
readonly stateMutability: "nonpayable";
|
19770
|
+
}, {
|
19771
|
+
readonly type: "function";
|
19772
|
+
readonly inputs: readonly [{
|
19773
|
+
readonly name: "data";
|
19774
|
+
readonly internalType: "bytes[]";
|
19775
|
+
readonly type: "bytes[]";
|
19776
|
+
}];
|
19777
|
+
readonly name: "multicall";
|
19778
|
+
readonly outputs: readonly [{
|
19779
|
+
readonly name: "results";
|
19780
|
+
readonly internalType: "bytes[]";
|
19781
|
+
readonly type: "bytes[]";
|
19782
|
+
}];
|
19783
|
+
readonly stateMutability: "nonpayable";
|
19652
19784
|
}, {
|
19653
19785
|
readonly type: "function";
|
19654
19786
|
readonly inputs: readonly [{
|
@@ -20599,6 +20731,21 @@ export declare const spgnftImplAbi: readonly [{
|
|
20599
20731
|
readonly indexed: false;
|
20600
20732
|
}];
|
20601
20733
|
readonly name: "ApprovalForAll";
|
20734
|
+
}, {
|
20735
|
+
readonly type: "event";
|
20736
|
+
readonly anonymous: false;
|
20737
|
+
readonly inputs: readonly [{
|
20738
|
+
readonly name: "_fromTokenId";
|
20739
|
+
readonly internalType: "uint256";
|
20740
|
+
readonly type: "uint256";
|
20741
|
+
readonly indexed: false;
|
20742
|
+
}, {
|
20743
|
+
readonly name: "_toTokenId";
|
20744
|
+
readonly internalType: "uint256";
|
20745
|
+
readonly type: "uint256";
|
20746
|
+
readonly indexed: false;
|
20747
|
+
}];
|
20748
|
+
readonly name: "BatchMetadataUpdate";
|
20602
20749
|
}, {
|
20603
20750
|
readonly type: "event";
|
20604
20751
|
readonly anonymous: false;
|
@@ -20609,6 +20756,16 @@ export declare const spgnftImplAbi: readonly [{
|
|
20609
20756
|
readonly indexed: false;
|
20610
20757
|
}];
|
20611
20758
|
readonly name: "Initialized";
|
20759
|
+
}, {
|
20760
|
+
readonly type: "event";
|
20761
|
+
readonly anonymous: false;
|
20762
|
+
readonly inputs: readonly [{
|
20763
|
+
readonly name: "_tokenId";
|
20764
|
+
readonly internalType: "uint256";
|
20765
|
+
readonly type: "uint256";
|
20766
|
+
readonly indexed: false;
|
20767
|
+
}];
|
20768
|
+
readonly name: "MetadataUpdate";
|
20612
20769
|
}, {
|
20613
20770
|
readonly type: "event";
|
20614
20771
|
readonly anonymous: false;
|
@@ -20851,6 +21008,10 @@ export declare const spgnftImplAbi: readonly [{
|
|
20851
21008
|
readonly name: "to";
|
20852
21009
|
readonly internalType: "address";
|
20853
21010
|
readonly type: "address";
|
21011
|
+
}, {
|
21012
|
+
readonly name: "nftMetadataURI";
|
21013
|
+
readonly internalType: "string";
|
21014
|
+
readonly type: "string";
|
20854
21015
|
}];
|
20855
21016
|
readonly name: "mint";
|
20856
21017
|
readonly outputs: readonly [{
|
@@ -20869,6 +21030,10 @@ export declare const spgnftImplAbi: readonly [{
|
|
20869
21030
|
readonly name: "payer";
|
20870
21031
|
readonly internalType: "address";
|
20871
21032
|
readonly type: "address";
|
21033
|
+
}, {
|
21034
|
+
readonly name: "nftMetadataURI";
|
21035
|
+
readonly internalType: "string";
|
21036
|
+
readonly type: "string";
|
20872
21037
|
}];
|
20873
21038
|
readonly name: "mintBySPG";
|
20874
21039
|
readonly outputs: readonly [{
|
@@ -21281,6 +21446,21 @@ export declare const spgnftImplConfig: {
|
|
21281
21446
|
readonly indexed: false;
|
21282
21447
|
}];
|
21283
21448
|
readonly name: "ApprovalForAll";
|
21449
|
+
}, {
|
21450
|
+
readonly type: "event";
|
21451
|
+
readonly anonymous: false;
|
21452
|
+
readonly inputs: readonly [{
|
21453
|
+
readonly name: "_fromTokenId";
|
21454
|
+
readonly internalType: "uint256";
|
21455
|
+
readonly type: "uint256";
|
21456
|
+
readonly indexed: false;
|
21457
|
+
}, {
|
21458
|
+
readonly name: "_toTokenId";
|
21459
|
+
readonly internalType: "uint256";
|
21460
|
+
readonly type: "uint256";
|
21461
|
+
readonly indexed: false;
|
21462
|
+
}];
|
21463
|
+
readonly name: "BatchMetadataUpdate";
|
21284
21464
|
}, {
|
21285
21465
|
readonly type: "event";
|
21286
21466
|
readonly anonymous: false;
|
@@ -21291,6 +21471,16 @@ export declare const spgnftImplConfig: {
|
|
21291
21471
|
readonly indexed: false;
|
21292
21472
|
}];
|
21293
21473
|
readonly name: "Initialized";
|
21474
|
+
}, {
|
21475
|
+
readonly type: "event";
|
21476
|
+
readonly anonymous: false;
|
21477
|
+
readonly inputs: readonly [{
|
21478
|
+
readonly name: "_tokenId";
|
21479
|
+
readonly internalType: "uint256";
|
21480
|
+
readonly type: "uint256";
|
21481
|
+
readonly indexed: false;
|
21482
|
+
}];
|
21483
|
+
readonly name: "MetadataUpdate";
|
21294
21484
|
}, {
|
21295
21485
|
readonly type: "event";
|
21296
21486
|
readonly anonymous: false;
|
@@ -21533,6 +21723,10 @@ export declare const spgnftImplConfig: {
|
|
21533
21723
|
readonly name: "to";
|
21534
21724
|
readonly internalType: "address";
|
21535
21725
|
readonly type: "address";
|
21726
|
+
}, {
|
21727
|
+
readonly name: "nftMetadataURI";
|
21728
|
+
readonly internalType: "string";
|
21729
|
+
readonly type: "string";
|
21536
21730
|
}];
|
21537
21731
|
readonly name: "mint";
|
21538
21732
|
readonly outputs: readonly [{
|
@@ -21551,6 +21745,10 @@ export declare const spgnftImplConfig: {
|
|
21551
21745
|
readonly name: "payer";
|
21552
21746
|
readonly internalType: "address";
|
21553
21747
|
readonly type: "address";
|
21748
|
+
}, {
|
21749
|
+
readonly name: "nftMetadataURI";
|
21750
|
+
readonly internalType: "string";
|
21751
|
+
readonly type: "string";
|
21554
21752
|
}];
|
21555
21753
|
readonly name: "mintBySPG";
|
21556
21754
|
readonly outputs: readonly [{
|
@@ -22462,6 +22660,14 @@ export declare class DisputeModuleClient extends DisputeModuleEventClient {
|
|
22462
22660
|
export type IpAccountImplStateResponse = {
|
22463
22661
|
result: Hex;
|
22464
22662
|
};
|
22663
|
+
/**
|
22664
|
+
* IpAccountImplTokenResponse
|
22665
|
+
*
|
22666
|
+
* @param 0 uint256
|
22667
|
+
* @param 1 address
|
22668
|
+
* @param 2 uint256
|
22669
|
+
*/
|
22670
|
+
export type IpAccountImplTokenResponse = readonly [bigint, Address, bigint];
|
22465
22671
|
/**
|
22466
22672
|
* IpAccountImplExecuteRequest
|
22467
22673
|
*
|
@@ -22520,6 +22726,13 @@ export declare class IpAccountImplReadOnlyClient {
|
|
22520
22726
|
* @return Promise<IpAccountImplStateResponse>
|
22521
22727
|
*/
|
22522
22728
|
state(): Promise<IpAccountImplStateResponse>;
|
22729
|
+
/**
|
22730
|
+
* method token for contract IPAccountImpl
|
22731
|
+
*
|
22732
|
+
* @param request IpAccountImplTokenRequest
|
22733
|
+
* @return Promise<IpAccountImplTokenResponse>
|
22734
|
+
*/
|
22735
|
+
token(): Promise<IpAccountImplTokenResponse>;
|
22523
22736
|
}
|
22524
22737
|
/**
|
22525
22738
|
* contract IPAccountImpl write method
|
@@ -22977,6 +23190,7 @@ export type LicenseRegistryUpgradedEvent = {
|
|
22977
23190
|
};
|
22978
23191
|
export type LicenseRegistryDisputeModuleResponse = Address;
|
22979
23192
|
export type LicenseRegistryExpirationTimeResponse = Hex;
|
23193
|
+
export type LicenseRegistryIpGraphAclResponse = Address;
|
22980
23194
|
export type LicenseRegistryIpGraphContractResponse = Address;
|
22981
23195
|
export type LicenseRegistryLicensingModuleResponse = Address;
|
22982
23196
|
export type LicenseRegistryUpgradeInterfaceVersionResponse = string;
|
@@ -23391,6 +23605,13 @@ export declare class LicenseRegistryReadOnlyClient extends LicenseRegistryEventC
|
|
23391
23605
|
* @return Promise<LicenseRegistryExpirationTimeResponse>
|
23392
23606
|
*/
|
23393
23607
|
expirationTime(): Promise<LicenseRegistryExpirationTimeResponse>;
|
23608
|
+
/**
|
23609
|
+
* method IP_GRAPH_ACL for contract LicenseRegistry
|
23610
|
+
*
|
23611
|
+
* @param request LicenseRegistryIpGraphAclRequest
|
23612
|
+
* @return Promise<LicenseRegistryIpGraphAclResponse>
|
23613
|
+
*/
|
23614
|
+
ipGraphAcl(): Promise<LicenseRegistryIpGraphAclResponse>;
|
23394
23615
|
/**
|
23395
23616
|
* method IP_GRAPH_CONTRACT for contract LicenseRegistry
|
23396
23617
|
*
|
@@ -24607,6 +24828,24 @@ export declare class PiLicenseTemplateClient extends PiLicenseTemplateReadOnlyCl
|
|
24607
24828
|
*/
|
24608
24829
|
verifyRegisterDerivativeForAllParentsEncode(request: PiLicenseTemplateVerifyRegisterDerivativeForAllParentsRequest): EncodedTxData;
|
24609
24830
|
}
|
24831
|
+
/**
|
24832
|
+
* RoyaltyModuleIsWhitelistedRoyaltyPolicyRequest
|
24833
|
+
*
|
24834
|
+
* @param royaltyPolicy address
|
24835
|
+
*/
|
24836
|
+
export type RoyaltyModuleIsWhitelistedRoyaltyPolicyRequest = {
|
24837
|
+
royaltyPolicy: Address;
|
24838
|
+
};
|
24839
|
+
export type RoyaltyModuleIsWhitelistedRoyaltyPolicyResponse = boolean;
|
24840
|
+
/**
|
24841
|
+
* RoyaltyModuleIsWhitelistedRoyaltyTokenRequest
|
24842
|
+
*
|
24843
|
+
* @param token address
|
24844
|
+
*/
|
24845
|
+
export type RoyaltyModuleIsWhitelistedRoyaltyTokenRequest = {
|
24846
|
+
token: Address;
|
24847
|
+
};
|
24848
|
+
export type RoyaltyModuleIsWhitelistedRoyaltyTokenResponse = boolean;
|
24610
24849
|
/**
|
24611
24850
|
* RoyaltyModulePayRoyaltyOnBehalfRequest
|
24612
24851
|
*
|
@@ -24622,12 +24861,32 @@ export type RoyaltyModulePayRoyaltyOnBehalfRequest = {
|
|
24622
24861
|
amount: bigint;
|
24623
24862
|
};
|
24624
24863
|
/**
|
24625
|
-
* contract RoyaltyModule
|
24864
|
+
* contract RoyaltyModule readonly method
|
24626
24865
|
*/
|
24627
|
-
export declare class
|
24628
|
-
protected readonly wallet: SimpleWalletClient;
|
24866
|
+
export declare class RoyaltyModuleReadOnlyClient {
|
24629
24867
|
protected readonly rpcClient: PublicClient;
|
24630
24868
|
readonly address: Address;
|
24869
|
+
constructor(rpcClient: PublicClient, address?: Address);
|
24870
|
+
/**
|
24871
|
+
* method isWhitelistedRoyaltyPolicy for contract RoyaltyModule
|
24872
|
+
*
|
24873
|
+
* @param request RoyaltyModuleIsWhitelistedRoyaltyPolicyRequest
|
24874
|
+
* @return Promise<RoyaltyModuleIsWhitelistedRoyaltyPolicyResponse>
|
24875
|
+
*/
|
24876
|
+
isWhitelistedRoyaltyPolicy(request: RoyaltyModuleIsWhitelistedRoyaltyPolicyRequest): Promise<RoyaltyModuleIsWhitelistedRoyaltyPolicyResponse>;
|
24877
|
+
/**
|
24878
|
+
* method isWhitelistedRoyaltyToken for contract RoyaltyModule
|
24879
|
+
*
|
24880
|
+
* @param request RoyaltyModuleIsWhitelistedRoyaltyTokenRequest
|
24881
|
+
* @return Promise<RoyaltyModuleIsWhitelistedRoyaltyTokenResponse>
|
24882
|
+
*/
|
24883
|
+
isWhitelistedRoyaltyToken(request: RoyaltyModuleIsWhitelistedRoyaltyTokenRequest): Promise<RoyaltyModuleIsWhitelistedRoyaltyTokenResponse>;
|
24884
|
+
}
|
24885
|
+
/**
|
24886
|
+
* contract RoyaltyModule write method
|
24887
|
+
*/
|
24888
|
+
export declare class RoyaltyModuleClient extends RoyaltyModuleReadOnlyClient {
|
24889
|
+
protected readonly wallet: SimpleWalletClient;
|
24631
24890
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
24632
24891
|
/**
|
24633
24892
|
* method payRoyaltyOnBehalf for contract RoyaltyModule
|
@@ -25320,6 +25579,16 @@ export type SpgnftImplApprovalForAllEvent = {
|
|
25320
25579
|
operator: Address;
|
25321
25580
|
approved: boolean;
|
25322
25581
|
};
|
25582
|
+
/**
|
25583
|
+
* SpgnftImplBatchMetadataUpdateEvent
|
25584
|
+
*
|
25585
|
+
* @param _fromTokenId uint256
|
25586
|
+
* @param _toTokenId uint256
|
25587
|
+
*/
|
25588
|
+
export type SpgnftImplBatchMetadataUpdateEvent = {
|
25589
|
+
_fromTokenId: bigint;
|
25590
|
+
_toTokenId: bigint;
|
25591
|
+
};
|
25323
25592
|
/**
|
25324
25593
|
* SpgnftImplInitializedEvent
|
25325
25594
|
*
|
@@ -25328,6 +25597,14 @@ export type SpgnftImplApprovalForAllEvent = {
|
|
25328
25597
|
export type SpgnftImplInitializedEvent = {
|
25329
25598
|
version: bigint;
|
25330
25599
|
};
|
25600
|
+
/**
|
25601
|
+
* SpgnftImplMetadataUpdateEvent
|
25602
|
+
*
|
25603
|
+
* @param _tokenId uint256
|
25604
|
+
*/
|
25605
|
+
export type SpgnftImplMetadataUpdateEvent = {
|
25606
|
+
_tokenId: bigint;
|
25607
|
+
};
|
25331
25608
|
/**
|
25332
25609
|
* SpgnftImplRoleAdminChangedEvent
|
25333
25610
|
*
|
@@ -25501,19 +25778,23 @@ export type SpgnftImplInitializeRequest = {
|
|
25501
25778
|
* SpgnftImplMintRequest
|
25502
25779
|
*
|
25503
25780
|
* @param to address
|
25781
|
+
* @param nftMetadataURI string
|
25504
25782
|
*/
|
25505
25783
|
export type SpgnftImplMintRequest = {
|
25506
25784
|
to: Address;
|
25785
|
+
nftMetadataURI: string;
|
25507
25786
|
};
|
25508
25787
|
/**
|
25509
25788
|
* SpgnftImplMintBySpgRequest
|
25510
25789
|
*
|
25511
25790
|
* @param to address
|
25512
25791
|
* @param payer address
|
25792
|
+
* @param nftMetadataURI string
|
25513
25793
|
*/
|
25514
25794
|
export type SpgnftImplMintBySpgRequest = {
|
25515
25795
|
to: Address;
|
25516
25796
|
payer: Address;
|
25797
|
+
nftMetadataURI: string;
|
25517
25798
|
};
|
25518
25799
|
/**
|
25519
25800
|
* SpgnftImplRenounceRoleRequest
|
@@ -25632,6 +25913,14 @@ export declare class SpgnftImplEventClient {
|
|
25632
25913
|
* parse tx receipt event ApprovalForAll for contract SPGNFTImpl
|
25633
25914
|
*/
|
25634
25915
|
parseTxApprovalForAllEvent(txReceipt: TransactionReceipt): Array<SpgnftImplApprovalForAllEvent>;
|
25916
|
+
/**
|
25917
|
+
* event BatchMetadataUpdate for contract SPGNFTImpl
|
25918
|
+
*/
|
25919
|
+
watchBatchMetadataUpdateEvent(onLogs: (txHash: Hex, ev: Partial<SpgnftImplBatchMetadataUpdateEvent>) => void): WatchContractEventReturnType;
|
25920
|
+
/**
|
25921
|
+
* parse tx receipt event BatchMetadataUpdate for contract SPGNFTImpl
|
25922
|
+
*/
|
25923
|
+
parseTxBatchMetadataUpdateEvent(txReceipt: TransactionReceipt): Array<SpgnftImplBatchMetadataUpdateEvent>;
|
25635
25924
|
/**
|
25636
25925
|
* event Initialized for contract SPGNFTImpl
|
25637
25926
|
*/
|
@@ -25640,6 +25929,14 @@ export declare class SpgnftImplEventClient {
|
|
25640
25929
|
* parse tx receipt event Initialized for contract SPGNFTImpl
|
25641
25930
|
*/
|
25642
25931
|
parseTxInitializedEvent(txReceipt: TransactionReceipt): Array<SpgnftImplInitializedEvent>;
|
25932
|
+
/**
|
25933
|
+
* event MetadataUpdate for contract SPGNFTImpl
|
25934
|
+
*/
|
25935
|
+
watchMetadataUpdateEvent(onLogs: (txHash: Hex, ev: Partial<SpgnftImplMetadataUpdateEvent>) => void): WatchContractEventReturnType;
|
25936
|
+
/**
|
25937
|
+
* parse tx receipt event MetadataUpdate for contract SPGNFTImpl
|
25938
|
+
*/
|
25939
|
+
parseTxMetadataUpdateEvent(txReceipt: TransactionReceipt): Array<SpgnftImplMetadataUpdateEvent>;
|
25643
25940
|
/**
|
25644
25941
|
* event RoleAdminChanged for contract SPGNFTImpl
|
25645
25942
|
*/
|