@story-protocol/core-sdk 1.0.0-rc.20 → 1.0.0-rc.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +3 -1
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +2 -0
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +17 -40
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +5 -5
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts +5 -5
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +4 -5
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts +3 -5
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +26 -2
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +282 -277
- package/dist/story-protocol-core-sdk.cjs.prod.js +282 -277
- package/dist/story-protocol-core-sdk.esm.js +282 -277
- package/package.json +1 -1
@@ -10498,7 +10498,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10498
10498
|
return _createClass(AccessControllerClient, [{
|
10499
10499
|
key: "setAllPermissions",
|
10500
10500
|
value: (function () {
|
10501
|
-
var _setAllPermissions = _asyncToGenerator(
|
10501
|
+
var _setAllPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
10502
10502
|
var _yield$this$rpcClient, call;
|
10503
10503
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
10504
10504
|
while (1) switch (_context.prev = _context.next) {
|
@@ -10558,7 +10558,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10558
10558
|
}, {
|
10559
10559
|
key: "setBatchPermissions",
|
10560
10560
|
value: (function () {
|
10561
|
-
var _setBatchPermissions = _asyncToGenerator(
|
10561
|
+
var _setBatchPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
10562
10562
|
var _yield$this$rpcClient2, call;
|
10563
10563
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
10564
10564
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -10618,7 +10618,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10618
10618
|
}, {
|
10619
10619
|
key: "setPermission",
|
10620
10620
|
value: (function () {
|
10621
|
-
var _setPermission = _asyncToGenerator(
|
10621
|
+
var _setPermission = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
10622
10622
|
var _yield$this$rpcClient3, call;
|
10623
10623
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
10624
10624
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -11118,7 +11118,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11118
11118
|
return _createClass(CoreMetadataModuleReadOnlyClient, [{
|
11119
11119
|
key: "accessController",
|
11120
11120
|
value: (function () {
|
11121
|
-
var _accessController = _asyncToGenerator(
|
11121
|
+
var _accessController = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
11122
11122
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
11123
11123
|
while (1) switch (_context4.prev = _context4.next) {
|
11124
11124
|
case 0:
|
@@ -11151,7 +11151,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11151
11151
|
}, {
|
11152
11152
|
key: "ipAccountRegistry",
|
11153
11153
|
value: (function () {
|
11154
|
-
var _ipAccountRegistry = _asyncToGenerator(
|
11154
|
+
var _ipAccountRegistry = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
11155
11155
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
11156
11156
|
while (1) switch (_context5.prev = _context5.next) {
|
11157
11157
|
case 0:
|
@@ -11184,7 +11184,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11184
11184
|
}, {
|
11185
11185
|
key: "upgradeInterfaceVersion",
|
11186
11186
|
value: (function () {
|
11187
|
-
var _upgradeInterfaceVersion = _asyncToGenerator(
|
11187
|
+
var _upgradeInterfaceVersion = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
11188
11188
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
11189
11189
|
while (1) switch (_context6.prev = _context6.next) {
|
11190
11190
|
case 0:
|
@@ -11217,7 +11217,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11217
11217
|
}, {
|
11218
11218
|
key: "authority",
|
11219
11219
|
value: (function () {
|
11220
|
-
var _authority = _asyncToGenerator(
|
11220
|
+
var _authority = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
11221
11221
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
11222
11222
|
while (1) switch (_context7.prev = _context7.next) {
|
11223
11223
|
case 0:
|
@@ -11250,7 +11250,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11250
11250
|
}, {
|
11251
11251
|
key: "isConsumingScheduledOp",
|
11252
11252
|
value: (function () {
|
11253
|
-
var _isConsumingScheduledOp = _asyncToGenerator(
|
11253
|
+
var _isConsumingScheduledOp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
11254
11254
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
11255
11255
|
while (1) switch (_context8.prev = _context8.next) {
|
11256
11256
|
case 0:
|
@@ -11283,7 +11283,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11283
11283
|
}, {
|
11284
11284
|
key: "isMetadataFrozen",
|
11285
11285
|
value: (function () {
|
11286
|
-
var _isMetadataFrozen = _asyncToGenerator(
|
11286
|
+
var _isMetadataFrozen = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(request) {
|
11287
11287
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
11288
11288
|
while (1) switch (_context9.prev = _context9.next) {
|
11289
11289
|
case 0:
|
@@ -11317,7 +11317,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11317
11317
|
}, {
|
11318
11318
|
key: "name",
|
11319
11319
|
value: (function () {
|
11320
|
-
var _name = _asyncToGenerator(
|
11320
|
+
var _name = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
11321
11321
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
11322
11322
|
while (1) switch (_context10.prev = _context10.next) {
|
11323
11323
|
case 0:
|
@@ -11350,7 +11350,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11350
11350
|
}, {
|
11351
11351
|
key: "proxiableUuid",
|
11352
11352
|
value: (function () {
|
11353
|
-
var _proxiableUuid = _asyncToGenerator(
|
11353
|
+
var _proxiableUuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
11354
11354
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
11355
11355
|
while (1) switch (_context11.prev = _context11.next) {
|
11356
11356
|
case 0:
|
@@ -11383,7 +11383,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11383
11383
|
}, {
|
11384
11384
|
key: "supportsInterface",
|
11385
11385
|
value: (function () {
|
11386
|
-
var _supportsInterface = _asyncToGenerator(
|
11386
|
+
var _supportsInterface = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(request) {
|
11387
11387
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
11388
11388
|
while (1) switch (_context12.prev = _context12.next) {
|
11389
11389
|
case 0:
|
@@ -11432,7 +11432,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11432
11432
|
return _createClass(CoreMetadataModuleClient, [{
|
11433
11433
|
key: "freezeMetadata",
|
11434
11434
|
value: (function () {
|
11435
|
-
var _freezeMetadata = _asyncToGenerator(
|
11435
|
+
var _freezeMetadata = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(request) {
|
11436
11436
|
var _yield$this$rpcClient4, call;
|
11437
11437
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
11438
11438
|
while (1) switch (_context13.prev = _context13.next) {
|
@@ -11492,7 +11492,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11492
11492
|
}, {
|
11493
11493
|
key: "initialize",
|
11494
11494
|
value: (function () {
|
11495
|
-
var _initialize = _asyncToGenerator(
|
11495
|
+
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(request) {
|
11496
11496
|
var _yield$this$rpcClient5, call;
|
11497
11497
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
11498
11498
|
while (1) switch (_context14.prev = _context14.next) {
|
@@ -11552,7 +11552,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11552
11552
|
}, {
|
11553
11553
|
key: "setAll",
|
11554
11554
|
value: (function () {
|
11555
|
-
var _setAll = _asyncToGenerator(
|
11555
|
+
var _setAll = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(request) {
|
11556
11556
|
var _yield$this$rpcClient6, call;
|
11557
11557
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
11558
11558
|
while (1) switch (_context15.prev = _context15.next) {
|
@@ -11612,7 +11612,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11612
11612
|
}, {
|
11613
11613
|
key: "setAuthority",
|
11614
11614
|
value: (function () {
|
11615
|
-
var _setAuthority = _asyncToGenerator(
|
11615
|
+
var _setAuthority = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee16(request) {
|
11616
11616
|
var _yield$this$rpcClient7, call;
|
11617
11617
|
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
11618
11618
|
while (1) switch (_context16.prev = _context16.next) {
|
@@ -11672,7 +11672,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11672
11672
|
}, {
|
11673
11673
|
key: "setMetadataUri",
|
11674
11674
|
value: (function () {
|
11675
|
-
var _setMetadataUri = _asyncToGenerator(
|
11675
|
+
var _setMetadataUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(request) {
|
11676
11676
|
var _yield$this$rpcClient8, call;
|
11677
11677
|
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
11678
11678
|
while (1) switch (_context17.prev = _context17.next) {
|
@@ -11732,7 +11732,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11732
11732
|
}, {
|
11733
11733
|
key: "updateNftTokenUri",
|
11734
11734
|
value: (function () {
|
11735
|
-
var _updateNftTokenUri = _asyncToGenerator(
|
11735
|
+
var _updateNftTokenUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(request) {
|
11736
11736
|
var _yield$this$rpcClient9, call;
|
11737
11737
|
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
11738
11738
|
while (1) switch (_context18.prev = _context18.next) {
|
@@ -11792,7 +11792,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11792
11792
|
}, {
|
11793
11793
|
key: "upgradeToAndCall",
|
11794
11794
|
value: (function () {
|
11795
|
-
var _upgradeToAndCall = _asyncToGenerator(
|
11795
|
+
var _upgradeToAndCall = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee19(request) {
|
11796
11796
|
var _yield$this$rpcClient10, call;
|
11797
11797
|
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
11798
11798
|
while (1) switch (_context19.prev = _context19.next) {
|
@@ -12086,7 +12086,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12086
12086
|
return _createClass(DisputeModuleClient, [{
|
12087
12087
|
key: "cancelDispute",
|
12088
12088
|
value: (function () {
|
12089
|
-
var _cancelDispute = _asyncToGenerator(
|
12089
|
+
var _cancelDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee20(request) {
|
12090
12090
|
var _yield$this$rpcClient11, call;
|
12091
12091
|
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
12092
12092
|
while (1) switch (_context20.prev = _context20.next) {
|
@@ -12146,7 +12146,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12146
12146
|
}, {
|
12147
12147
|
key: "raiseDispute",
|
12148
12148
|
value: (function () {
|
12149
|
-
var _raiseDispute = _asyncToGenerator(
|
12149
|
+
var _raiseDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21(request) {
|
12150
12150
|
var _yield$this$rpcClient12, call;
|
12151
12151
|
return _regeneratorRuntime().wrap(function _callee21$(_context21) {
|
12152
12152
|
while (1) switch (_context21.prev = _context21.next) {
|
@@ -12206,7 +12206,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12206
12206
|
}, {
|
12207
12207
|
key: "resolveDispute",
|
12208
12208
|
value: (function () {
|
12209
|
-
var _resolveDispute = _asyncToGenerator(
|
12209
|
+
var _resolveDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22(request) {
|
12210
12210
|
var _yield$this$rpcClient13, call;
|
12211
12211
|
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
12212
12212
|
while (1) switch (_context22.prev = _context22.next) {
|
@@ -12315,7 +12315,7 @@ var IpAccountImplReadOnlyClient = /*#__PURE__*/function () {
|
|
12315
12315
|
return _createClass(IpAccountImplReadOnlyClient, [{
|
12316
12316
|
key: "state",
|
12317
12317
|
value: (function () {
|
12318
|
-
var _state = _asyncToGenerator(
|
12318
|
+
var _state = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
|
12319
12319
|
var result;
|
12320
12320
|
return _regeneratorRuntime().wrap(function _callee23$(_context23) {
|
12321
12321
|
while (1) switch (_context23.prev = _context23.next) {
|
@@ -12367,7 +12367,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12367
12367
|
return _createClass(IpAccountImplClient, [{
|
12368
12368
|
key: "execute",
|
12369
12369
|
value: (function () {
|
12370
|
-
var _execute = _asyncToGenerator(
|
12370
|
+
var _execute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee24(request) {
|
12371
12371
|
var _yield$this$rpcClient14, call;
|
12372
12372
|
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
12373
12373
|
while (1) switch (_context24.prev = _context24.next) {
|
@@ -12427,7 +12427,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12427
12427
|
}, {
|
12428
12428
|
key: "execute2",
|
12429
12429
|
value: (function () {
|
12430
|
-
var _execute2 = _asyncToGenerator(
|
12430
|
+
var _execute2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee25(request) {
|
12431
12431
|
var _yield$this$rpcClient15, call;
|
12432
12432
|
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
12433
12433
|
while (1) switch (_context25.prev = _context25.next) {
|
@@ -12487,7 +12487,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12487
12487
|
}, {
|
12488
12488
|
key: "executeWithSig",
|
12489
12489
|
value: (function () {
|
12490
|
-
var _executeWithSig = _asyncToGenerator(
|
12490
|
+
var _executeWithSig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee26(request) {
|
12491
12491
|
var _yield$this$rpcClient16, call;
|
12492
12492
|
return _regeneratorRuntime().wrap(function _callee26$(_context26) {
|
12493
12493
|
while (1) switch (_context26.prev = _context26.next) {
|
@@ -12722,7 +12722,7 @@ var IpAssetRegistryReadOnlyClient = /*#__PURE__*/function (_IpAssetRegistryEvent
|
|
12722
12722
|
return _createClass(IpAssetRegistryReadOnlyClient, [{
|
12723
12723
|
key: "ipId",
|
12724
12724
|
value: (function () {
|
12725
|
-
var _ipId = _asyncToGenerator(
|
12725
|
+
var _ipId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee27(request) {
|
12726
12726
|
return _regeneratorRuntime().wrap(function _callee27$(_context27) {
|
12727
12727
|
while (1) switch (_context27.prev = _context27.next) {
|
12728
12728
|
case 0:
|
@@ -12756,7 +12756,7 @@ var IpAssetRegistryReadOnlyClient = /*#__PURE__*/function (_IpAssetRegistryEvent
|
|
12756
12756
|
}, {
|
12757
12757
|
key: "isRegistered",
|
12758
12758
|
value: (function () {
|
12759
|
-
var _isRegistered = _asyncToGenerator(
|
12759
|
+
var _isRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee28(request) {
|
12760
12760
|
return _regeneratorRuntime().wrap(function _callee28$(_context28) {
|
12761
12761
|
while (1) switch (_context28.prev = _context28.next) {
|
12762
12762
|
case 0:
|
@@ -12805,7 +12805,7 @@ var IpAssetRegistryClient = /*#__PURE__*/function (_IpAssetRegistryReadO) {
|
|
12805
12805
|
return _createClass(IpAssetRegistryClient, [{
|
12806
12806
|
key: "register",
|
12807
12807
|
value: (function () {
|
12808
|
-
var _register = _asyncToGenerator(
|
12808
|
+
var _register = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee29(request) {
|
12809
12809
|
var _yield$this$rpcClient17, call;
|
12810
12810
|
return _regeneratorRuntime().wrap(function _callee29$(_context29) {
|
12811
12811
|
while (1) switch (_context29.prev = _context29.next) {
|
@@ -13099,7 +13099,7 @@ var IpRoyaltyVaultImplReadOnlyClient = /*#__PURE__*/function (_IpRoyaltyVaultImp
|
|
13099
13099
|
return _createClass(IpRoyaltyVaultImplReadOnlyClient, [{
|
13100
13100
|
key: "claimableRevenue",
|
13101
13101
|
value: (function () {
|
13102
|
-
var _claimableRevenue = _asyncToGenerator(
|
13102
|
+
var _claimableRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee30(request) {
|
13103
13103
|
return _regeneratorRuntime().wrap(function _callee30$(_context30) {
|
13104
13104
|
while (1) switch (_context30.prev = _context30.next) {
|
13105
13105
|
case 0:
|
@@ -13133,7 +13133,7 @@ var IpRoyaltyVaultImplReadOnlyClient = /*#__PURE__*/function (_IpRoyaltyVaultImp
|
|
13133
13133
|
}, {
|
13134
13134
|
key: "ipId",
|
13135
13135
|
value: (function () {
|
13136
|
-
var _ipId2 = _asyncToGenerator(
|
13136
|
+
var _ipId2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee31() {
|
13137
13137
|
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
13138
13138
|
while (1) switch (_context31.prev = _context31.next) {
|
13139
13139
|
case 0:
|
@@ -13181,7 +13181,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13181
13181
|
return _createClass(IpRoyaltyVaultImplClient, [{
|
13182
13182
|
key: "claimRevenueBySnapshotBatch",
|
13183
13183
|
value: (function () {
|
13184
|
-
var _claimRevenueBySnapshotBatch = _asyncToGenerator(
|
13184
|
+
var _claimRevenueBySnapshotBatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee32(request) {
|
13185
13185
|
var _yield$this$rpcClient18, call;
|
13186
13186
|
return _regeneratorRuntime().wrap(function _callee32$(_context32) {
|
13187
13187
|
while (1) switch (_context32.prev = _context32.next) {
|
@@ -13241,7 +13241,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13241
13241
|
}, {
|
13242
13242
|
key: "claimRevenueByTokenBatch",
|
13243
13243
|
value: (function () {
|
13244
|
-
var _claimRevenueByTokenBatch = _asyncToGenerator(
|
13244
|
+
var _claimRevenueByTokenBatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee33(request) {
|
13245
13245
|
var _yield$this$rpcClient19, call;
|
13246
13246
|
return _regeneratorRuntime().wrap(function _callee33$(_context33) {
|
13247
13247
|
while (1) switch (_context33.prev = _context33.next) {
|
@@ -13301,7 +13301,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13301
13301
|
}, {
|
13302
13302
|
key: "collectRoyaltyTokens",
|
13303
13303
|
value: (function () {
|
13304
|
-
var _collectRoyaltyTokens = _asyncToGenerator(
|
13304
|
+
var _collectRoyaltyTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee34(request) {
|
13305
13305
|
var _yield$this$rpcClient20, call;
|
13306
13306
|
return _regeneratorRuntime().wrap(function _callee34$(_context34) {
|
13307
13307
|
while (1) switch (_context34.prev = _context34.next) {
|
@@ -13361,7 +13361,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13361
13361
|
}, {
|
13362
13362
|
key: "snapshot",
|
13363
13363
|
value: (function () {
|
13364
|
-
var _snapshot = _asyncToGenerator(
|
13364
|
+
var _snapshot = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee35() {
|
13365
13365
|
var _yield$this$rpcClient21, call;
|
13366
13366
|
return _regeneratorRuntime().wrap(function _callee35$(_context35) {
|
13367
13367
|
while (1) switch (_context35.prev = _context35.next) {
|
@@ -14115,7 +14115,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14115
14115
|
return _createClass(LicenseRegistryReadOnlyClient, [{
|
14116
14116
|
key: "disputeModule",
|
14117
14117
|
value: (function () {
|
14118
|
-
var _disputeModule = _asyncToGenerator(
|
14118
|
+
var _disputeModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee36() {
|
14119
14119
|
return _regeneratorRuntime().wrap(function _callee36$(_context36) {
|
14120
14120
|
while (1) switch (_context36.prev = _context36.next) {
|
14121
14121
|
case 0:
|
@@ -14148,7 +14148,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14148
14148
|
}, {
|
14149
14149
|
key: "expirationTime",
|
14150
14150
|
value: (function () {
|
14151
|
-
var _expirationTime = _asyncToGenerator(
|
14151
|
+
var _expirationTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee37() {
|
14152
14152
|
return _regeneratorRuntime().wrap(function _callee37$(_context37) {
|
14153
14153
|
while (1) switch (_context37.prev = _context37.next) {
|
14154
14154
|
case 0:
|
@@ -14181,7 +14181,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14181
14181
|
}, {
|
14182
14182
|
key: "ipGraphContract",
|
14183
14183
|
value: (function () {
|
14184
|
-
var _ipGraphContract = _asyncToGenerator(
|
14184
|
+
var _ipGraphContract = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee38() {
|
14185
14185
|
return _regeneratorRuntime().wrap(function _callee38$(_context38) {
|
14186
14186
|
while (1) switch (_context38.prev = _context38.next) {
|
14187
14187
|
case 0:
|
@@ -14214,7 +14214,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14214
14214
|
}, {
|
14215
14215
|
key: "licensingModule",
|
14216
14216
|
value: (function () {
|
14217
|
-
var _licensingModule = _asyncToGenerator(
|
14217
|
+
var _licensingModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee39() {
|
14218
14218
|
return _regeneratorRuntime().wrap(function _callee39$(_context39) {
|
14219
14219
|
while (1) switch (_context39.prev = _context39.next) {
|
14220
14220
|
case 0:
|
@@ -14247,7 +14247,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14247
14247
|
}, {
|
14248
14248
|
key: "upgradeInterfaceVersion",
|
14249
14249
|
value: (function () {
|
14250
|
-
var _upgradeInterfaceVersion2 = _asyncToGenerator(
|
14250
|
+
var _upgradeInterfaceVersion2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee40() {
|
14251
14251
|
return _regeneratorRuntime().wrap(function _callee40$(_context40) {
|
14252
14252
|
while (1) switch (_context40.prev = _context40.next) {
|
14253
14253
|
case 0:
|
@@ -14280,7 +14280,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14280
14280
|
}, {
|
14281
14281
|
key: "authority",
|
14282
14282
|
value: (function () {
|
14283
|
-
var _authority2 = _asyncToGenerator(
|
14283
|
+
var _authority2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee41() {
|
14284
14284
|
return _regeneratorRuntime().wrap(function _callee41$(_context41) {
|
14285
14285
|
while (1) switch (_context41.prev = _context41.next) {
|
14286
14286
|
case 0:
|
@@ -14313,7 +14313,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14313
14313
|
}, {
|
14314
14314
|
key: "exists",
|
14315
14315
|
value: (function () {
|
14316
|
-
var _exists = _asyncToGenerator(
|
14316
|
+
var _exists = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee42(request) {
|
14317
14317
|
return _regeneratorRuntime().wrap(function _callee42$(_context42) {
|
14318
14318
|
while (1) switch (_context42.prev = _context42.next) {
|
14319
14319
|
case 0:
|
@@ -14347,7 +14347,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14347
14347
|
}, {
|
14348
14348
|
key: "getAttachedLicenseTerms",
|
14349
14349
|
value: (function () {
|
14350
|
-
var _getAttachedLicenseTerms = _asyncToGenerator(
|
14350
|
+
var _getAttachedLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee43(request) {
|
14351
14351
|
var result;
|
14352
14352
|
return _regeneratorRuntime().wrap(function _callee43$(_context43) {
|
14353
14353
|
while (1) switch (_context43.prev = _context43.next) {
|
@@ -14386,7 +14386,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14386
14386
|
}, {
|
14387
14387
|
key: "getAttachedLicenseTermsCount",
|
14388
14388
|
value: (function () {
|
14389
|
-
var _getAttachedLicenseTermsCount = _asyncToGenerator(
|
14389
|
+
var _getAttachedLicenseTermsCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee44(request) {
|
14390
14390
|
return _regeneratorRuntime().wrap(function _callee44$(_context44) {
|
14391
14391
|
while (1) switch (_context44.prev = _context44.next) {
|
14392
14392
|
case 0:
|
@@ -14420,7 +14420,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14420
14420
|
}, {
|
14421
14421
|
key: "getDefaultLicenseTerms",
|
14422
14422
|
value: (function () {
|
14423
|
-
var _getDefaultLicenseTerms = _asyncToGenerator(
|
14423
|
+
var _getDefaultLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee45() {
|
14424
14424
|
var result;
|
14425
14425
|
return _regeneratorRuntime().wrap(function _callee45$(_context45) {
|
14426
14426
|
while (1) switch (_context45.prev = _context45.next) {
|
@@ -14458,7 +14458,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14458
14458
|
}, {
|
14459
14459
|
key: "getDerivativeIp",
|
14460
14460
|
value: (function () {
|
14461
|
-
var _getDerivativeIp = _asyncToGenerator(
|
14461
|
+
var _getDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee46(request) {
|
14462
14462
|
var result;
|
14463
14463
|
return _regeneratorRuntime().wrap(function _callee46$(_context46) {
|
14464
14464
|
while (1) switch (_context46.prev = _context46.next) {
|
@@ -14496,7 +14496,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14496
14496
|
}, {
|
14497
14497
|
key: "getDerivativeIpCount",
|
14498
14498
|
value: (function () {
|
14499
|
-
var _getDerivativeIpCount = _asyncToGenerator(
|
14499
|
+
var _getDerivativeIpCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee47(request) {
|
14500
14500
|
return _regeneratorRuntime().wrap(function _callee47$(_context47) {
|
14501
14501
|
while (1) switch (_context47.prev = _context47.next) {
|
14502
14502
|
case 0:
|
@@ -14530,7 +14530,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14530
14530
|
}, {
|
14531
14531
|
key: "getExpireTime",
|
14532
14532
|
value: (function () {
|
14533
|
-
var _getExpireTime = _asyncToGenerator(
|
14533
|
+
var _getExpireTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee48(request) {
|
14534
14534
|
return _regeneratorRuntime().wrap(function _callee48$(_context48) {
|
14535
14535
|
while (1) switch (_context48.prev = _context48.next) {
|
14536
14536
|
case 0:
|
@@ -14564,7 +14564,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14564
14564
|
}, {
|
14565
14565
|
key: "getLicensingConfig",
|
14566
14566
|
value: (function () {
|
14567
|
-
var _getLicensingConfig = _asyncToGenerator(
|
14567
|
+
var _getLicensingConfig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee49(request) {
|
14568
14568
|
return _regeneratorRuntime().wrap(function _callee49$(_context49) {
|
14569
14569
|
while (1) switch (_context49.prev = _context49.next) {
|
14570
14570
|
case 0:
|
@@ -14598,7 +14598,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14598
14598
|
}, {
|
14599
14599
|
key: "getParentIp",
|
14600
14600
|
value: (function () {
|
14601
|
-
var _getParentIp = _asyncToGenerator(
|
14601
|
+
var _getParentIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee50(request) {
|
14602
14602
|
var result;
|
14603
14603
|
return _regeneratorRuntime().wrap(function _callee50$(_context50) {
|
14604
14604
|
while (1) switch (_context50.prev = _context50.next) {
|
@@ -14636,7 +14636,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14636
14636
|
}, {
|
14637
14637
|
key: "getParentIpCount",
|
14638
14638
|
value: (function () {
|
14639
|
-
var _getParentIpCount = _asyncToGenerator(
|
14639
|
+
var _getParentIpCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee51(request) {
|
14640
14640
|
return _regeneratorRuntime().wrap(function _callee51$(_context51) {
|
14641
14641
|
while (1) switch (_context51.prev = _context51.next) {
|
14642
14642
|
case 0:
|
@@ -14670,7 +14670,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14670
14670
|
}, {
|
14671
14671
|
key: "hasDerivativeIps",
|
14672
14672
|
value: (function () {
|
14673
|
-
var _hasDerivativeIps = _asyncToGenerator(
|
14673
|
+
var _hasDerivativeIps = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee52(request) {
|
14674
14674
|
return _regeneratorRuntime().wrap(function _callee52$(_context52) {
|
14675
14675
|
while (1) switch (_context52.prev = _context52.next) {
|
14676
14676
|
case 0:
|
@@ -14704,7 +14704,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14704
14704
|
}, {
|
14705
14705
|
key: "hasIpAttachedLicenseTerms",
|
14706
14706
|
value: (function () {
|
14707
|
-
var _hasIpAttachedLicenseTerms = _asyncToGenerator(
|
14707
|
+
var _hasIpAttachedLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee53(request) {
|
14708
14708
|
return _regeneratorRuntime().wrap(function _callee53$(_context53) {
|
14709
14709
|
while (1) switch (_context53.prev = _context53.next) {
|
14710
14710
|
case 0:
|
@@ -14738,7 +14738,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14738
14738
|
}, {
|
14739
14739
|
key: "isConsumingScheduledOp",
|
14740
14740
|
value: (function () {
|
14741
|
-
var _isConsumingScheduledOp2 = _asyncToGenerator(
|
14741
|
+
var _isConsumingScheduledOp2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee54() {
|
14742
14742
|
return _regeneratorRuntime().wrap(function _callee54$(_context54) {
|
14743
14743
|
while (1) switch (_context54.prev = _context54.next) {
|
14744
14744
|
case 0:
|
@@ -14771,7 +14771,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14771
14771
|
}, {
|
14772
14772
|
key: "isDerivativeIp",
|
14773
14773
|
value: (function () {
|
14774
|
-
var _isDerivativeIp = _asyncToGenerator(
|
14774
|
+
var _isDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee55(request) {
|
14775
14775
|
return _regeneratorRuntime().wrap(function _callee55$(_context55) {
|
14776
14776
|
while (1) switch (_context55.prev = _context55.next) {
|
14777
14777
|
case 0:
|
@@ -14805,7 +14805,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14805
14805
|
}, {
|
14806
14806
|
key: "isExpiredNow",
|
14807
14807
|
value: (function () {
|
14808
|
-
var _isExpiredNow = _asyncToGenerator(
|
14808
|
+
var _isExpiredNow = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee56(request) {
|
14809
14809
|
return _regeneratorRuntime().wrap(function _callee56$(_context56) {
|
14810
14810
|
while (1) switch (_context56.prev = _context56.next) {
|
14811
14811
|
case 0:
|
@@ -14839,7 +14839,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14839
14839
|
}, {
|
14840
14840
|
key: "isParentIp",
|
14841
14841
|
value: (function () {
|
14842
|
-
var _isParentIp = _asyncToGenerator(
|
14842
|
+
var _isParentIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee57(request) {
|
14843
14843
|
return _regeneratorRuntime().wrap(function _callee57$(_context57) {
|
14844
14844
|
while (1) switch (_context57.prev = _context57.next) {
|
14845
14845
|
case 0:
|
@@ -14873,7 +14873,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14873
14873
|
}, {
|
14874
14874
|
key: "isRegisteredLicenseTemplate",
|
14875
14875
|
value: (function () {
|
14876
|
-
var _isRegisteredLicenseTemplate = _asyncToGenerator(
|
14876
|
+
var _isRegisteredLicenseTemplate = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee58(request) {
|
14877
14877
|
return _regeneratorRuntime().wrap(function _callee58$(_context58) {
|
14878
14878
|
while (1) switch (_context58.prev = _context58.next) {
|
14879
14879
|
case 0:
|
@@ -14907,7 +14907,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14907
14907
|
}, {
|
14908
14908
|
key: "proxiableUuid",
|
14909
14909
|
value: (function () {
|
14910
|
-
var _proxiableUuid2 = _asyncToGenerator(
|
14910
|
+
var _proxiableUuid2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee59() {
|
14911
14911
|
return _regeneratorRuntime().wrap(function _callee59$(_context59) {
|
14912
14912
|
while (1) switch (_context59.prev = _context59.next) {
|
14913
14913
|
case 0:
|
@@ -14940,7 +14940,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14940
14940
|
}, {
|
14941
14941
|
key: "verifyMintLicenseToken",
|
14942
14942
|
value: (function () {
|
14943
|
-
var _verifyMintLicenseToken = _asyncToGenerator(
|
14943
|
+
var _verifyMintLicenseToken = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee60(request) {
|
14944
14944
|
return _regeneratorRuntime().wrap(function _callee60$(_context60) {
|
14945
14945
|
while (1) switch (_context60.prev = _context60.next) {
|
14946
14946
|
case 0:
|
@@ -14995,7 +14995,7 @@ var LicenseTokenReadOnlyClient = /*#__PURE__*/function () {
|
|
14995
14995
|
return _createClass(LicenseTokenReadOnlyClient, [{
|
14996
14996
|
key: "ownerOf",
|
14997
14997
|
value: (function () {
|
14998
|
-
var _ownerOf = _asyncToGenerator(
|
14998
|
+
var _ownerOf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee70(request) {
|
14999
14999
|
return _regeneratorRuntime().wrap(function _callee70$(_context70) {
|
15000
15000
|
while (1) switch (_context70.prev = _context70.next) {
|
15001
15001
|
case 0:
|
@@ -15221,7 +15221,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15221
15221
|
return _createClass(LicensingModuleClient, [{
|
15222
15222
|
key: "attachLicenseTerms",
|
15223
15223
|
value: (function () {
|
15224
|
-
var _attachLicenseTerms = _asyncToGenerator(
|
15224
|
+
var _attachLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee71(request) {
|
15225
15225
|
var _yield$this$rpcClient31, call;
|
15226
15226
|
return _regeneratorRuntime().wrap(function _callee71$(_context71) {
|
15227
15227
|
while (1) switch (_context71.prev = _context71.next) {
|
@@ -15281,7 +15281,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15281
15281
|
}, {
|
15282
15282
|
key: "mintLicenseTokens",
|
15283
15283
|
value: (function () {
|
15284
|
-
var _mintLicenseTokens = _asyncToGenerator(
|
15284
|
+
var _mintLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee72(request) {
|
15285
15285
|
var _yield$this$rpcClient32, call;
|
15286
15286
|
return _regeneratorRuntime().wrap(function _callee72$(_context72) {
|
15287
15287
|
while (1) switch (_context72.prev = _context72.next) {
|
@@ -15341,7 +15341,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15341
15341
|
}, {
|
15342
15342
|
key: "registerDerivative",
|
15343
15343
|
value: (function () {
|
15344
|
-
var _registerDerivative = _asyncToGenerator(
|
15344
|
+
var _registerDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee73(request) {
|
15345
15345
|
var _yield$this$rpcClient33, call;
|
15346
15346
|
return _regeneratorRuntime().wrap(function _callee73$(_context73) {
|
15347
15347
|
while (1) switch (_context73.prev = _context73.next) {
|
@@ -15401,7 +15401,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15401
15401
|
}, {
|
15402
15402
|
key: "registerDerivativeWithLicenseTokens",
|
15403
15403
|
value: (function () {
|
15404
|
-
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(
|
15404
|
+
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee74(request) {
|
15405
15405
|
var _yield$this$rpcClient34, call;
|
15406
15406
|
return _regeneratorRuntime().wrap(function _callee74$(_context74) {
|
15407
15407
|
while (1) switch (_context74.prev = _context74.next) {
|
@@ -15943,7 +15943,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
15943
15943
|
return _createClass(PiLicenseTemplateReadOnlyClient, [{
|
15944
15944
|
key: "accessController",
|
15945
15945
|
value: (function () {
|
15946
|
-
var _accessController2 = _asyncToGenerator(
|
15946
|
+
var _accessController2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee76() {
|
15947
15947
|
return _regeneratorRuntime().wrap(function _callee76$(_context76) {
|
15948
15948
|
while (1) switch (_context76.prev = _context76.next) {
|
15949
15949
|
case 0:
|
@@ -15976,7 +15976,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
15976
15976
|
}, {
|
15977
15977
|
key: "ipAccountRegistry",
|
15978
15978
|
value: (function () {
|
15979
|
-
var _ipAccountRegistry2 = _asyncToGenerator(
|
15979
|
+
var _ipAccountRegistry2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee77() {
|
15980
15980
|
return _regeneratorRuntime().wrap(function _callee77$(_context77) {
|
15981
15981
|
while (1) switch (_context77.prev = _context77.next) {
|
15982
15982
|
case 0:
|
@@ -16009,7 +16009,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16009
16009
|
}, {
|
16010
16010
|
key: "licenseRegistry",
|
16011
16011
|
value: (function () {
|
16012
|
-
var _licenseRegistry = _asyncToGenerator(
|
16012
|
+
var _licenseRegistry = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee78() {
|
16013
16013
|
return _regeneratorRuntime().wrap(function _callee78$(_context78) {
|
16014
16014
|
while (1) switch (_context78.prev = _context78.next) {
|
16015
16015
|
case 0:
|
@@ -16042,7 +16042,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16042
16042
|
}, {
|
16043
16043
|
key: "royaltyModule",
|
16044
16044
|
value: (function () {
|
16045
|
-
var _royaltyModule = _asyncToGenerator(
|
16045
|
+
var _royaltyModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee79() {
|
16046
16046
|
return _regeneratorRuntime().wrap(function _callee79$(_context79) {
|
16047
16047
|
while (1) switch (_context79.prev = _context79.next) {
|
16048
16048
|
case 0:
|
@@ -16075,7 +16075,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16075
16075
|
}, {
|
16076
16076
|
key: "termsRenderer",
|
16077
16077
|
value: (function () {
|
16078
|
-
var _termsRenderer = _asyncToGenerator(
|
16078
|
+
var _termsRenderer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee80() {
|
16079
16079
|
return _regeneratorRuntime().wrap(function _callee80$(_context80) {
|
16080
16080
|
while (1) switch (_context80.prev = _context80.next) {
|
16081
16081
|
case 0:
|
@@ -16108,7 +16108,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16108
16108
|
}, {
|
16109
16109
|
key: "upgradeInterfaceVersion",
|
16110
16110
|
value: (function () {
|
16111
|
-
var _upgradeInterfaceVersion3 = _asyncToGenerator(
|
16111
|
+
var _upgradeInterfaceVersion3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee81() {
|
16112
16112
|
return _regeneratorRuntime().wrap(function _callee81$(_context81) {
|
16113
16113
|
while (1) switch (_context81.prev = _context81.next) {
|
16114
16114
|
case 0:
|
@@ -16141,7 +16141,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16141
16141
|
}, {
|
16142
16142
|
key: "authority",
|
16143
16143
|
value: (function () {
|
16144
|
-
var _authority3 = _asyncToGenerator(
|
16144
|
+
var _authority3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee82() {
|
16145
16145
|
return _regeneratorRuntime().wrap(function _callee82$(_context82) {
|
16146
16146
|
while (1) switch (_context82.prev = _context82.next) {
|
16147
16147
|
case 0:
|
@@ -16174,7 +16174,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16174
16174
|
}, {
|
16175
16175
|
key: "exists",
|
16176
16176
|
value: (function () {
|
16177
|
-
var _exists2 = _asyncToGenerator(
|
16177
|
+
var _exists2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee83(request) {
|
16178
16178
|
return _regeneratorRuntime().wrap(function _callee83$(_context83) {
|
16179
16179
|
while (1) switch (_context83.prev = _context83.next) {
|
16180
16180
|
case 0:
|
@@ -16208,7 +16208,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16208
16208
|
}, {
|
16209
16209
|
key: "getEarlierExpireTime",
|
16210
16210
|
value: (function () {
|
16211
|
-
var _getEarlierExpireTime = _asyncToGenerator(
|
16211
|
+
var _getEarlierExpireTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee84(request) {
|
16212
16212
|
return _regeneratorRuntime().wrap(function _callee84$(_context84) {
|
16213
16213
|
while (1) switch (_context84.prev = _context84.next) {
|
16214
16214
|
case 0:
|
@@ -16242,7 +16242,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16242
16242
|
}, {
|
16243
16243
|
key: "getExpireTime",
|
16244
16244
|
value: (function () {
|
16245
|
-
var _getExpireTime2 = _asyncToGenerator(
|
16245
|
+
var _getExpireTime2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee85(request) {
|
16246
16246
|
return _regeneratorRuntime().wrap(function _callee85$(_context85) {
|
16247
16247
|
while (1) switch (_context85.prev = _context85.next) {
|
16248
16248
|
case 0:
|
@@ -16276,7 +16276,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16276
16276
|
}, {
|
16277
16277
|
key: "getLicenseTerms",
|
16278
16278
|
value: (function () {
|
16279
|
-
var _getLicenseTerms = _asyncToGenerator(
|
16279
|
+
var _getLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee86(request) {
|
16280
16280
|
var result;
|
16281
16281
|
return _regeneratorRuntime().wrap(function _callee86$(_context86) {
|
16282
16282
|
while (1) switch (_context86.prev = _context86.next) {
|
@@ -16314,7 +16314,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16314
16314
|
}, {
|
16315
16315
|
key: "getLicenseTermsId",
|
16316
16316
|
value: (function () {
|
16317
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
16317
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee87(request) {
|
16318
16318
|
var result;
|
16319
16319
|
return _regeneratorRuntime().wrap(function _callee87$(_context87) {
|
16320
16320
|
while (1) switch (_context87.prev = _context87.next) {
|
@@ -16352,7 +16352,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16352
16352
|
}, {
|
16353
16353
|
key: "getLicenseTermsUri",
|
16354
16354
|
value: (function () {
|
16355
|
-
var _getLicenseTermsUri = _asyncToGenerator(
|
16355
|
+
var _getLicenseTermsUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee88(request) {
|
16356
16356
|
return _regeneratorRuntime().wrap(function _callee88$(_context88) {
|
16357
16357
|
while (1) switch (_context88.prev = _context88.next) {
|
16358
16358
|
case 0:
|
@@ -16386,7 +16386,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16386
16386
|
}, {
|
16387
16387
|
key: "getMetadataUri",
|
16388
16388
|
value: (function () {
|
16389
|
-
var _getMetadataUri = _asyncToGenerator(
|
16389
|
+
var _getMetadataUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee89() {
|
16390
16390
|
return _regeneratorRuntime().wrap(function _callee89$(_context89) {
|
16391
16391
|
while (1) switch (_context89.prev = _context89.next) {
|
16392
16392
|
case 0:
|
@@ -16419,7 +16419,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16419
16419
|
}, {
|
16420
16420
|
key: "getRoyaltyPolicy",
|
16421
16421
|
value: (function () {
|
16422
|
-
var _getRoyaltyPolicy = _asyncToGenerator(
|
16422
|
+
var _getRoyaltyPolicy = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee90(request) {
|
16423
16423
|
var result;
|
16424
16424
|
return _regeneratorRuntime().wrap(function _callee90$(_context90) {
|
16425
16425
|
while (1) switch (_context90.prev = _context90.next) {
|
@@ -16460,7 +16460,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16460
16460
|
}, {
|
16461
16461
|
key: "isConsumingScheduledOp",
|
16462
16462
|
value: (function () {
|
16463
|
-
var _isConsumingScheduledOp3 = _asyncToGenerator(
|
16463
|
+
var _isConsumingScheduledOp3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee91() {
|
16464
16464
|
return _regeneratorRuntime().wrap(function _callee91$(_context91) {
|
16465
16465
|
while (1) switch (_context91.prev = _context91.next) {
|
16466
16466
|
case 0:
|
@@ -16493,7 +16493,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16493
16493
|
}, {
|
16494
16494
|
key: "isDerivativeApproved",
|
16495
16495
|
value: (function () {
|
16496
|
-
var _isDerivativeApproved = _asyncToGenerator(
|
16496
|
+
var _isDerivativeApproved = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee92(request) {
|
16497
16497
|
return _regeneratorRuntime().wrap(function _callee92$(_context92) {
|
16498
16498
|
while (1) switch (_context92.prev = _context92.next) {
|
16499
16499
|
case 0:
|
@@ -16527,7 +16527,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16527
16527
|
}, {
|
16528
16528
|
key: "isLicenseTransferable",
|
16529
16529
|
value: (function () {
|
16530
|
-
var _isLicenseTransferable = _asyncToGenerator(
|
16530
|
+
var _isLicenseTransferable = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee93(request) {
|
16531
16531
|
return _regeneratorRuntime().wrap(function _callee93$(_context93) {
|
16532
16532
|
while (1) switch (_context93.prev = _context93.next) {
|
16533
16533
|
case 0:
|
@@ -16561,7 +16561,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16561
16561
|
}, {
|
16562
16562
|
key: "name",
|
16563
16563
|
value: (function () {
|
16564
|
-
var _name2 = _asyncToGenerator(
|
16564
|
+
var _name2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee94() {
|
16565
16565
|
return _regeneratorRuntime().wrap(function _callee94$(_context94) {
|
16566
16566
|
while (1) switch (_context94.prev = _context94.next) {
|
16567
16567
|
case 0:
|
@@ -16594,7 +16594,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16594
16594
|
}, {
|
16595
16595
|
key: "proxiableUuid",
|
16596
16596
|
value: (function () {
|
16597
|
-
var _proxiableUuid3 = _asyncToGenerator(
|
16597
|
+
var _proxiableUuid3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee95() {
|
16598
16598
|
return _regeneratorRuntime().wrap(function _callee95$(_context95) {
|
16599
16599
|
while (1) switch (_context95.prev = _context95.next) {
|
16600
16600
|
case 0:
|
@@ -16627,7 +16627,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16627
16627
|
}, {
|
16628
16628
|
key: "supportsInterface",
|
16629
16629
|
value: (function () {
|
16630
|
-
var _supportsInterface2 = _asyncToGenerator(
|
16630
|
+
var _supportsInterface2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee96(request) {
|
16631
16631
|
return _regeneratorRuntime().wrap(function _callee96$(_context96) {
|
16632
16632
|
while (1) switch (_context96.prev = _context96.next) {
|
16633
16633
|
case 0:
|
@@ -16661,7 +16661,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16661
16661
|
}, {
|
16662
16662
|
key: "toJson",
|
16663
16663
|
value: (function () {
|
16664
|
-
var _toJson = _asyncToGenerator(
|
16664
|
+
var _toJson = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee97(request) {
|
16665
16665
|
return _regeneratorRuntime().wrap(function _callee97$(_context97) {
|
16666
16666
|
while (1) switch (_context97.prev = _context97.next) {
|
16667
16667
|
case 0:
|
@@ -16695,7 +16695,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16695
16695
|
}, {
|
16696
16696
|
key: "totalRegisteredLicenseTerms",
|
16697
16697
|
value: (function () {
|
16698
|
-
var _totalRegisteredLicenseTerms = _asyncToGenerator(
|
16698
|
+
var _totalRegisteredLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee98() {
|
16699
16699
|
return _regeneratorRuntime().wrap(function _callee98$(_context98) {
|
16700
16700
|
while (1) switch (_context98.prev = _context98.next) {
|
16701
16701
|
case 0:
|
@@ -16728,7 +16728,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16728
16728
|
}, {
|
16729
16729
|
key: "verifyCompatibleLicenses",
|
16730
16730
|
value: (function () {
|
16731
|
-
var _verifyCompatibleLicenses = _asyncToGenerator(
|
16731
|
+
var _verifyCompatibleLicenses = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee99(request) {
|
16732
16732
|
return _regeneratorRuntime().wrap(function _callee99$(_context99) {
|
16733
16733
|
while (1) switch (_context99.prev = _context99.next) {
|
16734
16734
|
case 0:
|
@@ -16777,7 +16777,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16777
16777
|
return _createClass(PiLicenseTemplateClient, [{
|
16778
16778
|
key: "initialize",
|
16779
16779
|
value: (function () {
|
16780
|
-
var _initialize3 = _asyncToGenerator(
|
16780
|
+
var _initialize3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee100(request) {
|
16781
16781
|
var _yield$this$rpcClient35, call;
|
16782
16782
|
return _regeneratorRuntime().wrap(function _callee100$(_context100) {
|
16783
16783
|
while (1) switch (_context100.prev = _context100.next) {
|
@@ -16837,7 +16837,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16837
16837
|
}, {
|
16838
16838
|
key: "registerLicenseTerms",
|
16839
16839
|
value: (function () {
|
16840
|
-
var _registerLicenseTerms = _asyncToGenerator(
|
16840
|
+
var _registerLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee101(request) {
|
16841
16841
|
var _yield$this$rpcClient36, call;
|
16842
16842
|
return _regeneratorRuntime().wrap(function _callee101$(_context101) {
|
16843
16843
|
while (1) switch (_context101.prev = _context101.next) {
|
@@ -16897,7 +16897,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16897
16897
|
}, {
|
16898
16898
|
key: "setApproval",
|
16899
16899
|
value: (function () {
|
16900
|
-
var _setApproval = _asyncToGenerator(
|
16900
|
+
var _setApproval = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee102(request) {
|
16901
16901
|
var _yield$this$rpcClient37, call;
|
16902
16902
|
return _regeneratorRuntime().wrap(function _callee102$(_context102) {
|
16903
16903
|
while (1) switch (_context102.prev = _context102.next) {
|
@@ -16957,7 +16957,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16957
16957
|
}, {
|
16958
16958
|
key: "setAuthority",
|
16959
16959
|
value: (function () {
|
16960
|
-
var _setAuthority3 = _asyncToGenerator(
|
16960
|
+
var _setAuthority3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee103(request) {
|
16961
16961
|
var _yield$this$rpcClient38, call;
|
16962
16962
|
return _regeneratorRuntime().wrap(function _callee103$(_context103) {
|
16963
16963
|
while (1) switch (_context103.prev = _context103.next) {
|
@@ -17017,7 +17017,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17017
17017
|
}, {
|
17018
17018
|
key: "upgradeToAndCall",
|
17019
17019
|
value: (function () {
|
17020
|
-
var _upgradeToAndCall3 = _asyncToGenerator(
|
17020
|
+
var _upgradeToAndCall3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee104(request) {
|
17021
17021
|
var _yield$this$rpcClient39, call;
|
17022
17022
|
return _regeneratorRuntime().wrap(function _callee104$(_context104) {
|
17023
17023
|
while (1) switch (_context104.prev = _context104.next) {
|
@@ -17077,7 +17077,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17077
17077
|
}, {
|
17078
17078
|
key: "verifyMintLicenseToken",
|
17079
17079
|
value: (function () {
|
17080
|
-
var _verifyMintLicenseToken2 = _asyncToGenerator(
|
17080
|
+
var _verifyMintLicenseToken2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee105(request) {
|
17081
17081
|
var _yield$this$rpcClient40, call;
|
17082
17082
|
return _regeneratorRuntime().wrap(function _callee105$(_context105) {
|
17083
17083
|
while (1) switch (_context105.prev = _context105.next) {
|
@@ -17137,7 +17137,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17137
17137
|
}, {
|
17138
17138
|
key: "verifyRegisterDerivative",
|
17139
17139
|
value: (function () {
|
17140
|
-
var _verifyRegisterDerivative = _asyncToGenerator(
|
17140
|
+
var _verifyRegisterDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee106(request) {
|
17141
17141
|
var _yield$this$rpcClient41, call;
|
17142
17142
|
return _regeneratorRuntime().wrap(function _callee106$(_context106) {
|
17143
17143
|
while (1) switch (_context106.prev = _context106.next) {
|
@@ -17197,7 +17197,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17197
17197
|
}, {
|
17198
17198
|
key: "verifyRegisterDerivativeForAllParents",
|
17199
17199
|
value: (function () {
|
17200
|
-
var _verifyRegisterDerivativeForAllParents = _asyncToGenerator(
|
17200
|
+
var _verifyRegisterDerivativeForAllParents = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee107(request) {
|
17201
17201
|
var _yield$this$rpcClient42, call;
|
17202
17202
|
return _regeneratorRuntime().wrap(function _callee107$(_context107) {
|
17203
17203
|
while (1) switch (_context107.prev = _context107.next) {
|
@@ -17282,7 +17282,7 @@ var RoyaltyModuleClient = /*#__PURE__*/function () {
|
|
17282
17282
|
return _createClass(RoyaltyModuleClient, [{
|
17283
17283
|
key: "payRoyaltyOnBehalf",
|
17284
17284
|
value: (function () {
|
17285
|
-
var _payRoyaltyOnBehalf = _asyncToGenerator(
|
17285
|
+
var _payRoyaltyOnBehalf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee108(request) {
|
17286
17286
|
var _yield$this$rpcClient43, call;
|
17287
17287
|
return _regeneratorRuntime().wrap(function _callee108$(_context108) {
|
17288
17288
|
while (1) switch (_context108.prev = _context108.next) {
|
@@ -17380,7 +17380,7 @@ var RoyaltyPolicyLapReadOnlyClient = /*#__PURE__*/function () {
|
|
17380
17380
|
return _createClass(RoyaltyPolicyLapReadOnlyClient, [{
|
17381
17381
|
key: "getRoyaltyData",
|
17382
17382
|
value: (function () {
|
17383
|
-
var _getRoyaltyData = _asyncToGenerator(
|
17383
|
+
var _getRoyaltyData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee109(request) {
|
17384
17384
|
return _regeneratorRuntime().wrap(function _callee109$(_context109) {
|
17385
17385
|
while (1) switch (_context109.prev = _context109.next) {
|
17386
17386
|
case 0:
|
@@ -17429,7 +17429,7 @@ var RoyaltyPolicyLapClient = /*#__PURE__*/function (_RoyaltyPolicyLapRead) {
|
|
17429
17429
|
return _createClass(RoyaltyPolicyLapClient, [{
|
17430
17430
|
key: "onRoyaltyPayment",
|
17431
17431
|
value: (function () {
|
17432
|
-
var _onRoyaltyPayment = _asyncToGenerator(
|
17432
|
+
var _onRoyaltyPayment = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee110(request) {
|
17433
17433
|
var _yield$this$rpcClient44, call;
|
17434
17434
|
return _regeneratorRuntime().wrap(function _callee110$(_context110) {
|
17435
17435
|
while (1) switch (_context110.prev = _context110.next) {
|
@@ -17674,7 +17674,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17674
17674
|
return _createClass(SpgClient, [{
|
17675
17675
|
key: "createCollection",
|
17676
17676
|
value: (function () {
|
17677
|
-
var _createCollection = _asyncToGenerator(
|
17677
|
+
var _createCollection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee111(request) {
|
17678
17678
|
var _yield$this$rpcClient45, call;
|
17679
17679
|
return _regeneratorRuntime().wrap(function _callee111$(_context111) {
|
17680
17680
|
while (1) switch (_context111.prev = _context111.next) {
|
@@ -17734,7 +17734,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17734
17734
|
}, {
|
17735
17735
|
key: "mintAndRegisterIp",
|
17736
17736
|
value: (function () {
|
17737
|
-
var _mintAndRegisterIp = _asyncToGenerator(
|
17737
|
+
var _mintAndRegisterIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee112(request) {
|
17738
17738
|
var _yield$this$rpcClient46, call;
|
17739
17739
|
return _regeneratorRuntime().wrap(function _callee112$(_context112) {
|
17740
17740
|
while (1) switch (_context112.prev = _context112.next) {
|
@@ -17794,7 +17794,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17794
17794
|
}, {
|
17795
17795
|
key: "mintAndRegisterIpAndAttachPilTerms",
|
17796
17796
|
value: (function () {
|
17797
|
-
var _mintAndRegisterIpAndAttachPilTerms = _asyncToGenerator(
|
17797
|
+
var _mintAndRegisterIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee113(request) {
|
17798
17798
|
var _yield$this$rpcClient47, call;
|
17799
17799
|
return _regeneratorRuntime().wrap(function _callee113$(_context113) {
|
17800
17800
|
while (1) switch (_context113.prev = _context113.next) {
|
@@ -17854,7 +17854,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17854
17854
|
}, {
|
17855
17855
|
key: "mintAndRegisterIpAndMakeDerivative",
|
17856
17856
|
value: (function () {
|
17857
|
-
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(
|
17857
|
+
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee114(request) {
|
17858
17858
|
var _yield$this$rpcClient48, call;
|
17859
17859
|
return _regeneratorRuntime().wrap(function _callee114$(_context114) {
|
17860
17860
|
while (1) switch (_context114.prev = _context114.next) {
|
@@ -17914,7 +17914,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17914
17914
|
}, {
|
17915
17915
|
key: "mintAndRegisterIpAndMakeDerivativeWithLicenseTokens",
|
17916
17916
|
value: (function () {
|
17917
|
-
var _mintAndRegisterIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(
|
17917
|
+
var _mintAndRegisterIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee115(request) {
|
17918
17918
|
var _yield$this$rpcClient49, call;
|
17919
17919
|
return _regeneratorRuntime().wrap(function _callee115$(_context115) {
|
17920
17920
|
while (1) switch (_context115.prev = _context115.next) {
|
@@ -17974,7 +17974,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17974
17974
|
}, {
|
17975
17975
|
key: "registerIp",
|
17976
17976
|
value: (function () {
|
17977
|
-
var _registerIp = _asyncToGenerator(
|
17977
|
+
var _registerIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee116(request) {
|
17978
17978
|
var _yield$this$rpcClient50, call;
|
17979
17979
|
return _regeneratorRuntime().wrap(function _callee116$(_context116) {
|
17980
17980
|
while (1) switch (_context116.prev = _context116.next) {
|
@@ -18034,7 +18034,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18034
18034
|
}, {
|
18035
18035
|
key: "registerIpAndAttachPilTerms",
|
18036
18036
|
value: (function () {
|
18037
|
-
var _registerIpAndAttachPilTerms = _asyncToGenerator(
|
18037
|
+
var _registerIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee117(request) {
|
18038
18038
|
var _yield$this$rpcClient51, call;
|
18039
18039
|
return _regeneratorRuntime().wrap(function _callee117$(_context117) {
|
18040
18040
|
while (1) switch (_context117.prev = _context117.next) {
|
@@ -18094,7 +18094,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18094
18094
|
}, {
|
18095
18095
|
key: "registerIpAndMakeDerivative",
|
18096
18096
|
value: (function () {
|
18097
|
-
var _registerIpAndMakeDerivative = _asyncToGenerator(
|
18097
|
+
var _registerIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee118(request) {
|
18098
18098
|
var _yield$this$rpcClient52, call;
|
18099
18099
|
return _regeneratorRuntime().wrap(function _callee118$(_context118) {
|
18100
18100
|
while (1) switch (_context118.prev = _context118.next) {
|
@@ -18154,7 +18154,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18154
18154
|
}, {
|
18155
18155
|
key: "registerIpAndMakeDerivativeWithLicenseTokens",
|
18156
18156
|
value: (function () {
|
18157
|
-
var _registerIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(
|
18157
|
+
var _registerIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee119(request) {
|
18158
18158
|
var _yield$this$rpcClient53, call;
|
18159
18159
|
return _regeneratorRuntime().wrap(function _callee119$(_context119) {
|
18160
18160
|
while (1) switch (_context119.prev = _context119.next) {
|
@@ -18214,7 +18214,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18214
18214
|
}, {
|
18215
18215
|
key: "registerPilTermsAndAttach",
|
18216
18216
|
value: (function () {
|
18217
|
-
var _registerPilTermsAndAttach = _asyncToGenerator(
|
18217
|
+
var _registerPilTermsAndAttach = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee120(request) {
|
18218
18218
|
var _yield$this$rpcClient54, call;
|
18219
18219
|
return _regeneratorRuntime().wrap(function _callee120$(_context120) {
|
18220
18220
|
while (1) switch (_context120.prev = _context120.next) {
|
@@ -18295,6 +18295,7 @@ function getLicenseTermByType(type, term) {
|
|
18295
18295
|
uri: ""
|
18296
18296
|
};
|
18297
18297
|
if (type === PIL_TYPE.NON_COMMERCIAL_REMIX) {
|
18298
|
+
licenseTerms.commercializerCheckerData = "0x";
|
18298
18299
|
return licenseTerms;
|
18299
18300
|
} else if (type === PIL_TYPE.COMMERCIAL_USE) {
|
18300
18301
|
if (!term || term.defaultMintingFee === undefined || term.currency === undefined) {
|
@@ -18342,7 +18343,7 @@ var defaultFunctionSelector = "0x00000000";
|
|
18342
18343
|
* @returns A Promise that resolves to the signature.
|
18343
18344
|
*/
|
18344
18345
|
var getPermissionSignature = /*#__PURE__*/function () {
|
18345
|
-
var _ref = _asyncToGenerator(
|
18346
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(param) {
|
18346
18347
|
var ipId, deadline, state, wallet, chainId, permissions, permissionFunc, permissionFunction, accessAddress, data, nonce;
|
18347
18348
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
18348
18349
|
while (1) switch (_context.prev = _context.next) {
|
@@ -18481,24 +18482,24 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18481
18482
|
* @param params.socialMedia [Optional] An array of social media profiles associated with the creator.
|
18482
18483
|
* @param params.socialMedia[].platform The name of the social media platform.
|
18483
18484
|
* @param params.socialMedia[].url The URL to the creator's profile on the platform.
|
18484
|
-
*
|
18485
|
-
*
|
18485
|
+
* @param params.contributionPercent The percentage of contribution by the creator, must add up to 100.
|
18486
|
+
* @param params.role [Optional] The role of the creator in relation to the IP.
|
18486
18487
|
* @returns An `IpCreator` object containing the provided details.
|
18487
18488
|
*/
|
18488
18489
|
return _createClass(IPAssetClient, [{
|
18489
18490
|
key: "generateCreatorMetadata",
|
18490
|
-
value: function generateCreatorMetadata(
|
18491
|
-
var name =
|
18492
|
-
address =
|
18493
|
-
|
18494
|
-
description =
|
18495
|
-
|
18496
|
-
image =
|
18497
|
-
|
18498
|
-
socialMedia =
|
18499
|
-
contributionPercent =
|
18500
|
-
|
18501
|
-
role =
|
18491
|
+
value: function generateCreatorMetadata(param) {
|
18492
|
+
var name = param.name,
|
18493
|
+
address = param.address,
|
18494
|
+
_param$description = param.description,
|
18495
|
+
description = _param$description === void 0 ? "" : _param$description,
|
18496
|
+
_param$image = param.image,
|
18497
|
+
image = _param$image === void 0 ? "" : _param$image,
|
18498
|
+
_param$socialMedia = param.socialMedia,
|
18499
|
+
socialMedia = _param$socialMedia === void 0 ? [] : _param$socialMedia,
|
18500
|
+
contributionPercent = param.contributionPercent,
|
18501
|
+
_param$role = param.role,
|
18502
|
+
role = _param$role === void 0 ? "" : _param$role;
|
18502
18503
|
return {
|
18503
18504
|
name: name,
|
18504
18505
|
address: address,
|
@@ -18527,8 +18528,8 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18527
18528
|
* @param params.creators[].description [Optional] A description of the creator.
|
18528
18529
|
* @param params.creators[].image [Optional] The URL or path to an image representing the creator.
|
18529
18530
|
* @param params.creators[].socialMedia [Optional] An array of social media profiles for the creator.
|
18530
|
-
*
|
18531
|
-
*
|
18531
|
+
* @param params.creators[].socialMedia[].platform The social media platform name.
|
18532
|
+
* @param params.creators[].socialMedia[].url The URL to the creator's profile.
|
18532
18533
|
* @param params.creators[].role [Optional] The role of the creator in relation to the IP.
|
18533
18534
|
* @param params.creators[].contributionPercent The percentage of contribution by the creator.
|
18534
18535
|
* @param params.media [Optional] An array of media related to the IP.
|
@@ -18551,30 +18552,30 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18551
18552
|
*/
|
18552
18553
|
}, {
|
18553
18554
|
key: "generateIpMetadata",
|
18554
|
-
value: function generateIpMetadata(
|
18555
|
-
var
|
18556
|
-
title =
|
18557
|
-
|
18558
|
-
description =
|
18559
|
-
|
18560
|
-
ipType =
|
18561
|
-
|
18562
|
-
relationships =
|
18563
|
-
|
18564
|
-
createdAt =
|
18565
|
-
|
18566
|
-
watermarkImg =
|
18567
|
-
|
18568
|
-
creators =
|
18569
|
-
|
18570
|
-
media =
|
18571
|
-
|
18572
|
-
attributes =
|
18573
|
-
app =
|
18574
|
-
|
18575
|
-
tags =
|
18576
|
-
robotTerms =
|
18577
|
-
additionalProperties = _objectWithoutProperties(
|
18555
|
+
value: function generateIpMetadata(param) {
|
18556
|
+
var _param$title = param.title,
|
18557
|
+
title = _param$title === void 0 ? "" : _param$title,
|
18558
|
+
_param$description2 = param.description,
|
18559
|
+
description = _param$description2 === void 0 ? "" : _param$description2,
|
18560
|
+
_param$ipType = param.ipType,
|
18561
|
+
ipType = _param$ipType === void 0 ? "" : _param$ipType,
|
18562
|
+
_param$relationships = param.relationships,
|
18563
|
+
relationships = _param$relationships === void 0 ? [] : _param$relationships,
|
18564
|
+
_param$createdAt = param.createdAt,
|
18565
|
+
createdAt = _param$createdAt === void 0 ? "" : _param$createdAt,
|
18566
|
+
_param$watermarkImg = param.watermarkImg,
|
18567
|
+
watermarkImg = _param$watermarkImg === void 0 ? "" : _param$watermarkImg,
|
18568
|
+
_param$creators = param.creators,
|
18569
|
+
creators = _param$creators === void 0 ? [] : _param$creators,
|
18570
|
+
_param$media = param.media,
|
18571
|
+
media = _param$media === void 0 ? [] : _param$media,
|
18572
|
+
_param$attributes = param.attributes,
|
18573
|
+
attributes = _param$attributes === void 0 ? [] : _param$attributes,
|
18574
|
+
app = param.app,
|
18575
|
+
_param$tags = param.tags,
|
18576
|
+
tags = _param$tags === void 0 ? [] : _param$tags,
|
18577
|
+
robotTerms = param.robotTerms,
|
18578
|
+
additionalProperties = _objectWithoutProperties(param, _excluded);
|
18578
18579
|
return _objectSpread2({
|
18579
18580
|
title: title,
|
18580
18581
|
description: description,
|
@@ -18602,14 +18603,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18602
18603
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
18603
18604
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
18604
18605
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
18605
|
-
* @param request.txOptions [Optional]
|
18606
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18606
18607
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
18607
18608
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, resolverAddr, metadataProviderAddress, metadata)
|
18608
18609
|
*/
|
18609
18610
|
}, {
|
18610
18611
|
key: "register",
|
18611
18612
|
value: (function () {
|
18612
|
-
var _register = _asyncToGenerator(
|
18613
|
+
var _register = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
18613
18614
|
var _request$ipMetadata, _request$ipMetadata2, _request$ipMetadata3, _request$ipMetadata4, _request$txOptions, tokenId, ipIdAddress, isRegistered, object, _request$txOptions2, txHash, calculatedDeadline, signature, txReceipt, targetLogs;
|
18614
18615
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
18615
18616
|
while (1) switch (_context.prev = _context.next) {
|
@@ -18720,9 +18721,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18720
18721
|
break;
|
18721
18722
|
}
|
18722
18723
|
_context.next = 36;
|
18723
|
-
return this.rpcClient.waitForTransactionReceipt({
|
18724
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
18724
18725
|
hash: txHash
|
18725
|
-
});
|
18726
|
+
}));
|
18726
18727
|
case 36:
|
18727
18728
|
txReceipt = _context.sent;
|
18728
18729
|
targetLogs = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt);
|
@@ -18762,14 +18763,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18762
18763
|
* @param request.childIpId The derivative IP ID.
|
18763
18764
|
* @param request.parentIpIds The parent IP IDs.
|
18764
18765
|
* @param request.licenseTermsIds The IDs of the license terms that the parent IP supports.
|
18765
|
-
* @param request.txOptions [Optional]
|
18766
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18766
18767
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
18767
18768
|
*/
|
18768
18769
|
)
|
18769
18770
|
}, {
|
18770
18771
|
key: "registerDerivative",
|
18771
18772
|
value: (function () {
|
18772
|
-
var _registerDerivative = _asyncToGenerator(
|
18773
|
+
var _registerDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
18773
18774
|
var _request$txOptions3, isChildIpIdRegistered, _iterator, _step, parentId, isParentIpIdRegistered, i, isAttachedLicenseTerms, req, _request$txOptions4, txHash;
|
18774
18775
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
18775
18776
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -18874,9 +18875,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18874
18875
|
break;
|
18875
18876
|
}
|
18876
18877
|
_context2.next = 49;
|
18877
|
-
return this.rpcClient.waitForTransactionReceipt({
|
18878
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
18878
18879
|
hash: txHash
|
18879
|
-
});
|
18880
|
+
}));
|
18880
18881
|
case 49:
|
18881
18882
|
return _context2.abrupt("return", {
|
18882
18883
|
txHash: txHash
|
@@ -18911,14 +18912,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18911
18912
|
* @param request - The request object that contains all data needed to register derivative license tokens.
|
18912
18913
|
* @param request.childIpId The derivative IP ID.
|
18913
18914
|
* @param request.licenseTokenIds The IDs of the license tokens.
|
18914
|
-
* @param request.txOptions [Optional]
|
18915
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18915
18916
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
18916
18917
|
*/
|
18917
18918
|
)
|
18918
18919
|
}, {
|
18919
18920
|
key: "registerDerivativeWithLicenseTokens",
|
18920
18921
|
value: (function () {
|
18921
|
-
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(
|
18922
|
+
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
18922
18923
|
var _request$txOptions5, isChildIpIdRegistered, _iterator2, _step2, licenseTokenId, tokenOwnerAddress, req, _request$txOptions6, txHash;
|
18923
18924
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
18924
18925
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -18994,9 +18995,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18994
18995
|
break;
|
18995
18996
|
}
|
18996
18997
|
_context3.next = 38;
|
18997
|
-
return this.rpcClient.waitForTransactionReceipt({
|
18998
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
18998
18999
|
hash: txHash
|
18999
|
-
});
|
19000
|
+
}));
|
19000
19001
|
case 38:
|
19001
19002
|
return _context3.abrupt("return", {
|
19002
19003
|
txHash: txHash
|
@@ -19037,7 +19038,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19037
19038
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
19038
19039
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
19039
19040
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
19040
|
-
* @param request.txOptions [Optional]
|
19041
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19041
19042
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID, Token ID, License Terms Id if waitForTxn is set to true.
|
19042
19043
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19043
19044
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
@@ -19046,7 +19047,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19046
19047
|
}, {
|
19047
19048
|
key: "mintAndRegisterIpAssetWithPilTerms",
|
19048
19049
|
value: (function () {
|
19049
|
-
var _mintAndRegisterIpAssetWithPilTerms = _asyncToGenerator(
|
19050
|
+
var _mintAndRegisterIpAssetWithPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
19050
19051
|
var _request$ipMetadata5, _request$ipMetadata6, _request$ipMetadata7, _request$ipMetadata8, _request$txOptions7, licenseTerm, object, _request$txOptions8, txHash, txReceipt, iPRegisteredLog, licenseTermsId;
|
19051
19052
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
19052
19053
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -19092,9 +19093,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19092
19093
|
break;
|
19093
19094
|
}
|
19094
19095
|
_context4.next = 15;
|
19095
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19096
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19096
19097
|
hash: txHash
|
19097
|
-
});
|
19098
|
+
}));
|
19098
19099
|
case 15:
|
19099
19100
|
txReceipt = _context4.sent;
|
19100
19101
|
iPRegisteredLog = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt)[0];
|
@@ -19145,7 +19146,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19145
19146
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
19146
19147
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
19147
19148
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
19148
|
-
* @param request.txOptions [Optional]
|
19149
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19149
19150
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID, License Terms Id if waitForTxn is set to true.
|
19150
19151
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
19151
19152
|
*/
|
@@ -19153,7 +19154,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19153
19154
|
}, {
|
19154
19155
|
key: "registerIpAndAttachPilTerms",
|
19155
19156
|
value: (function () {
|
19156
|
-
var _registerIpAndAttachPilTerms = _asyncToGenerator(
|
19157
|
+
var _registerIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
19157
19158
|
var _request$ipMetadata9, _request$ipMetadata10, _request$ipMetadata11, _request$ipMetadata12, _request$txOptions9, ipIdAddress, isRegistered, licenseTerm, calculatedDeadline, sigAttachSignature, object, sigMetadataSignature, _request$txOptions10, txHash, txReceipt, ipRegisterEvent, licenseTermsId;
|
19158
19159
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
19159
19160
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -19272,9 +19273,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19272
19273
|
break;
|
19273
19274
|
}
|
19274
19275
|
_context5.next = 32;
|
19275
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19276
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19276
19277
|
hash: txHash
|
19277
|
-
});
|
19278
|
+
}));
|
19278
19279
|
case 32:
|
19279
19280
|
txReceipt = _context5.sent;
|
19280
19281
|
ipRegisterEvent = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt);
|
@@ -19324,7 +19325,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19324
19325
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
19325
19326
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
19326
19327
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds,default is 1000ms.
|
19327
|
-
* @param request.txOptions [Optional]
|
19328
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19328
19329
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
19329
19330
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19330
19331
|
*/
|
@@ -19332,7 +19333,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19332
19333
|
}, {
|
19333
19334
|
key: "registerDerivativeIp",
|
19334
19335
|
value: (function () {
|
19335
|
-
var _registerDerivativeIp = _asyncToGenerator(
|
19336
|
+
var _registerDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(request) {
|
19336
19337
|
var _request$ipMetadata13, _request$ipMetadata14, _request$ipMetadata15, _request$ipMetadata16, _request$txOptions11, tokenId, ipIdAddress, isRegistered, i, isAttachedLicenseTerms, calculatedDeadline, sigRegisterSignature, object, sigMetadataSignature, _request$txOptions12, txHash, receipt, log;
|
19337
19338
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
19338
19339
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -19478,9 +19479,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19478
19479
|
break;
|
19479
19480
|
}
|
19480
19481
|
_context6.next = 41;
|
19481
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19482
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19482
19483
|
hash: txHash
|
19483
|
-
});
|
19484
|
+
}));
|
19484
19485
|
case 41:
|
19485
19486
|
receipt = _context6.sent;
|
19486
19487
|
log = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(receipt)[0];
|
@@ -19522,8 +19523,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19522
19523
|
* @param request.ipMetadata.ipMetadataURI [Optional] The URI of the metadata for the IP.
|
19523
19524
|
* @param request.ipMetadata.ipMetadataHash [Optional] The hash of the metadata for the IP.
|
19524
19525
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
19525
|
-
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
19526
|
-
* @param request.
|
19526
|
+
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
19527
|
+
* @param request.recipient [Optional] The address of the recipient of the minted NFT.
|
19528
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19527
19529
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
19528
19530
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19529
19531
|
*/
|
@@ -19531,7 +19533,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19531
19533
|
}, {
|
19532
19534
|
key: "mintAndRegisterIpAndMakeDerivative",
|
19533
19535
|
value: (function () {
|
19534
|
-
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(
|
19536
|
+
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(request) {
|
19535
19537
|
var _request$ipMetadata17, _request$ipMetadata18, _request$ipMetadata19, _request$ipMetadata20, _request$txOptions13, i, isAttachedLicenseTerms, object, _request$txOptions14, txHash, receipt, log;
|
19536
19538
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
19537
19539
|
while (1) switch (_context7.prev = _context7.next) {
|
@@ -19600,9 +19602,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19600
19602
|
break;
|
19601
19603
|
}
|
19602
19604
|
_context7.next = 24;
|
19603
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19605
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19604
19606
|
hash: txHash
|
19605
|
-
});
|
19607
|
+
}));
|
19606
19608
|
case 24:
|
19607
19609
|
receipt = _context7.sent;
|
19608
19610
|
log = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(receipt)[0];
|
@@ -19635,7 +19637,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19635
19637
|
}, {
|
19636
19638
|
key: "getIpIdAddress",
|
19637
19639
|
value: function () {
|
19638
|
-
var _getIpIdAddress = _asyncToGenerator(
|
19640
|
+
var _getIpIdAddress = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(nftContract, tokenId) {
|
19639
19641
|
var ipId;
|
19640
19642
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
19641
19643
|
while (1) switch (_context8.prev = _context8.next) {
|
@@ -19663,7 +19665,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19663
19665
|
}, {
|
19664
19666
|
key: "isRegistered",
|
19665
19667
|
value: function () {
|
19666
|
-
var _isRegistered = _asyncToGenerator(
|
19668
|
+
var _isRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(ipId) {
|
19667
19669
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
19668
19670
|
while (1) switch (_context9.prev = _context9.next) {
|
19669
19671
|
case 0:
|
@@ -19710,7 +19712,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19710
19712
|
}, {
|
19711
19713
|
key: "getLicenseTermsId",
|
19712
19714
|
value: function () {
|
19713
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
19715
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(txReceipt) {
|
19714
19716
|
var licensingModuleLicenseTermsAttachedEvent, licenseTermsId, defaultLicenseTerms;
|
19715
19717
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
19716
19718
|
while (1) switch (_context10.prev = _context10.next) {
|
@@ -19770,14 +19772,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19770
19772
|
* @param request.to The address that can be called by the `signer` (currently only modules can be `to`).
|
19771
19773
|
* @param request.permission The new permission level.
|
19772
19774
|
* @param request.func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
19773
|
-
* @param request.txOptions [Optional]
|
19775
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19774
19776
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
19775
19777
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19776
19778
|
*/
|
19777
19779
|
return _createClass(PermissionClient, [{
|
19778
19780
|
key: "setPermission",
|
19779
19781
|
value: (function () {
|
19780
|
-
var _setPermission = _asyncToGenerator(
|
19782
|
+
var _setPermission = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
19781
19783
|
var _request$txOptions, req, _request$txOptions2, txHash;
|
19782
19784
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
19783
19785
|
while (1) switch (_context.prev = _context.next) {
|
@@ -19810,9 +19812,9 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19810
19812
|
break;
|
19811
19813
|
}
|
19812
19814
|
_context.next = 14;
|
19813
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19815
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19814
19816
|
hash: txHash
|
19815
|
-
});
|
19817
|
+
}));
|
19816
19818
|
case 14:
|
19817
19819
|
return _context.abrupt("return", {
|
19818
19820
|
txHash: txHash,
|
@@ -19849,7 +19851,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19849
19851
|
* @param request.permission The new permission level.
|
19850
19852
|
* @param request.func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
19851
19853
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
19852
|
-
* @param request.txOptions [Optional]
|
19854
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19853
19855
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
19854
19856
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19855
19857
|
*/
|
@@ -19857,8 +19859,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19857
19859
|
}, {
|
19858
19860
|
key: "createSetPermissionSignature",
|
19859
19861
|
value: (function () {
|
19860
|
-
var _createSetPermissionSignature = _asyncToGenerator(
|
19861
|
-
var _request$txOptions3, ipId, signer, to, txOptions, func, permission, deadline, ipAccountClient, data, _yield$ipAccountClien, state, calculatedDeadline, signature, req, txHash;
|
19862
|
+
var _createSetPermissionSignature = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
19863
|
+
var _request$txOptions3, ipId, signer, to, txOptions, func, permission, deadline, ipAccountClient, data, _yield$ipAccountClien, state, calculatedDeadline, signature, req, _request$txOptions4, txHash;
|
19862
19864
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
19863
19865
|
while (1) switch (_context2.prev = _context2.next) {
|
19864
19866
|
case 0:
|
@@ -19916,14 +19918,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19916
19918
|
return ipAccountClient.executeWithSig(req);
|
19917
19919
|
case 21:
|
19918
19920
|
txHash = _context2.sent;
|
19919
|
-
if (!(txOptions !== null &&
|
19921
|
+
if (!((_request$txOptions4 = request.txOptions) !== null && _request$txOptions4 !== void 0 && _request$txOptions4.waitForTransaction)) {
|
19920
19922
|
_context2.next = 28;
|
19921
19923
|
break;
|
19922
19924
|
}
|
19923
19925
|
_context2.next = 25;
|
19924
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19926
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
19925
19927
|
hash: txHash
|
19926
|
-
});
|
19928
|
+
}));
|
19927
19929
|
case 25:
|
19928
19930
|
return _context2.abrupt("return", {
|
19929
19931
|
txHash: txHash,
|
@@ -19957,7 +19959,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19957
19959
|
* @param request.ipId The IP ID that grants the permission for `signer`
|
19958
19960
|
* @param request.signer The address of the signer receiving the permissions.
|
19959
19961
|
* @param request.permission The new permission.
|
19960
|
-
* @param request.txOptions [Optional]
|
19962
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19961
19963
|
* @returns A Promise that resolves to an object containing the transaction hash
|
19962
19964
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19963
19965
|
*/
|
@@ -19965,8 +19967,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19965
19967
|
}, {
|
19966
19968
|
key: "setAllPermissions",
|
19967
19969
|
value: (function () {
|
19968
|
-
var _setAllPermissions = _asyncToGenerator(
|
19969
|
-
var _request$
|
19970
|
+
var _setAllPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
19971
|
+
var _request$txOptions5, req, _request$txOptions6, txHash;
|
19970
19972
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
19971
19973
|
while (1) switch (_context3.prev = _context3.next) {
|
19972
19974
|
case 0:
|
@@ -19979,7 +19981,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19979
19981
|
signer: request.signer,
|
19980
19982
|
permission: request.permission
|
19981
19983
|
};
|
19982
|
-
if (!((_request$
|
19984
|
+
if (!((_request$txOptions5 = request.txOptions) !== null && _request$txOptions5 !== void 0 && _request$txOptions5.encodedTxDataOnly)) {
|
19983
19985
|
_context3.next = 8;
|
19984
19986
|
break;
|
19985
19987
|
}
|
@@ -19991,14 +19993,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19991
19993
|
return this.accessControllerClient.setAllPermissions(req);
|
19992
19994
|
case 10:
|
19993
19995
|
txHash = _context3.sent;
|
19994
|
-
if (!((_request$
|
19996
|
+
if (!((_request$txOptions6 = request.txOptions) !== null && _request$txOptions6 !== void 0 && _request$txOptions6.waitForTransaction)) {
|
19995
19997
|
_context3.next = 17;
|
19996
19998
|
break;
|
19997
19999
|
}
|
19998
20000
|
_context3.next = 14;
|
19999
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20001
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20000
20002
|
hash: txHash
|
20001
|
-
});
|
20003
|
+
}));
|
20002
20004
|
case 14:
|
20003
20005
|
return _context3.abrupt("return", {
|
20004
20006
|
txHash: txHash,
|
@@ -20036,7 +20038,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20036
20038
|
* @param request.permissions[].permission The new permission level.
|
20037
20039
|
* @param request.permissions[].func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
20038
20040
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
20039
|
-
* @param request.txOptions [Optional]
|
20041
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20040
20042
|
* @returns A Promise that resolves to an object containing the transaction hash
|
20041
20043
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
20042
20044
|
*/
|
@@ -20044,8 +20046,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20044
20046
|
}, {
|
20045
20047
|
key: "setBatchPermissions",
|
20046
20048
|
value: (function () {
|
20047
|
-
var _setBatchPermissions = _asyncToGenerator(
|
20048
|
-
var _request$
|
20049
|
+
var _setBatchPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
20050
|
+
var _request$txOptions7, permissions, txOptions, _iterator, _step, permission, req, _request$txOptions8, txHash;
|
20049
20051
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
20050
20052
|
while (1) switch (_context4.prev = _context4.next) {
|
20051
20053
|
case 0:
|
@@ -20088,7 +20090,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20088
20090
|
};
|
20089
20091
|
})
|
20090
20092
|
};
|
20091
|
-
if (!((_request$
|
20093
|
+
if (!((_request$txOptions7 = request.txOptions) !== null && _request$txOptions7 !== void 0 && _request$txOptions7.encodedTxDataOnly)) {
|
20092
20094
|
_context4.next = 24;
|
20093
20095
|
break;
|
20094
20096
|
}
|
@@ -20100,14 +20102,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20100
20102
|
return this.accessControllerClient.setBatchPermissions(req);
|
20101
20103
|
case 26:
|
20102
20104
|
txHash = _context4.sent;
|
20103
|
-
if (!(txOptions !== null &&
|
20105
|
+
if (!((_request$txOptions8 = request.txOptions) !== null && _request$txOptions8 !== void 0 && _request$txOptions8.waitForTransaction)) {
|
20104
20106
|
_context4.next = 33;
|
20105
20107
|
break;
|
20106
20108
|
}
|
20107
20109
|
_context4.next = 30;
|
20108
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20110
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
20109
20111
|
hash: txHash
|
20110
|
-
});
|
20112
|
+
}));
|
20111
20113
|
case 30:
|
20112
20114
|
return _context4.abrupt("return", {
|
20113
20115
|
txHash: txHash,
|
@@ -20145,7 +20147,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20145
20147
|
* @param request.permissions[].to The address that can be called by the `signer` (currently only modules can be `to`).
|
20146
20148
|
* @param request.permissions[].permission The new permission level.
|
20147
20149
|
* @param request.permissions[].func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
20148
|
-
* @param request.txOptions [Optional]
|
20150
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20149
20151
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
20150
20152
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
20151
20153
|
*/
|
@@ -20153,8 +20155,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20153
20155
|
}, {
|
20154
20156
|
key: "createBatchPermissionSignature",
|
20155
20157
|
value: (function () {
|
20156
|
-
var _createBatchPermissionSignature = _asyncToGenerator(
|
20157
|
-
var _request$
|
20158
|
+
var _createBatchPermissionSignature = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
20159
|
+
var _request$txOptions9, permissions, deadline, ipId, txOptions, _iterator2, _step2, permission, ipAccountClient, data, _yield$ipAccountClien2, state, calculatedDeadline, signature, req, _request$txOptions10, txHash;
|
20158
20160
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
20159
20161
|
while (1) switch (_context5.prev = _context5.next) {
|
20160
20162
|
case 0:
|
@@ -20226,7 +20228,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20226
20228
|
deadline: calculatedDeadline,
|
20227
20229
|
signature: signature
|
20228
20230
|
};
|
20229
|
-
if (!((_request$
|
20231
|
+
if (!((_request$txOptions9 = request.txOptions) !== null && _request$txOptions9 !== void 0 && _request$txOptions9.encodedTxDataOnly)) {
|
20230
20232
|
_context5.next = 34;
|
20231
20233
|
break;
|
20232
20234
|
}
|
@@ -20238,14 +20240,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20238
20240
|
return ipAccountClient.executeWithSig(req);
|
20239
20241
|
case 36:
|
20240
20242
|
txHash = _context5.sent;
|
20241
|
-
if (!(txOptions !== null &&
|
20243
|
+
if (!((_request$txOptions10 = request.txOptions) !== null && _request$txOptions10 !== void 0 && _request$txOptions10.waitForTransaction)) {
|
20242
20244
|
_context5.next = 43;
|
20243
20245
|
break;
|
20244
20246
|
}
|
20245
20247
|
_context5.next = 40;
|
20246
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20248
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
20247
20249
|
hash: txHash
|
20248
|
-
});
|
20250
|
+
}));
|
20249
20251
|
case 40:
|
20250
20252
|
return _context5.abrupt("return", {
|
20251
20253
|
txHash: txHash,
|
@@ -20276,7 +20278,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20276
20278
|
}, {
|
20277
20279
|
key: "checkIsRegistered",
|
20278
20280
|
value: function () {
|
20279
|
-
var _checkIsRegistered = _asyncToGenerator(
|
20281
|
+
var _checkIsRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(ipId) {
|
20280
20282
|
var isRegistered;
|
20281
20283
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
20282
20284
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -20323,14 +20325,14 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20323
20325
|
/**
|
20324
20326
|
* Convenient function to register a PIL non commercial social remix license to the registry
|
20325
20327
|
* @param request - [Optional] The request object that contains all data needed to register a PIL non commercial social remix license.
|
20326
|
-
* @param request.txOptions [Optional]
|
20328
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20327
20329
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20328
20330
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20329
20331
|
*/
|
20330
20332
|
return _createClass(LicenseClient, [{
|
20331
20333
|
key: "registerNonComSocialRemixingPIL",
|
20332
20334
|
value: (function () {
|
20333
|
-
var _registerNonComSocialRemixingPIL = _asyncToGenerator(
|
20335
|
+
var _registerNonComSocialRemixingPIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
20334
20336
|
var _request$txOptions, licenseTerms, licenseTermsId, _request$txOptions2, txHash, txReceipt, targetLogs;
|
20335
20337
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
20336
20338
|
while (1) switch (_context.prev = _context.next) {
|
@@ -20370,9 +20372,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20370
20372
|
break;
|
20371
20373
|
}
|
20372
20374
|
_context.next = 17;
|
20373
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20375
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20374
20376
|
hash: txHash
|
20375
|
-
});
|
20377
|
+
}));
|
20376
20378
|
case 17:
|
20377
20379
|
txReceipt = _context.sent;
|
20378
20380
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20407,7 +20409,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20407
20409
|
* @param request - The request object that contains all data needed to register a PIL commercial use license.
|
20408
20410
|
* @param request.mintingFee The fee to be paid when minting a license.
|
20409
20411
|
* @param request.currency The ERC20 token to be used to pay the minting fee and the token must be registered in story protocol.
|
20410
|
-
* @param request.txOptions [Optional]
|
20412
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20411
20413
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20412
20414
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20413
20415
|
*/
|
@@ -20415,7 +20417,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20415
20417
|
}, {
|
20416
20418
|
key: "registerCommercialUsePIL",
|
20417
20419
|
value: (function () {
|
20418
|
-
var _registerCommercialUsePIL = _asyncToGenerator(
|
20420
|
+
var _registerCommercialUsePIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
20419
20421
|
var _request$txOptions3, licenseTerms, licenseTermsId, _request$txOptions4, txHash, txReceipt, targetLogs;
|
20420
20422
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
20421
20423
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -20459,9 +20461,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20459
20461
|
break;
|
20460
20462
|
}
|
20461
20463
|
_context2.next = 17;
|
20462
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20464
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20463
20465
|
hash: txHash
|
20464
|
-
});
|
20466
|
+
}));
|
20465
20467
|
case 17:
|
20466
20468
|
txReceipt = _context2.sent;
|
20467
20469
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20497,7 +20499,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20497
20499
|
* @param request.mintingFee The fee to be paid when minting a license.
|
20498
20500
|
* @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
|
20499
20501
|
* @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
20500
|
-
* @param request.txOptions [Optional]
|
20502
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20501
20503
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20502
20504
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20503
20505
|
*/
|
@@ -20505,7 +20507,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20505
20507
|
}, {
|
20506
20508
|
key: "registerCommercialRemixPIL",
|
20507
20509
|
value: (function () {
|
20508
|
-
var _registerCommercialRemixPIL = _asyncToGenerator(
|
20510
|
+
var _registerCommercialRemixPIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
20509
20511
|
var _request$txOptions5, licenseTerms, licenseTermsId, _request$txOptions6, txHash, txReceipt, targetLogs;
|
20510
20512
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
20511
20513
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -20550,9 +20552,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20550
20552
|
break;
|
20551
20553
|
}
|
20552
20554
|
_context3.next = 17;
|
20553
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20555
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20554
20556
|
hash: txHash
|
20555
|
-
});
|
20557
|
+
}));
|
20556
20558
|
case 17:
|
20557
20559
|
txReceipt = _context3.sent;
|
20558
20560
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20588,14 +20590,14 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20588
20590
|
* @param request.ipId The address of the IP to which the license terms are attached.
|
20589
20591
|
* @param request.licenseTemplate The address of the license template.
|
20590
20592
|
* @param request.licenseTermsId The ID of the license terms.
|
20591
|
-
* @param request.txOptions [Optional]
|
20593
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20592
20594
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
20593
20595
|
*/
|
20594
20596
|
)
|
20595
20597
|
}, {
|
20596
20598
|
key: "attachLicenseTerms",
|
20597
20599
|
value: (function () {
|
20598
|
-
var _attachLicenseTerms = _asyncToGenerator(
|
20600
|
+
var _attachLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
20599
20601
|
var _request$txOptions7, isRegistered, isExisted, isAttachedLicenseTerms, req, _request$txOptions8, txHash;
|
20600
20602
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
20601
20603
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -20665,9 +20667,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20665
20667
|
break;
|
20666
20668
|
}
|
20667
20669
|
_context4.next = 28;
|
20668
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20670
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20669
20671
|
hash: txHash
|
20670
|
-
});
|
20672
|
+
}));
|
20671
20673
|
case 28:
|
20672
20674
|
return _context4.abrupt("return", {
|
20673
20675
|
txHash: txHash,
|
@@ -20713,7 +20715,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20713
20715
|
* @param request.licenseTermsId The ID of the license terms within the license template.
|
20714
20716
|
* @param request.amount The amount of license tokens to mint.
|
20715
20717
|
* @param request.receiver The address of the receiver.
|
20716
|
-
* @param request.txOptions [Optional]
|
20718
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20717
20719
|
* @returns A Promise that resolves to an object containing the transaction hash and optional license token IDs if waitForTxn is set to true.
|
20718
20720
|
* @emits LicenseTokensMinted (msg.sender, licensorIpId, licenseTemplate, licenseTermsId, amount, receiver, startLicenseTokenId);
|
20719
20721
|
*/
|
@@ -20721,7 +20723,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20721
20723
|
}, {
|
20722
20724
|
key: "mintLicenseTokens",
|
20723
20725
|
value: (function () {
|
20724
|
-
var _mintLicenseTokens = _asyncToGenerator(
|
20726
|
+
var _mintLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
20725
20727
|
var _request$txOptions9, isLicenseIpIdRegistered, isExisted, isAttachedLicenseTerms, amount, req, _request$txOptions10, txHash, txReceipt, targetLogs, startLicenseTokenId, licenseTokenIds, i;
|
20726
20728
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
20727
20729
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -20792,9 +20794,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20792
20794
|
break;
|
20793
20795
|
}
|
20794
20796
|
_context5.next = 29;
|
20795
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20797
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20796
20798
|
hash: txHash
|
20797
|
-
});
|
20799
|
+
}));
|
20798
20800
|
case 29:
|
20799
20801
|
txReceipt = _context5.sent;
|
20800
20802
|
targetLogs = this.licensingModuleClient.parseTxLicenseTokensMintedEvent(txReceipt);
|
@@ -20838,7 +20840,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20838
20840
|
}, {
|
20839
20841
|
key: "getLicenseTerms",
|
20840
20842
|
value: (function () {
|
20841
|
-
var _getLicenseTerms = _asyncToGenerator(
|
20843
|
+
var _getLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(selectedLicenseTermsId) {
|
20842
20844
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
20843
20845
|
while (1) switch (_context6.prev = _context6.next) {
|
20844
20846
|
case 0:
|
@@ -20867,7 +20869,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20867
20869
|
}, {
|
20868
20870
|
key: "getLicenseTermsId",
|
20869
20871
|
value: function () {
|
20870
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
20872
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(request) {
|
20871
20873
|
var licenseRes;
|
20872
20874
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
20873
20875
|
while (1) switch (_context7.prev = _context7.next) {
|
@@ -20908,7 +20910,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20908
20910
|
* @param request.linkToDisputeEvidence - The link to the dispute evidence.
|
20909
20911
|
* @param request.targetTag - The target tag of the dispute.
|
20910
20912
|
* @param request.calldata - Optional calldata to initialize the policy.
|
20911
|
-
* @param request.txOptions - Optional transaction
|
20913
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20912
20914
|
* @returns A Promise that resolves to a RaiseDisputeResponse containing the transaction hash.
|
20913
20915
|
* @throws `NotRegisteredIpId` if targetIpId is not registered in the IPA Registry.
|
20914
20916
|
* @throws `NotWhitelistedDisputeTag` if targetTag is not whitelisted.
|
@@ -20919,7 +20921,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20919
20921
|
return _createClass(DisputeClient, [{
|
20920
20922
|
key: "raiseDispute",
|
20921
20923
|
value: (function () {
|
20922
|
-
var _raiseDispute = _asyncToGenerator(
|
20924
|
+
var _raiseDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
20923
20925
|
var _request$txOptions, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
20924
20926
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
20925
20927
|
while (1) switch (_context.prev = _context.next) {
|
@@ -20950,9 +20952,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20950
20952
|
break;
|
20951
20953
|
}
|
20952
20954
|
_context.next = 12;
|
20953
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20955
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20954
20956
|
hash: txHash
|
20955
|
-
});
|
20957
|
+
}));
|
20956
20958
|
case 12:
|
20957
20959
|
txReceipt = _context.sent;
|
20958
20960
|
targetLogs = this.disputeModuleClient.parseTxDisputeRaisedEvent(txReceipt);
|
@@ -20987,6 +20989,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20987
20989
|
* @param request - The request object containing details to cancel the dispute.
|
20988
20990
|
* @param request.disputeId The ID of the dispute to be cancelled.
|
20989
20991
|
* @param request.calldata Optional additional data used in the cancellation process.
|
20992
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20990
20993
|
* @returns A Promise that resolves to a CancelDisputeResponse containing the transaction hash.
|
20991
20994
|
* @throws NotInDisputeState, if the currentTag of the Dispute is not being disputed
|
20992
20995
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -20998,7 +21001,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20998
21001
|
}, {
|
20999
21002
|
key: "cancelDispute",
|
21000
21003
|
value: (function () {
|
21001
|
-
var _cancelDispute = _asyncToGenerator(
|
21004
|
+
var _cancelDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21002
21005
|
var _request$txOptions3, req, _request$txOptions4, txHash;
|
21003
21006
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21004
21007
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21025,9 +21028,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21025
21028
|
break;
|
21026
21029
|
}
|
21027
21030
|
_context2.next = 12;
|
21028
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21031
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21029
21032
|
hash: txHash
|
21030
|
-
});
|
21033
|
+
}));
|
21031
21034
|
case 12:
|
21032
21035
|
return _context2.abrupt("return", {
|
21033
21036
|
txHash: txHash
|
@@ -21055,6 +21058,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21055
21058
|
* @param request - The request object containing details to resolve the dispute.
|
21056
21059
|
* @param request.disputeId The ID of the dispute to be resolved.
|
21057
21060
|
* @param request.data The data to resolve the dispute.
|
21061
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21058
21062
|
* @returns A Promise that resolves to a ResolveDisputeResponse.
|
21059
21063
|
* @throws NotAbleToResolve, if currentTag is still in dispute (i.e still needs a judgement to be set)
|
21060
21064
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -21064,7 +21068,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21064
21068
|
}, {
|
21065
21069
|
key: "resolveDispute",
|
21066
21070
|
value: (function () {
|
21067
|
-
var _resolveDispute = _asyncToGenerator(
|
21071
|
+
var _resolveDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
21068
21072
|
var _request$txOptions5, req, _request$txOptions6, txHash;
|
21069
21073
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21070
21074
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21091,9 +21095,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21091
21095
|
break;
|
21092
21096
|
}
|
21093
21097
|
_context3.next = 12;
|
21094
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21098
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21095
21099
|
hash: txHash
|
21096
|
-
});
|
21100
|
+
}));
|
21097
21101
|
case 12:
|
21098
21102
|
return _context3.abrupt("return", {
|
21099
21103
|
txHash: txHash
|
@@ -21133,12 +21137,13 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21133
21137
|
* @param request.value The amount of Ether to send.
|
21134
21138
|
* @param request.accountAddress The ipId to send.
|
21135
21139
|
* @param request.data The data to send along with the transaction.
|
21140
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21136
21141
|
* @returns Tx hash for the transaction.
|
21137
21142
|
*/
|
21138
21143
|
return _createClass(IPAccountClient, [{
|
21139
21144
|
key: "execute",
|
21140
21145
|
value: (function () {
|
21141
|
-
var _execute = _asyncToGenerator(
|
21146
|
+
var _execute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21142
21147
|
var _request$txOptions, ipAccountClient, req, _request$txOptions2, txHash;
|
21143
21148
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21144
21149
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21171,9 +21176,9 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21171
21176
|
break;
|
21172
21177
|
}
|
21173
21178
|
_context.next = 13;
|
21174
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21179
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21175
21180
|
hash: txHash
|
21176
|
-
});
|
21181
|
+
}));
|
21177
21182
|
case 13:
|
21178
21183
|
return _context.abrupt("return", {
|
21179
21184
|
txHash: txHash
|
@@ -21205,13 +21210,14 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21205
21210
|
* @param request.signer The signer of the transaction.
|
21206
21211
|
* @param request.deadline The deadline of the transaction signature.
|
21207
21212
|
* @param request.signature The signature of the transaction, EIP-712 encoded.
|
21213
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21208
21214
|
* @returns Tx hash for the transaction.
|
21209
21215
|
*/
|
21210
21216
|
)
|
21211
21217
|
}, {
|
21212
21218
|
key: "executeWithSig",
|
21213
21219
|
value: (function () {
|
21214
|
-
var _executeWithSig = _asyncToGenerator(
|
21220
|
+
var _executeWithSig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21215
21221
|
var _request$txOptions3, ipAccountClient, req, _request$txOptions4, txHash;
|
21216
21222
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21217
21223
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21243,9 +21249,9 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21243
21249
|
break;
|
21244
21250
|
}
|
21245
21251
|
_context2.next = 13;
|
21246
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21252
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21247
21253
|
hash: txHash
|
21248
|
-
});
|
21254
|
+
}));
|
21249
21255
|
case 13:
|
21250
21256
|
return _context2.abrupt("return", {
|
21251
21257
|
txHash: txHash
|
@@ -21276,7 +21282,7 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21276
21282
|
}, {
|
21277
21283
|
key: "getIpAccountNonce",
|
21278
21284
|
value: (function () {
|
21279
|
-
var _getIpAccountNonce = _asyncToGenerator(
|
21285
|
+
var _getIpAccountNonce = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(ipId) {
|
21280
21286
|
var ipAccount, _yield$ipAccount$stat, state;
|
21281
21287
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21282
21288
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21318,14 +21324,14 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21318
21324
|
* @param request - The request object that contains all data needed to collect royalty tokens.
|
21319
21325
|
* @param request.parentIpId The ip id of the ancestor to whom the royalty tokens belong to.
|
21320
21326
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21321
|
-
* @param request.txOptions [Optional]
|
21327
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21322
21328
|
* @returns A Promise that resolves to an object containing the transaction hash and optional the amount of royalty tokens collected if waitForTxn is set to true.
|
21323
21329
|
* @emits RoyaltyTokensCollected (ancestorIpId, royaltyTokensCollected)
|
21324
21330
|
*/
|
21325
21331
|
return _createClass(RoyaltyClient, [{
|
21326
21332
|
key: "collectRoyaltyTokens",
|
21327
21333
|
value: (function () {
|
21328
|
-
var _collectRoyaltyTokens = _asyncToGenerator(
|
21334
|
+
var _collectRoyaltyTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21329
21335
|
var _request$txOptions, isParentIpIdRegistered, proxyAddress, ipRoyaltyVault, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
21330
21336
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21331
21337
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21368,9 +21374,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21368
21374
|
break;
|
21369
21375
|
}
|
21370
21376
|
_context.next = 21;
|
21371
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21377
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21372
21378
|
hash: txHash
|
21373
|
-
});
|
21379
|
+
}));
|
21374
21380
|
case 21:
|
21375
21381
|
txReceipt = _context.sent;
|
21376
21382
|
targetLogs = ipRoyaltyVault.parseTxRoyaltyTokensCollectedEvent(txReceipt);
|
@@ -21407,14 +21413,14 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21407
21413
|
* @param request.payerIpId The ID of the IP asset that pays the royalties.
|
21408
21414
|
* @param request.token The token to use to pay the royalties.
|
21409
21415
|
* @param request.amount The amount to pay.
|
21410
|
-
* @param request.txOptions [Optional]
|
21416
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21411
21417
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
21412
21418
|
*/
|
21413
21419
|
)
|
21414
21420
|
}, {
|
21415
21421
|
key: "payRoyaltyOnBehalf",
|
21416
21422
|
value: (function () {
|
21417
|
-
var _payRoyaltyOnBehalf = _asyncToGenerator(
|
21423
|
+
var _payRoyaltyOnBehalf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21418
21424
|
var _request$txOptions3, isReceiverRegistered, isPayerRegistered, req, _request$txOptions4, txHash;
|
21419
21425
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21420
21426
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21467,9 +21473,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21467
21473
|
break;
|
21468
21474
|
}
|
21469
21475
|
_context2.next = 22;
|
21470
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21476
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21471
21477
|
hash: txHash
|
21472
|
-
});
|
21478
|
+
}));
|
21473
21479
|
case 22:
|
21474
21480
|
return _context2.abrupt("return", {
|
21475
21481
|
txHash: txHash
|
@@ -21503,14 +21509,13 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21503
21509
|
* @param request.account The address of the token holder.
|
21504
21510
|
* @param request.snapshotId The snapshot id.
|
21505
21511
|
* @param request.token The revenue token to claim.
|
21506
|
-
* @param request.txOptions [Optional] The transaction options.
|
21507
21512
|
* @returns A Promise that contains the amount of revenue token claimable
|
21508
21513
|
*/
|
21509
21514
|
)
|
21510
21515
|
}, {
|
21511
21516
|
key: "claimableRevenue",
|
21512
21517
|
value: (function () {
|
21513
|
-
var _claimableRevenue = _asyncToGenerator(
|
21518
|
+
var _claimableRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
21514
21519
|
var proxyAddress, ipRoyaltyVault;
|
21515
21520
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21516
21521
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21551,7 +21556,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21551
21556
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21552
21557
|
* @param request.token The revenue token to claim.
|
21553
21558
|
* @param request.account [Optional] The ipId to send.
|
21554
|
-
* @param request.txOptions [Optional]
|
21559
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21555
21560
|
* @returns A Promise that resolves to an object containing the transaction hash and optional claimableToken if waitForTxn is set to true.
|
21556
21561
|
* @emits RevenueTokenClaimed (claimer, token, amount).
|
21557
21562
|
*/
|
@@ -21559,7 +21564,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21559
21564
|
}, {
|
21560
21565
|
key: "claimRevenue",
|
21561
21566
|
value: (function () {
|
21562
|
-
var _claimRevenue = _asyncToGenerator(
|
21567
|
+
var _claimRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
21563
21568
|
var _request$txOptions7, proxyAddress, ipRoyaltyVault, txHash, _request$txOptions5, iPAccountExecuteResponse, _request$txOptions6, req, txReceipt, targetLogs;
|
21564
21569
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
21565
21570
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -21625,9 +21630,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21625
21630
|
break;
|
21626
21631
|
}
|
21627
21632
|
_context4.next = 26;
|
21628
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21633
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21629
21634
|
hash: txHash
|
21630
|
-
});
|
21635
|
+
}));
|
21631
21636
|
case 26:
|
21632
21637
|
txReceipt = _context4.sent;
|
21633
21638
|
targetLogs = ipRoyaltyVault.parseTxRevenueTokenClaimedEvent(txReceipt);
|
@@ -21661,7 +21666,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21661
21666
|
* Snapshots the claimable revenue and royalty token amounts.
|
21662
21667
|
* @param request - The request object that contains all data needed to snapshot.
|
21663
21668
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21664
|
-
* @param request.txOptions [Optional]
|
21669
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21665
21670
|
* @returns A Promise that resolves to an object containing the transaction hash and optional snapshotId if waitForTxn is set to true.
|
21666
21671
|
* @emits SnapshotCompleted (snapshotId, snapshotTimestamp, unclaimedTokens).
|
21667
21672
|
*/
|
@@ -21669,7 +21674,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21669
21674
|
}, {
|
21670
21675
|
key: "snapshot",
|
21671
21676
|
value: (function () {
|
21672
|
-
var _snapshot = _asyncToGenerator(
|
21677
|
+
var _snapshot = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
21673
21678
|
var _request$txOptions8, proxyAddress, ipRoyaltyVault, _request$txOptions9, txHash, txReceipt, targetLogs;
|
21674
21679
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
21675
21680
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -21697,9 +21702,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21697
21702
|
break;
|
21698
21703
|
}
|
21699
21704
|
_context5.next = 15;
|
21700
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21705
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21701
21706
|
hash: txHash
|
21702
|
-
});
|
21707
|
+
}));
|
21703
21708
|
case 15:
|
21704
21709
|
txReceipt = _context5.sent;
|
21705
21710
|
targetLogs = ipRoyaltyVault.parseTxSnapshotCompletedEvent(txReceipt);
|
@@ -21738,7 +21743,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21738
21743
|
}, {
|
21739
21744
|
key: "getRoyaltyVaultAddress",
|
21740
21745
|
value: (function () {
|
21741
|
-
var _getRoyaltyVaultAddress = _asyncToGenerator(
|
21746
|
+
var _getRoyaltyVaultAddress = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(royaltyVaultIpId) {
|
21742
21747
|
var isRoyaltyVaultIpIdRegistered, data;
|
21743
21748
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
21744
21749
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -21799,14 +21804,14 @@ var NftClient = /*#__PURE__*/function () {
|
|
21799
21804
|
* @param request.mintFee - The cost to mint a token.
|
21800
21805
|
* @param request.mintFeeToken - The token to mint.
|
21801
21806
|
* @param request.owner - The owner of the collection.
|
21802
|
-
* @param request.txOptions - Optional transaction
|
21807
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21803
21808
|
* @returns A Promise that resolves to a CreateNFTCollectionResponse containing the transaction hash and collection address.
|
21804
21809
|
* @emits CollectionCreated (nftContract);
|
21805
21810
|
*/
|
21806
21811
|
return _createClass(NftClient, [{
|
21807
21812
|
key: "createNFTCollection",
|
21808
21813
|
value: (function () {
|
21809
|
-
var _createNFTCollection = _asyncToGenerator(
|
21814
|
+
var _createNFTCollection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21810
21815
|
var _request$maxSupply, _request$mintFee, _request$mintFeeToken, _request$txOptions, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
21811
21816
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21812
21817
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21843,9 +21848,9 @@ var NftClient = /*#__PURE__*/function () {
|
|
21843
21848
|
break;
|
21844
21849
|
}
|
21845
21850
|
_context.next = 14;
|
21846
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21851
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21847
21852
|
hash: txHash
|
21848
|
-
});
|
21853
|
+
}));
|
21849
21854
|
case 14:
|
21850
21855
|
txReceipt = _context.sent;
|
21851
21856
|
targetLogs = this.spgClient.parseTxCollectionCreatedEvent(txReceipt);
|