@fairmint/open-captable-protocol-daml-js 0.2.160 → 0.2.161
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/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +8 -8
- package/lib/CantonPayments/Airdrop/Airdrop/module.js +12 -12
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +11 -11
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +16 -16
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.d.ts +10 -10
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +15 -15
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.d.ts +7 -7
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +12 -12
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +15 -15
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +29 -29
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.d.ts +1 -1
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +3 -3
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +4 -4
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +7 -7
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +4 -4
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +7 -7
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.d.ts +2 -2
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.js +3 -3
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.d.ts +4 -4
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.js +5 -5
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.d.ts +3 -3
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.js +4 -4
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.d.ts +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.d.ts +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.d.ts +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.d.ts +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.d.ts +1 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.d.ts +1 -1
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +3 -3
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +3 -3
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +2 -2
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +2 -2
- package/lib/Nft/Api/V1/Nft/module.d.ts +1 -1
- package/lib/Nft/Api/V1/Nft/module.js +1 -1
- package/lib/Nft/Reference/V1/NftAsset/module.d.ts +1 -1
- package/lib/Nft/Reference/V1/NftAsset/module.js +1 -1
- package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +1 -1
- package/lib/Nft/Reference/V1/NftRegistry/module.js +1 -1
- package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +1 -1
- package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +1 -1
- package/lib/Splice/Amulet/module.d.ts +109 -6
- package/lib/Splice/Amulet/module.js +188 -24
- package/lib/Splice/AmuletAllocation/module.d.ts +2 -2
- package/lib/Splice/AmuletAllocation/module.js +4 -4
- package/lib/Splice/AmuletConfig/module.d.ts +2 -1
- package/lib/Splice/AmuletConfig/module.js +3 -2
- package/lib/Splice/AmuletRules/module.d.ts +58 -5
- package/lib/Splice/AmuletRules/module.js +91 -16
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +2 -2
- package/lib/Splice/AmuletTransferInstruction/module.js +4 -4
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +1 -1
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +1 -1
- package/lib/Splice/Api/FeaturedAppRightV2/index.d.ts +1 -0
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +8 -0
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +85 -0
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +119 -0
- package/lib/Splice/Api/index.d.ts +1 -0
- package/lib/Splice/Api/index.js +2 -0
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +3 -3
- package/lib/Splice/DecentralizedSynchronizer/module.js +5 -5
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +3 -3
- package/lib/Splice/ExternalPartyAmuletRules/module.js +9 -9
- package/lib/Splice/Fees/module.d.ts +1 -1
- package/lib/Splice/Fees/module.js +1 -1
- package/lib/Splice/Issuance/module.d.ts +2 -0
- package/lib/Splice/Issuance/module.js +4 -2
- package/lib/Splice/Round/module.d.ts +2 -2
- package/lib/Splice/Round/module.js +10 -10
- package/lib/Splice/Schedule/module.d.ts +1 -1
- package/lib/Splice/Schedule/module.js +1 -1
- package/lib/Splice/ValidatorLicense/module.d.ts +1 -1
- package/lib/Splice/ValidatorLicense/module.js +7 -7
- package/lib/__bundled__/daml-prim-DA-Types/index.d.ts +2 -0
- package/lib/__bundled__/daml-prim-DA-Types/index.js +4 -0
- package/lib/__bundled__/daml-stdlib-DA-Set-Types/index.d.ts +2 -0
- package/lib/__bundled__/daml-stdlib-DA-Set-Types/index.js +4 -0
- package/lib/__bundled__/daml-stdlib-DA-Time-Types/index.d.ts +2 -0
- package/lib/__bundled__/daml-stdlib-DA-Time-Types/index.js +4 -0
- package/lib/__bundled__/ghc-stdlib-DA-Internal-Template/index.d.ts +2 -0
- package/lib/__bundled__/ghc-stdlib-DA-Internal-Template/index.js +4 -0
- package/lib/__bundled__/splice-api-featured-app-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-featured-app-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-featured-app-v2/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-featured-app-v2/index.js +4 -0
- package/lib/__bundled__/splice-api-token-allocation-instruction-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-allocation-instruction-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-token-allocation-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-allocation-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-token-burn-mint-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-burn-mint-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-token-holding-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-holding-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-token-metadata-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-metadata-v1/index.js +4 -0
- package/lib/__bundled__/splice-api-token-transfer-instruction-v1/index.d.ts +2 -0
- package/lib/__bundled__/splice-api-token-transfer-instruction-v1/index.js +4 -0
- package/package.json +6 -3
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -10,10 +10,10 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
13
|
+
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../__bundled__/daml-prim-DA-Types');
|
|
14
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
16
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
17
17
|
|
|
18
18
|
var CantonPayments_PaymentStream_Types_Approvals = require('../../../CantonPayments/PaymentStream/Types/Approvals/module');
|
|
19
19
|
var CantonPayments_PaymentStream_Types_LockFundsInput = require('../../../CantonPayments/PaymentStream/Types/LockFundsInput/module');
|
|
@@ -68,7 +68,7 @@ exports.PaymentStreamChangeProposal_Approve = {
|
|
|
68
68
|
exports.PaymentStreamChangeProposal = damlTypes.assembleTemplate(
|
|
69
69
|
{
|
|
70
70
|
templateId: '#CantonPayments:CantonPayments.PaymentStream.ActivePaymentStream:PaymentStreamChangeProposal',
|
|
71
|
-
templateIdWithPackageId: '
|
|
71
|
+
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.ActivePaymentStream:PaymentStreamChangeProposal',
|
|
72
72
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
73
73
|
keyEncode: function () { throw 'EncodeError'; },
|
|
74
74
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges.decoder, approvals: CantonPayments_PaymentStream_Types_Approvals.Approvals.decoder, }); }),
|
|
@@ -118,7 +118,7 @@ exports.PaymentStreamChangeProposal = damlTypes.assembleTemplate(
|
|
|
118
118
|
);
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['
|
|
121
|
+
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
|
@@ -178,12 +178,12 @@ exports.ActivePaymentStream_AddFunds = {
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
exports.ActivePaymentStream_Refund = {
|
|
181
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(
|
|
181
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, recipientFeaturedAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
|
|
182
182
|
encode: function (__typed__) {
|
|
183
183
|
return {
|
|
184
184
|
paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
185
|
-
recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(
|
|
186
|
-
recipientFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(
|
|
185
|
+
recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.recipientAmuletInputs),
|
|
186
|
+
recipientFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.recipientFeaturedAppRight),
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
189
|
,
|
|
@@ -192,13 +192,13 @@ exports.ActivePaymentStream_Refund = {
|
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
exports.ActivePaymentStream_Cancel = {
|
|
195
|
-
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), openMiningRoundCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(
|
|
195
|
+
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), openMiningRoundCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound)).decoder), }); }),
|
|
196
196
|
encode: function (__typed__) {
|
|
197
197
|
return {
|
|
198
198
|
actor: damlTypes.Party.encode(__typed__.actor),
|
|
199
199
|
disregardAvailablePaidPeriod: damlTypes.Bool.encode(__typed__.disregardAvailablePaidPeriod),
|
|
200
200
|
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
201
|
-
openMiningRoundCid: damlTypes.Optional(damlTypes.ContractId(
|
|
201
|
+
openMiningRoundCid: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound)).encode(__typed__.openMiningRoundCid),
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
,
|
|
@@ -221,13 +221,13 @@ exports.ActivePaymentStream_ProposeChanges = {
|
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
exports.ActivePaymentStream_ProcessPayment = {
|
|
224
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, skipProcessorPayment: damlTypes.Bool.decoder, activityMarkerFeaturedAppRightCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(
|
|
224
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, skipProcessorPayment: damlTypes.Bool.decoder, activityMarkerFeaturedAppRightCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
|
|
225
225
|
encode: function (__typed__) {
|
|
226
226
|
return {
|
|
227
227
|
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
|
|
228
228
|
paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
229
229
|
skipProcessorPayment: damlTypes.Bool.encode(__typed__.skipProcessorPayment),
|
|
230
|
-
activityMarkerFeaturedAppRightCid: damlTypes.Optional(damlTypes.ContractId(
|
|
230
|
+
activityMarkerFeaturedAppRightCid: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.activityMarkerFeaturedAppRightCid),
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
,
|
|
@@ -236,11 +236,11 @@ exports.ActivePaymentStream_ProcessPayment = {
|
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
exports.ActivePaymentStream_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(
|
|
239
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
|
|
240
240
|
encode: function (__typed__) {
|
|
241
241
|
return {
|
|
242
242
|
processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
|
|
243
|
-
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(
|
|
243
|
+
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
,
|
|
@@ -251,16 +251,16 @@ exports.ActivePaymentStream_ProcessFreeTrial = {
|
|
|
251
251
|
exports.ActivePaymentStream = damlTypes.assembleTemplate(
|
|
252
252
|
{
|
|
253
253
|
templateId: '#CantonPayments:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
|
|
254
|
-
templateIdWithPackageId: '
|
|
254
|
+
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
|
|
255
255
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
256
256
|
keyEncode: function () { throw 'EncodeError'; },
|
|
257
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, processedAndPaidUntil: damlTypes.Time.decoder, lockedAmuletCid: damlTypes.ContractId(
|
|
257
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, processedAndPaidUntil: damlTypes.Time.decoder, lockedAmuletCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet).decoder, stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.decoder, }); }),
|
|
258
258
|
encode: function (__typed__) {
|
|
259
259
|
return {
|
|
260
260
|
paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.encode(__typed__.paymentStream),
|
|
261
261
|
processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
|
|
262
262
|
processedAndPaidUntil: damlTypes.Time.encode(__typed__.processedAndPaidUntil),
|
|
263
|
-
lockedAmuletCid: damlTypes.ContractId(
|
|
263
|
+
lockedAmuletCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet).encode(__typed__.lockedAmuletCid),
|
|
264
264
|
stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.encode(__typed__.stats),
|
|
265
265
|
};
|
|
266
266
|
}
|
|
@@ -294,40 +294,40 @@ exports.ActivePaymentStream = damlTypes.assembleTemplate(
|
|
|
294
294
|
choiceName: 'ActivePaymentStream_Cancel',
|
|
295
295
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_Cancel.decoder; }),
|
|
296
296
|
argumentEncode: function (__typed__) { return exports.ActivePaymentStream_Cancel.encode(__typed__); },
|
|
297
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(
|
|
298
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(
|
|
297
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder; }),
|
|
298
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__); },
|
|
299
299
|
},
|
|
300
300
|
ActivePaymentStream_Refund: {
|
|
301
301
|
template: function () { return exports.ActivePaymentStream; },
|
|
302
302
|
choiceName: 'ActivePaymentStream_Refund',
|
|
303
303
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_Refund.decoder; }),
|
|
304
304
|
argumentEncode: function (__typed__) { return exports.ActivePaymentStream_Refund.encode(__typed__); },
|
|
305
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(
|
|
306
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(
|
|
305
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult, damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder; }),
|
|
306
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult, damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__); },
|
|
307
307
|
},
|
|
308
308
|
ActivePaymentStream_AddFunds: {
|
|
309
309
|
template: function () { return exports.ActivePaymentStream; },
|
|
310
310
|
choiceName: 'ActivePaymentStream_AddFunds',
|
|
311
311
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_AddFunds.decoder; }),
|
|
312
312
|
argumentEncode: function (__typed__) { return exports.ActivePaymentStream_AddFunds.encode(__typed__); },
|
|
313
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
314
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
313
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder; }),
|
|
314
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__); },
|
|
315
315
|
},
|
|
316
316
|
ActivePaymentStream_WithdrawFunds: {
|
|
317
317
|
template: function () { return exports.ActivePaymentStream; },
|
|
318
318
|
choiceName: 'ActivePaymentStream_WithdrawFunds',
|
|
319
319
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_WithdrawFunds.decoder; }),
|
|
320
320
|
argumentEncode: function (__typed__) { return exports.ActivePaymentStream_WithdrawFunds.encode(__typed__); },
|
|
321
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(
|
|
322
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(
|
|
321
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder; }),
|
|
322
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__); },
|
|
323
323
|
},
|
|
324
324
|
ActivePaymentStream_ArchiveInactivePaymentStream: {
|
|
325
325
|
template: function () { return exports.ActivePaymentStream; },
|
|
326
326
|
choiceName: 'ActivePaymentStream_ArchiveInactivePaymentStream',
|
|
327
327
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ArchiveInactivePaymentStream.decoder; }),
|
|
328
328
|
argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ArchiveInactivePaymentStream.encode(__typed__); },
|
|
329
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(
|
|
330
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(
|
|
329
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet).decoder; }),
|
|
330
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet).encode(__typed__); },
|
|
331
331
|
},
|
|
332
332
|
ActivePaymentStream_ChangeParty: {
|
|
333
333
|
template: function () { return exports.ActivePaymentStream; },
|
|
@@ -350,5 +350,5 @@ exports.ActivePaymentStream = damlTypes.assembleTemplate(
|
|
|
350
350
|
);
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
damlTypes.registerTemplate(exports.ActivePaymentStream, ['
|
|
353
|
+
damlTypes.registerTemplate(exports.ActivePaymentStream, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
354
354
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA
|
|
8
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
9
9
|
|
|
10
10
|
import * as CantonPayments_PaymentStream_ActivePaymentStream from '../../../CantonPayments/PaymentStream/ActivePaymentStream/module';
|
|
11
11
|
import * as CantonPayments_PaymentStream_ProposedPaymentStream from '../../../CantonPayments/PaymentStream/ProposedPaymentStream/module';
|
|
@@ -10,7 +10,7 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA
|
|
13
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
14
14
|
|
|
15
15
|
var CantonPayments_PaymentStream_ActivePaymentStream = require('../../../CantonPayments/PaymentStream/ActivePaymentStream/module');
|
|
16
16
|
var CantonPayments_PaymentStream_ProposedPaymentStream = require('../../../CantonPayments/PaymentStream/ProposedPaymentStream/module');
|
|
@@ -73,7 +73,7 @@ exports.PartyMigrationProposal_Approve = {
|
|
|
73
73
|
exports.PartyMigrationProposal = damlTypes.assembleTemplate(
|
|
74
74
|
{
|
|
75
75
|
templateId: '#CantonPayments:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal',
|
|
76
|
-
templateIdWithPackageId: '
|
|
76
|
+
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal',
|
|
77
77
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
78
78
|
keyEncode: function () { throw 'EncodeError'; },
|
|
79
79
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole.decoder, oldParty: damlTypes.Party.decoder, newParty: damlTypes.Party.decoder, oldPartyApproved: damlTypes.Bool.decoder, newPartyApproved: damlTypes.Bool.decoder, }); }),
|
|
@@ -132,5 +132,5 @@ exports.PartyMigrationProposal = damlTypes.assembleTemplate(
|
|
|
132
132
|
);
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['
|
|
135
|
+
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
136
136
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
8
|
+
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../../__bundled__/daml-prim-DA-Types';
|
|
9
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
10
|
+
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
|
|
11
11
|
|
|
12
12
|
import * as CantonPayments_PaymentStream_ActivePaymentStream from '../../../CantonPayments/PaymentStream/ActivePaymentStream/module';
|
|
13
13
|
import * as CantonPayments_PaymentStream_ProposedPaymentStream from '../../../CantonPayments/PaymentStream/ProposedPaymentStream/module';
|
|
@@ -33,7 +33,7 @@ export declare type PaymentStreamFactory = {
|
|
|
33
33
|
|
|
34
34
|
export declare interface PaymentStreamFactoryInterface {
|
|
35
35
|
Archive: damlTypes.Choice<PaymentStreamFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PaymentStreamFactory, undefined>>;
|
|
36
|
-
PaymentStreamFactory_CreatePaymentStreamProposal: damlTypes.Choice<PaymentStreamFactory, PaymentStreamFactory_CreatePaymentStreamProposal, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either<damlTypes.ContractId<CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream>, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, damlTypes.Optional<damlTypes.ContractId<
|
|
36
|
+
PaymentStreamFactory_CreatePaymentStreamProposal: damlTypes.Choice<PaymentStreamFactory, PaymentStreamFactory_CreatePaymentStreamProposal, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either<damlTypes.ContractId<CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream>, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>>>>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PaymentStreamFactory, undefined>>;
|
|
37
37
|
}
|
|
38
38
|
export declare const PaymentStreamFactory:
|
|
39
39
|
damlTypes.Template<PaymentStreamFactory, undefined, '#CantonPayments:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory'> &
|
|
@@ -10,9 +10,9 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
13
|
+
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../__bundled__/daml-prim-DA-Types');
|
|
14
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
16
16
|
|
|
17
17
|
var CantonPayments_PaymentStream_ActivePaymentStream = require('../../../CantonPayments/PaymentStream/ActivePaymentStream/module');
|
|
18
18
|
var CantonPayments_PaymentStream_ProposedPaymentStream = require('../../../CantonPayments/PaymentStream/ProposedPaymentStream/module');
|
|
@@ -38,7 +38,7 @@ exports.PaymentStreamFactory_CreatePaymentStreamProposal = {
|
|
|
38
38
|
exports.PaymentStreamFactory = damlTypes.assembleTemplate(
|
|
39
39
|
{
|
|
40
40
|
templateId: '#CantonPayments:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory',
|
|
41
|
-
templateIdWithPackageId: '
|
|
41
|
+
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory',
|
|
42
42
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
43
43
|
keyEncode: function () { throw 'EncodeError'; },
|
|
44
44
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, }); }),
|
|
@@ -61,13 +61,13 @@ exports.PaymentStreamFactory = damlTypes.assembleTemplate(
|
|
|
61
61
|
choiceName: 'PaymentStreamFactory_CreatePaymentStreamProposal',
|
|
62
62
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.PaymentStreamFactory_CreatePaymentStreamProposal.decoder; }),
|
|
63
63
|
argumentEncode: function (__typed__) { return exports.PaymentStreamFactory_CreatePaymentStreamProposal.encode(__typed__); },
|
|
64
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either(damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream), pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
65
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either(damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream), pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
64
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either(damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream), pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)))).decoder; }),
|
|
65
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either(damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream), pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)))).encode(__typed__); },
|
|
66
66
|
},
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
);
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['
|
|
72
|
+
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
73
73
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
8
|
+
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../../__bundled__/daml-prim-DA-Types';
|
|
9
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
10
|
+
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
|
|
11
11
|
|
|
12
12
|
import * as CantonPayments_PaymentStream_ActivePaymentStream from '../../../CantonPayments/PaymentStream/ActivePaymentStream/module';
|
|
13
13
|
import * as CantonPayments_PaymentStream_Types_Approvals from '../../../CantonPayments/PaymentStream/Types/Approvals/module';
|
|
@@ -82,7 +82,7 @@ export declare interface ProposedPaymentStreamInterface {
|
|
|
82
82
|
Archive: damlTypes.Choice<ProposedPaymentStream, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
83
83
|
ProposedPaymentStream_ChangeParty: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_ChangeParty, damlTypes.ContractId<ProposedPaymentStream>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
84
84
|
ProposedPaymentStream_Approve: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_Approve, damlTypes.ContractId<ProposedPaymentStream>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
85
|
-
ProposedPaymentStream_StartPaymentStream: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_StartPaymentStream, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, damlTypes.Optional<damlTypes.ContractId<
|
|
85
|
+
ProposedPaymentStream_StartPaymentStream: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_StartPaymentStream, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>>>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
86
86
|
ProposedPaymentStream_EditPaymentStreamProposal: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_EditPaymentStreamProposal, damlTypes.ContractId<ProposedPaymentStream>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
87
87
|
ProposedPaymentStream_Withdraw: damlTypes.Choice<ProposedPaymentStream, ProposedPaymentStream_Withdraw, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ProposedPaymentStream, undefined>>;
|
|
88
88
|
}
|
|
@@ -10,9 +10,9 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
13
|
+
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../__bundled__/daml-prim-DA-Types');
|
|
14
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
16
16
|
|
|
17
17
|
var CantonPayments_PaymentStream_ActivePaymentStream = require('../../../CantonPayments/PaymentStream/ActivePaymentStream/module');
|
|
18
18
|
var CantonPayments_PaymentStream_Types_Approvals = require('../../../CantonPayments/PaymentStream/Types/Approvals/module');
|
|
@@ -91,7 +91,7 @@ exports.ProposedPaymentStream_Approve = {
|
|
|
91
91
|
exports.ProposedPaymentStream = damlTypes.assembleTemplate(
|
|
92
92
|
{
|
|
93
93
|
templateId: '#CantonPayments:CantonPayments.PaymentStream.ProposedPaymentStream:ProposedPaymentStream',
|
|
94
|
-
templateIdWithPackageId: '
|
|
94
|
+
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.ProposedPaymentStream:ProposedPaymentStream',
|
|
95
95
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
96
96
|
keyEncode: function () { throw 'EncodeError'; },
|
|
97
97
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStreamProposal: CantonPayments_PaymentStream_Types_PaymentStreamProposal.PaymentStreamProposal.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, approvals: CantonPayments_PaymentStream_Types_Approvals.Approvals.decoder, }); }),
|
|
@@ -132,8 +132,8 @@ exports.ProposedPaymentStream = damlTypes.assembleTemplate(
|
|
|
132
132
|
choiceName: 'ProposedPaymentStream_StartPaymentStream',
|
|
133
133
|
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ProposedPaymentStream_StartPaymentStream.decoder; }),
|
|
134
134
|
argumentEncode: function (__typed__) { return exports.ProposedPaymentStream_StartPaymentStream.encode(__typed__); },
|
|
135
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
136
|
-
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(
|
|
135
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder; }),
|
|
136
|
+
resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__); },
|
|
137
137
|
},
|
|
138
138
|
ProposedPaymentStream_EditPaymentStreamProposal: {
|
|
139
139
|
template: function () { return exports.ProposedPaymentStream; },
|
|
@@ -156,5 +156,5 @@ exports.ProposedPaymentStream = damlTypes.assembleTemplate(
|
|
|
156
156
|
);
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['
|
|
159
|
+
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
160
160
|
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as
|
|
8
|
+
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../../..';
|
|
9
9
|
|
|
10
10
|
import * as CantonPayments_PaymentStream_Types_PaymentContext from '../../../../CantonPayments/PaymentStream/Types/PaymentContext/module';
|
|
11
11
|
|
|
12
12
|
export declare type LockFundsInput = {
|
|
13
|
-
amuletInputs: damlTypes.ContractId<
|
|
13
|
+
amuletInputs: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[];
|
|
14
14
|
amountToLock: damlTypes.Numeric;
|
|
15
15
|
paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext;
|
|
16
16
|
};
|
|
@@ -10,16 +10,16 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../../..');
|
|
14
14
|
|
|
15
15
|
var CantonPayments_PaymentStream_Types_PaymentContext = require('../../../../CantonPayments/PaymentStream/Types/PaymentContext/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.LockFundsInput = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(
|
|
19
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, amountToLock: damlTypes.Numeric(10).decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
|
|
20
20
|
encode: function (__typed__) {
|
|
21
21
|
return {
|
|
22
|
-
amuletInputs: damlTypes.List(damlTypes.ContractId(
|
|
22
|
+
amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.amuletInputs),
|
|
23
23
|
amountToLock: damlTypes.Numeric(10).encode(__typed__.amountToLock),
|
|
24
24
|
paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
|
|
25
25
|
};
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as
|
|
8
|
+
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../../..';
|
|
9
9
|
|
|
10
10
|
export declare type PaymentContext = {
|
|
11
|
-
amuletRulesCid: damlTypes.ContractId<
|
|
12
|
-
openMiningRoundCid: damlTypes.ContractId<
|
|
13
|
-
featuredAppRight: damlTypes.Optional<damlTypes.ContractId<
|
|
11
|
+
amuletRulesCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>;
|
|
12
|
+
openMiningRoundCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Round.OpenMiningRound>;
|
|
13
|
+
featuredAppRight: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.FeaturedAppRight>>;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export declare const PaymentContext:
|
|
@@ -10,16 +10,16 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../../..');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
exports.PaymentContext = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletRulesCid: damlTypes.ContractId(
|
|
17
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).decoder, openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
|
|
18
18
|
encode: function (__typed__) {
|
|
19
19
|
return {
|
|
20
|
-
amuletRulesCid: damlTypes.ContractId(
|
|
21
|
-
openMiningRoundCid: damlTypes.ContractId(
|
|
22
|
-
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(
|
|
20
|
+
amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).encode(__typed__.amuletRulesCid),
|
|
21
|
+
openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
22
|
+
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
,
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
+
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../../..';
|
|
10
10
|
|
|
11
11
|
export declare type ProcessPaymentResult<t> = {
|
|
12
12
|
paymentStreamCid: damlTypes.ContractId<t>;
|
|
13
|
-
transferResult:
|
|
13
|
+
transferResult: pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.TransferResult;
|
|
14
14
|
activityMarkerCid: damlTypes.Optional<damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppActivityMarker>>;
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -10,16 +10,16 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
+
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../../..');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
exports.ProcessPaymentResult = function (t) { return ({
|
|
18
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStreamCid: damlTypes.ContractId(t).decoder, transferResult:
|
|
18
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStreamCid: damlTypes.ContractId(t).decoder, transferResult: pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.decoder, activityMarkerCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).decoder), }); }),
|
|
19
19
|
encode: function (__typed__) {
|
|
20
20
|
return {
|
|
21
21
|
paymentStreamCid: damlTypes.ContractId(t).encode(__typed__.paymentStreamCid),
|
|
22
|
-
transferResult:
|
|
22
|
+
transferResult: pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.encode(__typed__.transferResult),
|
|
23
23
|
activityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).encode(__typed__.activityMarkerCid),
|
|
24
24
|
};
|
|
25
25
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../
|
|
9
|
-
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA
|
|
8
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
+
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../__bundled__/daml-stdlib-DA-Time-Types';
|
|
10
10
|
|
|
11
11
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
|
|
12
12
|
|
|
@@ -10,8 +10,8 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../
|
|
14
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA
|
|
13
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
15
15
|
|
|
16
16
|
var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
|
|
17
17
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../
|
|
9
|
-
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA
|
|
8
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
+
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../__bundled__/daml-stdlib-DA-Time-Types';
|
|
10
10
|
|
|
11
11
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
|
|
12
12
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
|
|
@@ -10,8 +10,8 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../
|
|
14
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA
|
|
13
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
15
15
|
|
|
16
16
|
var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
|
|
17
17
|
var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../
|
|
9
|
-
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA
|
|
8
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
+
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../__bundled__/daml-stdlib-DA-Time-Types';
|
|
10
10
|
|
|
11
11
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
|
|
12
12
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
|
|
@@ -10,8 +10,8 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../
|
|
14
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA
|
|
13
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
15
15
|
|
|
16
16
|
var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
|
|
17
17
|
var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
6
6
|
import * as damlTypes from '@daml/types';
|
|
7
7
|
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../
|
|
9
|
-
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA
|
|
8
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
+
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../__bundled__/daml-stdlib-DA-Time-Types';
|
|
10
10
|
|
|
11
11
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
|
|
12
12
|
import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
|
|
@@ -10,8 +10,8 @@ var jtv = require('@mojotech/json-type-validation');
|
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
12
|
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../
|
|
14
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA
|
|
13
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
15
15
|
|
|
16
16
|
var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
|
|
17
17
|
var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
|