@fairmint/open-captable-protocol-daml-js 0.2.16 → 0.2.18
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/subscriptions-factory-contract-id.json +4 -4
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Types/module.js +2 -2
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +2 -2
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +2 -2
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.d.ts +50 -5
- package/lib/Fairmint/Subscriptions/ActiveSubscription/module.js +87 -15
- package/lib/Fairmint/Subscriptions/PartyMigrationProposal/module.d.ts +1 -1
- package/lib/Fairmint/Subscriptions/PartyMigrationProposal/module.js +2 -2
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.d.ts +7 -2
- package/lib/Fairmint/Subscriptions/ProposedSubscription/module.js +10 -5
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +1 -1
- package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +2 -2
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/module.d.ts +0 -1
- package/lib/Fairmint/Subscriptions/Types/PaymentContext/module.js +3 -4
- package/lib/Fairmint/Subscriptions/Types/PaymentResult/module.js +4 -4
- package/lib/Fairmint/Subscriptions/Types/ProcessFreeTrialResult/module.js +3 -3
- package/lib/Fairmint/Subscriptions/Types/ProcessingContext/module.d.ts +1 -6
- package/lib/Fairmint/Subscriptions/Types/ProcessingContext/module.js +2 -7
- package/lib/Fairmint/Subscriptions/Types/Subscription/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/Subscription/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/SubscriptionChanges/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.d.ts +4 -4
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.js +5 -5
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.d.ts +3 -3
- package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.js +4 -4
- package/lib/Splice/Amulet/module.d.ts +1 -1
- package/lib/Splice/Amulet/module.js +13 -13
- package/lib/Splice/AmuletAllocation/module.d.ts +1 -1
- package/lib/Splice/AmuletAllocation/module.js +4 -4
- package/lib/Splice/AmuletRules/module.d.ts +1 -1
- package/lib/Splice/AmuletRules/module.js +17 -17
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +1 -1
- package/lib/Splice/AmuletTransferInstruction/module.js +4 -4
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +1 -1
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +20 -20
- package/lib/Splice/Api/Token/AllocationV1/module.js +26 -26
- package/lib/Splice/Api/Token/HoldingV1/module.js +2 -2
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +23 -23
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +2 -2
- package/lib/Splice/ExternalPartyAmuletRules/module.js +4 -4
- package/lib/Splice/index.d.ts +30 -1
- package/lib/Splice/index.js +30 -2
- package/package.json +3 -3
- package/lib/DA/Date/Types/index.d.ts +0 -1
- package/lib/DA/Date/Types/index.js +0 -8
- 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/Date/index.js +0 -9
- package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
- package/lib/DA/Exception/ArithmeticError/index.js +0 -8
- package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/AssertionFailed/index.js +0 -8
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
- package/lib/DA/Exception/GeneralError/index.js +0 -8
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Internal/Down/index.js +0 -8
- package/lib/DA/Internal/Down/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- package/lib/DA/Logic/Types/index.d.ts +0 -1
- package/lib/DA/Logic/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Monoid/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/NonEmpty/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Random/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Semigroup/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Stack/Types/index.js +0 -8
- 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/index.d.ts +0 -1
- package/lib/DA/Validation/Types/index.js +0 -8
- 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/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
|
@@ -16,12 +16,12 @@ var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = requir
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.ProcessFreeTrialResult = function (t) { return ({
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriptionCid: damlTypes.ContractId(t).decoder, recipientActivityMarkerCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
19
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriptionCid: damlTypes.ContractId(t).decoder, recipientActivityMarkerCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).decoder), processorActivityMarkerCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).decoder), }); }),
|
|
20
20
|
encode: function (__typed__) {
|
|
21
21
|
return {
|
|
22
22
|
subscriptionCid: damlTypes.ContractId(t).encode(__typed__.subscriptionCid),
|
|
23
|
-
recipientActivityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
24
|
-
processorActivityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
23
|
+
recipientActivityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).encode(__typed__.recipientActivityMarkerCid),
|
|
24
|
+
processorActivityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).encode(__typed__.processorActivityMarkerCid),
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
,
|
|
@@ -8,16 +8,11 @@ import * as damlTypes from '@daml/types';
|
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
10
|
import * as pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../../..';
|
|
11
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
|
|
12
11
|
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
|
|
13
12
|
|
|
14
13
|
export declare type ProcessingContext = {
|
|
15
14
|
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
|
|
16
|
-
|
|
17
|
-
recipientProvider: damlTypes.Optional<damlTypes.Party>;
|
|
18
|
-
recipientFeaturedAppRight: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>>;
|
|
19
|
-
processorFeaturedAppRight: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>>;
|
|
20
|
-
processorBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
15
|
+
featuredAppRight: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>>;
|
|
21
16
|
};
|
|
22
17
|
|
|
23
18
|
export declare const ProcessingContext:
|
|
@@ -13,20 +13,15 @@ var damlTypes = require('@daml/types');
|
|
|
13
13
|
var damlLedger = require('@daml/ledger');
|
|
14
14
|
|
|
15
15
|
var pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../../..');
|
|
16
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
|
|
17
16
|
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA/Time/Types');
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
exports.ProcessingContext = {
|
|
21
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder,
|
|
20
|
+
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), }); }),
|
|
22
21
|
encode: function (__typed__) {
|
|
23
22
|
return {
|
|
24
23
|
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
|
|
25
|
-
|
|
26
|
-
recipientProvider: damlTypes.Optional(damlTypes.Party).encode(__typed__.recipientProvider),
|
|
27
|
-
recipientFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight)).encode(__typed__.recipientFeaturedAppRight),
|
|
28
|
-
processorFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight)).encode(__typed__.processorFeaturedAppRight),
|
|
29
|
-
processorBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary).encode(__typed__.processorBeneficiaries),
|
|
24
|
+
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
30
25
|
};
|
|
31
26
|
}
|
|
32
27
|
,
|
|
@@ -15,13 +15,13 @@ import * as Fairmint_Subscriptions_Types_SubscriptionAmount from '../../../../Fa
|
|
|
15
15
|
export declare type Subscription = {
|
|
16
16
|
subscriber: damlTypes.Party;
|
|
17
17
|
recipient: damlTypes.Party;
|
|
18
|
-
recipientProvider: damlTypes.Optional<damlTypes.Party>;
|
|
19
|
-
recipientBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
|
|
20
18
|
recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount;
|
|
21
19
|
processorPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
|
|
22
|
-
|
|
20
|
+
freeTrialExpiration: damlTypes.Optional<damlTypes.Time>;
|
|
21
|
+
prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
|
|
23
22
|
paymentsEndAt: damlTypes.Optional<damlTypes.Time>;
|
|
24
|
-
|
|
23
|
+
provider: damlTypes.Party;
|
|
24
|
+
appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
25
25
|
description: damlTypes.Optional<string>;
|
|
26
26
|
metadata: damlTypes.Optional<{ [key: string]: string }>;
|
|
27
27
|
observers: damlTypes.Party[];
|
|
@@ -19,18 +19,18 @@ var Fairmint_Subscriptions_Types_SubscriptionAmount = require('../../../../Fairm
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
exports.Subscription = {
|
|
22
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder,
|
|
22
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.decoder, processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), provider: damlTypes.Party.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).decoder), observers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
23
23
|
encode: function (__typed__) {
|
|
24
24
|
return {
|
|
25
25
|
subscriber: damlTypes.Party.encode(__typed__.subscriber),
|
|
26
26
|
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
27
|
-
recipientProvider: damlTypes.Optional(damlTypes.Party).encode(__typed__.recipientProvider),
|
|
28
|
-
recipientBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary)).encode(__typed__.recipientBeneficiaries),
|
|
29
27
|
recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.encode(__typed__.recipientPaymentPerDay),
|
|
30
28
|
processorPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.processorPaymentPerDay),
|
|
31
|
-
|
|
29
|
+
freeTrialExpiration: damlTypes.Optional(damlTypes.Time).encode(__typed__.freeTrialExpiration),
|
|
30
|
+
prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.prepayWindow),
|
|
32
31
|
paymentsEndAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.paymentsEndAt),
|
|
33
|
-
|
|
32
|
+
provider: damlTypes.Party.encode(__typed__.provider),
|
|
33
|
+
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
34
34
|
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
35
35
|
metadata: damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).encode(__typed__.metadata),
|
|
36
36
|
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
@@ -15,13 +15,13 @@ import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fair
|
|
|
15
15
|
|
|
16
16
|
export declare type SubscriptionChanges = {
|
|
17
17
|
processedAndPaidUntilAdjustment: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
provider: damlTypes.Optional<damlTypes.Party>;
|
|
19
|
+
appRewardBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
|
|
20
20
|
recipientPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
|
|
21
21
|
processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>>;
|
|
22
|
-
prepayWindow: damlTypes.Optional<
|
|
22
|
+
prepayWindow: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
|
|
23
23
|
paymentsEndAt: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
|
|
24
|
-
|
|
24
|
+
freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
|
|
25
25
|
description: damlTypes.Optional<damlTypes.Optional<string>>;
|
|
26
26
|
metadata: damlTypes.Optional<damlTypes.Optional<{ [key: string]: string }>>;
|
|
27
27
|
observers: damlTypes.Optional<damlTypes.Party[]>;
|
|
@@ -20,17 +20,17 @@ var Fairmint_Subscriptions_Types_SubscriptionTime = require('../../../../Fairmin
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
exports.SubscriptionChanges = {
|
|
23
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({processedAndPaidUntilAdjustment: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder),
|
|
23
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({processedAndPaidUntilAdjustment: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), appRewardBeneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), recipientPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).decoder), prepayWindow: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).decoder), observers: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Party)).decoder), }); }),
|
|
24
24
|
encode: function (__typed__) {
|
|
25
25
|
return {
|
|
26
26
|
processedAndPaidUntilAdjustment: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.processedAndPaidUntilAdjustment),
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
provider: damlTypes.Optional(damlTypes.Party).encode(__typed__.provider),
|
|
28
|
+
appRewardBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).encode(__typed__.appRewardBeneficiaries),
|
|
29
29
|
recipientPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.recipientPaymentPerDay),
|
|
30
30
|
processorPaymentPerDay: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).encode(__typed__.processorPaymentPerDay),
|
|
31
|
-
prepayWindow: damlTypes.Optional(
|
|
31
|
+
prepayWindow: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.prepayWindow),
|
|
32
32
|
paymentsEndAt: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.paymentsEndAt),
|
|
33
|
-
|
|
33
|
+
freeTrialExpiration: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.freeTrialExpiration),
|
|
34
34
|
description: damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).encode(__typed__.description),
|
|
35
35
|
metadata: damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).encode(__typed__.metadata),
|
|
36
36
|
observers: damlTypes.Optional(damlTypes.List(damlTypes.Party)).encode(__typed__.observers),
|
|
@@ -16,13 +16,13 @@ import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fair
|
|
|
16
16
|
export declare type SubscriptionProposal = {
|
|
17
17
|
subscriber: damlTypes.Party;
|
|
18
18
|
recipient: damlTypes.Party;
|
|
19
|
-
recipientProvider: damlTypes.Optional<damlTypes.Party>;
|
|
20
|
-
recipientBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
|
|
21
|
-
freeTrialExpiration: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>;
|
|
22
19
|
recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount;
|
|
23
20
|
processorPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
|
|
24
|
-
|
|
21
|
+
freeTrialExpiration: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>;
|
|
22
|
+
prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
|
|
25
23
|
paymentsEndAt: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>;
|
|
24
|
+
provider: damlTypes.Party;
|
|
25
|
+
appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
26
26
|
description: damlTypes.Optional<string>;
|
|
27
27
|
metadata: damlTypes.Optional<{ [key: string]: string }>;
|
|
28
28
|
observers: damlTypes.Party[];
|
|
@@ -20,18 +20,18 @@ var Fairmint_Subscriptions_Types_SubscriptionTime = require('../../../../Fairmin
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
exports.SubscriptionProposal = {
|
|
23
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder,
|
|
23
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.decoder, processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime).decoder), prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime).decoder), provider: damlTypes.Party.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).decoder), observers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
24
24
|
encode: function (__typed__) {
|
|
25
25
|
return {
|
|
26
26
|
subscriber: damlTypes.Party.encode(__typed__.subscriber),
|
|
27
27
|
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
28
|
-
recipientProvider: damlTypes.Optional(damlTypes.Party).encode(__typed__.recipientProvider),
|
|
29
|
-
recipientBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary)).encode(__typed__.recipientBeneficiaries),
|
|
30
|
-
freeTrialExpiration: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime).encode(__typed__.freeTrialExpiration),
|
|
31
28
|
recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.encode(__typed__.recipientPaymentPerDay),
|
|
32
29
|
processorPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.processorPaymentPerDay),
|
|
33
|
-
|
|
30
|
+
freeTrialExpiration: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime).encode(__typed__.freeTrialExpiration),
|
|
31
|
+
prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.prepayWindow),
|
|
34
32
|
paymentsEndAt: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime).encode(__typed__.paymentsEndAt),
|
|
33
|
+
provider: damlTypes.Party.encode(__typed__.provider),
|
|
34
|
+
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
35
35
|
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
36
36
|
metadata: damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).encode(__typed__.metadata),
|
|
37
37
|
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
@@ -16,12 +16,12 @@ import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fair
|
|
|
16
16
|
export declare type SubscriptionProposalChanges = {
|
|
17
17
|
subscriber: damlTypes.Optional<damlTypes.Party>;
|
|
18
18
|
recipient: damlTypes.Optional<damlTypes.Party>;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
provider: damlTypes.Optional<damlTypes.Party>;
|
|
20
|
+
appRewardBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
|
|
21
21
|
recipientPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
|
|
22
22
|
processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>>;
|
|
23
23
|
paymentsEndAt: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
|
|
24
|
-
prepayWindow: damlTypes.Optional<
|
|
24
|
+
prepayWindow: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
|
|
25
25
|
freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
|
|
26
26
|
description: damlTypes.Optional<damlTypes.Optional<string>>;
|
|
27
27
|
metadata: damlTypes.Optional<damlTypes.Optional<{ [key: string]: string }>>;
|
|
@@ -20,17 +20,17 @@ var Fairmint_Subscriptions_Types_SubscriptionTime = require('../../../../Fairmin
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
exports.SubscriptionProposalChanges = {
|
|
23
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), recipient: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder),
|
|
23
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), recipient: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), appRewardBeneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), recipientPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).decoder), paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), prepayWindow: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).decoder), observers: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Party)).decoder), }); }),
|
|
24
24
|
encode: function (__typed__) {
|
|
25
25
|
return {
|
|
26
26
|
subscriber: damlTypes.Optional(damlTypes.Party).encode(__typed__.subscriber),
|
|
27
27
|
recipient: damlTypes.Optional(damlTypes.Party).encode(__typed__.recipient),
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
provider: damlTypes.Optional(damlTypes.Party).encode(__typed__.provider),
|
|
29
|
+
appRewardBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).encode(__typed__.appRewardBeneficiaries),
|
|
30
30
|
recipientPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.recipientPaymentPerDay),
|
|
31
31
|
processorPaymentPerDay: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).encode(__typed__.processorPaymentPerDay),
|
|
32
32
|
paymentsEndAt: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.paymentsEndAt),
|
|
33
|
-
prepayWindow: damlTypes.Optional(
|
|
33
|
+
prepayWindow: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.prepayWindow),
|
|
34
34
|
freeTrialExpiration: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.freeTrialExpiration),
|
|
35
35
|
description: damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).encode(__typed__.description),
|
|
36
36
|
metadata: damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).encode(__typed__.metadata),
|
|
@@ -9,7 +9,7 @@ import * as damlLedger from '@daml/ledger';
|
|
|
9
9
|
|
|
10
10
|
import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '../Api/Token/MetadataV1';
|
|
11
11
|
import * as pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b from '../Api/Token/HoldingV1';
|
|
12
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '
|
|
12
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../Api/FeaturedAppRightV1';
|
|
13
13
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../DA/Internal/Template';
|
|
14
14
|
|
|
15
15
|
import * as Splice_Expiry from '../../Splice/Expiry/module';
|
|
@@ -14,7 +14,7 @@ var damlLedger = require('@daml/ledger');
|
|
|
14
14
|
|
|
15
15
|
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = require('../Api/Token/MetadataV1');
|
|
16
16
|
var pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b = require('../Api/Token/HoldingV1');
|
|
17
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('
|
|
17
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../Api/FeaturedAppRightV1');
|
|
18
18
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../DA/Internal/Template');
|
|
19
19
|
|
|
20
20
|
var Splice_Expiry = require('../../Splice/Expiry/module');
|
|
@@ -329,7 +329,7 @@ exports.FeaturedAppActivityMarker = damlTypes.assembleTemplate(
|
|
|
329
329
|
},
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
, pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
332
|
+
, pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker
|
|
333
333
|
);
|
|
334
334
|
|
|
335
335
|
|
|
@@ -399,7 +399,7 @@ exports.FeaturedAppRight = damlTypes.assembleTemplate(
|
|
|
399
399
|
},
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
, pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
402
|
+
, pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppRight
|
|
403
403
|
);
|
|
404
404
|
|
|
405
405
|
|
|
@@ -559,7 +559,7 @@ exports.LockedAmulet = damlTypes.assembleTemplate(
|
|
|
559
559
|
},
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
, pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.
|
|
562
|
+
, pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding
|
|
563
563
|
);
|
|
564
564
|
|
|
565
565
|
|
|
@@ -611,7 +611,7 @@ exports.Amulet = damlTypes.assembleTemplate(
|
|
|
611
611
|
},
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
, pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.
|
|
614
|
+
, pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding
|
|
615
615
|
);
|
|
616
616
|
|
|
617
617
|
|
|
@@ -734,11 +734,11 @@ exports.ValidatorRight_ArchiveAsValidatorResult = {
|
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
exports.LockedAmulet_ExpireAmuletResult = {
|
|
737
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({expireSum: exports.AmuletExpireSummary.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
737
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({expireSum: exports.AmuletExpireSummary.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
738
738
|
encode: function (__typed__) {
|
|
739
739
|
return {
|
|
740
740
|
expireSum: exports.AmuletExpireSummary.encode(__typed__.expireSum),
|
|
741
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
741
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
,
|
|
@@ -747,11 +747,11 @@ exports.LockedAmulet_ExpireAmuletResult = {
|
|
|
747
747
|
|
|
748
748
|
|
|
749
749
|
exports.LockedAmulet_OwnerExpireLockResult = {
|
|
750
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
750
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
751
751
|
encode: function (__typed__) {
|
|
752
752
|
return {
|
|
753
753
|
amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).encode(__typed__.amuletSum),
|
|
754
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
754
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
755
755
|
};
|
|
756
756
|
}
|
|
757
757
|
,
|
|
@@ -760,11 +760,11 @@ exports.LockedAmulet_OwnerExpireLockResult = {
|
|
|
760
760
|
|
|
761
761
|
|
|
762
762
|
exports.LockedAmulet_UnlockResult = {
|
|
763
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
763
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
764
764
|
encode: function (__typed__) {
|
|
765
765
|
return {
|
|
766
766
|
amuletSum: exports.AmuletCreateSummary(damlTypes.ContractId(exports.Amulet)).encode(__typed__.amuletSum),
|
|
767
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
767
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
770
|
,
|
|
@@ -773,11 +773,11 @@ exports.LockedAmulet_UnlockResult = {
|
|
|
773
773
|
|
|
774
774
|
|
|
775
775
|
exports.Amulet_ExpireResult = {
|
|
776
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({expireSum: exports.AmuletExpireSummary.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
776
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({expireSum: exports.AmuletExpireSummary.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
777
777
|
encode: function (__typed__) {
|
|
778
778
|
return {
|
|
779
779
|
expireSum: exports.AmuletExpireSummary.encode(__typed__.expireSum),
|
|
780
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
780
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
781
781
|
};
|
|
782
782
|
}
|
|
783
783
|
,
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
|
-
import * as pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d from '
|
|
10
|
+
import * as pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d from '../Api/Token/AllocationV1';
|
|
11
11
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../DA/Internal/Template';
|
|
12
12
|
|
|
13
13
|
import * as Splice_Amulet from '../../Splice/Amulet/module';
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
/* eslint-disable-next-line no-unused-vars */
|
|
13
13
|
var damlLedger = require('@daml/ledger');
|
|
14
14
|
|
|
15
|
-
var pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d = require('
|
|
15
|
+
var pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d = require('../Api/Token/AllocationV1');
|
|
16
16
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../DA/Internal/Template');
|
|
17
17
|
|
|
18
18
|
var Splice_Amulet = require('../../Splice/Amulet/module');
|
|
@@ -23,11 +23,11 @@ exports.AmuletAllocation = damlTypes.assembleTemplate(
|
|
|
23
23
|
templateId: '#splice-amulet:Splice.AmuletAllocation:AmuletAllocation',
|
|
24
24
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
25
25
|
keyEncode: function () { throw 'EncodeError'; },
|
|
26
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({lockedAmulet: damlTypes.ContractId(Splice_Amulet.LockedAmulet).decoder, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.
|
|
26
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({lockedAmulet: damlTypes.ContractId(Splice_Amulet.LockedAmulet).decoder, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder, }); }),
|
|
27
27
|
encode: function (__typed__) {
|
|
28
28
|
return {
|
|
29
29
|
lockedAmulet: damlTypes.ContractId(Splice_Amulet.LockedAmulet).encode(__typed__.lockedAmulet),
|
|
30
|
-
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.
|
|
30
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
,
|
|
@@ -41,7 +41,7 @@ exports.AmuletAllocation = damlTypes.assembleTemplate(
|
|
|
41
41
|
},
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
, pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.
|
|
44
|
+
, pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation
|
|
45
45
|
);
|
|
46
46
|
|
|
47
47
|
|
|
@@ -9,7 +9,7 @@ import * as damlLedger from '@daml/ledger';
|
|
|
9
9
|
|
|
10
10
|
import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '../Api/Token/MetadataV1';
|
|
11
11
|
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../DA/Types';
|
|
12
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '
|
|
12
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../Api/FeaturedAppRightV1';
|
|
13
13
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../DA/Internal/Template';
|
|
14
14
|
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../DA/Time/Types';
|
|
15
15
|
|
|
@@ -14,7 +14,7 @@ var damlLedger = require('@daml/ledger');
|
|
|
14
14
|
|
|
15
15
|
var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = require('../Api/Token/MetadataV1');
|
|
16
16
|
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../DA/Types');
|
|
17
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('
|
|
17
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../Api/FeaturedAppRightV1');
|
|
18
18
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../DA/Internal/Template');
|
|
19
19
|
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../DA/Time/Types');
|
|
20
20
|
|
|
@@ -50,7 +50,7 @@ exports.TransferPreapproval_ExpireResult = {
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
exports.TransferPreapproval_RenewResult = {
|
|
53
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).decoder, transferResult: exports.TransferResult.decoder, receiver: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
53
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).decoder, transferResult: exports.TransferResult.decoder, receiver: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
54
54
|
encode: function (__typed__) {
|
|
55
55
|
return {
|
|
56
56
|
transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).encode(__typed__.transferPreapprovalCid),
|
|
@@ -58,7 +58,7 @@ exports.TransferPreapproval_RenewResult = {
|
|
|
58
58
|
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
59
59
|
provider: damlTypes.Party.encode(__typed__.provider),
|
|
60
60
|
amuletPaid: damlTypes.Numeric(10).encode(__typed__.amuletPaid),
|
|
61
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
61
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
,
|
|
@@ -67,11 +67,11 @@ exports.TransferPreapproval_RenewResult = {
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
exports.TransferPreapproval_SendResult = {
|
|
70
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({result: exports.TransferResult.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({result: exports.TransferResult.decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
71
71
|
encode: function (__typed__) {
|
|
72
72
|
return {
|
|
73
73
|
result: exports.TransferResult.encode(__typed__.result),
|
|
74
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
74
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
,
|
|
@@ -384,13 +384,13 @@ exports.TransferSummary = {
|
|
|
384
384
|
|
|
385
385
|
|
|
386
386
|
exports.AmuletRules_CreateTransferPreapprovalResult = {
|
|
387
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).decoder, transferResult: exports.TransferResult.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
387
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).decoder, transferResult: exports.TransferResult.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
388
388
|
encode: function (__typed__) {
|
|
389
389
|
return {
|
|
390
390
|
transferPreapprovalCid: damlTypes.ContractId(exports.TransferPreapproval).encode(__typed__.transferPreapprovalCid),
|
|
391
391
|
transferResult: exports.TransferResult.encode(__typed__.transferResult),
|
|
392
392
|
amuletPaid: damlTypes.Numeric(10).encode(__typed__.amuletPaid),
|
|
393
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
393
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
396
|
,
|
|
@@ -399,7 +399,7 @@ exports.AmuletRules_CreateTransferPreapprovalResult = {
|
|
|
399
399
|
|
|
400
400
|
|
|
401
401
|
exports.AmuletRules_CreateExternalPartySetupProposalResult = {
|
|
402
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({proposalCid: damlTypes.ContractId(exports.ExternalPartySetupProposal).decoder, user: damlTypes.Party.decoder, validator: damlTypes.Party.decoder, transferResult: exports.TransferResult.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
402
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({proposalCid: damlTypes.ContractId(exports.ExternalPartySetupProposal).decoder, user: damlTypes.Party.decoder, validator: damlTypes.Party.decoder, transferResult: exports.TransferResult.decoder, amuletPaid: damlTypes.Numeric(10).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
403
403
|
encode: function (__typed__) {
|
|
404
404
|
return {
|
|
405
405
|
proposalCid: damlTypes.ContractId(exports.ExternalPartySetupProposal).encode(__typed__.proposalCid),
|
|
@@ -407,7 +407,7 @@ exports.AmuletRules_CreateExternalPartySetupProposalResult = {
|
|
|
407
407
|
validator: damlTypes.Party.encode(__typed__.validator),
|
|
408
408
|
transferResult: exports.TransferResult.encode(__typed__.transferResult),
|
|
409
409
|
amuletPaid: damlTypes.Numeric(10).encode(__typed__.amuletPaid),
|
|
410
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
410
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
411
411
|
};
|
|
412
412
|
}
|
|
413
413
|
,
|
|
@@ -416,7 +416,7 @@ exports.AmuletRules_CreateExternalPartySetupProposalResult = {
|
|
|
416
416
|
|
|
417
417
|
|
|
418
418
|
exports.AmuletRules_BuyMemberTrafficResult = {
|
|
419
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({round: Splice_Types.Round.decoder, summary: exports.TransferSummary.decoder, amuletPaid: damlTypes.Numeric(10).decoder, purchasedTraffic: damlTypes.ContractId(Splice_DecentralizedSynchronizer.MemberTraffic).decoder, senderChangeAmulet: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder), meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
419
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({round: Splice_Types.Round.decoder, summary: exports.TransferSummary.decoder, amuletPaid: damlTypes.Numeric(10).decoder, purchasedTraffic: damlTypes.ContractId(Splice_DecentralizedSynchronizer.MemberTraffic).decoder, senderChangeAmulet: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder), meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
420
420
|
encode: function (__typed__) {
|
|
421
421
|
return {
|
|
422
422
|
round: Splice_Types.Round.encode(__typed__.round),
|
|
@@ -424,7 +424,7 @@ exports.AmuletRules_BuyMemberTrafficResult = {
|
|
|
424
424
|
amuletPaid: damlTypes.Numeric(10).encode(__typed__.amuletPaid),
|
|
425
425
|
purchasedTraffic: damlTypes.ContractId(Splice_DecentralizedSynchronizer.MemberTraffic).encode(__typed__.purchasedTraffic),
|
|
426
426
|
senderChangeAmulet: damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).encode(__typed__.senderChangeAmulet),
|
|
427
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
427
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
430
|
,
|
|
@@ -433,14 +433,14 @@ exports.AmuletRules_BuyMemberTrafficResult = {
|
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
exports.TransferResult = {
|
|
436
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({round: Splice_Types.Round.decoder, summary: exports.TransferSummary.decoder, createdAmulets: damlTypes.List(exports.CreatedAmulet).decoder, senderChangeAmulet: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder), meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
436
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({round: Splice_Types.Round.decoder, summary: exports.TransferSummary.decoder, createdAmulets: damlTypes.List(exports.CreatedAmulet).decoder, senderChangeAmulet: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder), meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
437
437
|
encode: function (__typed__) {
|
|
438
438
|
return {
|
|
439
439
|
round: Splice_Types.Round.encode(__typed__.round),
|
|
440
440
|
summary: exports.TransferSummary.encode(__typed__.summary),
|
|
441
441
|
createdAmulets: damlTypes.List(exports.CreatedAmulet).encode(__typed__.createdAmulets),
|
|
442
442
|
senderChangeAmulet: damlTypes.Optional(damlTypes.ContractId(Splice_Amulet.Amulet)).encode(__typed__.senderChangeAmulet),
|
|
443
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
443
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
444
444
|
};
|
|
445
445
|
}
|
|
446
446
|
,
|
|
@@ -464,14 +464,14 @@ exports.TransferOutput = {
|
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
exports.Transfer = {
|
|
467
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, inputs: damlTypes.List(exports.TransferInput).decoder, outputs: damlTypes.List(exports.TransferOutput).decoder, beneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
467
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, inputs: damlTypes.List(exports.TransferInput).decoder, outputs: damlTypes.List(exports.TransferOutput).decoder, beneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), }); }),
|
|
468
468
|
encode: function (__typed__) {
|
|
469
469
|
return {
|
|
470
470
|
sender: damlTypes.Party.encode(__typed__.sender),
|
|
471
471
|
provider: damlTypes.Party.encode(__typed__.provider),
|
|
472
472
|
inputs: damlTypes.List(exports.TransferInput).encode(__typed__.inputs),
|
|
473
473
|
outputs: damlTypes.List(exports.TransferOutput).encode(__typed__.outputs),
|
|
474
|
-
beneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.
|
|
474
|
+
beneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).encode(__typed__.beneficiaries),
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
,
|
|
@@ -1393,11 +1393,11 @@ exports.AmuletRules_DevNet_FeatureAppResult = {
|
|
|
1393
1393
|
|
|
1394
1394
|
|
|
1395
1395
|
exports.AmuletRules_DevNet_TapResult = {
|
|
1396
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: Splice_Amulet.AmuletCreateSummary(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
1396
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletSum: Splice_Amulet.AmuletCreateSummary(damlTypes.ContractId(Splice_Amulet.Amulet)).decoder, meta: jtv.Decoder.withDefault(null, damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).decoder), }); }),
|
|
1397
1397
|
encode: function (__typed__) {
|
|
1398
1398
|
return {
|
|
1399
1399
|
amuletSum: Splice_Amulet.AmuletCreateSummary(damlTypes.ContractId(Splice_Amulet.Amulet)).encode(__typed__.amuletSum),
|
|
1400
|
-
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.
|
|
1400
|
+
meta: damlTypes.Optional(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata).encode(__typed__.meta),
|
|
1401
1401
|
};
|
|
1402
1402
|
}
|
|
1403
1403
|
,
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
|
-
import * as pkg55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281 from '
|
|
10
|
+
import * as pkg55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281 from '../Api/Token/TransferInstructionV1';
|
|
11
11
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../DA/Internal/Template';
|
|
12
12
|
|
|
13
13
|
import * as Splice_Amulet from '../../Splice/Amulet/module';
|