@fairmint/open-captable-protocol-daml-js 0.2.101 → 0.2.103

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.
@@ -82,7 +82,7 @@ exports.Airdrop_UpdateConfig = {
82
82
  exports.Airdrop = damlTypes.assembleTemplate(
83
83
  {
84
84
  templateId: '#CantonPayments:CantonPayments.Airdrop.Airdrop:Airdrop',
85
- templateIdWithPackageId: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.Airdrop.Airdrop:Airdrop',
85
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a:CantonPayments.Airdrop.Airdrop:Airdrop',
86
86
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
87
87
  keyEncode: function () { throw 'EncodeError'; },
88
88
  decoder: damlTypes.lazyMemo(function () { return jtv.object({config: exports.AirdropConfig.decoder, joinedParties: damlTypes.List(damlTypes.Party).decoder, observers: damlTypes.List(damlTypes.Party).decoder, }); }),
@@ -147,7 +147,7 @@ exports.Airdrop = damlTypes.assembleTemplate(
147
147
  );
148
148
 
149
149
 
150
- damlTypes.registerTemplate(exports.Airdrop, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
150
+ damlTypes.registerTemplate(exports.Airdrop, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
151
151
 
152
152
 
153
153
 
@@ -20,6 +20,7 @@ export declare type Factory_ExecuteBatchTransfers = {
20
20
  lockedAmuletCid: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.LockedAmulet>>;
21
21
  optMergeAmuletInputs: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[][]>;
22
22
  optCreateFeaturedMarker: damlTypes.Optional<boolean>;
23
+ optAmuletRulesCidOverride: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.AmuletRules>>;
23
24
  };
24
25
 
25
26
  export declare const Factory_ExecuteBatchTransfers:
@@ -18,7 +18,7 @@ var CantonPayments_Airdrop_PersonalAirdrop = require('../../../CantonPayments/Ai
18
18
 
19
19
 
20
20
  exports.Factory_ExecuteBatchTransfers = {
21
- decoder: damlTypes.lazyMemo(function () { return jtv.object({personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).decoder, amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.OpenMiningRound).decoder, amount: damlTypes.Numeric(10).decoder, numberOfTransfers: damlTypes.Int.decoder, lockedAmuletCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet)).decoder), optMergeAmuletInputs: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)))).decoder), optCreateFeaturedMarker: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), }); }),
21
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).decoder, amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.OpenMiningRound).decoder, amount: damlTypes.Numeric(10).decoder, numberOfTransfers: damlTypes.Int.decoder, lockedAmuletCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet)).decoder), optMergeAmuletInputs: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)))).decoder), optCreateFeaturedMarker: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), optAmuletRulesCidOverride: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules)).decoder), }); }),
22
22
  encode: function (__typed__) {
23
23
  return {
24
24
  personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).encode(__typed__.personalAirdropCids),
@@ -29,6 +29,7 @@ exports.Factory_ExecuteBatchTransfers = {
29
29
  lockedAmuletCid: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet)).encode(__typed__.lockedAmuletCid),
30
30
  optMergeAmuletInputs: damlTypes.Optional(damlTypes.List(damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)))).encode(__typed__.optMergeAmuletInputs),
31
31
  optCreateFeaturedMarker: damlTypes.Optional(damlTypes.Bool).encode(__typed__.optCreateFeaturedMarker),
32
+ optAmuletRulesCidOverride: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules)).encode(__typed__.optAmuletRulesCidOverride),
32
33
  };
33
34
  }
34
35
  ,
@@ -51,7 +52,7 @@ exports.Factory_JoinAirdrop = {
51
52
  exports.AirdropFactory = damlTypes.assembleTemplate(
52
53
  {
53
54
  templateId: '#CantonPayments:CantonPayments.Airdrop.AirdropFactory:AirdropFactory',
54
- templateIdWithPackageId: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.Airdrop.AirdropFactory:AirdropFactory',
55
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a:CantonPayments.Airdrop.AirdropFactory:AirdropFactory',
55
56
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
56
57
  keyEncode: function () { throw 'EncodeError'; },
57
58
  decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, featuredAppRight: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight).decoder, amuletRulesCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules).decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, }); }),
@@ -95,5 +96,5 @@ exports.AirdropFactory = damlTypes.assembleTemplate(
95
96
  );
96
97
 
97
98
 
98
- damlTypes.registerTemplate(exports.AirdropFactory, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
99
+ damlTypes.registerTemplate(exports.AirdropFactory, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
99
100
 
@@ -47,7 +47,7 @@ exports.PersonalAirdrop_ExecuteTransfer = {
47
47
  exports.PersonalAirdrop = damlTypes.assembleTemplate(
48
48
  {
49
49
  templateId: '#CantonPayments:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop',
50
- templateIdWithPackageId: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop',
50
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop',
51
51
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
52
52
  keyEncode: function () { throw 'EncodeError'; },
53
53
  decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, featuredAppRight: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight).decoder, amuletRulesCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules).decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, recipient: damlTypes.Party.decoder, }); }),
@@ -92,5 +92,5 @@ exports.PersonalAirdrop = damlTypes.assembleTemplate(
92
92
  );
93
93
 
94
94
 
95
- damlTypes.registerTemplate(exports.PersonalAirdrop, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
95
+ damlTypes.registerTemplate(exports.PersonalAirdrop, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
96
96
 
@@ -32,7 +32,7 @@ exports.SimpleAirdrop_Execute = {
32
32
  exports.SimpleAirdrop = damlTypes.assembleTemplate(
33
33
  {
34
34
  templateId: '#CantonPayments:CantonPayments.Airdrop.SimpleAirdrop:SimpleAirdrop',
35
- templateIdWithPackageId: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.Airdrop.SimpleAirdrop:SimpleAirdrop',
35
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a:CantonPayments.Airdrop.SimpleAirdrop:SimpleAirdrop',
36
36
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
37
37
  keyEncode: function () { throw 'EncodeError'; },
38
38
  decoder: damlTypes.lazyMemo(function () { return jtv.object({config: exports.SimpleAirdropConfig.decoder, }); }),
@@ -63,7 +63,7 @@ exports.SimpleAirdrop = damlTypes.assembleTemplate(
63
63
  );
64
64
 
65
65
 
66
- damlTypes.registerTemplate(exports.SimpleAirdrop, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
66
+ damlTypes.registerTemplate(exports.SimpleAirdrop, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
67
67
 
68
68
 
69
69
 
@@ -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: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.PaymentStream.ActivePaymentStream:PaymentStreamChangeProposal',
71
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a: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, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
121
+ damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
122
122
 
123
123
 
124
124
 
@@ -251,7 +251,7 @@ exports.ActivePaymentStream_ProcessFreeTrial = {
251
251
  exports.ActivePaymentStream = damlTypes.assembleTemplate(
252
252
  {
253
253
  templateId: '#CantonPayments:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
254
- templateIdWithPackageId: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
254
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
255
255
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
256
256
  keyEncode: function () { throw 'EncodeError'; },
257
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(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.LockedAmulet).decoder, stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.decoder, }); }),
@@ -350,5 +350,5 @@ exports.ActivePaymentStream = damlTypes.assembleTemplate(
350
350
  );
351
351
 
352
352
 
353
- damlTypes.registerTemplate(exports.ActivePaymentStream, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
353
+ damlTypes.registerTemplate(exports.ActivePaymentStream, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
354
354
 
@@ -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: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal',
76
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a: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, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
135
+ damlTypes.registerTemplate(exports.PartyMigrationProposal, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
136
136
 
@@ -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: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory',
41
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a: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, }); }),
@@ -69,5 +69,5 @@ exports.PaymentStreamFactory = damlTypes.assembleTemplate(
69
69
  );
70
70
 
71
71
 
72
- damlTypes.registerTemplate(exports.PaymentStreamFactory, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
72
+ damlTypes.registerTemplate(exports.PaymentStreamFactory, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
73
73
 
@@ -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: 'bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d:CantonPayments.PaymentStream.ProposedPaymentStream:ProposedPaymentStream',
94
+ templateIdWithPackageId: '8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a: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, }); }),
@@ -156,5 +156,5 @@ exports.ProposedPaymentStream = damlTypes.assembleTemplate(
156
156
  );
157
157
 
158
158
 
159
- damlTypes.registerTemplate(exports.ProposedPaymentStream, ['bf2b93c8041a1b5d22f01587fc5b7fbba5a85c8b36ebcae01f1d494f25061c8d', '#CantonPayments']);
159
+ damlTypes.registerTemplate(exports.ProposedPaymentStream, ['8d7b93328dfa1b4293f96d76b86550bb13a6aea8ae8a166433e7781bfffe0d1a', '#CantonPayments']);
160
160
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/open-captable-protocol-daml-js",
3
- "version": "0.2.101",
3
+ "version": "0.2.103",
4
4
  "description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
5
5
  "keywords": [
6
6
  "daml",