@fairmint/open-captable-protocol-daml-js 0.2.36 → 0.2.38
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 +1 -1
- package/generated/paymentStreams-factory-contract-id.json +22 -0
- package/generated/{subscriptions-factory-contract-id.json.d.ts → paymentStreams-factory-contract-id.json.d.ts} +2 -2
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +225 -0
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +354 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.d.ts +18 -18
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.js +27 -27
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +52 -0
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +74 -0
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +103 -0
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +161 -0
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +25 -0
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +32 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.d.ts +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.js +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.js +3 -3
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.d.ts +1 -1
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.d.ts +4 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.js +4 -2
- package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.d.ts +8 -8
- package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.js +6 -6
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.d.ts +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.js +2 -2
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.d.ts +10 -10
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.js +8 -8
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/module.d.ts +11 -11
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +42 -0
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposalChanges → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/module.d.ts +11 -11
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +42 -0
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.d.ts +6 -6
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.js +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.d.ts +4 -4
- package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.d.ts +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.js +2 -2
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.d.ts +1 -1
- package/lib/CantonPayments/PaymentStream/Types/index.d.ts +30 -0
- package/lib/CantonPayments/PaymentStream/Types/index.js +37 -0
- package/lib/CantonPayments/PaymentStream/index.d.ts +10 -0
- package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/index.js +6 -6
- package/lib/CantonPayments/index.d.ts +2 -0
- package/lib/{DA/Date → CantonPayments}/index.js +2 -2
- 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/index.d.ts +0 -1
- package/lib/Fairmint/index.js +0 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -0
- package/package.json +12 -12
- package/generated/subscriptions-factory-contract-id.json +0 -22
- package/lib/DA/Date/Types/module.d.ts +0 -47
- package/lib/DA/Date/Types/module.js +0 -48
- package/lib/DA/Date/index.d.ts +0 -2
- package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
- package/lib/DA/Exception/index.d.ts +0 -2
- package/lib/DA/Exception/index.js +0 -9
- package/lib/DA/Internal/Down/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- package/lib/DA/Logic/Types/module.d.ts +0 -20
- package/lib/DA/Logic/Types/module.js +0 -29
- package/lib/DA/Logic/index.d.ts +0 -2
- package/lib/DA/Logic/index.js +0 -9
- package/lib/DA/Monoid/Types/module.d.ts +0 -46
- package/lib/DA/Monoid/Types/module.js +0 -61
- package/lib/DA/Monoid/index.d.ts +0 -2
- package/lib/DA/Monoid/index.js +0 -9
- package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
- package/lib/DA/NonEmpty/Types/module.js +0 -26
- package/lib/DA/NonEmpty/index.d.ts +0 -2
- package/lib/DA/NonEmpty/index.js +0 -9
- package/lib/DA/Random/Types/module.d.ts +0 -18
- package/lib/DA/Random/Types/module.js +0 -26
- package/lib/DA/Random/index.d.ts +0 -2
- package/lib/DA/Random/index.js +0 -9
- package/lib/DA/Semigroup/Types/module.d.ts +0 -26
- package/lib/DA/Semigroup/Types/module.js +0 -37
- package/lib/DA/Semigroup/index.d.ts +0 -2
- package/lib/DA/Semigroup/index.js +0 -9
- package/lib/DA/Stack/Types/module.d.ts +0 -24
- package/lib/DA/Stack/Types/module.js +0 -31
- package/lib/DA/Stack/index.d.ts +0 -2
- package/lib/DA/Stack/index.js +0 -9
- package/lib/DA/Validation/Types/module.d.ts +0 -20
- package/lib/DA/Validation/Types/module.js +0 -29
- package/lib/DA/Validation/index.d.ts +0 -2
- package/lib/DA/Validation/index.js +0 -9
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.d.ts +0 -224
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.js +0 -353
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.d.ts +0 -103
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.js +0 -161
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +0 -52
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +0 -74
- package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.d.ts +0 -25
- package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.js +0 -32
- package/lib/Fairmint/Subscriptions/Types/LockFundsInput/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/LockFundsInput/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PartyRole/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PartyRole/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/ProcessorContext/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/ProcessorContext/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/Subscription/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/Subscription/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionAmount/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionAmount/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.js +0 -42
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.js +0 -42
- package/lib/Fairmint/Subscriptions/Types/SubscriptionStats/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionStats/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/SubscriptionTime/index.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/SubscriptionTime/index.js +0 -8
- package/lib/Fairmint/Subscriptions/Types/index.d.ts +0 -30
- package/lib/Fairmint/Subscriptions/Types/index.js +0 -37
- package/lib/Fairmint/Subscriptions/index.d.ts +0 -10
- package/lib/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
- /package/lib/{DA/Date/Types → CantonPayments/PaymentStream/ActivePaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Date/Types → CantonPayments/PaymentStream/ActivePaymentStream}/index.js +0 -0
- /package/lib/{DA/Exception/ArithmeticError → CantonPayments/PaymentStream/PartyMigrationProposal}/index.d.ts +0 -0
- /package/lib/{DA/Exception/ArithmeticError → CantonPayments/PaymentStream/PartyMigrationProposal}/index.js +0 -0
- /package/lib/{DA/Exception/AssertionFailed → CantonPayments/PaymentStream/PaymentStreamFactory}/index.d.ts +0 -0
- /package/lib/{DA/Exception/AssertionFailed → CantonPayments/PaymentStream/PaymentStreamFactory}/index.js +0 -0
- /package/lib/{DA/Exception/GeneralError → CantonPayments/PaymentStream/ProposedPaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Exception/GeneralError → CantonPayments/PaymentStream/ProposedPaymentStream}/index.js +0 -0
- /package/lib/{DA/Exception/PreconditionFailed → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.d.ts +0 -0
- /package/lib/{DA/Exception/PreconditionFailed → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.js +0 -0
- /package/lib/{DA/Internal/Down → CantonPayments/PaymentStream/Types/Approvals}/index.d.ts +0 -0
- /package/lib/{DA/Internal/Down → CantonPayments/PaymentStream/Types/Approvals}/index.js +0 -0
- /package/lib/{DA/Logic/Types → CantonPayments/PaymentStream/Types/LockFundsInput}/index.d.ts +0 -0
- /package/lib/{DA/Logic/Types → CantonPayments/PaymentStream/Types/LockFundsInput}/index.js +0 -0
- /package/lib/{DA/Monoid/Types → CantonPayments/PaymentStream/Types/PartyRole}/index.d.ts +0 -0
- /package/lib/{DA/Monoid/Types → CantonPayments/PaymentStream/Types/PartyRole}/index.js +0 -0
- /package/lib/{DA/NonEmpty/Types → CantonPayments/PaymentStream/Types/PaymentContext}/index.d.ts +0 -0
- /package/lib/{DA/NonEmpty/Types → CantonPayments/PaymentStream/Types/PaymentContext}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.js +0 -0
- /package/lib/{DA/Random/Types → CantonPayments/PaymentStream/Types/PaymentResult}/index.d.ts +0 -0
- /package/lib/{DA/Random/Types → CantonPayments/PaymentStream/Types/PaymentResult}/index.js +0 -0
- /package/lib/{DA/Semigroup/Types → CantonPayments/PaymentStream/Types/PaymentStream}/index.d.ts +0 -0
- /package/lib/{DA/Semigroup/Types → CantonPayments/PaymentStream/Types/PaymentStream}/index.js +0 -0
- /package/lib/{DA/Stack/Types → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.d.ts +0 -0
- /package/lib/{DA/Stack/Types → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.js +0 -0
- /package/lib/{DA/Validation/Types → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.d.ts +0 -0
- /package/lib/{DA/Validation/Types → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/PartyMigrationProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/PartyMigrationProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/Approvals → CantonPayments/PaymentStream/Types/ProcessorContext}/index.d.ts +0 -0
- /package/lib/{Fairmint/Subscriptions/Types/Approvals → CantonPayments/PaymentStream/Types/ProcessorContext}/index.js +0 -0
- /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.js +0 -0
|
@@ -1,353 +0,0 @@
|
|
|
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 pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../..');
|
|
16
|
-
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../DA/Types');
|
|
17
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
18
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../DA/Time/Types');
|
|
19
|
-
|
|
20
|
-
var Fairmint_Subscriptions_Types_Approvals = require('../../../Fairmint/Subscriptions/Types/Approvals/module');
|
|
21
|
-
var Fairmint_Subscriptions_Types_LockFundsInput = require('../../../Fairmint/Subscriptions/Types/LockFundsInput/module');
|
|
22
|
-
var Fairmint_Subscriptions_Types_PartyRole = require('../../../Fairmint/Subscriptions/Types/PartyRole/module');
|
|
23
|
-
var Fairmint_Subscriptions_Types_PaymentContext = require('../../../Fairmint/Subscriptions/Types/PaymentContext/module');
|
|
24
|
-
var Fairmint_Subscriptions_Types_PaymentResult = require('../../../Fairmint/Subscriptions/Types/PaymentResult/module');
|
|
25
|
-
var Fairmint_Subscriptions_Types_ProcessFreeTrialResult = require('../../../Fairmint/Subscriptions/Types/ProcessFreeTrialResult/module');
|
|
26
|
-
var Fairmint_Subscriptions_Types_ProcessorContext = require('../../../Fairmint/Subscriptions/Types/ProcessorContext/module');
|
|
27
|
-
var Fairmint_Subscriptions_Types_Subscription = require('../../../Fairmint/Subscriptions/Types/Subscription/module');
|
|
28
|
-
var Fairmint_Subscriptions_Types_SubscriptionChanges = require('../../../Fairmint/Subscriptions/Types/SubscriptionChanges/module');
|
|
29
|
-
var Fairmint_Subscriptions_Types_SubscriptionStats = require('../../../Fairmint/Subscriptions/Types/SubscriptionStats/module');
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.SubscriptionChangeProposal_Reject = {
|
|
33
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
34
|
-
encode: function (__typed__) {
|
|
35
|
-
return {
|
|
36
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
37
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
,
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
exports.SubscriptionChangeProposal_Apply = {
|
|
46
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, activeSubscriptionCid: damlTypes.ContractId(exports.ActiveSubscription).decoder, }); }),
|
|
47
|
-
encode: function (__typed__) {
|
|
48
|
-
return {
|
|
49
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
50
|
-
activeSubscriptionCid: damlTypes.ContractId(exports.ActiveSubscription).encode(__typed__.activeSubscriptionCid),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
,
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
exports.SubscriptionChangeProposal_Approve = {
|
|
59
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
|
|
60
|
-
encode: function (__typed__) {
|
|
61
|
-
return {
|
|
62
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
,
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
exports.SubscriptionChangeProposal = damlTypes.assembleTemplate(
|
|
71
|
-
{
|
|
72
|
-
templateId: '#Subscriptions-v09:Fairmint.Subscriptions.ActiveSubscription:SubscriptionChangeProposal',
|
|
73
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
74
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
75
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscription: Fairmint_Subscriptions_Types_Subscription.Subscription.decoder, processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.decoder, subscriptionChanges: Fairmint_Subscriptions_Types_SubscriptionChanges.SubscriptionChanges.decoder, approvals: Fairmint_Subscriptions_Types_Approvals.Approvals.decoder, }); }),
|
|
76
|
-
encode: function (__typed__) {
|
|
77
|
-
return {
|
|
78
|
-
subscription: Fairmint_Subscriptions_Types_Subscription.Subscription.encode(__typed__.subscription),
|
|
79
|
-
processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
|
|
80
|
-
subscriptionChanges: Fairmint_Subscriptions_Types_SubscriptionChanges.SubscriptionChanges.encode(__typed__.subscriptionChanges),
|
|
81
|
-
approvals: Fairmint_Subscriptions_Types_Approvals.Approvals.encode(__typed__.approvals),
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
,
|
|
85
|
-
SubscriptionChangeProposal_Approve: {
|
|
86
|
-
template: function () { return exports.SubscriptionChangeProposal; },
|
|
87
|
-
choiceName: 'SubscriptionChangeProposal_Approve',
|
|
88
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionChangeProposal_Approve.decoder; }),
|
|
89
|
-
argumentEncode: function (__typed__) { return exports.SubscriptionChangeProposal_Approve.encode(__typed__); },
|
|
90
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.SubscriptionChangeProposal).decoder; }),
|
|
91
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.SubscriptionChangeProposal).encode(__typed__); },
|
|
92
|
-
},
|
|
93
|
-
SubscriptionChangeProposal_Apply: {
|
|
94
|
-
template: function () { return exports.SubscriptionChangeProposal; },
|
|
95
|
-
choiceName: 'SubscriptionChangeProposal_Apply',
|
|
96
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionChangeProposal_Apply.decoder; }),
|
|
97
|
-
argumentEncode: function (__typed__) { return exports.SubscriptionChangeProposal_Apply.encode(__typed__); },
|
|
98
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ActiveSubscription).decoder; }),
|
|
99
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ActiveSubscription).encode(__typed__); },
|
|
100
|
-
},
|
|
101
|
-
SubscriptionChangeProposal_Reject: {
|
|
102
|
-
template: function () { return exports.SubscriptionChangeProposal; },
|
|
103
|
-
choiceName: 'SubscriptionChangeProposal_Reject',
|
|
104
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.SubscriptionChangeProposal_Reject.decoder; }),
|
|
105
|
-
argumentEncode: function (__typed__) { return exports.SubscriptionChangeProposal_Reject.encode(__typed__); },
|
|
106
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
107
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
108
|
-
},
|
|
109
|
-
Archive: {
|
|
110
|
-
template: function () { return exports.SubscriptionChangeProposal; },
|
|
111
|
-
choiceName: 'Archive',
|
|
112
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
113
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
114
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
115
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
116
|
-
},
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
);
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
damlTypes.registerTemplate(exports.SubscriptionChangeProposal, ['813acf3938ed38d338823fd94c5afb4a885e0ae54546741cc1b036c76c22c825', '#Subscriptions-v09']);
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
exports.ActiveSubscription_ChangeParty = {
|
|
127
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({partyType: Fairmint_Subscriptions_Types_PartyRole.PartyRole.decoder, oldParty: damlTypes.Party.decoder, newParty: damlTypes.Party.decoder, changePartyPaymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, }); }),
|
|
128
|
-
encode: function (__typed__) {
|
|
129
|
-
return {
|
|
130
|
-
partyType: Fairmint_Subscriptions_Types_PartyRole.PartyRole.encode(__typed__.partyType),
|
|
131
|
-
oldParty: damlTypes.Party.encode(__typed__.oldParty),
|
|
132
|
-
newParty: damlTypes.Party.encode(__typed__.newParty),
|
|
133
|
-
changePartyPaymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.changePartyPaymentContext),
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
,
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
exports.ActiveSubscription_ArchiveInactiveSubscription = {
|
|
142
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, }); }),
|
|
143
|
-
encode: function (__typed__) {
|
|
144
|
-
return {
|
|
145
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
146
|
-
paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
,
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
exports.ActiveSubscription_WithdrawFunds = {
|
|
155
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amountToKeepLocked: damlTypes.Numeric(10).decoder, paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, }); }),
|
|
156
|
-
encode: function (__typed__) {
|
|
157
|
-
return {
|
|
158
|
-
amountToKeepLocked: damlTypes.Numeric(10).encode(__typed__.amountToKeepLocked),
|
|
159
|
-
paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
,
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
exports.ActiveSubscription_AddFunds = {
|
|
168
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, lockFundsInput: Fairmint_Subscriptions_Types_LockFundsInput.LockFundsInput.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
169
|
-
encode: function (__typed__) {
|
|
170
|
-
return {
|
|
171
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
172
|
-
lockFundsInput: Fairmint_Subscriptions_Types_LockFundsInput.LockFundsInput.encode(__typed__.lockFundsInput),
|
|
173
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
,
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
exports.ActiveSubscription_Refund = {
|
|
182
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, recipientFeaturedAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).decoder), }); }),
|
|
183
|
-
encode: function (__typed__) {
|
|
184
|
-
return {
|
|
185
|
-
paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
186
|
-
recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__.recipientAmuletInputs),
|
|
187
|
-
recipientFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).encode(__typed__.recipientFeaturedAppRight),
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
,
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
exports.ActiveSubscription_Cancel = {
|
|
196
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, disregardAvailablePaidPeriod: damlTypes.Bool.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, }); }),
|
|
197
|
-
encode: function (__typed__) {
|
|
198
|
-
return {
|
|
199
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
200
|
-
disregardAvailablePaidPeriod: damlTypes.Bool.encode(__typed__.disregardAvailablePaidPeriod),
|
|
201
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
202
|
-
paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
,
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
exports.ActiveSubscription_ProposeChanges = {
|
|
211
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, subscriptionChanges: Fairmint_Subscriptions_Types_SubscriptionChanges.SubscriptionChanges.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
212
|
-
encode: function (__typed__) {
|
|
213
|
-
return {
|
|
214
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
215
|
-
subscriptionChanges: Fairmint_Subscriptions_Types_SubscriptionChanges.SubscriptionChanges.encode(__typed__.subscriptionChanges),
|
|
216
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
,
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
exports.ActiveSubscription_ProcessPayment = {
|
|
225
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, skipProcessorPayment: damlTypes.Bool.decoder, }); }),
|
|
226
|
-
encode: function (__typed__) {
|
|
227
|
-
return {
|
|
228
|
-
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
|
|
229
|
-
paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
230
|
-
skipProcessorPayment: damlTypes.Bool.encode(__typed__.skipProcessorPayment),
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
,
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
exports.ActiveSubscription_ProcessFreeTrial = {
|
|
239
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).decoder), }); }),
|
|
240
|
-
encode: function (__typed__) {
|
|
241
|
-
return {
|
|
242
|
-
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
|
|
243
|
-
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
,
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
exports.ActiveSubscription = damlTypes.assembleTemplate(
|
|
252
|
-
{
|
|
253
|
-
templateId: '#Subscriptions-v09:Fairmint.Subscriptions.ActiveSubscription:ActiveSubscription',
|
|
254
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
255
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
256
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscription: Fairmint_Subscriptions_Types_Subscription.Subscription.decoder, processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.decoder, processedAndPaidUntil: damlTypes.Time.decoder, lockedAmuletCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet).decoder, stats: Fairmint_Subscriptions_Types_SubscriptionStats.SubscriptionStats.decoder, }); }),
|
|
257
|
-
encode: function (__typed__) {
|
|
258
|
-
return {
|
|
259
|
-
subscription: Fairmint_Subscriptions_Types_Subscription.Subscription.encode(__typed__.subscription),
|
|
260
|
-
processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
|
|
261
|
-
processedAndPaidUntil: damlTypes.Time.encode(__typed__.processedAndPaidUntil),
|
|
262
|
-
lockedAmuletCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet).encode(__typed__.lockedAmuletCid),
|
|
263
|
-
stats: Fairmint_Subscriptions_Types_SubscriptionStats.SubscriptionStats.encode(__typed__.stats),
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
,
|
|
267
|
-
ActiveSubscription_ProcessFreeTrial: {
|
|
268
|
-
template: function () { return exports.ActiveSubscription; },
|
|
269
|
-
choiceName: 'ActiveSubscription_ProcessFreeTrial',
|
|
270
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_ProcessFreeTrial.decoder; }),
|
|
271
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_ProcessFreeTrial.encode(__typed__); },
|
|
272
|
-
resultDecoder: damlTypes.lazyMemo(function () { return Fairmint_Subscriptions_Types_ProcessFreeTrialResult.ProcessFreeTrialResult(exports.ActiveSubscription).decoder; }),
|
|
273
|
-
resultEncode: function (__typed__) { return Fairmint_Subscriptions_Types_ProcessFreeTrialResult.ProcessFreeTrialResult(exports.ActiveSubscription).encode(__typed__); },
|
|
274
|
-
},
|
|
275
|
-
ActiveSubscription_ProcessPayment: {
|
|
276
|
-
template: function () { return exports.ActiveSubscription; },
|
|
277
|
-
choiceName: 'ActiveSubscription_ProcessPayment',
|
|
278
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_ProcessPayment.decoder; }),
|
|
279
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_ProcessPayment.encode(__typed__); },
|
|
280
|
-
resultDecoder: damlTypes.lazyMemo(function () { return Fairmint_Subscriptions_Types_PaymentResult.ProcessPaymentResult(exports.ActiveSubscription).decoder; }),
|
|
281
|
-
resultEncode: function (__typed__) { return Fairmint_Subscriptions_Types_PaymentResult.ProcessPaymentResult(exports.ActiveSubscription).encode(__typed__); },
|
|
282
|
-
},
|
|
283
|
-
ActiveSubscription_ProposeChanges: {
|
|
284
|
-
template: function () { return exports.ActiveSubscription; },
|
|
285
|
-
choiceName: 'ActiveSubscription_ProposeChanges',
|
|
286
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_ProposeChanges.decoder; }),
|
|
287
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_ProposeChanges.encode(__typed__); },
|
|
288
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.SubscriptionChangeProposal).decoder; }),
|
|
289
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.SubscriptionChangeProposal).encode(__typed__); },
|
|
290
|
-
},
|
|
291
|
-
ActiveSubscription_Cancel: {
|
|
292
|
-
template: function () { return exports.ActiveSubscription; },
|
|
293
|
-
choiceName: 'ActiveSubscription_Cancel',
|
|
294
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_Cancel.decoder; }),
|
|
295
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_Cancel.encode(__typed__); },
|
|
296
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActiveSubscription)), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).decoder; }),
|
|
297
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActiveSubscription)), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).encode(__typed__); },
|
|
298
|
-
},
|
|
299
|
-
ActiveSubscription_Refund: {
|
|
300
|
-
template: function () { return exports.ActiveSubscription; },
|
|
301
|
-
choiceName: 'ActiveSubscription_Refund',
|
|
302
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_Refund.decoder; }),
|
|
303
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_Refund.encode(__typed__); },
|
|
304
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult, damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder; }),
|
|
305
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult, damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__); },
|
|
306
|
-
},
|
|
307
|
-
ActiveSubscription_AddFunds: {
|
|
308
|
-
template: function () { return exports.ActiveSubscription; },
|
|
309
|
-
choiceName: 'ActiveSubscription_AddFunds',
|
|
310
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_AddFunds.decoder; }),
|
|
311
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_AddFunds.encode(__typed__); },
|
|
312
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActiveSubscription), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).decoder; }),
|
|
313
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActiveSubscription), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).encode(__typed__); },
|
|
314
|
-
},
|
|
315
|
-
ActiveSubscription_WithdrawFunds: {
|
|
316
|
-
template: function () { return exports.ActiveSubscription; },
|
|
317
|
-
choiceName: 'ActiveSubscription_WithdrawFunds',
|
|
318
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_WithdrawFunds.decoder; }),
|
|
319
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_WithdrawFunds.encode(__typed__); },
|
|
320
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActiveSubscription), damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder; }),
|
|
321
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActiveSubscription), damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__); },
|
|
322
|
-
},
|
|
323
|
-
ActiveSubscription_ArchiveInactiveSubscription: {
|
|
324
|
-
template: function () { return exports.ActiveSubscription; },
|
|
325
|
-
choiceName: 'ActiveSubscription_ArchiveInactiveSubscription',
|
|
326
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_ArchiveInactiveSubscription.decoder; }),
|
|
327
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_ArchiveInactiveSubscription.encode(__typed__); },
|
|
328
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet).decoder; }),
|
|
329
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet).encode(__typed__); },
|
|
330
|
-
},
|
|
331
|
-
ActiveSubscription_ChangeParty: {
|
|
332
|
-
template: function () { return exports.ActiveSubscription; },
|
|
333
|
-
choiceName: 'ActiveSubscription_ChangeParty',
|
|
334
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActiveSubscription_ChangeParty.decoder; }),
|
|
335
|
-
argumentEncode: function (__typed__) { return exports.ActiveSubscription_ChangeParty.encode(__typed__); },
|
|
336
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ActiveSubscription).decoder; }),
|
|
337
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ActiveSubscription).encode(__typed__); },
|
|
338
|
-
},
|
|
339
|
-
Archive: {
|
|
340
|
-
template: function () { return exports.ActiveSubscription; },
|
|
341
|
-
choiceName: 'Archive',
|
|
342
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
343
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
344
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
345
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
346
|
-
},
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
);
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
damlTypes.registerTemplate(exports.ActiveSubscription, ['813acf3938ed38d338823fd94c5afb4a885e0ae54546741cc1b036c76c22c825', '#Subscriptions-v09']);
|
|
353
|
-
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// Generated from Fairmint/Subscriptions/ProposedSubscription.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 pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../..';
|
|
11
|
-
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../../DA/Types';
|
|
12
|
-
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
13
|
-
|
|
14
|
-
import * as Fairmint_Subscriptions_ActiveSubscription from '../../../Fairmint/Subscriptions/ActiveSubscription/module';
|
|
15
|
-
import * as Fairmint_Subscriptions_Types_Approvals from '../../../Fairmint/Subscriptions/Types/Approvals/module';
|
|
16
|
-
import * as Fairmint_Subscriptions_Types_LockFundsInput from '../../../Fairmint/Subscriptions/Types/LockFundsInput/module';
|
|
17
|
-
import * as Fairmint_Subscriptions_Types_PartyRole from '../../../Fairmint/Subscriptions/Types/PartyRole/module';
|
|
18
|
-
import * as Fairmint_Subscriptions_Types_ProcessorContext from '../../../Fairmint/Subscriptions/Types/ProcessorContext/module';
|
|
19
|
-
import * as Fairmint_Subscriptions_Types_SubscriptionProposal from '../../../Fairmint/Subscriptions/Types/SubscriptionProposal/module';
|
|
20
|
-
import * as Fairmint_Subscriptions_Types_SubscriptionProposalChanges from '../../../Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module';
|
|
21
|
-
|
|
22
|
-
export declare type ProposedSubscription_ChangeParty = {
|
|
23
|
-
partyType: Fairmint_Subscriptions_Types_PartyRole.PartyRole;
|
|
24
|
-
oldParty: damlTypes.Party;
|
|
25
|
-
newParty: damlTypes.Party;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export declare const ProposedSubscription_ChangeParty:
|
|
29
|
-
damlTypes.Serializable<ProposedSubscription_ChangeParty> & {
|
|
30
|
-
}
|
|
31
|
-
;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export declare type ProposedSubscription_Withdraw = {
|
|
35
|
-
actor: damlTypes.Party;
|
|
36
|
-
description: damlTypes.Optional<string>;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export declare const ProposedSubscription_Withdraw:
|
|
40
|
-
damlTypes.Serializable<ProposedSubscription_Withdraw> & {
|
|
41
|
-
}
|
|
42
|
-
;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export declare type ProposedSubscription_EditSubscriptionProposal = {
|
|
46
|
-
actor: damlTypes.Party;
|
|
47
|
-
changes: Fairmint_Subscriptions_Types_SubscriptionProposalChanges.SubscriptionProposalChanges;
|
|
48
|
-
description: damlTypes.Optional<string>;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export declare const ProposedSubscription_EditSubscriptionProposal:
|
|
52
|
-
damlTypes.Serializable<ProposedSubscription_EditSubscriptionProposal> & {
|
|
53
|
-
}
|
|
54
|
-
;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export declare type ProposedSubscription_StartSubscription = {
|
|
58
|
-
lockFundsInput: Fairmint_Subscriptions_Types_LockFundsInput.LockFundsInput;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export declare const ProposedSubscription_StartSubscription:
|
|
62
|
-
damlTypes.Serializable<ProposedSubscription_StartSubscription> & {
|
|
63
|
-
}
|
|
64
|
-
;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export declare type ProposedSubscription_Approve = {
|
|
68
|
-
actor: damlTypes.Party;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export declare const ProposedSubscription_Approve:
|
|
72
|
-
damlTypes.Serializable<ProposedSubscription_Approve> & {
|
|
73
|
-
}
|
|
74
|
-
;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
export declare type ProposedSubscription = {
|
|
78
|
-
subscriptionProposal: Fairmint_Subscriptions_Types_SubscriptionProposal.SubscriptionProposal;
|
|
79
|
-
processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext;
|
|
80
|
-
approvals: Fairmint_Subscriptions_Types_Approvals.Approvals;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export declare interface ProposedSubscriptionInterface {
|
|
84
|
-
Archive: damlTypes.Choice<ProposedSubscription, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
85
|
-
ProposedSubscription_ChangeParty: damlTypes.Choice<ProposedSubscription, ProposedSubscription_ChangeParty, damlTypes.ContractId<ProposedSubscription>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
86
|
-
ProposedSubscription_Approve: damlTypes.Choice<ProposedSubscription, ProposedSubscription_Approve, damlTypes.ContractId<ProposedSubscription>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
87
|
-
ProposedSubscription_StartSubscription: damlTypes.Choice<ProposedSubscription, ProposedSubscription_StartSubscription, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<Fairmint_Subscriptions_ActiveSubscription.ActiveSubscription>, damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>>>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
88
|
-
ProposedSubscription_EditSubscriptionProposal: damlTypes.Choice<ProposedSubscription, ProposedSubscription_EditSubscriptionProposal, damlTypes.ContractId<ProposedSubscription>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
89
|
-
ProposedSubscription_Withdraw: damlTypes.Choice<ProposedSubscription, ProposedSubscription_Withdraw, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedSubscription, undefined>>;
|
|
90
|
-
}
|
|
91
|
-
export declare const ProposedSubscription:
|
|
92
|
-
damlTypes.Template<ProposedSubscription, undefined, '#Subscriptions-v09:Fairmint.Subscriptions.ProposedSubscription:ProposedSubscription'> &
|
|
93
|
-
damlTypes.ToInterface<ProposedSubscription, never> &
|
|
94
|
-
ProposedSubscriptionInterface;
|
|
95
|
-
|
|
96
|
-
export declare namespace ProposedSubscription {
|
|
97
|
-
export type CreateEvent = damlLedger.CreateEvent<ProposedSubscription, undefined, typeof ProposedSubscription.templateId>
|
|
98
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<ProposedSubscription, typeof ProposedSubscription.templateId>
|
|
99
|
-
export type Event = damlLedger.Event<ProposedSubscription, undefined, typeof ProposedSubscription.templateId>
|
|
100
|
-
export type QueryResult = damlLedger.QueryResult<ProposedSubscription, undefined, typeof ProposedSubscription.templateId>
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
@@ -1,161 +0,0 @@
|
|
|
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 pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../..');
|
|
16
|
-
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../DA/Types');
|
|
17
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
18
|
-
|
|
19
|
-
var Fairmint_Subscriptions_ActiveSubscription = require('../../../Fairmint/Subscriptions/ActiveSubscription/module');
|
|
20
|
-
var Fairmint_Subscriptions_Types_Approvals = require('../../../Fairmint/Subscriptions/Types/Approvals/module');
|
|
21
|
-
var Fairmint_Subscriptions_Types_LockFundsInput = require('../../../Fairmint/Subscriptions/Types/LockFundsInput/module');
|
|
22
|
-
var Fairmint_Subscriptions_Types_PartyRole = require('../../../Fairmint/Subscriptions/Types/PartyRole/module');
|
|
23
|
-
var Fairmint_Subscriptions_Types_ProcessorContext = require('../../../Fairmint/Subscriptions/Types/ProcessorContext/module');
|
|
24
|
-
var Fairmint_Subscriptions_Types_SubscriptionProposal = require('../../../Fairmint/Subscriptions/Types/SubscriptionProposal/module');
|
|
25
|
-
var Fairmint_Subscriptions_Types_SubscriptionProposalChanges = require('../../../Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module');
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.ProposedSubscription_ChangeParty = {
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({partyType: Fairmint_Subscriptions_Types_PartyRole.PartyRole.decoder, oldParty: damlTypes.Party.decoder, newParty: damlTypes.Party.decoder, }); }),
|
|
30
|
-
encode: function (__typed__) {
|
|
31
|
-
return {
|
|
32
|
-
partyType: Fairmint_Subscriptions_Types_PartyRole.PartyRole.encode(__typed__.partyType),
|
|
33
|
-
oldParty: damlTypes.Party.encode(__typed__.oldParty),
|
|
34
|
-
newParty: damlTypes.Party.encode(__typed__.newParty),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
,
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
exports.ProposedSubscription_Withdraw = {
|
|
43
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
44
|
-
encode: function (__typed__) {
|
|
45
|
-
return {
|
|
46
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
47
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
,
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
exports.ProposedSubscription_EditSubscriptionProposal = {
|
|
56
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, changes: Fairmint_Subscriptions_Types_SubscriptionProposalChanges.SubscriptionProposalChanges.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
57
|
-
encode: function (__typed__) {
|
|
58
|
-
return {
|
|
59
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
60
|
-
changes: Fairmint_Subscriptions_Types_SubscriptionProposalChanges.SubscriptionProposalChanges.encode(__typed__.changes),
|
|
61
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
,
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
exports.ProposedSubscription_StartSubscription = {
|
|
70
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({lockFundsInput: Fairmint_Subscriptions_Types_LockFundsInput.LockFundsInput.decoder, }); }),
|
|
71
|
-
encode: function (__typed__) {
|
|
72
|
-
return {
|
|
73
|
-
lockFundsInput: Fairmint_Subscriptions_Types_LockFundsInput.LockFundsInput.encode(__typed__.lockFundsInput),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
,
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
exports.ProposedSubscription_Approve = {
|
|
82
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
|
|
83
|
-
encode: function (__typed__) {
|
|
84
|
-
return {
|
|
85
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
,
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
exports.ProposedSubscription = damlTypes.assembleTemplate(
|
|
94
|
-
{
|
|
95
|
-
templateId: '#Subscriptions-v09:Fairmint.Subscriptions.ProposedSubscription:ProposedSubscription',
|
|
96
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
97
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
98
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriptionProposal: Fairmint_Subscriptions_Types_SubscriptionProposal.SubscriptionProposal.decoder, processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.decoder, approvals: Fairmint_Subscriptions_Types_Approvals.Approvals.decoder, }); }),
|
|
99
|
-
encode: function (__typed__) {
|
|
100
|
-
return {
|
|
101
|
-
subscriptionProposal: Fairmint_Subscriptions_Types_SubscriptionProposal.SubscriptionProposal.encode(__typed__.subscriptionProposal),
|
|
102
|
-
processorContext: Fairmint_Subscriptions_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
|
|
103
|
-
approvals: Fairmint_Subscriptions_Types_Approvals.Approvals.encode(__typed__.approvals),
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
,
|
|
107
|
-
Archive: {
|
|
108
|
-
template: function () { return exports.ProposedSubscription; },
|
|
109
|
-
choiceName: 'Archive',
|
|
110
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
111
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
112
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
113
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
114
|
-
},
|
|
115
|
-
ProposedSubscription_ChangeParty: {
|
|
116
|
-
template: function () { return exports.ProposedSubscription; },
|
|
117
|
-
choiceName: 'ProposedSubscription_ChangeParty',
|
|
118
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedSubscription_ChangeParty.decoder; }),
|
|
119
|
-
argumentEncode: function (__typed__) { return exports.ProposedSubscription_ChangeParty.encode(__typed__); },
|
|
120
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ProposedSubscription).decoder; }),
|
|
121
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ProposedSubscription).encode(__typed__); },
|
|
122
|
-
},
|
|
123
|
-
ProposedSubscription_Approve: {
|
|
124
|
-
template: function () { return exports.ProposedSubscription; },
|
|
125
|
-
choiceName: 'ProposedSubscription_Approve',
|
|
126
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedSubscription_Approve.decoder; }),
|
|
127
|
-
argumentEncode: function (__typed__) { return exports.ProposedSubscription_Approve.encode(__typed__); },
|
|
128
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ProposedSubscription).decoder; }),
|
|
129
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ProposedSubscription).encode(__typed__); },
|
|
130
|
-
},
|
|
131
|
-
ProposedSubscription_StartSubscription: {
|
|
132
|
-
template: function () { return exports.ProposedSubscription; },
|
|
133
|
-
choiceName: 'ProposedSubscription_StartSubscription',
|
|
134
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedSubscription_StartSubscription.decoder; }),
|
|
135
|
-
argumentEncode: function (__typed__) { return exports.ProposedSubscription_StartSubscription.encode(__typed__); },
|
|
136
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(Fairmint_Subscriptions_ActiveSubscription.ActiveSubscription), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).decoder; }),
|
|
137
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(Fairmint_Subscriptions_ActiveSubscription.ActiveSubscription), damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet))).encode(__typed__); },
|
|
138
|
-
},
|
|
139
|
-
ProposedSubscription_EditSubscriptionProposal: {
|
|
140
|
-
template: function () { return exports.ProposedSubscription; },
|
|
141
|
-
choiceName: 'ProposedSubscription_EditSubscriptionProposal',
|
|
142
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedSubscription_EditSubscriptionProposal.decoder; }),
|
|
143
|
-
argumentEncode: function (__typed__) { return exports.ProposedSubscription_EditSubscriptionProposal.encode(__typed__); },
|
|
144
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ProposedSubscription).decoder; }),
|
|
145
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ProposedSubscription).encode(__typed__); },
|
|
146
|
-
},
|
|
147
|
-
ProposedSubscription_Withdraw: {
|
|
148
|
-
template: function () { return exports.ProposedSubscription; },
|
|
149
|
-
choiceName: 'ProposedSubscription_Withdraw',
|
|
150
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedSubscription_Withdraw.decoder; }),
|
|
151
|
-
argumentEncode: function (__typed__) { return exports.ProposedSubscription_Withdraw.encode(__typed__); },
|
|
152
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
153
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
154
|
-
},
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
);
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
damlTypes.registerTemplate(exports.ProposedSubscription, ['813acf3938ed38d338823fd94c5afb4a885e0ae54546741cc1b036c76c22c825', '#Subscriptions-v09']);
|
|
161
|
-
|