@fairmint/open-captable-protocol-daml-js 0.2.103 → 0.2.105
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-v28/.daml/dist/OpenCapTable-v28-0.0.1.dar +0 -0
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +7 -6
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +1 -24
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +4 -28
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +4 -4
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Types/module.d.ts +36 -0
- package/lib/Fairmint/OpenCapTable/Types/module.js +35 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -92,7 +92,7 @@ exports.EditIssuer = {
|
|
|
92
92
|
exports.CapTable = damlTypes.assembleTemplate(
|
|
93
93
|
{
|
|
94
94
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.CapTable:CapTable',
|
|
95
|
-
templateIdWithPackageId: '
|
|
95
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.CapTable:CapTable',
|
|
96
96
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
97
97
|
keyEncode: function () { throw 'EncodeError'; },
|
|
98
98
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuer: damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Issuer.Issuer).decoder, convertible_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptance)).decoder, convertible_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellation)).decoder, convertible_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversion)).decoder, convertible_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuance)).decoder, convertible_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetraction)).decoder, convertible_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransfer)).decoder, documents: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Document.Document)).decoder, equity_compensation_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptance)).decoder, equity_compensation_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellation)).decoder, equity_compensation_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExercise)).decoder, equity_compensation_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuance)).decoder, equity_compensation_releases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationRelease)).decoder, equity_compensation_repricings: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricing)).decoder, equity_compensation_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetraction)).decoder, equity_compensation_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransfer)).decoder, issuer_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment)).decoder, stakeholders: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Stakeholder.Stakeholder)).decoder, stakeholder_relationship_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEvent)).decoder, stakeholder_status_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEvent)).decoder, stock_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptance)).decoder, stock_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellation)).decoder, stock_classes: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClass.StockClass)).decoder, stock_class_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment)).decoder, stock_class_conversion_ratio_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustment)).decoder, stock_class_splits: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplit)).decoder, stock_consolidations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidation)).decoder, stock_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConversion.StockConversion)).decoder, stock_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuance)).decoder, stock_legend_templates: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplate)).decoder, stock_plans: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlan.StockPlan)).decoder, stock_plan_pool_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustment)).decoder, stock_plan_return_to_pools: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPool)).decoder, stock_reissuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuance)).decoder, stock_repurchases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchase)).decoder, stock_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRetraction.StockRetraction)).decoder, stock_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockTransfer.StockTransfer)).decoder, valuations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Valuation.Valuation)).decoder, vesting_accelerations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAcceleration)).decoder, vesting_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingEvent.VestingEvent)).decoder, vesting_starts: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingStart.VestingStart)).decoder, vesting_terms: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingTerms.VestingTerms)).decoder, warrant_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptance)).decoder, warrant_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellation)).decoder, warrant_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExercise)).decoder, warrant_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuance)).decoder, warrant_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetraction)).decoder, warrant_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransfer)).decoder, }); }),
|
|
@@ -179,7 +179,7 @@ exports.CapTable = damlTypes.assembleTemplate(
|
|
|
179
179
|
);
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
damlTypes.registerTemplate(exports.CapTable, ['
|
|
182
|
+
damlTypes.registerTemplate(exports.CapTable, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
|
|
@@ -43,7 +43,7 @@ exports.CreateCapTable = {
|
|
|
43
43
|
exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
44
44
|
{
|
|
45
45
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
|
|
46
|
-
templateIdWithPackageId: '
|
|
46
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
|
|
47
47
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
48
48
|
keyEncode: function () { throw 'EncodeError'; },
|
|
49
49
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, }); }),
|
|
@@ -82,5 +82,5 @@ exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
|
82
82
|
);
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
damlTypes.registerTemplate(exports.IssuerAuthorization, ['
|
|
85
|
+
damlTypes.registerTemplate(exports.IssuerAuthorization, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
86
86
|
|
|
@@ -33,7 +33,7 @@ exports.ConvertibleAcceptanceOcfData = {
|
|
|
33
33
|
exports.ConvertibleAcceptance = damlTypes.assembleTemplate(
|
|
34
34
|
{
|
|
35
35
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleAcceptance:ConvertibleAcceptance',
|
|
36
|
-
templateIdWithPackageId: '
|
|
36
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleAcceptance:ConvertibleAcceptance',
|
|
37
37
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
38
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
39
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, acceptance_data: exports.ConvertibleAcceptanceOcfData.decoder, }); }),
|
|
@@ -57,5 +57,5 @@ exports.ConvertibleAcceptance = damlTypes.assembleTemplate(
|
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
damlTypes.registerTemplate(exports.ConvertibleAcceptance, ['
|
|
60
|
+
damlTypes.registerTemplate(exports.ConvertibleAcceptance, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
61
61
|
|
|
@@ -36,7 +36,7 @@ exports.ConvertibleCancellationOcfData = {
|
|
|
36
36
|
exports.ConvertibleCancellation = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
42
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, cancellation_data: exports.ConvertibleCancellationOcfData.decoder, }); }),
|
|
@@ -60,5 +60,5 @@ exports.ConvertibleCancellation = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.ConvertibleCancellation, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.ConvertibleCancellation, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
64
64
|
|
|
@@ -39,7 +39,7 @@ exports.ConvertibleConversionOcfData = {
|
|
|
39
39
|
exports.ConvertibleConversion = damlTypes.assembleTemplate(
|
|
40
40
|
{
|
|
41
41
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleConversion:ConvertibleConversion',
|
|
42
|
-
templateIdWithPackageId: '
|
|
42
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleConversion:ConvertibleConversion',
|
|
43
43
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
44
44
|
keyEncode: function () { throw 'EncodeError'; },
|
|
45
45
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, conversion_data: exports.ConvertibleConversionOcfData.decoder, }); }),
|
|
@@ -63,5 +63,5 @@ exports.ConvertibleConversion = damlTypes.assembleTemplate(
|
|
|
63
63
|
);
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
damlTypes.registerTemplate(exports.ConvertibleConversion, ['
|
|
66
|
+
damlTypes.registerTemplate(exports.ConvertibleConversion, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
67
67
|
|
|
@@ -62,7 +62,7 @@ exports.ConvertibleIssuanceOcfData = {
|
|
|
62
62
|
exports.ConvertibleIssuance = damlTypes.assembleTemplate(
|
|
63
63
|
{
|
|
64
64
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleIssuance:ConvertibleIssuance',
|
|
65
|
-
templateIdWithPackageId: '
|
|
65
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleIssuance:ConvertibleIssuance',
|
|
66
66
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
67
67
|
keyEncode: function () { throw 'EncodeError'; },
|
|
68
68
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.ConvertibleIssuanceOcfData.decoder, }); }),
|
|
@@ -86,5 +86,5 @@ exports.ConvertibleIssuance = damlTypes.assembleTemplate(
|
|
|
86
86
|
);
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
damlTypes.registerTemplate(exports.ConvertibleIssuance, ['
|
|
89
|
+
damlTypes.registerTemplate(exports.ConvertibleIssuance, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
90
90
|
|
|
@@ -34,7 +34,7 @@ exports.ConvertibleRetractionOcfData = {
|
|
|
34
34
|
exports.ConvertibleRetraction = damlTypes.assembleTemplate(
|
|
35
35
|
{
|
|
36
36
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleRetraction:ConvertibleRetraction',
|
|
37
|
-
templateIdWithPackageId: '
|
|
37
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleRetraction:ConvertibleRetraction',
|
|
38
38
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
39
39
|
keyEncode: function () { throw 'EncodeError'; },
|
|
40
40
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, retraction_data: exports.ConvertibleRetractionOcfData.decoder, }); }),
|
|
@@ -58,5 +58,5 @@ exports.ConvertibleRetraction = damlTypes.assembleTemplate(
|
|
|
58
58
|
);
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
damlTypes.registerTemplate(exports.ConvertibleRetraction, ['
|
|
61
|
+
damlTypes.registerTemplate(exports.ConvertibleRetraction, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
62
62
|
|
|
@@ -37,7 +37,7 @@ exports.ConvertibleTransferOcfData = {
|
|
|
37
37
|
exports.ConvertibleTransfer = damlTypes.assembleTemplate(
|
|
38
38
|
{
|
|
39
39
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.ConvertibleTransfer:ConvertibleTransfer',
|
|
40
|
-
templateIdWithPackageId: '
|
|
40
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.ConvertibleTransfer:ConvertibleTransfer',
|
|
41
41
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
42
42
|
keyEncode: function () { throw 'EncodeError'; },
|
|
43
43
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, transfer_data: exports.ConvertibleTransferOcfData.decoder, }); }),
|
|
@@ -61,5 +61,5 @@ exports.ConvertibleTransfer = damlTypes.assembleTemplate(
|
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
damlTypes.registerTemplate(exports.ConvertibleTransfer, ['
|
|
64
|
+
damlTypes.registerTemplate(exports.ConvertibleTransfer, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
65
65
|
|
|
@@ -112,7 +112,7 @@ exports.DocumentOcfData = {
|
|
|
112
112
|
exports.Document = damlTypes.assembleTemplate(
|
|
113
113
|
{
|
|
114
114
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.Document:Document',
|
|
115
|
-
templateIdWithPackageId: '
|
|
115
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.Document:Document',
|
|
116
116
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
117
117
|
keyEncode: function () { throw 'EncodeError'; },
|
|
118
118
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, document_data: exports.DocumentOcfData.decoder, }); }),
|
|
@@ -136,5 +136,5 @@ exports.Document = damlTypes.assembleTemplate(
|
|
|
136
136
|
);
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
damlTypes.registerTemplate(exports.Document, ['
|
|
139
|
+
damlTypes.registerTemplate(exports.Document, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
140
140
|
|
|
@@ -33,7 +33,7 @@ exports.EquityCompensationAcceptanceOcfData = {
|
|
|
33
33
|
exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
34
34
|
{
|
|
35
35
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
36
|
-
templateIdWithPackageId: '
|
|
36
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
37
37
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
38
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
39
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, acceptance_data: exports.EquityCompensationAcceptanceOcfData.decoder, }); }),
|
|
@@ -57,5 +57,5 @@ exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['
|
|
60
|
+
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
61
61
|
|
|
@@ -36,7 +36,7 @@ exports.EquityCompensationCancellationOcfData = {
|
|
|
36
36
|
exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
42
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, cancellation_data: exports.EquityCompensationCancellationOcfData.decoder, }); }),
|
|
@@ -60,5 +60,5 @@ exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
64
64
|
|
|
@@ -36,7 +36,7 @@ exports.EquityCompensationExerciseOcfData = {
|
|
|
36
36
|
exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationExercise:EquityCompensationExercise',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationExercise:EquityCompensationExercise',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
42
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, exercise_data: exports.EquityCompensationExerciseOcfData.decoder, }); }),
|
|
@@ -60,5 +60,5 @@ exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
64
64
|
|
|
@@ -21,16 +21,17 @@ export declare type EquityCompensationIssuanceOcfData = {
|
|
|
21
21
|
security_law_exemptions: Fairmint_OpenCapTable_Types.OcfSecurityExemption[];
|
|
22
22
|
vestings: Fairmint_OpenCapTable_Types.OcfVesting[];
|
|
23
23
|
termination_exercise_windows: Fairmint_OpenCapTable_Types.OcfTerminationWindow[];
|
|
24
|
+
base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
24
25
|
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
25
26
|
consideration_text: damlTypes.Optional<string>;
|
|
26
|
-
base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
27
|
-
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
28
27
|
early_exercisable: damlTypes.Optional<boolean>;
|
|
28
|
+
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
29
29
|
expiration_date: damlTypes.Optional<damlTypes.Time>;
|
|
30
|
+
option_grant_type: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfOptionGrantType>;
|
|
30
31
|
stock_class_id: damlTypes.Optional<string>;
|
|
31
32
|
stock_plan_id: damlTypes.Optional<string>;
|
|
32
|
-
vesting_terms_id: damlTypes.Optional<string>;
|
|
33
33
|
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
34
|
+
vesting_terms_id: damlTypes.Optional<string>;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
export declare const EquityCompensationIssuanceOcfData:
|
|
@@ -16,7 +16,7 @@ var Fairmint_OpenCapTable_Types = require('../../../../Fairmint/OpenCapTable/Typ
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
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: Fairmint_OpenCapTable_Types.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.OcfSecurityExemption).decoder, vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTerminationWindow).decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
19
|
+
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.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.OcfSecurityExemption).decoder, vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTerminationWindow).decoder, base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.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.OcfMonetary).decoder), expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), option_grant_type: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfOptionGrantType).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
20
|
encode: function (__typed__) {
|
|
21
21
|
return {
|
|
22
22
|
id: damlTypes.Text.encode(__typed__.id),
|
|
@@ -30,16 +30,17 @@ exports.EquityCompensationIssuanceOcfData = {
|
|
|
30
30
|
security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).encode(__typed__.security_law_exemptions),
|
|
31
31
|
vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).encode(__typed__.vestings),
|
|
32
32
|
termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTerminationWindow).encode(__typed__.termination_exercise_windows),
|
|
33
|
+
base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.base_price),
|
|
33
34
|
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
34
35
|
consideration_text: damlTypes.Optional(damlTypes.Text).encode(__typed__.consideration_text),
|
|
35
|
-
base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.base_price),
|
|
36
|
-
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.exercise_price),
|
|
37
36
|
early_exercisable: damlTypes.Optional(damlTypes.Bool).encode(__typed__.early_exercisable),
|
|
37
|
+
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.exercise_price),
|
|
38
38
|
expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiration_date),
|
|
39
|
+
option_grant_type: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfOptionGrantType).encode(__typed__.option_grant_type),
|
|
39
40
|
stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_class_id),
|
|
40
41
|
stock_plan_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_plan_id),
|
|
41
|
-
vesting_terms_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.vesting_terms_id),
|
|
42
42
|
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
43
|
+
vesting_terms_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.vesting_terms_id),
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
,
|
|
@@ -50,7 +51,7 @@ exports.EquityCompensationIssuanceOcfData = {
|
|
|
50
51
|
exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
51
52
|
{
|
|
52
53
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
53
|
-
templateIdWithPackageId: '
|
|
54
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
54
55
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
55
56
|
keyEncode: function () { throw 'EncodeError'; },
|
|
56
57
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.EquityCompensationIssuanceOcfData.decoder, }); }),
|
|
@@ -74,5 +75,5 @@ exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
|
74
75
|
);
|
|
75
76
|
|
|
76
77
|
|
|
77
|
-
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['
|
|
78
|
+
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
78
79
|
|
|
@@ -38,7 +38,7 @@ exports.EquityCompensationReleaseOcfData = {
|
|
|
38
38
|
exports.EquityCompensationRelease = damlTypes.assembleTemplate(
|
|
39
39
|
{
|
|
40
40
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationRelease:EquityCompensationRelease',
|
|
41
|
-
templateIdWithPackageId: '
|
|
41
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationRelease:EquityCompensationRelease',
|
|
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({context: Fairmint_OpenCapTable_Types.Context.decoder, release_data: exports.EquityCompensationReleaseOcfData.decoder, }); }),
|
|
@@ -62,5 +62,5 @@ exports.EquityCompensationRelease = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.EquityCompensationRelease, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.EquityCompensationRelease, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
66
66
|
|
|
@@ -34,7 +34,7 @@ exports.EquityCompensationRepricingOcfData = {
|
|
|
34
34
|
exports.EquityCompensationRepricing = damlTypes.assembleTemplate(
|
|
35
35
|
{
|
|
36
36
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationRepricing:EquityCompensationRepricing',
|
|
37
|
-
templateIdWithPackageId: '
|
|
37
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationRepricing:EquityCompensationRepricing',
|
|
38
38
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
39
39
|
keyEncode: function () { throw 'EncodeError'; },
|
|
40
40
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, repricing_data: exports.EquityCompensationRepricingOcfData.decoder, }); }),
|
|
@@ -58,5 +58,5 @@ exports.EquityCompensationRepricing = damlTypes.assembleTemplate(
|
|
|
58
58
|
);
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
damlTypes.registerTemplate(exports.EquityCompensationRepricing, ['
|
|
61
|
+
damlTypes.registerTemplate(exports.EquityCompensationRepricing, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
62
62
|
|
|
@@ -34,7 +34,7 @@ exports.EquityCompensationRetractionOcfData = {
|
|
|
34
34
|
exports.EquityCompensationRetraction = damlTypes.assembleTemplate(
|
|
35
35
|
{
|
|
36
36
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationRetraction:EquityCompensationRetraction',
|
|
37
|
-
templateIdWithPackageId: '
|
|
37
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationRetraction:EquityCompensationRetraction',
|
|
38
38
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
39
39
|
keyEncode: function () { throw 'EncodeError'; },
|
|
40
40
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, retraction_data: exports.EquityCompensationRetractionOcfData.decoder, }); }),
|
|
@@ -58,5 +58,5 @@ exports.EquityCompensationRetraction = damlTypes.assembleTemplate(
|
|
|
58
58
|
);
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
damlTypes.registerTemplate(exports.EquityCompensationRetraction, ['
|
|
61
|
+
damlTypes.registerTemplate(exports.EquityCompensationRetraction, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
62
62
|
|
|
@@ -37,7 +37,7 @@ exports.EquityCompensationTransferOcfData = {
|
|
|
37
37
|
exports.EquityCompensationTransfer = damlTypes.assembleTemplate(
|
|
38
38
|
{
|
|
39
39
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.EquityCompensationTransfer:EquityCompensationTransfer',
|
|
40
|
-
templateIdWithPackageId: '
|
|
40
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.EquityCompensationTransfer:EquityCompensationTransfer',
|
|
41
41
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
42
42
|
keyEncode: function () { throw 'EncodeError'; },
|
|
43
43
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, transfer_data: exports.EquityCompensationTransferOcfData.decoder, }); }),
|
|
@@ -61,5 +61,5 @@ exports.EquityCompensationTransfer = damlTypes.assembleTemplate(
|
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
damlTypes.registerTemplate(exports.EquityCompensationTransfer, ['
|
|
64
|
+
damlTypes.registerTemplate(exports.EquityCompensationTransfer, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
65
65
|
|
|
@@ -9,29 +9,6 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
|
|
|
9
9
|
|
|
10
10
|
import * as Fairmint_OpenCapTable_Types from '../../../../Fairmint/OpenCapTable/Types/module';
|
|
11
11
|
|
|
12
|
-
export declare type OcfInitialSharesAuthorized =
|
|
13
|
-
| { tag: 'OcfInitialSharesNumeric'; value: damlTypes.Numeric }
|
|
14
|
-
| { tag: 'OcfInitialSharesEnum'; value: OcfAuthorizedShares }
|
|
15
|
-
;
|
|
16
|
-
|
|
17
|
-
export declare const OcfInitialSharesAuthorized:
|
|
18
|
-
damlTypes.Serializable<OcfInitialSharesAuthorized> & {
|
|
19
|
-
}
|
|
20
|
-
;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export declare type OcfAuthorizedShares =
|
|
24
|
-
| 'OcfAuthorizedSharesNotApplicable'
|
|
25
|
-
| 'OcfAuthorizedSharesUnlimited'
|
|
26
|
-
;
|
|
27
|
-
|
|
28
|
-
export declare const OcfAuthorizedShares:
|
|
29
|
-
damlTypes.Serializable<OcfAuthorizedShares> & {
|
|
30
|
-
}
|
|
31
|
-
& { readonly keys: OcfAuthorizedShares[] } & { readonly [e in OcfAuthorizedShares]: e }
|
|
32
|
-
;
|
|
33
|
-
|
|
34
|
-
|
|
35
12
|
export declare type IssuerOcfData = {
|
|
36
13
|
id: string;
|
|
37
14
|
country_of_formation: string;
|
|
@@ -44,7 +21,7 @@ export declare type IssuerOcfData = {
|
|
|
44
21
|
country_subdivision_name_of_formation: damlTypes.Optional<string>;
|
|
45
22
|
dba: damlTypes.Optional<string>;
|
|
46
23
|
email: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfEmail>;
|
|
47
|
-
initial_shares_authorized: damlTypes.Optional<OcfInitialSharesAuthorized>;
|
|
24
|
+
initial_shares_authorized: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfInitialSharesAuthorized>;
|
|
48
25
|
phone: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfPhone>;
|
|
49
26
|
};
|
|
50
27
|
|
|
@@ -15,32 +15,8 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
15
15
|
var Fairmint_OpenCapTable_Types = require('../../../../Fairmint/OpenCapTable/Types/module');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.OcfInitialSharesAuthorized = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfInitialSharesNumeric'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('OcfInitialSharesEnum'), value: exports.OcfAuthorizedShares.decoder, })); }),
|
|
20
|
-
encode: function (__typed__) {
|
|
21
|
-
switch(__typed__.tag) {
|
|
22
|
-
case 'OcfInitialSharesNumeric': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
|
|
23
|
-
case 'OcfInitialSharesEnum': return {tag: __typed__.tag, value: exports.OcfAuthorizedShares.encode(__typed__.value)};
|
|
24
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfInitialSharesAuthorized';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
,
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.OcfAuthorizedShares = {
|
|
33
|
-
OcfAuthorizedSharesNotApplicable: 'OcfAuthorizedSharesNotApplicable',
|
|
34
|
-
OcfAuthorizedSharesUnlimited: 'OcfAuthorizedSharesUnlimited',
|
|
35
|
-
keys: ['OcfAuthorizedSharesNotApplicable','OcfAuthorizedSharesUnlimited',],
|
|
36
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesNotApplicable), jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesUnlimited)); }),
|
|
37
|
-
encode: function (__typed__) { return __typed__; },
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
18
|
exports.IssuerOcfData = {
|
|
43
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, country_of_formation: damlTypes.Text.decoder, formation_date: damlTypes.Time.decoder, legal_name: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, tax_ids: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTaxID).decoder, address: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfAddress).decoder), country_subdivision_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country_subdivision_name_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), dba: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), email: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfEmail).decoder), initial_shares_authorized: jtv.Decoder.withDefault(null, damlTypes.Optional(
|
|
19
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, country_of_formation: damlTypes.Text.decoder, formation_date: damlTypes.Time.decoder, legal_name: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, tax_ids: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTaxID).decoder, address: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfAddress).decoder), country_subdivision_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country_subdivision_name_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), dba: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), email: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfEmail).decoder), initial_shares_authorized: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfInitialSharesAuthorized).decoder), phone: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfPhone).decoder), }); }),
|
|
44
20
|
encode: function (__typed__) {
|
|
45
21
|
return {
|
|
46
22
|
id: damlTypes.Text.encode(__typed__.id),
|
|
@@ -54,7 +30,7 @@ exports.IssuerOcfData = {
|
|
|
54
30
|
country_subdivision_name_of_formation: damlTypes.Optional(damlTypes.Text).encode(__typed__.country_subdivision_name_of_formation),
|
|
55
31
|
dba: damlTypes.Optional(damlTypes.Text).encode(__typed__.dba),
|
|
56
32
|
email: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfEmail).encode(__typed__.email),
|
|
57
|
-
initial_shares_authorized: damlTypes.Optional(
|
|
33
|
+
initial_shares_authorized: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfInitialSharesAuthorized).encode(__typed__.initial_shares_authorized),
|
|
58
34
|
phone: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfPhone).encode(__typed__.phone),
|
|
59
35
|
};
|
|
60
36
|
}
|
|
@@ -66,7 +42,7 @@ exports.IssuerOcfData = {
|
|
|
66
42
|
exports.Issuer = damlTypes.assembleTemplate(
|
|
67
43
|
{
|
|
68
44
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.Issuer:Issuer',
|
|
69
|
-
templateIdWithPackageId: '
|
|
45
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.Issuer:Issuer',
|
|
70
46
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
71
47
|
keyEncode: function () { throw 'EncodeError'; },
|
|
72
48
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuer_data: exports.IssuerOcfData.decoder, }); }),
|
|
@@ -90,5 +66,5 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
90
66
|
);
|
|
91
67
|
|
|
92
68
|
|
|
93
|
-
damlTypes.registerTemplate(exports.Issuer, ['
|
|
69
|
+
damlTypes.registerTemplate(exports.Issuer, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
94
70
|
|
|
@@ -36,7 +36,7 @@ exports.IssuerAuthorizedSharesAdjustmentOcfData = {
|
|
|
36
36
|
exports.IssuerAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
42
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.IssuerAuthorizedSharesAdjustmentOcfData.decoder, }); }),
|
|
@@ -60,5 +60,5 @@ exports.IssuerAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.IssuerAuthorizedSharesAdjustment, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.IssuerAuthorizedSharesAdjustment, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
64
64
|
|
|
@@ -108,7 +108,7 @@ exports.StakeholderOcfData = {
|
|
|
108
108
|
exports.Stakeholder = damlTypes.assembleTemplate(
|
|
109
109
|
{
|
|
110
110
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.Stakeholder:Stakeholder',
|
|
111
|
-
templateIdWithPackageId: '
|
|
111
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.Stakeholder:Stakeholder',
|
|
112
112
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
113
113
|
keyEncode: function () { throw 'EncodeError'; },
|
|
114
114
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, stakeholder_data: exports.StakeholderOcfData.decoder, }); }),
|
|
@@ -132,5 +132,5 @@ exports.Stakeholder = damlTypes.assembleTemplate(
|
|
|
132
132
|
);
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
damlTypes.registerTemplate(exports.Stakeholder, ['
|
|
135
|
+
damlTypes.registerTemplate(exports.Stakeholder, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
136
136
|
|
|
@@ -35,7 +35,7 @@ exports.StakeholderRelationshipChangeEventOcfData = {
|
|
|
35
35
|
exports.StakeholderRelationshipChangeEvent = damlTypes.assembleTemplate(
|
|
36
36
|
{
|
|
37
37
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.StakeholderRelationshipChangeEvent:StakeholderRelationshipChangeEvent',
|
|
38
|
-
templateIdWithPackageId: '
|
|
38
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.StakeholderRelationshipChangeEvent:StakeholderRelationshipChangeEvent',
|
|
39
39
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
40
40
|
keyEncode: function () { throw 'EncodeError'; },
|
|
41
41
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, event_data: exports.StakeholderRelationshipChangeEventOcfData.decoder, }); }),
|
|
@@ -59,5 +59,5 @@ exports.StakeholderRelationshipChangeEvent = damlTypes.assembleTemplate(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
damlTypes.registerTemplate(exports.StakeholderRelationshipChangeEvent, ['
|
|
62
|
+
damlTypes.registerTemplate(exports.StakeholderRelationshipChangeEvent, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
63
63
|
|
|
@@ -35,7 +35,7 @@ exports.StakeholderStatusChangeEventOcfData = {
|
|
|
35
35
|
exports.StakeholderStatusChangeEvent = damlTypes.assembleTemplate(
|
|
36
36
|
{
|
|
37
37
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.StakeholderStatusChangeEvent:StakeholderStatusChangeEvent',
|
|
38
|
-
templateIdWithPackageId: '
|
|
38
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.StakeholderStatusChangeEvent:StakeholderStatusChangeEvent',
|
|
39
39
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
40
40
|
keyEncode: function () { throw 'EncodeError'; },
|
|
41
41
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, event_data: exports.StakeholderStatusChangeEventOcfData.decoder, }); }),
|
|
@@ -59,5 +59,5 @@ exports.StakeholderStatusChangeEvent = damlTypes.assembleTemplate(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
damlTypes.registerTemplate(exports.StakeholderStatusChangeEvent, ['
|
|
62
|
+
damlTypes.registerTemplate(exports.StakeholderStatusChangeEvent, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
63
63
|
|
|
@@ -33,7 +33,7 @@ exports.StockAcceptanceOcfData = {
|
|
|
33
33
|
exports.StockAcceptance = damlTypes.assembleTemplate(
|
|
34
34
|
{
|
|
35
35
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.StockAcceptance:StockAcceptance',
|
|
36
|
-
templateIdWithPackageId: '
|
|
36
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.StockAcceptance:StockAcceptance',
|
|
37
37
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
38
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
39
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, acceptance_data: exports.StockAcceptanceOcfData.decoder, }); }),
|
|
@@ -57,5 +57,5 @@ exports.StockAcceptance = damlTypes.assembleTemplate(
|
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
damlTypes.registerTemplate(exports.StockAcceptance, ['
|
|
60
|
+
damlTypes.registerTemplate(exports.StockAcceptance, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
61
61
|
|
|
@@ -36,7 +36,7 @@ exports.StockCancellationOcfData = {
|
|
|
36
36
|
exports.StockCancellation = damlTypes.assembleTemplate(
|
|
37
37
|
{
|
|
38
38
|
templateId: '#OpenCapTable-v28:Fairmint.OpenCapTable.OCF.StockCancellation:StockCancellation',
|
|
39
|
-
templateIdWithPackageId: '
|
|
39
|
+
templateIdWithPackageId: 'c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56:Fairmint.OpenCapTable.OCF.StockCancellation:StockCancellation',
|
|
40
40
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
41
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
42
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, cancellation_data: exports.StockCancellationOcfData.decoder, }); }),
|
|
@@ -60,5 +60,5 @@ exports.StockCancellation = damlTypes.assembleTemplate(
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
damlTypes.registerTemplate(exports.StockCancellation, ['
|
|
63
|
+
damlTypes.registerTemplate(exports.StockCancellation, ['c8b6c49bcfc566bce934ef2a53b3f0f3a96669450df562813b81331d0f025b56', '#OpenCapTable-v28']);
|
|
64
64
|
|
|
@@ -13,7 +13,7 @@ export declare type StockClassOcfData = {
|
|
|
13
13
|
id: string;
|
|
14
14
|
class_type: Fairmint_OpenCapTable_Types.OcfStockClassType;
|
|
15
15
|
default_id_prefix: string;
|
|
16
|
-
initial_shares_authorized:
|
|
16
|
+
initial_shares_authorized: Fairmint_OpenCapTable_Types.OcfInitialSharesAuthorized;
|
|
17
17
|
name: string;
|
|
18
18
|
seniority: damlTypes.Numeric;
|
|
19
19
|
votes_per_share: damlTypes.Numeric;
|