@canton-network/core-token-standard 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.js +264 -264
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +264 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +264 -264
- package/dist/index.js.map +1 -1
- package/package.json +14 -10
package/dist/index.cjs
CHANGED
|
@@ -103,7 +103,7 @@ function getAugmentedNamespace(n) {
|
|
|
103
103
|
var isInstance = false;
|
|
104
104
|
try {
|
|
105
105
|
isInstance = this instanceof a;
|
|
106
|
-
} catch {}
|
|
106
|
+
} catch (e) {}
|
|
107
107
|
if (isInstance) {
|
|
108
108
|
return Reflect.construct(f, arguments, this.constructor);
|
|
109
109
|
}
|
|
@@ -155,15 +155,15 @@ var hasRequiredModule$7;
|
|
|
155
155
|
function requireModule$7 () {
|
|
156
156
|
if (hasRequiredModule$7) return module$7;
|
|
157
157
|
hasRequiredModule$7 = 1;
|
|
158
|
-
(function (exports
|
|
159
|
-
Object.defineProperty(exports
|
|
158
|
+
(function (exports) {
|
|
159
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
160
160
|
/* eslint-disable-next-line no-unused-vars */
|
|
161
161
|
var jtv = require$$0;
|
|
162
162
|
/* eslint-disable-next-line no-unused-vars */
|
|
163
163
|
var damlTypes = require$$1;
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
exports
|
|
166
|
+
exports.Archive = {
|
|
167
167
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
168
168
|
encode: function (__typed__) {
|
|
169
169
|
return {
|
|
@@ -180,13 +180,13 @@ var hasRequiredTemplate;
|
|
|
180
180
|
function requireTemplate () {
|
|
181
181
|
if (hasRequiredTemplate) return Template;
|
|
182
182
|
hasRequiredTemplate = 1;
|
|
183
|
-
(function (exports
|
|
183
|
+
(function (exports) {
|
|
184
184
|
/* eslint-disable-next-line no-unused-vars */
|
|
185
185
|
function __export(m) {
|
|
186
186
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
187
|
-
for (var p in m) if (!exports
|
|
187
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
188
188
|
}
|
|
189
|
-
Object.defineProperty(exports
|
|
189
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
190
190
|
__export(requireModule$7());
|
|
191
191
|
} (Template));
|
|
192
192
|
return Template;
|
|
@@ -197,10 +197,10 @@ var hasRequiredInternal;
|
|
|
197
197
|
function requireInternal () {
|
|
198
198
|
if (hasRequiredInternal) return Internal;
|
|
199
199
|
hasRequiredInternal = 1;
|
|
200
|
-
(function (exports
|
|
201
|
-
Object.defineProperty(exports
|
|
200
|
+
(function (exports) {
|
|
201
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
202
202
|
var Template = requireTemplate();
|
|
203
|
-
exports
|
|
203
|
+
exports.Template = Template;
|
|
204
204
|
} (Internal));
|
|
205
205
|
return Internal;
|
|
206
206
|
}
|
|
@@ -210,10 +210,10 @@ var hasRequiredDA$1;
|
|
|
210
210
|
function requireDA$1 () {
|
|
211
211
|
if (hasRequiredDA$1) return DA$1;
|
|
212
212
|
hasRequiredDA$1 = 1;
|
|
213
|
-
(function (exports
|
|
214
|
-
Object.defineProperty(exports
|
|
213
|
+
(function (exports) {
|
|
214
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
215
215
|
var Internal = requireInternal();
|
|
216
|
-
exports
|
|
216
|
+
exports.Internal = Internal;
|
|
217
217
|
} (DA$1));
|
|
218
218
|
return DA$1;
|
|
219
219
|
}
|
|
@@ -223,11 +223,11 @@ var hasRequiredLib$2;
|
|
|
223
223
|
function requireLib$2 () {
|
|
224
224
|
if (hasRequiredLib$2) return lib$1;
|
|
225
225
|
hasRequiredLib$2 = 1;
|
|
226
|
-
(function (exports
|
|
227
|
-
Object.defineProperty(exports
|
|
226
|
+
(function (exports) {
|
|
227
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
228
228
|
var DA = requireDA$1();
|
|
229
|
-
exports
|
|
230
|
-
exports
|
|
229
|
+
exports.DA = DA;
|
|
230
|
+
exports.packageId = '9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69';
|
|
231
231
|
} (lib$1));
|
|
232
232
|
return lib$1;
|
|
233
233
|
}
|
|
@@ -251,15 +251,15 @@ var hasRequiredModule$6;
|
|
|
251
251
|
function requireModule$6 () {
|
|
252
252
|
if (hasRequiredModule$6) return module$4;
|
|
253
253
|
hasRequiredModule$6 = 1;
|
|
254
|
-
(function (exports
|
|
255
|
-
Object.defineProperty(exports
|
|
254
|
+
(function (exports) {
|
|
255
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
256
256
|
/* eslint-disable-next-line no-unused-vars */
|
|
257
257
|
var jtv = require$$0;
|
|
258
258
|
/* eslint-disable-next-line no-unused-vars */
|
|
259
259
|
var damlTypes = require$$1;
|
|
260
260
|
|
|
261
261
|
|
|
262
|
-
exports
|
|
262
|
+
exports.RelTime = {
|
|
263
263
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({microseconds: damlTypes.Int.decoder, }); }),
|
|
264
264
|
encode: function (__typed__) {
|
|
265
265
|
return {
|
|
@@ -277,13 +277,13 @@ var hasRequiredTypes;
|
|
|
277
277
|
function requireTypes () {
|
|
278
278
|
if (hasRequiredTypes) return Types;
|
|
279
279
|
hasRequiredTypes = 1;
|
|
280
|
-
(function (exports
|
|
280
|
+
(function (exports) {
|
|
281
281
|
/* eslint-disable-next-line no-unused-vars */
|
|
282
282
|
function __export(m) {
|
|
283
283
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
284
|
-
for (var p in m) if (!exports
|
|
284
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
285
285
|
}
|
|
286
|
-
Object.defineProperty(exports
|
|
286
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
287
287
|
__export(requireModule$6());
|
|
288
288
|
} (Types));
|
|
289
289
|
return Types;
|
|
@@ -294,10 +294,10 @@ var hasRequiredTime;
|
|
|
294
294
|
function requireTime () {
|
|
295
295
|
if (hasRequiredTime) return Time;
|
|
296
296
|
hasRequiredTime = 1;
|
|
297
|
-
(function (exports
|
|
298
|
-
Object.defineProperty(exports
|
|
297
|
+
(function (exports) {
|
|
298
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
299
299
|
var Types = requireTypes();
|
|
300
|
-
exports
|
|
300
|
+
exports.Types = Types;
|
|
301
301
|
} (Time));
|
|
302
302
|
return Time;
|
|
303
303
|
}
|
|
@@ -307,10 +307,10 @@ var hasRequiredDA;
|
|
|
307
307
|
function requireDA () {
|
|
308
308
|
if (hasRequiredDA) return DA;
|
|
309
309
|
hasRequiredDA = 1;
|
|
310
|
-
(function (exports
|
|
311
|
-
Object.defineProperty(exports
|
|
310
|
+
(function (exports) {
|
|
311
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
312
312
|
var Time = requireTime();
|
|
313
|
-
exports
|
|
313
|
+
exports.Time = Time;
|
|
314
314
|
} (DA));
|
|
315
315
|
return DA;
|
|
316
316
|
}
|
|
@@ -320,11 +320,11 @@ var hasRequiredLib$1;
|
|
|
320
320
|
function requireLib$1 () {
|
|
321
321
|
if (hasRequiredLib$1) return lib;
|
|
322
322
|
hasRequiredLib$1 = 1;
|
|
323
|
-
(function (exports
|
|
324
|
-
Object.defineProperty(exports
|
|
323
|
+
(function (exports) {
|
|
324
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
325
325
|
var DA = requireDA();
|
|
326
|
-
exports
|
|
327
|
-
exports
|
|
326
|
+
exports.DA = DA;
|
|
327
|
+
exports.packageId = 'b70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946';
|
|
328
328
|
} (lib));
|
|
329
329
|
return lib;
|
|
330
330
|
}
|
|
@@ -336,8 +336,8 @@ var hasRequiredModule$5;
|
|
|
336
336
|
function requireModule$5 () {
|
|
337
337
|
if (hasRequiredModule$5) return module$3;
|
|
338
338
|
hasRequiredModule$5 = 1;
|
|
339
|
-
(function (exports
|
|
340
|
-
Object.defineProperty(exports
|
|
339
|
+
(function (exports) {
|
|
340
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
341
341
|
/* eslint-disable-next-line no-unused-vars */
|
|
342
342
|
var jtv = require$$0;
|
|
343
343
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -346,13 +346,13 @@ function requireModule$5 () {
|
|
|
346
346
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$2();
|
|
347
347
|
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requireLib$1();
|
|
348
348
|
|
|
349
|
-
exports
|
|
349
|
+
exports.AnyContract = damlTypes.assembleInterface(
|
|
350
350
|
'#token-standard-models:Splice.Api.Token.MetadataV1:AnyContract',
|
|
351
351
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.MetadataV1:AnyContract',
|
|
352
|
-
function () { return exports
|
|
352
|
+
function () { return exports.AnyContractView; },
|
|
353
353
|
{
|
|
354
354
|
Archive: {
|
|
355
|
-
template: function () { return exports
|
|
355
|
+
template: function () { return exports.AnyContract; },
|
|
356
356
|
choiceName: 'Archive',
|
|
357
357
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
358
358
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -363,11 +363,11 @@ function requireModule$5 () {
|
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
exports
|
|
367
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({meta: exports
|
|
366
|
+
exports.ChoiceExecutionMetadata = {
|
|
367
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({meta: exports.Metadata.decoder, }); }),
|
|
368
368
|
encode: function (__typed__) {
|
|
369
369
|
return {
|
|
370
|
-
meta: exports
|
|
370
|
+
meta: exports.Metadata.encode(__typed__.meta),
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
,
|
|
@@ -375,12 +375,12 @@ function requireModule$5 () {
|
|
|
375
375
|
|
|
376
376
|
|
|
377
377
|
|
|
378
|
-
exports
|
|
379
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: exports
|
|
378
|
+
exports.ExtraArgs = {
|
|
379
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: exports.ChoiceContext.decoder, meta: exports.Metadata.decoder, }); }),
|
|
380
380
|
encode: function (__typed__) {
|
|
381
381
|
return {
|
|
382
|
-
context: exports
|
|
383
|
-
meta: exports
|
|
382
|
+
context: exports.ChoiceContext.encode(__typed__.context),
|
|
383
|
+
meta: exports.Metadata.encode(__typed__.meta),
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
,
|
|
@@ -388,7 +388,7 @@ function requireModule$5 () {
|
|
|
388
388
|
|
|
389
389
|
|
|
390
390
|
|
|
391
|
-
exports
|
|
391
|
+
exports.Metadata = {
|
|
392
392
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({values: damlTypes.TextMap(damlTypes.Text).decoder, }); }),
|
|
393
393
|
encode: function (__typed__) {
|
|
394
394
|
return {
|
|
@@ -400,11 +400,11 @@ function requireModule$5 () {
|
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
|
|
403
|
-
exports
|
|
404
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({values: damlTypes.TextMap(exports
|
|
403
|
+
exports.ChoiceContext = {
|
|
404
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({values: damlTypes.TextMap(exports.AnyValue).decoder, }); }),
|
|
405
405
|
encode: function (__typed__) {
|
|
406
406
|
return {
|
|
407
|
-
values: damlTypes.TextMap(exports
|
|
407
|
+
values: damlTypes.TextMap(exports.AnyValue).encode(__typed__.values),
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
410
|
,
|
|
@@ -412,7 +412,7 @@ function requireModule$5 () {
|
|
|
412
412
|
|
|
413
413
|
|
|
414
414
|
|
|
415
|
-
exports
|
|
415
|
+
exports.AnyContractView = {
|
|
416
416
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
417
417
|
encode: function (__typed__) {
|
|
418
418
|
return {
|
|
@@ -423,8 +423,8 @@ function requireModule$5 () {
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
exports
|
|
427
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AV_Text'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('AV_Int'), value: damlTypes.Int.decoder, }), jtv.object({tag: jtv.constant('AV_Decimal'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('AV_Bool'), value: damlTypes.Bool.decoder, }), jtv.object({tag: jtv.constant('AV_Date'), value: damlTypes.Date.decoder, }), jtv.object({tag: jtv.constant('AV_Time'), value: damlTypes.Time.decoder, }), jtv.object({tag: jtv.constant('AV_RelTime'), value: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }), jtv.object({tag: jtv.constant('AV_Party'), value: damlTypes.Party.decoder, }), jtv.object({tag: jtv.constant('AV_ContractId'), value: damlTypes.ContractId(exports
|
|
426
|
+
exports.AnyValue = {
|
|
427
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AV_Text'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('AV_Int'), value: damlTypes.Int.decoder, }), jtv.object({tag: jtv.constant('AV_Decimal'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('AV_Bool'), value: damlTypes.Bool.decoder, }), jtv.object({tag: jtv.constant('AV_Date'), value: damlTypes.Date.decoder, }), jtv.object({tag: jtv.constant('AV_Time'), value: damlTypes.Time.decoder, }), jtv.object({tag: jtv.constant('AV_RelTime'), value: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }), jtv.object({tag: jtv.constant('AV_Party'), value: damlTypes.Party.decoder, }), jtv.object({tag: jtv.constant('AV_ContractId'), value: damlTypes.ContractId(exports.AnyContract).decoder, }), jtv.object({tag: jtv.constant('AV_List'), value: damlTypes.List(exports.AnyValue).decoder, }), jtv.object({tag: jtv.constant('AV_Map'), value: damlTypes.TextMap(exports.AnyValue).decoder, })); }),
|
|
428
428
|
encode: function (__typed__) {
|
|
429
429
|
switch(__typed__.tag) {
|
|
430
430
|
case 'AV_Text': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
|
|
@@ -435,9 +435,9 @@ function requireModule$5 () {
|
|
|
435
435
|
case 'AV_Time': return {tag: __typed__.tag, value: damlTypes.Time.encode(__typed__.value)};
|
|
436
436
|
case 'AV_RelTime': return {tag: __typed__.tag, value: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.value)};
|
|
437
437
|
case 'AV_Party': return {tag: __typed__.tag, value: damlTypes.Party.encode(__typed__.value)};
|
|
438
|
-
case 'AV_ContractId': return {tag: __typed__.tag, value: damlTypes.ContractId(exports
|
|
439
|
-
case 'AV_List': return {tag: __typed__.tag, value: damlTypes.List(exports
|
|
440
|
-
case 'AV_Map': return {tag: __typed__.tag, value: damlTypes.TextMap(exports
|
|
438
|
+
case 'AV_ContractId': return {tag: __typed__.tag, value: damlTypes.ContractId(exports.AnyContract).encode(__typed__.value)};
|
|
439
|
+
case 'AV_List': return {tag: __typed__.tag, value: damlTypes.List(exports.AnyValue).encode(__typed__.value)};
|
|
440
|
+
case 'AV_Map': return {tag: __typed__.tag, value: damlTypes.TextMap(exports.AnyValue).encode(__typed__.value)};
|
|
441
441
|
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AnyValue';
|
|
442
442
|
}
|
|
443
443
|
}
|
|
@@ -452,8 +452,8 @@ var hasRequiredModule$4;
|
|
|
452
452
|
function requireModule$4 () {
|
|
453
453
|
if (hasRequiredModule$4) return module$5;
|
|
454
454
|
hasRequiredModule$4 = 1;
|
|
455
|
-
(function (exports
|
|
456
|
-
Object.defineProperty(exports
|
|
455
|
+
(function (exports) {
|
|
456
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
457
457
|
/* eslint-disable-next-line no-unused-vars */
|
|
458
458
|
var jtv = require$$0;
|
|
459
459
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -464,13 +464,13 @@ function requireModule$4 () {
|
|
|
464
464
|
|
|
465
465
|
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
466
466
|
|
|
467
|
-
exports
|
|
467
|
+
exports.Holding = damlTypes.assembleInterface(
|
|
468
468
|
'#token-standard-models:Splice.Api.Token.HoldingV1:Holding',
|
|
469
469
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.HoldingV1:Holding',
|
|
470
|
-
function () { return exports
|
|
470
|
+
function () { return exports.HoldingView; },
|
|
471
471
|
{
|
|
472
472
|
Archive: {
|
|
473
|
-
template: function () { return exports
|
|
473
|
+
template: function () { return exports.Holding; },
|
|
474
474
|
choiceName: 'Archive',
|
|
475
475
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
476
476
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -481,14 +481,14 @@ function requireModule$4 () {
|
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
|
|
484
|
-
exports
|
|
485
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({owner: damlTypes.Party.decoder, instrumentId: exports
|
|
484
|
+
exports.HoldingView = {
|
|
485
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({owner: damlTypes.Party.decoder, instrumentId: exports.InstrumentId.decoder, amount: damlTypes.Numeric(10).decoder, lock: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.Lock).decoder), meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
486
486
|
encode: function (__typed__) {
|
|
487
487
|
return {
|
|
488
488
|
owner: damlTypes.Party.encode(__typed__.owner),
|
|
489
|
-
instrumentId: exports
|
|
489
|
+
instrumentId: exports.InstrumentId.encode(__typed__.instrumentId),
|
|
490
490
|
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
491
|
-
lock: damlTypes.Optional(exports
|
|
491
|
+
lock: damlTypes.Optional(exports.Lock).encode(__typed__.lock),
|
|
492
492
|
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
493
493
|
};
|
|
494
494
|
}
|
|
@@ -497,7 +497,7 @@ function requireModule$4 () {
|
|
|
497
497
|
|
|
498
498
|
|
|
499
499
|
|
|
500
|
-
exports
|
|
500
|
+
exports.Lock = {
|
|
501
501
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({holders: damlTypes.List(damlTypes.Party).decoder, expiresAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), expiresAfter: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), context: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
502
502
|
encode: function (__typed__) {
|
|
503
503
|
return {
|
|
@@ -512,7 +512,7 @@ function requireModule$4 () {
|
|
|
512
512
|
|
|
513
513
|
|
|
514
514
|
|
|
515
|
-
exports
|
|
515
|
+
exports.InstrumentId = {
|
|
516
516
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, id: damlTypes.Text.decoder, }); }),
|
|
517
517
|
encode: function (__typed__) {
|
|
518
518
|
return {
|
|
@@ -531,8 +531,8 @@ var hasRequiredModule$3;
|
|
|
531
531
|
function requireModule$3 () {
|
|
532
532
|
if (hasRequiredModule$3) return module$6;
|
|
533
533
|
hasRequiredModule$3 = 1;
|
|
534
|
-
(function (exports
|
|
535
|
-
Object.defineProperty(exports
|
|
534
|
+
(function (exports) {
|
|
535
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
536
536
|
/* eslint-disable-next-line no-unused-vars */
|
|
537
537
|
var jtv = require$$0;
|
|
538
538
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -543,13 +543,13 @@ function requireModule$3 () {
|
|
|
543
543
|
var Splice_Api_Token_HoldingV1 = requireModule$4();
|
|
544
544
|
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
545
545
|
|
|
546
|
-
exports
|
|
546
|
+
exports.Allocation = damlTypes.assembleInterface(
|
|
547
547
|
'#token-standard-models:Splice.Api.Token.AllocationV1:Allocation',
|
|
548
548
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.AllocationV1:Allocation',
|
|
549
|
-
function () { return exports
|
|
549
|
+
function () { return exports.AllocationView; },
|
|
550
550
|
{
|
|
551
551
|
Archive: {
|
|
552
|
-
template: function () { return exports
|
|
552
|
+
template: function () { return exports.Allocation; },
|
|
553
553
|
choiceName: 'Archive',
|
|
554
554
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
555
555
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -557,34 +557,34 @@ function requireModule$3 () {
|
|
|
557
557
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
558
558
|
},
|
|
559
559
|
Allocation_Withdraw: {
|
|
560
|
-
template: function () { return exports
|
|
560
|
+
template: function () { return exports.Allocation; },
|
|
561
561
|
choiceName: 'Allocation_Withdraw',
|
|
562
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
563
|
-
argumentEncode: function (__typed__) { return exports
|
|
564
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
565
|
-
resultEncode: function (__typed__) { return exports
|
|
562
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_Withdraw.decoder; }),
|
|
563
|
+
argumentEncode: function (__typed__) { return exports.Allocation_Withdraw.encode(__typed__); },
|
|
564
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_WithdrawResult.decoder; }),
|
|
565
|
+
resultEncode: function (__typed__) { return exports.Allocation_WithdrawResult.encode(__typed__); },
|
|
566
566
|
},
|
|
567
567
|
Allocation_Cancel: {
|
|
568
|
-
template: function () { return exports
|
|
568
|
+
template: function () { return exports.Allocation; },
|
|
569
569
|
choiceName: 'Allocation_Cancel',
|
|
570
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
571
|
-
argumentEncode: function (__typed__) { return exports
|
|
572
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
573
|
-
resultEncode: function (__typed__) { return exports
|
|
570
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_Cancel.decoder; }),
|
|
571
|
+
argumentEncode: function (__typed__) { return exports.Allocation_Cancel.encode(__typed__); },
|
|
572
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_CancelResult.decoder; }),
|
|
573
|
+
resultEncode: function (__typed__) { return exports.Allocation_CancelResult.encode(__typed__); },
|
|
574
574
|
},
|
|
575
575
|
Allocation_ExecuteTransfer: {
|
|
576
|
-
template: function () { return exports
|
|
576
|
+
template: function () { return exports.Allocation; },
|
|
577
577
|
choiceName: 'Allocation_ExecuteTransfer',
|
|
578
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
579
|
-
argumentEncode: function (__typed__) { return exports
|
|
580
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
581
|
-
resultEncode: function (__typed__) { return exports
|
|
578
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_ExecuteTransfer.decoder; }),
|
|
579
|
+
argumentEncode: function (__typed__) { return exports.Allocation_ExecuteTransfer.encode(__typed__); },
|
|
580
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_ExecuteTransferResult.decoder; }),
|
|
581
|
+
resultEncode: function (__typed__) { return exports.Allocation_ExecuteTransferResult.encode(__typed__); },
|
|
582
582
|
},
|
|
583
583
|
});
|
|
584
584
|
|
|
585
585
|
|
|
586
586
|
|
|
587
|
-
exports
|
|
587
|
+
exports.Allocation_WithdrawResult = {
|
|
588
588
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({senderHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
589
589
|
encode: function (__typed__) {
|
|
590
590
|
return {
|
|
@@ -597,7 +597,7 @@ function requireModule$3 () {
|
|
|
597
597
|
|
|
598
598
|
|
|
599
599
|
|
|
600
|
-
exports
|
|
600
|
+
exports.Allocation_CancelResult = {
|
|
601
601
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({senderHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
602
602
|
encode: function (__typed__) {
|
|
603
603
|
return {
|
|
@@ -610,7 +610,7 @@ function requireModule$3 () {
|
|
|
610
610
|
|
|
611
611
|
|
|
612
612
|
|
|
613
|
-
exports
|
|
613
|
+
exports.Allocation_ExecuteTransferResult = {
|
|
614
614
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({senderHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, receiverHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
615
615
|
encode: function (__typed__) {
|
|
616
616
|
return {
|
|
@@ -624,7 +624,7 @@ function requireModule$3 () {
|
|
|
624
624
|
|
|
625
625
|
|
|
626
626
|
|
|
627
|
-
exports
|
|
627
|
+
exports.Allocation_Withdraw = {
|
|
628
628
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
629
629
|
encode: function (__typed__) {
|
|
630
630
|
return {
|
|
@@ -636,7 +636,7 @@ function requireModule$3 () {
|
|
|
636
636
|
|
|
637
637
|
|
|
638
638
|
|
|
639
|
-
exports
|
|
639
|
+
exports.Allocation_Cancel = {
|
|
640
640
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
641
641
|
encode: function (__typed__) {
|
|
642
642
|
return {
|
|
@@ -648,7 +648,7 @@ function requireModule$3 () {
|
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
|
|
651
|
-
exports
|
|
651
|
+
exports.Allocation_ExecuteTransfer = {
|
|
652
652
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
653
653
|
encode: function (__typed__) {
|
|
654
654
|
return {
|
|
@@ -660,11 +660,11 @@ function requireModule$3 () {
|
|
|
660
660
|
|
|
661
661
|
|
|
662
662
|
|
|
663
|
-
exports
|
|
664
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocation: exports
|
|
663
|
+
exports.AllocationView = {
|
|
664
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocation: exports.AllocationSpecification.decoder, holdingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
665
665
|
encode: function (__typed__) {
|
|
666
666
|
return {
|
|
667
|
-
allocation: exports
|
|
667
|
+
allocation: exports.AllocationSpecification.encode(__typed__.allocation),
|
|
668
668
|
holdingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.holdingCids),
|
|
669
669
|
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
670
670
|
};
|
|
@@ -674,13 +674,13 @@ function requireModule$3 () {
|
|
|
674
674
|
|
|
675
675
|
|
|
676
676
|
|
|
677
|
-
exports
|
|
678
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({settlement: exports
|
|
677
|
+
exports.AllocationSpecification = {
|
|
678
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({settlement: exports.SettlementInfo.decoder, transferLegId: damlTypes.Text.decoder, transferLeg: exports.TransferLeg.decoder, }); }),
|
|
679
679
|
encode: function (__typed__) {
|
|
680
680
|
return {
|
|
681
|
-
settlement: exports
|
|
681
|
+
settlement: exports.SettlementInfo.encode(__typed__.settlement),
|
|
682
682
|
transferLegId: damlTypes.Text.encode(__typed__.transferLegId),
|
|
683
|
-
transferLeg: exports
|
|
683
|
+
transferLeg: exports.TransferLeg.encode(__typed__.transferLeg),
|
|
684
684
|
};
|
|
685
685
|
}
|
|
686
686
|
,
|
|
@@ -688,7 +688,7 @@ function requireModule$3 () {
|
|
|
688
688
|
|
|
689
689
|
|
|
690
690
|
|
|
691
|
-
exports
|
|
691
|
+
exports.TransferLeg = {
|
|
692
692
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, amount: damlTypes.Numeric(10).decoder, instrumentId: Splice_Api_Token_HoldingV1.InstrumentId.decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
693
693
|
encode: function (__typed__) {
|
|
694
694
|
return {
|
|
@@ -704,12 +704,12 @@ function requireModule$3 () {
|
|
|
704
704
|
|
|
705
705
|
|
|
706
706
|
|
|
707
|
-
exports
|
|
708
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({executor: damlTypes.Party.decoder, settlementRef: exports
|
|
707
|
+
exports.SettlementInfo = {
|
|
708
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({executor: damlTypes.Party.decoder, settlementRef: exports.Reference.decoder, requestedAt: damlTypes.Time.decoder, allocateBefore: damlTypes.Time.decoder, settleBefore: damlTypes.Time.decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
709
709
|
encode: function (__typed__) {
|
|
710
710
|
return {
|
|
711
711
|
executor: damlTypes.Party.encode(__typed__.executor),
|
|
712
|
-
settlementRef: exports
|
|
712
|
+
settlementRef: exports.Reference.encode(__typed__.settlementRef),
|
|
713
713
|
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
714
714
|
allocateBefore: damlTypes.Time.encode(__typed__.allocateBefore),
|
|
715
715
|
settleBefore: damlTypes.Time.encode(__typed__.settleBefore),
|
|
@@ -721,7 +721,7 @@ function requireModule$3 () {
|
|
|
721
721
|
|
|
722
722
|
|
|
723
723
|
|
|
724
|
-
exports
|
|
724
|
+
exports.Reference = {
|
|
725
725
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, cid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Splice_Api_Token_MetadataV1.AnyContract)).decoder), }); }),
|
|
726
726
|
encode: function (__typed__) {
|
|
727
727
|
return {
|
|
@@ -740,8 +740,8 @@ var hasRequiredModule$2;
|
|
|
740
740
|
function requireModule$2 () {
|
|
741
741
|
if (hasRequiredModule$2) return module$8;
|
|
742
742
|
hasRequiredModule$2 = 1;
|
|
743
|
-
(function (exports
|
|
744
|
-
Object.defineProperty(exports
|
|
743
|
+
(function (exports) {
|
|
744
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
745
745
|
/* eslint-disable-next-line no-unused-vars */
|
|
746
746
|
var jtv = require$$0;
|
|
747
747
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -753,13 +753,13 @@ function requireModule$2 () {
|
|
|
753
753
|
var Splice_Api_Token_HoldingV1 = requireModule$4();
|
|
754
754
|
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
755
755
|
|
|
756
|
-
exports
|
|
756
|
+
exports.AllocationFactory = damlTypes.assembleInterface(
|
|
757
757
|
'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
758
758
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
759
|
-
function () { return exports
|
|
759
|
+
function () { return exports.AllocationFactoryView; },
|
|
760
760
|
{
|
|
761
761
|
Archive: {
|
|
762
|
-
template: function () { return exports
|
|
762
|
+
template: function () { return exports.AllocationFactory; },
|
|
763
763
|
choiceName: 'Archive',
|
|
764
764
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
765
765
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -767,31 +767,31 @@ function requireModule$2 () {
|
|
|
767
767
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
768
768
|
},
|
|
769
769
|
AllocationFactory_Allocate: {
|
|
770
|
-
template: function () { return exports
|
|
770
|
+
template: function () { return exports.AllocationFactory; },
|
|
771
771
|
choiceName: 'AllocationFactory_Allocate',
|
|
772
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
773
|
-
argumentEncode: function (__typed__) { return exports
|
|
774
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
775
|
-
resultEncode: function (__typed__) { return exports
|
|
772
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_Allocate.decoder; }),
|
|
773
|
+
argumentEncode: function (__typed__) { return exports.AllocationFactory_Allocate.encode(__typed__); },
|
|
774
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
775
|
+
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
776
776
|
},
|
|
777
777
|
AllocationFactory_PublicFetch: {
|
|
778
|
-
template: function () { return exports
|
|
778
|
+
template: function () { return exports.AllocationFactory; },
|
|
779
779
|
choiceName: 'AllocationFactory_PublicFetch',
|
|
780
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
781
|
-
argumentEncode: function (__typed__) { return exports
|
|
782
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
783
|
-
resultEncode: function (__typed__) { return exports
|
|
780
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_PublicFetch.decoder; }),
|
|
781
|
+
argumentEncode: function (__typed__) { return exports.AllocationFactory_PublicFetch.encode(__typed__); },
|
|
782
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactoryView.decoder; }),
|
|
783
|
+
resultEncode: function (__typed__) { return exports.AllocationFactoryView.encode(__typed__); },
|
|
784
784
|
},
|
|
785
785
|
});
|
|
786
786
|
|
|
787
787
|
|
|
788
|
-
exports
|
|
788
|
+
exports.AllocationInstruction = damlTypes.assembleInterface(
|
|
789
789
|
'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
790
790
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
791
|
-
function () { return exports
|
|
791
|
+
function () { return exports.AllocationInstructionView; },
|
|
792
792
|
{
|
|
793
793
|
Archive: {
|
|
794
|
-
template: function () { return exports
|
|
794
|
+
template: function () { return exports.AllocationInstruction; },
|
|
795
795
|
choiceName: 'Archive',
|
|
796
796
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
797
797
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -799,41 +799,41 @@ function requireModule$2 () {
|
|
|
799
799
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
800
800
|
},
|
|
801
801
|
AllocationInstruction_Withdraw: {
|
|
802
|
-
template: function () { return exports
|
|
802
|
+
template: function () { return exports.AllocationInstruction; },
|
|
803
803
|
choiceName: 'AllocationInstruction_Withdraw',
|
|
804
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
805
|
-
argumentEncode: function (__typed__) { return exports
|
|
806
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
807
|
-
resultEncode: function (__typed__) { return exports
|
|
804
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Withdraw.decoder; }),
|
|
805
|
+
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Withdraw.encode(__typed__); },
|
|
806
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
807
|
+
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
808
808
|
},
|
|
809
809
|
AllocationInstruction_Update: {
|
|
810
|
-
template: function () { return exports
|
|
810
|
+
template: function () { return exports.AllocationInstruction; },
|
|
811
811
|
choiceName: 'AllocationInstruction_Update',
|
|
812
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
813
|
-
argumentEncode: function (__typed__) { return exports
|
|
814
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
815
|
-
resultEncode: function (__typed__) { return exports
|
|
812
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Update.decoder; }),
|
|
813
|
+
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Update.encode(__typed__); },
|
|
814
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
815
|
+
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
816
816
|
},
|
|
817
817
|
});
|
|
818
818
|
|
|
819
819
|
|
|
820
820
|
|
|
821
|
-
exports
|
|
822
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AllocationInstructionResult_Pending'), value: exports
|
|
821
|
+
exports.AllocationInstructionResult_Output = {
|
|
822
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AllocationInstructionResult_Pending'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Completed'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
|
|
823
823
|
encode: function (__typed__) {
|
|
824
824
|
switch(__typed__.tag) {
|
|
825
|
-
case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports
|
|
826
|
-
case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports
|
|
825
|
+
case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
|
|
826
|
+
case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
|
|
827
827
|
case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
828
828
|
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
,
|
|
832
832
|
AllocationInstructionResult_Pending:({
|
|
833
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationInstructionCid: damlTypes.ContractId(exports
|
|
833
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder, }); }),
|
|
834
834
|
encode: function (__typed__) {
|
|
835
835
|
return {
|
|
836
|
-
allocationInstructionCid: damlTypes.ContractId(exports
|
|
836
|
+
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
839
|
,
|
|
@@ -855,11 +855,11 @@ function requireModule$2 () {
|
|
|
855
855
|
|
|
856
856
|
|
|
857
857
|
|
|
858
|
-
exports
|
|
859
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports
|
|
858
|
+
exports.AllocationInstructionResult = {
|
|
859
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.AllocationInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
860
860
|
encode: function (__typed__) {
|
|
861
861
|
return {
|
|
862
|
-
output: exports
|
|
862
|
+
output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
|
|
863
863
|
senderChangeCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.senderChangeCids),
|
|
864
864
|
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
865
865
|
};
|
|
@@ -869,7 +869,7 @@ function requireModule$2 () {
|
|
|
869
869
|
|
|
870
870
|
|
|
871
871
|
|
|
872
|
-
exports
|
|
872
|
+
exports.AllocationFactory_PublicFetch = {
|
|
873
873
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, actor: damlTypes.Party.decoder, }); }),
|
|
874
874
|
encode: function (__typed__) {
|
|
875
875
|
return {
|
|
@@ -882,7 +882,7 @@ function requireModule$2 () {
|
|
|
882
882
|
|
|
883
883
|
|
|
884
884
|
|
|
885
|
-
exports
|
|
885
|
+
exports.AllocationFactory_Allocate = {
|
|
886
886
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, allocation: Splice_Api_Token_AllocationV1.AllocationSpecification.decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
887
887
|
encode: function (__typed__) {
|
|
888
888
|
return {
|
|
@@ -898,7 +898,7 @@ function requireModule$2 () {
|
|
|
898
898
|
|
|
899
899
|
|
|
900
900
|
|
|
901
|
-
exports
|
|
901
|
+
exports.AllocationFactoryView = {
|
|
902
902
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
903
903
|
encode: function (__typed__) {
|
|
904
904
|
return {
|
|
@@ -911,7 +911,7 @@ function requireModule$2 () {
|
|
|
911
911
|
|
|
912
912
|
|
|
913
913
|
|
|
914
|
-
exports
|
|
914
|
+
exports.AllocationInstruction_Update = {
|
|
915
915
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
916
916
|
encode: function (__typed__) {
|
|
917
917
|
return {
|
|
@@ -924,7 +924,7 @@ function requireModule$2 () {
|
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
|
|
927
|
-
exports
|
|
927
|
+
exports.AllocationInstruction_Withdraw = {
|
|
928
928
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
929
929
|
encode: function (__typed__) {
|
|
930
930
|
return {
|
|
@@ -936,11 +936,11 @@ function requireModule$2 () {
|
|
|
936
936
|
|
|
937
937
|
|
|
938
938
|
|
|
939
|
-
exports
|
|
940
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports
|
|
939
|
+
exports.AllocationInstructionView = {
|
|
940
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).decoder), allocation: Splice_Api_Token_AllocationV1.AllocationSpecification.decoder, pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
941
941
|
encode: function (__typed__) {
|
|
942
942
|
return {
|
|
943
|
-
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports
|
|
943
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).encode(__typed__.originalInstructionCid),
|
|
944
944
|
allocation: Splice_Api_Token_AllocationV1.AllocationSpecification.encode(__typed__.allocation),
|
|
945
945
|
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
946
946
|
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
@@ -959,13 +959,13 @@ var hasRequiredAllocationInstructionV1;
|
|
|
959
959
|
function requireAllocationInstructionV1 () {
|
|
960
960
|
if (hasRequiredAllocationInstructionV1) return AllocationInstructionV1$1;
|
|
961
961
|
hasRequiredAllocationInstructionV1 = 1;
|
|
962
|
-
(function (exports
|
|
962
|
+
(function (exports) {
|
|
963
963
|
/* eslint-disable-next-line no-unused-vars */
|
|
964
964
|
function __export(m) {
|
|
965
965
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
966
|
-
for (var p in m) if (!exports
|
|
966
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
967
967
|
}
|
|
968
|
-
Object.defineProperty(exports
|
|
968
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
969
969
|
__export(requireModule$2());
|
|
970
970
|
} (AllocationInstructionV1$1));
|
|
971
971
|
return AllocationInstructionV1$1;
|
|
@@ -980,8 +980,8 @@ var hasRequiredModule$1;
|
|
|
980
980
|
function requireModule$1 () {
|
|
981
981
|
if (hasRequiredModule$1) return module$2;
|
|
982
982
|
hasRequiredModule$1 = 1;
|
|
983
|
-
(function (exports
|
|
984
|
-
Object.defineProperty(exports
|
|
983
|
+
(function (exports) {
|
|
984
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
985
985
|
/* eslint-disable-next-line no-unused-vars */
|
|
986
986
|
var jtv = require$$0;
|
|
987
987
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -992,13 +992,13 @@ function requireModule$1 () {
|
|
|
992
992
|
var Splice_Api_Token_AllocationV1 = requireModule$3();
|
|
993
993
|
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
994
994
|
|
|
995
|
-
exports
|
|
995
|
+
exports.AllocationRequest = damlTypes.assembleInterface(
|
|
996
996
|
'#token-standard-models:Splice.Api.Token.AllocationRequestV1:AllocationRequest',
|
|
997
997
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.AllocationRequestV1:AllocationRequest',
|
|
998
|
-
function () { return exports
|
|
998
|
+
function () { return exports.AllocationRequestView; },
|
|
999
999
|
{
|
|
1000
1000
|
Archive: {
|
|
1001
|
-
template: function () { return exports
|
|
1001
|
+
template: function () { return exports.AllocationRequest; },
|
|
1002
1002
|
choiceName: 'Archive',
|
|
1003
1003
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
1004
1004
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -1006,18 +1006,18 @@ function requireModule$1 () {
|
|
|
1006
1006
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
1007
1007
|
},
|
|
1008
1008
|
AllocationRequest_Reject: {
|
|
1009
|
-
template: function () { return exports
|
|
1009
|
+
template: function () { return exports.AllocationRequest; },
|
|
1010
1010
|
choiceName: 'AllocationRequest_Reject',
|
|
1011
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1012
|
-
argumentEncode: function (__typed__) { return exports
|
|
1011
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationRequest_Reject.decoder; }),
|
|
1012
|
+
argumentEncode: function (__typed__) { return exports.AllocationRequest_Reject.encode(__typed__); },
|
|
1013
1013
|
resultDecoder: damlTypes.lazyMemo(function () { return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata.decoder; }),
|
|
1014
1014
|
resultEncode: function (__typed__) { return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata.encode(__typed__); },
|
|
1015
1015
|
},
|
|
1016
1016
|
AllocationRequest_Withdraw: {
|
|
1017
|
-
template: function () { return exports
|
|
1017
|
+
template: function () { return exports.AllocationRequest; },
|
|
1018
1018
|
choiceName: 'AllocationRequest_Withdraw',
|
|
1019
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1020
|
-
argumentEncode: function (__typed__) { return exports
|
|
1019
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationRequest_Withdraw.decoder; }),
|
|
1020
|
+
argumentEncode: function (__typed__) { return exports.AllocationRequest_Withdraw.encode(__typed__); },
|
|
1021
1021
|
resultDecoder: damlTypes.lazyMemo(function () { return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata.decoder; }),
|
|
1022
1022
|
resultEncode: function (__typed__) { return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata.encode(__typed__); },
|
|
1023
1023
|
},
|
|
@@ -1025,7 +1025,7 @@ function requireModule$1 () {
|
|
|
1025
1025
|
|
|
1026
1026
|
|
|
1027
1027
|
|
|
1028
|
-
exports
|
|
1028
|
+
exports.AllocationRequestView = {
|
|
1029
1029
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({settlement: Splice_Api_Token_AllocationV1.SettlementInfo.decoder, transferLegs: damlTypes.TextMap(Splice_Api_Token_AllocationV1.TransferLeg).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
1030
1030
|
encode: function (__typed__) {
|
|
1031
1031
|
return {
|
|
@@ -1039,7 +1039,7 @@ function requireModule$1 () {
|
|
|
1039
1039
|
|
|
1040
1040
|
|
|
1041
1041
|
|
|
1042
|
-
exports
|
|
1042
|
+
exports.AllocationRequest_Withdraw = {
|
|
1043
1043
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1044
1044
|
encode: function (__typed__) {
|
|
1045
1045
|
return {
|
|
@@ -1051,7 +1051,7 @@ function requireModule$1 () {
|
|
|
1051
1051
|
|
|
1052
1052
|
|
|
1053
1053
|
|
|
1054
|
-
exports
|
|
1054
|
+
exports.AllocationRequest_Reject = {
|
|
1055
1055
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1056
1056
|
encode: function (__typed__) {
|
|
1057
1057
|
return {
|
|
@@ -1070,13 +1070,13 @@ var hasRequiredAllocationRequestV1;
|
|
|
1070
1070
|
function requireAllocationRequestV1 () {
|
|
1071
1071
|
if (hasRequiredAllocationRequestV1) return AllocationRequestV1$1;
|
|
1072
1072
|
hasRequiredAllocationRequestV1 = 1;
|
|
1073
|
-
(function (exports
|
|
1073
|
+
(function (exports) {
|
|
1074
1074
|
/* eslint-disable-next-line no-unused-vars */
|
|
1075
1075
|
function __export(m) {
|
|
1076
1076
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
1077
|
-
for (var p in m) if (!exports
|
|
1077
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
1078
1078
|
}
|
|
1079
|
-
Object.defineProperty(exports
|
|
1079
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1080
1080
|
__export(requireModule$1());
|
|
1081
1081
|
} (AllocationRequestV1$1));
|
|
1082
1082
|
return AllocationRequestV1$1;
|
|
@@ -1089,13 +1089,13 @@ var hasRequiredAllocationV1;
|
|
|
1089
1089
|
function requireAllocationV1 () {
|
|
1090
1090
|
if (hasRequiredAllocationV1) return AllocationV1$1;
|
|
1091
1091
|
hasRequiredAllocationV1 = 1;
|
|
1092
|
-
(function (exports
|
|
1092
|
+
(function (exports) {
|
|
1093
1093
|
/* eslint-disable-next-line no-unused-vars */
|
|
1094
1094
|
function __export(m) {
|
|
1095
1095
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
1096
|
-
for (var p in m) if (!exports
|
|
1096
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
1097
1097
|
}
|
|
1098
|
-
Object.defineProperty(exports
|
|
1098
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1099
1099
|
__export(requireModule$3());
|
|
1100
1100
|
} (AllocationV1$1));
|
|
1101
1101
|
return AllocationV1$1;
|
|
@@ -1108,13 +1108,13 @@ var hasRequiredHoldingV1;
|
|
|
1108
1108
|
function requireHoldingV1 () {
|
|
1109
1109
|
if (hasRequiredHoldingV1) return HoldingV1$1;
|
|
1110
1110
|
hasRequiredHoldingV1 = 1;
|
|
1111
|
-
(function (exports
|
|
1111
|
+
(function (exports) {
|
|
1112
1112
|
/* eslint-disable-next-line no-unused-vars */
|
|
1113
1113
|
function __export(m) {
|
|
1114
1114
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
1115
|
-
for (var p in m) if (!exports
|
|
1115
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
1116
1116
|
}
|
|
1117
|
-
Object.defineProperty(exports
|
|
1117
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1118
1118
|
__export(requireModule$4());
|
|
1119
1119
|
} (HoldingV1$1));
|
|
1120
1120
|
return HoldingV1$1;
|
|
@@ -1127,13 +1127,13 @@ var hasRequiredMetadataV1;
|
|
|
1127
1127
|
function requireMetadataV1 () {
|
|
1128
1128
|
if (hasRequiredMetadataV1) return MetadataV1$1;
|
|
1129
1129
|
hasRequiredMetadataV1 = 1;
|
|
1130
|
-
(function (exports
|
|
1130
|
+
(function (exports) {
|
|
1131
1131
|
/* eslint-disable-next-line no-unused-vars */
|
|
1132
1132
|
function __export(m) {
|
|
1133
1133
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
1134
|
-
for (var p in m) if (!exports
|
|
1134
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
1135
1135
|
}
|
|
1136
|
-
Object.defineProperty(exports
|
|
1136
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1137
1137
|
__export(requireModule$5());
|
|
1138
1138
|
} (MetadataV1$1));
|
|
1139
1139
|
return MetadataV1$1;
|
|
@@ -1148,8 +1148,8 @@ var hasRequiredModule;
|
|
|
1148
1148
|
function requireModule () {
|
|
1149
1149
|
if (hasRequiredModule) return module$1;
|
|
1150
1150
|
hasRequiredModule = 1;
|
|
1151
|
-
(function (exports
|
|
1152
|
-
Object.defineProperty(exports
|
|
1151
|
+
(function (exports) {
|
|
1152
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1153
1153
|
/* eslint-disable-next-line no-unused-vars */
|
|
1154
1154
|
var jtv = require$$0;
|
|
1155
1155
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -1160,13 +1160,13 @@ function requireModule () {
|
|
|
1160
1160
|
var Splice_Api_Token_HoldingV1 = requireModule$4();
|
|
1161
1161
|
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
1162
1162
|
|
|
1163
|
-
exports
|
|
1163
|
+
exports.TransferFactory = damlTypes.assembleInterface(
|
|
1164
1164
|
'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
1165
1165
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
1166
|
-
function () { return exports
|
|
1166
|
+
function () { return exports.TransferFactoryView; },
|
|
1167
1167
|
{
|
|
1168
1168
|
Archive: {
|
|
1169
|
-
template: function () { return exports
|
|
1169
|
+
template: function () { return exports.TransferFactory; },
|
|
1170
1170
|
choiceName: 'Archive',
|
|
1171
1171
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
1172
1172
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -1174,31 +1174,31 @@ function requireModule () {
|
|
|
1174
1174
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
1175
1175
|
},
|
|
1176
1176
|
TransferFactory_Transfer: {
|
|
1177
|
-
template: function () { return exports
|
|
1177
|
+
template: function () { return exports.TransferFactory; },
|
|
1178
1178
|
choiceName: 'TransferFactory_Transfer',
|
|
1179
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1180
|
-
argumentEncode: function (__typed__) { return exports
|
|
1181
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1182
|
-
resultEncode: function (__typed__) { return exports
|
|
1179
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_Transfer.decoder; }),
|
|
1180
|
+
argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
|
|
1181
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
1182
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
1183
1183
|
},
|
|
1184
1184
|
TransferFactory_PublicFetch: {
|
|
1185
|
-
template: function () { return exports
|
|
1185
|
+
template: function () { return exports.TransferFactory; },
|
|
1186
1186
|
choiceName: 'TransferFactory_PublicFetch',
|
|
1187
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1188
|
-
argumentEncode: function (__typed__) { return exports
|
|
1189
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1190
|
-
resultEncode: function (__typed__) { return exports
|
|
1187
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_PublicFetch.decoder; }),
|
|
1188
|
+
argumentEncode: function (__typed__) { return exports.TransferFactory_PublicFetch.encode(__typed__); },
|
|
1189
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactoryView.decoder; }),
|
|
1190
|
+
resultEncode: function (__typed__) { return exports.TransferFactoryView.encode(__typed__); },
|
|
1191
1191
|
},
|
|
1192
1192
|
});
|
|
1193
1193
|
|
|
1194
1194
|
|
|
1195
|
-
exports
|
|
1195
|
+
exports.TransferInstruction = damlTypes.assembleInterface(
|
|
1196
1196
|
'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
1197
1197
|
'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
1198
|
-
function () { return exports
|
|
1198
|
+
function () { return exports.TransferInstructionView; },
|
|
1199
1199
|
{
|
|
1200
1200
|
Archive: {
|
|
1201
|
-
template: function () { return exports
|
|
1201
|
+
template: function () { return exports.TransferInstruction; },
|
|
1202
1202
|
choiceName: 'Archive',
|
|
1203
1203
|
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
1204
1204
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
@@ -1206,42 +1206,42 @@ function requireModule () {
|
|
|
1206
1206
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
1207
1207
|
},
|
|
1208
1208
|
TransferInstruction_Accept: {
|
|
1209
|
-
template: function () { return exports
|
|
1209
|
+
template: function () { return exports.TransferInstruction; },
|
|
1210
1210
|
choiceName: 'TransferInstruction_Accept',
|
|
1211
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1212
|
-
argumentEncode: function (__typed__) { return exports
|
|
1213
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1214
|
-
resultEncode: function (__typed__) { return exports
|
|
1211
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Accept.decoder; }),
|
|
1212
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Accept.encode(__typed__); },
|
|
1213
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
1214
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
1215
1215
|
},
|
|
1216
1216
|
TransferInstruction_Reject: {
|
|
1217
|
-
template: function () { return exports
|
|
1217
|
+
template: function () { return exports.TransferInstruction; },
|
|
1218
1218
|
choiceName: 'TransferInstruction_Reject',
|
|
1219
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1220
|
-
argumentEncode: function (__typed__) { return exports
|
|
1221
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1222
|
-
resultEncode: function (__typed__) { return exports
|
|
1219
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Reject.decoder; }),
|
|
1220
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Reject.encode(__typed__); },
|
|
1221
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
1222
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
1223
1223
|
},
|
|
1224
1224
|
TransferInstruction_Withdraw: {
|
|
1225
|
-
template: function () { return exports
|
|
1225
|
+
template: function () { return exports.TransferInstruction; },
|
|
1226
1226
|
choiceName: 'TransferInstruction_Withdraw',
|
|
1227
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1228
|
-
argumentEncode: function (__typed__) { return exports
|
|
1229
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1230
|
-
resultEncode: function (__typed__) { return exports
|
|
1227
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Withdraw.decoder; }),
|
|
1228
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
|
|
1229
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
1230
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
1231
1231
|
},
|
|
1232
1232
|
TransferInstruction_Update: {
|
|
1233
|
-
template: function () { return exports
|
|
1233
|
+
template: function () { return exports.TransferInstruction; },
|
|
1234
1234
|
choiceName: 'TransferInstruction_Update',
|
|
1235
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1236
|
-
argumentEncode: function (__typed__) { return exports
|
|
1237
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports
|
|
1238
|
-
resultEncode: function (__typed__) { return exports
|
|
1235
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Update.decoder; }),
|
|
1236
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Update.encode(__typed__); },
|
|
1237
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
1238
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
1239
1239
|
},
|
|
1240
1240
|
});
|
|
1241
1241
|
|
|
1242
1242
|
|
|
1243
1243
|
|
|
1244
|
-
exports
|
|
1244
|
+
exports.TransferFactoryView = {
|
|
1245
1245
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
1246
1246
|
encode: function (__typed__) {
|
|
1247
1247
|
return {
|
|
@@ -1254,7 +1254,7 @@ function requireModule () {
|
|
|
1254
1254
|
|
|
1255
1255
|
|
|
1256
1256
|
|
|
1257
|
-
exports
|
|
1257
|
+
exports.TransferFactory_PublicFetch = {
|
|
1258
1258
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, actor: damlTypes.Party.decoder, }); }),
|
|
1259
1259
|
encode: function (__typed__) {
|
|
1260
1260
|
return {
|
|
@@ -1267,12 +1267,12 @@ function requireModule () {
|
|
|
1267
1267
|
|
|
1268
1268
|
|
|
1269
1269
|
|
|
1270
|
-
exports
|
|
1271
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, transfer: exports
|
|
1270
|
+
exports.TransferFactory_Transfer = {
|
|
1271
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, transfer: exports.Transfer.decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1272
1272
|
encode: function (__typed__) {
|
|
1273
1273
|
return {
|
|
1274
1274
|
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
1275
|
-
transfer: exports
|
|
1275
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
1276
1276
|
extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
1277
1277
|
};
|
|
1278
1278
|
}
|
|
@@ -1281,7 +1281,7 @@ function requireModule () {
|
|
|
1281
1281
|
|
|
1282
1282
|
|
|
1283
1283
|
|
|
1284
|
-
exports
|
|
1284
|
+
exports.TransferInstruction_Update = {
|
|
1285
1285
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1286
1286
|
encode: function (__typed__) {
|
|
1287
1287
|
return {
|
|
@@ -1294,7 +1294,7 @@ function requireModule () {
|
|
|
1294
1294
|
|
|
1295
1295
|
|
|
1296
1296
|
|
|
1297
|
-
exports
|
|
1297
|
+
exports.TransferInstruction_Withdraw = {
|
|
1298
1298
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1299
1299
|
encode: function (__typed__) {
|
|
1300
1300
|
return {
|
|
@@ -1306,7 +1306,7 @@ function requireModule () {
|
|
|
1306
1306
|
|
|
1307
1307
|
|
|
1308
1308
|
|
|
1309
|
-
exports
|
|
1309
|
+
exports.TransferInstruction_Reject = {
|
|
1310
1310
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1311
1311
|
encode: function (__typed__) {
|
|
1312
1312
|
return {
|
|
@@ -1318,7 +1318,7 @@ function requireModule () {
|
|
|
1318
1318
|
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
-
exports
|
|
1321
|
+
exports.TransferInstruction_Accept = {
|
|
1322
1322
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
1323
1323
|
encode: function (__typed__) {
|
|
1324
1324
|
return {
|
|
@@ -1330,13 +1330,13 @@ function requireModule () {
|
|
|
1330
1330
|
|
|
1331
1331
|
|
|
1332
1332
|
|
|
1333
|
-
exports
|
|
1334
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports
|
|
1333
|
+
exports.TransferInstructionView = {
|
|
1334
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).decoder), transfer: exports.Transfer.decoder, status: exports.TransferInstructionStatus.decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
1335
1335
|
encode: function (__typed__) {
|
|
1336
1336
|
return {
|
|
1337
|
-
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports
|
|
1338
|
-
transfer: exports
|
|
1339
|
-
status: exports
|
|
1337
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).encode(__typed__.originalInstructionCid),
|
|
1338
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
1339
|
+
status: exports.TransferInstructionStatus.encode(__typed__.status),
|
|
1340
1340
|
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
1341
1341
|
};
|
|
1342
1342
|
}
|
|
@@ -1345,12 +1345,12 @@ function requireModule () {
|
|
|
1345
1345
|
|
|
1346
1346
|
|
|
1347
1347
|
|
|
1348
|
-
exports
|
|
1349
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferPendingReceiverAcceptance'), value: damlTypes.Unit.decoder, }), jtv.object({tag: jtv.constant('TransferPendingInternalWorkflow'), value: exports
|
|
1348
|
+
exports.TransferInstructionStatus = {
|
|
1349
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferPendingReceiverAcceptance'), value: damlTypes.Unit.decoder, }), jtv.object({tag: jtv.constant('TransferPendingInternalWorkflow'), value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.decoder, })); }),
|
|
1350
1350
|
encode: function (__typed__) {
|
|
1351
1351
|
switch(__typed__.tag) {
|
|
1352
1352
|
case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
1353
|
-
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports
|
|
1353
|
+
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
|
|
1354
1354
|
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
@@ -1370,22 +1370,22 @@ function requireModule () {
|
|
|
1370
1370
|
|
|
1371
1371
|
|
|
1372
1372
|
|
|
1373
|
-
exports
|
|
1374
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferInstructionResult_Pending'), value: exports
|
|
1373
|
+
exports.TransferInstructionResult_Output = {
|
|
1374
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferInstructionResult_Pending'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Completed'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
|
|
1375
1375
|
encode: function (__typed__) {
|
|
1376
1376
|
switch(__typed__.tag) {
|
|
1377
|
-
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports
|
|
1378
|
-
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports
|
|
1377
|
+
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
|
|
1378
|
+
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
|
|
1379
1379
|
case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
1380
1380
|
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
,
|
|
1384
1384
|
TransferInstructionResult_Pending:({
|
|
1385
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferInstructionCid: damlTypes.ContractId(exports
|
|
1385
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder, }); }),
|
|
1386
1386
|
encode: function (__typed__) {
|
|
1387
1387
|
return {
|
|
1388
|
-
transferInstructionCid: damlTypes.ContractId(exports
|
|
1388
|
+
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
|
|
1389
1389
|
};
|
|
1390
1390
|
}
|
|
1391
1391
|
,
|
|
@@ -1407,11 +1407,11 @@ function requireModule () {
|
|
|
1407
1407
|
|
|
1408
1408
|
|
|
1409
1409
|
|
|
1410
|
-
exports
|
|
1411
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports
|
|
1410
|
+
exports.TransferInstructionResult = {
|
|
1411
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.TransferInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
1412
1412
|
encode: function (__typed__) {
|
|
1413
1413
|
return {
|
|
1414
|
-
output: exports
|
|
1414
|
+
output: exports.TransferInstructionResult_Output.encode(__typed__.output),
|
|
1415
1415
|
senderChangeCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.senderChangeCids),
|
|
1416
1416
|
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
1417
1417
|
};
|
|
@@ -1421,7 +1421,7 @@ function requireModule () {
|
|
|
1421
1421
|
|
|
1422
1422
|
|
|
1423
1423
|
|
|
1424
|
-
exports
|
|
1424
|
+
exports.Transfer = {
|
|
1425
1425
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, amount: damlTypes.Numeric(10).decoder, instrumentId: Splice_Api_Token_HoldingV1.InstrumentId.decoder, requestedAt: damlTypes.Time.decoder, executeBefore: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, meta: Splice_Api_Token_MetadataV1.Metadata.decoder, }); }),
|
|
1426
1426
|
encode: function (__typed__) {
|
|
1427
1427
|
return {
|
|
@@ -1446,13 +1446,13 @@ var hasRequiredTransferInstructionV1;
|
|
|
1446
1446
|
function requireTransferInstructionV1 () {
|
|
1447
1447
|
if (hasRequiredTransferInstructionV1) return TransferInstructionV1$1;
|
|
1448
1448
|
hasRequiredTransferInstructionV1 = 1;
|
|
1449
|
-
(function (exports
|
|
1449
|
+
(function (exports) {
|
|
1450
1450
|
/* eslint-disable-next-line no-unused-vars */
|
|
1451
1451
|
function __export(m) {
|
|
1452
1452
|
/* eslint-disable-next-line no-prototype-builtins */
|
|
1453
|
-
for (var p in m) if (!exports
|
|
1453
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
1454
1454
|
}
|
|
1455
|
-
Object.defineProperty(exports
|
|
1455
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1456
1456
|
__export(requireModule());
|
|
1457
1457
|
} (TransferInstructionV1$1));
|
|
1458
1458
|
return TransferInstructionV1$1;
|
|
@@ -1463,20 +1463,20 @@ var hasRequiredToken;
|
|
|
1463
1463
|
function requireToken () {
|
|
1464
1464
|
if (hasRequiredToken) return Token;
|
|
1465
1465
|
hasRequiredToken = 1;
|
|
1466
|
-
(function (exports
|
|
1467
|
-
Object.defineProperty(exports
|
|
1466
|
+
(function (exports) {
|
|
1467
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1468
1468
|
var AllocationInstructionV1 = requireAllocationInstructionV1();
|
|
1469
|
-
exports
|
|
1469
|
+
exports.AllocationInstructionV1 = AllocationInstructionV1;
|
|
1470
1470
|
var AllocationRequestV1 = requireAllocationRequestV1();
|
|
1471
|
-
exports
|
|
1471
|
+
exports.AllocationRequestV1 = AllocationRequestV1;
|
|
1472
1472
|
var AllocationV1 = requireAllocationV1();
|
|
1473
|
-
exports
|
|
1473
|
+
exports.AllocationV1 = AllocationV1;
|
|
1474
1474
|
var HoldingV1 = requireHoldingV1();
|
|
1475
|
-
exports
|
|
1475
|
+
exports.HoldingV1 = HoldingV1;
|
|
1476
1476
|
var MetadataV1 = requireMetadataV1();
|
|
1477
|
-
exports
|
|
1477
|
+
exports.MetadataV1 = MetadataV1;
|
|
1478
1478
|
var TransferInstructionV1 = requireTransferInstructionV1();
|
|
1479
|
-
exports
|
|
1479
|
+
exports.TransferInstructionV1 = TransferInstructionV1;
|
|
1480
1480
|
} (Token));
|
|
1481
1481
|
return Token;
|
|
1482
1482
|
}
|
|
@@ -1486,10 +1486,10 @@ var hasRequiredApi;
|
|
|
1486
1486
|
function requireApi () {
|
|
1487
1487
|
if (hasRequiredApi) return Api;
|
|
1488
1488
|
hasRequiredApi = 1;
|
|
1489
|
-
(function (exports
|
|
1490
|
-
Object.defineProperty(exports
|
|
1489
|
+
(function (exports) {
|
|
1490
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1491
1491
|
var Token = requireToken();
|
|
1492
|
-
exports
|
|
1492
|
+
exports.Token = Token;
|
|
1493
1493
|
} (Api));
|
|
1494
1494
|
return Api;
|
|
1495
1495
|
}
|
|
@@ -1499,10 +1499,10 @@ var hasRequiredSplice;
|
|
|
1499
1499
|
function requireSplice () {
|
|
1500
1500
|
if (hasRequiredSplice) return Splice;
|
|
1501
1501
|
hasRequiredSplice = 1;
|
|
1502
|
-
(function (exports
|
|
1503
|
-
Object.defineProperty(exports
|
|
1502
|
+
(function (exports) {
|
|
1503
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1504
1504
|
var Api = requireApi();
|
|
1505
|
-
exports
|
|
1505
|
+
exports.Api = Api;
|
|
1506
1506
|
} (Splice));
|
|
1507
1507
|
return Splice;
|
|
1508
1508
|
}
|
|
@@ -1512,11 +1512,11 @@ var hasRequiredLib;
|
|
|
1512
1512
|
function requireLib () {
|
|
1513
1513
|
if (hasRequiredLib) return lib$2;
|
|
1514
1514
|
hasRequiredLib = 1;
|
|
1515
|
-
(function (exports
|
|
1516
|
-
Object.defineProperty(exports
|
|
1515
|
+
(function (exports) {
|
|
1516
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1517
1517
|
var Splice = requireSplice();
|
|
1518
|
-
exports
|
|
1519
|
-
exports
|
|
1518
|
+
exports.Splice = Splice;
|
|
1519
|
+
exports.packageId = 'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4';
|
|
1520
1520
|
} (lib$2));
|
|
1521
1521
|
return lib$2;
|
|
1522
1522
|
}
|