@fairmint/open-captable-protocol-daml-js 0.0.38 → 0.0.39
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 +4 -4
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +11 -0
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +21 -1
- package/lib/Fairmint/OpenCapTable/StockPosition/module.js +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainnet": {
|
|
3
|
-
"ocpFactoryContractId": "
|
|
4
|
-
"templateId": "
|
|
3
|
+
"ocpFactoryContractId": "00367dbd61ded8e086ec457eae841daa1b922e6042499d8e5ed5f89ee2760e17e7ca11122005631aea81b48e29b6e00898c6315c1fb8cd2c68bae4314df8bfe619fb5c181e",
|
|
4
|
+
"templateId": "5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
5
5
|
},
|
|
6
6
|
"devnet": {
|
|
7
|
-
"ocpFactoryContractId": "
|
|
8
|
-
"templateId": "
|
|
7
|
+
"ocpFactoryContractId": "00c86b0cb33c8a666c2ecdd56264b05ae6d98f5c25a3632a08909537af463be96fca111220a6b8da63138edaaffab35ea6fdc0e2ff9a5163e601cca66903c7f6eda313b700",
|
|
8
|
+
"templateId": "5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -87,5 +87,5 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
87
87
|
);
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
damlTypes.registerTemplate(exports.Issuer, ['
|
|
90
|
+
damlTypes.registerTemplate(exports.Issuer, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
91
91
|
|
|
@@ -85,5 +85,5 @@ exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
|
85
85
|
);
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
damlTypes.registerTemplate(exports.IssuerAuthorization, ['
|
|
88
|
+
damlTypes.registerTemplate(exports.IssuerAuthorization, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
89
89
|
|
|
@@ -64,5 +64,5 @@ exports.OcpFactory = damlTypes.assembleTemplate(
|
|
|
64
64
|
);
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
damlTypes.registerTemplate(exports.OcpFactory, ['
|
|
67
|
+
damlTypes.registerTemplate(exports.OcpFactory, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
68
68
|
|
|
@@ -23,6 +23,16 @@ export declare const IssueStock:
|
|
|
23
23
|
;
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
export declare type UpdateStockClassData = {
|
|
27
|
+
new_stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export declare const UpdateStockClassData:
|
|
31
|
+
damlTypes.Serializable<UpdateStockClassData> & {
|
|
32
|
+
}
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
|
|
26
36
|
export declare type StockClass = {
|
|
27
37
|
issuer: damlTypes.Party;
|
|
28
38
|
stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
|
|
@@ -32,6 +42,7 @@ export declare type StockClass = {
|
|
|
32
42
|
};
|
|
33
43
|
|
|
34
44
|
export declare interface StockClassInterface {
|
|
45
|
+
UpdateStockClassData: damlTypes.Choice<StockClass, UpdateStockClassData, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
35
46
|
Archive: damlTypes.Choice<StockClass, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
36
47
|
IssueStock: damlTypes.Choice<StockClass, IssueStock, damlTypes.ContractId<Fairmint_OpenCapTable_StockPosition.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
37
48
|
}
|
|
@@ -31,6 +31,18 @@ exports.IssueStock = {
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
exports.UpdateStockClassData = {
|
|
35
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({new_stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData.decoder, }); }),
|
|
36
|
+
encode: function (__typed__) {
|
|
37
|
+
return {
|
|
38
|
+
new_stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData.encode(__typed__.new_stock_class_data),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
34
46
|
exports.StockClass = damlTypes.assembleTemplate(
|
|
35
47
|
{
|
|
36
48
|
templateId: '#OpenCapTable-v10:Fairmint.OpenCapTable.StockClass:StockClass',
|
|
@@ -47,6 +59,14 @@ exports.StockClass = damlTypes.assembleTemplate(
|
|
|
47
59
|
};
|
|
48
60
|
}
|
|
49
61
|
,
|
|
62
|
+
UpdateStockClassData: {
|
|
63
|
+
template: function () { return exports.StockClass; },
|
|
64
|
+
choiceName: 'UpdateStockClassData',
|
|
65
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.UpdateStockClassData.decoder; }),
|
|
66
|
+
argumentEncode: function (__typed__) { return exports.UpdateStockClassData.encode(__typed__); },
|
|
67
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.StockClass).decoder; }),
|
|
68
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.StockClass).encode(__typed__); },
|
|
69
|
+
},
|
|
50
70
|
Archive: {
|
|
51
71
|
template: function () { return exports.StockClass; },
|
|
52
72
|
choiceName: 'Archive',
|
|
@@ -68,5 +88,5 @@ exports.StockClass = damlTypes.assembleTemplate(
|
|
|
68
88
|
);
|
|
69
89
|
|
|
70
90
|
|
|
71
|
-
damlTypes.registerTemplate(exports.StockClass, ['
|
|
91
|
+
damlTypes.registerTemplate(exports.StockClass, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
72
92
|
|
|
@@ -67,7 +67,7 @@ exports.StockTransferProposal = damlTypes.assembleTemplate(
|
|
|
67
67
|
);
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
damlTypes.registerTemplate(exports.StockTransferProposal, ['
|
|
70
|
+
damlTypes.registerTemplate(exports.StockTransferProposal, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
@@ -120,5 +120,5 @@ exports.StockPosition = damlTypes.assembleTemplate(
|
|
|
120
120
|
);
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
damlTypes.registerTemplate(exports.StockPosition, ['
|
|
123
|
+
damlTypes.registerTemplate(exports.StockPosition, ['5d1607d2a5e5bfed21e0501b03e8b7cfa20c886dfef6e87ec9fbf4434b112720', '#OpenCapTable-v10']);
|
|
124
124
|
|
package/package.json
CHANGED