@fairmint/open-captable-protocol-daml-js 0.2.159 → 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/generated/ocp-factory-contract-id.json +1 -1
- 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,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 pkg275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520 = require('
|
|
14
|
-
var pkg55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281 = require('
|
|
15
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../DA
|
|
13
|
+
var pkg275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520 = require('../../__bundled__/splice-api-token-allocation-instruction-v1');
|
|
14
|
+
var pkg55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281 = require('../../__bundled__/splice-api-token-transfer-instruction-v1');
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
16
16
|
|
|
17
17
|
var Splice_AmuletRules = require('../../Splice/AmuletRules/module');
|
|
18
18
|
|
|
@@ -134,7 +134,7 @@ exports.TransferCommand_Send = {
|
|
|
134
134
|
exports.TransferCommand = damlTypes.assembleTemplate(
|
|
135
135
|
{
|
|
136
136
|
templateId: '#splice-amulet:Splice.ExternalPartyAmuletRules:TransferCommand',
|
|
137
|
-
templateIdWithPackageId: '
|
|
137
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ExternalPartyAmuletRules:TransferCommand',
|
|
138
138
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
139
139
|
keyEncode: function () { throw 'EncodeError'; },
|
|
140
140
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, delegate: damlTypes.Party.decoder, amount: damlTypes.Numeric(10).decoder, expiresAt: damlTypes.Time.decoder, nonce: damlTypes.Int.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
@@ -188,14 +188,14 @@ exports.TransferCommand = damlTypes.assembleTemplate(
|
|
|
188
188
|
);
|
|
189
189
|
|
|
190
190
|
|
|
191
|
-
damlTypes.registerTemplate(exports.TransferCommand, ['
|
|
191
|
+
damlTypes.registerTemplate(exports.TransferCommand, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
exports.TransferCommandCounter = damlTypes.assembleTemplate(
|
|
196
196
|
{
|
|
197
197
|
templateId: '#splice-amulet:Splice.ExternalPartyAmuletRules:TransferCommandCounter',
|
|
198
|
-
templateIdWithPackageId: '
|
|
198
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ExternalPartyAmuletRules:TransferCommandCounter',
|
|
199
199
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
200
200
|
keyEncode: function () { throw 'EncodeError'; },
|
|
201
201
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, nextNonce: damlTypes.Int.decoder, }); }),
|
|
@@ -220,7 +220,7 @@ exports.TransferCommandCounter = damlTypes.assembleTemplate(
|
|
|
220
220
|
);
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
damlTypes.registerTemplate(exports.TransferCommandCounter, ['
|
|
223
|
+
damlTypes.registerTemplate(exports.TransferCommandCounter, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -258,7 +258,7 @@ exports.ExternalPartyAmuletRules_CreateTransferCommand = {
|
|
|
258
258
|
exports.ExternalPartyAmuletRules = damlTypes.assembleTemplate(
|
|
259
259
|
{
|
|
260
260
|
templateId: '#splice-amulet:Splice.ExternalPartyAmuletRules:ExternalPartyAmuletRules',
|
|
261
|
-
templateIdWithPackageId: '
|
|
261
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ExternalPartyAmuletRules:ExternalPartyAmuletRules',
|
|
262
262
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
263
263
|
keyEncode: function () { throw 'EncodeError'; },
|
|
264
264
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, }); }),
|
|
@@ -291,5 +291,5 @@ exports.ExternalPartyAmuletRules = damlTypes.assembleTemplate(
|
|
|
291
291
|
);
|
|
292
292
|
|
|
293
293
|
|
|
294
|
-
damlTypes.registerTemplate(exports.ExternalPartyAmuletRules, ['
|
|
294
|
+
damlTypes.registerTemplate(exports.ExternalPartyAmuletRules, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
295
295
|
|
|
@@ -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 pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../DA
|
|
8
|
+
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../__bundled__/daml-prim-DA-Types';
|
|
9
9
|
|
|
10
10
|
import * as Splice_Types from '../../Splice/Types/module';
|
|
11
11
|
|
|
@@ -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 pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../DA
|
|
13
|
+
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../__bundled__/daml-prim-DA-Types');
|
|
14
14
|
|
|
15
15
|
var Splice_Types = require('../../Splice/Types/module');
|
|
16
16
|
|
|
@@ -26,6 +26,7 @@ export declare type IssuingRoundParameters = {
|
|
|
26
26
|
unclaimedValidatorRewards: damlTypes.Numeric;
|
|
27
27
|
unclaimedSvRewards: damlTypes.Numeric;
|
|
28
28
|
issuancePerValidatorFaucetCoupon: damlTypes.Numeric;
|
|
29
|
+
optAmuletsToIssueToDevelopmentFund: damlTypes.Optional<damlTypes.Numeric>;
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
export declare const IssuingRoundParameters:
|
|
@@ -56,6 +57,7 @@ export declare type IssuanceConfig = {
|
|
|
56
57
|
featuredAppRewardCap: damlTypes.Numeric;
|
|
57
58
|
unfeaturedAppRewardCap: damlTypes.Numeric;
|
|
58
59
|
optValidatorFaucetCap: damlTypes.Optional<damlTypes.Numeric>;
|
|
60
|
+
optDevelopmentFundPercentage: damlTypes.Optional<damlTypes.Numeric>;
|
|
59
61
|
};
|
|
60
62
|
|
|
61
63
|
export declare const IssuanceConfig:
|
|
@@ -26,7 +26,7 @@ exports.IssuanceTranche = {
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
exports.IssuingRoundParameters = {
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, unclaimedAppRewards: damlTypes.Numeric(10).decoder, unclaimedValidatorRewards: damlTypes.Numeric(10).decoder, unclaimedSvRewards: damlTypes.Numeric(10).decoder, issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).decoder, }); }),
|
|
29
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, unclaimedAppRewards: damlTypes.Numeric(10).decoder, unclaimedValidatorRewards: damlTypes.Numeric(10).decoder, unclaimedSvRewards: damlTypes.Numeric(10).decoder, issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).decoder, optAmuletsToIssueToDevelopmentFund: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
30
30
|
encode: function (__typed__) {
|
|
31
31
|
return {
|
|
32
32
|
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorRewardCoupon),
|
|
@@ -37,6 +37,7 @@ exports.IssuingRoundParameters = {
|
|
|
37
37
|
unclaimedValidatorRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedValidatorRewards),
|
|
38
38
|
unclaimedSvRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedSvRewards),
|
|
39
39
|
issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorFaucetCoupon),
|
|
40
|
+
optAmuletsToIssueToDevelopmentFund: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optAmuletsToIssueToDevelopmentFund),
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
,
|
|
@@ -61,7 +62,7 @@ exports.OpenMiningRoundSummary = {
|
|
|
61
62
|
|
|
62
63
|
|
|
63
64
|
exports.IssuanceConfig = {
|
|
64
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletToIssuePerYear: damlTypes.Numeric(10).decoder, validatorRewardPercentage: damlTypes.Numeric(10).decoder, appRewardPercentage: damlTypes.Numeric(10).decoder, validatorRewardCap: damlTypes.Numeric(10).decoder, featuredAppRewardCap: damlTypes.Numeric(10).decoder, unfeaturedAppRewardCap: damlTypes.Numeric(10).decoder, optValidatorFaucetCap: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
65
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletToIssuePerYear: damlTypes.Numeric(10).decoder, validatorRewardPercentage: damlTypes.Numeric(10).decoder, appRewardPercentage: damlTypes.Numeric(10).decoder, validatorRewardCap: damlTypes.Numeric(10).decoder, featuredAppRewardCap: damlTypes.Numeric(10).decoder, unfeaturedAppRewardCap: damlTypes.Numeric(10).decoder, optValidatorFaucetCap: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), optDevelopmentFundPercentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
65
66
|
encode: function (__typed__) {
|
|
66
67
|
return {
|
|
67
68
|
amuletToIssuePerYear: damlTypes.Numeric(10).encode(__typed__.amuletToIssuePerYear),
|
|
@@ -71,6 +72,7 @@ exports.IssuanceConfig = {
|
|
|
71
72
|
featuredAppRewardCap: damlTypes.Numeric(10).encode(__typed__.featuredAppRewardCap),
|
|
72
73
|
unfeaturedAppRewardCap: damlTypes.Numeric(10).encode(__typed__.unfeaturedAppRewardCap),
|
|
73
74
|
optValidatorFaucetCap: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optValidatorFaucetCap),
|
|
75
|
+
optDevelopmentFundPercentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optDevelopmentFundPercentage),
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
,
|
|
@@ -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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../DA
|
|
9
|
-
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../DA
|
|
8
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
9
|
+
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../__bundled__/daml-stdlib-DA-Time-Types';
|
|
10
10
|
|
|
11
11
|
import * as Splice_AmuletConfig from '../../Splice/AmuletConfig/module';
|
|
12
12
|
import * as Splice_Issuance from '../../Splice/Issuance/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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../DA
|
|
14
|
-
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../DA
|
|
13
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
14
|
+
var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../__bundled__/daml-stdlib-DA-Time-Types');
|
|
15
15
|
|
|
16
16
|
var Splice_AmuletConfig = require('../../Splice/AmuletConfig/module');
|
|
17
17
|
var Splice_Issuance = require('../../Splice/Issuance/module');
|
|
@@ -21,7 +21,7 @@ var Splice_Types = require('../../Splice/Types/module');
|
|
|
21
21
|
exports.ClosedMiningRound = damlTypes.assembleTemplate(
|
|
22
22
|
{
|
|
23
23
|
templateId: '#splice-amulet:Splice.Round:ClosedMiningRound',
|
|
24
|
-
templateIdWithPackageId: '
|
|
24
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:ClosedMiningRound',
|
|
25
25
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
26
26
|
keyEncode: function () { throw 'EncodeError'; },
|
|
27
27
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
@@ -50,14 +50,14 @@ exports.ClosedMiningRound = damlTypes.assembleTemplate(
|
|
|
50
50
|
);
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
damlTypes.registerTemplate(exports.ClosedMiningRound, ['
|
|
53
|
+
damlTypes.registerTemplate(exports.ClosedMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
exports.IssuingMiningRound = damlTypes.assembleTemplate(
|
|
58
58
|
{
|
|
59
59
|
templateId: '#splice-amulet:Splice.Round:IssuingMiningRound',
|
|
60
|
-
templateIdWithPackageId: '
|
|
60
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:IssuingMiningRound',
|
|
61
61
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
62
62
|
keyEncode: function () { throw 'EncodeError'; },
|
|
63
63
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, opensAt: damlTypes.Time.decoder, targetClosesAt: damlTypes.Time.decoder, optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
@@ -88,14 +88,14 @@ exports.IssuingMiningRound = damlTypes.assembleTemplate(
|
|
|
88
88
|
);
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
damlTypes.registerTemplate(exports.IssuingMiningRound, ['
|
|
91
|
+
damlTypes.registerTemplate(exports.IssuingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
exports.SummarizingMiningRound = damlTypes.assembleTemplate(
|
|
96
96
|
{
|
|
97
97
|
templateId: '#splice-amulet:Splice.Round:SummarizingMiningRound',
|
|
98
|
-
templateIdWithPackageId: '
|
|
98
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:SummarizingMiningRound',
|
|
99
99
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
100
100
|
keyEncode: function () { throw 'EncodeError'; },
|
|
101
101
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, amuletPrice: damlTypes.Numeric(10).decoder, issuanceConfig: Splice_Issuance.IssuanceConfig.decoder, tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }); }),
|
|
@@ -122,7 +122,7 @@ exports.SummarizingMiningRound = damlTypes.assembleTemplate(
|
|
|
122
122
|
);
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
damlTypes.registerTemplate(exports.SummarizingMiningRound, ['
|
|
125
|
+
damlTypes.registerTemplate(exports.SummarizingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
@@ -141,7 +141,7 @@ exports.OpenMiningRound_Fetch = {
|
|
|
141
141
|
exports.OpenMiningRound = damlTypes.assembleTemplate(
|
|
142
142
|
{
|
|
143
143
|
templateId: '#splice-amulet:Splice.Round:OpenMiningRound',
|
|
144
|
-
templateIdWithPackageId: '
|
|
144
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:OpenMiningRound',
|
|
145
145
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
146
146
|
keyEncode: function () { throw 'EncodeError'; },
|
|
147
147
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, amuletPrice: damlTypes.Numeric(10).decoder, opensAt: damlTypes.Time.decoder, targetClosesAt: damlTypes.Time.decoder, issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, transferConfigUsd: Splice_AmuletConfig.TransferConfig(Splice_AmuletConfig.USD).decoder, issuanceConfig: Splice_Issuance.IssuanceConfig.decoder, tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }); }),
|
|
@@ -180,5 +180,5 @@ exports.OpenMiningRound = damlTypes.assembleTemplate(
|
|
|
180
180
|
);
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
damlTypes.registerTemplate(exports.OpenMiningRound, ['
|
|
183
|
+
damlTypes.registerTemplate(exports.OpenMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
184
184
|
|
|
@@ -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 pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../DA
|
|
8
|
+
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../__bundled__/daml-prim-DA-Types';
|
|
9
9
|
|
|
10
10
|
export declare type Schedule<t, a> = {
|
|
11
11
|
initialValue: a;
|
|
@@ -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 pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../DA
|
|
13
|
+
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../__bundled__/daml-prim-DA-Types');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
exports.Schedule = function (t, a) { return ({
|
|
@@ -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 Splice_Round from '../../Splice/Round/module';
|
|
11
11
|
import * as Splice_Types from '../../Splice/Types/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 Splice_Round = require('../../Splice/Round/module');
|
|
16
16
|
var Splice_Types = require('../../Splice/Types/module');
|
|
@@ -31,7 +31,7 @@ exports.ValidatorLivenessActivityRecord_DsoExpire = {
|
|
|
31
31
|
exports.ValidatorLivenessActivityRecord = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
33
|
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorLivenessActivityRecord',
|
|
34
|
-
templateIdWithPackageId: '
|
|
34
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorLivenessActivityRecord',
|
|
35
35
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
36
36
|
keyEncode: function () { throw 'EncodeError'; },
|
|
37
37
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, validator: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, }); }),
|
|
@@ -64,7 +64,7 @@ exports.ValidatorLivenessActivityRecord = damlTypes.assembleTemplate(
|
|
|
64
64
|
);
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
damlTypes.registerTemplate(exports.ValidatorLivenessActivityRecord, ['
|
|
67
|
+
damlTypes.registerTemplate(exports.ValidatorLivenessActivityRecord, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
@@ -83,7 +83,7 @@ exports.ValidatorFaucetCoupon_DsoExpire = {
|
|
|
83
83
|
exports.ValidatorFaucetCoupon = damlTypes.assembleTemplate(
|
|
84
84
|
{
|
|
85
85
|
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorFaucetCoupon',
|
|
86
|
-
templateIdWithPackageId: '
|
|
86
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorFaucetCoupon',
|
|
87
87
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
88
88
|
keyEncode: function () { throw 'EncodeError'; },
|
|
89
89
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, validator: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, }); }),
|
|
@@ -116,7 +116,7 @@ exports.ValidatorFaucetCoupon = damlTypes.assembleTemplate(
|
|
|
116
116
|
);
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
damlTypes.registerTemplate(exports.ValidatorFaucetCoupon, ['
|
|
119
|
+
damlTypes.registerTemplate(exports.ValidatorFaucetCoupon, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -195,7 +195,7 @@ exports.ValidatorLicense_ReceiveFaucetCoupon = {
|
|
|
195
195
|
exports.ValidatorLicense = damlTypes.assembleTemplate(
|
|
196
196
|
{
|
|
197
197
|
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorLicense',
|
|
198
|
-
templateIdWithPackageId: '
|
|
198
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorLicense',
|
|
199
199
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
200
200
|
keyEncode: function () { throw 'EncodeError'; },
|
|
201
201
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({validator: damlTypes.Party.decoder, sponsor: damlTypes.Party.decoder, dso: damlTypes.Party.decoder, faucetState: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.FaucetState).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.ValidatorLicenseMetadata).decoder), lastActiveAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
|
|
@@ -271,7 +271,7 @@ exports.ValidatorLicense = damlTypes.assembleTemplate(
|
|
|
271
271
|
);
|
|
272
272
|
|
|
273
273
|
|
|
274
|
-
damlTypes.registerTemplate(exports.ValidatorLicense, ['
|
|
274
|
+
damlTypes.registerTemplate(exports.ValidatorLicense, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/open-captable-protocol-daml-js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.161",
|
|
4
4
|
"description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"daml",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
],
|
|
74
74
|
"scripts": {
|
|
75
75
|
"backup-dar": "tsx scripts/backup-dar.ts",
|
|
76
|
-
"build": "npm run check:nft-core-invariants && tsx scripts/codegen/generate-captable.ts &&
|
|
76
|
+
"build": "npm run check:nft-core-invariants && tsx scripts/codegen/generate-captable.ts && PATH=\"$HOME/.dpm/bin:$PATH\" dpm build --all",
|
|
77
77
|
"build:npm-runtime-lib": "tsc -p tsconfig.npm-runtime.json",
|
|
78
78
|
"build:ts": "tsc",
|
|
79
79
|
"check:nft-core-invariants": "tsx scripts/check-nft-core-invariants.ts",
|
|
@@ -95,15 +95,18 @@
|
|
|
95
95
|
"package:prep": "npm run codegen && npm run update-version && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts && npm run build:npm-runtime-lib",
|
|
96
96
|
"package:publish": "npm run package:manifest && npm publish",
|
|
97
97
|
"prepare-release": "tsx scripts/prepare-release.ts",
|
|
98
|
+
"remove-participant-dar": "tsx scripts/remove-participant-dar.ts",
|
|
98
99
|
"test": "npm run check:nft-core-invariants && cd Test && PATH=\"$HOME/.dpm/bin:$PATH\" dpm test --show-coverage --color --coverage-ignore-choice splice-amulet:.*",
|
|
99
100
|
"test:imports": "tsx scripts/test-imports.ts",
|
|
100
101
|
"test:nft-core-invariants": "npm run check:nft-core-invariants",
|
|
101
102
|
"update-version": "tsx scripts/update-generated-package.ts",
|
|
102
103
|
"upgrade-package": "tsx scripts/upgrade-package.ts",
|
|
103
104
|
"upload-dar": "tsx scripts/upload-dar.ts",
|
|
105
|
+
"verify:canton-payments-splice-amulet": "tsx scripts/verify-canton-payments-splice-amulet.ts",
|
|
104
106
|
"verify-dars": "tsx scripts/verify-dars.ts",
|
|
105
107
|
"verify-merged-lib": "tsx scripts/verify-merged-lib-runtime.ts",
|
|
106
|
-
"verify-package": "tsx scripts/verify-package-imports.ts && npm run verify-merged-lib && npm run test:imports"
|
|
108
|
+
"verify-package": "tsx scripts/verify-package-imports.ts && npm run verify-merged-lib && npm run test:imports",
|
|
109
|
+
"vet-package-allow-incompatible-upgrade": "tsx scripts/vet-package-allow-incompatible-upgrade.ts"
|
|
107
110
|
},
|
|
108
111
|
"dependencies": {
|
|
109
112
|
"@daml/ledger": "2.10.4",
|
|
Binary file
|