@story-protocol/core-sdk 1.0.0-rc.10 → 1.0.0-rc.11
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 +512 -3
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +4 -4
- 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 +46 -10
- 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/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.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 +56 -16
- 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/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 +1666 -1229
- package/dist/story-protocol-core-sdk.cjs.prod.js +1666 -1229
- package/dist/story-protocol-core-sdk.esm.js +1666 -1229
- 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
|
*/
|
@@ -20202,6 +20621,36 @@ export declare class AccessControllerClient extends AccessControllerEventClient
|
|
20202
20621
|
*/
|
20203
20622
|
setPermission(request: AccessControllerSetPermissionRequest): Promise<WriteContractReturnType>;
|
20204
20623
|
}
|
20624
|
+
/**
|
20625
|
+
* CoreMetadataModuleSetAllRequest
|
20626
|
+
*
|
20627
|
+
* @param ipId address
|
20628
|
+
* @param metadataURI string
|
20629
|
+
* @param metadataHash bytes32
|
20630
|
+
* @param nftMetadataHash bytes32
|
20631
|
+
*/
|
20632
|
+
export type CoreMetadataModuleSetAllRequest = {
|
20633
|
+
ipId: Address;
|
20634
|
+
metadataURI: string;
|
20635
|
+
metadataHash: Hex;
|
20636
|
+
nftMetadataHash: Hex;
|
20637
|
+
};
|
20638
|
+
/**
|
20639
|
+
* contract CoreMetadataModule write method
|
20640
|
+
*/
|
20641
|
+
export declare class CoreMetadataModuleClient {
|
20642
|
+
protected readonly wallet: SimpleWalletClient;
|
20643
|
+
protected readonly rpcClient: PublicClient;
|
20644
|
+
readonly address: Address;
|
20645
|
+
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
20646
|
+
/**
|
20647
|
+
* method setAll for contract CoreMetadataModule
|
20648
|
+
*
|
20649
|
+
* @param request CoreMetadataModuleSetAllRequest
|
20650
|
+
* @return Promise<WriteContractReturnType>
|
20651
|
+
*/
|
20652
|
+
setAll(request: CoreMetadataModuleSetAllRequest): Promise<WriteContractReturnType>;
|
20653
|
+
}
|
20205
20654
|
/**
|
20206
20655
|
* DisputeModuleDisputeCancelledEvent
|
20207
20656
|
*
|
@@ -20334,6 +20783,7 @@ export declare class DisputeModuleClient extends DisputeModuleEventClient {
|
|
20334
20783
|
*/
|
20335
20784
|
resolveDispute(request: DisputeModuleResolveDisputeRequest): Promise<WriteContractReturnType>;
|
20336
20785
|
}
|
20786
|
+
export type IpAccountImplStateResponse = bigint;
|
20337
20787
|
/**
|
20338
20788
|
* IpAccountImplExecuteRequest
|
20339
20789
|
*
|
@@ -20365,12 +20815,25 @@ export type IpAccountImplExecuteWithSigRequest = {
|
|
20365
20815
|
signature: Hex;
|
20366
20816
|
};
|
20367
20817
|
/**
|
20368
|
-
* contract IPAccountImpl
|
20818
|
+
* contract IPAccountImpl readonly method
|
20369
20819
|
*/
|
20370
|
-
export declare class
|
20371
|
-
protected readonly wallet: SimpleWalletClient;
|
20820
|
+
export declare class IpAccountImplReadOnlyClient {
|
20372
20821
|
protected readonly rpcClient: PublicClient;
|
20373
20822
|
readonly address: Address;
|
20823
|
+
constructor(rpcClient: PublicClient, address?: Address);
|
20824
|
+
/**
|
20825
|
+
* method state for contract IPAccountImpl
|
20826
|
+
*
|
20827
|
+
* @param request IpAccountImplStateRequest
|
20828
|
+
* @return Promise<IpAccountImplStateResponse>
|
20829
|
+
*/
|
20830
|
+
state(): Promise<IpAccountImplStateResponse>;
|
20831
|
+
}
|
20832
|
+
/**
|
20833
|
+
* contract IPAccountImpl write method
|
20834
|
+
*/
|
20835
|
+
export declare class IpAccountImplClient extends IpAccountImplReadOnlyClient {
|
20836
|
+
protected readonly wallet: SimpleWalletClient;
|
20374
20837
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
20375
20838
|
/**
|
20376
20839
|
* method execute for contract IPAccountImpl
|
@@ -20387,6 +20850,22 @@ export declare class IpAccountImplClient {
|
|
20387
20850
|
*/
|
20388
20851
|
executeWithSig(request: IpAccountImplExecuteWithSigRequest): Promise<WriteContractReturnType>;
|
20389
20852
|
}
|
20853
|
+
/**
|
20854
|
+
* IpAssetRegistryIpAccountRegisteredEvent
|
20855
|
+
*
|
20856
|
+
* @param account address
|
20857
|
+
* @param implementation address
|
20858
|
+
* @param chainId uint256
|
20859
|
+
* @param tokenContract address
|
20860
|
+
* @param tokenId uint256
|
20861
|
+
*/
|
20862
|
+
export type IpAssetRegistryIpAccountRegisteredEvent = {
|
20863
|
+
account: Address;
|
20864
|
+
implementation: Address;
|
20865
|
+
chainId: bigint;
|
20866
|
+
tokenContract: Address;
|
20867
|
+
tokenId: bigint;
|
20868
|
+
};
|
20390
20869
|
/**
|
20391
20870
|
* IpAssetRegistryIpRegisteredEvent
|
20392
20871
|
*
|
@@ -20448,6 +20927,14 @@ export declare class IpAssetRegistryEventClient {
|
|
20448
20927
|
protected readonly rpcClient: PublicClient;
|
20449
20928
|
readonly address: Address;
|
20450
20929
|
constructor(rpcClient: PublicClient, address?: Address);
|
20930
|
+
/**
|
20931
|
+
* event IPAccountRegistered for contract IPAssetRegistry
|
20932
|
+
*/
|
20933
|
+
watchIpAccountRegisteredEvent(onLogs: (txHash: Hex, ev: Partial<IpAssetRegistryIpAccountRegisteredEvent>) => void): WatchContractEventReturnType;
|
20934
|
+
/**
|
20935
|
+
* parse tx receipt event IPAccountRegistered for contract IPAssetRegistry
|
20936
|
+
*/
|
20937
|
+
parseTxIpAccountRegisteredEvent(txReceipt: TransactionReceipt): Array<IpAssetRegistryIpAccountRegisteredEvent>;
|
20451
20938
|
/**
|
20452
20939
|
* event IPRegistered for contract IPAssetRegistry
|
20453
20940
|
*/
|
@@ -21394,6 +21881,20 @@ export declare class LicenseTokenReadOnlyClient {
|
|
21394
21881
|
*/
|
21395
21882
|
ownerOf(request: LicenseTokenOwnerOfRequest): Promise<LicenseTokenOwnerOfResponse>;
|
21396
21883
|
}
|
21884
|
+
/**
|
21885
|
+
* LicensingModuleLicenseTermsAttachedEvent
|
21886
|
+
*
|
21887
|
+
* @param caller address
|
21888
|
+
* @param ipId address
|
21889
|
+
* @param licenseTemplate address
|
21890
|
+
* @param licenseTermsId uint256
|
21891
|
+
*/
|
21892
|
+
export type LicensingModuleLicenseTermsAttachedEvent = {
|
21893
|
+
caller: Address;
|
21894
|
+
ipId: Address;
|
21895
|
+
licenseTemplate: Address;
|
21896
|
+
licenseTermsId: bigint;
|
21897
|
+
};
|
21397
21898
|
/**
|
21398
21899
|
* LicensingModuleLicenseTokensMintedEvent
|
21399
21900
|
*
|
@@ -21479,6 +21980,14 @@ export declare class LicensingModuleEventClient {
|
|
21479
21980
|
protected readonly rpcClient: PublicClient;
|
21480
21981
|
readonly address: Address;
|
21481
21982
|
constructor(rpcClient: PublicClient, address?: Address);
|
21983
|
+
/**
|
21984
|
+
* event LicenseTermsAttached for contract LicensingModule
|
21985
|
+
*/
|
21986
|
+
watchLicenseTermsAttachedEvent(onLogs: (txHash: Hex, ev: Partial<LicensingModuleLicenseTermsAttachedEvent>) => void): WatchContractEventReturnType;
|
21987
|
+
/**
|
21988
|
+
* parse tx receipt event LicenseTermsAttached for contract LicensingModule
|
21989
|
+
*/
|
21990
|
+
parseTxLicenseTermsAttachedEvent(txReceipt: TransactionReceipt): Array<LicensingModuleLicenseTermsAttachedEvent>;
|
21482
21991
|
/**
|
21483
21992
|
* event LicenseTokensMinted for contract LicensingModule
|
21484
21993
|
*/
|