@canton-network/core-token-standard 1.13.0 → 1.14.0
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 +1387 -906
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +1386 -903
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +503 -612
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1387 -906
- package/dist/index.js.map +1 -1
- package/dist/interface-ids.const.d.ts.map +1 -1
- package/dist/models/Splice/Api/Token/index.d.ts +8 -0
- package/dist/models/Splice/Api/Token/index.d.ts.map +1 -0
- package/dist/models/Splice/Api/index.d.ts +3 -0
- package/dist/models/Splice/Api/index.d.ts.map +1 -0
- package/dist/models/Splice/index.d.ts +3 -0
- package/dist/models/Splice/index.d.ts.map +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/types.d.ts +10 -10
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -4
package/dist/index.cjs
CHANGED
|
@@ -24,6 +24,21 @@ function _interopNamespace(e) {
|
|
|
24
24
|
return Object.freeze(n);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
function _mergeNamespaces(n, m) {
|
|
28
|
+
m.forEach(function (e) {
|
|
29
|
+
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
30
|
+
if (k !== 'default' && !(k in n)) {
|
|
31
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
32
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return e[k]; }
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
return Object.freeze(n);
|
|
40
|
+
}
|
|
41
|
+
|
|
27
42
|
var createClient__default = /*#__PURE__*/_interopDefault(createClient);
|
|
28
43
|
var jsonTypeValidation__namespace = /*#__PURE__*/_interopNamespace(jsonTypeValidation);
|
|
29
44
|
var lodash__namespace = /*#__PURE__*/_interopNamespace(lodash);
|
|
@@ -82,6 +97,7 @@ class TokenStandardClient {
|
|
|
82
97
|
|
|
83
98
|
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
84
99
|
// SPDX-License-Identifier: Apache-2.0
|
|
100
|
+
// `satisfies` keeps the widening literal type of the public declarations
|
|
85
101
|
const ALLOCATION_FACTORY_INTERFACE_ID = '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory';
|
|
86
102
|
const ALLOCATION_INSTRUCTION_INTERFACE_ID = '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction';
|
|
87
103
|
const ALLOCATION_REQUEST_INTERFACE_ID = '#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest';
|
|
@@ -97,6 +113,10 @@ const MERGE_DELEGATION_BATCH_MERGE_UTILITY = '#splice-util-token-standard-wallet
|
|
|
97
113
|
|
|
98
114
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
99
115
|
|
|
116
|
+
function getDefaultExportFromCjs (x) {
|
|
117
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
118
|
+
}
|
|
119
|
+
|
|
100
120
|
function getAugmentedNamespace(n) {
|
|
101
121
|
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
102
122
|
var f = n.default;
|
|
@@ -126,17 +146,7 @@ function getAugmentedNamespace(n) {
|
|
|
126
146
|
return a;
|
|
127
147
|
}
|
|
128
148
|
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
var Splice = {};
|
|
132
|
-
|
|
133
|
-
var Api = {};
|
|
134
|
-
|
|
135
|
-
var Token = {};
|
|
136
|
-
|
|
137
|
-
var AllocationInstructionV1$1 = {};
|
|
138
|
-
|
|
139
|
-
var module$8 = {};
|
|
149
|
+
var module$k = {};
|
|
140
150
|
|
|
141
151
|
var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(jsonTypeValidation__namespace);
|
|
142
152
|
|
|
@@ -2897,7 +2907,7 @@ function requireTypes$1 () {
|
|
|
2897
2907
|
exports.assembleInterface = assembleInterface;
|
|
2898
2908
|
exports.memo = memo;
|
|
2899
2909
|
exports.lazyMemo = lazyMemo;
|
|
2900
|
-
// Copyright (c)
|
|
2910
|
+
// Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
2901
2911
|
// SPDX-License-Identifier: Apache-2.0
|
|
2902
2912
|
var jtv = __importStar(require$$0);
|
|
2903
2913
|
var lodash_1 = __importDefault(require$$1);
|
|
@@ -2921,7 +2931,7 @@ function requireTypes$1 () {
|
|
|
2921
2931
|
* @internal
|
|
2922
2932
|
*/
|
|
2923
2933
|
function assembleInterface(templateId, templatIdWithPackageId, decoderSource, choices) {
|
|
2924
|
-
return __assign({ templateId: templateId, templateIdWithPackageId: templatIdWithPackageId, componentVersionString: "3.
|
|
2934
|
+
return __assign({ templateId: templateId, templateIdWithPackageId: templatIdWithPackageId, componentVersionString: "3.6.2",
|
|
2925
2935
|
// `Interface<I> &` is a phantom intersection
|
|
2926
2936
|
decoder: lazyMemo(function () { return decoderSource().decoder; }), keyDecoder: jtv.succeed(undefined) }, choices);
|
|
2927
2937
|
}
|
|
@@ -3245,7 +3255,19 @@ function requireTypes$1 () {
|
|
|
3245
3255
|
return types;
|
|
3246
3256
|
}
|
|
3247
3257
|
|
|
3248
|
-
var lib$
|
|
3258
|
+
var lib$4 = {};
|
|
3259
|
+
|
|
3260
|
+
var Splice$2 = {};
|
|
3261
|
+
|
|
3262
|
+
var Api$2 = {};
|
|
3263
|
+
|
|
3264
|
+
var Token$2 = {};
|
|
3265
|
+
|
|
3266
|
+
var MetadataV1$1 = {};
|
|
3267
|
+
|
|
3268
|
+
var module$j = {};
|
|
3269
|
+
|
|
3270
|
+
var lib$3 = {};
|
|
3249
3271
|
|
|
3250
3272
|
var DA$1 = {};
|
|
3251
3273
|
|
|
@@ -3253,31 +3275,32 @@ var Internal = {};
|
|
|
3253
3275
|
|
|
3254
3276
|
var Template = {};
|
|
3255
3277
|
|
|
3256
|
-
var module$
|
|
3278
|
+
var module$i = {};
|
|
3257
3279
|
|
|
3258
3280
|
var hasRequiredModule$7;
|
|
3259
3281
|
|
|
3260
3282
|
function requireModule$7 () {
|
|
3261
|
-
if (hasRequiredModule$7) return module$
|
|
3283
|
+
if (hasRequiredModule$7) return module$i;
|
|
3262
3284
|
hasRequiredModule$7 = 1;
|
|
3263
3285
|
(function (exports) {
|
|
3264
3286
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3287
|
+
|
|
3265
3288
|
/* eslint-disable-next-line no-unused-vars */
|
|
3266
3289
|
var jtv = require$$0$1;
|
|
3267
3290
|
/* eslint-disable-next-line no-unused-vars */
|
|
3268
3291
|
var damlTypes = requireTypes$1();
|
|
3269
3292
|
|
|
3270
|
-
|
|
3271
3293
|
exports.Archive = {
|
|
3272
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3294
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3295
|
+
return jtv.object({
|
|
3296
|
+
});
|
|
3297
|
+
}),
|
|
3273
3298
|
encode: function (__typed__) {
|
|
3274
|
-
|
|
3275
|
-
}
|
|
3276
|
-
}
|
|
3277
|
-
,
|
|
3299
|
+
return {};
|
|
3300
|
+
},
|
|
3278
3301
|
};
|
|
3279
|
-
} (module$
|
|
3280
|
-
return module$
|
|
3302
|
+
} (module$i));
|
|
3303
|
+
return module$i;
|
|
3281
3304
|
}
|
|
3282
3305
|
|
|
3283
3306
|
var hasRequiredTemplate;
|
|
@@ -3292,6 +3315,7 @@ function requireTemplate () {
|
|
|
3292
3315
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
3293
3316
|
}
|
|
3294
3317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3318
|
+
|
|
3295
3319
|
__export(requireModule$7());
|
|
3296
3320
|
} (Template));
|
|
3297
3321
|
return Template;
|
|
@@ -3304,7 +3328,9 @@ function requireInternal () {
|
|
|
3304
3328
|
hasRequiredInternal = 1;
|
|
3305
3329
|
(function (exports) {
|
|
3306
3330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3331
|
+
|
|
3307
3332
|
var Template = requireTemplate();
|
|
3333
|
+
|
|
3308
3334
|
exports.Template = Template;
|
|
3309
3335
|
} (Internal));
|
|
3310
3336
|
return Internal;
|
|
@@ -3317,31 +3343,32 @@ function requireDA$1 () {
|
|
|
3317
3343
|
hasRequiredDA$1 = 1;
|
|
3318
3344
|
(function (exports) {
|
|
3319
3345
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3346
|
+
|
|
3320
3347
|
var Internal = requireInternal();
|
|
3348
|
+
|
|
3321
3349
|
exports.Internal = Internal;
|
|
3322
3350
|
} (DA$1));
|
|
3323
3351
|
return DA$1;
|
|
3324
3352
|
}
|
|
3325
3353
|
|
|
3326
|
-
var hasRequiredLib$
|
|
3354
|
+
var hasRequiredLib$4;
|
|
3327
3355
|
|
|
3328
|
-
function requireLib$
|
|
3329
|
-
if (hasRequiredLib$
|
|
3330
|
-
hasRequiredLib$
|
|
3356
|
+
function requireLib$4 () {
|
|
3357
|
+
if (hasRequiredLib$4) return lib$3;
|
|
3358
|
+
hasRequiredLib$4 = 1;
|
|
3331
3359
|
(function (exports) {
|
|
3332
3360
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3361
|
+
|
|
3333
3362
|
var DA = requireDA$1();
|
|
3363
|
+
|
|
3334
3364
|
exports.DA = DA;
|
|
3365
|
+
|
|
3335
3366
|
exports.packageId = '9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69';
|
|
3336
|
-
} (lib$
|
|
3337
|
-
return lib$
|
|
3367
|
+
} (lib$3));
|
|
3368
|
+
return lib$3;
|
|
3338
3369
|
}
|
|
3339
3370
|
|
|
3340
|
-
var
|
|
3341
|
-
|
|
3342
|
-
var module$5 = {};
|
|
3343
|
-
|
|
3344
|
-
var lib = {};
|
|
3371
|
+
var lib$2 = {};
|
|
3345
3372
|
|
|
3346
3373
|
var DA = {};
|
|
3347
3374
|
|
|
@@ -3349,32 +3376,35 @@ var Time = {};
|
|
|
3349
3376
|
|
|
3350
3377
|
var Types = {};
|
|
3351
3378
|
|
|
3352
|
-
var module$
|
|
3379
|
+
var module$h = {};
|
|
3353
3380
|
|
|
3354
3381
|
var hasRequiredModule$6;
|
|
3355
3382
|
|
|
3356
3383
|
function requireModule$6 () {
|
|
3357
|
-
if (hasRequiredModule$6) return module$
|
|
3384
|
+
if (hasRequiredModule$6) return module$h;
|
|
3358
3385
|
hasRequiredModule$6 = 1;
|
|
3359
3386
|
(function (exports) {
|
|
3360
3387
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3388
|
+
|
|
3361
3389
|
/* eslint-disable-next-line no-unused-vars */
|
|
3362
3390
|
var jtv = require$$0$1;
|
|
3363
3391
|
/* eslint-disable-next-line no-unused-vars */
|
|
3364
3392
|
var damlTypes = requireTypes$1();
|
|
3365
3393
|
|
|
3366
|
-
|
|
3367
3394
|
exports.RelTime = {
|
|
3368
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3395
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3396
|
+
return jtv.object({
|
|
3397
|
+
microseconds: damlTypes.Int.decoder,
|
|
3398
|
+
});
|
|
3399
|
+
}),
|
|
3369
3400
|
encode: function (__typed__) {
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
,
|
|
3401
|
+
return {
|
|
3402
|
+
microseconds: damlTypes.Int.encode(__typed__.microseconds),
|
|
3403
|
+
};
|
|
3404
|
+
},
|
|
3375
3405
|
};
|
|
3376
|
-
} (module$
|
|
3377
|
-
return module$
|
|
3406
|
+
} (module$h));
|
|
3407
|
+
return module$h;
|
|
3378
3408
|
}
|
|
3379
3409
|
|
|
3380
3410
|
var hasRequiredTypes;
|
|
@@ -3389,6 +3419,7 @@ function requireTypes () {
|
|
|
3389
3419
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
3390
3420
|
}
|
|
3391
3421
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3422
|
+
|
|
3392
3423
|
__export(requireModule$6());
|
|
3393
3424
|
} (Types));
|
|
3394
3425
|
return Types;
|
|
@@ -3401,7 +3432,9 @@ function requireTime () {
|
|
|
3401
3432
|
hasRequiredTime = 1;
|
|
3402
3433
|
(function (exports) {
|
|
3403
3434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3435
|
+
|
|
3404
3436
|
var Types = requireTypes();
|
|
3437
|
+
|
|
3405
3438
|
exports.Types = Types;
|
|
3406
3439
|
} (Time));
|
|
3407
3440
|
return Time;
|
|
@@ -3414,1234 +3447,1682 @@ function requireDA () {
|
|
|
3414
3447
|
hasRequiredDA = 1;
|
|
3415
3448
|
(function (exports) {
|
|
3416
3449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3450
|
+
|
|
3417
3451
|
var Time = requireTime();
|
|
3452
|
+
|
|
3418
3453
|
exports.Time = Time;
|
|
3419
3454
|
} (DA));
|
|
3420
3455
|
return DA;
|
|
3421
3456
|
}
|
|
3422
3457
|
|
|
3423
|
-
var hasRequiredLib$
|
|
3458
|
+
var hasRequiredLib$3;
|
|
3424
3459
|
|
|
3425
|
-
function requireLib$
|
|
3426
|
-
if (hasRequiredLib$
|
|
3427
|
-
hasRequiredLib$
|
|
3460
|
+
function requireLib$3 () {
|
|
3461
|
+
if (hasRequiredLib$3) return lib$2;
|
|
3462
|
+
hasRequiredLib$3 = 1;
|
|
3428
3463
|
(function (exports) {
|
|
3429
3464
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3465
|
+
|
|
3430
3466
|
var DA = requireDA();
|
|
3467
|
+
|
|
3431
3468
|
exports.DA = DA;
|
|
3469
|
+
|
|
3432
3470
|
exports.packageId = 'b70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946';
|
|
3433
|
-
} (lib));
|
|
3434
|
-
return lib;
|
|
3471
|
+
} (lib$2));
|
|
3472
|
+
return lib$2;
|
|
3435
3473
|
}
|
|
3436
3474
|
|
|
3437
|
-
var module$3 = {};
|
|
3438
|
-
|
|
3439
3475
|
var hasRequiredModule$5;
|
|
3440
3476
|
|
|
3441
3477
|
function requireModule$5 () {
|
|
3442
|
-
if (hasRequiredModule$5) return module$
|
|
3478
|
+
if (hasRequiredModule$5) return module$j;
|
|
3443
3479
|
hasRequiredModule$5 = 1;
|
|
3444
3480
|
(function (exports) {
|
|
3445
3481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3482
|
+
|
|
3446
3483
|
/* eslint-disable-next-line no-unused-vars */
|
|
3447
3484
|
var jtv = require$$0$1;
|
|
3448
3485
|
/* eslint-disable-next-line no-unused-vars */
|
|
3449
3486
|
var damlTypes = requireTypes$1();
|
|
3450
3487
|
|
|
3451
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$
|
|
3452
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requireLib$
|
|
3488
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
3489
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requireLib$3();
|
|
3453
3490
|
|
|
3454
3491
|
exports.AnyContract = damlTypes.assembleInterface(
|
|
3455
|
-
'#token-
|
|
3456
|
-
'
|
|
3492
|
+
'#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract',
|
|
3493
|
+
'#4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f:Splice.Api.Token.MetadataV1:AnyContract',
|
|
3457
3494
|
function () { return exports.AnyContractView; },
|
|
3458
3495
|
{
|
|
3459
3496
|
Archive: {
|
|
3460
3497
|
template: function () { return exports.AnyContract; },
|
|
3461
3498
|
choiceName: 'Archive',
|
|
3462
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3499
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3500
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
3501
|
+
}),
|
|
3463
3502
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
3464
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3503
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3504
|
+
return damlTypes.Unit.decoder;
|
|
3505
|
+
}),
|
|
3465
3506
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3466
3507
|
},
|
|
3467
|
-
}
|
|
3468
|
-
|
|
3508
|
+
}
|
|
3509
|
+
);
|
|
3469
3510
|
|
|
3511
|
+
exports.AnyContractView = {
|
|
3512
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3513
|
+
return jtv.object({
|
|
3514
|
+
});
|
|
3515
|
+
}),
|
|
3516
|
+
encode: function (__typed__) {
|
|
3517
|
+
return {};
|
|
3518
|
+
},
|
|
3519
|
+
};
|
|
3470
3520
|
|
|
3471
|
-
exports.
|
|
3472
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3521
|
+
exports.AnyValue = {
|
|
3522
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3523
|
+
return jtv.oneOf(
|
|
3524
|
+
jtv.object({
|
|
3525
|
+
tag: jtv.constant("AV_Text"),
|
|
3526
|
+
value: damlTypes.Text.decoder,
|
|
3527
|
+
}),
|
|
3528
|
+
jtv.object({
|
|
3529
|
+
tag: jtv.constant("AV_Int"),
|
|
3530
|
+
value: damlTypes.Int.decoder,
|
|
3531
|
+
}),
|
|
3532
|
+
jtv.object({
|
|
3533
|
+
tag: jtv.constant("AV_Decimal"),
|
|
3534
|
+
value: damlTypes.Numeric(10).decoder,
|
|
3535
|
+
}),
|
|
3536
|
+
jtv.object({
|
|
3537
|
+
tag: jtv.constant("AV_Bool"),
|
|
3538
|
+
value: damlTypes.Bool.decoder,
|
|
3539
|
+
}),
|
|
3540
|
+
jtv.object({
|
|
3541
|
+
tag: jtv.constant("AV_Date"),
|
|
3542
|
+
value: damlTypes.Date.decoder,
|
|
3543
|
+
}),
|
|
3544
|
+
jtv.object({
|
|
3545
|
+
tag: jtv.constant("AV_Time"),
|
|
3546
|
+
value: damlTypes.Time.decoder,
|
|
3547
|
+
}),
|
|
3548
|
+
jtv.object({
|
|
3549
|
+
tag: jtv.constant("AV_RelTime"),
|
|
3550
|
+
value: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder,
|
|
3551
|
+
}),
|
|
3552
|
+
jtv.object({
|
|
3553
|
+
tag: jtv.constant("AV_Party"),
|
|
3554
|
+
value: damlTypes.Party.decoder,
|
|
3555
|
+
}),
|
|
3556
|
+
jtv.object({
|
|
3557
|
+
tag: jtv.constant("AV_ContractId"),
|
|
3558
|
+
value: damlTypes.ContractId(exports.AnyContract).decoder,
|
|
3559
|
+
}),
|
|
3560
|
+
jtv.object({
|
|
3561
|
+
tag: jtv.constant("AV_List"),
|
|
3562
|
+
value: damlTypes.List(exports.AnyValue).decoder,
|
|
3563
|
+
}),
|
|
3564
|
+
jtv.object({
|
|
3565
|
+
tag: jtv.constant("AV_Map"),
|
|
3566
|
+
value: damlTypes.TextMap(exports.AnyValue).decoder,
|
|
3567
|
+
}),
|
|
3568
|
+
);
|
|
3569
|
+
}),
|
|
3473
3570
|
encode: function (__typed__) {
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3571
|
+
switch(__typed__.tag) {
|
|
3572
|
+
case 'AV_Text': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
|
|
3573
|
+
case 'AV_Int': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
|
|
3574
|
+
case 'AV_Decimal': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
|
|
3575
|
+
case 'AV_Bool': return {tag: __typed__.tag, value: damlTypes.Bool.encode(__typed__.value)};
|
|
3576
|
+
case 'AV_Date': return {tag: __typed__.tag, value: damlTypes.Date.encode(__typed__.value)};
|
|
3577
|
+
case 'AV_Time': return {tag: __typed__.tag, value: damlTypes.Time.encode(__typed__.value)};
|
|
3578
|
+
case 'AV_RelTime': return {tag: __typed__.tag, value: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.value)};
|
|
3579
|
+
case 'AV_Party': return {tag: __typed__.tag, value: damlTypes.Party.encode(__typed__.value)};
|
|
3580
|
+
case 'AV_ContractId': return {tag: __typed__.tag, value: damlTypes.ContractId(exports.AnyContract).encode(__typed__.value)};
|
|
3581
|
+
case 'AV_List': return {tag: __typed__.tag, value: damlTypes.List(exports.AnyValue).encode(__typed__.value)};
|
|
3582
|
+
case 'AV_Map': return {tag: __typed__.tag, value: damlTypes.TextMap(exports.AnyValue).encode(__typed__.value)};
|
|
3583
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AnyValue';
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3479
3586
|
};
|
|
3480
3587
|
|
|
3588
|
+
exports.ChoiceContext = {
|
|
3589
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3590
|
+
return jtv.object({
|
|
3591
|
+
values: damlTypes.TextMap(exports.AnyValue).decoder,
|
|
3592
|
+
});
|
|
3593
|
+
}),
|
|
3594
|
+
encode: function (__typed__) {
|
|
3595
|
+
return {
|
|
3596
|
+
values: damlTypes.TextMap(exports.AnyValue).encode(__typed__.values),
|
|
3597
|
+
};
|
|
3598
|
+
},
|
|
3599
|
+
};
|
|
3481
3600
|
|
|
3601
|
+
exports.ChoiceExecutionMetadata = {
|
|
3602
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3603
|
+
return jtv.object({
|
|
3604
|
+
meta: exports.Metadata.decoder,
|
|
3605
|
+
});
|
|
3606
|
+
}),
|
|
3607
|
+
encode: function (__typed__) {
|
|
3608
|
+
return {
|
|
3609
|
+
meta: exports.Metadata.encode(__typed__.meta),
|
|
3610
|
+
};
|
|
3611
|
+
},
|
|
3612
|
+
};
|
|
3482
3613
|
|
|
3483
3614
|
exports.ExtraArgs = {
|
|
3484
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3615
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3616
|
+
return jtv.object({
|
|
3617
|
+
context: exports.ChoiceContext.decoder,
|
|
3618
|
+
meta: exports.Metadata.decoder,
|
|
3619
|
+
});
|
|
3620
|
+
}),
|
|
3485
3621
|
encode: function (__typed__) {
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
,
|
|
3622
|
+
return {
|
|
3623
|
+
context: exports.ChoiceContext.encode(__typed__.context),
|
|
3624
|
+
meta: exports.Metadata.encode(__typed__.meta),
|
|
3625
|
+
};
|
|
3626
|
+
},
|
|
3492
3627
|
};
|
|
3493
3628
|
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
3629
|
exports.Metadata = {
|
|
3497
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3630
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3631
|
+
return jtv.object({
|
|
3632
|
+
values: damlTypes.TextMap(damlTypes.Text).decoder,
|
|
3633
|
+
});
|
|
3634
|
+
}),
|
|
3498
3635
|
encode: function (__typed__) {
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3636
|
+
return {
|
|
3637
|
+
values: damlTypes.TextMap(damlTypes.Text).encode(__typed__.values),
|
|
3638
|
+
};
|
|
3639
|
+
},
|
|
3640
|
+
};
|
|
3641
|
+
} (module$j));
|
|
3642
|
+
return module$j;
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
var hasRequiredMetadataV1;
|
|
3646
|
+
|
|
3647
|
+
function requireMetadataV1 () {
|
|
3648
|
+
if (hasRequiredMetadataV1) return MetadataV1$1;
|
|
3649
|
+
hasRequiredMetadataV1 = 1;
|
|
3650
|
+
(function (exports) {
|
|
3651
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3652
|
+
function __export(m) {
|
|
3653
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
3654
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
3502
3655
|
}
|
|
3503
|
-
,
|
|
3504
|
-
};
|
|
3656
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3505
3657
|
|
|
3658
|
+
__export(requireModule$5());
|
|
3659
|
+
} (MetadataV1$1));
|
|
3660
|
+
return MetadataV1$1;
|
|
3661
|
+
}
|
|
3506
3662
|
|
|
3663
|
+
var hasRequiredToken$2;
|
|
3507
3664
|
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
};
|
|
3514
|
-
}
|
|
3515
|
-
,
|
|
3516
|
-
};
|
|
3665
|
+
function requireToken$2 () {
|
|
3666
|
+
if (hasRequiredToken$2) return Token$2;
|
|
3667
|
+
hasRequiredToken$2 = 1;
|
|
3668
|
+
(function (exports) {
|
|
3669
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3517
3670
|
|
|
3671
|
+
var MetadataV1 = requireMetadataV1();
|
|
3518
3672
|
|
|
3673
|
+
exports.MetadataV1 = MetadataV1;
|
|
3674
|
+
} (Token$2));
|
|
3675
|
+
return Token$2;
|
|
3676
|
+
}
|
|
3519
3677
|
|
|
3520
|
-
|
|
3521
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
3522
|
-
encode: function (__typed__) {
|
|
3523
|
-
return {
|
|
3524
|
-
};
|
|
3525
|
-
}
|
|
3526
|
-
,
|
|
3527
|
-
};
|
|
3678
|
+
var hasRequiredApi$2;
|
|
3528
3679
|
|
|
3680
|
+
function requireApi$2 () {
|
|
3681
|
+
if (hasRequiredApi$2) return Api$2;
|
|
3682
|
+
hasRequiredApi$2 = 1;
|
|
3683
|
+
(function (exports) {
|
|
3684
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3529
3685
|
|
|
3686
|
+
var Token = requireToken$2();
|
|
3530
3687
|
|
|
3531
|
-
exports.
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3688
|
+
exports.Token = Token;
|
|
3689
|
+
} (Api$2));
|
|
3690
|
+
return Api$2;
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
var hasRequiredSplice$2;
|
|
3694
|
+
|
|
3695
|
+
function requireSplice$2 () {
|
|
3696
|
+
if (hasRequiredSplice$2) return Splice$2;
|
|
3697
|
+
hasRequiredSplice$2 = 1;
|
|
3698
|
+
(function (exports) {
|
|
3699
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3700
|
+
|
|
3701
|
+
var Api = requireApi$2();
|
|
3702
|
+
|
|
3703
|
+
exports.Api = Api;
|
|
3704
|
+
} (Splice$2));
|
|
3705
|
+
return Splice$2;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
var hasRequiredLib$2;
|
|
3709
|
+
|
|
3710
|
+
function requireLib$2 () {
|
|
3711
|
+
if (hasRequiredLib$2) return lib$4;
|
|
3712
|
+
hasRequiredLib$2 = 1;
|
|
3713
|
+
(function (exports) {
|
|
3714
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3715
|
+
|
|
3716
|
+
var Splice = requireSplice$2();
|
|
3717
|
+
|
|
3718
|
+
exports.Splice = Splice;
|
|
3719
|
+
|
|
3720
|
+
exports.packageId = '4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f';
|
|
3721
|
+
} (lib$4));
|
|
3722
|
+
return lib$4;
|
|
3553
3723
|
}
|
|
3554
3724
|
|
|
3725
|
+
var lib$1 = {};
|
|
3726
|
+
|
|
3727
|
+
var Splice$1 = {};
|
|
3728
|
+
|
|
3729
|
+
var Api$1 = {};
|
|
3730
|
+
|
|
3731
|
+
var Token$1 = {};
|
|
3732
|
+
|
|
3733
|
+
var HoldingV1$1 = {};
|
|
3734
|
+
|
|
3735
|
+
var module$g = {};
|
|
3736
|
+
|
|
3555
3737
|
var hasRequiredModule$4;
|
|
3556
3738
|
|
|
3557
3739
|
function requireModule$4 () {
|
|
3558
|
-
if (hasRequiredModule$4) return module$
|
|
3740
|
+
if (hasRequiredModule$4) return module$g;
|
|
3559
3741
|
hasRequiredModule$4 = 1;
|
|
3560
3742
|
(function (exports) {
|
|
3561
3743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3744
|
+
|
|
3562
3745
|
/* eslint-disable-next-line no-unused-vars */
|
|
3563
3746
|
var jtv = require$$0$1;
|
|
3564
3747
|
/* eslint-disable-next-line no-unused-vars */
|
|
3565
3748
|
var damlTypes = requireTypes$1();
|
|
3566
3749
|
|
|
3567
|
-
var
|
|
3568
|
-
var
|
|
3569
|
-
|
|
3570
|
-
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
3750
|
+
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = requireLib$2();
|
|
3751
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
3752
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requireLib$3();
|
|
3571
3753
|
|
|
3572
3754
|
exports.Holding = damlTypes.assembleInterface(
|
|
3573
|
-
'#token-
|
|
3574
|
-
'
|
|
3755
|
+
'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding',
|
|
3756
|
+
'#718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b:Splice.Api.Token.HoldingV1:Holding',
|
|
3575
3757
|
function () { return exports.HoldingView; },
|
|
3576
3758
|
{
|
|
3577
3759
|
Archive: {
|
|
3578
3760
|
template: function () { return exports.Holding; },
|
|
3579
3761
|
choiceName: 'Archive',
|
|
3580
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3762
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3763
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
3764
|
+
}),
|
|
3581
3765
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
3582
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3766
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3767
|
+
return damlTypes.Unit.decoder;
|
|
3768
|
+
}),
|
|
3583
3769
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3584
3770
|
},
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
|
|
3771
|
+
}
|
|
3772
|
+
);
|
|
3588
3773
|
|
|
3589
3774
|
exports.HoldingView = {
|
|
3590
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3775
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3776
|
+
return jtv.object({
|
|
3777
|
+
owner: damlTypes.Party.decoder,
|
|
3778
|
+
instrumentId: exports.InstrumentId.decoder,
|
|
3779
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
3780
|
+
lock: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.Lock).decoder),
|
|
3781
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
3782
|
+
});
|
|
3783
|
+
}),
|
|
3591
3784
|
encode: function (__typed__) {
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
,
|
|
3785
|
+
return {
|
|
3786
|
+
owner: damlTypes.Party.encode(__typed__.owner),
|
|
3787
|
+
instrumentId: exports.InstrumentId.encode(__typed__.instrumentId),
|
|
3788
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
3789
|
+
lock: damlTypes.Optional(exports.Lock).encode(__typed__.lock),
|
|
3790
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
3791
|
+
};
|
|
3792
|
+
},
|
|
3601
3793
|
};
|
|
3602
3794
|
|
|
3603
|
-
|
|
3795
|
+
exports.InstrumentId = {
|
|
3796
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3797
|
+
return jtv.object({
|
|
3798
|
+
admin: damlTypes.Party.decoder,
|
|
3799
|
+
id: damlTypes.Text.decoder,
|
|
3800
|
+
});
|
|
3801
|
+
}),
|
|
3802
|
+
encode: function (__typed__) {
|
|
3803
|
+
return {
|
|
3804
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
3805
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
3806
|
+
};
|
|
3807
|
+
},
|
|
3808
|
+
};
|
|
3604
3809
|
|
|
3605
3810
|
exports.Lock = {
|
|
3606
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3811
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3812
|
+
return jtv.object({
|
|
3813
|
+
holders: damlTypes.List(damlTypes.Party).decoder,
|
|
3814
|
+
expiresAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
3815
|
+
expiresAfter: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder),
|
|
3816
|
+
context: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
3817
|
+
});
|
|
3818
|
+
}),
|
|
3607
3819
|
encode: function (__typed__) {
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3820
|
+
return {
|
|
3821
|
+
holders: damlTypes.List(damlTypes.Party).encode(__typed__.holders),
|
|
3822
|
+
expiresAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiresAt),
|
|
3823
|
+
expiresAfter: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.expiresAfter),
|
|
3824
|
+
context: damlTypes.Optional(damlTypes.Text).encode(__typed__.context),
|
|
3825
|
+
};
|
|
3826
|
+
},
|
|
3827
|
+
};
|
|
3828
|
+
} (module$g));
|
|
3829
|
+
return module$g;
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3832
|
+
var hasRequiredHoldingV1;
|
|
3833
|
+
|
|
3834
|
+
function requireHoldingV1 () {
|
|
3835
|
+
if (hasRequiredHoldingV1) return HoldingV1$1;
|
|
3836
|
+
hasRequiredHoldingV1 = 1;
|
|
3837
|
+
(function (exports) {
|
|
3838
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3839
|
+
function __export(m) {
|
|
3840
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
3841
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
3614
3842
|
}
|
|
3615
|
-
,
|
|
3616
|
-
};
|
|
3843
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3617
3844
|
|
|
3845
|
+
__export(requireModule$4());
|
|
3846
|
+
} (HoldingV1$1));
|
|
3847
|
+
return HoldingV1$1;
|
|
3848
|
+
}
|
|
3618
3849
|
|
|
3850
|
+
var hasRequiredToken$1;
|
|
3619
3851
|
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
return module$5;
|
|
3852
|
+
function requireToken$1 () {
|
|
3853
|
+
if (hasRequiredToken$1) return Token$1;
|
|
3854
|
+
hasRequiredToken$1 = 1;
|
|
3855
|
+
(function (exports) {
|
|
3856
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3857
|
+
|
|
3858
|
+
var HoldingV1 = requireHoldingV1();
|
|
3859
|
+
|
|
3860
|
+
exports.HoldingV1 = HoldingV1;
|
|
3861
|
+
} (Token$1));
|
|
3862
|
+
return Token$1;
|
|
3632
3863
|
}
|
|
3633
3864
|
|
|
3634
|
-
var
|
|
3865
|
+
var hasRequiredApi$1;
|
|
3635
3866
|
|
|
3636
|
-
function
|
|
3637
|
-
if (
|
|
3638
|
-
|
|
3867
|
+
function requireApi$1 () {
|
|
3868
|
+
if (hasRequiredApi$1) return Api$1;
|
|
3869
|
+
hasRequiredApi$1 = 1;
|
|
3639
3870
|
(function (exports) {
|
|
3640
3871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3641
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3642
|
-
var jtv = require$$0$1;
|
|
3643
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3644
|
-
var damlTypes = requireTypes$1();
|
|
3645
3872
|
|
|
3646
|
-
var
|
|
3873
|
+
var Token = requireToken$1();
|
|
3647
3874
|
|
|
3648
|
-
|
|
3649
|
-
|
|
3875
|
+
exports.Token = Token;
|
|
3876
|
+
} (Api$1));
|
|
3877
|
+
return Api$1;
|
|
3878
|
+
}
|
|
3650
3879
|
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3880
|
+
var hasRequiredSplice$1;
|
|
3881
|
+
|
|
3882
|
+
function requireSplice$1 () {
|
|
3883
|
+
if (hasRequiredSplice$1) return Splice$1;
|
|
3884
|
+
hasRequiredSplice$1 = 1;
|
|
3885
|
+
(function (exports) {
|
|
3886
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3887
|
+
|
|
3888
|
+
var Api = requireApi$1();
|
|
3889
|
+
|
|
3890
|
+
exports.Api = Api;
|
|
3891
|
+
} (Splice$1));
|
|
3892
|
+
return Splice$1;
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
var hasRequiredLib$1;
|
|
3896
|
+
|
|
3897
|
+
function requireLib$1 () {
|
|
3898
|
+
if (hasRequiredLib$1) return lib$1;
|
|
3899
|
+
hasRequiredLib$1 = 1;
|
|
3900
|
+
(function (exports) {
|
|
3901
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3902
|
+
|
|
3903
|
+
var Splice = requireSplice$1();
|
|
3904
|
+
|
|
3905
|
+
exports.Splice = Splice;
|
|
3906
|
+
|
|
3907
|
+
exports.packageId = '718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b';
|
|
3908
|
+
} (lib$1));
|
|
3909
|
+
return lib$1;
|
|
3910
|
+
}
|
|
3911
|
+
|
|
3912
|
+
var lib = {};
|
|
3913
|
+
|
|
3914
|
+
var Splice = {};
|
|
3915
|
+
|
|
3916
|
+
var Api = {};
|
|
3917
|
+
|
|
3918
|
+
var Token = {};
|
|
3919
|
+
|
|
3920
|
+
var AllocationV1$1 = {};
|
|
3921
|
+
|
|
3922
|
+
var module$f = {};
|
|
3923
|
+
|
|
3924
|
+
var hasRequiredModule$3;
|
|
3925
|
+
|
|
3926
|
+
function requireModule$3 () {
|
|
3927
|
+
if (hasRequiredModule$3) return module$f;
|
|
3928
|
+
hasRequiredModule$3 = 1;
|
|
3929
|
+
(function (exports) {
|
|
3930
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3931
|
+
|
|
3932
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3933
|
+
var jtv = require$$0$1;
|
|
3934
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3935
|
+
var damlTypes = requireTypes$1();
|
|
3936
|
+
|
|
3937
|
+
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = requireLib$2();
|
|
3938
|
+
var pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b = requireLib$1();
|
|
3939
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
3940
|
+
|
|
3941
|
+
exports.Allocation = damlTypes.assembleInterface(
|
|
3942
|
+
'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation',
|
|
3943
|
+
'#93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d:Splice.Api.Token.AllocationV1:Allocation',
|
|
3654
3944
|
function () { return exports.AllocationView; },
|
|
3655
3945
|
{
|
|
3656
|
-
Archive: {
|
|
3657
|
-
template: function () { return exports.Allocation; },
|
|
3658
|
-
choiceName: 'Archive',
|
|
3659
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
3660
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
3661
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
3662
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3663
|
-
},
|
|
3664
|
-
Allocation_Withdraw: {
|
|
3665
|
-
template: function () { return exports.Allocation; },
|
|
3666
|
-
choiceName: 'Allocation_Withdraw',
|
|
3667
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_Withdraw.decoder; }),
|
|
3668
|
-
argumentEncode: function (__typed__) { return exports.Allocation_Withdraw.encode(__typed__); },
|
|
3669
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_WithdrawResult.decoder; }),
|
|
3670
|
-
resultEncode: function (__typed__) { return exports.Allocation_WithdrawResult.encode(__typed__); },
|
|
3671
|
-
},
|
|
3672
3946
|
Allocation_Cancel: {
|
|
3673
3947
|
template: function () { return exports.Allocation; },
|
|
3674
3948
|
choiceName: 'Allocation_Cancel',
|
|
3675
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3949
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3950
|
+
return exports.Allocation_Cancel.decoder;
|
|
3951
|
+
}),
|
|
3676
3952
|
argumentEncode: function (__typed__) { return exports.Allocation_Cancel.encode(__typed__); },
|
|
3677
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3953
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3954
|
+
return exports.Allocation_CancelResult.decoder;
|
|
3955
|
+
}),
|
|
3678
3956
|
resultEncode: function (__typed__) { return exports.Allocation_CancelResult.encode(__typed__); },
|
|
3679
3957
|
},
|
|
3680
3958
|
Allocation_ExecuteTransfer: {
|
|
3681
3959
|
template: function () { return exports.Allocation; },
|
|
3682
3960
|
choiceName: 'Allocation_ExecuteTransfer',
|
|
3683
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3961
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3962
|
+
return exports.Allocation_ExecuteTransfer.decoder;
|
|
3963
|
+
}),
|
|
3684
3964
|
argumentEncode: function (__typed__) { return exports.Allocation_ExecuteTransfer.encode(__typed__); },
|
|
3685
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3965
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3966
|
+
return exports.Allocation_ExecuteTransferResult.decoder;
|
|
3967
|
+
}),
|
|
3686
3968
|
resultEncode: function (__typed__) { return exports.Allocation_ExecuteTransferResult.encode(__typed__); },
|
|
3687
3969
|
},
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3970
|
+
Allocation_Withdraw: {
|
|
3971
|
+
template: function () { return exports.Allocation; },
|
|
3972
|
+
choiceName: 'Allocation_Withdraw',
|
|
3973
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3974
|
+
return exports.Allocation_Withdraw.decoder;
|
|
3975
|
+
}),
|
|
3976
|
+
argumentEncode: function (__typed__) { return exports.Allocation_Withdraw.encode(__typed__); },
|
|
3977
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3978
|
+
return exports.Allocation_WithdrawResult.decoder;
|
|
3979
|
+
}),
|
|
3980
|
+
resultEncode: function (__typed__) { return exports.Allocation_WithdrawResult.encode(__typed__); },
|
|
3981
|
+
},
|
|
3982
|
+
Archive: {
|
|
3983
|
+
template: function () { return exports.Allocation; },
|
|
3984
|
+
choiceName: 'Archive',
|
|
3985
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3986
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
3987
|
+
}),
|
|
3988
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
3989
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
3990
|
+
return damlTypes.Unit.decoder;
|
|
3991
|
+
}),
|
|
3992
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3993
|
+
},
|
|
3994
|
+
}
|
|
3995
|
+
);
|
|
3691
3996
|
|
|
3692
|
-
exports.
|
|
3693
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
3997
|
+
exports.AllocationSpecification = {
|
|
3998
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
3999
|
+
return jtv.object({
|
|
4000
|
+
settlement: exports.SettlementInfo.decoder,
|
|
4001
|
+
transferLegId: damlTypes.Text.decoder,
|
|
4002
|
+
transferLeg: exports.TransferLeg.decoder,
|
|
4003
|
+
});
|
|
4004
|
+
}),
|
|
3694
4005
|
encode: function (__typed__) {
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
4006
|
+
return {
|
|
4007
|
+
settlement: exports.SettlementInfo.encode(__typed__.settlement),
|
|
4008
|
+
transferLegId: damlTypes.Text.encode(__typed__.transferLegId),
|
|
4009
|
+
transferLeg: exports.TransferLeg.encode(__typed__.transferLeg),
|
|
4010
|
+
};
|
|
4011
|
+
},
|
|
3701
4012
|
};
|
|
3702
4013
|
|
|
4014
|
+
exports.AllocationView = {
|
|
4015
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4016
|
+
return jtv.object({
|
|
4017
|
+
allocation: exports.AllocationSpecification.decoder,
|
|
4018
|
+
holdingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4019
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4020
|
+
});
|
|
4021
|
+
}),
|
|
4022
|
+
encode: function (__typed__) {
|
|
4023
|
+
return {
|
|
4024
|
+
allocation: exports.AllocationSpecification.encode(__typed__.allocation),
|
|
4025
|
+
holdingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.holdingCids),
|
|
4026
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4027
|
+
};
|
|
4028
|
+
},
|
|
4029
|
+
};
|
|
3703
4030
|
|
|
4031
|
+
exports.Allocation_Cancel = {
|
|
4032
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4033
|
+
return jtv.object({
|
|
4034
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4035
|
+
});
|
|
4036
|
+
}),
|
|
4037
|
+
encode: function (__typed__) {
|
|
4038
|
+
return {
|
|
4039
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4040
|
+
};
|
|
4041
|
+
},
|
|
4042
|
+
};
|
|
3704
4043
|
|
|
3705
4044
|
exports.Allocation_CancelResult = {
|
|
3706
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4045
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4046
|
+
return jtv.object({
|
|
4047
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4048
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4049
|
+
});
|
|
4050
|
+
}),
|
|
3707
4051
|
encode: function (__typed__) {
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
,
|
|
4052
|
+
return {
|
|
4053
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.senderHoldingCids),
|
|
4054
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4055
|
+
};
|
|
4056
|
+
},
|
|
3714
4057
|
};
|
|
3715
4058
|
|
|
3716
|
-
|
|
4059
|
+
exports.Allocation_ExecuteTransfer = {
|
|
4060
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4061
|
+
return jtv.object({
|
|
4062
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4063
|
+
});
|
|
4064
|
+
}),
|
|
4065
|
+
encode: function (__typed__) {
|
|
4066
|
+
return {
|
|
4067
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4068
|
+
};
|
|
4069
|
+
},
|
|
4070
|
+
};
|
|
3717
4071
|
|
|
3718
4072
|
exports.Allocation_ExecuteTransferResult = {
|
|
3719
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4073
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4074
|
+
return jtv.object({
|
|
4075
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4076
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4077
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4078
|
+
});
|
|
4079
|
+
}),
|
|
3720
4080
|
encode: function (__typed__) {
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
,
|
|
4081
|
+
return {
|
|
4082
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.senderHoldingCids),
|
|
4083
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.receiverHoldingCids),
|
|
4084
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4085
|
+
};
|
|
4086
|
+
},
|
|
3728
4087
|
};
|
|
3729
4088
|
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
4089
|
exports.Allocation_Withdraw = {
|
|
3733
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4090
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4091
|
+
return jtv.object({
|
|
4092
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4093
|
+
});
|
|
4094
|
+
}),
|
|
3734
4095
|
encode: function (__typed__) {
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
,
|
|
4096
|
+
return {
|
|
4097
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4098
|
+
};
|
|
4099
|
+
},
|
|
3740
4100
|
};
|
|
3741
4101
|
|
|
4102
|
+
exports.Allocation_WithdrawResult = {
|
|
4103
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4104
|
+
return jtv.object({
|
|
4105
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4106
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4107
|
+
});
|
|
4108
|
+
}),
|
|
4109
|
+
encode: function (__typed__) {
|
|
4110
|
+
return {
|
|
4111
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.senderHoldingCids),
|
|
4112
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4113
|
+
};
|
|
4114
|
+
},
|
|
4115
|
+
};
|
|
3742
4116
|
|
|
4117
|
+
exports.Reference = {
|
|
4118
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4119
|
+
return jtv.object({
|
|
4120
|
+
id: damlTypes.Text.decoder,
|
|
4121
|
+
cid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.AnyContract)).decoder),
|
|
4122
|
+
});
|
|
4123
|
+
}),
|
|
4124
|
+
encode: function (__typed__) {
|
|
4125
|
+
return {
|
|
4126
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
4127
|
+
cid: damlTypes.Optional(damlTypes.ContractId(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.AnyContract)).encode(__typed__.cid),
|
|
4128
|
+
};
|
|
4129
|
+
},
|
|
4130
|
+
};
|
|
3743
4131
|
|
|
3744
|
-
exports.
|
|
3745
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4132
|
+
exports.SettlementInfo = {
|
|
4133
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4134
|
+
return jtv.object({
|
|
4135
|
+
executor: damlTypes.Party.decoder,
|
|
4136
|
+
settlementRef: exports.Reference.decoder,
|
|
4137
|
+
requestedAt: damlTypes.Time.decoder,
|
|
4138
|
+
allocateBefore: damlTypes.Time.decoder,
|
|
4139
|
+
settleBefore: damlTypes.Time.decoder,
|
|
4140
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4141
|
+
});
|
|
4142
|
+
}),
|
|
3746
4143
|
encode: function (__typed__) {
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
4144
|
+
return {
|
|
4145
|
+
executor: damlTypes.Party.encode(__typed__.executor),
|
|
4146
|
+
settlementRef: exports.Reference.encode(__typed__.settlementRef),
|
|
4147
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4148
|
+
allocateBefore: damlTypes.Time.encode(__typed__.allocateBefore),
|
|
4149
|
+
settleBefore: damlTypes.Time.encode(__typed__.settleBefore),
|
|
4150
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4151
|
+
};
|
|
4152
|
+
},
|
|
3752
4153
|
};
|
|
3753
4154
|
|
|
4155
|
+
exports.TransferLeg = {
|
|
4156
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4157
|
+
return jtv.object({
|
|
4158
|
+
sender: damlTypes.Party.decoder,
|
|
4159
|
+
receiver: damlTypes.Party.decoder,
|
|
4160
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
4161
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId.decoder,
|
|
4162
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4163
|
+
});
|
|
4164
|
+
}),
|
|
4165
|
+
encode: function (__typed__) {
|
|
4166
|
+
return {
|
|
4167
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
4168
|
+
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
4169
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
4170
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId.encode(__typed__.instrumentId),
|
|
4171
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4172
|
+
};
|
|
4173
|
+
},
|
|
4174
|
+
};
|
|
4175
|
+
} (module$f));
|
|
4176
|
+
return module$f;
|
|
4177
|
+
}
|
|
3754
4178
|
|
|
4179
|
+
var hasRequiredAllocationV1;
|
|
3755
4180
|
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
4181
|
+
function requireAllocationV1 () {
|
|
4182
|
+
if (hasRequiredAllocationV1) return AllocationV1$1;
|
|
4183
|
+
hasRequiredAllocationV1 = 1;
|
|
4184
|
+
(function (exports) {
|
|
4185
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
4186
|
+
function __export(m) {
|
|
4187
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
4188
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
3762
4189
|
}
|
|
3763
|
-
,
|
|
3764
|
-
};
|
|
4190
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3765
4191
|
|
|
4192
|
+
__export(requireModule$3());
|
|
4193
|
+
} (AllocationV1$1));
|
|
4194
|
+
return AllocationV1$1;
|
|
4195
|
+
}
|
|
3766
4196
|
|
|
4197
|
+
var hasRequiredToken;
|
|
3767
4198
|
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
holdingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.holdingCids),
|
|
3774
|
-
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
3775
|
-
};
|
|
3776
|
-
}
|
|
3777
|
-
,
|
|
3778
|
-
};
|
|
4199
|
+
function requireToken () {
|
|
4200
|
+
if (hasRequiredToken) return Token;
|
|
4201
|
+
hasRequiredToken = 1;
|
|
4202
|
+
(function (exports) {
|
|
4203
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3779
4204
|
|
|
4205
|
+
var AllocationV1 = requireAllocationV1();
|
|
3780
4206
|
|
|
4207
|
+
exports.AllocationV1 = AllocationV1;
|
|
4208
|
+
} (Token));
|
|
4209
|
+
return Token;
|
|
4210
|
+
}
|
|
3781
4211
|
|
|
3782
|
-
|
|
3783
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({settlement: exports.SettlementInfo.decoder, transferLegId: damlTypes.Text.decoder, transferLeg: exports.TransferLeg.decoder, }); }),
|
|
3784
|
-
encode: function (__typed__) {
|
|
3785
|
-
return {
|
|
3786
|
-
settlement: exports.SettlementInfo.encode(__typed__.settlement),
|
|
3787
|
-
transferLegId: damlTypes.Text.encode(__typed__.transferLegId),
|
|
3788
|
-
transferLeg: exports.TransferLeg.encode(__typed__.transferLeg),
|
|
3789
|
-
};
|
|
3790
|
-
}
|
|
3791
|
-
,
|
|
3792
|
-
};
|
|
4212
|
+
var hasRequiredApi;
|
|
3793
4213
|
|
|
4214
|
+
function requireApi () {
|
|
4215
|
+
if (hasRequiredApi) return Api;
|
|
4216
|
+
hasRequiredApi = 1;
|
|
4217
|
+
(function (exports) {
|
|
4218
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3794
4219
|
|
|
4220
|
+
var Token = requireToken();
|
|
3795
4221
|
|
|
3796
|
-
exports.
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
sender: damlTypes.Party.encode(__typed__.sender),
|
|
3801
|
-
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
3802
|
-
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
3803
|
-
instrumentId: Splice_Api_Token_HoldingV1.InstrumentId.encode(__typed__.instrumentId),
|
|
3804
|
-
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
3805
|
-
};
|
|
3806
|
-
}
|
|
3807
|
-
,
|
|
3808
|
-
};
|
|
4222
|
+
exports.Token = Token;
|
|
4223
|
+
} (Api));
|
|
4224
|
+
return Api;
|
|
4225
|
+
}
|
|
3809
4226
|
|
|
4227
|
+
var hasRequiredSplice;
|
|
3810
4228
|
|
|
4229
|
+
function requireSplice () {
|
|
4230
|
+
if (hasRequiredSplice) return Splice;
|
|
4231
|
+
hasRequiredSplice = 1;
|
|
4232
|
+
(function (exports) {
|
|
4233
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3811
4234
|
|
|
3812
|
-
|
|
3813
|
-
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, }); }),
|
|
3814
|
-
encode: function (__typed__) {
|
|
3815
|
-
return {
|
|
3816
|
-
executor: damlTypes.Party.encode(__typed__.executor),
|
|
3817
|
-
settlementRef: exports.Reference.encode(__typed__.settlementRef),
|
|
3818
|
-
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
3819
|
-
allocateBefore: damlTypes.Time.encode(__typed__.allocateBefore),
|
|
3820
|
-
settleBefore: damlTypes.Time.encode(__typed__.settleBefore),
|
|
3821
|
-
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
3822
|
-
};
|
|
3823
|
-
}
|
|
3824
|
-
,
|
|
3825
|
-
};
|
|
4235
|
+
var Api = requireApi();
|
|
3826
4236
|
|
|
4237
|
+
exports.Api = Api;
|
|
4238
|
+
} (Splice));
|
|
4239
|
+
return Splice;
|
|
4240
|
+
}
|
|
3827
4241
|
|
|
4242
|
+
var hasRequiredLib;
|
|
3828
4243
|
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
4244
|
+
function requireLib () {
|
|
4245
|
+
if (hasRequiredLib) return lib;
|
|
4246
|
+
hasRequiredLib = 1;
|
|
4247
|
+
(function (exports) {
|
|
4248
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4249
|
+
|
|
4250
|
+
var Splice = requireSplice();
|
|
4251
|
+
|
|
4252
|
+
exports.Splice = Splice;
|
|
4253
|
+
|
|
4254
|
+
exports.packageId = '93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d';
|
|
4255
|
+
} (lib));
|
|
4256
|
+
return lib;
|
|
3841
4257
|
}
|
|
3842
4258
|
|
|
3843
4259
|
var hasRequiredModule$2;
|
|
3844
4260
|
|
|
3845
4261
|
function requireModule$2 () {
|
|
3846
|
-
if (hasRequiredModule$2) return module$
|
|
4262
|
+
if (hasRequiredModule$2) return module$k;
|
|
3847
4263
|
hasRequiredModule$2 = 1;
|
|
3848
4264
|
(function (exports) {
|
|
3849
4265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4266
|
+
|
|
3850
4267
|
/* eslint-disable-next-line no-unused-vars */
|
|
3851
4268
|
var jtv = require$$0$1;
|
|
3852
4269
|
/* eslint-disable-next-line no-unused-vars */
|
|
3853
4270
|
var damlTypes = requireTypes$1();
|
|
3854
4271
|
|
|
3855
|
-
var
|
|
3856
|
-
|
|
3857
|
-
var
|
|
3858
|
-
var
|
|
3859
|
-
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
4272
|
+
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = requireLib$2();
|
|
4273
|
+
var pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b = requireLib$1();
|
|
4274
|
+
var pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d = requireLib();
|
|
4275
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
3860
4276
|
|
|
3861
4277
|
exports.AllocationFactory = damlTypes.assembleInterface(
|
|
3862
|
-
'#token-
|
|
3863
|
-
'
|
|
4278
|
+
'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
4279
|
+
'#275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
3864
4280
|
function () { return exports.AllocationFactoryView; },
|
|
3865
4281
|
{
|
|
3866
|
-
Archive: {
|
|
3867
|
-
template: function () { return exports.AllocationFactory; },
|
|
3868
|
-
choiceName: 'Archive',
|
|
3869
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
3870
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
3871
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
3872
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3873
|
-
},
|
|
3874
4282
|
AllocationFactory_Allocate: {
|
|
3875
4283
|
template: function () { return exports.AllocationFactory; },
|
|
3876
4284
|
choiceName: 'AllocationFactory_Allocate',
|
|
3877
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4285
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4286
|
+
return exports.AllocationFactory_Allocate.decoder;
|
|
4287
|
+
}),
|
|
3878
4288
|
argumentEncode: function (__typed__) { return exports.AllocationFactory_Allocate.encode(__typed__); },
|
|
3879
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4289
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4290
|
+
return exports.AllocationInstructionResult.decoder;
|
|
4291
|
+
}),
|
|
3880
4292
|
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
3881
4293
|
},
|
|
3882
4294
|
AllocationFactory_PublicFetch: {
|
|
3883
4295
|
template: function () { return exports.AllocationFactory; },
|
|
3884
4296
|
choiceName: 'AllocationFactory_PublicFetch',
|
|
3885
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4297
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4298
|
+
return exports.AllocationFactory_PublicFetch.decoder;
|
|
4299
|
+
}),
|
|
3886
4300
|
argumentEncode: function (__typed__) { return exports.AllocationFactory_PublicFetch.encode(__typed__); },
|
|
3887
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4301
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4302
|
+
return exports.AllocationFactoryView.decoder;
|
|
4303
|
+
}),
|
|
3888
4304
|
resultEncode: function (__typed__) { return exports.AllocationFactoryView.encode(__typed__); },
|
|
3889
4305
|
},
|
|
3890
|
-
|
|
3891
|
-
|
|
4306
|
+
Archive: {
|
|
4307
|
+
template: function () { return exports.AllocationFactory; },
|
|
4308
|
+
choiceName: 'Archive',
|
|
4309
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4310
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
4311
|
+
}),
|
|
4312
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4313
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4314
|
+
return damlTypes.Unit.decoder;
|
|
4315
|
+
}),
|
|
4316
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
4317
|
+
},
|
|
4318
|
+
}
|
|
4319
|
+
);
|
|
3892
4320
|
|
|
3893
4321
|
exports.AllocationInstruction = damlTypes.assembleInterface(
|
|
3894
|
-
'#token-
|
|
3895
|
-
'
|
|
4322
|
+
'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
4323
|
+
'#275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
3896
4324
|
function () { return exports.AllocationInstructionView; },
|
|
3897
4325
|
{
|
|
3898
|
-
|
|
4326
|
+
AllocationInstruction_Update: {
|
|
3899
4327
|
template: function () { return exports.AllocationInstruction; },
|
|
3900
|
-
choiceName: '
|
|
3901
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
4328
|
+
choiceName: 'AllocationInstruction_Update',
|
|
4329
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4330
|
+
return exports.AllocationInstruction_Update.decoder;
|
|
4331
|
+
}),
|
|
4332
|
+
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Update.encode(__typed__); },
|
|
4333
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4334
|
+
return exports.AllocationInstructionResult.decoder;
|
|
4335
|
+
}),
|
|
4336
|
+
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
3905
4337
|
},
|
|
3906
4338
|
AllocationInstruction_Withdraw: {
|
|
3907
4339
|
template: function () { return exports.AllocationInstruction; },
|
|
3908
4340
|
choiceName: 'AllocationInstruction_Withdraw',
|
|
3909
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4341
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4342
|
+
return exports.AllocationInstruction_Withdraw.decoder;
|
|
4343
|
+
}),
|
|
3910
4344
|
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Withdraw.encode(__typed__); },
|
|
3911
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4345
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4346
|
+
return exports.AllocationInstructionResult.decoder;
|
|
4347
|
+
}),
|
|
3912
4348
|
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
3913
4349
|
},
|
|
3914
|
-
|
|
4350
|
+
Archive: {
|
|
3915
4351
|
template: function () { return exports.AllocationInstruction; },
|
|
3916
|
-
choiceName: '
|
|
3917
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
4352
|
+
choiceName: 'Archive',
|
|
4353
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4354
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
4355
|
+
}),
|
|
4356
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4357
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4358
|
+
return damlTypes.Unit.decoder;
|
|
4359
|
+
}),
|
|
4360
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
3921
4361
|
},
|
|
3922
|
-
});
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
exports.AllocationInstructionResult_Output = {
|
|
3927
|
-
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, })); }),
|
|
3928
|
-
encode: function (__typed__) {
|
|
3929
|
-
switch(__typed__.tag) {
|
|
3930
|
-
case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
|
|
3931
|
-
case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
|
|
3932
|
-
case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
3933
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
|
|
3934
4362
|
}
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
}
|
|
3944
|
-
,
|
|
3945
|
-
}),
|
|
3946
|
-
AllocationInstructionResult_Completed:({
|
|
3947
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationCid: damlTypes.ContractId(Splice_Api_Token_AllocationV1.Allocation).decoder, }); }),
|
|
3948
|
-
encode: function (__typed__) {
|
|
3949
|
-
return {
|
|
3950
|
-
allocationCid: damlTypes.ContractId(Splice_Api_Token_AllocationV1.Allocation).encode(__typed__.allocationCid),
|
|
3951
|
-
};
|
|
3952
|
-
}
|
|
3953
|
-
,
|
|
4363
|
+
);
|
|
4364
|
+
|
|
4365
|
+
exports.AllocationFactoryView = {
|
|
4366
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4367
|
+
return jtv.object({
|
|
4368
|
+
admin: damlTypes.Party.decoder,
|
|
4369
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4370
|
+
});
|
|
3954
4371
|
}),
|
|
4372
|
+
encode: function (__typed__) {
|
|
4373
|
+
return {
|
|
4374
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
4375
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4376
|
+
};
|
|
4377
|
+
},
|
|
3955
4378
|
};
|
|
3956
4379
|
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4380
|
+
exports.AllocationFactory_Allocate = {
|
|
4381
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4382
|
+
return jtv.object({
|
|
4383
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
4384
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification.decoder,
|
|
4385
|
+
requestedAt: damlTypes.Time.decoder,
|
|
4386
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4387
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4388
|
+
});
|
|
4389
|
+
}),
|
|
3965
4390
|
encode: function (__typed__) {
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
4391
|
+
return {
|
|
4392
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
4393
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification.encode(__typed__.allocation),
|
|
4394
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4395
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.inputHoldingCids),
|
|
4396
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4397
|
+
};
|
|
4398
|
+
},
|
|
3973
4399
|
};
|
|
3974
4400
|
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
4401
|
exports.AllocationFactory_PublicFetch = {
|
|
3978
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4402
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4403
|
+
return jtv.object({
|
|
4404
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
4405
|
+
actor: damlTypes.Party.decoder,
|
|
4406
|
+
});
|
|
4407
|
+
}),
|
|
3979
4408
|
encode: function (__typed__) {
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
,
|
|
4409
|
+
return {
|
|
4410
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
4411
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
4412
|
+
};
|
|
4413
|
+
},
|
|
3986
4414
|
};
|
|
3987
4415
|
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
4416
|
+
exports.AllocationInstructionResult = {
|
|
4417
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4418
|
+
return jtv.object({
|
|
4419
|
+
output: exports.AllocationInstructionResult_Output.decoder,
|
|
4420
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4421
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4422
|
+
});
|
|
4423
|
+
}),
|
|
3992
4424
|
encode: function (__typed__) {
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
};
|
|
4000
|
-
}
|
|
4001
|
-
,
|
|
4425
|
+
return {
|
|
4426
|
+
output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
|
|
4427
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.senderChangeCids),
|
|
4428
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4429
|
+
};
|
|
4430
|
+
},
|
|
4002
4431
|
};
|
|
4003
4432
|
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4433
|
+
exports.AllocationInstructionResult_Output = {
|
|
4434
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4435
|
+
return jtv.oneOf(
|
|
4436
|
+
jtv.object({
|
|
4437
|
+
tag: jtv.constant("AllocationInstructionResult_Pending"),
|
|
4438
|
+
value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder,
|
|
4439
|
+
}),
|
|
4440
|
+
jtv.object({
|
|
4441
|
+
tag: jtv.constant("AllocationInstructionResult_Completed"),
|
|
4442
|
+
value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder,
|
|
4443
|
+
}),
|
|
4444
|
+
jtv.object({
|
|
4445
|
+
tag: jtv.constant("AllocationInstructionResult_Failed"),
|
|
4446
|
+
value: damlTypes.Unit.decoder,
|
|
4447
|
+
}),
|
|
4448
|
+
);
|
|
4449
|
+
}),
|
|
4008
4450
|
encode: function (__typed__) {
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4451
|
+
switch(__typed__.tag) {
|
|
4452
|
+
case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
|
|
4453
|
+
case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
|
|
4454
|
+
case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
4455
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
|
|
4456
|
+
}
|
|
4457
|
+
},
|
|
4458
|
+
AllocationInstructionResult_Completed: {
|
|
4459
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4460
|
+
return jtv.object({
|
|
4461
|
+
allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.Allocation).decoder,
|
|
4462
|
+
});
|
|
4463
|
+
}),
|
|
4464
|
+
encode: function (__typed__) {
|
|
4465
|
+
return {
|
|
4466
|
+
allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.Allocation).encode(__typed__.allocationCid),
|
|
4467
|
+
};
|
|
4468
|
+
},
|
|
4469
|
+
},
|
|
4470
|
+
AllocationInstructionResult_Pending: {
|
|
4471
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4472
|
+
return jtv.object({
|
|
4473
|
+
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder,
|
|
4474
|
+
});
|
|
4475
|
+
}),
|
|
4476
|
+
encode: function (__typed__) {
|
|
4477
|
+
return {
|
|
4478
|
+
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
|
|
4479
|
+
};
|
|
4480
|
+
},
|
|
4481
|
+
},
|
|
4015
4482
|
};
|
|
4016
4483
|
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4484
|
+
exports.AllocationInstructionView = {
|
|
4485
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4486
|
+
return jtv.object({
|
|
4487
|
+
originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).decoder),
|
|
4488
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification.decoder,
|
|
4489
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder,
|
|
4490
|
+
requestedAt: damlTypes.Time.decoder,
|
|
4491
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4492
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4493
|
+
});
|
|
4494
|
+
}),
|
|
4021
4495
|
encode: function (__typed__) {
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4496
|
+
return {
|
|
4497
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).encode(__typed__.originalInstructionCid),
|
|
4498
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification.encode(__typed__.allocation),
|
|
4499
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
4500
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4501
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.inputHoldingCids),
|
|
4502
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4503
|
+
};
|
|
4504
|
+
},
|
|
4028
4505
|
};
|
|
4029
4506
|
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4507
|
+
exports.AllocationInstruction_Update = {
|
|
4508
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4509
|
+
return jtv.object({
|
|
4510
|
+
extraActors: damlTypes.List(damlTypes.Party).decoder,
|
|
4511
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4512
|
+
});
|
|
4513
|
+
}),
|
|
4034
4514
|
encode: function (__typed__) {
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4515
|
+
return {
|
|
4516
|
+
extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
|
|
4517
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4518
|
+
};
|
|
4519
|
+
},
|
|
4040
4520
|
};
|
|
4041
4521
|
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4522
|
+
exports.AllocationInstruction_Withdraw = {
|
|
4523
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4524
|
+
return jtv.object({
|
|
4525
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4526
|
+
});
|
|
4527
|
+
}),
|
|
4046
4528
|
encode: function (__typed__) {
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4052
|
-
inputHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.inputHoldingCids),
|
|
4053
|
-
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
4054
|
-
};
|
|
4055
|
-
}
|
|
4056
|
-
,
|
|
4529
|
+
return {
|
|
4530
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4531
|
+
};
|
|
4532
|
+
},
|
|
4057
4533
|
};
|
|
4058
|
-
} (module$
|
|
4059
|
-
return module$
|
|
4534
|
+
} (module$k));
|
|
4535
|
+
return module$k;
|
|
4060
4536
|
}
|
|
4061
4537
|
|
|
4062
|
-
var
|
|
4063
|
-
|
|
4064
|
-
function requireAllocationInstructionV1 () {
|
|
4065
|
-
if (hasRequiredAllocationInstructionV1) return AllocationInstructionV1$1;
|
|
4066
|
-
hasRequiredAllocationInstructionV1 = 1;
|
|
4067
|
-
(function (exports) {
|
|
4068
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4069
|
-
function __export(m) {
|
|
4070
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4071
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4072
|
-
}
|
|
4073
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4074
|
-
__export(requireModule$2());
|
|
4075
|
-
} (AllocationInstructionV1$1));
|
|
4076
|
-
return AllocationInstructionV1$1;
|
|
4077
|
-
}
|
|
4538
|
+
var moduleExports$5 = requireModule$2();
|
|
4539
|
+
var module$d = /*@__PURE__*/getDefaultExportFromCjs(moduleExports$5);
|
|
4078
4540
|
|
|
4079
|
-
var
|
|
4541
|
+
var module$e = /*#__PURE__*/_mergeNamespaces({
|
|
4542
|
+
__proto__: null,
|
|
4543
|
+
default: module$d
|
|
4544
|
+
}, [moduleExports$5]);
|
|
4080
4545
|
|
|
4081
|
-
var module$
|
|
4546
|
+
var module$c = {};
|
|
4082
4547
|
|
|
4083
4548
|
var hasRequiredModule$1;
|
|
4084
4549
|
|
|
4085
4550
|
function requireModule$1 () {
|
|
4086
|
-
if (hasRequiredModule$1) return module$
|
|
4551
|
+
if (hasRequiredModule$1) return module$c;
|
|
4087
4552
|
hasRequiredModule$1 = 1;
|
|
4088
4553
|
(function (exports) {
|
|
4089
4554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4555
|
+
|
|
4090
4556
|
/* eslint-disable-next-line no-unused-vars */
|
|
4091
4557
|
var jtv = require$$0$1;
|
|
4092
4558
|
/* eslint-disable-next-line no-unused-vars */
|
|
4093
4559
|
var damlTypes = requireTypes$1();
|
|
4094
4560
|
|
|
4095
|
-
var
|
|
4096
|
-
|
|
4097
|
-
var
|
|
4098
|
-
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
4561
|
+
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = requireLib$2();
|
|
4562
|
+
var pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d = requireLib();
|
|
4563
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
4099
4564
|
|
|
4100
4565
|
exports.AllocationRequest = damlTypes.assembleInterface(
|
|
4101
|
-
'#token-
|
|
4102
|
-
'
|
|
4566
|
+
'#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest',
|
|
4567
|
+
'#6fe848530b2404017c4a12874c956ad7d5c8a419ee9b040f96b5c13172d2e193:Splice.Api.Token.AllocationRequestV1:AllocationRequest',
|
|
4103
4568
|
function () { return exports.AllocationRequestView; },
|
|
4104
4569
|
{
|
|
4105
|
-
Archive: {
|
|
4106
|
-
template: function () { return exports.AllocationRequest; },
|
|
4107
|
-
choiceName: 'Archive',
|
|
4108
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
4109
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4110
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
4111
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
4112
|
-
},
|
|
4113
4570
|
AllocationRequest_Reject: {
|
|
4114
4571
|
template: function () { return exports.AllocationRequest; },
|
|
4115
4572
|
choiceName: 'AllocationRequest_Reject',
|
|
4116
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4573
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4574
|
+
return exports.AllocationRequest_Reject.decoder;
|
|
4575
|
+
}),
|
|
4117
4576
|
argumentEncode: function (__typed__) { return exports.AllocationRequest_Reject.encode(__typed__); },
|
|
4118
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4119
|
-
|
|
4577
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4578
|
+
return pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ChoiceExecutionMetadata.decoder;
|
|
4579
|
+
}),
|
|
4580
|
+
resultEncode: function (__typed__) { return pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ChoiceExecutionMetadata.encode(__typed__); },
|
|
4120
4581
|
},
|
|
4121
4582
|
AllocationRequest_Withdraw: {
|
|
4122
4583
|
template: function () { return exports.AllocationRequest; },
|
|
4123
4584
|
choiceName: 'AllocationRequest_Withdraw',
|
|
4124
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4585
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4586
|
+
return exports.AllocationRequest_Withdraw.decoder;
|
|
4587
|
+
}),
|
|
4125
4588
|
argumentEncode: function (__typed__) { return exports.AllocationRequest_Withdraw.encode(__typed__); },
|
|
4126
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4127
|
-
|
|
4589
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4590
|
+
return pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ChoiceExecutionMetadata.decoder;
|
|
4591
|
+
}),
|
|
4592
|
+
resultEncode: function (__typed__) { return pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ChoiceExecutionMetadata.encode(__typed__); },
|
|
4128
4593
|
},
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4594
|
+
Archive: {
|
|
4595
|
+
template: function () { return exports.AllocationRequest; },
|
|
4596
|
+
choiceName: 'Archive',
|
|
4597
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4598
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
4599
|
+
}),
|
|
4600
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4601
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4602
|
+
return damlTypes.Unit.decoder;
|
|
4603
|
+
}),
|
|
4604
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
4605
|
+
},
|
|
4606
|
+
}
|
|
4607
|
+
);
|
|
4132
4608
|
|
|
4133
4609
|
exports.AllocationRequestView = {
|
|
4134
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4610
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4611
|
+
return jtv.object({
|
|
4612
|
+
settlement: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.SettlementInfo.decoder,
|
|
4613
|
+
transferLegs: damlTypes.TextMap(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.TransferLeg).decoder,
|
|
4614
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4615
|
+
});
|
|
4616
|
+
}),
|
|
4135
4617
|
encode: function (__typed__) {
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
,
|
|
4618
|
+
return {
|
|
4619
|
+
settlement: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.SettlementInfo.encode(__typed__.settlement),
|
|
4620
|
+
transferLegs: damlTypes.TextMap(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.TransferLeg).encode(__typed__.transferLegs),
|
|
4621
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4622
|
+
};
|
|
4623
|
+
},
|
|
4143
4624
|
};
|
|
4144
4625
|
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4626
|
+
exports.AllocationRequest_Reject = {
|
|
4627
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4628
|
+
return jtv.object({
|
|
4629
|
+
actor: damlTypes.Party.decoder,
|
|
4630
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4631
|
+
});
|
|
4632
|
+
}),
|
|
4149
4633
|
encode: function (__typed__) {
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4634
|
+
return {
|
|
4635
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
4636
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4637
|
+
};
|
|
4638
|
+
},
|
|
4155
4639
|
};
|
|
4156
4640
|
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4641
|
+
exports.AllocationRequest_Withdraw = {
|
|
4642
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4643
|
+
return jtv.object({
|
|
4644
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4645
|
+
});
|
|
4646
|
+
}),
|
|
4161
4647
|
encode: function (__typed__) {
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
}
|
|
4166
|
-
}
|
|
4167
|
-
,
|
|
4648
|
+
return {
|
|
4649
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4650
|
+
};
|
|
4651
|
+
},
|
|
4168
4652
|
};
|
|
4169
|
-
} (module$
|
|
4170
|
-
return module$
|
|
4653
|
+
} (module$c));
|
|
4654
|
+
return module$c;
|
|
4171
4655
|
}
|
|
4172
4656
|
|
|
4173
|
-
var
|
|
4174
|
-
|
|
4175
|
-
function requireAllocationRequestV1 () {
|
|
4176
|
-
if (hasRequiredAllocationRequestV1) return AllocationRequestV1$1;
|
|
4177
|
-
hasRequiredAllocationRequestV1 = 1;
|
|
4178
|
-
(function (exports) {
|
|
4179
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4180
|
-
function __export(m) {
|
|
4181
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4182
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4183
|
-
}
|
|
4184
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4185
|
-
__export(requireModule$1());
|
|
4186
|
-
} (AllocationRequestV1$1));
|
|
4187
|
-
return AllocationRequestV1$1;
|
|
4188
|
-
}
|
|
4189
|
-
|
|
4190
|
-
var AllocationV1$1 = {};
|
|
4191
|
-
|
|
4192
|
-
var hasRequiredAllocationV1;
|
|
4193
|
-
|
|
4194
|
-
function requireAllocationV1 () {
|
|
4195
|
-
if (hasRequiredAllocationV1) return AllocationV1$1;
|
|
4196
|
-
hasRequiredAllocationV1 = 1;
|
|
4197
|
-
(function (exports) {
|
|
4198
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4199
|
-
function __export(m) {
|
|
4200
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4201
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4202
|
-
}
|
|
4203
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4204
|
-
__export(requireModule$3());
|
|
4205
|
-
} (AllocationV1$1));
|
|
4206
|
-
return AllocationV1$1;
|
|
4207
|
-
}
|
|
4208
|
-
|
|
4209
|
-
var HoldingV1$1 = {};
|
|
4210
|
-
|
|
4211
|
-
var hasRequiredHoldingV1;
|
|
4212
|
-
|
|
4213
|
-
function requireHoldingV1 () {
|
|
4214
|
-
if (hasRequiredHoldingV1) return HoldingV1$1;
|
|
4215
|
-
hasRequiredHoldingV1 = 1;
|
|
4216
|
-
(function (exports) {
|
|
4217
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4218
|
-
function __export(m) {
|
|
4219
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4220
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4221
|
-
}
|
|
4222
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4223
|
-
__export(requireModule$4());
|
|
4224
|
-
} (HoldingV1$1));
|
|
4225
|
-
return HoldingV1$1;
|
|
4226
|
-
}
|
|
4227
|
-
|
|
4228
|
-
var MetadataV1$1 = {};
|
|
4229
|
-
|
|
4230
|
-
var hasRequiredMetadataV1;
|
|
4231
|
-
|
|
4232
|
-
function requireMetadataV1 () {
|
|
4233
|
-
if (hasRequiredMetadataV1) return MetadataV1$1;
|
|
4234
|
-
hasRequiredMetadataV1 = 1;
|
|
4235
|
-
(function (exports) {
|
|
4236
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4237
|
-
function __export(m) {
|
|
4238
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4239
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4240
|
-
}
|
|
4241
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4242
|
-
__export(requireModule$5());
|
|
4243
|
-
} (MetadataV1$1));
|
|
4244
|
-
return MetadataV1$1;
|
|
4245
|
-
}
|
|
4657
|
+
var moduleExports$4 = requireModule$1();
|
|
4658
|
+
var module$a = /*@__PURE__*/getDefaultExportFromCjs(moduleExports$4);
|
|
4246
4659
|
|
|
4247
|
-
var
|
|
4660
|
+
var module$b = /*#__PURE__*/_mergeNamespaces({
|
|
4661
|
+
__proto__: null,
|
|
4662
|
+
default: module$a
|
|
4663
|
+
}, [moduleExports$4]);
|
|
4664
|
+
|
|
4665
|
+
var moduleExports$3 = requireModule$3();
|
|
4666
|
+
var module$8 = /*@__PURE__*/getDefaultExportFromCjs(moduleExports$3);
|
|
4667
|
+
|
|
4668
|
+
var module$9 = /*#__PURE__*/_mergeNamespaces({
|
|
4669
|
+
__proto__: null,
|
|
4670
|
+
default: module$8
|
|
4671
|
+
}, [moduleExports$3]);
|
|
4672
|
+
|
|
4673
|
+
var moduleExports$2 = requireModule$4();
|
|
4674
|
+
var module$6 = /*@__PURE__*/getDefaultExportFromCjs(moduleExports$2);
|
|
4675
|
+
|
|
4676
|
+
var module$7 = /*#__PURE__*/_mergeNamespaces({
|
|
4677
|
+
__proto__: null,
|
|
4678
|
+
default: module$6
|
|
4679
|
+
}, [moduleExports$2]);
|
|
4680
|
+
|
|
4681
|
+
var moduleExports$1 = requireModule$5();
|
|
4682
|
+
var module$4 = /*@__PURE__*/getDefaultExportFromCjs(moduleExports$1);
|
|
4248
4683
|
|
|
4249
|
-
var module$
|
|
4684
|
+
var module$5 = /*#__PURE__*/_mergeNamespaces({
|
|
4685
|
+
__proto__: null,
|
|
4686
|
+
default: module$4
|
|
4687
|
+
}, [moduleExports$1]);
|
|
4688
|
+
|
|
4689
|
+
var module$3 = {};
|
|
4250
4690
|
|
|
4251
4691
|
var hasRequiredModule;
|
|
4252
4692
|
|
|
4253
4693
|
function requireModule () {
|
|
4254
|
-
if (hasRequiredModule) return module$
|
|
4694
|
+
if (hasRequiredModule) return module$3;
|
|
4255
4695
|
hasRequiredModule = 1;
|
|
4256
4696
|
(function (exports) {
|
|
4257
4697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4698
|
+
|
|
4258
4699
|
/* eslint-disable-next-line no-unused-vars */
|
|
4259
4700
|
var jtv = require$$0$1;
|
|
4260
4701
|
/* eslint-disable-next-line no-unused-vars */
|
|
4261
4702
|
var damlTypes = requireTypes$1();
|
|
4262
4703
|
|
|
4263
|
-
var
|
|
4264
|
-
|
|
4265
|
-
var
|
|
4266
|
-
var Splice_Api_Token_MetadataV1 = requireModule$5();
|
|
4704
|
+
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = requireLib$2();
|
|
4705
|
+
var pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b = requireLib$1();
|
|
4706
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$4();
|
|
4267
4707
|
|
|
4268
4708
|
exports.TransferFactory = damlTypes.assembleInterface(
|
|
4269
|
-
'#token-
|
|
4270
|
-
'
|
|
4709
|
+
'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
4710
|
+
'#55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
4271
4711
|
function () { return exports.TransferFactoryView; },
|
|
4272
4712
|
{
|
|
4273
4713
|
Archive: {
|
|
4274
4714
|
template: function () { return exports.TransferFactory; },
|
|
4275
4715
|
choiceName: 'Archive',
|
|
4276
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4716
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4717
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
4718
|
+
}),
|
|
4277
4719
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4278
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4720
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4721
|
+
return damlTypes.Unit.decoder;
|
|
4722
|
+
}),
|
|
4279
4723
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
4280
4724
|
},
|
|
4281
|
-
TransferFactory_Transfer: {
|
|
4282
|
-
template: function () { return exports.TransferFactory; },
|
|
4283
|
-
choiceName: 'TransferFactory_Transfer',
|
|
4284
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_Transfer.decoder; }),
|
|
4285
|
-
argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
|
|
4286
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
4287
|
-
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4288
|
-
},
|
|
4289
4725
|
TransferFactory_PublicFetch: {
|
|
4290
4726
|
template: function () { return exports.TransferFactory; },
|
|
4291
4727
|
choiceName: 'TransferFactory_PublicFetch',
|
|
4292
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4728
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4729
|
+
return exports.TransferFactory_PublicFetch.decoder;
|
|
4730
|
+
}),
|
|
4293
4731
|
argumentEncode: function (__typed__) { return exports.TransferFactory_PublicFetch.encode(__typed__); },
|
|
4294
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4732
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4733
|
+
return exports.TransferFactoryView.decoder;
|
|
4734
|
+
}),
|
|
4295
4735
|
resultEncode: function (__typed__) { return exports.TransferFactoryView.encode(__typed__); },
|
|
4296
4736
|
},
|
|
4297
|
-
|
|
4298
|
-
|
|
4737
|
+
TransferFactory_Transfer: {
|
|
4738
|
+
template: function () { return exports.TransferFactory; },
|
|
4739
|
+
choiceName: 'TransferFactory_Transfer',
|
|
4740
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4741
|
+
return exports.TransferFactory_Transfer.decoder;
|
|
4742
|
+
}),
|
|
4743
|
+
argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
|
|
4744
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4745
|
+
return exports.TransferInstructionResult.decoder;
|
|
4746
|
+
}),
|
|
4747
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4748
|
+
},
|
|
4749
|
+
}
|
|
4750
|
+
);
|
|
4299
4751
|
|
|
4300
4752
|
exports.TransferInstruction = damlTypes.assembleInterface(
|
|
4301
|
-
'#token-
|
|
4302
|
-
'
|
|
4753
|
+
'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
4754
|
+
'#55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
4303
4755
|
function () { return exports.TransferInstructionView; },
|
|
4304
4756
|
{
|
|
4305
4757
|
Archive: {
|
|
4306
4758
|
template: function () { return exports.TransferInstruction; },
|
|
4307
4759
|
choiceName: 'Archive',
|
|
4308
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4760
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4761
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
4762
|
+
}),
|
|
4309
4763
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
4310
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4764
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4765
|
+
return damlTypes.Unit.decoder;
|
|
4766
|
+
}),
|
|
4311
4767
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
4312
4768
|
},
|
|
4313
4769
|
TransferInstruction_Accept: {
|
|
4314
4770
|
template: function () { return exports.TransferInstruction; },
|
|
4315
4771
|
choiceName: 'TransferInstruction_Accept',
|
|
4316
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4772
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4773
|
+
return exports.TransferInstruction_Accept.decoder;
|
|
4774
|
+
}),
|
|
4317
4775
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Accept.encode(__typed__); },
|
|
4318
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4776
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4777
|
+
return exports.TransferInstructionResult.decoder;
|
|
4778
|
+
}),
|
|
4319
4779
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4320
4780
|
},
|
|
4321
4781
|
TransferInstruction_Reject: {
|
|
4322
4782
|
template: function () { return exports.TransferInstruction; },
|
|
4323
4783
|
choiceName: 'TransferInstruction_Reject',
|
|
4324
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4784
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4785
|
+
return exports.TransferInstruction_Reject.decoder;
|
|
4786
|
+
}),
|
|
4325
4787
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Reject.encode(__typed__); },
|
|
4326
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
TransferInstruction_Withdraw: {
|
|
4330
|
-
template: function () { return exports.TransferInstruction; },
|
|
4331
|
-
choiceName: 'TransferInstruction_Withdraw',
|
|
4332
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Withdraw.decoder; }),
|
|
4333
|
-
argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
|
|
4334
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
4788
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4789
|
+
return exports.TransferInstructionResult.decoder;
|
|
4790
|
+
}),
|
|
4335
4791
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4336
4792
|
},
|
|
4337
4793
|
TransferInstruction_Update: {
|
|
4338
4794
|
template: function () { return exports.TransferInstruction; },
|
|
4339
4795
|
choiceName: 'TransferInstruction_Update',
|
|
4340
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4796
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4797
|
+
return exports.TransferInstruction_Update.decoder;
|
|
4798
|
+
}),
|
|
4341
4799
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Update.encode(__typed__); },
|
|
4342
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4800
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4801
|
+
return exports.TransferInstructionResult.decoder;
|
|
4802
|
+
}),
|
|
4343
4803
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4344
4804
|
},
|
|
4345
|
-
|
|
4346
|
-
|
|
4805
|
+
TransferInstruction_Withdraw: {
|
|
4806
|
+
template: function () { return exports.TransferInstruction; },
|
|
4807
|
+
choiceName: 'TransferInstruction_Withdraw',
|
|
4808
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
4809
|
+
return exports.TransferInstruction_Withdraw.decoder;
|
|
4810
|
+
}),
|
|
4811
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
|
|
4812
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
4813
|
+
return exports.TransferInstructionResult.decoder;
|
|
4814
|
+
}),
|
|
4815
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
4816
|
+
},
|
|
4817
|
+
}
|
|
4818
|
+
);
|
|
4347
4819
|
|
|
4820
|
+
exports.Transfer = {
|
|
4821
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4822
|
+
return jtv.object({
|
|
4823
|
+
sender: damlTypes.Party.decoder,
|
|
4824
|
+
receiver: damlTypes.Party.decoder,
|
|
4825
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
4826
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId.decoder,
|
|
4827
|
+
requestedAt: damlTypes.Time.decoder,
|
|
4828
|
+
executeBefore: damlTypes.Time.decoder,
|
|
4829
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4830
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4831
|
+
});
|
|
4832
|
+
}),
|
|
4833
|
+
encode: function (__typed__) {
|
|
4834
|
+
return {
|
|
4835
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
4836
|
+
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
4837
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
4838
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId.encode(__typed__.instrumentId),
|
|
4839
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4840
|
+
executeBefore: damlTypes.Time.encode(__typed__.executeBefore),
|
|
4841
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.inputHoldingCids),
|
|
4842
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4843
|
+
};
|
|
4844
|
+
},
|
|
4845
|
+
};
|
|
4348
4846
|
|
|
4349
4847
|
exports.TransferFactoryView = {
|
|
4350
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4848
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4849
|
+
return jtv.object({
|
|
4850
|
+
admin: damlTypes.Party.decoder,
|
|
4851
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4852
|
+
});
|
|
4853
|
+
}),
|
|
4351
4854
|
encode: function (__typed__) {
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
,
|
|
4855
|
+
return {
|
|
4856
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
4857
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4858
|
+
};
|
|
4859
|
+
},
|
|
4358
4860
|
};
|
|
4359
4861
|
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
4862
|
exports.TransferFactory_PublicFetch = {
|
|
4363
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4863
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4864
|
+
return jtv.object({
|
|
4865
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
4866
|
+
actor: damlTypes.Party.decoder,
|
|
4867
|
+
});
|
|
4868
|
+
}),
|
|
4364
4869
|
encode: function (__typed__) {
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
,
|
|
4870
|
+
return {
|
|
4871
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
4872
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
4873
|
+
};
|
|
4874
|
+
},
|
|
4371
4875
|
};
|
|
4372
4876
|
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
4877
|
exports.TransferFactory_Transfer = {
|
|
4376
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
}
|
|
4383
|
-
}
|
|
4384
|
-
,
|
|
4385
|
-
};
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
exports.TransferInstruction_Update = {
|
|
4390
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder, }); }),
|
|
4878
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4879
|
+
return jtv.object({
|
|
4880
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
4881
|
+
transfer: exports.Transfer.decoder,
|
|
4882
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
4883
|
+
});
|
|
4884
|
+
}),
|
|
4391
4885
|
encode: function (__typed__) {
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4886
|
+
return {
|
|
4887
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
4888
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
4889
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
4890
|
+
};
|
|
4891
|
+
},
|
|
4398
4892
|
};
|
|
4399
4893
|
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4894
|
+
exports.TransferInstructionResult = {
|
|
4895
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4896
|
+
return jtv.object({
|
|
4897
|
+
output: exports.TransferInstructionResult_Output.decoder,
|
|
4898
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4899
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
4900
|
+
});
|
|
4901
|
+
}),
|
|
4404
4902
|
encode: function (__typed__) {
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4903
|
+
return {
|
|
4904
|
+
output: exports.TransferInstructionResult_Output.encode(__typed__.output),
|
|
4905
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.senderChangeCids),
|
|
4906
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
4907
|
+
};
|
|
4908
|
+
},
|
|
4410
4909
|
};
|
|
4411
4910
|
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4911
|
+
exports.TransferInstructionResult_Output = {
|
|
4912
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4913
|
+
return jtv.oneOf(
|
|
4914
|
+
jtv.object({
|
|
4915
|
+
tag: jtv.constant("TransferInstructionResult_Pending"),
|
|
4916
|
+
value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.decoder,
|
|
4917
|
+
}),
|
|
4918
|
+
jtv.object({
|
|
4919
|
+
tag: jtv.constant("TransferInstructionResult_Completed"),
|
|
4920
|
+
value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.decoder,
|
|
4921
|
+
}),
|
|
4922
|
+
jtv.object({
|
|
4923
|
+
tag: jtv.constant("TransferInstructionResult_Failed"),
|
|
4924
|
+
value: damlTypes.Unit.decoder,
|
|
4925
|
+
}),
|
|
4926
|
+
);
|
|
4927
|
+
}),
|
|
4416
4928
|
encode: function (__typed__) {
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4929
|
+
switch(__typed__.tag) {
|
|
4930
|
+
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
|
|
4931
|
+
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
|
|
4932
|
+
case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
4933
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
|
|
4934
|
+
}
|
|
4935
|
+
},
|
|
4936
|
+
TransferInstructionResult_Completed: {
|
|
4937
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4938
|
+
return jtv.object({
|
|
4939
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).decoder,
|
|
4940
|
+
});
|
|
4941
|
+
}),
|
|
4942
|
+
encode: function (__typed__) {
|
|
4943
|
+
return {
|
|
4944
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding)).encode(__typed__.receiverHoldingCids),
|
|
4945
|
+
};
|
|
4946
|
+
},
|
|
4947
|
+
},
|
|
4948
|
+
TransferInstructionResult_Pending: {
|
|
4949
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4950
|
+
return jtv.object({
|
|
4951
|
+
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder,
|
|
4952
|
+
});
|
|
4953
|
+
}),
|
|
4954
|
+
encode: function (__typed__) {
|
|
4955
|
+
return {
|
|
4956
|
+
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
|
|
4957
|
+
};
|
|
4958
|
+
},
|
|
4959
|
+
},
|
|
4422
4960
|
};
|
|
4423
4961
|
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4962
|
+
exports.TransferInstructionStatus = {
|
|
4963
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4964
|
+
return jtv.oneOf(
|
|
4965
|
+
jtv.object({
|
|
4966
|
+
tag: jtv.constant("TransferPendingReceiverAcceptance"),
|
|
4967
|
+
value: damlTypes.Unit.decoder,
|
|
4968
|
+
}),
|
|
4969
|
+
jtv.object({
|
|
4970
|
+
tag: jtv.constant("TransferPendingInternalWorkflow"),
|
|
4971
|
+
value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.decoder,
|
|
4972
|
+
}),
|
|
4973
|
+
);
|
|
4974
|
+
}),
|
|
4428
4975
|
encode: function (__typed__) {
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4976
|
+
switch(__typed__.tag) {
|
|
4977
|
+
case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
4978
|
+
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
|
|
4979
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
|
|
4980
|
+
}
|
|
4981
|
+
},
|
|
4982
|
+
TransferPendingInternalWorkflow: {
|
|
4983
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4984
|
+
return jtv.object({
|
|
4985
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder,
|
|
4986
|
+
});
|
|
4987
|
+
}),
|
|
4988
|
+
encode: function (__typed__) {
|
|
4989
|
+
return {
|
|
4990
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
4991
|
+
};
|
|
4992
|
+
},
|
|
4993
|
+
},
|
|
4434
4994
|
};
|
|
4435
4995
|
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
4996
|
exports.TransferInstructionView = {
|
|
4439
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
4997
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
4998
|
+
return jtv.object({
|
|
4999
|
+
originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).decoder),
|
|
5000
|
+
transfer: exports.Transfer.decoder,
|
|
5001
|
+
status: exports.TransferInstructionStatus.decoder,
|
|
5002
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder,
|
|
5003
|
+
});
|
|
5004
|
+
}),
|
|
4440
5005
|
encode: function (__typed__) {
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
,
|
|
5006
|
+
return {
|
|
5007
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).encode(__typed__.originalInstructionCid),
|
|
5008
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
5009
|
+
status: exports.TransferInstructionStatus.encode(__typed__.status),
|
|
5010
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.meta),
|
|
5011
|
+
};
|
|
5012
|
+
},
|
|
4449
5013
|
};
|
|
4450
5014
|
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
switch(__typed__.tag) {
|
|
4457
|
-
case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
4458
|
-
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
|
|
4459
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
|
|
4460
|
-
}
|
|
4461
|
-
}
|
|
4462
|
-
,
|
|
4463
|
-
TransferPendingInternalWorkflow:({
|
|
4464
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, }); }),
|
|
4465
|
-
encode: function (__typed__) {
|
|
4466
|
-
return {
|
|
4467
|
-
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
4468
|
-
};
|
|
4469
|
-
}
|
|
4470
|
-
,
|
|
5015
|
+
exports.TransferInstruction_Accept = {
|
|
5016
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
5017
|
+
return jtv.object({
|
|
5018
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
5019
|
+
});
|
|
4471
5020
|
}),
|
|
5021
|
+
encode: function (__typed__) {
|
|
5022
|
+
return {
|
|
5023
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
5024
|
+
};
|
|
5025
|
+
},
|
|
4472
5026
|
};
|
|
4473
5027
|
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
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, })); }),
|
|
4480
|
-
encode: function (__typed__) {
|
|
4481
|
-
switch(__typed__.tag) {
|
|
4482
|
-
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
|
|
4483
|
-
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
|
|
4484
|
-
case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
4485
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
|
|
4486
|
-
}
|
|
4487
|
-
}
|
|
4488
|
-
,
|
|
4489
|
-
TransferInstructionResult_Pending:({
|
|
4490
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder, }); }),
|
|
4491
|
-
encode: function (__typed__) {
|
|
4492
|
-
return {
|
|
4493
|
-
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
|
|
4494
|
-
};
|
|
4495
|
-
}
|
|
4496
|
-
,
|
|
4497
|
-
}),
|
|
4498
|
-
TransferInstructionResult_Completed:({
|
|
4499
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({receiverHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).decoder, }); }),
|
|
4500
|
-
encode: function (__typed__) {
|
|
4501
|
-
return {
|
|
4502
|
-
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.receiverHoldingCids),
|
|
4503
|
-
};
|
|
4504
|
-
}
|
|
4505
|
-
,
|
|
5028
|
+
exports.TransferInstruction_Reject = {
|
|
5029
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
5030
|
+
return jtv.object({
|
|
5031
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
5032
|
+
});
|
|
4506
5033
|
}),
|
|
5034
|
+
encode: function (__typed__) {
|
|
5035
|
+
return {
|
|
5036
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
5037
|
+
};
|
|
5038
|
+
},
|
|
4507
5039
|
};
|
|
4508
5040
|
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
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, }); }),
|
|
5041
|
+
exports.TransferInstruction_Update = {
|
|
5042
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
5043
|
+
return jtv.object({
|
|
5044
|
+
extraActors: damlTypes.List(damlTypes.Party).decoder,
|
|
5045
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
5046
|
+
});
|
|
5047
|
+
}),
|
|
4517
5048
|
encode: function (__typed__) {
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
}
|
|
4523
|
-
}
|
|
4524
|
-
,
|
|
5049
|
+
return {
|
|
5050
|
+
extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
|
|
5051
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
5052
|
+
};
|
|
5053
|
+
},
|
|
4525
5054
|
};
|
|
4526
5055
|
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
5056
|
+
exports.TransferInstruction_Withdraw = {
|
|
5057
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
5058
|
+
return jtv.object({
|
|
5059
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.decoder,
|
|
5060
|
+
});
|
|
5061
|
+
}),
|
|
4531
5062
|
encode: function (__typed__) {
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
instrumentId: Splice_Api_Token_HoldingV1.InstrumentId.encode(__typed__.instrumentId),
|
|
4537
|
-
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
4538
|
-
executeBefore: damlTypes.Time.encode(__typed__.executeBefore),
|
|
4539
|
-
inputHoldingCids: damlTypes.List(damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)).encode(__typed__.inputHoldingCids),
|
|
4540
|
-
meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
|
|
4541
|
-
};
|
|
4542
|
-
}
|
|
4543
|
-
,
|
|
5063
|
+
return {
|
|
5064
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs.encode(__typed__.extraArgs),
|
|
5065
|
+
};
|
|
5066
|
+
},
|
|
4544
5067
|
};
|
|
4545
|
-
} (module$
|
|
4546
|
-
return module$
|
|
4547
|
-
}
|
|
4548
|
-
|
|
4549
|
-
var hasRequiredTransferInstructionV1;
|
|
4550
|
-
|
|
4551
|
-
function requireTransferInstructionV1 () {
|
|
4552
|
-
if (hasRequiredTransferInstructionV1) return TransferInstructionV1$1;
|
|
4553
|
-
hasRequiredTransferInstructionV1 = 1;
|
|
4554
|
-
(function (exports) {
|
|
4555
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
4556
|
-
function __export(m) {
|
|
4557
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
4558
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4559
|
-
}
|
|
4560
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4561
|
-
__export(requireModule());
|
|
4562
|
-
} (TransferInstructionV1$1));
|
|
4563
|
-
return TransferInstructionV1$1;
|
|
4564
|
-
}
|
|
4565
|
-
|
|
4566
|
-
var hasRequiredToken;
|
|
4567
|
-
|
|
4568
|
-
function requireToken () {
|
|
4569
|
-
if (hasRequiredToken) return Token;
|
|
4570
|
-
hasRequiredToken = 1;
|
|
4571
|
-
(function (exports) {
|
|
4572
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4573
|
-
var AllocationInstructionV1 = requireAllocationInstructionV1();
|
|
4574
|
-
exports.AllocationInstructionV1 = AllocationInstructionV1;
|
|
4575
|
-
var AllocationRequestV1 = requireAllocationRequestV1();
|
|
4576
|
-
exports.AllocationRequestV1 = AllocationRequestV1;
|
|
4577
|
-
var AllocationV1 = requireAllocationV1();
|
|
4578
|
-
exports.AllocationV1 = AllocationV1;
|
|
4579
|
-
var HoldingV1 = requireHoldingV1();
|
|
4580
|
-
exports.HoldingV1 = HoldingV1;
|
|
4581
|
-
var MetadataV1 = requireMetadataV1();
|
|
4582
|
-
exports.MetadataV1 = MetadataV1;
|
|
4583
|
-
var TransferInstructionV1 = requireTransferInstructionV1();
|
|
4584
|
-
exports.TransferInstructionV1 = TransferInstructionV1;
|
|
4585
|
-
} (Token));
|
|
4586
|
-
return Token;
|
|
5068
|
+
} (module$3));
|
|
5069
|
+
return module$3;
|
|
4587
5070
|
}
|
|
4588
5071
|
|
|
4589
|
-
var
|
|
4590
|
-
|
|
4591
|
-
function requireApi () {
|
|
4592
|
-
if (hasRequiredApi) return Api;
|
|
4593
|
-
hasRequiredApi = 1;
|
|
4594
|
-
(function (exports) {
|
|
4595
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4596
|
-
var Token = requireToken();
|
|
4597
|
-
exports.Token = Token;
|
|
4598
|
-
} (Api));
|
|
4599
|
-
return Api;
|
|
4600
|
-
}
|
|
5072
|
+
var moduleExports = requireModule();
|
|
5073
|
+
var module$1 = /*@__PURE__*/getDefaultExportFromCjs(moduleExports);
|
|
4601
5074
|
|
|
4602
|
-
var
|
|
5075
|
+
var module$2 = /*#__PURE__*/_mergeNamespaces({
|
|
5076
|
+
__proto__: null,
|
|
5077
|
+
default: module$1
|
|
5078
|
+
}, [moduleExports]);
|
|
4603
5079
|
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
hasRequiredSplice = 1;
|
|
4607
|
-
(function (exports) {
|
|
4608
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4609
|
-
var Api = requireApi();
|
|
4610
|
-
exports.Api = Api;
|
|
4611
|
-
} (Splice));
|
|
4612
|
-
return Splice;
|
|
4613
|
-
}
|
|
5080
|
+
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
5081
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4614
5082
|
|
|
4615
|
-
var
|
|
5083
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
5084
|
+
__proto__: null,
|
|
5085
|
+
AllocationInstructionV1: module$e,
|
|
5086
|
+
AllocationRequestV1: module$b,
|
|
5087
|
+
AllocationV1: module$9,
|
|
5088
|
+
HoldingV1: module$7,
|
|
5089
|
+
MetadataV1: module$5,
|
|
5090
|
+
TransferInstructionV1: module$2
|
|
5091
|
+
});
|
|
4616
5092
|
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
hasRequiredLib = 1;
|
|
4620
|
-
(function (exports) {
|
|
4621
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4622
|
-
var Splice = requireSplice();
|
|
4623
|
-
exports.Splice = Splice;
|
|
4624
|
-
exports.packageId = 'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4';
|
|
4625
|
-
} (lib$2));
|
|
4626
|
-
return lib$2;
|
|
4627
|
-
}
|
|
5093
|
+
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
5094
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4628
5095
|
|
|
4629
|
-
var
|
|
5096
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
5097
|
+
__proto__: null,
|
|
5098
|
+
Token: index$3
|
|
5099
|
+
});
|
|
4630
5100
|
|
|
4631
|
-
|
|
5101
|
+
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
5102
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4632
5103
|
|
|
4633
|
-
var
|
|
5104
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
5105
|
+
__proto__: null,
|
|
5106
|
+
Api: index$2
|
|
5107
|
+
});
|
|
4634
5108
|
|
|
4635
|
-
|
|
5109
|
+
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
5110
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
5111
|
+
// Mirrors the layout of the former merged `token-standard-models` codegen package.
|
|
5112
|
+
/**
|
|
5113
|
+
* @deprecated ID of the former merged codegen package, which is not deployed on any ledger.
|
|
5114
|
+
* Each token standard interface lives in its own `splice-api-token-*` package.
|
|
5115
|
+
*/
|
|
5116
|
+
const packageId = 'b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4';
|
|
4636
5117
|
|
|
4637
5118
|
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
4638
5119
|
// SPDX-License-Identifier: Apache-2.0
|
|
4639
|
-
const TransferInstructionV1 =
|
|
4640
|
-
const AllocationInstructionV1 =
|
|
4641
|
-
const AllocationRequestV1 =
|
|
4642
|
-
const AllocationV1 =
|
|
4643
|
-
const HoldingV1 =
|
|
4644
|
-
const MetadataV1 =
|
|
5120
|
+
const TransferInstructionV1 = module$2;
|
|
5121
|
+
const AllocationInstructionV1 = module$e;
|
|
5122
|
+
const AllocationRequestV1 = module$b;
|
|
5123
|
+
const AllocationV1 = module$9;
|
|
5124
|
+
const HoldingV1 = module$7;
|
|
5125
|
+
const MetadataV1 = module$5;
|
|
4645
5126
|
|
|
4646
5127
|
// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
4647
5128
|
// SPDX-License-Identifier: Apache-2.0
|
|
@@ -4686,9 +5167,9 @@ exports.ALLOCATION_FACTORY_INTERFACE_ID = ALLOCATION_FACTORY_INTERFACE_ID;
|
|
|
4686
5167
|
exports.ALLOCATION_INSTRUCTION_INTERFACE_ID = ALLOCATION_INSTRUCTION_INTERFACE_ID;
|
|
4687
5168
|
exports.ALLOCATION_INTERFACE_ID = ALLOCATION_INTERFACE_ID;
|
|
4688
5169
|
exports.ALLOCATION_REQUEST_INTERFACE_ID = ALLOCATION_REQUEST_INTERFACE_ID;
|
|
4689
|
-
exports.Allocation = moduleExports.Allocation;
|
|
4690
|
-
exports.AllocationFactory = moduleExports$
|
|
4691
|
-
exports.AllocationInstruction = moduleExports$
|
|
5170
|
+
exports.Allocation = moduleExports$3.Allocation;
|
|
5171
|
+
exports.AllocationFactory = moduleExports$5.AllocationFactory;
|
|
5172
|
+
exports.AllocationInstruction = moduleExports$5.AllocationInstruction;
|
|
4692
5173
|
exports.AllocationInstructionV1 = AllocationInstructionV1;
|
|
4693
5174
|
exports.AllocationRequestV1 = AllocationRequestV1;
|
|
4694
5175
|
exports.AllocationV1 = AllocationV1;
|
|
@@ -4701,10 +5182,12 @@ exports.MERGE_DELEGATION_TEMPLATE_ID = MERGE_DELEGATION_TEMPLATE_ID;
|
|
|
4701
5182
|
exports.METADATA_INTERFACE_ID = METADATA_INTERFACE_ID;
|
|
4702
5183
|
exports.MetadataV1 = MetadataV1;
|
|
4703
5184
|
exports.OffLedger = index;
|
|
5185
|
+
exports.Splice = index$1;
|
|
4704
5186
|
exports.TRANSFER_FACTORY_INTERFACE_ID = TRANSFER_FACTORY_INTERFACE_ID;
|
|
4705
5187
|
exports.TRANSFER_INSTRUCTION_INTERFACE_ID = TRANSFER_INSTRUCTION_INTERFACE_ID;
|
|
4706
5188
|
exports.TokenStandardClient = TokenStandardClient;
|
|
4707
|
-
exports.TransferFactory = moduleExports
|
|
4708
|
-
exports.TransferInstruction = moduleExports
|
|
5189
|
+
exports.TransferFactory = moduleExports.TransferFactory;
|
|
5190
|
+
exports.TransferInstruction = moduleExports.TransferInstruction;
|
|
4709
5191
|
exports.TransferInstructionV1 = TransferInstructionV1;
|
|
5192
|
+
exports.packageId = packageId;
|
|
4710
5193
|
//# sourceMappingURL=index.cjs.map
|