@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
@@ -10522,7 +10522,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10522
10522
|
return _createClass(AccessControllerClient, [{
|
10523
10523
|
key: "setAllPermissions",
|
10524
10524
|
value: (function () {
|
10525
|
-
var _setAllPermissions = _asyncToGenerator(
|
10525
|
+
var _setAllPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
10526
10526
|
var _yield$this$rpcClient, call;
|
10527
10527
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
10528
10528
|
while (1) switch (_context.prev = _context.next) {
|
@@ -10582,7 +10582,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10582
10582
|
}, {
|
10583
10583
|
key: "setBatchPermissions",
|
10584
10584
|
value: (function () {
|
10585
|
-
var _setBatchPermissions = _asyncToGenerator(
|
10585
|
+
var _setBatchPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
10586
10586
|
var _yield$this$rpcClient2, call;
|
10587
10587
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
10588
10588
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -10642,7 +10642,7 @@ var AccessControllerClient = /*#__PURE__*/function (_AccessControllerEven) {
|
|
10642
10642
|
}, {
|
10643
10643
|
key: "setPermission",
|
10644
10644
|
value: (function () {
|
10645
|
-
var _setPermission = _asyncToGenerator(
|
10645
|
+
var _setPermission = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
10646
10646
|
var _yield$this$rpcClient3, call;
|
10647
10647
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
10648
10648
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -11142,7 +11142,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11142
11142
|
return _createClass(CoreMetadataModuleReadOnlyClient, [{
|
11143
11143
|
key: "accessController",
|
11144
11144
|
value: (function () {
|
11145
|
-
var _accessController = _asyncToGenerator(
|
11145
|
+
var _accessController = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
11146
11146
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
11147
11147
|
while (1) switch (_context4.prev = _context4.next) {
|
11148
11148
|
case 0:
|
@@ -11175,7 +11175,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11175
11175
|
}, {
|
11176
11176
|
key: "ipAccountRegistry",
|
11177
11177
|
value: (function () {
|
11178
|
-
var _ipAccountRegistry = _asyncToGenerator(
|
11178
|
+
var _ipAccountRegistry = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
11179
11179
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
11180
11180
|
while (1) switch (_context5.prev = _context5.next) {
|
11181
11181
|
case 0:
|
@@ -11208,7 +11208,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11208
11208
|
}, {
|
11209
11209
|
key: "upgradeInterfaceVersion",
|
11210
11210
|
value: (function () {
|
11211
|
-
var _upgradeInterfaceVersion = _asyncToGenerator(
|
11211
|
+
var _upgradeInterfaceVersion = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
11212
11212
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
11213
11213
|
while (1) switch (_context6.prev = _context6.next) {
|
11214
11214
|
case 0:
|
@@ -11241,7 +11241,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11241
11241
|
}, {
|
11242
11242
|
key: "authority",
|
11243
11243
|
value: (function () {
|
11244
|
-
var _authority = _asyncToGenerator(
|
11244
|
+
var _authority = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
11245
11245
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
11246
11246
|
while (1) switch (_context7.prev = _context7.next) {
|
11247
11247
|
case 0:
|
@@ -11274,7 +11274,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11274
11274
|
}, {
|
11275
11275
|
key: "isConsumingScheduledOp",
|
11276
11276
|
value: (function () {
|
11277
|
-
var _isConsumingScheduledOp = _asyncToGenerator(
|
11277
|
+
var _isConsumingScheduledOp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
11278
11278
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
11279
11279
|
while (1) switch (_context8.prev = _context8.next) {
|
11280
11280
|
case 0:
|
@@ -11307,7 +11307,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11307
11307
|
}, {
|
11308
11308
|
key: "isMetadataFrozen",
|
11309
11309
|
value: (function () {
|
11310
|
-
var _isMetadataFrozen = _asyncToGenerator(
|
11310
|
+
var _isMetadataFrozen = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(request) {
|
11311
11311
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
11312
11312
|
while (1) switch (_context9.prev = _context9.next) {
|
11313
11313
|
case 0:
|
@@ -11341,7 +11341,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11341
11341
|
}, {
|
11342
11342
|
key: "name",
|
11343
11343
|
value: (function () {
|
11344
|
-
var _name = _asyncToGenerator(
|
11344
|
+
var _name = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
11345
11345
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
11346
11346
|
while (1) switch (_context10.prev = _context10.next) {
|
11347
11347
|
case 0:
|
@@ -11374,7 +11374,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11374
11374
|
}, {
|
11375
11375
|
key: "proxiableUuid",
|
11376
11376
|
value: (function () {
|
11377
|
-
var _proxiableUuid = _asyncToGenerator(
|
11377
|
+
var _proxiableUuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
11378
11378
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
11379
11379
|
while (1) switch (_context11.prev = _context11.next) {
|
11380
11380
|
case 0:
|
@@ -11407,7 +11407,7 @@ var CoreMetadataModuleReadOnlyClient = /*#__PURE__*/function (_CoreMetadataModul
|
|
11407
11407
|
}, {
|
11408
11408
|
key: "supportsInterface",
|
11409
11409
|
value: (function () {
|
11410
|
-
var _supportsInterface = _asyncToGenerator(
|
11410
|
+
var _supportsInterface = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(request) {
|
11411
11411
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
11412
11412
|
while (1) switch (_context12.prev = _context12.next) {
|
11413
11413
|
case 0:
|
@@ -11456,7 +11456,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11456
11456
|
return _createClass(CoreMetadataModuleClient, [{
|
11457
11457
|
key: "freezeMetadata",
|
11458
11458
|
value: (function () {
|
11459
|
-
var _freezeMetadata = _asyncToGenerator(
|
11459
|
+
var _freezeMetadata = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(request) {
|
11460
11460
|
var _yield$this$rpcClient4, call;
|
11461
11461
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
11462
11462
|
while (1) switch (_context13.prev = _context13.next) {
|
@@ -11516,7 +11516,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11516
11516
|
}, {
|
11517
11517
|
key: "initialize",
|
11518
11518
|
value: (function () {
|
11519
|
-
var _initialize = _asyncToGenerator(
|
11519
|
+
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(request) {
|
11520
11520
|
var _yield$this$rpcClient5, call;
|
11521
11521
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
11522
11522
|
while (1) switch (_context14.prev = _context14.next) {
|
@@ -11576,7 +11576,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11576
11576
|
}, {
|
11577
11577
|
key: "setAll",
|
11578
11578
|
value: (function () {
|
11579
|
-
var _setAll = _asyncToGenerator(
|
11579
|
+
var _setAll = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(request) {
|
11580
11580
|
var _yield$this$rpcClient6, call;
|
11581
11581
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
11582
11582
|
while (1) switch (_context15.prev = _context15.next) {
|
@@ -11636,7 +11636,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11636
11636
|
}, {
|
11637
11637
|
key: "setAuthority",
|
11638
11638
|
value: (function () {
|
11639
|
-
var _setAuthority = _asyncToGenerator(
|
11639
|
+
var _setAuthority = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee16(request) {
|
11640
11640
|
var _yield$this$rpcClient7, call;
|
11641
11641
|
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
11642
11642
|
while (1) switch (_context16.prev = _context16.next) {
|
@@ -11696,7 +11696,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11696
11696
|
}, {
|
11697
11697
|
key: "setMetadataUri",
|
11698
11698
|
value: (function () {
|
11699
|
-
var _setMetadataUri = _asyncToGenerator(
|
11699
|
+
var _setMetadataUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(request) {
|
11700
11700
|
var _yield$this$rpcClient8, call;
|
11701
11701
|
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
11702
11702
|
while (1) switch (_context17.prev = _context17.next) {
|
@@ -11756,7 +11756,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11756
11756
|
}, {
|
11757
11757
|
key: "updateNftTokenUri",
|
11758
11758
|
value: (function () {
|
11759
|
-
var _updateNftTokenUri = _asyncToGenerator(
|
11759
|
+
var _updateNftTokenUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(request) {
|
11760
11760
|
var _yield$this$rpcClient9, call;
|
11761
11761
|
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
11762
11762
|
while (1) switch (_context18.prev = _context18.next) {
|
@@ -11816,7 +11816,7 @@ var CoreMetadataModuleClient = /*#__PURE__*/function (_CoreMetadataModuleRe) {
|
|
11816
11816
|
}, {
|
11817
11817
|
key: "upgradeToAndCall",
|
11818
11818
|
value: (function () {
|
11819
|
-
var _upgradeToAndCall = _asyncToGenerator(
|
11819
|
+
var _upgradeToAndCall = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee19(request) {
|
11820
11820
|
var _yield$this$rpcClient10, call;
|
11821
11821
|
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
11822
11822
|
while (1) switch (_context19.prev = _context19.next) {
|
@@ -12110,7 +12110,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12110
12110
|
return _createClass(DisputeModuleClient, [{
|
12111
12111
|
key: "cancelDispute",
|
12112
12112
|
value: (function () {
|
12113
|
-
var _cancelDispute = _asyncToGenerator(
|
12113
|
+
var _cancelDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee20(request) {
|
12114
12114
|
var _yield$this$rpcClient11, call;
|
12115
12115
|
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
12116
12116
|
while (1) switch (_context20.prev = _context20.next) {
|
@@ -12170,7 +12170,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12170
12170
|
}, {
|
12171
12171
|
key: "raiseDispute",
|
12172
12172
|
value: (function () {
|
12173
|
-
var _raiseDispute = _asyncToGenerator(
|
12173
|
+
var _raiseDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21(request) {
|
12174
12174
|
var _yield$this$rpcClient12, call;
|
12175
12175
|
return _regeneratorRuntime().wrap(function _callee21$(_context21) {
|
12176
12176
|
while (1) switch (_context21.prev = _context21.next) {
|
@@ -12230,7 +12230,7 @@ var DisputeModuleClient = /*#__PURE__*/function (_DisputeModuleEventCl) {
|
|
12230
12230
|
}, {
|
12231
12231
|
key: "resolveDispute",
|
12232
12232
|
value: (function () {
|
12233
|
-
var _resolveDispute = _asyncToGenerator(
|
12233
|
+
var _resolveDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22(request) {
|
12234
12234
|
var _yield$this$rpcClient13, call;
|
12235
12235
|
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
12236
12236
|
while (1) switch (_context22.prev = _context22.next) {
|
@@ -12339,7 +12339,7 @@ var IpAccountImplReadOnlyClient = /*#__PURE__*/function () {
|
|
12339
12339
|
return _createClass(IpAccountImplReadOnlyClient, [{
|
12340
12340
|
key: "state",
|
12341
12341
|
value: (function () {
|
12342
|
-
var _state = _asyncToGenerator(
|
12342
|
+
var _state = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
|
12343
12343
|
var result;
|
12344
12344
|
return _regeneratorRuntime().wrap(function _callee23$(_context23) {
|
12345
12345
|
while (1) switch (_context23.prev = _context23.next) {
|
@@ -12391,7 +12391,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12391
12391
|
return _createClass(IpAccountImplClient, [{
|
12392
12392
|
key: "execute",
|
12393
12393
|
value: (function () {
|
12394
|
-
var _execute = _asyncToGenerator(
|
12394
|
+
var _execute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee24(request) {
|
12395
12395
|
var _yield$this$rpcClient14, call;
|
12396
12396
|
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
12397
12397
|
while (1) switch (_context24.prev = _context24.next) {
|
@@ -12451,7 +12451,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12451
12451
|
}, {
|
12452
12452
|
key: "execute2",
|
12453
12453
|
value: (function () {
|
12454
|
-
var _execute2 = _asyncToGenerator(
|
12454
|
+
var _execute2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee25(request) {
|
12455
12455
|
var _yield$this$rpcClient15, call;
|
12456
12456
|
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
12457
12457
|
while (1) switch (_context25.prev = _context25.next) {
|
@@ -12511,7 +12511,7 @@ var IpAccountImplClient = /*#__PURE__*/function (_IpAccountImplReadOnl) {
|
|
12511
12511
|
}, {
|
12512
12512
|
key: "executeWithSig",
|
12513
12513
|
value: (function () {
|
12514
|
-
var _executeWithSig = _asyncToGenerator(
|
12514
|
+
var _executeWithSig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee26(request) {
|
12515
12515
|
var _yield$this$rpcClient16, call;
|
12516
12516
|
return _regeneratorRuntime().wrap(function _callee26$(_context26) {
|
12517
12517
|
while (1) switch (_context26.prev = _context26.next) {
|
@@ -12746,7 +12746,7 @@ var IpAssetRegistryReadOnlyClient = /*#__PURE__*/function (_IpAssetRegistryEvent
|
|
12746
12746
|
return _createClass(IpAssetRegistryReadOnlyClient, [{
|
12747
12747
|
key: "ipId",
|
12748
12748
|
value: (function () {
|
12749
|
-
var _ipId = _asyncToGenerator(
|
12749
|
+
var _ipId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee27(request) {
|
12750
12750
|
return _regeneratorRuntime().wrap(function _callee27$(_context27) {
|
12751
12751
|
while (1) switch (_context27.prev = _context27.next) {
|
12752
12752
|
case 0:
|
@@ -12780,7 +12780,7 @@ var IpAssetRegistryReadOnlyClient = /*#__PURE__*/function (_IpAssetRegistryEvent
|
|
12780
12780
|
}, {
|
12781
12781
|
key: "isRegistered",
|
12782
12782
|
value: (function () {
|
12783
|
-
var _isRegistered = _asyncToGenerator(
|
12783
|
+
var _isRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee28(request) {
|
12784
12784
|
return _regeneratorRuntime().wrap(function _callee28$(_context28) {
|
12785
12785
|
while (1) switch (_context28.prev = _context28.next) {
|
12786
12786
|
case 0:
|
@@ -12829,7 +12829,7 @@ var IpAssetRegistryClient = /*#__PURE__*/function (_IpAssetRegistryReadO) {
|
|
12829
12829
|
return _createClass(IpAssetRegistryClient, [{
|
12830
12830
|
key: "register",
|
12831
12831
|
value: (function () {
|
12832
|
-
var _register = _asyncToGenerator(
|
12832
|
+
var _register = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee29(request) {
|
12833
12833
|
var _yield$this$rpcClient17, call;
|
12834
12834
|
return _regeneratorRuntime().wrap(function _callee29$(_context29) {
|
12835
12835
|
while (1) switch (_context29.prev = _context29.next) {
|
@@ -13123,7 +13123,7 @@ var IpRoyaltyVaultImplReadOnlyClient = /*#__PURE__*/function (_IpRoyaltyVaultImp
|
|
13123
13123
|
return _createClass(IpRoyaltyVaultImplReadOnlyClient, [{
|
13124
13124
|
key: "claimableRevenue",
|
13125
13125
|
value: (function () {
|
13126
|
-
var _claimableRevenue = _asyncToGenerator(
|
13126
|
+
var _claimableRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee30(request) {
|
13127
13127
|
return _regeneratorRuntime().wrap(function _callee30$(_context30) {
|
13128
13128
|
while (1) switch (_context30.prev = _context30.next) {
|
13129
13129
|
case 0:
|
@@ -13157,7 +13157,7 @@ var IpRoyaltyVaultImplReadOnlyClient = /*#__PURE__*/function (_IpRoyaltyVaultImp
|
|
13157
13157
|
}, {
|
13158
13158
|
key: "ipId",
|
13159
13159
|
value: (function () {
|
13160
|
-
var _ipId2 = _asyncToGenerator(
|
13160
|
+
var _ipId2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee31() {
|
13161
13161
|
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
13162
13162
|
while (1) switch (_context31.prev = _context31.next) {
|
13163
13163
|
case 0:
|
@@ -13205,7 +13205,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13205
13205
|
return _createClass(IpRoyaltyVaultImplClient, [{
|
13206
13206
|
key: "claimRevenueBySnapshotBatch",
|
13207
13207
|
value: (function () {
|
13208
|
-
var _claimRevenueBySnapshotBatch = _asyncToGenerator(
|
13208
|
+
var _claimRevenueBySnapshotBatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee32(request) {
|
13209
13209
|
var _yield$this$rpcClient18, call;
|
13210
13210
|
return _regeneratorRuntime().wrap(function _callee32$(_context32) {
|
13211
13211
|
while (1) switch (_context32.prev = _context32.next) {
|
@@ -13265,7 +13265,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13265
13265
|
}, {
|
13266
13266
|
key: "claimRevenueByTokenBatch",
|
13267
13267
|
value: (function () {
|
13268
|
-
var _claimRevenueByTokenBatch = _asyncToGenerator(
|
13268
|
+
var _claimRevenueByTokenBatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee33(request) {
|
13269
13269
|
var _yield$this$rpcClient19, call;
|
13270
13270
|
return _regeneratorRuntime().wrap(function _callee33$(_context33) {
|
13271
13271
|
while (1) switch (_context33.prev = _context33.next) {
|
@@ -13325,7 +13325,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13325
13325
|
}, {
|
13326
13326
|
key: "collectRoyaltyTokens",
|
13327
13327
|
value: (function () {
|
13328
|
-
var _collectRoyaltyTokens = _asyncToGenerator(
|
13328
|
+
var _collectRoyaltyTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee34(request) {
|
13329
13329
|
var _yield$this$rpcClient20, call;
|
13330
13330
|
return _regeneratorRuntime().wrap(function _callee34$(_context34) {
|
13331
13331
|
while (1) switch (_context34.prev = _context34.next) {
|
@@ -13385,7 +13385,7 @@ var IpRoyaltyVaultImplClient = /*#__PURE__*/function (_IpRoyaltyVaultImplRe) {
|
|
13385
13385
|
}, {
|
13386
13386
|
key: "snapshot",
|
13387
13387
|
value: (function () {
|
13388
|
-
var _snapshot = _asyncToGenerator(
|
13388
|
+
var _snapshot = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee35() {
|
13389
13389
|
var _yield$this$rpcClient21, call;
|
13390
13390
|
return _regeneratorRuntime().wrap(function _callee35$(_context35) {
|
13391
13391
|
while (1) switch (_context35.prev = _context35.next) {
|
@@ -14139,7 +14139,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14139
14139
|
return _createClass(LicenseRegistryReadOnlyClient, [{
|
14140
14140
|
key: "disputeModule",
|
14141
14141
|
value: (function () {
|
14142
|
-
var _disputeModule = _asyncToGenerator(
|
14142
|
+
var _disputeModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee36() {
|
14143
14143
|
return _regeneratorRuntime().wrap(function _callee36$(_context36) {
|
14144
14144
|
while (1) switch (_context36.prev = _context36.next) {
|
14145
14145
|
case 0:
|
@@ -14172,7 +14172,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14172
14172
|
}, {
|
14173
14173
|
key: "expirationTime",
|
14174
14174
|
value: (function () {
|
14175
|
-
var _expirationTime = _asyncToGenerator(
|
14175
|
+
var _expirationTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee37() {
|
14176
14176
|
return _regeneratorRuntime().wrap(function _callee37$(_context37) {
|
14177
14177
|
while (1) switch (_context37.prev = _context37.next) {
|
14178
14178
|
case 0:
|
@@ -14205,7 +14205,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14205
14205
|
}, {
|
14206
14206
|
key: "ipGraphContract",
|
14207
14207
|
value: (function () {
|
14208
|
-
var _ipGraphContract = _asyncToGenerator(
|
14208
|
+
var _ipGraphContract = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee38() {
|
14209
14209
|
return _regeneratorRuntime().wrap(function _callee38$(_context38) {
|
14210
14210
|
while (1) switch (_context38.prev = _context38.next) {
|
14211
14211
|
case 0:
|
@@ -14238,7 +14238,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14238
14238
|
}, {
|
14239
14239
|
key: "licensingModule",
|
14240
14240
|
value: (function () {
|
14241
|
-
var _licensingModule = _asyncToGenerator(
|
14241
|
+
var _licensingModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee39() {
|
14242
14242
|
return _regeneratorRuntime().wrap(function _callee39$(_context39) {
|
14243
14243
|
while (1) switch (_context39.prev = _context39.next) {
|
14244
14244
|
case 0:
|
@@ -14271,7 +14271,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14271
14271
|
}, {
|
14272
14272
|
key: "upgradeInterfaceVersion",
|
14273
14273
|
value: (function () {
|
14274
|
-
var _upgradeInterfaceVersion2 = _asyncToGenerator(
|
14274
|
+
var _upgradeInterfaceVersion2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee40() {
|
14275
14275
|
return _regeneratorRuntime().wrap(function _callee40$(_context40) {
|
14276
14276
|
while (1) switch (_context40.prev = _context40.next) {
|
14277
14277
|
case 0:
|
@@ -14304,7 +14304,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14304
14304
|
}, {
|
14305
14305
|
key: "authority",
|
14306
14306
|
value: (function () {
|
14307
|
-
var _authority2 = _asyncToGenerator(
|
14307
|
+
var _authority2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee41() {
|
14308
14308
|
return _regeneratorRuntime().wrap(function _callee41$(_context41) {
|
14309
14309
|
while (1) switch (_context41.prev = _context41.next) {
|
14310
14310
|
case 0:
|
@@ -14337,7 +14337,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14337
14337
|
}, {
|
14338
14338
|
key: "exists",
|
14339
14339
|
value: (function () {
|
14340
|
-
var _exists = _asyncToGenerator(
|
14340
|
+
var _exists = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee42(request) {
|
14341
14341
|
return _regeneratorRuntime().wrap(function _callee42$(_context42) {
|
14342
14342
|
while (1) switch (_context42.prev = _context42.next) {
|
14343
14343
|
case 0:
|
@@ -14371,7 +14371,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14371
14371
|
}, {
|
14372
14372
|
key: "getAttachedLicenseTerms",
|
14373
14373
|
value: (function () {
|
14374
|
-
var _getAttachedLicenseTerms = _asyncToGenerator(
|
14374
|
+
var _getAttachedLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee43(request) {
|
14375
14375
|
var result;
|
14376
14376
|
return _regeneratorRuntime().wrap(function _callee43$(_context43) {
|
14377
14377
|
while (1) switch (_context43.prev = _context43.next) {
|
@@ -14410,7 +14410,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14410
14410
|
}, {
|
14411
14411
|
key: "getAttachedLicenseTermsCount",
|
14412
14412
|
value: (function () {
|
14413
|
-
var _getAttachedLicenseTermsCount = _asyncToGenerator(
|
14413
|
+
var _getAttachedLicenseTermsCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee44(request) {
|
14414
14414
|
return _regeneratorRuntime().wrap(function _callee44$(_context44) {
|
14415
14415
|
while (1) switch (_context44.prev = _context44.next) {
|
14416
14416
|
case 0:
|
@@ -14444,7 +14444,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14444
14444
|
}, {
|
14445
14445
|
key: "getDefaultLicenseTerms",
|
14446
14446
|
value: (function () {
|
14447
|
-
var _getDefaultLicenseTerms = _asyncToGenerator(
|
14447
|
+
var _getDefaultLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee45() {
|
14448
14448
|
var result;
|
14449
14449
|
return _regeneratorRuntime().wrap(function _callee45$(_context45) {
|
14450
14450
|
while (1) switch (_context45.prev = _context45.next) {
|
@@ -14482,7 +14482,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14482
14482
|
}, {
|
14483
14483
|
key: "getDerivativeIp",
|
14484
14484
|
value: (function () {
|
14485
|
-
var _getDerivativeIp = _asyncToGenerator(
|
14485
|
+
var _getDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee46(request) {
|
14486
14486
|
var result;
|
14487
14487
|
return _regeneratorRuntime().wrap(function _callee46$(_context46) {
|
14488
14488
|
while (1) switch (_context46.prev = _context46.next) {
|
@@ -14520,7 +14520,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14520
14520
|
}, {
|
14521
14521
|
key: "getDerivativeIpCount",
|
14522
14522
|
value: (function () {
|
14523
|
-
var _getDerivativeIpCount = _asyncToGenerator(
|
14523
|
+
var _getDerivativeIpCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee47(request) {
|
14524
14524
|
return _regeneratorRuntime().wrap(function _callee47$(_context47) {
|
14525
14525
|
while (1) switch (_context47.prev = _context47.next) {
|
14526
14526
|
case 0:
|
@@ -14554,7 +14554,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14554
14554
|
}, {
|
14555
14555
|
key: "getExpireTime",
|
14556
14556
|
value: (function () {
|
14557
|
-
var _getExpireTime = _asyncToGenerator(
|
14557
|
+
var _getExpireTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee48(request) {
|
14558
14558
|
return _regeneratorRuntime().wrap(function _callee48$(_context48) {
|
14559
14559
|
while (1) switch (_context48.prev = _context48.next) {
|
14560
14560
|
case 0:
|
@@ -14588,7 +14588,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14588
14588
|
}, {
|
14589
14589
|
key: "getLicensingConfig",
|
14590
14590
|
value: (function () {
|
14591
|
-
var _getLicensingConfig = _asyncToGenerator(
|
14591
|
+
var _getLicensingConfig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee49(request) {
|
14592
14592
|
return _regeneratorRuntime().wrap(function _callee49$(_context49) {
|
14593
14593
|
while (1) switch (_context49.prev = _context49.next) {
|
14594
14594
|
case 0:
|
@@ -14622,7 +14622,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14622
14622
|
}, {
|
14623
14623
|
key: "getParentIp",
|
14624
14624
|
value: (function () {
|
14625
|
-
var _getParentIp = _asyncToGenerator(
|
14625
|
+
var _getParentIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee50(request) {
|
14626
14626
|
var result;
|
14627
14627
|
return _regeneratorRuntime().wrap(function _callee50$(_context50) {
|
14628
14628
|
while (1) switch (_context50.prev = _context50.next) {
|
@@ -14660,7 +14660,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14660
14660
|
}, {
|
14661
14661
|
key: "getParentIpCount",
|
14662
14662
|
value: (function () {
|
14663
|
-
var _getParentIpCount = _asyncToGenerator(
|
14663
|
+
var _getParentIpCount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee51(request) {
|
14664
14664
|
return _regeneratorRuntime().wrap(function _callee51$(_context51) {
|
14665
14665
|
while (1) switch (_context51.prev = _context51.next) {
|
14666
14666
|
case 0:
|
@@ -14694,7 +14694,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14694
14694
|
}, {
|
14695
14695
|
key: "hasDerivativeIps",
|
14696
14696
|
value: (function () {
|
14697
|
-
var _hasDerivativeIps = _asyncToGenerator(
|
14697
|
+
var _hasDerivativeIps = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee52(request) {
|
14698
14698
|
return _regeneratorRuntime().wrap(function _callee52$(_context52) {
|
14699
14699
|
while (1) switch (_context52.prev = _context52.next) {
|
14700
14700
|
case 0:
|
@@ -14728,7 +14728,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14728
14728
|
}, {
|
14729
14729
|
key: "hasIpAttachedLicenseTerms",
|
14730
14730
|
value: (function () {
|
14731
|
-
var _hasIpAttachedLicenseTerms = _asyncToGenerator(
|
14731
|
+
var _hasIpAttachedLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee53(request) {
|
14732
14732
|
return _regeneratorRuntime().wrap(function _callee53$(_context53) {
|
14733
14733
|
while (1) switch (_context53.prev = _context53.next) {
|
14734
14734
|
case 0:
|
@@ -14762,7 +14762,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14762
14762
|
}, {
|
14763
14763
|
key: "isConsumingScheduledOp",
|
14764
14764
|
value: (function () {
|
14765
|
-
var _isConsumingScheduledOp2 = _asyncToGenerator(
|
14765
|
+
var _isConsumingScheduledOp2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee54() {
|
14766
14766
|
return _regeneratorRuntime().wrap(function _callee54$(_context54) {
|
14767
14767
|
while (1) switch (_context54.prev = _context54.next) {
|
14768
14768
|
case 0:
|
@@ -14795,7 +14795,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14795
14795
|
}, {
|
14796
14796
|
key: "isDerivativeIp",
|
14797
14797
|
value: (function () {
|
14798
|
-
var _isDerivativeIp = _asyncToGenerator(
|
14798
|
+
var _isDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee55(request) {
|
14799
14799
|
return _regeneratorRuntime().wrap(function _callee55$(_context55) {
|
14800
14800
|
while (1) switch (_context55.prev = _context55.next) {
|
14801
14801
|
case 0:
|
@@ -14829,7 +14829,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14829
14829
|
}, {
|
14830
14830
|
key: "isExpiredNow",
|
14831
14831
|
value: (function () {
|
14832
|
-
var _isExpiredNow = _asyncToGenerator(
|
14832
|
+
var _isExpiredNow = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee56(request) {
|
14833
14833
|
return _regeneratorRuntime().wrap(function _callee56$(_context56) {
|
14834
14834
|
while (1) switch (_context56.prev = _context56.next) {
|
14835
14835
|
case 0:
|
@@ -14863,7 +14863,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14863
14863
|
}, {
|
14864
14864
|
key: "isParentIp",
|
14865
14865
|
value: (function () {
|
14866
|
-
var _isParentIp = _asyncToGenerator(
|
14866
|
+
var _isParentIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee57(request) {
|
14867
14867
|
return _regeneratorRuntime().wrap(function _callee57$(_context57) {
|
14868
14868
|
while (1) switch (_context57.prev = _context57.next) {
|
14869
14869
|
case 0:
|
@@ -14897,7 +14897,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14897
14897
|
}, {
|
14898
14898
|
key: "isRegisteredLicenseTemplate",
|
14899
14899
|
value: (function () {
|
14900
|
-
var _isRegisteredLicenseTemplate = _asyncToGenerator(
|
14900
|
+
var _isRegisteredLicenseTemplate = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee58(request) {
|
14901
14901
|
return _regeneratorRuntime().wrap(function _callee58$(_context58) {
|
14902
14902
|
while (1) switch (_context58.prev = _context58.next) {
|
14903
14903
|
case 0:
|
@@ -14931,7 +14931,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14931
14931
|
}, {
|
14932
14932
|
key: "proxiableUuid",
|
14933
14933
|
value: (function () {
|
14934
|
-
var _proxiableUuid2 = _asyncToGenerator(
|
14934
|
+
var _proxiableUuid2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee59() {
|
14935
14935
|
return _regeneratorRuntime().wrap(function _callee59$(_context59) {
|
14936
14936
|
while (1) switch (_context59.prev = _context59.next) {
|
14937
14937
|
case 0:
|
@@ -14964,7 +14964,7 @@ var LicenseRegistryReadOnlyClient = /*#__PURE__*/function (_LicenseRegistryEvent
|
|
14964
14964
|
}, {
|
14965
14965
|
key: "verifyMintLicenseToken",
|
14966
14966
|
value: (function () {
|
14967
|
-
var _verifyMintLicenseToken = _asyncToGenerator(
|
14967
|
+
var _verifyMintLicenseToken = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee60(request) {
|
14968
14968
|
return _regeneratorRuntime().wrap(function _callee60$(_context60) {
|
14969
14969
|
while (1) switch (_context60.prev = _context60.next) {
|
14970
14970
|
case 0:
|
@@ -15019,7 +15019,7 @@ var LicenseTokenReadOnlyClient = /*#__PURE__*/function () {
|
|
15019
15019
|
return _createClass(LicenseTokenReadOnlyClient, [{
|
15020
15020
|
key: "ownerOf",
|
15021
15021
|
value: (function () {
|
15022
|
-
var _ownerOf = _asyncToGenerator(
|
15022
|
+
var _ownerOf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee70(request) {
|
15023
15023
|
return _regeneratorRuntime().wrap(function _callee70$(_context70) {
|
15024
15024
|
while (1) switch (_context70.prev = _context70.next) {
|
15025
15025
|
case 0:
|
@@ -15245,7 +15245,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15245
15245
|
return _createClass(LicensingModuleClient, [{
|
15246
15246
|
key: "attachLicenseTerms",
|
15247
15247
|
value: (function () {
|
15248
|
-
var _attachLicenseTerms = _asyncToGenerator(
|
15248
|
+
var _attachLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee71(request) {
|
15249
15249
|
var _yield$this$rpcClient31, call;
|
15250
15250
|
return _regeneratorRuntime().wrap(function _callee71$(_context71) {
|
15251
15251
|
while (1) switch (_context71.prev = _context71.next) {
|
@@ -15305,7 +15305,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15305
15305
|
}, {
|
15306
15306
|
key: "mintLicenseTokens",
|
15307
15307
|
value: (function () {
|
15308
|
-
var _mintLicenseTokens = _asyncToGenerator(
|
15308
|
+
var _mintLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee72(request) {
|
15309
15309
|
var _yield$this$rpcClient32, call;
|
15310
15310
|
return _regeneratorRuntime().wrap(function _callee72$(_context72) {
|
15311
15311
|
while (1) switch (_context72.prev = _context72.next) {
|
@@ -15365,7 +15365,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15365
15365
|
}, {
|
15366
15366
|
key: "registerDerivative",
|
15367
15367
|
value: (function () {
|
15368
|
-
var _registerDerivative = _asyncToGenerator(
|
15368
|
+
var _registerDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee73(request) {
|
15369
15369
|
var _yield$this$rpcClient33, call;
|
15370
15370
|
return _regeneratorRuntime().wrap(function _callee73$(_context73) {
|
15371
15371
|
while (1) switch (_context73.prev = _context73.next) {
|
@@ -15425,7 +15425,7 @@ var LicensingModuleClient = /*#__PURE__*/function (_LicensingModuleEvent) {
|
|
15425
15425
|
}, {
|
15426
15426
|
key: "registerDerivativeWithLicenseTokens",
|
15427
15427
|
value: (function () {
|
15428
|
-
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(
|
15428
|
+
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee74(request) {
|
15429
15429
|
var _yield$this$rpcClient34, call;
|
15430
15430
|
return _regeneratorRuntime().wrap(function _callee74$(_context74) {
|
15431
15431
|
while (1) switch (_context74.prev = _context74.next) {
|
@@ -15967,7 +15967,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
15967
15967
|
return _createClass(PiLicenseTemplateReadOnlyClient, [{
|
15968
15968
|
key: "accessController",
|
15969
15969
|
value: (function () {
|
15970
|
-
var _accessController2 = _asyncToGenerator(
|
15970
|
+
var _accessController2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee76() {
|
15971
15971
|
return _regeneratorRuntime().wrap(function _callee76$(_context76) {
|
15972
15972
|
while (1) switch (_context76.prev = _context76.next) {
|
15973
15973
|
case 0:
|
@@ -16000,7 +16000,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16000
16000
|
}, {
|
16001
16001
|
key: "ipAccountRegistry",
|
16002
16002
|
value: (function () {
|
16003
|
-
var _ipAccountRegistry2 = _asyncToGenerator(
|
16003
|
+
var _ipAccountRegistry2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee77() {
|
16004
16004
|
return _regeneratorRuntime().wrap(function _callee77$(_context77) {
|
16005
16005
|
while (1) switch (_context77.prev = _context77.next) {
|
16006
16006
|
case 0:
|
@@ -16033,7 +16033,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16033
16033
|
}, {
|
16034
16034
|
key: "licenseRegistry",
|
16035
16035
|
value: (function () {
|
16036
|
-
var _licenseRegistry = _asyncToGenerator(
|
16036
|
+
var _licenseRegistry = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee78() {
|
16037
16037
|
return _regeneratorRuntime().wrap(function _callee78$(_context78) {
|
16038
16038
|
while (1) switch (_context78.prev = _context78.next) {
|
16039
16039
|
case 0:
|
@@ -16066,7 +16066,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16066
16066
|
}, {
|
16067
16067
|
key: "royaltyModule",
|
16068
16068
|
value: (function () {
|
16069
|
-
var _royaltyModule = _asyncToGenerator(
|
16069
|
+
var _royaltyModule = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee79() {
|
16070
16070
|
return _regeneratorRuntime().wrap(function _callee79$(_context79) {
|
16071
16071
|
while (1) switch (_context79.prev = _context79.next) {
|
16072
16072
|
case 0:
|
@@ -16099,7 +16099,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16099
16099
|
}, {
|
16100
16100
|
key: "termsRenderer",
|
16101
16101
|
value: (function () {
|
16102
|
-
var _termsRenderer = _asyncToGenerator(
|
16102
|
+
var _termsRenderer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee80() {
|
16103
16103
|
return _regeneratorRuntime().wrap(function _callee80$(_context80) {
|
16104
16104
|
while (1) switch (_context80.prev = _context80.next) {
|
16105
16105
|
case 0:
|
@@ -16132,7 +16132,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16132
16132
|
}, {
|
16133
16133
|
key: "upgradeInterfaceVersion",
|
16134
16134
|
value: (function () {
|
16135
|
-
var _upgradeInterfaceVersion3 = _asyncToGenerator(
|
16135
|
+
var _upgradeInterfaceVersion3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee81() {
|
16136
16136
|
return _regeneratorRuntime().wrap(function _callee81$(_context81) {
|
16137
16137
|
while (1) switch (_context81.prev = _context81.next) {
|
16138
16138
|
case 0:
|
@@ -16165,7 +16165,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16165
16165
|
}, {
|
16166
16166
|
key: "authority",
|
16167
16167
|
value: (function () {
|
16168
|
-
var _authority3 = _asyncToGenerator(
|
16168
|
+
var _authority3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee82() {
|
16169
16169
|
return _regeneratorRuntime().wrap(function _callee82$(_context82) {
|
16170
16170
|
while (1) switch (_context82.prev = _context82.next) {
|
16171
16171
|
case 0:
|
@@ -16198,7 +16198,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16198
16198
|
}, {
|
16199
16199
|
key: "exists",
|
16200
16200
|
value: (function () {
|
16201
|
-
var _exists2 = _asyncToGenerator(
|
16201
|
+
var _exists2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee83(request) {
|
16202
16202
|
return _regeneratorRuntime().wrap(function _callee83$(_context83) {
|
16203
16203
|
while (1) switch (_context83.prev = _context83.next) {
|
16204
16204
|
case 0:
|
@@ -16232,7 +16232,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16232
16232
|
}, {
|
16233
16233
|
key: "getEarlierExpireTime",
|
16234
16234
|
value: (function () {
|
16235
|
-
var _getEarlierExpireTime = _asyncToGenerator(
|
16235
|
+
var _getEarlierExpireTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee84(request) {
|
16236
16236
|
return _regeneratorRuntime().wrap(function _callee84$(_context84) {
|
16237
16237
|
while (1) switch (_context84.prev = _context84.next) {
|
16238
16238
|
case 0:
|
@@ -16266,7 +16266,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16266
16266
|
}, {
|
16267
16267
|
key: "getExpireTime",
|
16268
16268
|
value: (function () {
|
16269
|
-
var _getExpireTime2 = _asyncToGenerator(
|
16269
|
+
var _getExpireTime2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee85(request) {
|
16270
16270
|
return _regeneratorRuntime().wrap(function _callee85$(_context85) {
|
16271
16271
|
while (1) switch (_context85.prev = _context85.next) {
|
16272
16272
|
case 0:
|
@@ -16300,7 +16300,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16300
16300
|
}, {
|
16301
16301
|
key: "getLicenseTerms",
|
16302
16302
|
value: (function () {
|
16303
|
-
var _getLicenseTerms = _asyncToGenerator(
|
16303
|
+
var _getLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee86(request) {
|
16304
16304
|
var result;
|
16305
16305
|
return _regeneratorRuntime().wrap(function _callee86$(_context86) {
|
16306
16306
|
while (1) switch (_context86.prev = _context86.next) {
|
@@ -16338,7 +16338,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16338
16338
|
}, {
|
16339
16339
|
key: "getLicenseTermsId",
|
16340
16340
|
value: (function () {
|
16341
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
16341
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee87(request) {
|
16342
16342
|
var result;
|
16343
16343
|
return _regeneratorRuntime().wrap(function _callee87$(_context87) {
|
16344
16344
|
while (1) switch (_context87.prev = _context87.next) {
|
@@ -16376,7 +16376,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16376
16376
|
}, {
|
16377
16377
|
key: "getLicenseTermsUri",
|
16378
16378
|
value: (function () {
|
16379
|
-
var _getLicenseTermsUri = _asyncToGenerator(
|
16379
|
+
var _getLicenseTermsUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee88(request) {
|
16380
16380
|
return _regeneratorRuntime().wrap(function _callee88$(_context88) {
|
16381
16381
|
while (1) switch (_context88.prev = _context88.next) {
|
16382
16382
|
case 0:
|
@@ -16410,7 +16410,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16410
16410
|
}, {
|
16411
16411
|
key: "getMetadataUri",
|
16412
16412
|
value: (function () {
|
16413
|
-
var _getMetadataUri = _asyncToGenerator(
|
16413
|
+
var _getMetadataUri = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee89() {
|
16414
16414
|
return _regeneratorRuntime().wrap(function _callee89$(_context89) {
|
16415
16415
|
while (1) switch (_context89.prev = _context89.next) {
|
16416
16416
|
case 0:
|
@@ -16443,7 +16443,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16443
16443
|
}, {
|
16444
16444
|
key: "getRoyaltyPolicy",
|
16445
16445
|
value: (function () {
|
16446
|
-
var _getRoyaltyPolicy = _asyncToGenerator(
|
16446
|
+
var _getRoyaltyPolicy = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee90(request) {
|
16447
16447
|
var result;
|
16448
16448
|
return _regeneratorRuntime().wrap(function _callee90$(_context90) {
|
16449
16449
|
while (1) switch (_context90.prev = _context90.next) {
|
@@ -16484,7 +16484,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16484
16484
|
}, {
|
16485
16485
|
key: "isConsumingScheduledOp",
|
16486
16486
|
value: (function () {
|
16487
|
-
var _isConsumingScheduledOp3 = _asyncToGenerator(
|
16487
|
+
var _isConsumingScheduledOp3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee91() {
|
16488
16488
|
return _regeneratorRuntime().wrap(function _callee91$(_context91) {
|
16489
16489
|
while (1) switch (_context91.prev = _context91.next) {
|
16490
16490
|
case 0:
|
@@ -16517,7 +16517,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16517
16517
|
}, {
|
16518
16518
|
key: "isDerivativeApproved",
|
16519
16519
|
value: (function () {
|
16520
|
-
var _isDerivativeApproved = _asyncToGenerator(
|
16520
|
+
var _isDerivativeApproved = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee92(request) {
|
16521
16521
|
return _regeneratorRuntime().wrap(function _callee92$(_context92) {
|
16522
16522
|
while (1) switch (_context92.prev = _context92.next) {
|
16523
16523
|
case 0:
|
@@ -16551,7 +16551,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16551
16551
|
}, {
|
16552
16552
|
key: "isLicenseTransferable",
|
16553
16553
|
value: (function () {
|
16554
|
-
var _isLicenseTransferable = _asyncToGenerator(
|
16554
|
+
var _isLicenseTransferable = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee93(request) {
|
16555
16555
|
return _regeneratorRuntime().wrap(function _callee93$(_context93) {
|
16556
16556
|
while (1) switch (_context93.prev = _context93.next) {
|
16557
16557
|
case 0:
|
@@ -16585,7 +16585,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16585
16585
|
}, {
|
16586
16586
|
key: "name",
|
16587
16587
|
value: (function () {
|
16588
|
-
var _name2 = _asyncToGenerator(
|
16588
|
+
var _name2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee94() {
|
16589
16589
|
return _regeneratorRuntime().wrap(function _callee94$(_context94) {
|
16590
16590
|
while (1) switch (_context94.prev = _context94.next) {
|
16591
16591
|
case 0:
|
@@ -16618,7 +16618,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16618
16618
|
}, {
|
16619
16619
|
key: "proxiableUuid",
|
16620
16620
|
value: (function () {
|
16621
|
-
var _proxiableUuid3 = _asyncToGenerator(
|
16621
|
+
var _proxiableUuid3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee95() {
|
16622
16622
|
return _regeneratorRuntime().wrap(function _callee95$(_context95) {
|
16623
16623
|
while (1) switch (_context95.prev = _context95.next) {
|
16624
16624
|
case 0:
|
@@ -16651,7 +16651,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16651
16651
|
}, {
|
16652
16652
|
key: "supportsInterface",
|
16653
16653
|
value: (function () {
|
16654
|
-
var _supportsInterface2 = _asyncToGenerator(
|
16654
|
+
var _supportsInterface2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee96(request) {
|
16655
16655
|
return _regeneratorRuntime().wrap(function _callee96$(_context96) {
|
16656
16656
|
while (1) switch (_context96.prev = _context96.next) {
|
16657
16657
|
case 0:
|
@@ -16685,7 +16685,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16685
16685
|
}, {
|
16686
16686
|
key: "toJson",
|
16687
16687
|
value: (function () {
|
16688
|
-
var _toJson = _asyncToGenerator(
|
16688
|
+
var _toJson = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee97(request) {
|
16689
16689
|
return _regeneratorRuntime().wrap(function _callee97$(_context97) {
|
16690
16690
|
while (1) switch (_context97.prev = _context97.next) {
|
16691
16691
|
case 0:
|
@@ -16719,7 +16719,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16719
16719
|
}, {
|
16720
16720
|
key: "totalRegisteredLicenseTerms",
|
16721
16721
|
value: (function () {
|
16722
|
-
var _totalRegisteredLicenseTerms = _asyncToGenerator(
|
16722
|
+
var _totalRegisteredLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee98() {
|
16723
16723
|
return _regeneratorRuntime().wrap(function _callee98$(_context98) {
|
16724
16724
|
while (1) switch (_context98.prev = _context98.next) {
|
16725
16725
|
case 0:
|
@@ -16752,7 +16752,7 @@ var PiLicenseTemplateReadOnlyClient = /*#__PURE__*/function (_PiLicenseTemplateE
|
|
16752
16752
|
}, {
|
16753
16753
|
key: "verifyCompatibleLicenses",
|
16754
16754
|
value: (function () {
|
16755
|
-
var _verifyCompatibleLicenses = _asyncToGenerator(
|
16755
|
+
var _verifyCompatibleLicenses = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee99(request) {
|
16756
16756
|
return _regeneratorRuntime().wrap(function _callee99$(_context99) {
|
16757
16757
|
while (1) switch (_context99.prev = _context99.next) {
|
16758
16758
|
case 0:
|
@@ -16801,7 +16801,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16801
16801
|
return _createClass(PiLicenseTemplateClient, [{
|
16802
16802
|
key: "initialize",
|
16803
16803
|
value: (function () {
|
16804
|
-
var _initialize3 = _asyncToGenerator(
|
16804
|
+
var _initialize3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee100(request) {
|
16805
16805
|
var _yield$this$rpcClient35, call;
|
16806
16806
|
return _regeneratorRuntime().wrap(function _callee100$(_context100) {
|
16807
16807
|
while (1) switch (_context100.prev = _context100.next) {
|
@@ -16861,7 +16861,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16861
16861
|
}, {
|
16862
16862
|
key: "registerLicenseTerms",
|
16863
16863
|
value: (function () {
|
16864
|
-
var _registerLicenseTerms = _asyncToGenerator(
|
16864
|
+
var _registerLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee101(request) {
|
16865
16865
|
var _yield$this$rpcClient36, call;
|
16866
16866
|
return _regeneratorRuntime().wrap(function _callee101$(_context101) {
|
16867
16867
|
while (1) switch (_context101.prev = _context101.next) {
|
@@ -16921,7 +16921,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16921
16921
|
}, {
|
16922
16922
|
key: "setApproval",
|
16923
16923
|
value: (function () {
|
16924
|
-
var _setApproval = _asyncToGenerator(
|
16924
|
+
var _setApproval = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee102(request) {
|
16925
16925
|
var _yield$this$rpcClient37, call;
|
16926
16926
|
return _regeneratorRuntime().wrap(function _callee102$(_context102) {
|
16927
16927
|
while (1) switch (_context102.prev = _context102.next) {
|
@@ -16981,7 +16981,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
16981
16981
|
}, {
|
16982
16982
|
key: "setAuthority",
|
16983
16983
|
value: (function () {
|
16984
|
-
var _setAuthority3 = _asyncToGenerator(
|
16984
|
+
var _setAuthority3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee103(request) {
|
16985
16985
|
var _yield$this$rpcClient38, call;
|
16986
16986
|
return _regeneratorRuntime().wrap(function _callee103$(_context103) {
|
16987
16987
|
while (1) switch (_context103.prev = _context103.next) {
|
@@ -17041,7 +17041,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17041
17041
|
}, {
|
17042
17042
|
key: "upgradeToAndCall",
|
17043
17043
|
value: (function () {
|
17044
|
-
var _upgradeToAndCall3 = _asyncToGenerator(
|
17044
|
+
var _upgradeToAndCall3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee104(request) {
|
17045
17045
|
var _yield$this$rpcClient39, call;
|
17046
17046
|
return _regeneratorRuntime().wrap(function _callee104$(_context104) {
|
17047
17047
|
while (1) switch (_context104.prev = _context104.next) {
|
@@ -17101,7 +17101,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17101
17101
|
}, {
|
17102
17102
|
key: "verifyMintLicenseToken",
|
17103
17103
|
value: (function () {
|
17104
|
-
var _verifyMintLicenseToken2 = _asyncToGenerator(
|
17104
|
+
var _verifyMintLicenseToken2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee105(request) {
|
17105
17105
|
var _yield$this$rpcClient40, call;
|
17106
17106
|
return _regeneratorRuntime().wrap(function _callee105$(_context105) {
|
17107
17107
|
while (1) switch (_context105.prev = _context105.next) {
|
@@ -17161,7 +17161,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17161
17161
|
}, {
|
17162
17162
|
key: "verifyRegisterDerivative",
|
17163
17163
|
value: (function () {
|
17164
|
-
var _verifyRegisterDerivative = _asyncToGenerator(
|
17164
|
+
var _verifyRegisterDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee106(request) {
|
17165
17165
|
var _yield$this$rpcClient41, call;
|
17166
17166
|
return _regeneratorRuntime().wrap(function _callee106$(_context106) {
|
17167
17167
|
while (1) switch (_context106.prev = _context106.next) {
|
@@ -17221,7 +17221,7 @@ var PiLicenseTemplateClient = /*#__PURE__*/function (_PiLicenseTemplateRea) {
|
|
17221
17221
|
}, {
|
17222
17222
|
key: "verifyRegisterDerivativeForAllParents",
|
17223
17223
|
value: (function () {
|
17224
|
-
var _verifyRegisterDerivativeForAllParents = _asyncToGenerator(
|
17224
|
+
var _verifyRegisterDerivativeForAllParents = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee107(request) {
|
17225
17225
|
var _yield$this$rpcClient42, call;
|
17226
17226
|
return _regeneratorRuntime().wrap(function _callee107$(_context107) {
|
17227
17227
|
while (1) switch (_context107.prev = _context107.next) {
|
@@ -17306,7 +17306,7 @@ var RoyaltyModuleClient = /*#__PURE__*/function () {
|
|
17306
17306
|
return _createClass(RoyaltyModuleClient, [{
|
17307
17307
|
key: "payRoyaltyOnBehalf",
|
17308
17308
|
value: (function () {
|
17309
|
-
var _payRoyaltyOnBehalf = _asyncToGenerator(
|
17309
|
+
var _payRoyaltyOnBehalf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee108(request) {
|
17310
17310
|
var _yield$this$rpcClient43, call;
|
17311
17311
|
return _regeneratorRuntime().wrap(function _callee108$(_context108) {
|
17312
17312
|
while (1) switch (_context108.prev = _context108.next) {
|
@@ -17404,7 +17404,7 @@ var RoyaltyPolicyLapReadOnlyClient = /*#__PURE__*/function () {
|
|
17404
17404
|
return _createClass(RoyaltyPolicyLapReadOnlyClient, [{
|
17405
17405
|
key: "getRoyaltyData",
|
17406
17406
|
value: (function () {
|
17407
|
-
var _getRoyaltyData = _asyncToGenerator(
|
17407
|
+
var _getRoyaltyData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee109(request) {
|
17408
17408
|
return _regeneratorRuntime().wrap(function _callee109$(_context109) {
|
17409
17409
|
while (1) switch (_context109.prev = _context109.next) {
|
17410
17410
|
case 0:
|
@@ -17453,7 +17453,7 @@ var RoyaltyPolicyLapClient = /*#__PURE__*/function (_RoyaltyPolicyLapRead) {
|
|
17453
17453
|
return _createClass(RoyaltyPolicyLapClient, [{
|
17454
17454
|
key: "onRoyaltyPayment",
|
17455
17455
|
value: (function () {
|
17456
|
-
var _onRoyaltyPayment = _asyncToGenerator(
|
17456
|
+
var _onRoyaltyPayment = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee110(request) {
|
17457
17457
|
var _yield$this$rpcClient44, call;
|
17458
17458
|
return _regeneratorRuntime().wrap(function _callee110$(_context110) {
|
17459
17459
|
while (1) switch (_context110.prev = _context110.next) {
|
@@ -17698,7 +17698,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17698
17698
|
return _createClass(SpgClient, [{
|
17699
17699
|
key: "createCollection",
|
17700
17700
|
value: (function () {
|
17701
|
-
var _createCollection = _asyncToGenerator(
|
17701
|
+
var _createCollection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee111(request) {
|
17702
17702
|
var _yield$this$rpcClient45, call;
|
17703
17703
|
return _regeneratorRuntime().wrap(function _callee111$(_context111) {
|
17704
17704
|
while (1) switch (_context111.prev = _context111.next) {
|
@@ -17758,7 +17758,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17758
17758
|
}, {
|
17759
17759
|
key: "mintAndRegisterIp",
|
17760
17760
|
value: (function () {
|
17761
|
-
var _mintAndRegisterIp = _asyncToGenerator(
|
17761
|
+
var _mintAndRegisterIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee112(request) {
|
17762
17762
|
var _yield$this$rpcClient46, call;
|
17763
17763
|
return _regeneratorRuntime().wrap(function _callee112$(_context112) {
|
17764
17764
|
while (1) switch (_context112.prev = _context112.next) {
|
@@ -17818,7 +17818,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17818
17818
|
}, {
|
17819
17819
|
key: "mintAndRegisterIpAndAttachPilTerms",
|
17820
17820
|
value: (function () {
|
17821
|
-
var _mintAndRegisterIpAndAttachPilTerms = _asyncToGenerator(
|
17821
|
+
var _mintAndRegisterIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee113(request) {
|
17822
17822
|
var _yield$this$rpcClient47, call;
|
17823
17823
|
return _regeneratorRuntime().wrap(function _callee113$(_context113) {
|
17824
17824
|
while (1) switch (_context113.prev = _context113.next) {
|
@@ -17878,7 +17878,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17878
17878
|
}, {
|
17879
17879
|
key: "mintAndRegisterIpAndMakeDerivative",
|
17880
17880
|
value: (function () {
|
17881
|
-
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(
|
17881
|
+
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee114(request) {
|
17882
17882
|
var _yield$this$rpcClient48, call;
|
17883
17883
|
return _regeneratorRuntime().wrap(function _callee114$(_context114) {
|
17884
17884
|
while (1) switch (_context114.prev = _context114.next) {
|
@@ -17938,7 +17938,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17938
17938
|
}, {
|
17939
17939
|
key: "mintAndRegisterIpAndMakeDerivativeWithLicenseTokens",
|
17940
17940
|
value: (function () {
|
17941
|
-
var _mintAndRegisterIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(
|
17941
|
+
var _mintAndRegisterIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee115(request) {
|
17942
17942
|
var _yield$this$rpcClient49, call;
|
17943
17943
|
return _regeneratorRuntime().wrap(function _callee115$(_context115) {
|
17944
17944
|
while (1) switch (_context115.prev = _context115.next) {
|
@@ -17998,7 +17998,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
17998
17998
|
}, {
|
17999
17999
|
key: "registerIp",
|
18000
18000
|
value: (function () {
|
18001
|
-
var _registerIp = _asyncToGenerator(
|
18001
|
+
var _registerIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee116(request) {
|
18002
18002
|
var _yield$this$rpcClient50, call;
|
18003
18003
|
return _regeneratorRuntime().wrap(function _callee116$(_context116) {
|
18004
18004
|
while (1) switch (_context116.prev = _context116.next) {
|
@@ -18058,7 +18058,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18058
18058
|
}, {
|
18059
18059
|
key: "registerIpAndAttachPilTerms",
|
18060
18060
|
value: (function () {
|
18061
|
-
var _registerIpAndAttachPilTerms = _asyncToGenerator(
|
18061
|
+
var _registerIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee117(request) {
|
18062
18062
|
var _yield$this$rpcClient51, call;
|
18063
18063
|
return _regeneratorRuntime().wrap(function _callee117$(_context117) {
|
18064
18064
|
while (1) switch (_context117.prev = _context117.next) {
|
@@ -18118,7 +18118,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18118
18118
|
}, {
|
18119
18119
|
key: "registerIpAndMakeDerivative",
|
18120
18120
|
value: (function () {
|
18121
|
-
var _registerIpAndMakeDerivative = _asyncToGenerator(
|
18121
|
+
var _registerIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee118(request) {
|
18122
18122
|
var _yield$this$rpcClient52, call;
|
18123
18123
|
return _regeneratorRuntime().wrap(function _callee118$(_context118) {
|
18124
18124
|
while (1) switch (_context118.prev = _context118.next) {
|
@@ -18178,7 +18178,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18178
18178
|
}, {
|
18179
18179
|
key: "registerIpAndMakeDerivativeWithLicenseTokens",
|
18180
18180
|
value: (function () {
|
18181
|
-
var _registerIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(
|
18181
|
+
var _registerIpAndMakeDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee119(request) {
|
18182
18182
|
var _yield$this$rpcClient53, call;
|
18183
18183
|
return _regeneratorRuntime().wrap(function _callee119$(_context119) {
|
18184
18184
|
while (1) switch (_context119.prev = _context119.next) {
|
@@ -18238,7 +18238,7 @@ var SpgClient = /*#__PURE__*/function (_SpgEventClient) {
|
|
18238
18238
|
}, {
|
18239
18239
|
key: "registerPilTermsAndAttach",
|
18240
18240
|
value: (function () {
|
18241
|
-
var _registerPilTermsAndAttach = _asyncToGenerator(
|
18241
|
+
var _registerPilTermsAndAttach = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee120(request) {
|
18242
18242
|
var _yield$this$rpcClient54, call;
|
18243
18243
|
return _regeneratorRuntime().wrap(function _callee120$(_context120) {
|
18244
18244
|
while (1) switch (_context120.prev = _context120.next) {
|
@@ -18319,6 +18319,7 @@ function getLicenseTermByType(type, term) {
|
|
18319
18319
|
uri: ""
|
18320
18320
|
};
|
18321
18321
|
if (type === PIL_TYPE.NON_COMMERCIAL_REMIX) {
|
18322
|
+
licenseTerms.commercializerCheckerData = "0x";
|
18322
18323
|
return licenseTerms;
|
18323
18324
|
} else if (type === PIL_TYPE.COMMERCIAL_USE) {
|
18324
18325
|
if (!term || term.defaultMintingFee === undefined || term.currency === undefined) {
|
@@ -18366,7 +18367,7 @@ var defaultFunctionSelector = "0x00000000";
|
|
18366
18367
|
* @returns A Promise that resolves to the signature.
|
18367
18368
|
*/
|
18368
18369
|
var getPermissionSignature = /*#__PURE__*/function () {
|
18369
|
-
var _ref = _asyncToGenerator(
|
18370
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(param) {
|
18370
18371
|
var ipId, deadline, state, wallet, chainId, permissions, permissionFunc, permissionFunction, accessAddress, data, nonce;
|
18371
18372
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
18372
18373
|
while (1) switch (_context.prev = _context.next) {
|
@@ -18505,24 +18506,24 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18505
18506
|
* @param params.socialMedia [Optional] An array of social media profiles associated with the creator.
|
18506
18507
|
* @param params.socialMedia[].platform The name of the social media platform.
|
18507
18508
|
* @param params.socialMedia[].url The URL to the creator's profile on the platform.
|
18508
|
-
*
|
18509
|
-
*
|
18509
|
+
* @param params.contributionPercent The percentage of contribution by the creator, must add up to 100.
|
18510
|
+
* @param params.role [Optional] The role of the creator in relation to the IP.
|
18510
18511
|
* @returns An `IpCreator` object containing the provided details.
|
18511
18512
|
*/
|
18512
18513
|
return _createClass(IPAssetClient, [{
|
18513
18514
|
key: "generateCreatorMetadata",
|
18514
|
-
value: function generateCreatorMetadata(
|
18515
|
-
var name =
|
18516
|
-
address =
|
18517
|
-
|
18518
|
-
description =
|
18519
|
-
|
18520
|
-
image =
|
18521
|
-
|
18522
|
-
socialMedia =
|
18523
|
-
contributionPercent =
|
18524
|
-
|
18525
|
-
role =
|
18515
|
+
value: function generateCreatorMetadata(param) {
|
18516
|
+
var name = param.name,
|
18517
|
+
address = param.address,
|
18518
|
+
_param$description = param.description,
|
18519
|
+
description = _param$description === void 0 ? "" : _param$description,
|
18520
|
+
_param$image = param.image,
|
18521
|
+
image = _param$image === void 0 ? "" : _param$image,
|
18522
|
+
_param$socialMedia = param.socialMedia,
|
18523
|
+
socialMedia = _param$socialMedia === void 0 ? [] : _param$socialMedia,
|
18524
|
+
contributionPercent = param.contributionPercent,
|
18525
|
+
_param$role = param.role,
|
18526
|
+
role = _param$role === void 0 ? "" : _param$role;
|
18526
18527
|
return {
|
18527
18528
|
name: name,
|
18528
18529
|
address: address,
|
@@ -18551,8 +18552,8 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18551
18552
|
* @param params.creators[].description [Optional] A description of the creator.
|
18552
18553
|
* @param params.creators[].image [Optional] The URL or path to an image representing the creator.
|
18553
18554
|
* @param params.creators[].socialMedia [Optional] An array of social media profiles for the creator.
|
18554
|
-
*
|
18555
|
-
*
|
18555
|
+
* @param params.creators[].socialMedia[].platform The social media platform name.
|
18556
|
+
* @param params.creators[].socialMedia[].url The URL to the creator's profile.
|
18556
18557
|
* @param params.creators[].role [Optional] The role of the creator in relation to the IP.
|
18557
18558
|
* @param params.creators[].contributionPercent The percentage of contribution by the creator.
|
18558
18559
|
* @param params.media [Optional] An array of media related to the IP.
|
@@ -18575,30 +18576,30 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18575
18576
|
*/
|
18576
18577
|
}, {
|
18577
18578
|
key: "generateIpMetadata",
|
18578
|
-
value: function generateIpMetadata(
|
18579
|
-
var
|
18580
|
-
title =
|
18581
|
-
|
18582
|
-
description =
|
18583
|
-
|
18584
|
-
ipType =
|
18585
|
-
|
18586
|
-
relationships =
|
18587
|
-
|
18588
|
-
createdAt =
|
18589
|
-
|
18590
|
-
watermarkImg =
|
18591
|
-
|
18592
|
-
creators =
|
18593
|
-
|
18594
|
-
media =
|
18595
|
-
|
18596
|
-
attributes =
|
18597
|
-
app =
|
18598
|
-
|
18599
|
-
tags =
|
18600
|
-
robotTerms =
|
18601
|
-
additionalProperties = _objectWithoutProperties(
|
18579
|
+
value: function generateIpMetadata(param) {
|
18580
|
+
var _param$title = param.title,
|
18581
|
+
title = _param$title === void 0 ? "" : _param$title,
|
18582
|
+
_param$description2 = param.description,
|
18583
|
+
description = _param$description2 === void 0 ? "" : _param$description2,
|
18584
|
+
_param$ipType = param.ipType,
|
18585
|
+
ipType = _param$ipType === void 0 ? "" : _param$ipType,
|
18586
|
+
_param$relationships = param.relationships,
|
18587
|
+
relationships = _param$relationships === void 0 ? [] : _param$relationships,
|
18588
|
+
_param$createdAt = param.createdAt,
|
18589
|
+
createdAt = _param$createdAt === void 0 ? "" : _param$createdAt,
|
18590
|
+
_param$watermarkImg = param.watermarkImg,
|
18591
|
+
watermarkImg = _param$watermarkImg === void 0 ? "" : _param$watermarkImg,
|
18592
|
+
_param$creators = param.creators,
|
18593
|
+
creators = _param$creators === void 0 ? [] : _param$creators,
|
18594
|
+
_param$media = param.media,
|
18595
|
+
media = _param$media === void 0 ? [] : _param$media,
|
18596
|
+
_param$attributes = param.attributes,
|
18597
|
+
attributes = _param$attributes === void 0 ? [] : _param$attributes,
|
18598
|
+
app = param.app,
|
18599
|
+
_param$tags = param.tags,
|
18600
|
+
tags = _param$tags === void 0 ? [] : _param$tags,
|
18601
|
+
robotTerms = param.robotTerms,
|
18602
|
+
additionalProperties = _objectWithoutProperties(param, _excluded);
|
18602
18603
|
return _objectSpread2({
|
18603
18604
|
title: title,
|
18604
18605
|
description: description,
|
@@ -18626,14 +18627,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18626
18627
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
18627
18628
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
18628
18629
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
18629
|
-
* @param request.txOptions [Optional]
|
18630
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18630
18631
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
18631
18632
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, resolverAddr, metadataProviderAddress, metadata)
|
18632
18633
|
*/
|
18633
18634
|
}, {
|
18634
18635
|
key: "register",
|
18635
18636
|
value: (function () {
|
18636
|
-
var _register = _asyncToGenerator(
|
18637
|
+
var _register = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
18637
18638
|
var _request$ipMetadata, _request$ipMetadata2, _request$ipMetadata3, _request$ipMetadata4, _request$txOptions, tokenId, ipIdAddress, isRegistered, object, _request$txOptions2, txHash, calculatedDeadline, signature, txReceipt, targetLogs;
|
18638
18639
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
18639
18640
|
while (1) switch (_context.prev = _context.next) {
|
@@ -18744,9 +18745,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18744
18745
|
break;
|
18745
18746
|
}
|
18746
18747
|
_context.next = 36;
|
18747
|
-
return this.rpcClient.waitForTransactionReceipt({
|
18748
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
18748
18749
|
hash: txHash
|
18749
|
-
});
|
18750
|
+
}));
|
18750
18751
|
case 36:
|
18751
18752
|
txReceipt = _context.sent;
|
18752
18753
|
targetLogs = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt);
|
@@ -18786,14 +18787,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18786
18787
|
* @param request.childIpId The derivative IP ID.
|
18787
18788
|
* @param request.parentIpIds The parent IP IDs.
|
18788
18789
|
* @param request.licenseTermsIds The IDs of the license terms that the parent IP supports.
|
18789
|
-
* @param request.txOptions [Optional]
|
18790
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18790
18791
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
18791
18792
|
*/
|
18792
18793
|
)
|
18793
18794
|
}, {
|
18794
18795
|
key: "registerDerivative",
|
18795
18796
|
value: (function () {
|
18796
|
-
var _registerDerivative = _asyncToGenerator(
|
18797
|
+
var _registerDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
18797
18798
|
var _request$txOptions3, isChildIpIdRegistered, _iterator, _step, parentId, isParentIpIdRegistered, i, isAttachedLicenseTerms, req, _request$txOptions4, txHash;
|
18798
18799
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
18799
18800
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -18898,9 +18899,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18898
18899
|
break;
|
18899
18900
|
}
|
18900
18901
|
_context2.next = 49;
|
18901
|
-
return this.rpcClient.waitForTransactionReceipt({
|
18902
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
18902
18903
|
hash: txHash
|
18903
|
-
});
|
18904
|
+
}));
|
18904
18905
|
case 49:
|
18905
18906
|
return _context2.abrupt("return", {
|
18906
18907
|
txHash: txHash
|
@@ -18935,14 +18936,14 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
18935
18936
|
* @param request - The request object that contains all data needed to register derivative license tokens.
|
18936
18937
|
* @param request.childIpId The derivative IP ID.
|
18937
18938
|
* @param request.licenseTokenIds The IDs of the license tokens.
|
18938
|
-
* @param request.txOptions [Optional]
|
18939
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
18939
18940
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
18940
18941
|
*/
|
18941
18942
|
)
|
18942
18943
|
}, {
|
18943
18944
|
key: "registerDerivativeWithLicenseTokens",
|
18944
18945
|
value: (function () {
|
18945
|
-
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(
|
18946
|
+
var _registerDerivativeWithLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
18946
18947
|
var _request$txOptions5, isChildIpIdRegistered, _iterator2, _step2, licenseTokenId, tokenOwnerAddress, req, _request$txOptions6, txHash;
|
18947
18948
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
18948
18949
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -19018,9 +19019,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19018
19019
|
break;
|
19019
19020
|
}
|
19020
19021
|
_context3.next = 38;
|
19021
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19022
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19022
19023
|
hash: txHash
|
19023
|
-
});
|
19024
|
+
}));
|
19024
19025
|
case 38:
|
19025
19026
|
return _context3.abrupt("return", {
|
19026
19027
|
txHash: txHash
|
@@ -19061,7 +19062,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19061
19062
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
19062
19063
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
19063
19064
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
19064
|
-
* @param request.txOptions [Optional]
|
19065
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19065
19066
|
* @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.
|
19066
19067
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19067
19068
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
@@ -19070,7 +19071,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19070
19071
|
}, {
|
19071
19072
|
key: "mintAndRegisterIpAssetWithPilTerms",
|
19072
19073
|
value: (function () {
|
19073
|
-
var _mintAndRegisterIpAssetWithPilTerms = _asyncToGenerator(
|
19074
|
+
var _mintAndRegisterIpAssetWithPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
19074
19075
|
var _request$ipMetadata5, _request$ipMetadata6, _request$ipMetadata7, _request$ipMetadata8, _request$txOptions7, licenseTerm, object, _request$txOptions8, txHash, txReceipt, iPRegisteredLog, licenseTermsId;
|
19075
19076
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
19076
19077
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -19116,9 +19117,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19116
19117
|
break;
|
19117
19118
|
}
|
19118
19119
|
_context4.next = 15;
|
19119
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19120
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19120
19121
|
hash: txHash
|
19121
|
-
});
|
19122
|
+
}));
|
19122
19123
|
case 15:
|
19123
19124
|
txReceipt = _context4.sent;
|
19124
19125
|
iPRegisteredLog = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt)[0];
|
@@ -19169,7 +19170,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19169
19170
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
19170
19171
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
19171
19172
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
19172
|
-
* @param request.txOptions [Optional]
|
19173
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19173
19174
|
* @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.
|
19174
19175
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
19175
19176
|
*/
|
@@ -19177,7 +19178,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19177
19178
|
}, {
|
19178
19179
|
key: "registerIpAndAttachPilTerms",
|
19179
19180
|
value: (function () {
|
19180
|
-
var _registerIpAndAttachPilTerms = _asyncToGenerator(
|
19181
|
+
var _registerIpAndAttachPilTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
19181
19182
|
var _request$ipMetadata9, _request$ipMetadata10, _request$ipMetadata11, _request$ipMetadata12, _request$txOptions9, ipIdAddress, isRegistered, licenseTerm, calculatedDeadline, sigAttachSignature, object, sigMetadataSignature, _request$txOptions10, txHash, txReceipt, ipRegisterEvent, licenseTermsId;
|
19182
19183
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
19183
19184
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -19296,9 +19297,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19296
19297
|
break;
|
19297
19298
|
}
|
19298
19299
|
_context5.next = 32;
|
19299
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19300
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19300
19301
|
hash: txHash
|
19301
|
-
});
|
19302
|
+
}));
|
19302
19303
|
case 32:
|
19303
19304
|
txReceipt = _context5.sent;
|
19304
19305
|
ipRegisterEvent = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(txReceipt);
|
@@ -19348,7 +19349,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19348
19349
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
19349
19350
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
19350
19351
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds,default is 1000ms.
|
19351
|
-
* @param request.txOptions [Optional]
|
19352
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19352
19353
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
19353
19354
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19354
19355
|
*/
|
@@ -19356,7 +19357,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19356
19357
|
}, {
|
19357
19358
|
key: "registerDerivativeIp",
|
19358
19359
|
value: (function () {
|
19359
|
-
var _registerDerivativeIp = _asyncToGenerator(
|
19360
|
+
var _registerDerivativeIp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(request) {
|
19360
19361
|
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;
|
19361
19362
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
19362
19363
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -19502,9 +19503,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19502
19503
|
break;
|
19503
19504
|
}
|
19504
19505
|
_context6.next = 41;
|
19505
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19506
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19506
19507
|
hash: txHash
|
19507
|
-
});
|
19508
|
+
}));
|
19508
19509
|
case 41:
|
19509
19510
|
receipt = _context6.sent;
|
19510
19511
|
log = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(receipt)[0];
|
@@ -19546,8 +19547,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19546
19547
|
* @param request.ipMetadata.ipMetadataURI [Optional] The URI of the metadata for the IP.
|
19547
19548
|
* @param request.ipMetadata.ipMetadataHash [Optional] The hash of the metadata for the IP.
|
19548
19549
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
19549
|
-
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
19550
|
-
* @param request.
|
19550
|
+
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
19551
|
+
* @param request.recipient [Optional] The address of the recipient of the minted NFT.
|
19552
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19551
19553
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
19552
19554
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
19553
19555
|
*/
|
@@ -19555,7 +19557,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19555
19557
|
}, {
|
19556
19558
|
key: "mintAndRegisterIpAndMakeDerivative",
|
19557
19559
|
value: (function () {
|
19558
|
-
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(
|
19560
|
+
var _mintAndRegisterIpAndMakeDerivative = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(request) {
|
19559
19561
|
var _request$ipMetadata17, _request$ipMetadata18, _request$ipMetadata19, _request$ipMetadata20, _request$txOptions13, i, isAttachedLicenseTerms, object, _request$txOptions14, txHash, receipt, log;
|
19560
19562
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
19561
19563
|
while (1) switch (_context7.prev = _context7.next) {
|
@@ -19624,9 +19626,9 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19624
19626
|
break;
|
19625
19627
|
}
|
19626
19628
|
_context7.next = 24;
|
19627
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19629
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19628
19630
|
hash: txHash
|
19629
|
-
});
|
19631
|
+
}));
|
19630
19632
|
case 24:
|
19631
19633
|
receipt = _context7.sent;
|
19632
19634
|
log = this.ipAssetRegistryClient.parseTxIpRegisteredEvent(receipt)[0];
|
@@ -19659,7 +19661,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19659
19661
|
}, {
|
19660
19662
|
key: "getIpIdAddress",
|
19661
19663
|
value: function () {
|
19662
|
-
var _getIpIdAddress = _asyncToGenerator(
|
19664
|
+
var _getIpIdAddress = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(nftContract, tokenId) {
|
19663
19665
|
var ipId;
|
19664
19666
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
19665
19667
|
while (1) switch (_context8.prev = _context8.next) {
|
@@ -19687,7 +19689,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19687
19689
|
}, {
|
19688
19690
|
key: "isRegistered",
|
19689
19691
|
value: function () {
|
19690
|
-
var _isRegistered = _asyncToGenerator(
|
19692
|
+
var _isRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(ipId) {
|
19691
19693
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
19692
19694
|
while (1) switch (_context9.prev = _context9.next) {
|
19693
19695
|
case 0:
|
@@ -19734,7 +19736,7 @@ var IPAssetClient = /*#__PURE__*/function () {
|
|
19734
19736
|
}, {
|
19735
19737
|
key: "getLicenseTermsId",
|
19736
19738
|
value: function () {
|
19737
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
19739
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(txReceipt) {
|
19738
19740
|
var licensingModuleLicenseTermsAttachedEvent, licenseTermsId, defaultLicenseTerms;
|
19739
19741
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
19740
19742
|
while (1) switch (_context10.prev = _context10.next) {
|
@@ -19794,14 +19796,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19794
19796
|
* @param request.to The address that can be called by the `signer` (currently only modules can be `to`).
|
19795
19797
|
* @param request.permission The new permission level.
|
19796
19798
|
* @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.
|
19797
|
-
* @param request.txOptions [Optional]
|
19799
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19798
19800
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
19799
19801
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19800
19802
|
*/
|
19801
19803
|
return _createClass(PermissionClient, [{
|
19802
19804
|
key: "setPermission",
|
19803
19805
|
value: (function () {
|
19804
|
-
var _setPermission = _asyncToGenerator(
|
19806
|
+
var _setPermission = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
19805
19807
|
var _request$txOptions, req, _request$txOptions2, txHash;
|
19806
19808
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
19807
19809
|
while (1) switch (_context.prev = _context.next) {
|
@@ -19834,9 +19836,9 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19834
19836
|
break;
|
19835
19837
|
}
|
19836
19838
|
_context.next = 14;
|
19837
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19839
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
19838
19840
|
hash: txHash
|
19839
|
-
});
|
19841
|
+
}));
|
19840
19842
|
case 14:
|
19841
19843
|
return _context.abrupt("return", {
|
19842
19844
|
txHash: txHash,
|
@@ -19873,7 +19875,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19873
19875
|
* @param request.permission The new permission level.
|
19874
19876
|
* @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.
|
19875
19877
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
19876
|
-
* @param request.txOptions [Optional]
|
19878
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19877
19879
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
19878
19880
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19879
19881
|
*/
|
@@ -19881,8 +19883,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19881
19883
|
}, {
|
19882
19884
|
key: "createSetPermissionSignature",
|
19883
19885
|
value: (function () {
|
19884
|
-
var _createSetPermissionSignature = _asyncToGenerator(
|
19885
|
-
var _request$txOptions3, ipId, signer, to, txOptions, func, permission, deadline, ipAccountClient, data, _yield$ipAccountClien, state, calculatedDeadline, signature, req, txHash;
|
19886
|
+
var _createSetPermissionSignature = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
19887
|
+
var _request$txOptions3, ipId, signer, to, txOptions, func, permission, deadline, ipAccountClient, data, _yield$ipAccountClien, state, calculatedDeadline, signature, req, _request$txOptions4, txHash;
|
19886
19888
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
19887
19889
|
while (1) switch (_context2.prev = _context2.next) {
|
19888
19890
|
case 0:
|
@@ -19940,14 +19942,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19940
19942
|
return ipAccountClient.executeWithSig(req);
|
19941
19943
|
case 21:
|
19942
19944
|
txHash = _context2.sent;
|
19943
|
-
if (!(txOptions !== null &&
|
19945
|
+
if (!((_request$txOptions4 = request.txOptions) !== null && _request$txOptions4 !== void 0 && _request$txOptions4.waitForTransaction)) {
|
19944
19946
|
_context2.next = 28;
|
19945
19947
|
break;
|
19946
19948
|
}
|
19947
19949
|
_context2.next = 25;
|
19948
|
-
return this.rpcClient.waitForTransactionReceipt({
|
19950
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
19949
19951
|
hash: txHash
|
19950
|
-
});
|
19952
|
+
}));
|
19951
19953
|
case 25:
|
19952
19954
|
return _context2.abrupt("return", {
|
19953
19955
|
txHash: txHash,
|
@@ -19981,7 +19983,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19981
19983
|
* @param request.ipId The IP ID that grants the permission for `signer`
|
19982
19984
|
* @param request.signer The address of the signer receiving the permissions.
|
19983
19985
|
* @param request.permission The new permission.
|
19984
|
-
* @param request.txOptions [Optional]
|
19986
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19985
19987
|
* @returns A Promise that resolves to an object containing the transaction hash
|
19986
19988
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
19987
19989
|
*/
|
@@ -19989,8 +19991,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
19989
19991
|
}, {
|
19990
19992
|
key: "setAllPermissions",
|
19991
19993
|
value: (function () {
|
19992
|
-
var _setAllPermissions = _asyncToGenerator(
|
19993
|
-
var _request$
|
19994
|
+
var _setAllPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
19995
|
+
var _request$txOptions5, req, _request$txOptions6, txHash;
|
19994
19996
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
19995
19997
|
while (1) switch (_context3.prev = _context3.next) {
|
19996
19998
|
case 0:
|
@@ -20003,7 +20005,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20003
20005
|
signer: request.signer,
|
20004
20006
|
permission: request.permission
|
20005
20007
|
};
|
20006
|
-
if (!((_request$
|
20008
|
+
if (!((_request$txOptions5 = request.txOptions) !== null && _request$txOptions5 !== void 0 && _request$txOptions5.encodedTxDataOnly)) {
|
20007
20009
|
_context3.next = 8;
|
20008
20010
|
break;
|
20009
20011
|
}
|
@@ -20015,14 +20017,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20015
20017
|
return this.accessControllerClient.setAllPermissions(req);
|
20016
20018
|
case 10:
|
20017
20019
|
txHash = _context3.sent;
|
20018
|
-
if (!((_request$
|
20020
|
+
if (!((_request$txOptions6 = request.txOptions) !== null && _request$txOptions6 !== void 0 && _request$txOptions6.waitForTransaction)) {
|
20019
20021
|
_context3.next = 17;
|
20020
20022
|
break;
|
20021
20023
|
}
|
20022
20024
|
_context3.next = 14;
|
20023
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20025
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20024
20026
|
hash: txHash
|
20025
|
-
});
|
20027
|
+
}));
|
20026
20028
|
case 14:
|
20027
20029
|
return _context3.abrupt("return", {
|
20028
20030
|
txHash: txHash,
|
@@ -20060,7 +20062,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20060
20062
|
* @param request.permissions[].permission The new permission level.
|
20061
20063
|
* @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.
|
20062
20064
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
20063
|
-
* @param request.txOptions [Optional]
|
20065
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20064
20066
|
* @returns A Promise that resolves to an object containing the transaction hash
|
20065
20067
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
20066
20068
|
*/
|
@@ -20068,8 +20070,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20068
20070
|
}, {
|
20069
20071
|
key: "setBatchPermissions",
|
20070
20072
|
value: (function () {
|
20071
|
-
var _setBatchPermissions = _asyncToGenerator(
|
20072
|
-
var _request$
|
20073
|
+
var _setBatchPermissions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
20074
|
+
var _request$txOptions7, permissions, txOptions, _iterator, _step, permission, req, _request$txOptions8, txHash;
|
20073
20075
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
20074
20076
|
while (1) switch (_context4.prev = _context4.next) {
|
20075
20077
|
case 0:
|
@@ -20112,7 +20114,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20112
20114
|
};
|
20113
20115
|
})
|
20114
20116
|
};
|
20115
|
-
if (!((_request$
|
20117
|
+
if (!((_request$txOptions7 = request.txOptions) !== null && _request$txOptions7 !== void 0 && _request$txOptions7.encodedTxDataOnly)) {
|
20116
20118
|
_context4.next = 24;
|
20117
20119
|
break;
|
20118
20120
|
}
|
@@ -20124,14 +20126,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20124
20126
|
return this.accessControllerClient.setBatchPermissions(req);
|
20125
20127
|
case 26:
|
20126
20128
|
txHash = _context4.sent;
|
20127
|
-
if (!(txOptions !== null &&
|
20129
|
+
if (!((_request$txOptions8 = request.txOptions) !== null && _request$txOptions8 !== void 0 && _request$txOptions8.waitForTransaction)) {
|
20128
20130
|
_context4.next = 33;
|
20129
20131
|
break;
|
20130
20132
|
}
|
20131
20133
|
_context4.next = 30;
|
20132
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20134
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
20133
20135
|
hash: txHash
|
20134
|
-
});
|
20136
|
+
}));
|
20135
20137
|
case 30:
|
20136
20138
|
return _context4.abrupt("return", {
|
20137
20139
|
txHash: txHash,
|
@@ -20169,7 +20171,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20169
20171
|
* @param request.permissions[].to The address that can be called by the `signer` (currently only modules can be `to`).
|
20170
20172
|
* @param request.permissions[].permission The new permission level.
|
20171
20173
|
* @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.
|
20172
|
-
* @param request.txOptions [Optional]
|
20174
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20173
20175
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
20174
20176
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
20175
20177
|
*/
|
@@ -20177,8 +20179,8 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20177
20179
|
}, {
|
20178
20180
|
key: "createBatchPermissionSignature",
|
20179
20181
|
value: (function () {
|
20180
|
-
var _createBatchPermissionSignature = _asyncToGenerator(
|
20181
|
-
var _request$
|
20182
|
+
var _createBatchPermissionSignature = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
20183
|
+
var _request$txOptions9, permissions, deadline, ipId, txOptions, _iterator2, _step2, permission, ipAccountClient, data, _yield$ipAccountClien2, state, calculatedDeadline, signature, req, _request$txOptions10, txHash;
|
20182
20184
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
20183
20185
|
while (1) switch (_context5.prev = _context5.next) {
|
20184
20186
|
case 0:
|
@@ -20250,7 +20252,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20250
20252
|
deadline: calculatedDeadline,
|
20251
20253
|
signature: signature
|
20252
20254
|
};
|
20253
|
-
if (!((_request$
|
20255
|
+
if (!((_request$txOptions9 = request.txOptions) !== null && _request$txOptions9 !== void 0 && _request$txOptions9.encodedTxDataOnly)) {
|
20254
20256
|
_context5.next = 34;
|
20255
20257
|
break;
|
20256
20258
|
}
|
@@ -20262,14 +20264,14 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20262
20264
|
return ipAccountClient.executeWithSig(req);
|
20263
20265
|
case 36:
|
20264
20266
|
txHash = _context5.sent;
|
20265
|
-
if (!(txOptions !== null &&
|
20267
|
+
if (!((_request$txOptions10 = request.txOptions) !== null && _request$txOptions10 !== void 0 && _request$txOptions10.waitForTransaction)) {
|
20266
20268
|
_context5.next = 43;
|
20267
20269
|
break;
|
20268
20270
|
}
|
20269
20271
|
_context5.next = 40;
|
20270
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20272
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, txOptions), {}, {
|
20271
20273
|
hash: txHash
|
20272
|
-
});
|
20274
|
+
}));
|
20273
20275
|
case 40:
|
20274
20276
|
return _context5.abrupt("return", {
|
20275
20277
|
txHash: txHash,
|
@@ -20300,7 +20302,7 @@ var PermissionClient = /*#__PURE__*/function () {
|
|
20300
20302
|
}, {
|
20301
20303
|
key: "checkIsRegistered",
|
20302
20304
|
value: function () {
|
20303
|
-
var _checkIsRegistered = _asyncToGenerator(
|
20305
|
+
var _checkIsRegistered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(ipId) {
|
20304
20306
|
var isRegistered;
|
20305
20307
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
20306
20308
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -20347,14 +20349,14 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20347
20349
|
/**
|
20348
20350
|
* Convenient function to register a PIL non commercial social remix license to the registry
|
20349
20351
|
* @param request - [Optional] The request object that contains all data needed to register a PIL non commercial social remix license.
|
20350
|
-
* @param request.txOptions [Optional]
|
20352
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20351
20353
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20352
20354
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20353
20355
|
*/
|
20354
20356
|
return _createClass(LicenseClient, [{
|
20355
20357
|
key: "registerNonComSocialRemixingPIL",
|
20356
20358
|
value: (function () {
|
20357
|
-
var _registerNonComSocialRemixingPIL = _asyncToGenerator(
|
20359
|
+
var _registerNonComSocialRemixingPIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
20358
20360
|
var _request$txOptions, licenseTerms, licenseTermsId, _request$txOptions2, txHash, txReceipt, targetLogs;
|
20359
20361
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
20360
20362
|
while (1) switch (_context.prev = _context.next) {
|
@@ -20394,9 +20396,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20394
20396
|
break;
|
20395
20397
|
}
|
20396
20398
|
_context.next = 17;
|
20397
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20399
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20398
20400
|
hash: txHash
|
20399
|
-
});
|
20401
|
+
}));
|
20400
20402
|
case 17:
|
20401
20403
|
txReceipt = _context.sent;
|
20402
20404
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20431,7 +20433,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20431
20433
|
* @param request - The request object that contains all data needed to register a PIL commercial use license.
|
20432
20434
|
* @param request.mintingFee The fee to be paid when minting a license.
|
20433
20435
|
* @param request.currency The ERC20 token to be used to pay the minting fee and the token must be registered in story protocol.
|
20434
|
-
* @param request.txOptions [Optional]
|
20436
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20435
20437
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20436
20438
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20437
20439
|
*/
|
@@ -20439,7 +20441,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20439
20441
|
}, {
|
20440
20442
|
key: "registerCommercialUsePIL",
|
20441
20443
|
value: (function () {
|
20442
|
-
var _registerCommercialUsePIL = _asyncToGenerator(
|
20444
|
+
var _registerCommercialUsePIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
20443
20445
|
var _request$txOptions3, licenseTerms, licenseTermsId, _request$txOptions4, txHash, txReceipt, targetLogs;
|
20444
20446
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
20445
20447
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -20483,9 +20485,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20483
20485
|
break;
|
20484
20486
|
}
|
20485
20487
|
_context2.next = 17;
|
20486
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20488
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20487
20489
|
hash: txHash
|
20488
|
-
});
|
20490
|
+
}));
|
20489
20491
|
case 17:
|
20490
20492
|
txReceipt = _context2.sent;
|
20491
20493
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20521,7 +20523,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20521
20523
|
* @param request.mintingFee The fee to be paid when minting a license.
|
20522
20524
|
* @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
|
20523
20525
|
* @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
20524
|
-
* @param request.txOptions [Optional]
|
20526
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20525
20527
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20526
20528
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
20527
20529
|
*/
|
@@ -20529,7 +20531,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20529
20531
|
}, {
|
20530
20532
|
key: "registerCommercialRemixPIL",
|
20531
20533
|
value: (function () {
|
20532
|
-
var _registerCommercialRemixPIL = _asyncToGenerator(
|
20534
|
+
var _registerCommercialRemixPIL = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
20533
20535
|
var _request$txOptions5, licenseTerms, licenseTermsId, _request$txOptions6, txHash, txReceipt, targetLogs;
|
20534
20536
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
20535
20537
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -20574,9 +20576,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20574
20576
|
break;
|
20575
20577
|
}
|
20576
20578
|
_context3.next = 17;
|
20577
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20579
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20578
20580
|
hash: txHash
|
20579
|
-
});
|
20581
|
+
}));
|
20580
20582
|
case 17:
|
20581
20583
|
txReceipt = _context3.sent;
|
20582
20584
|
targetLogs = this.licenseTemplateClient.parseTxLicenseTermsRegisteredEvent(txReceipt);
|
@@ -20612,14 +20614,14 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20612
20614
|
* @param request.ipId The address of the IP to which the license terms are attached.
|
20613
20615
|
* @param request.licenseTemplate The address of the license template.
|
20614
20616
|
* @param request.licenseTermsId The ID of the license terms.
|
20615
|
-
* @param request.txOptions [Optional]
|
20617
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20616
20618
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
20617
20619
|
*/
|
20618
20620
|
)
|
20619
20621
|
}, {
|
20620
20622
|
key: "attachLicenseTerms",
|
20621
20623
|
value: (function () {
|
20622
|
-
var _attachLicenseTerms = _asyncToGenerator(
|
20624
|
+
var _attachLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
20623
20625
|
var _request$txOptions7, isRegistered, isExisted, isAttachedLicenseTerms, req, _request$txOptions8, txHash;
|
20624
20626
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
20625
20627
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -20689,9 +20691,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20689
20691
|
break;
|
20690
20692
|
}
|
20691
20693
|
_context4.next = 28;
|
20692
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20694
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20693
20695
|
hash: txHash
|
20694
|
-
});
|
20696
|
+
}));
|
20695
20697
|
case 28:
|
20696
20698
|
return _context4.abrupt("return", {
|
20697
20699
|
txHash: txHash,
|
@@ -20737,7 +20739,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20737
20739
|
* @param request.licenseTermsId The ID of the license terms within the license template.
|
20738
20740
|
* @param request.amount The amount of license tokens to mint.
|
20739
20741
|
* @param request.receiver The address of the receiver.
|
20740
|
-
* @param request.txOptions [Optional]
|
20742
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20741
20743
|
* @returns A Promise that resolves to an object containing the transaction hash and optional license token IDs if waitForTxn is set to true.
|
20742
20744
|
* @emits LicenseTokensMinted (msg.sender, licensorIpId, licenseTemplate, licenseTermsId, amount, receiver, startLicenseTokenId);
|
20743
20745
|
*/
|
@@ -20745,7 +20747,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20745
20747
|
}, {
|
20746
20748
|
key: "mintLicenseTokens",
|
20747
20749
|
value: (function () {
|
20748
|
-
var _mintLicenseTokens = _asyncToGenerator(
|
20750
|
+
var _mintLicenseTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
20749
20751
|
var _request$txOptions9, isLicenseIpIdRegistered, isExisted, isAttachedLicenseTerms, amount, req, _request$txOptions10, txHash, txReceipt, targetLogs, startLicenseTokenId, licenseTokenIds, i;
|
20750
20752
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
20751
20753
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -20816,9 +20818,9 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20816
20818
|
break;
|
20817
20819
|
}
|
20818
20820
|
_context5.next = 29;
|
20819
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20821
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20820
20822
|
hash: txHash
|
20821
|
-
});
|
20823
|
+
}));
|
20822
20824
|
case 29:
|
20823
20825
|
txReceipt = _context5.sent;
|
20824
20826
|
targetLogs = this.licensingModuleClient.parseTxLicenseTokensMintedEvent(txReceipt);
|
@@ -20862,7 +20864,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20862
20864
|
}, {
|
20863
20865
|
key: "getLicenseTerms",
|
20864
20866
|
value: (function () {
|
20865
|
-
var _getLicenseTerms = _asyncToGenerator(
|
20867
|
+
var _getLicenseTerms = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(selectedLicenseTermsId) {
|
20866
20868
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
20867
20869
|
while (1) switch (_context6.prev = _context6.next) {
|
20868
20870
|
case 0:
|
@@ -20891,7 +20893,7 @@ var LicenseClient = /*#__PURE__*/function () {
|
|
20891
20893
|
}, {
|
20892
20894
|
key: "getLicenseTermsId",
|
20893
20895
|
value: function () {
|
20894
|
-
var _getLicenseTermsId = _asyncToGenerator(
|
20896
|
+
var _getLicenseTermsId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(request) {
|
20895
20897
|
var licenseRes;
|
20896
20898
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
20897
20899
|
while (1) switch (_context7.prev = _context7.next) {
|
@@ -20932,7 +20934,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20932
20934
|
* @param request.linkToDisputeEvidence - The link to the dispute evidence.
|
20933
20935
|
* @param request.targetTag - The target tag of the dispute.
|
20934
20936
|
* @param request.calldata - Optional calldata to initialize the policy.
|
20935
|
-
* @param request.txOptions - Optional transaction
|
20937
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
20936
20938
|
* @returns A Promise that resolves to a RaiseDisputeResponse containing the transaction hash.
|
20937
20939
|
* @throws `NotRegisteredIpId` if targetIpId is not registered in the IPA Registry.
|
20938
20940
|
* @throws `NotWhitelistedDisputeTag` if targetTag is not whitelisted.
|
@@ -20943,7 +20945,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20943
20945
|
return _createClass(DisputeClient, [{
|
20944
20946
|
key: "raiseDispute",
|
20945
20947
|
value: (function () {
|
20946
|
-
var _raiseDispute = _asyncToGenerator(
|
20948
|
+
var _raiseDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
20947
20949
|
var _request$txOptions, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
20948
20950
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
20949
20951
|
while (1) switch (_context.prev = _context.next) {
|
@@ -20974,9 +20976,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
20974
20976
|
break;
|
20975
20977
|
}
|
20976
20978
|
_context.next = 12;
|
20977
|
-
return this.rpcClient.waitForTransactionReceipt({
|
20979
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
20978
20980
|
hash: txHash
|
20979
|
-
});
|
20981
|
+
}));
|
20980
20982
|
case 12:
|
20981
20983
|
txReceipt = _context.sent;
|
20982
20984
|
targetLogs = this.disputeModuleClient.parseTxDisputeRaisedEvent(txReceipt);
|
@@ -21011,6 +21013,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21011
21013
|
* @param request - The request object containing details to cancel the dispute.
|
21012
21014
|
* @param request.disputeId The ID of the dispute to be cancelled.
|
21013
21015
|
* @param request.calldata Optional additional data used in the cancellation process.
|
21016
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21014
21017
|
* @returns A Promise that resolves to a CancelDisputeResponse containing the transaction hash.
|
21015
21018
|
* @throws NotInDisputeState, if the currentTag of the Dispute is not being disputed
|
21016
21019
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -21022,7 +21025,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21022
21025
|
}, {
|
21023
21026
|
key: "cancelDispute",
|
21024
21027
|
value: (function () {
|
21025
|
-
var _cancelDispute = _asyncToGenerator(
|
21028
|
+
var _cancelDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21026
21029
|
var _request$txOptions3, req, _request$txOptions4, txHash;
|
21027
21030
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21028
21031
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21049,9 +21052,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21049
21052
|
break;
|
21050
21053
|
}
|
21051
21054
|
_context2.next = 12;
|
21052
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21055
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21053
21056
|
hash: txHash
|
21054
|
-
});
|
21057
|
+
}));
|
21055
21058
|
case 12:
|
21056
21059
|
return _context2.abrupt("return", {
|
21057
21060
|
txHash: txHash
|
@@ -21079,6 +21082,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21079
21082
|
* @param request - The request object containing details to resolve the dispute.
|
21080
21083
|
* @param request.disputeId The ID of the dispute to be resolved.
|
21081
21084
|
* @param request.data The data to resolve the dispute.
|
21085
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21082
21086
|
* @returns A Promise that resolves to a ResolveDisputeResponse.
|
21083
21087
|
* @throws NotAbleToResolve, if currentTag is still in dispute (i.e still needs a judgement to be set)
|
21084
21088
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -21088,7 +21092,7 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21088
21092
|
}, {
|
21089
21093
|
key: "resolveDispute",
|
21090
21094
|
value: (function () {
|
21091
|
-
var _resolveDispute = _asyncToGenerator(
|
21095
|
+
var _resolveDispute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
21092
21096
|
var _request$txOptions5, req, _request$txOptions6, txHash;
|
21093
21097
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21094
21098
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21115,9 +21119,9 @@ var DisputeClient = /*#__PURE__*/function () {
|
|
21115
21119
|
break;
|
21116
21120
|
}
|
21117
21121
|
_context3.next = 12;
|
21118
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21122
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21119
21123
|
hash: txHash
|
21120
|
-
});
|
21124
|
+
}));
|
21121
21125
|
case 12:
|
21122
21126
|
return _context3.abrupt("return", {
|
21123
21127
|
txHash: txHash
|
@@ -21157,12 +21161,13 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21157
21161
|
* @param request.value The amount of Ether to send.
|
21158
21162
|
* @param request.accountAddress The ipId to send.
|
21159
21163
|
* @param request.data The data to send along with the transaction.
|
21164
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21160
21165
|
* @returns Tx hash for the transaction.
|
21161
21166
|
*/
|
21162
21167
|
return _createClass(IPAccountClient, [{
|
21163
21168
|
key: "execute",
|
21164
21169
|
value: (function () {
|
21165
|
-
var _execute = _asyncToGenerator(
|
21170
|
+
var _execute = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21166
21171
|
var _request$txOptions, ipAccountClient, req, _request$txOptions2, txHash;
|
21167
21172
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21168
21173
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21195,9 +21200,9 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21195
21200
|
break;
|
21196
21201
|
}
|
21197
21202
|
_context.next = 13;
|
21198
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21203
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21199
21204
|
hash: txHash
|
21200
|
-
});
|
21205
|
+
}));
|
21201
21206
|
case 13:
|
21202
21207
|
return _context.abrupt("return", {
|
21203
21208
|
txHash: txHash
|
@@ -21229,13 +21234,14 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21229
21234
|
* @param request.signer The signer of the transaction.
|
21230
21235
|
* @param request.deadline The deadline of the transaction signature.
|
21231
21236
|
* @param request.signature The signature of the transaction, EIP-712 encoded.
|
21237
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21232
21238
|
* @returns Tx hash for the transaction.
|
21233
21239
|
*/
|
21234
21240
|
)
|
21235
21241
|
}, {
|
21236
21242
|
key: "executeWithSig",
|
21237
21243
|
value: (function () {
|
21238
|
-
var _executeWithSig = _asyncToGenerator(
|
21244
|
+
var _executeWithSig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21239
21245
|
var _request$txOptions3, ipAccountClient, req, _request$txOptions4, txHash;
|
21240
21246
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21241
21247
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21267,9 +21273,9 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21267
21273
|
break;
|
21268
21274
|
}
|
21269
21275
|
_context2.next = 13;
|
21270
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21276
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21271
21277
|
hash: txHash
|
21272
|
-
});
|
21278
|
+
}));
|
21273
21279
|
case 13:
|
21274
21280
|
return _context2.abrupt("return", {
|
21275
21281
|
txHash: txHash
|
@@ -21300,7 +21306,7 @@ var IPAccountClient = /*#__PURE__*/function () {
|
|
21300
21306
|
}, {
|
21301
21307
|
key: "getIpAccountNonce",
|
21302
21308
|
value: (function () {
|
21303
|
-
var _getIpAccountNonce = _asyncToGenerator(
|
21309
|
+
var _getIpAccountNonce = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(ipId) {
|
21304
21310
|
var ipAccount, _yield$ipAccount$stat, state;
|
21305
21311
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21306
21312
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21342,14 +21348,14 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21342
21348
|
* @param request - The request object that contains all data needed to collect royalty tokens.
|
21343
21349
|
* @param request.parentIpId The ip id of the ancestor to whom the royalty tokens belong to.
|
21344
21350
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21345
|
-
* @param request.txOptions [Optional]
|
21351
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21346
21352
|
* @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.
|
21347
21353
|
* @emits RoyaltyTokensCollected (ancestorIpId, royaltyTokensCollected)
|
21348
21354
|
*/
|
21349
21355
|
return _createClass(RoyaltyClient, [{
|
21350
21356
|
key: "collectRoyaltyTokens",
|
21351
21357
|
value: (function () {
|
21352
|
-
var _collectRoyaltyTokens = _asyncToGenerator(
|
21358
|
+
var _collectRoyaltyTokens = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21353
21359
|
var _request$txOptions, isParentIpIdRegistered, proxyAddress, ipRoyaltyVault, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
21354
21360
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21355
21361
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21392,9 +21398,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21392
21398
|
break;
|
21393
21399
|
}
|
21394
21400
|
_context.next = 21;
|
21395
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21401
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21396
21402
|
hash: txHash
|
21397
|
-
});
|
21403
|
+
}));
|
21398
21404
|
case 21:
|
21399
21405
|
txReceipt = _context.sent;
|
21400
21406
|
targetLogs = ipRoyaltyVault.parseTxRoyaltyTokensCollectedEvent(txReceipt);
|
@@ -21431,14 +21437,14 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21431
21437
|
* @param request.payerIpId The ID of the IP asset that pays the royalties.
|
21432
21438
|
* @param request.token The token to use to pay the royalties.
|
21433
21439
|
* @param request.amount The amount to pay.
|
21434
|
-
* @param request.txOptions [Optional]
|
21440
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21435
21441
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
21436
21442
|
*/
|
21437
21443
|
)
|
21438
21444
|
}, {
|
21439
21445
|
key: "payRoyaltyOnBehalf",
|
21440
21446
|
value: (function () {
|
21441
|
-
var _payRoyaltyOnBehalf = _asyncToGenerator(
|
21447
|
+
var _payRoyaltyOnBehalf = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(request) {
|
21442
21448
|
var _request$txOptions3, isReceiverRegistered, isPayerRegistered, req, _request$txOptions4, txHash;
|
21443
21449
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
21444
21450
|
while (1) switch (_context2.prev = _context2.next) {
|
@@ -21491,9 +21497,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21491
21497
|
break;
|
21492
21498
|
}
|
21493
21499
|
_context2.next = 22;
|
21494
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21500
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21495
21501
|
hash: txHash
|
21496
|
-
});
|
21502
|
+
}));
|
21497
21503
|
case 22:
|
21498
21504
|
return _context2.abrupt("return", {
|
21499
21505
|
txHash: txHash
|
@@ -21527,14 +21533,13 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21527
21533
|
* @param request.account The address of the token holder.
|
21528
21534
|
* @param request.snapshotId The snapshot id.
|
21529
21535
|
* @param request.token The revenue token to claim.
|
21530
|
-
* @param request.txOptions [Optional] The transaction options.
|
21531
21536
|
* @returns A Promise that contains the amount of revenue token claimable
|
21532
21537
|
*/
|
21533
21538
|
)
|
21534
21539
|
}, {
|
21535
21540
|
key: "claimableRevenue",
|
21536
21541
|
value: (function () {
|
21537
|
-
var _claimableRevenue = _asyncToGenerator(
|
21542
|
+
var _claimableRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
21538
21543
|
var proxyAddress, ipRoyaltyVault;
|
21539
21544
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
21540
21545
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -21575,7 +21580,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21575
21580
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21576
21581
|
* @param request.token The revenue token to claim.
|
21577
21582
|
* @param request.account [Optional] The ipId to send.
|
21578
|
-
* @param request.txOptions [Optional]
|
21583
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21579
21584
|
* @returns A Promise that resolves to an object containing the transaction hash and optional claimableToken if waitForTxn is set to true.
|
21580
21585
|
* @emits RevenueTokenClaimed (claimer, token, amount).
|
21581
21586
|
*/
|
@@ -21583,7 +21588,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21583
21588
|
}, {
|
21584
21589
|
key: "claimRevenue",
|
21585
21590
|
value: (function () {
|
21586
|
-
var _claimRevenue = _asyncToGenerator(
|
21591
|
+
var _claimRevenue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
21587
21592
|
var _request$txOptions7, proxyAddress, ipRoyaltyVault, txHash, _request$txOptions5, iPAccountExecuteResponse, _request$txOptions6, req, txReceipt, targetLogs;
|
21588
21593
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
21589
21594
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -21649,9 +21654,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21649
21654
|
break;
|
21650
21655
|
}
|
21651
21656
|
_context4.next = 26;
|
21652
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21657
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21653
21658
|
hash: txHash
|
21654
|
-
});
|
21659
|
+
}));
|
21655
21660
|
case 26:
|
21656
21661
|
txReceipt = _context4.sent;
|
21657
21662
|
targetLogs = ipRoyaltyVault.parseTxRevenueTokenClaimedEvent(txReceipt);
|
@@ -21685,7 +21690,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21685
21690
|
* Snapshots the claimable revenue and royalty token amounts.
|
21686
21691
|
* @param request - The request object that contains all data needed to snapshot.
|
21687
21692
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
21688
|
-
* @param request.txOptions [Optional]
|
21693
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21689
21694
|
* @returns A Promise that resolves to an object containing the transaction hash and optional snapshotId if waitForTxn is set to true.
|
21690
21695
|
* @emits SnapshotCompleted (snapshotId, snapshotTimestamp, unclaimedTokens).
|
21691
21696
|
*/
|
@@ -21693,7 +21698,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21693
21698
|
}, {
|
21694
21699
|
key: "snapshot",
|
21695
21700
|
value: (function () {
|
21696
|
-
var _snapshot = _asyncToGenerator(
|
21701
|
+
var _snapshot = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(request) {
|
21697
21702
|
var _request$txOptions8, proxyAddress, ipRoyaltyVault, _request$txOptions9, txHash, txReceipt, targetLogs;
|
21698
21703
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
21699
21704
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -21721,9 +21726,9 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21721
21726
|
break;
|
21722
21727
|
}
|
21723
21728
|
_context5.next = 15;
|
21724
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21729
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21725
21730
|
hash: txHash
|
21726
|
-
});
|
21731
|
+
}));
|
21727
21732
|
case 15:
|
21728
21733
|
txReceipt = _context5.sent;
|
21729
21734
|
targetLogs = ipRoyaltyVault.parseTxSnapshotCompletedEvent(txReceipt);
|
@@ -21762,7 +21767,7 @@ var RoyaltyClient = /*#__PURE__*/function () {
|
|
21762
21767
|
}, {
|
21763
21768
|
key: "getRoyaltyVaultAddress",
|
21764
21769
|
value: (function () {
|
21765
|
-
var _getRoyaltyVaultAddress = _asyncToGenerator(
|
21770
|
+
var _getRoyaltyVaultAddress = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(royaltyVaultIpId) {
|
21766
21771
|
var isRoyaltyVaultIpIdRegistered, data;
|
21767
21772
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
21768
21773
|
while (1) switch (_context6.prev = _context6.next) {
|
@@ -21823,14 +21828,14 @@ var NftClient = /*#__PURE__*/function () {
|
|
21823
21828
|
* @param request.mintFee - The cost to mint a token.
|
21824
21829
|
* @param request.mintFeeToken - The token to mint.
|
21825
21830
|
* @param request.owner - The owner of the collection.
|
21826
|
-
* @param request.txOptions - Optional transaction
|
21831
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
21827
21832
|
* @returns A Promise that resolves to a CreateNFTCollectionResponse containing the transaction hash and collection address.
|
21828
21833
|
* @emits CollectionCreated (nftContract);
|
21829
21834
|
*/
|
21830
21835
|
return _createClass(NftClient, [{
|
21831
21836
|
key: "createNFTCollection",
|
21832
21837
|
value: (function () {
|
21833
|
-
var _createNFTCollection = _asyncToGenerator(
|
21838
|
+
var _createNFTCollection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(request) {
|
21834
21839
|
var _request$maxSupply, _request$mintFee, _request$mintFeeToken, _request$txOptions, req, _request$txOptions2, txHash, txReceipt, targetLogs;
|
21835
21840
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
21836
21841
|
while (1) switch (_context.prev = _context.next) {
|
@@ -21867,9 +21872,9 @@ var NftClient = /*#__PURE__*/function () {
|
|
21867
21872
|
break;
|
21868
21873
|
}
|
21869
21874
|
_context.next = 14;
|
21870
|
-
return this.rpcClient.waitForTransactionReceipt({
|
21875
|
+
return this.rpcClient.waitForTransactionReceipt(_objectSpread2(_objectSpread2({}, request.txOptions), {}, {
|
21871
21876
|
hash: txHash
|
21872
|
-
});
|
21877
|
+
}));
|
21873
21878
|
case 14:
|
21874
21879
|
txReceipt = _context.sent;
|
21875
21880
|
targetLogs = this.spgClient.parseTxCollectionCreatedEvent(txReceipt);
|