@fairmint/open-captable-protocol-daml-js 0.2.45 → 0.2.46
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.js +1 -1
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +16 -1
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +31 -7
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +1 -1
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +1 -1
- package/package.json +1 -1
|
@@ -148,7 +148,7 @@ exports.Airdrop = damlTypes.assembleTemplate(
|
|
|
148
148
|
);
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
damlTypes.registerTemplate(exports.Airdrop, ['
|
|
151
|
+
damlTypes.registerTemplate(exports.Airdrop, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
|
|
@@ -13,6 +13,20 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
|
|
|
13
13
|
|
|
14
14
|
import * as CantonPayments_Airdrop_PersonalAirdrop from '../../../CantonPayments/Airdrop/PersonalAirdrop/module';
|
|
15
15
|
|
|
16
|
+
export declare type Factory_ExecuteBatchTransfers = {
|
|
17
|
+
personalAirdropCids: damlTypes.ContractId<CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop>[];
|
|
18
|
+
amuletInputs: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[];
|
|
19
|
+
openMiningRoundCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Round.OpenMiningRound>;
|
|
20
|
+
amount: damlTypes.Numeric;
|
|
21
|
+
numberOfTransfers: damlTypes.Int;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export declare const Factory_ExecuteBatchTransfers:
|
|
25
|
+
damlTypes.Serializable<Factory_ExecuteBatchTransfers> & {
|
|
26
|
+
}
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
16
30
|
export declare type Factory_JoinAirdrop = {
|
|
17
31
|
recipient: damlTypes.Party;
|
|
18
32
|
};
|
|
@@ -33,8 +47,9 @@ export declare type AirdropFactory = {
|
|
|
33
47
|
};
|
|
34
48
|
|
|
35
49
|
export declare interface AirdropFactoryInterface {
|
|
36
|
-
Archive: damlTypes.Choice<AirdropFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
37
50
|
Factory_JoinAirdrop: damlTypes.Choice<AirdropFactory, Factory_JoinAirdrop, damlTypes.ContractId<CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
51
|
+
Archive: damlTypes.Choice<AirdropFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
52
|
+
Factory_ExecuteBatchTransfers: damlTypes.Choice<AirdropFactory, Factory_ExecuteBatchTransfers, pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.TransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
38
53
|
}
|
|
39
54
|
export declare const AirdropFactory:
|
|
40
55
|
damlTypes.Template<AirdropFactory, undefined, '#CantonPayments:CantonPayments.Airdrop.AirdropFactory:AirdropFactory'> &
|
|
@@ -19,6 +19,22 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
19
19
|
var CantonPayments_Airdrop_PersonalAirdrop = require('../../../CantonPayments/Airdrop/PersonalAirdrop/module');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
exports.Factory_ExecuteBatchTransfers = {
|
|
23
|
+
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, }); }),
|
|
24
|
+
encode: function (__typed__) {
|
|
25
|
+
return {
|
|
26
|
+
personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).encode(__typed__.personalAirdropCids),
|
|
27
|
+
amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__.amuletInputs),
|
|
28
|
+
openMiningRoundCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
29
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
30
|
+
numberOfTransfers: damlTypes.Int.encode(__typed__.numberOfTransfers),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
22
38
|
exports.Factory_JoinAirdrop = {
|
|
23
39
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({recipient: damlTypes.Party.decoder, }); }),
|
|
24
40
|
encode: function (__typed__) {
|
|
@@ -48,6 +64,14 @@ exports.AirdropFactory = damlTypes.assembleTemplate(
|
|
|
48
64
|
};
|
|
49
65
|
}
|
|
50
66
|
,
|
|
67
|
+
Factory_JoinAirdrop: {
|
|
68
|
+
template: function () { return exports.AirdropFactory; },
|
|
69
|
+
choiceName: 'Factory_JoinAirdrop',
|
|
70
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Factory_JoinAirdrop.decoder; }),
|
|
71
|
+
argumentEncode: function (__typed__) { return exports.Factory_JoinAirdrop.encode(__typed__); },
|
|
72
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop).decoder; }),
|
|
73
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop).encode(__typed__); },
|
|
74
|
+
},
|
|
51
75
|
Archive: {
|
|
52
76
|
template: function () { return exports.AirdropFactory; },
|
|
53
77
|
choiceName: 'Archive',
|
|
@@ -56,18 +80,18 @@ exports.AirdropFactory = damlTypes.assembleTemplate(
|
|
|
56
80
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
57
81
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
58
82
|
},
|
|
59
|
-
|
|
83
|
+
Factory_ExecuteBatchTransfers: {
|
|
60
84
|
template: function () { return exports.AirdropFactory; },
|
|
61
|
-
choiceName: '
|
|
62
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.
|
|
63
|
-
argumentEncode: function (__typed__) { return exports.
|
|
64
|
-
resultDecoder: damlTypes.lazyMemo(function () { return
|
|
65
|
-
resultEncode: function (__typed__) { return
|
|
85
|
+
choiceName: 'Factory_ExecuteBatchTransfers',
|
|
86
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Factory_ExecuteBatchTransfers.decoder; }),
|
|
87
|
+
argumentEncode: function (__typed__) { return exports.Factory_ExecuteBatchTransfers.encode(__typed__); },
|
|
88
|
+
resultDecoder: damlTypes.lazyMemo(function () { return pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult.decoder; }),
|
|
89
|
+
resultEncode: function (__typed__) { return pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult.encode(__typed__); },
|
|
66
90
|
},
|
|
67
91
|
}
|
|
68
92
|
|
|
69
93
|
);
|
|
70
94
|
|
|
71
95
|
|
|
72
|
-
damlTypes.registerTemplate(exports.AirdropFactory, ['
|
|
96
|
+
damlTypes.registerTemplate(exports.AirdropFactory, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
73
97
|
|
|
@@ -91,5 +91,5 @@ exports.PersonalAirdrop = damlTypes.assembleTemplate(
|
|
|
91
91
|
);
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
damlTypes.registerTemplate(exports.PersonalAirdrop, ['
|
|
94
|
+
damlTypes.registerTemplate(exports.PersonalAirdrop, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
95
95
|
|
|
@@ -64,7 +64,7 @@ exports.SimpleAirdrop = damlTypes.assembleTemplate(
|
|
|
64
64
|
);
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
damlTypes.registerTemplate(exports.SimpleAirdrop, ['
|
|
67
|
+
damlTypes.registerTemplate(exports.SimpleAirdrop, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
@@ -119,7 +119,7 @@ exports.PaymentStreamChangeProposal = damlTypes.assembleTemplate(
|
|
|
119
119
|
);
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['
|
|
122
|
+
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
@@ -350,5 +350,5 @@ exports.ActivePaymentStream = damlTypes.assembleTemplate(
|
|
|
350
350
|
);
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
damlTypes.registerTemplate(exports.ActivePaymentStream, ['
|
|
353
|
+
damlTypes.registerTemplate(exports.ActivePaymentStream, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
354
354
|
|
|
@@ -133,5 +133,5 @@ exports.PartyMigrationProposal = damlTypes.assembleTemplate(
|
|
|
133
133
|
);
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['
|
|
136
|
+
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
137
137
|
|
|
@@ -70,5 +70,5 @@ exports.PaymentStreamFactory = damlTypes.assembleTemplate(
|
|
|
70
70
|
);
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['
|
|
73
|
+
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
74
74
|
|
|
@@ -157,5 +157,5 @@ exports.ProposedPaymentStream = damlTypes.assembleTemplate(
|
|
|
157
157
|
);
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['
|
|
160
|
+
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['cb5d35888df5e019f790e789143a7f58f20b858d60032c3af47fc17d18a7ab6a', '#CantonPayments']);
|
|
161
161
|
|
package/package.json
CHANGED