@fairmint/open-captable-protocol-daml-js 0.2.112 → 0.2.113
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/OpenCapTable-v29/.daml/dist/OpenCapTable-v29-0.0.1.dar +0 -0
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +10 -7
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +15 -12
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +11 -8
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +15 -12
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +10 -7
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +14 -11
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +12 -9
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +18 -15
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +5 -4
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +9 -8
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +10 -7
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +14 -11
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +10 -7
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +14 -11
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +8 -7
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +12 -8
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +16 -12
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +5 -5
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +55 -0
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +60 -0
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/{module.d.ts → Conversion/module.d.ts} +88 -445
- package/lib/Fairmint/OpenCapTable/Types/{module.js → Conversion/module.js} +93 -457
- package/lib/Fairmint/OpenCapTable/Types/Core/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +28 -0
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +37 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +56 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +65 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +29 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +32 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +135 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +141 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +95 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +100 -0
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +14 -1
- package/lib/Fairmint/OpenCapTable/Types/index.js +14 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.OcfObjectType = {
|
|
@@ -112,13 +112,13 @@ exports.DocumentOcfData = {
|
|
|
112
112
|
exports.Document = damlTypes.assembleTemplate(
|
|
113
113
|
{
|
|
114
114
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.Document:Document',
|
|
115
|
-
templateIdWithPackageId: '
|
|
115
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.Document:Document',
|
|
116
116
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
117
117
|
keyEncode: function () { throw 'EncodeError'; },
|
|
118
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
118
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, document_data: exports.DocumentOcfData.decoder, }); }),
|
|
119
119
|
encode: function (__typed__) {
|
|
120
120
|
return {
|
|
121
|
-
context:
|
|
121
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
122
122
|
document_data: exports.DocumentOcfData.encode(__typed__.document_data),
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -136,5 +136,5 @@ exports.Document = damlTypes.assembleTemplate(
|
|
|
136
136
|
);
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
damlTypes.registerTemplate(exports.Document, ['
|
|
139
|
+
damlTypes.registerTemplate(exports.Document, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
140
140
|
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
11
|
|
|
12
12
|
export declare type EquityCompensationAcceptanceOcfData = {
|
|
13
13
|
id: string;
|
|
@@ -23,7 +23,7 @@ export declare const EquityCompensationAcceptanceOcfData:
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
export declare type EquityCompensationAcceptance = {
|
|
26
|
-
context:
|
|
26
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
27
27
|
acceptance_data: EquityCompensationAcceptanceOcfData;
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.EquityCompensationAcceptanceOcfData = {
|
|
@@ -33,13 +33,13 @@ exports.EquityCompensationAcceptanceOcfData = {
|
|
|
33
33
|
exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
34
34
|
{
|
|
35
35
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
36
|
-
templateIdWithPackageId: '
|
|
36
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
37
37
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
38
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
39
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, acceptance_data: exports.EquityCompensationAcceptanceOcfData.decoder, }); }),
|
|
40
40
|
encode: function (__typed__) {
|
|
41
41
|
return {
|
|
42
|
-
context:
|
|
42
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
43
43
|
acceptance_data: exports.EquityCompensationAcceptanceOcfData.encode(__typed__.acceptance_data),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -57,5 +57,5 @@ exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['
|
|
60
|
+
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
61
61
|
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
11
|
|
|
12
12
|
export declare type EquityCompensationCancellationOcfData = {
|
|
13
13
|
id: string;
|
|
@@ -26,7 +26,7 @@ export declare const EquityCompensationCancellationOcfData:
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export declare type EquityCompensationCancellation = {
|
|
29
|
-
context:
|
|
29
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
30
30
|
cancellation_data: EquityCompensationCancellationOcfData;
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.EquityCompensationCancellationOcfData = {
|
|
@@ -36,13 +36,13 @@ exports.EquityCompensationCancellationOcfData = {
|
|
|
36
36
|
exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
42
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, cancellation_data: exports.EquityCompensationCancellationOcfData.decoder, }); }),
|
|
43
43
|
encode: function (__typed__) {
|
|
44
44
|
return {
|
|
45
|
-
context:
|
|
45
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
46
46
|
cancellation_data: exports.EquityCompensationCancellationOcfData.encode(__typed__.cancellation_data),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -60,5 +60,5 @@ exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
64
64
|
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
11
|
|
|
12
12
|
export declare type EquityCompensationExerciseOcfData = {
|
|
13
13
|
id: string;
|
|
@@ -26,7 +26,7 @@ export declare const EquityCompensationExerciseOcfData:
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export declare type EquityCompensationExercise = {
|
|
29
|
-
context:
|
|
29
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
30
30
|
exercise_data: EquityCompensationExerciseOcfData;
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.EquityCompensationExerciseOcfData = {
|
|
@@ -36,13 +36,13 @@ exports.EquityCompensationExerciseOcfData = {
|
|
|
36
36
|
exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationExercise:EquityCompensationExercise',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationExercise:EquityCompensationExercise',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
42
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, exercise_data: exports.EquityCompensationExerciseOcfData.decoder, }); }),
|
|
43
43
|
encode: function (__typed__) {
|
|
44
44
|
return {
|
|
45
|
-
context:
|
|
45
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
46
46
|
exercise_data: exports.EquityCompensationExerciseOcfData.encode(__typed__.exercise_data),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -60,5 +60,5 @@ exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
64
64
|
|
|
@@ -7,25 +7,28 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
|
+
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types_Stock from '../../../../Fairmint/OpenCapTable/Types/Stock/module';
|
|
13
|
+
import * as Fairmint_OpenCapTable_Types_Vesting from '../../../../Fairmint/OpenCapTable/Types/Vesting/module';
|
|
11
14
|
|
|
12
15
|
export declare type EquityCompensationIssuanceOcfData = {
|
|
13
16
|
id: string;
|
|
14
17
|
custom_id: string;
|
|
15
18
|
date: damlTypes.Time;
|
|
16
|
-
compensation_type:
|
|
19
|
+
compensation_type: Fairmint_OpenCapTable_Types_Vesting.OcfCompensationType;
|
|
17
20
|
quantity: damlTypes.Numeric;
|
|
18
21
|
security_id: string;
|
|
19
22
|
stakeholder_id: string;
|
|
20
23
|
comments: string[];
|
|
21
|
-
security_law_exemptions:
|
|
22
|
-
vestings:
|
|
23
|
-
termination_exercise_windows:
|
|
24
|
-
base_price: damlTypes.Optional<
|
|
24
|
+
security_law_exemptions: Fairmint_OpenCapTable_Types_Stock.OcfSecurityExemption[];
|
|
25
|
+
vestings: Fairmint_OpenCapTable_Types_Vesting.OcfVesting[];
|
|
26
|
+
termination_exercise_windows: Fairmint_OpenCapTable_Types_Vesting.OcfTerminationWindow[];
|
|
27
|
+
base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>;
|
|
25
28
|
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
26
29
|
consideration_text: damlTypes.Optional<string>;
|
|
27
30
|
early_exercisable: damlTypes.Optional<boolean>;
|
|
28
|
-
exercise_price: damlTypes.Optional<
|
|
31
|
+
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>;
|
|
29
32
|
expiration_date: damlTypes.Optional<damlTypes.Time>;
|
|
30
33
|
stock_class_id: damlTypes.Optional<string>;
|
|
31
34
|
stock_plan_id: damlTypes.Optional<string>;
|
|
@@ -40,7 +43,7 @@ export declare const EquityCompensationIssuanceOcfData:
|
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
export declare type EquityCompensationIssuance = {
|
|
43
|
-
context:
|
|
46
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
44
47
|
issuance_data: EquityCompensationIssuanceOcfData;
|
|
45
48
|
};
|
|
46
49
|
|
|
@@ -12,29 +12,32 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
|
+
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
17
|
+
var Fairmint_OpenCapTable_Types_Stock = require('../../../../Fairmint/OpenCapTable/Types/Stock/module');
|
|
18
|
+
var Fairmint_OpenCapTable_Types_Vesting = require('../../../../Fairmint/OpenCapTable/Types/Vesting/module');
|
|
16
19
|
|
|
17
20
|
|
|
18
21
|
exports.EquityCompensationIssuanceOcfData = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, compensation_type:
|
|
22
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, compensation_type: Fairmint_OpenCapTable_Types_Vesting.OcfCompensationType.decoder, quantity: damlTypes.Numeric(10).decoder, security_id: damlTypes.Text.decoder, stakeholder_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types_Stock.OcfSecurityExemption).decoder, vestings: damlTypes.List(Fairmint_OpenCapTable_Types_Vesting.OcfVesting).decoder, termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types_Vesting.OcfTerminationWindow).decoder, base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), early_exercisable: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), stock_plan_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), vesting_terms_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
20
23
|
encode: function (__typed__) {
|
|
21
24
|
return {
|
|
22
25
|
id: damlTypes.Text.encode(__typed__.id),
|
|
23
26
|
custom_id: damlTypes.Text.encode(__typed__.custom_id),
|
|
24
27
|
date: damlTypes.Time.encode(__typed__.date),
|
|
25
|
-
compensation_type:
|
|
28
|
+
compensation_type: Fairmint_OpenCapTable_Types_Vesting.OcfCompensationType.encode(__typed__.compensation_type),
|
|
26
29
|
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
27
30
|
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
28
31
|
stakeholder_id: damlTypes.Text.encode(__typed__.stakeholder_id),
|
|
29
32
|
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
30
|
-
security_law_exemptions: damlTypes.List(
|
|
31
|
-
vestings: damlTypes.List(
|
|
32
|
-
termination_exercise_windows: damlTypes.List(
|
|
33
|
-
base_price: damlTypes.Optional(
|
|
33
|
+
security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types_Stock.OcfSecurityExemption).encode(__typed__.security_law_exemptions),
|
|
34
|
+
vestings: damlTypes.List(Fairmint_OpenCapTable_Types_Vesting.OcfVesting).encode(__typed__.vestings),
|
|
35
|
+
termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types_Vesting.OcfTerminationWindow).encode(__typed__.termination_exercise_windows),
|
|
36
|
+
base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.base_price),
|
|
34
37
|
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
35
38
|
consideration_text: damlTypes.Optional(damlTypes.Text).encode(__typed__.consideration_text),
|
|
36
39
|
early_exercisable: damlTypes.Optional(damlTypes.Bool).encode(__typed__.early_exercisable),
|
|
37
|
-
exercise_price: damlTypes.Optional(
|
|
40
|
+
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.exercise_price),
|
|
38
41
|
expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiration_date),
|
|
39
42
|
stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_class_id),
|
|
40
43
|
stock_plan_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_plan_id),
|
|
@@ -50,13 +53,13 @@ exports.EquityCompensationIssuanceOcfData = {
|
|
|
50
53
|
exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
51
54
|
{
|
|
52
55
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
53
|
-
templateIdWithPackageId: '
|
|
56
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
54
57
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
55
58
|
keyEncode: function () { throw 'EncodeError'; },
|
|
56
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
59
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, issuance_data: exports.EquityCompensationIssuanceOcfData.decoder, }); }),
|
|
57
60
|
encode: function (__typed__) {
|
|
58
61
|
return {
|
|
59
|
-
context:
|
|
62
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
60
63
|
issuance_data: exports.EquityCompensationIssuanceOcfData.encode(__typed__.issuance_data),
|
|
61
64
|
};
|
|
62
65
|
}
|
|
@@ -74,5 +77,5 @@ exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
|
74
77
|
);
|
|
75
78
|
|
|
76
79
|
|
|
77
|
-
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['
|
|
80
|
+
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
78
81
|
|
|
@@ -7,13 +7,14 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
|
+
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
11
12
|
|
|
12
13
|
export declare type EquityCompensationReleaseOcfData = {
|
|
13
14
|
id: string;
|
|
14
15
|
date: damlTypes.Time;
|
|
15
16
|
quantity: damlTypes.Numeric;
|
|
16
|
-
release_price:
|
|
17
|
+
release_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
|
|
17
18
|
security_id: string;
|
|
18
19
|
settlement_date: damlTypes.Time;
|
|
19
20
|
comments: string[];
|
|
@@ -28,7 +29,7 @@ export declare const EquityCompensationReleaseOcfData:
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
export declare type EquityCompensationRelease = {
|
|
31
|
-
context:
|
|
32
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
32
33
|
release_data: EquityCompensationReleaseOcfData;
|
|
33
34
|
};
|
|
34
35
|
|
|
@@ -12,17 +12,18 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
|
+
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
exports.EquityCompensationReleaseOcfData = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, quantity: damlTypes.Numeric(10).decoder, release_price:
|
|
20
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, quantity: damlTypes.Numeric(10).decoder, release_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.decoder, security_id: damlTypes.Text.decoder, settlement_date: damlTypes.Time.decoder, comments: damlTypes.List(damlTypes.Text).decoder, resulting_security_ids: damlTypes.List(damlTypes.Text).decoder, consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
20
21
|
encode: function (__typed__) {
|
|
21
22
|
return {
|
|
22
23
|
id: damlTypes.Text.encode(__typed__.id),
|
|
23
24
|
date: damlTypes.Time.encode(__typed__.date),
|
|
24
25
|
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
25
|
-
release_price:
|
|
26
|
+
release_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.encode(__typed__.release_price),
|
|
26
27
|
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
27
28
|
settlement_date: damlTypes.Time.encode(__typed__.settlement_date),
|
|
28
29
|
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
@@ -38,13 +39,13 @@ exports.EquityCompensationReleaseOcfData = {
|
|
|
38
39
|
exports.EquityCompensationRelease = damlTypes.assembleTemplate(
|
|
39
40
|
{
|
|
40
41
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationRelease:EquityCompensationRelease',
|
|
41
|
-
templateIdWithPackageId: '
|
|
42
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationRelease:EquityCompensationRelease',
|
|
42
43
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
43
44
|
keyEncode: function () { throw 'EncodeError'; },
|
|
44
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
45
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, release_data: exports.EquityCompensationReleaseOcfData.decoder, }); }),
|
|
45
46
|
encode: function (__typed__) {
|
|
46
47
|
return {
|
|
47
|
-
context:
|
|
48
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
48
49
|
release_data: exports.EquityCompensationReleaseOcfData.encode(__typed__.release_data),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -62,5 +63,5 @@ exports.EquityCompensationRelease = damlTypes.assembleTemplate(
|
|
|
62
63
|
);
|
|
63
64
|
|
|
64
65
|
|
|
65
|
-
damlTypes.registerTemplate(exports.EquityCompensationRelease, ['
|
|
66
|
+
damlTypes.registerTemplate(exports.EquityCompensationRelease, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
66
67
|
|
|
@@ -7,12 +7,13 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
|
+
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
11
12
|
|
|
12
13
|
export declare type EquityCompensationRepricingOcfData = {
|
|
13
14
|
id: string;
|
|
14
15
|
date: damlTypes.Time;
|
|
15
|
-
new_exercise_price:
|
|
16
|
+
new_exercise_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
|
|
16
17
|
security_id: string;
|
|
17
18
|
comments: string[];
|
|
18
19
|
};
|
|
@@ -24,7 +25,7 @@ export declare const EquityCompensationRepricingOcfData:
|
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
export declare type EquityCompensationRepricing = {
|
|
27
|
-
context:
|
|
28
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
28
29
|
repricing_data: EquityCompensationRepricingOcfData;
|
|
29
30
|
};
|
|
30
31
|
|
|
@@ -12,16 +12,17 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
|
+
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
exports.EquityCompensationRepricingOcfData = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, new_exercise_price:
|
|
20
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, new_exercise_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
20
21
|
encode: function (__typed__) {
|
|
21
22
|
return {
|
|
22
23
|
id: damlTypes.Text.encode(__typed__.id),
|
|
23
24
|
date: damlTypes.Time.encode(__typed__.date),
|
|
24
|
-
new_exercise_price:
|
|
25
|
+
new_exercise_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.encode(__typed__.new_exercise_price),
|
|
25
26
|
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
26
27
|
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
27
28
|
};
|
|
@@ -34,13 +35,13 @@ exports.EquityCompensationRepricingOcfData = {
|
|
|
34
35
|
exports.EquityCompensationRepricing = damlTypes.assembleTemplate(
|
|
35
36
|
{
|
|
36
37
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationRepricing:EquityCompensationRepricing',
|
|
37
|
-
templateIdWithPackageId: '
|
|
38
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationRepricing:EquityCompensationRepricing',
|
|
38
39
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
39
40
|
keyEncode: function () { throw 'EncodeError'; },
|
|
40
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
41
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, repricing_data: exports.EquityCompensationRepricingOcfData.decoder, }); }),
|
|
41
42
|
encode: function (__typed__) {
|
|
42
43
|
return {
|
|
43
|
-
context:
|
|
44
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
44
45
|
repricing_data: exports.EquityCompensationRepricingOcfData.encode(__typed__.repricing_data),
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -58,5 +59,5 @@ exports.EquityCompensationRepricing = damlTypes.assembleTemplate(
|
|
|
58
59
|
);
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
damlTypes.registerTemplate(exports.EquityCompensationRepricing, ['
|
|
62
|
+
damlTypes.registerTemplate(exports.EquityCompensationRepricing, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
62
63
|
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
11
|
|
|
12
12
|
export declare type EquityCompensationRetractionOcfData = {
|
|
13
13
|
id: string;
|
|
@@ -24,7 +24,7 @@ export declare const EquityCompensationRetractionOcfData:
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
export declare type EquityCompensationRetraction = {
|
|
27
|
-
context:
|
|
27
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
28
28
|
retraction_data: EquityCompensationRetractionOcfData;
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.EquityCompensationRetractionOcfData = {
|
|
@@ -34,13 +34,13 @@ exports.EquityCompensationRetractionOcfData = {
|
|
|
34
34
|
exports.EquityCompensationRetraction = damlTypes.assembleTemplate(
|
|
35
35
|
{
|
|
36
36
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationRetraction:EquityCompensationRetraction',
|
|
37
|
-
templateIdWithPackageId: '
|
|
37
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationRetraction:EquityCompensationRetraction',
|
|
38
38
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
39
39
|
keyEncode: function () { throw 'EncodeError'; },
|
|
40
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
40
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, retraction_data: exports.EquityCompensationRetractionOcfData.decoder, }); }),
|
|
41
41
|
encode: function (__typed__) {
|
|
42
42
|
return {
|
|
43
|
-
context:
|
|
43
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
44
44
|
retraction_data: exports.EquityCompensationRetractionOcfData.encode(__typed__.retraction_data),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -58,5 +58,5 @@ exports.EquityCompensationRetraction = damlTypes.assembleTemplate(
|
|
|
58
58
|
);
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
damlTypes.registerTemplate(exports.EquityCompensationRetraction, ['
|
|
61
|
+
damlTypes.registerTemplate(exports.EquityCompensationRetraction, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
62
62
|
|
|
@@ -7,7 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
11
11
|
|
|
12
12
|
export declare type EquityCompensationTransferOcfData = {
|
|
13
13
|
id: string;
|
|
@@ -27,7 +27,7 @@ export declare const EquityCompensationTransferOcfData:
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
export declare type EquityCompensationTransfer = {
|
|
30
|
-
context:
|
|
30
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
31
31
|
transfer_data: EquityCompensationTransferOcfData;
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -12,7 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
|
|
13
13
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.EquityCompensationTransferOcfData = {
|
|
@@ -37,13 +37,13 @@ exports.EquityCompensationTransferOcfData = {
|
|
|
37
37
|
exports.EquityCompensationTransfer = damlTypes.assembleTemplate(
|
|
38
38
|
{
|
|
39
39
|
templateId: '#OpenCapTable-v29:Fairmint.OpenCapTable.OCF.EquityCompensationTransfer:EquityCompensationTransfer',
|
|
40
|
-
templateIdWithPackageId: '
|
|
40
|
+
templateIdWithPackageId: '070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6:Fairmint.OpenCapTable.OCF.EquityCompensationTransfer:EquityCompensationTransfer',
|
|
41
41
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
42
42
|
keyEncode: function () { throw 'EncodeError'; },
|
|
43
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
43
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, transfer_data: exports.EquityCompensationTransferOcfData.decoder, }); }),
|
|
44
44
|
encode: function (__typed__) {
|
|
45
45
|
return {
|
|
46
|
-
context:
|
|
46
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
47
47
|
transfer_data: exports.EquityCompensationTransferOcfData.encode(__typed__.transfer_data),
|
|
48
48
|
};
|
|
49
49
|
}
|
|
@@ -61,5 +61,5 @@ exports.EquityCompensationTransfer = damlTypes.assembleTemplate(
|
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
damlTypes.registerTemplate(exports.EquityCompensationTransfer, ['
|
|
64
|
+
damlTypes.registerTemplate(exports.EquityCompensationTransfer, ['070b203a441870fdabf0cf1e8fbc9451039032d4650e67a6a469788a7043caa6', '#OpenCapTable-v29']);
|
|
65
65
|
|
|
@@ -7,7 +7,10 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
|
|
8
8
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
9
9
|
|
|
10
|
-
import * as
|
|
10
|
+
import * as Fairmint_OpenCapTable_Types_Contact from '../../../../Fairmint/OpenCapTable/Types/Contact/module';
|
|
11
|
+
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
13
|
+
import * as Fairmint_OpenCapTable_Types_Stock from '../../../../Fairmint/OpenCapTable/Types/Stock/module';
|
|
11
14
|
|
|
12
15
|
export declare type IssuerOcfData = {
|
|
13
16
|
id: string;
|
|
@@ -15,14 +18,14 @@ export declare type IssuerOcfData = {
|
|
|
15
18
|
formation_date: damlTypes.Time;
|
|
16
19
|
legal_name: string;
|
|
17
20
|
comments: string[];
|
|
18
|
-
tax_ids:
|
|
19
|
-
address: damlTypes.Optional<
|
|
21
|
+
tax_ids: Fairmint_OpenCapTable_Types_Monetary.OcfTaxID[];
|
|
22
|
+
address: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfAddress>;
|
|
20
23
|
country_subdivision_of_formation: damlTypes.Optional<string>;
|
|
21
24
|
country_subdivision_name_of_formation: damlTypes.Optional<string>;
|
|
22
25
|
dba: damlTypes.Optional<string>;
|
|
23
|
-
email: damlTypes.Optional<
|
|
24
|
-
initial_shares_authorized: damlTypes.Optional<
|
|
25
|
-
phone: damlTypes.Optional<
|
|
26
|
+
email: damlTypes.Optional<Fairmint_OpenCapTable_Types_Contact.OcfEmail>;
|
|
27
|
+
initial_shares_authorized: damlTypes.Optional<Fairmint_OpenCapTable_Types_Stock.OcfInitialSharesAuthorized>;
|
|
28
|
+
phone: damlTypes.Optional<Fairmint_OpenCapTable_Types_Contact.OcfPhone>;
|
|
26
29
|
};
|
|
27
30
|
|
|
28
31
|
export declare const IssuerOcfData:
|
|
@@ -32,7 +35,7 @@ export declare const IssuerOcfData:
|
|
|
32
35
|
|
|
33
36
|
|
|
34
37
|
export declare type Issuer = {
|
|
35
|
-
context:
|
|
38
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
36
39
|
issuer_data: IssuerOcfData;
|
|
37
40
|
};
|
|
38
41
|
|