@fairmint/open-captable-protocol-daml-js 0.2.12 → 0.2.14
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/README.md +152 -1
- package/generated/subscriptions-factory-contract-id.json +10 -0
- package/generated/subscriptions-factory-contract-id.json.d.ts +11 -0
- package/lib/DA/Date/Types/index.d.ts +1 -0
- package/lib/DA/Date/Types/index.js +8 -0
- package/lib/DA/Date/Types/module.d.ts +47 -0
- package/lib/DA/Date/Types/module.js +48 -0
- package/lib/DA/Date/index.d.ts +2 -0
- package/lib/DA/Date/index.js +9 -0
- package/lib/DA/Exception/ArithmeticError/index.d.ts +1 -0
- package/lib/DA/Exception/ArithmeticError/index.js +8 -0
- package/lib/DA/Exception/ArithmeticError/module.d.ts +18 -0
- package/lib/DA/Exception/ArithmeticError/module.js +25 -0
- package/lib/DA/Exception/AssertionFailed/index.d.ts +1 -0
- package/lib/DA/Exception/AssertionFailed/index.js +8 -0
- package/lib/DA/Exception/AssertionFailed/module.d.ts +18 -0
- package/lib/DA/Exception/AssertionFailed/module.js +25 -0
- package/lib/DA/Exception/GeneralError/index.d.ts +1 -0
- package/lib/DA/Exception/GeneralError/index.js +8 -0
- package/lib/DA/Exception/GeneralError/module.d.ts +18 -0
- package/lib/DA/Exception/GeneralError/module.js +25 -0
- package/lib/DA/Exception/PreconditionFailed/index.d.ts +1 -0
- package/lib/DA/Exception/PreconditionFailed/index.js +8 -0
- package/lib/DA/Exception/PreconditionFailed/module.d.ts +18 -0
- package/lib/DA/Exception/PreconditionFailed/module.js +25 -0
- package/lib/DA/Exception/index.d.ts +2 -0
- package/lib/DA/Exception/index.js +9 -0
- package/lib/DA/Internal/Down/index.d.ts +1 -0
- package/lib/DA/Internal/Down/index.js +8 -0
- package/lib/DA/Internal/Down/module.d.ts +17 -0
- package/lib/DA/Internal/Down/module.js +25 -0
- package/lib/DA/Logic/Types/index.d.ts +1 -0
- package/lib/DA/Logic/Types/index.js +8 -0
- package/lib/DA/Logic/Types/module.d.ts +20 -0
- package/lib/DA/Logic/Types/module.js +29 -0
- package/lib/DA/Logic/index.d.ts +2 -0
- package/lib/DA/Logic/index.js +9 -0
- package/lib/DA/Monoid/Types/index.d.ts +1 -0
- package/lib/DA/Monoid/Types/index.js +8 -0
- package/lib/DA/Monoid/Types/module.d.ts +46 -0
- package/lib/DA/Monoid/Types/module.js +61 -0
- package/lib/DA/Monoid/index.d.ts +2 -0
- package/lib/DA/Monoid/index.js +9 -0
- package/lib/DA/NonEmpty/Types/index.d.ts +1 -0
- package/lib/DA/NonEmpty/Types/index.js +8 -0
- package/lib/DA/NonEmpty/Types/module.d.ts +18 -0
- package/lib/DA/NonEmpty/Types/module.js +26 -0
- package/lib/DA/NonEmpty/index.d.ts +2 -0
- package/lib/DA/NonEmpty/index.js +9 -0
- package/lib/DA/Random/Types/index.d.ts +1 -0
- package/lib/DA/Random/Types/index.js +8 -0
- package/lib/DA/Random/Types/module.d.ts +18 -0
- package/lib/DA/Random/Types/module.js +26 -0
- package/lib/DA/Random/index.d.ts +2 -0
- package/lib/DA/Random/index.js +9 -0
- package/lib/DA/Semigroup/Types/index.d.ts +1 -0
- package/lib/DA/Semigroup/Types/index.js +8 -0
- package/lib/DA/Semigroup/Types/module.d.ts +26 -0
- package/lib/DA/Semigroup/Types/module.js +37 -0
- package/lib/DA/Semigroup/index.d.ts +2 -0
- package/lib/DA/Semigroup/index.js +9 -0
- package/lib/DA/Set/Types/index.d.ts +1 -0
- package/lib/DA/Set/Types/index.js +8 -0
- package/lib/DA/Set/Types/module.d.ts +17 -0
- package/lib/DA/Set/Types/module.js +25 -0
- package/lib/DA/Set/index.d.ts +2 -0
- package/lib/DA/Set/index.js +9 -0
- package/lib/DA/Stack/Types/index.d.ts +1 -0
- package/lib/DA/Stack/Types/index.js +8 -0
- package/lib/DA/Stack/Types/module.d.ts +24 -0
- package/lib/DA/Stack/Types/module.js +31 -0
- package/lib/DA/Stack/index.d.ts +2 -0
- package/lib/DA/Stack/index.js +9 -0
- package/lib/DA/Time/Types/index.d.ts +1 -0
- package/lib/DA/Time/Types/index.js +8 -0
- package/lib/DA/Time/Types/module.d.ts +18 -0
- package/lib/DA/Time/Types/module.js +25 -0
- package/lib/DA/Time/index.d.ts +2 -0
- package/lib/DA/Time/index.js +9 -0
- package/lib/DA/Types/index.d.ts +1 -0
- package/lib/DA/Types/index.js +8 -0
- package/lib/DA/Types/module.d.ts +379 -0
- package/lib/DA/Types/module.js +445 -0
- package/lib/DA/Validation/Types/index.d.ts +1 -0
- package/lib/DA/Validation/Types/index.js +8 -0
- package/lib/DA/Validation/Types/module.d.ts +20 -0
- package/lib/DA/Validation/Types/module.js +29 -0
- package/lib/DA/Validation/index.d.ts +2 -0
- package/lib/DA/Validation/index.js +9 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Document/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockIssuance/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +1 -1
- package/lib/Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/index.d.ts +1 -0
- package/lib/Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/index.js +8 -0
- package/lib/Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/module.d.ts +75 -0
- package/lib/Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/module.js +124 -0
- package/lib/Fairmint/Subscriptions/Subscription/index.d.ts +1 -0
- package/lib/Fairmint/Subscriptions/Subscription/index.js +8 -0
- package/lib/Fairmint/Subscriptions/Subscription/module.d.ts +246 -0
- package/lib/Fairmint/Subscriptions/Subscription/module.js +400 -0
- package/lib/Fairmint/Subscriptions/SubscriptionConfig/index.d.ts +1 -0
- package/lib/Fairmint/Subscriptions/SubscriptionConfig/index.js +8 -0
- package/lib/Fairmint/Subscriptions/SubscriptionConfig/module.d.ts +59 -0
- package/lib/Fairmint/Subscriptions/SubscriptionConfig/module.js +73 -0
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/index.d.ts +1 -0
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/index.js +8 -0
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +45 -0
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +67 -0
- package/lib/Fairmint/Subscriptions/SubscriptionProposal/index.d.ts +1 -0
- package/lib/Fairmint/Subscriptions/SubscriptionProposal/index.js +8 -0
- package/lib/Fairmint/Subscriptions/SubscriptionProposal/module.d.ts +75 -0
- package/lib/Fairmint/Subscriptions/SubscriptionProposal/module.js +124 -0
- package/lib/Fairmint/Subscriptions/index.d.ts +10 -0
- package/lib/Fairmint/Subscriptions/index.js +17 -0
- package/lib/Fairmint/index.d.ts +1 -0
- package/lib/Fairmint/index.js +2 -0
- package/lib/Splice/Amulet/TokenApiUtils/index.d.ts +1 -0
- package/lib/Splice/Amulet/TokenApiUtils/index.js +8 -0
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +24 -0
- package/lib/Splice/Amulet/TokenApiUtils/module.js +27 -0
- package/lib/Splice/Amulet/TwoStepTransfer/index.d.ts +1 -0
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +8 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +26 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +33 -0
- package/lib/Splice/Amulet/index.d.ts +5 -0
- package/lib/Splice/Amulet/index.js +12 -0
- package/lib/Splice/Amulet/module.d.ts +588 -0
- package/lib/Splice/Amulet/module.js +814 -0
- package/lib/Splice/AmuletAllocation/index.d.ts +1 -0
- package/lib/Splice/AmuletAllocation/index.js +8 -0
- package/lib/Splice/AmuletAllocation/module.d.ts +35 -0
- package/lib/Splice/AmuletAllocation/module.js +49 -0
- package/lib/Splice/AmuletConfig/index.d.ts +1 -0
- package/lib/Splice/AmuletConfig/index.js +8 -0
- package/lib/Splice/AmuletConfig/module.d.ts +83 -0
- package/lib/Splice/AmuletConfig/module.js +92 -0
- package/lib/Splice/AmuletRules/index.d.ts +1 -0
- package/lib/Splice/AmuletRules/index.js +8 -0
- package/lib/Splice/AmuletRules/module.d.ts +1040 -0
- package/lib/Splice/AmuletRules/module.js +1441 -0
- package/lib/Splice/AmuletTransferInstruction/index.d.ts +1 -0
- package/lib/Splice/AmuletTransferInstruction/index.js +8 -0
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +35 -0
- package/lib/Splice/AmuletTransferInstruction/module.js +49 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.d.ts +1 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +8 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +149 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +215 -0
- package/lib/Splice/Api/Token/AllocationV1/index.d.ts +1 -0
- package/lib/Splice/Api/Token/AllocationV1/index.js +8 -0
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +153 -0
- package/lib/Splice/Api/Token/AllocationV1/module.js +206 -0
- package/lib/Splice/Api/Token/HoldingV1/index.d.ts +1 -0
- package/lib/Splice/Api/Token/HoldingV1/index.js +8 -0
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +60 -0
- package/lib/Splice/Api/Token/HoldingV1/module.js +76 -0
- package/lib/Splice/Api/Token/MetadataV1/index.d.ts +1 -0
- package/lib/Splice/Api/Token/MetadataV1/index.js +8 -0
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +91 -0
- package/lib/Splice/Api/Token/MetadataV1/module.js +114 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/index.d.ts +1 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +8 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +202 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +294 -0
- package/lib/Splice/Api/Token/index.d.ts +2 -0
- package/lib/Splice/Api/Token/index.js +9 -0
- package/lib/Splice/DecentralizedSynchronizer/index.d.ts +1 -0
- package/lib/Splice/DecentralizedSynchronizer/index.js +8 -0
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +89 -0
- package/lib/Splice/DecentralizedSynchronizer/module.js +110 -0
- package/lib/Splice/Expiry/index.d.ts +1 -0
- package/lib/Splice/Expiry/index.js +8 -0
- package/lib/Splice/Expiry/module.d.ts +30 -0
- package/lib/Splice/Expiry/module.js +41 -0
- package/lib/Splice/ExternalPartyAmuletRules/index.d.ts +1 -0
- package/lib/Splice/ExternalPartyAmuletRules/index.js +8 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +210 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.js +294 -0
- package/lib/Splice/Fees/index.d.ts +1 -0
- package/lib/Splice/Fees/index.js +8 -0
- package/lib/Splice/Fees/module.d.ts +65 -0
- package/lib/Splice/Fees/module.js +80 -0
- package/lib/Splice/Issuance/index.d.ts +1 -0
- package/lib/Splice/Issuance/index.js +8 -0
- package/lib/Splice/Issuance/module.d.ts +67 -0
- package/lib/Splice/Issuance/module.js +80 -0
- package/lib/Splice/RelRound/index.d.ts +1 -0
- package/lib/Splice/RelRound/index.js +8 -0
- package/lib/Splice/RelRound/module.d.ts +18 -0
- package/lib/Splice/RelRound/module.js +25 -0
- package/lib/Splice/Round/index.d.ts +1 -0
- package/lib/Splice/Round/index.js +8 -0
- package/lib/Splice/Round/module.d.ts +136 -0
- package/lib/Splice/Round/module.js +182 -0
- package/lib/Splice/Schedule/index.d.ts +1 -0
- package/lib/Splice/Schedule/index.js +8 -0
- package/lib/Splice/Schedule/module.d.ts +20 -0
- package/lib/Splice/Schedule/module.js +28 -0
- package/lib/Splice/Types/index.d.ts +1 -0
- package/lib/Splice/Types/index.js +8 -0
- package/lib/Splice/Types/module.d.ts +50 -0
- package/lib/Splice/Types/module.js +63 -0
- package/lib/Splice/ValidatorLicense/index.d.ts +1 -0
- package/lib/Splice/ValidatorLicense/index.js +8 -0
- package/lib/Splice/ValidatorLicense/module.d.ts +283 -0
- package/lib/Splice/ValidatorLicense/module.js +388 -0
- package/package.json +15 -3
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_Subscriptions_SubscriptionConfig = require('../../../Fairmint/Subscriptions/SubscriptionConfig/module');
|
|
18
|
+
var Fairmint_Subscriptions_SubscriptionProposal = require('../../../Fairmint/Subscriptions/SubscriptionProposal/module');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.SubscriptionFactory_CreateProposal = {
|
|
22
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({config: Fairmint_Subscriptions_SubscriptionConfig.SubscriptionConfig.decoder, }); }),
|
|
23
|
+
encode: function (__typed__) {
|
|
24
|
+
return {
|
|
25
|
+
config: Fairmint_Subscriptions_SubscriptionConfig.SubscriptionConfig.encode(__typed__.config),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.SubscriptionFactory = damlTypes.assembleTemplate(
|
|
34
|
+
{
|
|
35
|
+
templateId: '#Subscriptions-v01:Fairmint.Subscriptions.SubscriptionFactory:SubscriptionFactory',
|
|
36
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
37
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
38
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_Subscriptions_SubscriptionConfig.ProcessorContext.decoder, }); }),
|
|
39
|
+
encode: function (__typed__) {
|
|
40
|
+
return {
|
|
41
|
+
context: Fairmint_Subscriptions_SubscriptionConfig.ProcessorContext.encode(__typed__.context),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
,
|
|
45
|
+
Archive: {
|
|
46
|
+
template: function () { return exports.SubscriptionFactory; },
|
|
47
|
+
choiceName: 'Archive',
|
|
48
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
49
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
50
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
51
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
52
|
+
},
|
|
53
|
+
SubscriptionFactory_CreateProposal: {
|
|
54
|
+
template: function () { return exports.SubscriptionFactory; },
|
|
55
|
+
choiceName: 'SubscriptionFactory_CreateProposal',
|
|
56
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionFactory_CreateProposal.decoder; }),
|
|
57
|
+
argumentEncode: function (__typed__) { return exports.SubscriptionFactory_CreateProposal.encode(__typed__); },
|
|
58
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_Subscriptions_SubscriptionProposal.SubscriptionProposal).decoder; }),
|
|
59
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_Subscriptions_SubscriptionProposal.SubscriptionProposal).encode(__typed__); },
|
|
60
|
+
},
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
damlTypes.registerTemplate(exports.SubscriptionFactory, ['a69aaed3f2c990040ac22263af73b2547522cc540ffeca867b0f13d74d9e663d', '#Subscriptions-v01']);
|
|
67
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// Generated from Fairmint/Subscriptions/SubscriptionProposal.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_Subscriptions_ProcessorApprovedSubscriptionProposal from '../../../Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/module';
|
|
13
|
+
import * as Fairmint_Subscriptions_SubscriptionConfig from '../../../Fairmint/Subscriptions/SubscriptionConfig/module';
|
|
14
|
+
|
|
15
|
+
export declare type SubscriptionProposal_RecipientReject = {
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export declare const SubscriptionProposal_RecipientReject:
|
|
19
|
+
damlTypes.Serializable<SubscriptionProposal_RecipientReject> & {
|
|
20
|
+
}
|
|
21
|
+
;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
export declare type SubscriptionProposal_SubscriberWithdraw = {
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export declare const SubscriptionProposal_SubscriberWithdraw:
|
|
28
|
+
damlTypes.Serializable<SubscriptionProposal_SubscriberWithdraw> & {
|
|
29
|
+
}
|
|
30
|
+
;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export declare type SubscriptionProposal_ProcessorReject = {
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export declare const SubscriptionProposal_ProcessorReject:
|
|
37
|
+
damlTypes.Serializable<SubscriptionProposal_ProcessorReject> & {
|
|
38
|
+
}
|
|
39
|
+
;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
export declare type SubscriptionProposal_ProcessorApprove = {
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export declare const SubscriptionProposal_ProcessorApprove:
|
|
46
|
+
damlTypes.Serializable<SubscriptionProposal_ProcessorApprove> & {
|
|
47
|
+
}
|
|
48
|
+
;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export declare type SubscriptionProposal = {
|
|
52
|
+
config: Fairmint_Subscriptions_SubscriptionConfig.SubscriptionConfig;
|
|
53
|
+
context: Fairmint_Subscriptions_SubscriptionConfig.ProcessorContext;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare interface SubscriptionProposalInterface {
|
|
57
|
+
SubscriptionProposal_ProcessorApprove: damlTypes.Choice<SubscriptionProposal, SubscriptionProposal_ProcessorApprove, damlTypes.ContractId<Fairmint_Subscriptions_ProcessorApprovedSubscriptionProposal.ProcessorApprovedSubscriptionProposal>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionProposal, undefined>>;
|
|
58
|
+
SubscriptionProposal_ProcessorReject: damlTypes.Choice<SubscriptionProposal, SubscriptionProposal_ProcessorReject, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionProposal, undefined>>;
|
|
59
|
+
SubscriptionProposal_SubscriberWithdraw: damlTypes.Choice<SubscriptionProposal, SubscriptionProposal_SubscriberWithdraw, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionProposal, undefined>>;
|
|
60
|
+
Archive: damlTypes.Choice<SubscriptionProposal, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionProposal, undefined>>;
|
|
61
|
+
SubscriptionProposal_RecipientReject: damlTypes.Choice<SubscriptionProposal, SubscriptionProposal_RecipientReject, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionProposal, undefined>>;
|
|
62
|
+
}
|
|
63
|
+
export declare const SubscriptionProposal:
|
|
64
|
+
damlTypes.Template<SubscriptionProposal, undefined, '#Subscriptions-v01:Fairmint.Subscriptions.SubscriptionProposal:SubscriptionProposal'> &
|
|
65
|
+
damlTypes.ToInterface<SubscriptionProposal, never> &
|
|
66
|
+
SubscriptionProposalInterface;
|
|
67
|
+
|
|
68
|
+
export declare namespace SubscriptionProposal {
|
|
69
|
+
export type CreateEvent = damlLedger.CreateEvent<SubscriptionProposal, undefined, typeof SubscriptionProposal.templateId>
|
|
70
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<SubscriptionProposal, typeof SubscriptionProposal.templateId>
|
|
71
|
+
export type Event = damlLedger.Event<SubscriptionProposal, undefined, typeof SubscriptionProposal.templateId>
|
|
72
|
+
export type QueryResult = damlLedger.QueryResult<SubscriptionProposal, undefined, typeof SubscriptionProposal.templateId>
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_Subscriptions_ProcessorApprovedSubscriptionProposal = require('../../../Fairmint/Subscriptions/ProcessorApprovedSubscriptionProposal/module');
|
|
18
|
+
var Fairmint_Subscriptions_SubscriptionConfig = require('../../../Fairmint/Subscriptions/SubscriptionConfig/module');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.SubscriptionProposal_RecipientReject = {
|
|
22
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
23
|
+
encode: function (__typed__) {
|
|
24
|
+
return {
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SubscriptionProposal_SubscriberWithdraw = {
|
|
33
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
34
|
+
encode: function (__typed__) {
|
|
35
|
+
return {
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
exports.SubscriptionProposal_ProcessorReject = {
|
|
44
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
45
|
+
encode: function (__typed__) {
|
|
46
|
+
return {
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
exports.SubscriptionProposal_ProcessorApprove = {
|
|
55
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
56
|
+
encode: function (__typed__) {
|
|
57
|
+
return {
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
,
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
exports.SubscriptionProposal = damlTypes.assembleTemplate(
|
|
66
|
+
{
|
|
67
|
+
templateId: '#Subscriptions-v01:Fairmint.Subscriptions.SubscriptionProposal:SubscriptionProposal',
|
|
68
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
69
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({config: Fairmint_Subscriptions_SubscriptionConfig.SubscriptionConfig.decoder, context: Fairmint_Subscriptions_SubscriptionConfig.ProcessorContext.decoder, }); }),
|
|
71
|
+
encode: function (__typed__) {
|
|
72
|
+
return {
|
|
73
|
+
config: Fairmint_Subscriptions_SubscriptionConfig.SubscriptionConfig.encode(__typed__.config),
|
|
74
|
+
context: Fairmint_Subscriptions_SubscriptionConfig.ProcessorContext.encode(__typed__.context),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
,
|
|
78
|
+
SubscriptionProposal_ProcessorApprove: {
|
|
79
|
+
template: function () { return exports.SubscriptionProposal; },
|
|
80
|
+
choiceName: 'SubscriptionProposal_ProcessorApprove',
|
|
81
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionProposal_ProcessorApprove.decoder; }),
|
|
82
|
+
argumentEncode: function (__typed__) { return exports.SubscriptionProposal_ProcessorApprove.encode(__typed__); },
|
|
83
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_Subscriptions_ProcessorApprovedSubscriptionProposal.ProcessorApprovedSubscriptionProposal).decoder; }),
|
|
84
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_Subscriptions_ProcessorApprovedSubscriptionProposal.ProcessorApprovedSubscriptionProposal).encode(__typed__); },
|
|
85
|
+
},
|
|
86
|
+
SubscriptionProposal_ProcessorReject: {
|
|
87
|
+
template: function () { return exports.SubscriptionProposal; },
|
|
88
|
+
choiceName: 'SubscriptionProposal_ProcessorReject',
|
|
89
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionProposal_ProcessorReject.decoder; }),
|
|
90
|
+
argumentEncode: function (__typed__) { return exports.SubscriptionProposal_ProcessorReject.encode(__typed__); },
|
|
91
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
92
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
93
|
+
},
|
|
94
|
+
SubscriptionProposal_SubscriberWithdraw: {
|
|
95
|
+
template: function () { return exports.SubscriptionProposal; },
|
|
96
|
+
choiceName: 'SubscriptionProposal_SubscriberWithdraw',
|
|
97
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionProposal_SubscriberWithdraw.decoder; }),
|
|
98
|
+
argumentEncode: function (__typed__) { return exports.SubscriptionProposal_SubscriberWithdraw.encode(__typed__); },
|
|
99
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
100
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
101
|
+
},
|
|
102
|
+
Archive: {
|
|
103
|
+
template: function () { return exports.SubscriptionProposal; },
|
|
104
|
+
choiceName: 'Archive',
|
|
105
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
106
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
107
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
108
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
109
|
+
},
|
|
110
|
+
SubscriptionProposal_RecipientReject: {
|
|
111
|
+
template: function () { return exports.SubscriptionProposal; },
|
|
112
|
+
choiceName: 'SubscriptionProposal_RecipientReject',
|
|
113
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionProposal_RecipientReject.decoder; }),
|
|
114
|
+
argumentEncode: function (__typed__) { return exports.SubscriptionProposal_RecipientReject.encode(__typed__); },
|
|
115
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
116
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
117
|
+
},
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
damlTypes.registerTemplate(exports.SubscriptionProposal, ['a69aaed3f2c990040ac22263af73b2547522cc540ffeca867b0f13d74d9e663d', '#Subscriptions-v01']);
|
|
124
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as ProcessorApprovedSubscriptionProposal from './ProcessorApprovedSubscriptionProposal';
|
|
2
|
+
export { ProcessorApprovedSubscriptionProposal } ;
|
|
3
|
+
import * as Subscription from './Subscription';
|
|
4
|
+
export { Subscription } ;
|
|
5
|
+
import * as SubscriptionConfig from './SubscriptionConfig';
|
|
6
|
+
export { SubscriptionConfig } ;
|
|
7
|
+
import * as SubscriptionFactory from './SubscriptionFactory';
|
|
8
|
+
export { SubscriptionFactory } ;
|
|
9
|
+
import * as SubscriptionProposal from './SubscriptionProposal';
|
|
10
|
+
export { SubscriptionProposal } ;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
var ProcessorApprovedSubscriptionProposal = require('./ProcessorApprovedSubscriptionProposal');
|
|
9
|
+
exports.ProcessorApprovedSubscriptionProposal = ProcessorApprovedSubscriptionProposal;
|
|
10
|
+
var Subscription = require('./Subscription');
|
|
11
|
+
exports.Subscription = Subscription;
|
|
12
|
+
var SubscriptionConfig = require('./SubscriptionConfig');
|
|
13
|
+
exports.SubscriptionConfig = SubscriptionConfig;
|
|
14
|
+
var SubscriptionFactory = require('./SubscriptionFactory');
|
|
15
|
+
exports.SubscriptionFactory = SubscriptionFactory;
|
|
16
|
+
var SubscriptionProposal = require('./SubscriptionProposal');
|
|
17
|
+
exports.SubscriptionProposal = SubscriptionProposal;
|
package/lib/Fairmint/index.d.ts
CHANGED
package/lib/Fairmint/index.js
CHANGED
|
@@ -9,3 +9,5 @@ var OpenCapTable = require('./OpenCapTable');
|
|
|
9
9
|
exports.OpenCapTable = OpenCapTable;
|
|
10
10
|
var OpenCapTableReports = require('./OpenCapTableReports');
|
|
11
11
|
exports.OpenCapTableReports = OpenCapTableReports;
|
|
12
|
+
var Subscriptions = require('./Subscriptions');
|
|
13
|
+
exports.Subscriptions = Subscriptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Generated from Splice/Amulet/TokenApiUtils.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
export declare type TxKind =
|
|
11
|
+
| 'TxKind_Transfer'
|
|
12
|
+
| 'TxKind_Unlock'
|
|
13
|
+
| 'TxKind_MergeSplit'
|
|
14
|
+
| 'TxKind_Burn'
|
|
15
|
+
| 'TxKind_Mint'
|
|
16
|
+
| 'TxKind_ExpireDust'
|
|
17
|
+
;
|
|
18
|
+
|
|
19
|
+
export declare const TxKind:
|
|
20
|
+
damlTypes.Serializable<TxKind> & {
|
|
21
|
+
}
|
|
22
|
+
& { readonly keys: TxKind[] } & { readonly [e in TxKind]: e }
|
|
23
|
+
;
|
|
24
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.TxKind = {
|
|
17
|
+
TxKind_Transfer: 'TxKind_Transfer',
|
|
18
|
+
TxKind_Unlock: 'TxKind_Unlock',
|
|
19
|
+
TxKind_MergeSplit: 'TxKind_MergeSplit',
|
|
20
|
+
TxKind_Burn: 'TxKind_Burn',
|
|
21
|
+
TxKind_Mint: 'TxKind_Mint',
|
|
22
|
+
TxKind_ExpireDust: 'TxKind_ExpireDust',
|
|
23
|
+
keys: ['TxKind_Transfer','TxKind_Unlock','TxKind_MergeSplit','TxKind_Burn','TxKind_Mint','TxKind_ExpireDust',],
|
|
24
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.TxKind.TxKind_Transfer), jtv.constant(exports.TxKind.TxKind_Unlock), jtv.constant(exports.TxKind.TxKind_MergeSplit), jtv.constant(exports.TxKind.TxKind_Burn), jtv.constant(exports.TxKind.TxKind_Mint), jtv.constant(exports.TxKind.TxKind_ExpireDust)); }),
|
|
25
|
+
encode: function (__typed__) { return __typed__; },
|
|
26
|
+
};
|
|
27
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Generated from Splice/Amulet/TwoStepTransfer.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
export declare type TwoStepTransfer = {
|
|
11
|
+
dso: damlTypes.Party;
|
|
12
|
+
sender: damlTypes.Party;
|
|
13
|
+
receiver: damlTypes.Party;
|
|
14
|
+
amount: damlTypes.Numeric;
|
|
15
|
+
lockContext: string;
|
|
16
|
+
transferBefore: damlTypes.Time;
|
|
17
|
+
transferBeforeDeadline: string;
|
|
18
|
+
provider: damlTypes.Party;
|
|
19
|
+
allowFeaturing: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export declare const TwoStepTransfer:
|
|
23
|
+
damlTypes.Serializable<TwoStepTransfer> & {
|
|
24
|
+
}
|
|
25
|
+
;
|
|
26
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.TwoStepTransfer = {
|
|
17
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, amount: damlTypes.Numeric(10).decoder, lockContext: damlTypes.Text.decoder, transferBefore: damlTypes.Time.decoder, transferBeforeDeadline: damlTypes.Text.decoder, provider: damlTypes.Party.decoder, allowFeaturing: damlTypes.Bool.decoder, }); }),
|
|
18
|
+
encode: function (__typed__) {
|
|
19
|
+
return {
|
|
20
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
21
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
22
|
+
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
23
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
24
|
+
lockContext: damlTypes.Text.encode(__typed__.lockContext),
|
|
25
|
+
transferBefore: damlTypes.Time.encode(__typed__.transferBefore),
|
|
26
|
+
transferBeforeDeadline: damlTypes.Text.encode(__typed__.transferBeforeDeadline),
|
|
27
|
+
provider: damlTypes.Party.encode(__typed__.provider),
|
|
28
|
+
allowFeaturing: damlTypes.Bool.encode(__typed__.allowFeaturing),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
,
|
|
32
|
+
};
|
|
33
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
var TokenApiUtils = require('./TokenApiUtils');
|
|
9
|
+
exports.TokenApiUtils = TokenApiUtils;
|
|
10
|
+
var TwoStepTransfer = require('./TwoStepTransfer');
|
|
11
|
+
exports.TwoStepTransfer = TwoStepTransfer;
|
|
12
|
+
__export(require('./module'));
|