@story-protocol/core-sdk 1.0.0-rc.5 → 1.0.0-rc.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/declarations/src/abi/generated.d.ts +60 -60
- package/dist/declarations/src/client.d.ts +0 -1
- package/dist/declarations/src/client.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +2 -2
- package/dist/declarations/src/resources/ipAccount.d.ts +2 -2
- package/dist/declarations/src/resources/license.d.ts +5 -5
- package/dist/declarations/src/resources/permission.d.ts +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +1 -1
- package/dist/declarations/src/types/config.d.ts +1 -1
- package/dist/declarations/src/types/config.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +45 -146
- package/dist/story-protocol-core-sdk.cjs.prod.js +45 -146
- package/dist/story-protocol-core-sdk.esm.js +46 -144
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Address, Abi, Account, Chain, ContractFunctionArgs, ContractFunctionName, WriteContractParameters, WriteContractReturnType, PublicClient, Hex, WatchContractEventReturnType, TransactionReceipt } from "viem";
|
2
2
|
/**
|
3
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
3
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xF9936a224b3Deb6f9A4645ccAfa66f7ECe83CF0A)
|
4
4
|
*/
|
5
5
|
export declare const accessControllerAbi: readonly [{
|
6
6
|
readonly type: "constructor";
|
@@ -502,17 +502,17 @@ export declare const accessControllerAbi: readonly [{
|
|
502
502
|
readonly stateMutability: "payable";
|
503
503
|
}];
|
504
504
|
/**
|
505
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
505
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xF9936a224b3Deb6f9A4645ccAfa66f7ECe83CF0A)
|
506
506
|
*/
|
507
507
|
export declare const accessControllerAddress: {
|
508
|
-
readonly 11155111: "
|
508
|
+
readonly 11155111: "0xF9936a224b3Deb6f9A4645ccAfa66f7ECe83CF0A";
|
509
509
|
};
|
510
510
|
/**
|
511
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
511
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xF9936a224b3Deb6f9A4645ccAfa66f7ECe83CF0A)
|
512
512
|
*/
|
513
513
|
export declare const accessControllerConfig: {
|
514
514
|
readonly address: {
|
515
|
-
readonly 11155111: "
|
515
|
+
readonly 11155111: "0xF9936a224b3Deb6f9A4645ccAfa66f7ECe83CF0A";
|
516
516
|
};
|
517
517
|
readonly abi: readonly [{
|
518
518
|
readonly type: "constructor";
|
@@ -1015,7 +1015,7 @@ export declare const accessControllerConfig: {
|
|
1015
1015
|
}];
|
1016
1016
|
};
|
1017
1017
|
/**
|
1018
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
1018
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xEB7B1dd43B81A7be1fA427515a2b173B454A9832)
|
1019
1019
|
*/
|
1020
1020
|
export declare const disputeModuleAbi: readonly [{
|
1021
1021
|
readonly type: "constructor";
|
@@ -1936,17 +1936,17 @@ export declare const disputeModuleAbi: readonly [{
|
|
1936
1936
|
readonly stateMutability: "nonpayable";
|
1937
1937
|
}];
|
1938
1938
|
/**
|
1939
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
1939
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xEB7B1dd43B81A7be1fA427515a2b173B454A9832)
|
1940
1940
|
*/
|
1941
1941
|
export declare const disputeModuleAddress: {
|
1942
|
-
readonly 11155111: "
|
1942
|
+
readonly 11155111: "0xEB7B1dd43B81A7be1fA427515a2b173B454A9832";
|
1943
1943
|
};
|
1944
1944
|
/**
|
1945
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
1945
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xEB7B1dd43B81A7be1fA427515a2b173B454A9832)
|
1946
1946
|
*/
|
1947
1947
|
export declare const disputeModuleConfig: {
|
1948
1948
|
readonly address: {
|
1949
|
-
readonly 11155111: "
|
1949
|
+
readonly 11155111: "0xEB7B1dd43B81A7be1fA427515a2b173B454A9832";
|
1950
1950
|
};
|
1951
1951
|
readonly abi: readonly [{
|
1952
1952
|
readonly type: "constructor";
|
@@ -2868,7 +2868,7 @@ export declare const disputeModuleConfig: {
|
|
2868
2868
|
}];
|
2869
2869
|
};
|
2870
2870
|
/**
|
2871
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
2871
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x36a5f0D61f6Bab3C6Dde211E5a6762Cb18a8060d)
|
2872
2872
|
*/
|
2873
2873
|
export declare const ipAccountImplAbi: readonly [{
|
2874
2874
|
readonly type: "constructor";
|
@@ -3368,17 +3368,17 @@ export declare const ipAccountImplAbi: readonly [{
|
|
3368
3368
|
readonly stateMutability: "payable";
|
3369
3369
|
}];
|
3370
3370
|
/**
|
3371
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
3371
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x36a5f0D61f6Bab3C6Dde211E5a6762Cb18a8060d)
|
3372
3372
|
*/
|
3373
3373
|
export declare const ipAccountImplAddress: {
|
3374
|
-
readonly 11155111: "
|
3374
|
+
readonly 11155111: "0x36a5f0D61f6Bab3C6Dde211E5a6762Cb18a8060d";
|
3375
3375
|
};
|
3376
3376
|
/**
|
3377
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
3377
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x36a5f0D61f6Bab3C6Dde211E5a6762Cb18a8060d)
|
3378
3378
|
*/
|
3379
3379
|
export declare const ipAccountImplConfig: {
|
3380
3380
|
readonly address: {
|
3381
|
-
readonly 11155111: "
|
3381
|
+
readonly 11155111: "0x36a5f0D61f6Bab3C6Dde211E5a6762Cb18a8060d";
|
3382
3382
|
};
|
3383
3383
|
readonly abi: readonly [{
|
3384
3384
|
readonly type: "constructor";
|
@@ -3879,7 +3879,7 @@ export declare const ipAccountImplConfig: {
|
|
3879
3879
|
}];
|
3880
3880
|
};
|
3881
3881
|
/**
|
3882
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
3882
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xd43fE0d865cb5C26b1351d3eAf2E3064BE3276F6)
|
3883
3883
|
*/
|
3884
3884
|
export declare const ipAssetRegistryAbi: readonly [{
|
3885
3885
|
readonly type: "constructor";
|
@@ -4405,17 +4405,17 @@ export declare const ipAssetRegistryAbi: readonly [{
|
|
4405
4405
|
readonly stateMutability: "payable";
|
4406
4406
|
}];
|
4407
4407
|
/**
|
4408
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
4408
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xd43fE0d865cb5C26b1351d3eAf2E3064BE3276F6)
|
4409
4409
|
*/
|
4410
4410
|
export declare const ipAssetRegistryAddress: {
|
4411
|
-
readonly 11155111: "
|
4411
|
+
readonly 11155111: "0xd43fE0d865cb5C26b1351d3eAf2E3064BE3276F6";
|
4412
4412
|
};
|
4413
4413
|
/**
|
4414
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
4414
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xd43fE0d865cb5C26b1351d3eAf2E3064BE3276F6)
|
4415
4415
|
*/
|
4416
4416
|
export declare const ipAssetRegistryConfig: {
|
4417
4417
|
readonly address: {
|
4418
|
-
readonly 11155111: "
|
4418
|
+
readonly 11155111: "0xd43fE0d865cb5C26b1351d3eAf2E3064BE3276F6";
|
4419
4419
|
};
|
4420
4420
|
readonly abi: readonly [{
|
4421
4421
|
readonly type: "constructor";
|
@@ -4942,7 +4942,7 @@ export declare const ipAssetRegistryConfig: {
|
|
4942
4942
|
}];
|
4943
4943
|
};
|
4944
4944
|
/**
|
4945
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
4945
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xD6c2AfB61085f1359d47159f2271BDD0EeBf19C2)
|
4946
4946
|
*/
|
4947
4947
|
export declare const ipRoyaltyVaultImplAbi: readonly [{
|
4948
4948
|
readonly type: "constructor";
|
@@ -5569,17 +5569,17 @@ export declare const ipRoyaltyVaultImplAbi: readonly [{
|
|
5569
5569
|
readonly stateMutability: "view";
|
5570
5570
|
}];
|
5571
5571
|
/**
|
5572
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
5572
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xD6c2AfB61085f1359d47159f2271BDD0EeBf19C2)
|
5573
5573
|
*/
|
5574
5574
|
export declare const ipRoyaltyVaultImplAddress: {
|
5575
|
-
readonly 11155111: "
|
5575
|
+
readonly 11155111: "0xD6c2AfB61085f1359d47159f2271BDD0EeBf19C2";
|
5576
5576
|
};
|
5577
5577
|
/**
|
5578
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
5578
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xD6c2AfB61085f1359d47159f2271BDD0EeBf19C2)
|
5579
5579
|
*/
|
5580
5580
|
export declare const ipRoyaltyVaultImplConfig: {
|
5581
5581
|
readonly address: {
|
5582
|
-
readonly 11155111: "
|
5582
|
+
readonly 11155111: "0xD6c2AfB61085f1359d47159f2271BDD0EeBf19C2";
|
5583
5583
|
};
|
5584
5584
|
readonly abi: readonly [{
|
5585
5585
|
readonly type: "constructor";
|
@@ -6207,7 +6207,7 @@ export declare const ipRoyaltyVaultImplConfig: {
|
|
6207
6207
|
}];
|
6208
6208
|
};
|
6209
6209
|
/**
|
6210
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
6210
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x4f4b1bf7135C7ff1462826CCA81B048Ed19562ed)
|
6211
6211
|
*/
|
6212
6212
|
export declare const licenseRegistryAbi: readonly [{
|
6213
6213
|
readonly type: "constructor";
|
@@ -7194,17 +7194,17 @@ export declare const licenseRegistryAbi: readonly [{
|
|
7194
7194
|
readonly stateMutability: "view";
|
7195
7195
|
}];
|
7196
7196
|
/**
|
7197
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
7197
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x4f4b1bf7135C7ff1462826CCA81B048Ed19562ed)
|
7198
7198
|
*/
|
7199
7199
|
export declare const licenseRegistryAddress: {
|
7200
|
-
readonly 11155111: "
|
7200
|
+
readonly 11155111: "0x4f4b1bf7135C7ff1462826CCA81B048Ed19562ed";
|
7201
7201
|
};
|
7202
7202
|
/**
|
7203
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
7203
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x4f4b1bf7135C7ff1462826CCA81B048Ed19562ed)
|
7204
7204
|
*/
|
7205
7205
|
export declare const licenseRegistryConfig: {
|
7206
7206
|
readonly address: {
|
7207
|
-
readonly 11155111: "
|
7207
|
+
readonly 11155111: "0x4f4b1bf7135C7ff1462826CCA81B048Ed19562ed";
|
7208
7208
|
};
|
7209
7209
|
readonly abi: readonly [{
|
7210
7210
|
readonly type: "constructor";
|
@@ -8192,7 +8192,7 @@ export declare const licenseRegistryConfig: {
|
|
8192
8192
|
}];
|
8193
8193
|
};
|
8194
8194
|
/**
|
8195
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
8195
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1333c78A821c9a576209B01a16dDCEF881cAb6f2)
|
8196
8196
|
*/
|
8197
8197
|
export declare const licenseTokenAbi: readonly [{
|
8198
8198
|
readonly type: "constructor";
|
@@ -9076,17 +9076,17 @@ export declare const licenseTokenAbi: readonly [{
|
|
9076
9076
|
readonly stateMutability: "view";
|
9077
9077
|
}];
|
9078
9078
|
/**
|
9079
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
9079
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1333c78A821c9a576209B01a16dDCEF881cAb6f2)
|
9080
9080
|
*/
|
9081
9081
|
export declare const licenseTokenAddress: {
|
9082
|
-
readonly 11155111: "
|
9082
|
+
readonly 11155111: "0x1333c78A821c9a576209B01a16dDCEF881cAb6f2";
|
9083
9083
|
};
|
9084
9084
|
/**
|
9085
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
9085
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1333c78A821c9a576209B01a16dDCEF881cAb6f2)
|
9086
9086
|
*/
|
9087
9087
|
export declare const licenseTokenConfig: {
|
9088
9088
|
readonly address: {
|
9089
|
-
readonly 11155111: "
|
9089
|
+
readonly 11155111: "0x1333c78A821c9a576209B01a16dDCEF881cAb6f2";
|
9090
9090
|
};
|
9091
9091
|
readonly abi: readonly [{
|
9092
9092
|
readonly type: "constructor";
|
@@ -9971,7 +9971,7 @@ export declare const licenseTokenConfig: {
|
|
9971
9971
|
}];
|
9972
9972
|
};
|
9973
9973
|
/**
|
9974
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
9974
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe89b0EaA8a0949738efA80bB531a165FB3456CBe)
|
9975
9975
|
*/
|
9976
9976
|
export declare const licensingModuleAbi: readonly [{
|
9977
9977
|
readonly type: "constructor";
|
@@ -10712,17 +10712,17 @@ export declare const licensingModuleAbi: readonly [{
|
|
10712
10712
|
readonly stateMutability: "payable";
|
10713
10713
|
}];
|
10714
10714
|
/**
|
10715
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
10715
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe89b0EaA8a0949738efA80bB531a165FB3456CBe)
|
10716
10716
|
*/
|
10717
10717
|
export declare const licensingModuleAddress: {
|
10718
|
-
readonly 11155111: "
|
10718
|
+
readonly 11155111: "0xe89b0EaA8a0949738efA80bB531a165FB3456CBe";
|
10719
10719
|
};
|
10720
10720
|
/**
|
10721
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
10721
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe89b0EaA8a0949738efA80bB531a165FB3456CBe)
|
10722
10722
|
*/
|
10723
10723
|
export declare const licensingModuleConfig: {
|
10724
10724
|
readonly address: {
|
10725
|
-
readonly 11155111: "
|
10725
|
+
readonly 11155111: "0xe89b0EaA8a0949738efA80bB531a165FB3456CBe";
|
10726
10726
|
};
|
10727
10727
|
readonly abi: readonly [{
|
10728
10728
|
readonly type: "constructor";
|
@@ -11464,7 +11464,7 @@ export declare const licensingModuleConfig: {
|
|
11464
11464
|
}];
|
11465
11465
|
};
|
11466
11466
|
/**
|
11467
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
11467
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x2E0a668289D5C4Da6a2264aC8DF03cd600c7aAB8)
|
11468
11468
|
*/
|
11469
11469
|
export declare const moduleRegistryAbi: readonly [{
|
11470
11470
|
readonly type: "constructor";
|
@@ -11862,17 +11862,17 @@ export declare const moduleRegistryAbi: readonly [{
|
|
11862
11862
|
readonly stateMutability: "payable";
|
11863
11863
|
}];
|
11864
11864
|
/**
|
11865
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
11865
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x2E0a668289D5C4Da6a2264aC8DF03cd600c7aAB8)
|
11866
11866
|
*/
|
11867
11867
|
export declare const moduleRegistryAddress: {
|
11868
|
-
readonly 11155111: "
|
11868
|
+
readonly 11155111: "0x2E0a668289D5C4Da6a2264aC8DF03cd600c7aAB8";
|
11869
11869
|
};
|
11870
11870
|
/**
|
11871
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
11871
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x2E0a668289D5C4Da6a2264aC8DF03cd600c7aAB8)
|
11872
11872
|
*/
|
11873
11873
|
export declare const moduleRegistryConfig: {
|
11874
11874
|
readonly address: {
|
11875
|
-
readonly 11155111: "
|
11875
|
+
readonly 11155111: "0x2E0a668289D5C4Da6a2264aC8DF03cd600c7aAB8";
|
11876
11876
|
};
|
11877
11877
|
readonly abi: readonly [{
|
11878
11878
|
readonly type: "constructor";
|
@@ -12271,7 +12271,7 @@ export declare const moduleRegistryConfig: {
|
|
12271
12271
|
}];
|
12272
12272
|
};
|
12273
12273
|
/**
|
12274
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
12274
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x260B6CB6284c89dbE660c0004233f7bB99B5edE7)
|
12275
12275
|
*/
|
12276
12276
|
export declare const piLicenseTemplateAbi: readonly [{
|
12277
12277
|
readonly type: "constructor";
|
@@ -13203,17 +13203,17 @@ export declare const piLicenseTemplateAbi: readonly [{
|
|
13203
13203
|
readonly stateMutability: "nonpayable";
|
13204
13204
|
}];
|
13205
13205
|
/**
|
13206
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
13206
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x260B6CB6284c89dbE660c0004233f7bB99B5edE7)
|
13207
13207
|
*/
|
13208
13208
|
export declare const piLicenseTemplateAddress: {
|
13209
|
-
readonly 11155111: "
|
13209
|
+
readonly 11155111: "0x260B6CB6284c89dbE660c0004233f7bB99B5edE7";
|
13210
13210
|
};
|
13211
13211
|
/**
|
13212
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
13212
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x260B6CB6284c89dbE660c0004233f7bB99B5edE7)
|
13213
13213
|
*/
|
13214
13214
|
export declare const piLicenseTemplateConfig: {
|
13215
13215
|
readonly address: {
|
13216
|
-
readonly 11155111: "
|
13216
|
+
readonly 11155111: "0x260B6CB6284c89dbE660c0004233f7bB99B5edE7";
|
13217
13217
|
};
|
13218
13218
|
readonly abi: readonly [{
|
13219
13219
|
readonly type: "constructor";
|
@@ -14146,7 +14146,7 @@ export declare const piLicenseTemplateConfig: {
|
|
14146
14146
|
}];
|
14147
14147
|
};
|
14148
14148
|
/**
|
14149
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
14149
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xFAE961dd2b87CD5818dbCDc2591e6AB0b50E96b0)
|
14150
14150
|
*/
|
14151
14151
|
export declare const royaltyModuleAbi: readonly [{
|
14152
14152
|
readonly type: "constructor";
|
@@ -14771,17 +14771,17 @@ export declare const royaltyModuleAbi: readonly [{
|
|
14771
14771
|
readonly stateMutability: "nonpayable";
|
14772
14772
|
}];
|
14773
14773
|
/**
|
14774
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
14774
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xFAE961dd2b87CD5818dbCDc2591e6AB0b50E96b0)
|
14775
14775
|
*/
|
14776
14776
|
export declare const royaltyModuleAddress: {
|
14777
|
-
readonly 11155111: "
|
14777
|
+
readonly 11155111: "0xFAE961dd2b87CD5818dbCDc2591e6AB0b50E96b0";
|
14778
14778
|
};
|
14779
14779
|
/**
|
14780
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
14780
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xFAE961dd2b87CD5818dbCDc2591e6AB0b50E96b0)
|
14781
14781
|
*/
|
14782
14782
|
export declare const royaltyModuleConfig: {
|
14783
14783
|
readonly address: {
|
14784
|
-
readonly 11155111: "
|
14784
|
+
readonly 11155111: "0xFAE961dd2b87CD5818dbCDc2591e6AB0b50E96b0";
|
14785
14785
|
};
|
14786
14786
|
readonly abi: readonly [{
|
14787
14787
|
readonly type: "constructor";
|
@@ -15407,7 +15407,7 @@ export declare const royaltyModuleConfig: {
|
|
15407
15407
|
}];
|
15408
15408
|
};
|
15409
15409
|
/**
|
15410
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
15410
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xAAbaf349C7a2A84564F9CC4Ac130B3f19A718E86)
|
15411
15411
|
*/
|
15412
15412
|
export declare const royaltyPolicyLapAbi: readonly [{
|
15413
15413
|
readonly type: "constructor";
|
@@ -15960,17 +15960,17 @@ export declare const royaltyPolicyLapAbi: readonly [{
|
|
15960
15960
|
readonly stateMutability: "nonpayable";
|
15961
15961
|
}];
|
15962
15962
|
/**
|
15963
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
15963
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xAAbaf349C7a2A84564F9CC4Ac130B3f19A718E86)
|
15964
15964
|
*/
|
15965
15965
|
export declare const royaltyPolicyLapAddress: {
|
15966
|
-
readonly 11155111: "
|
15966
|
+
readonly 11155111: "0xAAbaf349C7a2A84564F9CC4Ac130B3f19A718E86";
|
15967
15967
|
};
|
15968
15968
|
/**
|
15969
|
-
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
15969
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xAAbaf349C7a2A84564F9CC4Ac130B3f19A718E86)
|
15970
15970
|
*/
|
15971
15971
|
export declare const royaltyPolicyLapConfig: {
|
15972
15972
|
readonly address: {
|
15973
|
-
readonly 11155111: "
|
15973
|
+
readonly 11155111: "0xAAbaf349C7a2A84564F9CC4Ac130B3f19A718E86";
|
15974
15974
|
};
|
15975
15975
|
readonly abi: readonly [{
|
15976
15976
|
readonly type: "constructor";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"../../../src","sources":["client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EAEX,qBAAqB,EACrB,oBAAoB,EACrB,0BAAuB;AACxB,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,eAAe,EAAE,iCAA8B;
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"../../../src","sources":["client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EAEX,qBAAqB,EACrB,oBAAoB,EACrB,0BAAuB;AACxB,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,eAAe,EAAE,iCAA8B;AAExD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAMpD;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,QAAQ,CAA8B;IAC9C;;OAEG;IACH,OAAO;IAgCP;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAIlD;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,MAAM,EAAE,oBAAoB,GAAG,WAAW;IAQpE;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,qBAAqB,GAAG,WAAW;IAQtE;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,UAAU,IAAI,gBAAgB,CAMxC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,SAAS,IAAI,eAAe,CAMtC;IACD;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;CACF"}
|
@@ -24,7 +24,7 @@ export declare class DisputeClient {
|
|
24
24
|
raiseDispute(request: RaiseDisputeRequest): Promise<RaiseDisputeResponse>;
|
25
25
|
/**
|
26
26
|
* Cancels an ongoing dispute
|
27
|
-
* @param request The request object containing details to cancel the dispute.
|
27
|
+
* @param request - The request object containing details to cancel the dispute.
|
28
28
|
* @param request.disputeId The ID of the dispute to be cancelled.
|
29
29
|
* @param request.calldata Optional additional data used in the cancellation process.
|
30
30
|
* @returns A Promise that resolves to a CancelDisputeResponse containing the transaction hash.
|
@@ -37,7 +37,7 @@ export declare class DisputeClient {
|
|
37
37
|
cancelDispute(request: CancelDisputeRequest): Promise<CancelDisputeResponse>;
|
38
38
|
/**
|
39
39
|
* Resolves a dispute after it has been judged
|
40
|
-
* @param request The request object containing details to resolve the dispute.
|
40
|
+
* @param request - The request object containing details to resolve the dispute.
|
41
41
|
* @param request.disputeId The ID of the dispute to be resolved.
|
42
42
|
* @param request.data The data to resolve the dispute.
|
43
43
|
* @returns A Promise that resolves to a ResolveDisputeResponse.
|
@@ -6,7 +6,7 @@ export declare class IPAccountClient {
|
|
6
6
|
private readonly rpcClient;
|
7
7
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient);
|
8
8
|
/** Executes a transaction from the IP Account.
|
9
|
-
* @param request The request object containing necessary data to execute IP Account a transaction.
|
9
|
+
* @param request - The request object containing necessary data to execute IP Account a transaction.
|
10
10
|
* @param request.to The recipient of the transaction.
|
11
11
|
* @param request.value The amount of Ether to send.
|
12
12
|
* @param request.data The data to send along with the transaction.
|
@@ -14,7 +14,7 @@ export declare class IPAccountClient {
|
|
14
14
|
*/
|
15
15
|
execute(request: IPAccountExecuteRequest): Promise<IPAccountExecuteResponse>;
|
16
16
|
/** Executes a transaction from the IP Account.
|
17
|
-
* @param request The request object containing necessary data to execute IP Account a transaction.
|
17
|
+
* @param request - The request object containing necessary data to execute IP Account a transaction.
|
18
18
|
* @param request.to The recipient of the transaction.
|
19
19
|
* @param request.value The amount of Ether to send.
|
20
20
|
* @param request.data The data to send along with the transaction.
|
@@ -14,7 +14,7 @@ export declare class LicenseClient {
|
|
14
14
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient);
|
15
15
|
/**
|
16
16
|
* Convenient function to register a PIL non commercial social remix license to the registry
|
17
|
-
* @param request [Optional] The request object that contains all data needed to register a PIL non commercial social remix license.
|
17
|
+
* @param request - [Optional] The request object that contains all data needed to register a PIL non commercial social remix license.
|
18
18
|
* @param request.txOptions [Optional] The transaction options.
|
19
19
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20
20
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
@@ -22,7 +22,7 @@ export declare class LicenseClient {
|
|
22
22
|
registerNonComSocialRemixingPIL(request?: RegisterNonComSocialRemixingPILRequest): Promise<RegisterPILResponse>;
|
23
23
|
/**
|
24
24
|
* Convenient function to register a PIL commercial use license to the registry.
|
25
|
-
* @param request The request object that contains all data needed to register a PIL commercial use license.
|
25
|
+
* @param request - The request object that contains all data needed to register a PIL commercial use license.
|
26
26
|
* @param request.mintingFee The fee to be paid when minting a license.
|
27
27
|
* @param request.currency The ERC20 token to be used to pay the minting fee and the token must be registered in story protocol.
|
28
28
|
* @param request.royaltyPolicy The address of the royalty policy contract which required to StoryProtocol in advance.
|
@@ -33,7 +33,7 @@ export declare class LicenseClient {
|
|
33
33
|
registerCommercialUsePIL(request: RegisterCommercialUsePILRequest): Promise<RegisterPILResponse>;
|
34
34
|
/**
|
35
35
|
* Convenient function to register a PIL commercial Remix license to the registry.
|
36
|
-
* @param request The request object that contains all data needed to register license.
|
36
|
+
* @param request - The request object that contains all data needed to register license.
|
37
37
|
* @param request.mintingFee The fee to be paid when minting a license.
|
38
38
|
* @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
|
39
39
|
* @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
@@ -45,7 +45,7 @@ export declare class LicenseClient {
|
|
45
45
|
registerCommercialRemixPIL(request: RegisterCommercialRemixPILRequest): Promise<RegisterPILResponse>;
|
46
46
|
/**
|
47
47
|
* Attaches license terms to an IP.
|
48
|
-
* @param request The request object that contains all data needed to attach license terms.
|
48
|
+
* @param request - The request object that contains all data needed to attach license terms.
|
49
49
|
* @param request.ipId The address of the IP to which the license terms are attached.
|
50
50
|
* @param request.licenseTemplate The address of the license template.
|
51
51
|
* @param request.licenseTermsId The ID of the license terms.
|
@@ -67,7 +67,7 @@ export declare class LicenseClient {
|
|
67
67
|
* The minting fee is paid in the minting fee token specified in the license terms or configured by the IP owner.
|
68
68
|
* IP owners can configure the minting fee of their IPs or
|
69
69
|
* configure the minting fee module to determine the minting fee.
|
70
|
-
* @param request The request object that contains all data needed to mint license tokens.
|
70
|
+
* @param request - The request object that contains all data needed to mint license tokens.
|
71
71
|
* @param request.licensorIpId The licensor IP ID.
|
72
72
|
* @param request.licenseTemplate The address of the license template.
|
73
73
|
* @param request.licenseTermsId The ID of the license terms within the license template.
|
@@ -16,7 +16,7 @@ export declare class PermissionClient {
|
|
16
16
|
* address(0) => wildcard
|
17
17
|
* bytes4(0) => wildcard
|
18
18
|
* Specific permission overrides wildcard permission.
|
19
|
-
* @param request The request object containing necessary data to set permissions.
|
19
|
+
* @param request - The request object containing necessary data to set permissions.
|
20
20
|
* @param request.ipAsset The address of the IP account that grants the permission for `signer`
|
21
21
|
* @param request.signer The address that can call `to` on behalf of the `ipAccount`
|
22
22
|
* @param request.to The address that can be called by the `signer` (currently only modules can be `to`)
|
@@ -12,7 +12,7 @@ export declare class RoyaltyClient {
|
|
12
12
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient);
|
13
13
|
/**
|
14
14
|
* Allows ancestors to claim the royalty tokens and any accrued revenue tokens
|
15
|
-
* @param request -
|
15
|
+
* @param request - The request object that contains all data needed to collect royalty tokens.
|
16
16
|
* @param request.parentIpId The ip id of the ancestor to whom the royalty tokens belong to.
|
17
17
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
18
18
|
* @param request.txOptions [Optional] The transaction options.
|
@@ -5,7 +5,7 @@ import { SimpleWalletClient } from "../abi/generated.js";
|
|
5
5
|
*
|
6
6
|
* @public
|
7
7
|
*/
|
8
|
-
export type SupportedChainIds = "11155111" | "sepolia"
|
8
|
+
export type SupportedChainIds = "11155111" | "sepolia";
|
9
9
|
/**
|
10
10
|
* Configuration for the SDK Client.
|
11
11
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"../../../../src/types","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,4BAAyB;AAEtD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"../../../../src/types","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,4BAAyB;AAEtD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvD;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC"}
|