@story-protocol/core-sdk 1.0.0-rc.10 → 1.0.0-rc.12
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/README.md +2 -4
- package/dist/declarations/src/abi/generated.d.ts +832 -15
- 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/ipAccount.d.ts +6 -1
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +49 -24
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +1 -1
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +2 -2
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/dispute.d.ts +13 -13
- package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +10 -10
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +51 -35
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +20 -20
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/nftClient.d.ts +2 -2
- package/dist/declarations/src/types/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/permission.d.ts +4 -3
- package/dist/declarations/src/types/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/royalty.d.ts +24 -24
- package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +3049 -1560
- package/dist/story-protocol-core-sdk.cjs.prod.js +3049 -1560
- package/dist/story-protocol-core-sdk.esm.js +3050 -1562
- package/package.json +1 -1
@@ -1014,6 +1014,425 @@ export declare const accessControllerConfig: {
|
|
1014
1014
|
readonly stateMutability: "payable";
|
1015
1015
|
}];
|
1016
1016
|
};
|
1017
|
+
/**
|
1018
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xDa498A3f7c8a88cb72201138C366bE3778dB9575)
|
1019
|
+
*/
|
1020
|
+
export declare const coreMetadataModuleAbi: readonly [{
|
1021
|
+
readonly type: "constructor";
|
1022
|
+
readonly inputs: readonly [{
|
1023
|
+
readonly name: "accessController";
|
1024
|
+
readonly internalType: "address";
|
1025
|
+
readonly type: "address";
|
1026
|
+
}, {
|
1027
|
+
readonly name: "ipAccountRegistry";
|
1028
|
+
readonly internalType: "address";
|
1029
|
+
readonly type: "address";
|
1030
|
+
}];
|
1031
|
+
readonly stateMutability: "nonpayable";
|
1032
|
+
}, {
|
1033
|
+
readonly type: "error";
|
1034
|
+
readonly inputs: readonly [{
|
1035
|
+
readonly name: "ipAccount";
|
1036
|
+
readonly internalType: "address";
|
1037
|
+
readonly type: "address";
|
1038
|
+
}];
|
1039
|
+
readonly name: "AccessControlled__NotIpAccount";
|
1040
|
+
}, {
|
1041
|
+
readonly type: "error";
|
1042
|
+
readonly inputs: readonly [];
|
1043
|
+
readonly name: "AccessControlled__ZeroAddress";
|
1044
|
+
}, {
|
1045
|
+
readonly type: "error";
|
1046
|
+
readonly inputs: readonly [];
|
1047
|
+
readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
|
1048
|
+
}, {
|
1049
|
+
readonly type: "event";
|
1050
|
+
readonly anonymous: false;
|
1051
|
+
readonly inputs: readonly [{
|
1052
|
+
readonly name: "ipId";
|
1053
|
+
readonly internalType: "address";
|
1054
|
+
readonly type: "address";
|
1055
|
+
readonly indexed: true;
|
1056
|
+
}];
|
1057
|
+
readonly name: "MetadataFrozen";
|
1058
|
+
}, {
|
1059
|
+
readonly type: "event";
|
1060
|
+
readonly anonymous: false;
|
1061
|
+
readonly inputs: readonly [{
|
1062
|
+
readonly name: "ipId";
|
1063
|
+
readonly internalType: "address";
|
1064
|
+
readonly type: "address";
|
1065
|
+
readonly indexed: true;
|
1066
|
+
}, {
|
1067
|
+
readonly name: "metadataURI";
|
1068
|
+
readonly internalType: "string";
|
1069
|
+
readonly type: "string";
|
1070
|
+
readonly indexed: false;
|
1071
|
+
}, {
|
1072
|
+
readonly name: "metadataHash";
|
1073
|
+
readonly internalType: "bytes32";
|
1074
|
+
readonly type: "bytes32";
|
1075
|
+
readonly indexed: false;
|
1076
|
+
}];
|
1077
|
+
readonly name: "MetadataURISet";
|
1078
|
+
}, {
|
1079
|
+
readonly type: "event";
|
1080
|
+
readonly anonymous: false;
|
1081
|
+
readonly inputs: readonly [{
|
1082
|
+
readonly name: "ipId";
|
1083
|
+
readonly internalType: "address";
|
1084
|
+
readonly type: "address";
|
1085
|
+
readonly indexed: true;
|
1086
|
+
}, {
|
1087
|
+
readonly name: "nftTokenURI";
|
1088
|
+
readonly internalType: "string";
|
1089
|
+
readonly type: "string";
|
1090
|
+
readonly indexed: false;
|
1091
|
+
}, {
|
1092
|
+
readonly name: "nftMetadataHash";
|
1093
|
+
readonly internalType: "bytes32";
|
1094
|
+
readonly type: "bytes32";
|
1095
|
+
readonly indexed: false;
|
1096
|
+
}];
|
1097
|
+
readonly name: "NFTTokenURISet";
|
1098
|
+
}, {
|
1099
|
+
readonly type: "function";
|
1100
|
+
readonly inputs: readonly [];
|
1101
|
+
readonly name: "ACCESS_CONTROLLER";
|
1102
|
+
readonly outputs: readonly [{
|
1103
|
+
readonly name: "";
|
1104
|
+
readonly internalType: "contract IAccessController";
|
1105
|
+
readonly type: "address";
|
1106
|
+
}];
|
1107
|
+
readonly stateMutability: "view";
|
1108
|
+
}, {
|
1109
|
+
readonly type: "function";
|
1110
|
+
readonly inputs: readonly [];
|
1111
|
+
readonly name: "IP_ACCOUNT_REGISTRY";
|
1112
|
+
readonly outputs: readonly [{
|
1113
|
+
readonly name: "";
|
1114
|
+
readonly internalType: "contract IIPAccountRegistry";
|
1115
|
+
readonly type: "address";
|
1116
|
+
}];
|
1117
|
+
readonly stateMutability: "view";
|
1118
|
+
}, {
|
1119
|
+
readonly type: "function";
|
1120
|
+
readonly inputs: readonly [{
|
1121
|
+
readonly name: "ipId";
|
1122
|
+
readonly internalType: "address";
|
1123
|
+
readonly type: "address";
|
1124
|
+
}];
|
1125
|
+
readonly name: "freezeMetadata";
|
1126
|
+
readonly outputs: readonly [];
|
1127
|
+
readonly stateMutability: "nonpayable";
|
1128
|
+
}, {
|
1129
|
+
readonly type: "function";
|
1130
|
+
readonly inputs: readonly [{
|
1131
|
+
readonly name: "ipId";
|
1132
|
+
readonly internalType: "address";
|
1133
|
+
readonly type: "address";
|
1134
|
+
}];
|
1135
|
+
readonly name: "isMetadataFrozen";
|
1136
|
+
readonly outputs: readonly [{
|
1137
|
+
readonly name: "";
|
1138
|
+
readonly internalType: "bool";
|
1139
|
+
readonly type: "bool";
|
1140
|
+
}];
|
1141
|
+
readonly stateMutability: "view";
|
1142
|
+
}, {
|
1143
|
+
readonly type: "function";
|
1144
|
+
readonly inputs: readonly [];
|
1145
|
+
readonly name: "name";
|
1146
|
+
readonly outputs: readonly [{
|
1147
|
+
readonly name: "";
|
1148
|
+
readonly internalType: "string";
|
1149
|
+
readonly type: "string";
|
1150
|
+
}];
|
1151
|
+
readonly stateMutability: "view";
|
1152
|
+
}, {
|
1153
|
+
readonly type: "function";
|
1154
|
+
readonly inputs: readonly [{
|
1155
|
+
readonly name: "ipId";
|
1156
|
+
readonly internalType: "address";
|
1157
|
+
readonly type: "address";
|
1158
|
+
}, {
|
1159
|
+
readonly name: "metadataURI";
|
1160
|
+
readonly internalType: "string";
|
1161
|
+
readonly type: "string";
|
1162
|
+
}, {
|
1163
|
+
readonly name: "metadataHash";
|
1164
|
+
readonly internalType: "bytes32";
|
1165
|
+
readonly type: "bytes32";
|
1166
|
+
}, {
|
1167
|
+
readonly name: "nftMetadataHash";
|
1168
|
+
readonly internalType: "bytes32";
|
1169
|
+
readonly type: "bytes32";
|
1170
|
+
}];
|
1171
|
+
readonly name: "setAll";
|
1172
|
+
readonly outputs: readonly [];
|
1173
|
+
readonly stateMutability: "nonpayable";
|
1174
|
+
}, {
|
1175
|
+
readonly type: "function";
|
1176
|
+
readonly inputs: readonly [{
|
1177
|
+
readonly name: "ipId";
|
1178
|
+
readonly internalType: "address";
|
1179
|
+
readonly type: "address";
|
1180
|
+
}, {
|
1181
|
+
readonly name: "metadataURI";
|
1182
|
+
readonly internalType: "string";
|
1183
|
+
readonly type: "string";
|
1184
|
+
}, {
|
1185
|
+
readonly name: "metadataHash";
|
1186
|
+
readonly internalType: "bytes32";
|
1187
|
+
readonly type: "bytes32";
|
1188
|
+
}];
|
1189
|
+
readonly name: "setMetadataURI";
|
1190
|
+
readonly outputs: readonly [];
|
1191
|
+
readonly stateMutability: "nonpayable";
|
1192
|
+
}, {
|
1193
|
+
readonly type: "function";
|
1194
|
+
readonly inputs: readonly [{
|
1195
|
+
readonly name: "interfaceId";
|
1196
|
+
readonly internalType: "bytes4";
|
1197
|
+
readonly type: "bytes4";
|
1198
|
+
}];
|
1199
|
+
readonly name: "supportsInterface";
|
1200
|
+
readonly outputs: readonly [{
|
1201
|
+
readonly name: "";
|
1202
|
+
readonly internalType: "bool";
|
1203
|
+
readonly type: "bool";
|
1204
|
+
}];
|
1205
|
+
readonly stateMutability: "view";
|
1206
|
+
}, {
|
1207
|
+
readonly type: "function";
|
1208
|
+
readonly inputs: readonly [{
|
1209
|
+
readonly name: "ipId";
|
1210
|
+
readonly internalType: "address";
|
1211
|
+
readonly type: "address";
|
1212
|
+
}, {
|
1213
|
+
readonly name: "nftMetadataHash";
|
1214
|
+
readonly internalType: "bytes32";
|
1215
|
+
readonly type: "bytes32";
|
1216
|
+
}];
|
1217
|
+
readonly name: "updateNftTokenURI";
|
1218
|
+
readonly outputs: readonly [];
|
1219
|
+
readonly stateMutability: "nonpayable";
|
1220
|
+
}];
|
1221
|
+
/**
|
1222
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xDa498A3f7c8a88cb72201138C366bE3778dB9575)
|
1223
|
+
*/
|
1224
|
+
export declare const coreMetadataModuleAddress: {
|
1225
|
+
readonly 11155111: "0xDa498A3f7c8a88cb72201138C366bE3778dB9575";
|
1226
|
+
};
|
1227
|
+
/**
|
1228
|
+
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xDa498A3f7c8a88cb72201138C366bE3778dB9575)
|
1229
|
+
*/
|
1230
|
+
export declare const coreMetadataModuleConfig: {
|
1231
|
+
readonly address: {
|
1232
|
+
readonly 11155111: "0xDa498A3f7c8a88cb72201138C366bE3778dB9575";
|
1233
|
+
};
|
1234
|
+
readonly abi: readonly [{
|
1235
|
+
readonly type: "constructor";
|
1236
|
+
readonly inputs: readonly [{
|
1237
|
+
readonly name: "accessController";
|
1238
|
+
readonly internalType: "address";
|
1239
|
+
readonly type: "address";
|
1240
|
+
}, {
|
1241
|
+
readonly name: "ipAccountRegistry";
|
1242
|
+
readonly internalType: "address";
|
1243
|
+
readonly type: "address";
|
1244
|
+
}];
|
1245
|
+
readonly stateMutability: "nonpayable";
|
1246
|
+
}, {
|
1247
|
+
readonly type: "error";
|
1248
|
+
readonly inputs: readonly [{
|
1249
|
+
readonly name: "ipAccount";
|
1250
|
+
readonly internalType: "address";
|
1251
|
+
readonly type: "address";
|
1252
|
+
}];
|
1253
|
+
readonly name: "AccessControlled__NotIpAccount";
|
1254
|
+
}, {
|
1255
|
+
readonly type: "error";
|
1256
|
+
readonly inputs: readonly [];
|
1257
|
+
readonly name: "AccessControlled__ZeroAddress";
|
1258
|
+
}, {
|
1259
|
+
readonly type: "error";
|
1260
|
+
readonly inputs: readonly [];
|
1261
|
+
readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
|
1262
|
+
}, {
|
1263
|
+
readonly type: "event";
|
1264
|
+
readonly anonymous: false;
|
1265
|
+
readonly inputs: readonly [{
|
1266
|
+
readonly name: "ipId";
|
1267
|
+
readonly internalType: "address";
|
1268
|
+
readonly type: "address";
|
1269
|
+
readonly indexed: true;
|
1270
|
+
}];
|
1271
|
+
readonly name: "MetadataFrozen";
|
1272
|
+
}, {
|
1273
|
+
readonly type: "event";
|
1274
|
+
readonly anonymous: false;
|
1275
|
+
readonly inputs: readonly [{
|
1276
|
+
readonly name: "ipId";
|
1277
|
+
readonly internalType: "address";
|
1278
|
+
readonly type: "address";
|
1279
|
+
readonly indexed: true;
|
1280
|
+
}, {
|
1281
|
+
readonly name: "metadataURI";
|
1282
|
+
readonly internalType: "string";
|
1283
|
+
readonly type: "string";
|
1284
|
+
readonly indexed: false;
|
1285
|
+
}, {
|
1286
|
+
readonly name: "metadataHash";
|
1287
|
+
readonly internalType: "bytes32";
|
1288
|
+
readonly type: "bytes32";
|
1289
|
+
readonly indexed: false;
|
1290
|
+
}];
|
1291
|
+
readonly name: "MetadataURISet";
|
1292
|
+
}, {
|
1293
|
+
readonly type: "event";
|
1294
|
+
readonly anonymous: false;
|
1295
|
+
readonly inputs: readonly [{
|
1296
|
+
readonly name: "ipId";
|
1297
|
+
readonly internalType: "address";
|
1298
|
+
readonly type: "address";
|
1299
|
+
readonly indexed: true;
|
1300
|
+
}, {
|
1301
|
+
readonly name: "nftTokenURI";
|
1302
|
+
readonly internalType: "string";
|
1303
|
+
readonly type: "string";
|
1304
|
+
readonly indexed: false;
|
1305
|
+
}, {
|
1306
|
+
readonly name: "nftMetadataHash";
|
1307
|
+
readonly internalType: "bytes32";
|
1308
|
+
readonly type: "bytes32";
|
1309
|
+
readonly indexed: false;
|
1310
|
+
}];
|
1311
|
+
readonly name: "NFTTokenURISet";
|
1312
|
+
}, {
|
1313
|
+
readonly type: "function";
|
1314
|
+
readonly inputs: readonly [];
|
1315
|
+
readonly name: "ACCESS_CONTROLLER";
|
1316
|
+
readonly outputs: readonly [{
|
1317
|
+
readonly name: "";
|
1318
|
+
readonly internalType: "contract IAccessController";
|
1319
|
+
readonly type: "address";
|
1320
|
+
}];
|
1321
|
+
readonly stateMutability: "view";
|
1322
|
+
}, {
|
1323
|
+
readonly type: "function";
|
1324
|
+
readonly inputs: readonly [];
|
1325
|
+
readonly name: "IP_ACCOUNT_REGISTRY";
|
1326
|
+
readonly outputs: readonly [{
|
1327
|
+
readonly name: "";
|
1328
|
+
readonly internalType: "contract IIPAccountRegistry";
|
1329
|
+
readonly type: "address";
|
1330
|
+
}];
|
1331
|
+
readonly stateMutability: "view";
|
1332
|
+
}, {
|
1333
|
+
readonly type: "function";
|
1334
|
+
readonly inputs: readonly [{
|
1335
|
+
readonly name: "ipId";
|
1336
|
+
readonly internalType: "address";
|
1337
|
+
readonly type: "address";
|
1338
|
+
}];
|
1339
|
+
readonly name: "freezeMetadata";
|
1340
|
+
readonly outputs: readonly [];
|
1341
|
+
readonly stateMutability: "nonpayable";
|
1342
|
+
}, {
|
1343
|
+
readonly type: "function";
|
1344
|
+
readonly inputs: readonly [{
|
1345
|
+
readonly name: "ipId";
|
1346
|
+
readonly internalType: "address";
|
1347
|
+
readonly type: "address";
|
1348
|
+
}];
|
1349
|
+
readonly name: "isMetadataFrozen";
|
1350
|
+
readonly outputs: readonly [{
|
1351
|
+
readonly name: "";
|
1352
|
+
readonly internalType: "bool";
|
1353
|
+
readonly type: "bool";
|
1354
|
+
}];
|
1355
|
+
readonly stateMutability: "view";
|
1356
|
+
}, {
|
1357
|
+
readonly type: "function";
|
1358
|
+
readonly inputs: readonly [];
|
1359
|
+
readonly name: "name";
|
1360
|
+
readonly outputs: readonly [{
|
1361
|
+
readonly name: "";
|
1362
|
+
readonly internalType: "string";
|
1363
|
+
readonly type: "string";
|
1364
|
+
}];
|
1365
|
+
readonly stateMutability: "view";
|
1366
|
+
}, {
|
1367
|
+
readonly type: "function";
|
1368
|
+
readonly inputs: readonly [{
|
1369
|
+
readonly name: "ipId";
|
1370
|
+
readonly internalType: "address";
|
1371
|
+
readonly type: "address";
|
1372
|
+
}, {
|
1373
|
+
readonly name: "metadataURI";
|
1374
|
+
readonly internalType: "string";
|
1375
|
+
readonly type: "string";
|
1376
|
+
}, {
|
1377
|
+
readonly name: "metadataHash";
|
1378
|
+
readonly internalType: "bytes32";
|
1379
|
+
readonly type: "bytes32";
|
1380
|
+
}, {
|
1381
|
+
readonly name: "nftMetadataHash";
|
1382
|
+
readonly internalType: "bytes32";
|
1383
|
+
readonly type: "bytes32";
|
1384
|
+
}];
|
1385
|
+
readonly name: "setAll";
|
1386
|
+
readonly outputs: readonly [];
|
1387
|
+
readonly stateMutability: "nonpayable";
|
1388
|
+
}, {
|
1389
|
+
readonly type: "function";
|
1390
|
+
readonly inputs: readonly [{
|
1391
|
+
readonly name: "ipId";
|
1392
|
+
readonly internalType: "address";
|
1393
|
+
readonly type: "address";
|
1394
|
+
}, {
|
1395
|
+
readonly name: "metadataURI";
|
1396
|
+
readonly internalType: "string";
|
1397
|
+
readonly type: "string";
|
1398
|
+
}, {
|
1399
|
+
readonly name: "metadataHash";
|
1400
|
+
readonly internalType: "bytes32";
|
1401
|
+
readonly type: "bytes32";
|
1402
|
+
}];
|
1403
|
+
readonly name: "setMetadataURI";
|
1404
|
+
readonly outputs: readonly [];
|
1405
|
+
readonly stateMutability: "nonpayable";
|
1406
|
+
}, {
|
1407
|
+
readonly type: "function";
|
1408
|
+
readonly inputs: readonly [{
|
1409
|
+
readonly name: "interfaceId";
|
1410
|
+
readonly internalType: "bytes4";
|
1411
|
+
readonly type: "bytes4";
|
1412
|
+
}];
|
1413
|
+
readonly name: "supportsInterface";
|
1414
|
+
readonly outputs: readonly [{
|
1415
|
+
readonly name: "";
|
1416
|
+
readonly internalType: "bool";
|
1417
|
+
readonly type: "bool";
|
1418
|
+
}];
|
1419
|
+
readonly stateMutability: "view";
|
1420
|
+
}, {
|
1421
|
+
readonly type: "function";
|
1422
|
+
readonly inputs: readonly [{
|
1423
|
+
readonly name: "ipId";
|
1424
|
+
readonly internalType: "address";
|
1425
|
+
readonly type: "address";
|
1426
|
+
}, {
|
1427
|
+
readonly name: "nftMetadataHash";
|
1428
|
+
readonly internalType: "bytes32";
|
1429
|
+
readonly type: "bytes32";
|
1430
|
+
}];
|
1431
|
+
readonly name: "updateNftTokenURI";
|
1432
|
+
readonly outputs: readonly [];
|
1433
|
+
readonly stateMutability: "nonpayable";
|
1434
|
+
}];
|
1435
|
+
};
|
1017
1436
|
/**
|
1018
1437
|
* [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xEB7B1dd43B81A7be1fA427515a2b173B454A9832)
|
1019
1438
|
*/
|
@@ -16773,11 +17192,11 @@ export declare const spgAbi: readonly [{
|
|
16773
17192
|
readonly internalType: "uint32";
|
16774
17193
|
readonly type: "uint32";
|
16775
17194
|
}, {
|
16776
|
-
readonly name: "
|
17195
|
+
readonly name: "mintFee";
|
16777
17196
|
readonly internalType: "uint256";
|
16778
17197
|
readonly type: "uint256";
|
16779
17198
|
}, {
|
16780
|
-
readonly name: "
|
17199
|
+
readonly name: "mintFeeToken";
|
16781
17200
|
readonly internalType: "address";
|
16782
17201
|
readonly type: "address";
|
16783
17202
|
}, {
|
@@ -17079,11 +17498,63 @@ export declare const spgAbi: readonly [{
|
|
17079
17498
|
readonly inputs: readonly [];
|
17080
17499
|
readonly name: "proxiableUUID";
|
17081
17500
|
readonly outputs: readonly [{
|
17082
|
-
readonly name: "";
|
17083
|
-
readonly internalType: "bytes32";
|
17084
|
-
readonly type: "bytes32";
|
17501
|
+
readonly name: "";
|
17502
|
+
readonly internalType: "bytes32";
|
17503
|
+
readonly type: "bytes32";
|
17504
|
+
}];
|
17505
|
+
readonly stateMutability: "view";
|
17506
|
+
}, {
|
17507
|
+
readonly type: "function";
|
17508
|
+
readonly inputs: readonly [{
|
17509
|
+
readonly name: "nftContract";
|
17510
|
+
readonly internalType: "address";
|
17511
|
+
readonly type: "address";
|
17512
|
+
}, {
|
17513
|
+
readonly name: "tokenId";
|
17514
|
+
readonly internalType: "uint256";
|
17515
|
+
readonly type: "uint256";
|
17516
|
+
}, {
|
17517
|
+
readonly name: "metadata";
|
17518
|
+
readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
|
17519
|
+
readonly type: "tuple";
|
17520
|
+
readonly components: readonly [{
|
17521
|
+
readonly name: "metadataURI";
|
17522
|
+
readonly internalType: "string";
|
17523
|
+
readonly type: "string";
|
17524
|
+
}, {
|
17525
|
+
readonly name: "metadataHash";
|
17526
|
+
readonly internalType: "bytes32";
|
17527
|
+
readonly type: "bytes32";
|
17528
|
+
}, {
|
17529
|
+
readonly name: "nftMetadataHash";
|
17530
|
+
readonly internalType: "bytes32";
|
17531
|
+
readonly type: "bytes32";
|
17532
|
+
}];
|
17533
|
+
}, {
|
17534
|
+
readonly name: "sigMetadata";
|
17535
|
+
readonly internalType: "struct IStoryProtocolGateway.SignatureData";
|
17536
|
+
readonly type: "tuple";
|
17537
|
+
readonly components: readonly [{
|
17538
|
+
readonly name: "signer";
|
17539
|
+
readonly internalType: "address";
|
17540
|
+
readonly type: "address";
|
17541
|
+
}, {
|
17542
|
+
readonly name: "deadline";
|
17543
|
+
readonly internalType: "uint256";
|
17544
|
+
readonly type: "uint256";
|
17545
|
+
}, {
|
17546
|
+
readonly name: "signature";
|
17547
|
+
readonly internalType: "bytes";
|
17548
|
+
readonly type: "bytes";
|
17549
|
+
}];
|
17550
|
+
}];
|
17551
|
+
readonly name: "registerIp";
|
17552
|
+
readonly outputs: readonly [{
|
17553
|
+
readonly name: "ipId";
|
17554
|
+
readonly internalType: "address";
|
17555
|
+
readonly type: "address";
|
17085
17556
|
}];
|
17086
|
-
readonly stateMutability: "
|
17557
|
+
readonly stateMutability: "nonpayable";
|
17087
17558
|
}, {
|
17088
17559
|
readonly type: "function";
|
17089
17560
|
readonly inputs: readonly [{
|
@@ -17789,11 +18260,11 @@ export declare const spgConfig: {
|
|
17789
18260
|
readonly internalType: "uint32";
|
17790
18261
|
readonly type: "uint32";
|
17791
18262
|
}, {
|
17792
|
-
readonly name: "
|
18263
|
+
readonly name: "mintFee";
|
17793
18264
|
readonly internalType: "uint256";
|
17794
18265
|
readonly type: "uint256";
|
17795
18266
|
}, {
|
17796
|
-
readonly name: "
|
18267
|
+
readonly name: "mintFeeToken";
|
17797
18268
|
readonly internalType: "address";
|
17798
18269
|
readonly type: "address";
|
17799
18270
|
}, {
|
@@ -18100,6 +18571,58 @@ export declare const spgConfig: {
|
|
18100
18571
|
readonly type: "bytes32";
|
18101
18572
|
}];
|
18102
18573
|
readonly stateMutability: "view";
|
18574
|
+
}, {
|
18575
|
+
readonly type: "function";
|
18576
|
+
readonly inputs: readonly [{
|
18577
|
+
readonly name: "nftContract";
|
18578
|
+
readonly internalType: "address";
|
18579
|
+
readonly type: "address";
|
18580
|
+
}, {
|
18581
|
+
readonly name: "tokenId";
|
18582
|
+
readonly internalType: "uint256";
|
18583
|
+
readonly type: "uint256";
|
18584
|
+
}, {
|
18585
|
+
readonly name: "metadata";
|
18586
|
+
readonly internalType: "struct IStoryProtocolGateway.IPMetadata";
|
18587
|
+
readonly type: "tuple";
|
18588
|
+
readonly components: readonly [{
|
18589
|
+
readonly name: "metadataURI";
|
18590
|
+
readonly internalType: "string";
|
18591
|
+
readonly type: "string";
|
18592
|
+
}, {
|
18593
|
+
readonly name: "metadataHash";
|
18594
|
+
readonly internalType: "bytes32";
|
18595
|
+
readonly type: "bytes32";
|
18596
|
+
}, {
|
18597
|
+
readonly name: "nftMetadataHash";
|
18598
|
+
readonly internalType: "bytes32";
|
18599
|
+
readonly type: "bytes32";
|
18600
|
+
}];
|
18601
|
+
}, {
|
18602
|
+
readonly name: "sigMetadata";
|
18603
|
+
readonly internalType: "struct IStoryProtocolGateway.SignatureData";
|
18604
|
+
readonly type: "tuple";
|
18605
|
+
readonly components: readonly [{
|
18606
|
+
readonly name: "signer";
|
18607
|
+
readonly internalType: "address";
|
18608
|
+
readonly type: "address";
|
18609
|
+
}, {
|
18610
|
+
readonly name: "deadline";
|
18611
|
+
readonly internalType: "uint256";
|
18612
|
+
readonly type: "uint256";
|
18613
|
+
}, {
|
18614
|
+
readonly name: "signature";
|
18615
|
+
readonly internalType: "bytes";
|
18616
|
+
readonly type: "bytes";
|
18617
|
+
}];
|
18618
|
+
}];
|
18619
|
+
readonly name: "registerIp";
|
18620
|
+
readonly outputs: readonly [{
|
18621
|
+
readonly name: "ipId";
|
18622
|
+
readonly internalType: "address";
|
18623
|
+
readonly type: "address";
|
18624
|
+
}];
|
18625
|
+
readonly stateMutability: "nonpayable";
|
18103
18626
|
}, {
|
18104
18627
|
readonly type: "function";
|
18105
18628
|
readonly inputs: readonly [{
|
@@ -20202,6 +20725,211 @@ export declare class AccessControllerClient extends AccessControllerEventClient
|
|
20202
20725
|
*/
|
20203
20726
|
setPermission(request: AccessControllerSetPermissionRequest): Promise<WriteContractReturnType>;
|
20204
20727
|
}
|
20728
|
+
/**
|
20729
|
+
* CoreMetadataModuleMetadataFrozenEvent
|
20730
|
+
*
|
20731
|
+
* @param ipId address
|
20732
|
+
*/
|
20733
|
+
export type CoreMetadataModuleMetadataFrozenEvent = {
|
20734
|
+
ipId: Address;
|
20735
|
+
};
|
20736
|
+
/**
|
20737
|
+
* CoreMetadataModuleMetadataUriSetEvent
|
20738
|
+
*
|
20739
|
+
* @param ipId address
|
20740
|
+
* @param metadataURI string
|
20741
|
+
* @param metadataHash bytes32
|
20742
|
+
*/
|
20743
|
+
export type CoreMetadataModuleMetadataUriSetEvent = {
|
20744
|
+
ipId: Address;
|
20745
|
+
metadataURI: string;
|
20746
|
+
metadataHash: Hex;
|
20747
|
+
};
|
20748
|
+
/**
|
20749
|
+
* CoreMetadataModuleNftTokenUriSetEvent
|
20750
|
+
*
|
20751
|
+
* @param ipId address
|
20752
|
+
* @param nftTokenURI string
|
20753
|
+
* @param nftMetadataHash bytes32
|
20754
|
+
*/
|
20755
|
+
export type CoreMetadataModuleNftTokenUriSetEvent = {
|
20756
|
+
ipId: Address;
|
20757
|
+
nftTokenURI: string;
|
20758
|
+
nftMetadataHash: Hex;
|
20759
|
+
};
|
20760
|
+
export type CoreMetadataModuleAccessControllerResponse = Address;
|
20761
|
+
export type CoreMetadataModuleIpAccountRegistryResponse = Address;
|
20762
|
+
/**
|
20763
|
+
* CoreMetadataModuleIsMetadataFrozenRequest
|
20764
|
+
*
|
20765
|
+
* @param ipId address
|
20766
|
+
*/
|
20767
|
+
export type CoreMetadataModuleIsMetadataFrozenRequest = {
|
20768
|
+
ipId: Address;
|
20769
|
+
};
|
20770
|
+
export type CoreMetadataModuleIsMetadataFrozenResponse = boolean;
|
20771
|
+
export type CoreMetadataModuleNameResponse = string;
|
20772
|
+
/**
|
20773
|
+
* CoreMetadataModuleSupportsInterfaceRequest
|
20774
|
+
*
|
20775
|
+
* @param interfaceId bytes4
|
20776
|
+
*/
|
20777
|
+
export type CoreMetadataModuleSupportsInterfaceRequest = {
|
20778
|
+
interfaceId: Hex;
|
20779
|
+
};
|
20780
|
+
export type CoreMetadataModuleSupportsInterfaceResponse = boolean;
|
20781
|
+
/**
|
20782
|
+
* CoreMetadataModuleFreezeMetadataRequest
|
20783
|
+
*
|
20784
|
+
* @param ipId address
|
20785
|
+
*/
|
20786
|
+
export type CoreMetadataModuleFreezeMetadataRequest = {
|
20787
|
+
ipId: Address;
|
20788
|
+
};
|
20789
|
+
/**
|
20790
|
+
* CoreMetadataModuleSetAllRequest
|
20791
|
+
*
|
20792
|
+
* @param ipId address
|
20793
|
+
* @param metadataURI string
|
20794
|
+
* @param metadataHash bytes32
|
20795
|
+
* @param nftMetadataHash bytes32
|
20796
|
+
*/
|
20797
|
+
export type CoreMetadataModuleSetAllRequest = {
|
20798
|
+
ipId: Address;
|
20799
|
+
metadataURI: string;
|
20800
|
+
metadataHash: Hex;
|
20801
|
+
nftMetadataHash: Hex;
|
20802
|
+
};
|
20803
|
+
/**
|
20804
|
+
* CoreMetadataModuleSetMetadataUriRequest
|
20805
|
+
*
|
20806
|
+
* @param ipId address
|
20807
|
+
* @param metadataURI string
|
20808
|
+
* @param metadataHash bytes32
|
20809
|
+
*/
|
20810
|
+
export type CoreMetadataModuleSetMetadataUriRequest = {
|
20811
|
+
ipId: Address;
|
20812
|
+
metadataURI: string;
|
20813
|
+
metadataHash: Hex;
|
20814
|
+
};
|
20815
|
+
/**
|
20816
|
+
* CoreMetadataModuleUpdateNftTokenUriRequest
|
20817
|
+
*
|
20818
|
+
* @param ipId address
|
20819
|
+
* @param nftMetadataHash bytes32
|
20820
|
+
*/
|
20821
|
+
export type CoreMetadataModuleUpdateNftTokenUriRequest = {
|
20822
|
+
ipId: Address;
|
20823
|
+
nftMetadataHash: Hex;
|
20824
|
+
};
|
20825
|
+
/**
|
20826
|
+
* contract CoreMetadataModule event
|
20827
|
+
*/
|
20828
|
+
export declare class CoreMetadataModuleEventClient {
|
20829
|
+
protected readonly rpcClient: PublicClient;
|
20830
|
+
readonly address: Address;
|
20831
|
+
constructor(rpcClient: PublicClient, address?: Address);
|
20832
|
+
/**
|
20833
|
+
* event MetadataFrozen for contract CoreMetadataModule
|
20834
|
+
*/
|
20835
|
+
watchMetadataFrozenEvent(onLogs: (txHash: Hex, ev: Partial<CoreMetadataModuleMetadataFrozenEvent>) => void): WatchContractEventReturnType;
|
20836
|
+
/**
|
20837
|
+
* parse tx receipt event MetadataFrozen for contract CoreMetadataModule
|
20838
|
+
*/
|
20839
|
+
parseTxMetadataFrozenEvent(txReceipt: TransactionReceipt): Array<CoreMetadataModuleMetadataFrozenEvent>;
|
20840
|
+
/**
|
20841
|
+
* event MetadataURISet for contract CoreMetadataModule
|
20842
|
+
*/
|
20843
|
+
watchMetadataUriSetEvent(onLogs: (txHash: Hex, ev: Partial<CoreMetadataModuleMetadataUriSetEvent>) => void): WatchContractEventReturnType;
|
20844
|
+
/**
|
20845
|
+
* parse tx receipt event MetadataURISet for contract CoreMetadataModule
|
20846
|
+
*/
|
20847
|
+
parseTxMetadataUriSetEvent(txReceipt: TransactionReceipt): Array<CoreMetadataModuleMetadataUriSetEvent>;
|
20848
|
+
/**
|
20849
|
+
* event NFTTokenURISet for contract CoreMetadataModule
|
20850
|
+
*/
|
20851
|
+
watchNftTokenUriSetEvent(onLogs: (txHash: Hex, ev: Partial<CoreMetadataModuleNftTokenUriSetEvent>) => void): WatchContractEventReturnType;
|
20852
|
+
/**
|
20853
|
+
* parse tx receipt event NFTTokenURISet for contract CoreMetadataModule
|
20854
|
+
*/
|
20855
|
+
parseTxNftTokenUriSetEvent(txReceipt: TransactionReceipt): Array<CoreMetadataModuleNftTokenUriSetEvent>;
|
20856
|
+
}
|
20857
|
+
/**
|
20858
|
+
* contract CoreMetadataModule readonly method
|
20859
|
+
*/
|
20860
|
+
export declare class CoreMetadataModuleReadOnlyClient extends CoreMetadataModuleEventClient {
|
20861
|
+
constructor(rpcClient: PublicClient, address?: Address);
|
20862
|
+
/**
|
20863
|
+
* method ACCESS_CONTROLLER for contract CoreMetadataModule
|
20864
|
+
*
|
20865
|
+
* @param request CoreMetadataModuleAccessControllerRequest
|
20866
|
+
* @return Promise<CoreMetadataModuleAccessControllerResponse>
|
20867
|
+
*/
|
20868
|
+
accessController(): Promise<CoreMetadataModuleAccessControllerResponse>;
|
20869
|
+
/**
|
20870
|
+
* method IP_ACCOUNT_REGISTRY for contract CoreMetadataModule
|
20871
|
+
*
|
20872
|
+
* @param request CoreMetadataModuleIpAccountRegistryRequest
|
20873
|
+
* @return Promise<CoreMetadataModuleIpAccountRegistryResponse>
|
20874
|
+
*/
|
20875
|
+
ipAccountRegistry(): Promise<CoreMetadataModuleIpAccountRegistryResponse>;
|
20876
|
+
/**
|
20877
|
+
* method isMetadataFrozen for contract CoreMetadataModule
|
20878
|
+
*
|
20879
|
+
* @param request CoreMetadataModuleIsMetadataFrozenRequest
|
20880
|
+
* @return Promise<CoreMetadataModuleIsMetadataFrozenResponse>
|
20881
|
+
*/
|
20882
|
+
isMetadataFrozen(request: CoreMetadataModuleIsMetadataFrozenRequest): Promise<CoreMetadataModuleIsMetadataFrozenResponse>;
|
20883
|
+
/**
|
20884
|
+
* method name for contract CoreMetadataModule
|
20885
|
+
*
|
20886
|
+
* @param request CoreMetadataModuleNameRequest
|
20887
|
+
* @return Promise<CoreMetadataModuleNameResponse>
|
20888
|
+
*/
|
20889
|
+
name(): Promise<CoreMetadataModuleNameResponse>;
|
20890
|
+
/**
|
20891
|
+
* method supportsInterface for contract CoreMetadataModule
|
20892
|
+
*
|
20893
|
+
* @param request CoreMetadataModuleSupportsInterfaceRequest
|
20894
|
+
* @return Promise<CoreMetadataModuleSupportsInterfaceResponse>
|
20895
|
+
*/
|
20896
|
+
supportsInterface(request: CoreMetadataModuleSupportsInterfaceRequest): Promise<CoreMetadataModuleSupportsInterfaceResponse>;
|
20897
|
+
}
|
20898
|
+
/**
|
20899
|
+
* contract CoreMetadataModule write method
|
20900
|
+
*/
|
20901
|
+
export declare class CoreMetadataModuleClient extends CoreMetadataModuleReadOnlyClient {
|
20902
|
+
protected readonly wallet: SimpleWalletClient;
|
20903
|
+
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
20904
|
+
/**
|
20905
|
+
* method freezeMetadata for contract CoreMetadataModule
|
20906
|
+
*
|
20907
|
+
* @param request CoreMetadataModuleFreezeMetadataRequest
|
20908
|
+
* @return Promise<WriteContractReturnType>
|
20909
|
+
*/
|
20910
|
+
freezeMetadata(request: CoreMetadataModuleFreezeMetadataRequest): Promise<WriteContractReturnType>;
|
20911
|
+
/**
|
20912
|
+
* method setAll for contract CoreMetadataModule
|
20913
|
+
*
|
20914
|
+
* @param request CoreMetadataModuleSetAllRequest
|
20915
|
+
* @return Promise<WriteContractReturnType>
|
20916
|
+
*/
|
20917
|
+
setAll(request: CoreMetadataModuleSetAllRequest): Promise<WriteContractReturnType>;
|
20918
|
+
/**
|
20919
|
+
* method setMetadataURI for contract CoreMetadataModule
|
20920
|
+
*
|
20921
|
+
* @param request CoreMetadataModuleSetMetadataUriRequest
|
20922
|
+
* @return Promise<WriteContractReturnType>
|
20923
|
+
*/
|
20924
|
+
setMetadataUri(request: CoreMetadataModuleSetMetadataUriRequest): Promise<WriteContractReturnType>;
|
20925
|
+
/**
|
20926
|
+
* method updateNftTokenURI for contract CoreMetadataModule
|
20927
|
+
*
|
20928
|
+
* @param request CoreMetadataModuleUpdateNftTokenUriRequest
|
20929
|
+
* @return Promise<WriteContractReturnType>
|
20930
|
+
*/
|
20931
|
+
updateNftTokenUri(request: CoreMetadataModuleUpdateNftTokenUriRequest): Promise<WriteContractReturnType>;
|
20932
|
+
}
|
20205
20933
|
/**
|
20206
20934
|
* DisputeModuleDisputeCancelledEvent
|
20207
20935
|
*
|
@@ -20334,6 +21062,7 @@ export declare class DisputeModuleClient extends DisputeModuleEventClient {
|
|
20334
21062
|
*/
|
20335
21063
|
resolveDispute(request: DisputeModuleResolveDisputeRequest): Promise<WriteContractReturnType>;
|
20336
21064
|
}
|
21065
|
+
export type IpAccountImplStateResponse = bigint;
|
20337
21066
|
/**
|
20338
21067
|
* IpAccountImplExecuteRequest
|
20339
21068
|
*
|
@@ -20365,12 +21094,25 @@ export type IpAccountImplExecuteWithSigRequest = {
|
|
20365
21094
|
signature: Hex;
|
20366
21095
|
};
|
20367
21096
|
/**
|
20368
|
-
* contract IPAccountImpl
|
21097
|
+
* contract IPAccountImpl readonly method
|
20369
21098
|
*/
|
20370
|
-
export declare class
|
20371
|
-
protected readonly wallet: SimpleWalletClient;
|
21099
|
+
export declare class IpAccountImplReadOnlyClient {
|
20372
21100
|
protected readonly rpcClient: PublicClient;
|
20373
21101
|
readonly address: Address;
|
21102
|
+
constructor(rpcClient: PublicClient, address?: Address);
|
21103
|
+
/**
|
21104
|
+
* method state for contract IPAccountImpl
|
21105
|
+
*
|
21106
|
+
* @param request IpAccountImplStateRequest
|
21107
|
+
* @return Promise<IpAccountImplStateResponse>
|
21108
|
+
*/
|
21109
|
+
state(): Promise<IpAccountImplStateResponse>;
|
21110
|
+
}
|
21111
|
+
/**
|
21112
|
+
* contract IPAccountImpl write method
|
21113
|
+
*/
|
21114
|
+
export declare class IpAccountImplClient extends IpAccountImplReadOnlyClient {
|
21115
|
+
protected readonly wallet: SimpleWalletClient;
|
20374
21116
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
20375
21117
|
/**
|
20376
21118
|
* method execute for contract IPAccountImpl
|
@@ -20387,6 +21129,22 @@ export declare class IpAccountImplClient {
|
|
20387
21129
|
*/
|
20388
21130
|
executeWithSig(request: IpAccountImplExecuteWithSigRequest): Promise<WriteContractReturnType>;
|
20389
21131
|
}
|
21132
|
+
/**
|
21133
|
+
* IpAssetRegistryIpAccountRegisteredEvent
|
21134
|
+
*
|
21135
|
+
* @param account address
|
21136
|
+
* @param implementation address
|
21137
|
+
* @param chainId uint256
|
21138
|
+
* @param tokenContract address
|
21139
|
+
* @param tokenId uint256
|
21140
|
+
*/
|
21141
|
+
export type IpAssetRegistryIpAccountRegisteredEvent = {
|
21142
|
+
account: Address;
|
21143
|
+
implementation: Address;
|
21144
|
+
chainId: bigint;
|
21145
|
+
tokenContract: Address;
|
21146
|
+
tokenId: bigint;
|
21147
|
+
};
|
20390
21148
|
/**
|
20391
21149
|
* IpAssetRegistryIpRegisteredEvent
|
20392
21150
|
*
|
@@ -20448,6 +21206,14 @@ export declare class IpAssetRegistryEventClient {
|
|
20448
21206
|
protected readonly rpcClient: PublicClient;
|
20449
21207
|
readonly address: Address;
|
20450
21208
|
constructor(rpcClient: PublicClient, address?: Address);
|
21209
|
+
/**
|
21210
|
+
* event IPAccountRegistered for contract IPAssetRegistry
|
21211
|
+
*/
|
21212
|
+
watchIpAccountRegisteredEvent(onLogs: (txHash: Hex, ev: Partial<IpAssetRegistryIpAccountRegisteredEvent>) => void): WatchContractEventReturnType;
|
21213
|
+
/**
|
21214
|
+
* parse tx receipt event IPAccountRegistered for contract IPAssetRegistry
|
21215
|
+
*/
|
21216
|
+
parseTxIpAccountRegisteredEvent(txReceipt: TransactionReceipt): Array<IpAssetRegistryIpAccountRegisteredEvent>;
|
20451
21217
|
/**
|
20452
21218
|
* event IPRegistered for contract IPAssetRegistry
|
20453
21219
|
*/
|
@@ -21394,6 +22160,20 @@ export declare class LicenseTokenReadOnlyClient {
|
|
21394
22160
|
*/
|
21395
22161
|
ownerOf(request: LicenseTokenOwnerOfRequest): Promise<LicenseTokenOwnerOfResponse>;
|
21396
22162
|
}
|
22163
|
+
/**
|
22164
|
+
* LicensingModuleLicenseTermsAttachedEvent
|
22165
|
+
*
|
22166
|
+
* @param caller address
|
22167
|
+
* @param ipId address
|
22168
|
+
* @param licenseTemplate address
|
22169
|
+
* @param licenseTermsId uint256
|
22170
|
+
*/
|
22171
|
+
export type LicensingModuleLicenseTermsAttachedEvent = {
|
22172
|
+
caller: Address;
|
22173
|
+
ipId: Address;
|
22174
|
+
licenseTemplate: Address;
|
22175
|
+
licenseTermsId: bigint;
|
22176
|
+
};
|
21397
22177
|
/**
|
21398
22178
|
* LicensingModuleLicenseTokensMintedEvent
|
21399
22179
|
*
|
@@ -21479,6 +22259,14 @@ export declare class LicensingModuleEventClient {
|
|
21479
22259
|
protected readonly rpcClient: PublicClient;
|
21480
22260
|
readonly address: Address;
|
21481
22261
|
constructor(rpcClient: PublicClient, address?: Address);
|
22262
|
+
/**
|
22263
|
+
* event LicenseTermsAttached for contract LicensingModule
|
22264
|
+
*/
|
22265
|
+
watchLicenseTermsAttachedEvent(onLogs: (txHash: Hex, ev: Partial<LicensingModuleLicenseTermsAttachedEvent>) => void): WatchContractEventReturnType;
|
22266
|
+
/**
|
22267
|
+
* parse tx receipt event LicenseTermsAttached for contract LicensingModule
|
22268
|
+
*/
|
22269
|
+
parseTxLicenseTermsAttachedEvent(txReceipt: TransactionReceipt): Array<LicensingModuleLicenseTermsAttachedEvent>;
|
21482
22270
|
/**
|
21483
22271
|
* event LicenseTokensMinted for contract LicensingModule
|
21484
22272
|
*/
|
@@ -22288,16 +23076,16 @@ export type SpgCollectionCreatedEvent = {
|
|
22288
23076
|
* @param name string
|
22289
23077
|
* @param symbol string
|
22290
23078
|
* @param maxSupply uint32
|
22291
|
-
* @param
|
22292
|
-
* @param
|
23079
|
+
* @param mintFee uint256
|
23080
|
+
* @param mintFeeToken address
|
22293
23081
|
* @param owner address
|
22294
23082
|
*/
|
22295
23083
|
export type SpgCreateCollectionRequest = {
|
22296
23084
|
name: string;
|
22297
23085
|
symbol: string;
|
22298
23086
|
maxSupply: number;
|
22299
|
-
|
22300
|
-
|
23087
|
+
mintFee: bigint;
|
23088
|
+
mintFeeToken: Address;
|
22301
23089
|
owner: Address;
|
22302
23090
|
};
|
22303
23091
|
/**
|
@@ -22395,6 +23183,28 @@ export type SpgMintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
|
|
22395
23183
|
};
|
22396
23184
|
recipient: Address;
|
22397
23185
|
};
|
23186
|
+
/**
|
23187
|
+
* SpgRegisterIpRequest
|
23188
|
+
*
|
23189
|
+
* @param nftContract address
|
23190
|
+
* @param tokenId uint256
|
23191
|
+
* @param metadata tuple
|
23192
|
+
* @param sigMetadata tuple
|
23193
|
+
*/
|
23194
|
+
export type SpgRegisterIpRequest = {
|
23195
|
+
nftContract: Address;
|
23196
|
+
tokenId: bigint;
|
23197
|
+
metadata: {
|
23198
|
+
metadataURI: string;
|
23199
|
+
metadataHash: Hex;
|
23200
|
+
nftMetadataHash: Hex;
|
23201
|
+
};
|
23202
|
+
sigMetadata: {
|
23203
|
+
signer: Address;
|
23204
|
+
deadline: bigint;
|
23205
|
+
signature: Hex;
|
23206
|
+
};
|
23207
|
+
};
|
22398
23208
|
/**
|
22399
23209
|
* SpgRegisterIpAndAttachPilTermsRequest
|
22400
23210
|
*
|
@@ -22595,6 +23405,13 @@ export declare class SpgClient extends SpgEventClient {
|
|
22595
23405
|
* @return Promise<WriteContractReturnType>
|
22596
23406
|
*/
|
22597
23407
|
mintAndRegisterIpAndMakeDerivativeWithLicenseTokens(request: SpgMintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest): Promise<WriteContractReturnType>;
|
23408
|
+
/**
|
23409
|
+
* method registerIp for contract SPG
|
23410
|
+
*
|
23411
|
+
* @param request SpgRegisterIpRequest
|
23412
|
+
* @return Promise<WriteContractReturnType>
|
23413
|
+
*/
|
23414
|
+
registerIp(request: SpgRegisterIpRequest): Promise<WriteContractReturnType>;
|
22598
23415
|
/**
|
22599
23416
|
* method registerIpAndAttachPILTerms for contract SPG
|
22600
23417
|
*
|