"use strict";
/* eslint-disable-next-line no-unused-vars */
function __export(m) {
/* eslint-disable-next-line no-prototype-builtins */
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable-next-line no-unused-vars */
var jtv = require('@mojotech/json-type-validation');
/* eslint-disable-next-line no-unused-vars */
var damlTypes = require('@daml/types');

var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');

var Fairmint_OpenCapTable_OCF_ConvertibleAcceptance = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module');
var Fairmint_OpenCapTable_OCF_ConvertibleCancellation = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module');
var Fairmint_OpenCapTable_OCF_ConvertibleConversion = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleConversion/module');
var Fairmint_OpenCapTable_OCF_ConvertibleIssuance = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module');
var Fairmint_OpenCapTable_OCF_ConvertibleRetraction = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module');
var Fairmint_OpenCapTable_OCF_ConvertibleTransfer = require('../../../Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module');
var Fairmint_OpenCapTable_OCF_Document = require('../../../Fairmint/OpenCapTable/OCF/Document/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationCancellation = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationExercise = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationIssuance = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationRelease = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationRepricing = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationRetraction = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module');
var Fairmint_OpenCapTable_OCF_EquityCompensationTransfer = require('../../../Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module');
var Fairmint_OpenCapTable_OCF_Issuer = require('../../../Fairmint/OpenCapTable/OCF/Issuer/module');
var Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment = require('../../../Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module');
var Fairmint_OpenCapTable_OCF_Stakeholder = require('../../../Fairmint/OpenCapTable/OCF/Stakeholder/module');
var Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent = require('../../../Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module');
var Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent = require('../../../Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module');
var Fairmint_OpenCapTable_OCF_StockAcceptance = require('../../../Fairmint/OpenCapTable/OCF/StockAcceptance/module');
var Fairmint_OpenCapTable_OCF_StockCancellation = require('../../../Fairmint/OpenCapTable/OCF/StockCancellation/module');
var Fairmint_OpenCapTable_OCF_StockClass = require('../../../Fairmint/OpenCapTable/OCF/StockClass/module');
var Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment = require('../../../Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module');
var Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment = require('../../../Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module');
var Fairmint_OpenCapTable_OCF_StockClassSplit = require('../../../Fairmint/OpenCapTable/OCF/StockClassSplit/module');
var Fairmint_OpenCapTable_OCF_StockConsolidation = require('../../../Fairmint/OpenCapTable/OCF/StockConsolidation/module');
var Fairmint_OpenCapTable_OCF_StockConversion = require('../../../Fairmint/OpenCapTable/OCF/StockConversion/module');
var Fairmint_OpenCapTable_OCF_StockIssuance = require('../../../Fairmint/OpenCapTable/OCF/StockIssuance/module');
var Fairmint_OpenCapTable_OCF_StockLegendTemplate = require('../../../Fairmint/OpenCapTable/OCF/StockLegendTemplate/module');
var Fairmint_OpenCapTable_OCF_StockPlan = require('../../../Fairmint/OpenCapTable/OCF/StockPlan/module');
var Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment = require('../../../Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module');
var Fairmint_OpenCapTable_OCF_StockPlanReturnToPool = require('../../../Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module');
var Fairmint_OpenCapTable_OCF_StockReissuance = require('../../../Fairmint/OpenCapTable/OCF/StockReissuance/module');
var Fairmint_OpenCapTable_OCF_StockRepurchase = require('../../../Fairmint/OpenCapTable/OCF/StockRepurchase/module');
var Fairmint_OpenCapTable_OCF_StockRetraction = require('../../../Fairmint/OpenCapTable/OCF/StockRetraction/module');
var Fairmint_OpenCapTable_OCF_StockTransfer = require('../../../Fairmint/OpenCapTable/OCF/StockTransfer/module');
var Fairmint_OpenCapTable_OCF_Valuation = require('../../../Fairmint/OpenCapTable/OCF/Valuation/module');
var Fairmint_OpenCapTable_OCF_VestingAcceleration = require('../../../Fairmint/OpenCapTable/OCF/VestingAcceleration/module');
var Fairmint_OpenCapTable_OCF_VestingEvent = require('../../../Fairmint/OpenCapTable/OCF/VestingEvent/module');
var Fairmint_OpenCapTable_OCF_VestingStart = require('../../../Fairmint/OpenCapTable/OCF/VestingStart/module');
var Fairmint_OpenCapTable_OCF_VestingTerms = require('../../../Fairmint/OpenCapTable/OCF/VestingTerms/module');
var Fairmint_OpenCapTable_OCF_WarrantAcceptance = require('../../../Fairmint/OpenCapTable/OCF/WarrantAcceptance/module');
var Fairmint_OpenCapTable_OCF_WarrantCancellation = require('../../../Fairmint/OpenCapTable/OCF/WarrantCancellation/module');
var Fairmint_OpenCapTable_OCF_WarrantExercise = require('../../../Fairmint/OpenCapTable/OCF/WarrantExercise/module');
var Fairmint_OpenCapTable_OCF_WarrantIssuance = require('../../../Fairmint/OpenCapTable/OCF/WarrantIssuance/module');
var Fairmint_OpenCapTable_OCF_WarrantRetraction = require('../../../Fairmint/OpenCapTable/OCF/WarrantRetraction/module');
var Fairmint_OpenCapTable_OCF_WarrantTransfer = require('../../../Fairmint/OpenCapTable/OCF/WarrantTransfer/module');
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');


exports.UpdateCapTable = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({creates: damlTypes.List(exports.OcfCreateData).decoder, edits: damlTypes.List(exports.OcfEditData).decoder, deletes: damlTypes.List(exports.OcfDeleteData).decoder, }); }),
  encode: function (__typed__) {
  return {
    creates: damlTypes.List(exports.OcfCreateData).encode(__typed__.creates),
    edits: damlTypes.List(exports.OcfEditData).encode(__typed__.edits),
    deletes: damlTypes.List(exports.OcfDeleteData).encode(__typed__.deletes),
  };
}
,
};



exports.EditIssuer = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({new_issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData.decoder, }); }),
  encode: function (__typed__) {
  return {
    new_issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData.encode(__typed__.new_issuer_data),
  };
}
,
};



exports.CapTable = damlTypes.assembleTemplate(
{
  templateId: '#OpenCapTable-v26:Fairmint.OpenCapTable.CapTable:CapTable',
  templateIdWithPackageId: '6262fe13fb1ecdf62d70b4412921c1a04085ab7cb8ac7035fc47ae80e5ff779e:Fairmint.OpenCapTable.CapTable:CapTable',
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
  keyEncode: function () { throw 'EncodeError'; },
  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, }); }),
  encode: function (__typed__) {
  return {
    context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
    issuer: damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Issuer.Issuer).encode(__typed__.issuer),
    convertible_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptance)).encode(__typed__.convertible_acceptances),
    convertible_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellation)).encode(__typed__.convertible_cancellations),
    convertible_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversion)).encode(__typed__.convertible_conversions),
    convertible_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuance)).encode(__typed__.convertible_issuances),
    convertible_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetraction)).encode(__typed__.convertible_retractions),
    convertible_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransfer)).encode(__typed__.convertible_transfers),
    documents: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Document.Document)).encode(__typed__.documents),
    equity_compensation_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptance)).encode(__typed__.equity_compensation_acceptances),
    equity_compensation_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellation)).encode(__typed__.equity_compensation_cancellations),
    equity_compensation_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExercise)).encode(__typed__.equity_compensation_exercises),
    equity_compensation_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuance)).encode(__typed__.equity_compensation_issuances),
    equity_compensation_releases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationRelease)).encode(__typed__.equity_compensation_releases),
    equity_compensation_repricings: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricing)).encode(__typed__.equity_compensation_repricings),
    equity_compensation_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetraction)).encode(__typed__.equity_compensation_retractions),
    equity_compensation_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransfer)).encode(__typed__.equity_compensation_transfers),
    issuer_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment)).encode(__typed__.issuer_authorized_shares_adjustments),
    stakeholders: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Stakeholder.Stakeholder)).encode(__typed__.stakeholders),
    stakeholder_relationship_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEvent)).encode(__typed__.stakeholder_relationship_change_events),
    stakeholder_status_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEvent)).encode(__typed__.stakeholder_status_change_events),
    stock_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptance)).encode(__typed__.stock_acceptances),
    stock_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellation)).encode(__typed__.stock_cancellations),
    stock_classes: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClass.StockClass)).encode(__typed__.stock_classes),
    stock_class_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment)).encode(__typed__.stock_class_authorized_shares_adjustments),
    stock_class_conversion_ratio_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustment)).encode(__typed__.stock_class_conversion_ratio_adjustments),
    stock_class_splits: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplit)).encode(__typed__.stock_class_splits),
    stock_consolidations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidation)).encode(__typed__.stock_consolidations),
    stock_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConversion.StockConversion)).encode(__typed__.stock_conversions),
    stock_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuance)).encode(__typed__.stock_issuances),
    stock_legend_templates: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplate)).encode(__typed__.stock_legend_templates),
    stock_plans: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlan.StockPlan)).encode(__typed__.stock_plans),
    stock_plan_pool_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustment)).encode(__typed__.stock_plan_pool_adjustments),
    stock_plan_return_to_pools: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPool)).encode(__typed__.stock_plan_return_to_pools),
    stock_reissuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuance)).encode(__typed__.stock_reissuances),
    stock_repurchases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchase)).encode(__typed__.stock_repurchases),
    stock_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRetraction.StockRetraction)).encode(__typed__.stock_retractions),
    stock_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockTransfer.StockTransfer)).encode(__typed__.stock_transfers),
    valuations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Valuation.Valuation)).encode(__typed__.valuations),
    vesting_accelerations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAcceleration)).encode(__typed__.vesting_accelerations),
    vesting_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingEvent.VestingEvent)).encode(__typed__.vesting_events),
    vesting_starts: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingStart.VestingStart)).encode(__typed__.vesting_starts),
    vesting_terms: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingTerms.VestingTerms)).encode(__typed__.vesting_terms),
    warrant_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptance)).encode(__typed__.warrant_acceptances),
    warrant_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellation)).encode(__typed__.warrant_cancellations),
    warrant_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExercise)).encode(__typed__.warrant_exercises),
    warrant_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuance)).encode(__typed__.warrant_issuances),
    warrant_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetraction)).encode(__typed__.warrant_retractions),
    warrant_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransfer)).encode(__typed__.warrant_transfers),
  };
}
,
  UpdateCapTable: {
    template: function () { return exports.CapTable; },
    choiceName: 'UpdateCapTable',
    argumentDecoder: damlTypes.lazyMemo(function () { return exports.UpdateCapTable.decoder; }),
    argumentEncode: function (__typed__) { return exports.UpdateCapTable.encode(__typed__); },
    resultDecoder: damlTypes.lazyMemo(function () { return exports.UpdateCapTableResult.decoder; }),
    resultEncode: function (__typed__) { return exports.UpdateCapTableResult.encode(__typed__); },
  },
  Archive: {
    template: function () { return exports.CapTable; },
    choiceName: 'Archive',
    argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
    argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
    resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
    resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
  },
  EditIssuer: {
    template: function () { return exports.CapTable; },
    choiceName: 'EditIssuer',
    argumentDecoder: damlTypes.lazyMemo(function () { return exports.EditIssuer.decoder; }),
    argumentEncode: function (__typed__) { return exports.EditIssuer.encode(__typed__); },
    resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.CapTable).decoder; }),
    resultEncode: function (__typed__) { return damlTypes.ContractId(exports.CapTable).encode(__typed__); },
  },
}

);


damlTypes.registerTemplate(exports.CapTable, ['6262fe13fb1ecdf62d70b4412921c1a04085ab7cb8ac7035fc47ae80e5ff779e', '#OpenCapTable-v26']);



exports.CapTableMaps = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({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, }); }),
  encode: function (__typed__) {
  return {
    convertible_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptance)).encode(__typed__.convertible_acceptances),
    convertible_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellation)).encode(__typed__.convertible_cancellations),
    convertible_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversion)).encode(__typed__.convertible_conversions),
    convertible_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuance)).encode(__typed__.convertible_issuances),
    convertible_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetraction)).encode(__typed__.convertible_retractions),
    convertible_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransfer)).encode(__typed__.convertible_transfers),
    documents: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Document.Document)).encode(__typed__.documents),
    equity_compensation_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptance)).encode(__typed__.equity_compensation_acceptances),
    equity_compensation_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellation)).encode(__typed__.equity_compensation_cancellations),
    equity_compensation_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExercise)).encode(__typed__.equity_compensation_exercises),
    equity_compensation_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuance)).encode(__typed__.equity_compensation_issuances),
    equity_compensation_releases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationRelease)).encode(__typed__.equity_compensation_releases),
    equity_compensation_repricings: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricing)).encode(__typed__.equity_compensation_repricings),
    equity_compensation_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetraction)).encode(__typed__.equity_compensation_retractions),
    equity_compensation_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransfer)).encode(__typed__.equity_compensation_transfers),
    issuer_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment)).encode(__typed__.issuer_authorized_shares_adjustments),
    stakeholders: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Stakeholder.Stakeholder)).encode(__typed__.stakeholders),
    stakeholder_relationship_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEvent)).encode(__typed__.stakeholder_relationship_change_events),
    stakeholder_status_change_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEvent)).encode(__typed__.stakeholder_status_change_events),
    stock_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptance)).encode(__typed__.stock_acceptances),
    stock_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellation)).encode(__typed__.stock_cancellations),
    stock_classes: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClass.StockClass)).encode(__typed__.stock_classes),
    stock_class_authorized_shares_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment)).encode(__typed__.stock_class_authorized_shares_adjustments),
    stock_class_conversion_ratio_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustment)).encode(__typed__.stock_class_conversion_ratio_adjustments),
    stock_class_splits: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplit)).encode(__typed__.stock_class_splits),
    stock_consolidations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidation)).encode(__typed__.stock_consolidations),
    stock_conversions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockConversion.StockConversion)).encode(__typed__.stock_conversions),
    stock_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuance)).encode(__typed__.stock_issuances),
    stock_legend_templates: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplate)).encode(__typed__.stock_legend_templates),
    stock_plans: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlan.StockPlan)).encode(__typed__.stock_plans),
    stock_plan_pool_adjustments: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustment)).encode(__typed__.stock_plan_pool_adjustments),
    stock_plan_return_to_pools: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPool)).encode(__typed__.stock_plan_return_to_pools),
    stock_reissuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuance)).encode(__typed__.stock_reissuances),
    stock_repurchases: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchase)).encode(__typed__.stock_repurchases),
    stock_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockRetraction.StockRetraction)).encode(__typed__.stock_retractions),
    stock_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_StockTransfer.StockTransfer)).encode(__typed__.stock_transfers),
    valuations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_Valuation.Valuation)).encode(__typed__.valuations),
    vesting_accelerations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAcceleration)).encode(__typed__.vesting_accelerations),
    vesting_events: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingEvent.VestingEvent)).encode(__typed__.vesting_events),
    vesting_starts: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingStart.VestingStart)).encode(__typed__.vesting_starts),
    vesting_terms: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_VestingTerms.VestingTerms)).encode(__typed__.vesting_terms),
    warrant_acceptances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptance)).encode(__typed__.warrant_acceptances),
    warrant_cancellations: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellation)).encode(__typed__.warrant_cancellations),
    warrant_exercises: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExercise)).encode(__typed__.warrant_exercises),
    warrant_issuances: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuance)).encode(__typed__.warrant_issuances),
    warrant_retractions: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetraction)).encode(__typed__.warrant_retractions),
    warrant_transfers: damlTypes.Map(damlTypes.Text, damlTypes.ContractId(Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransfer)).encode(__typed__.warrant_transfers),
  };
}
,
};



exports.UpdateCapTableResult = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({updatedCapTableCid: damlTypes.ContractId(exports.CapTable).decoder, createdIds: damlTypes.List(damlTypes.Text).decoder, editedIds: damlTypes.List(damlTypes.Text).decoder, }); }),
  encode: function (__typed__) {
  return {
    updatedCapTableCid: damlTypes.ContractId(exports.CapTable).encode(__typed__.updatedCapTableCid),
    createdIds: damlTypes.List(damlTypes.Text).encode(__typed__.createdIds),
    editedIds: damlTypes.List(damlTypes.Text).encode(__typed__.editedIds),
  };
}
,
};



exports.OcfDeleteData = {
  decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfDeleteConvertibleAcceptance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteConvertibleCancellation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteConvertibleConversion'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteConvertibleIssuance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteConvertibleRetraction'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteConvertibleTransfer'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteDocument'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationAcceptance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationCancellation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationExercise'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationIssuance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationRelease'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationRepricing'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationRetraction'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteEquityCompensationTransfer'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteIssuerAuthorizedSharesAdjustment'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStakeholder'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStakeholderRelationshipChangeEvent'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStakeholderStatusChangeEvent'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockAcceptance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockCancellation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockClass'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockClassAuthorizedSharesAdjustment'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockClassConversionRatioAdjustment'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockClassSplit'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockConsolidation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockConversion'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockIssuance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockLegendTemplate'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockPlan'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockPlanPoolAdjustment'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockPlanReturnToPool'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockReissuance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockRepurchase'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockRetraction'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteStockTransfer'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteValuation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteVestingAcceleration'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteVestingEvent'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteVestingStart'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteVestingTerms'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantAcceptance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantCancellation'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantExercise'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantIssuance'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantRetraction'), value: damlTypes.Text.decoder, }), jtv.object({tag: jtv.constant('OcfDeleteWarrantTransfer'), value: damlTypes.Text.decoder, })); }),
  encode: function (__typed__) {
  switch(__typed__.tag) {
    case 'OcfDeleteConvertibleAcceptance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteConvertibleCancellation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteConvertibleConversion': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteConvertibleIssuance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteConvertibleRetraction': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteConvertibleTransfer': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteDocument': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationAcceptance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationCancellation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationExercise': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationIssuance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationRelease': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationRepricing': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationRetraction': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteEquityCompensationTransfer': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteIssuerAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStakeholder': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStakeholderRelationshipChangeEvent': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStakeholderStatusChangeEvent': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockAcceptance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockCancellation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockClass': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockClassAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockClassConversionRatioAdjustment': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockClassSplit': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockConsolidation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockConversion': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockIssuance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockLegendTemplate': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockPlan': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockPlanPoolAdjustment': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockPlanReturnToPool': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockReissuance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockRepurchase': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockRetraction': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteStockTransfer': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteValuation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteVestingAcceleration': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteVestingEvent': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteVestingStart': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteVestingTerms': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantAcceptance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantCancellation': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantExercise': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantIssuance': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantRetraction': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    case 'OcfDeleteWarrantTransfer': return {tag: __typed__.tag, value: damlTypes.Text.encode(__typed__.value)};
    default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfDeleteData';
  }
}
,
};



exports.OcfEditData = {
  decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfEditConvertibleAcceptance'), value: Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditConvertibleCancellation'), value: Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditConvertibleConversion'), value: Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditConvertibleIssuance'), value: Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditConvertibleRetraction'), value: Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditConvertibleTransfer'), value: Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditDocument'), value: Fairmint_OpenCapTable_OCF_Document.DocumentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationAcceptance'), value: Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationCancellation'), value: Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationExercise'), value: Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExerciseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationIssuance'), value: Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationRelease'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationReleaseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationRepricing'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricingOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationRetraction'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditEquityCompensationTransfer'), value: Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditIssuerAuthorizedSharesAdjustment'), value: Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStakeholder'), value: Fairmint_OpenCapTable_OCF_Stakeholder.StakeholderOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStakeholderRelationshipChangeEvent'), value: Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStakeholderStatusChangeEvent'), value: Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockAcceptance'), value: Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockCancellation'), value: Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockClass'), value: Fairmint_OpenCapTable_OCF_StockClass.StockClassOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockClassAuthorizedSharesAdjustment'), value: Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockClassConversionRatioAdjustment'), value: Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockClassSplit'), value: Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplitOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockConsolidation'), value: Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockConversion'), value: Fairmint_OpenCapTable_OCF_StockConversion.StockConversionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockIssuance'), value: Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockLegendTemplate'), value: Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplateOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockPlan'), value: Fairmint_OpenCapTable_OCF_StockPlan.StockPlanOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockPlanPoolAdjustment'), value: Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockPlanReturnToPool'), value: Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPoolOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockReissuance'), value: Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockRepurchase'), value: Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchaseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockRetraction'), value: Fairmint_OpenCapTable_OCF_StockRetraction.StockRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditStockTransfer'), value: Fairmint_OpenCapTable_OCF_StockTransfer.StockTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditValuation'), value: Fairmint_OpenCapTable_OCF_Valuation.ValuationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditVestingAcceleration'), value: Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAccelerationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditVestingEvent'), value: Fairmint_OpenCapTable_OCF_VestingEvent.VestingEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditVestingStart'), value: Fairmint_OpenCapTable_OCF_VestingStart.VestingStartOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditVestingTerms'), value: Fairmint_OpenCapTable_OCF_VestingTerms.VestingTermsOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantAcceptance'), value: Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantCancellation'), value: Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantExercise'), value: Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExerciseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantIssuance'), value: Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantRetraction'), value: Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfEditWarrantTransfer'), value: Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransferOcfData.decoder, })); }),
  encode: function (__typed__) {
  switch(__typed__.tag) {
    case 'OcfEditConvertibleAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfEditConvertibleCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellationOcfData.encode(__typed__.value)};
    case 'OcfEditConvertibleConversion': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversionOcfData.encode(__typed__.value)};
    case 'OcfEditConvertibleIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuanceOcfData.encode(__typed__.value)};
    case 'OcfEditConvertibleRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetractionOcfData.encode(__typed__.value)};
    case 'OcfEditConvertibleTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransferOcfData.encode(__typed__.value)};
    case 'OcfEditDocument': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Document.DocumentOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellationOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationExercise': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExerciseOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuanceOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationRelease': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationReleaseOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationRepricing': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricingOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetractionOcfData.encode(__typed__.value)};
    case 'OcfEditEquityCompensationTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransferOcfData.encode(__typed__.value)};
    case 'OcfEditIssuerAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfEditStakeholder': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Stakeholder.StakeholderOcfData.encode(__typed__.value)};
    case 'OcfEditStakeholderRelationshipChangeEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEventOcfData.encode(__typed__.value)};
    case 'OcfEditStakeholderStatusChangeEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEventOcfData.encode(__typed__.value)};
    case 'OcfEditStockAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfEditStockCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellationOcfData.encode(__typed__.value)};
    case 'OcfEditStockClass': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClass.StockClassOcfData.encode(__typed__.value)};
    case 'OcfEditStockClassAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfEditStockClassConversionRatioAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfEditStockClassSplit': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplitOcfData.encode(__typed__.value)};
    case 'OcfEditStockConsolidation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidationOcfData.encode(__typed__.value)};
    case 'OcfEditStockConversion': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockConversion.StockConversionOcfData.encode(__typed__.value)};
    case 'OcfEditStockIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuanceOcfData.encode(__typed__.value)};
    case 'OcfEditStockLegendTemplate': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplateOcfData.encode(__typed__.value)};
    case 'OcfEditStockPlan': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlan.StockPlanOcfData.encode(__typed__.value)};
    case 'OcfEditStockPlanPoolAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfEditStockPlanReturnToPool': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPoolOcfData.encode(__typed__.value)};
    case 'OcfEditStockReissuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuanceOcfData.encode(__typed__.value)};
    case 'OcfEditStockRepurchase': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchaseOcfData.encode(__typed__.value)};
    case 'OcfEditStockRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockRetraction.StockRetractionOcfData.encode(__typed__.value)};
    case 'OcfEditStockTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockTransfer.StockTransferOcfData.encode(__typed__.value)};
    case 'OcfEditValuation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Valuation.ValuationOcfData.encode(__typed__.value)};
    case 'OcfEditVestingAcceleration': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAccelerationOcfData.encode(__typed__.value)};
    case 'OcfEditVestingEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingEvent.VestingEventOcfData.encode(__typed__.value)};
    case 'OcfEditVestingStart': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingStart.VestingStartOcfData.encode(__typed__.value)};
    case 'OcfEditVestingTerms': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingTerms.VestingTermsOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellationOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantExercise': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExerciseOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuanceOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetractionOcfData.encode(__typed__.value)};
    case 'OcfEditWarrantTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransferOcfData.encode(__typed__.value)};
    default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfEditData';
  }
}
,
};



exports.OcfCreateData = {
  decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfCreateConvertibleAcceptance'), value: Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateConvertibleCancellation'), value: Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateConvertibleConversion'), value: Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateConvertibleIssuance'), value: Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateConvertibleRetraction'), value: Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateConvertibleTransfer'), value: Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateDocument'), value: Fairmint_OpenCapTable_OCF_Document.DocumentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationAcceptance'), value: Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationCancellation'), value: Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationExercise'), value: Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExerciseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationIssuance'), value: Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationRelease'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationReleaseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationRepricing'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricingOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationRetraction'), value: Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateEquityCompensationTransfer'), value: Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateIssuerAuthorizedSharesAdjustment'), value: Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStakeholder'), value: Fairmint_OpenCapTable_OCF_Stakeholder.StakeholderOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStakeholderRelationshipChangeEvent'), value: Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStakeholderStatusChangeEvent'), value: Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockAcceptance'), value: Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockCancellation'), value: Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockClass'), value: Fairmint_OpenCapTable_OCF_StockClass.StockClassOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockClassAuthorizedSharesAdjustment'), value: Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockClassConversionRatioAdjustment'), value: Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockClassSplit'), value: Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplitOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockConsolidation'), value: Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockConversion'), value: Fairmint_OpenCapTable_OCF_StockConversion.StockConversionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockIssuance'), value: Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockLegendTemplate'), value: Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplateOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockPlan'), value: Fairmint_OpenCapTable_OCF_StockPlan.StockPlanOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockPlanPoolAdjustment'), value: Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustmentOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockPlanReturnToPool'), value: Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPoolOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockReissuance'), value: Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockRepurchase'), value: Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchaseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockRetraction'), value: Fairmint_OpenCapTable_OCF_StockRetraction.StockRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateStockTransfer'), value: Fairmint_OpenCapTable_OCF_StockTransfer.StockTransferOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateValuation'), value: Fairmint_OpenCapTable_OCF_Valuation.ValuationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateVestingAcceleration'), value: Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAccelerationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateVestingEvent'), value: Fairmint_OpenCapTable_OCF_VestingEvent.VestingEventOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateVestingStart'), value: Fairmint_OpenCapTable_OCF_VestingStart.VestingStartOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateVestingTerms'), value: Fairmint_OpenCapTable_OCF_VestingTerms.VestingTermsOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantAcceptance'), value: Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantCancellation'), value: Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellationOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantExercise'), value: Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExerciseOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantIssuance'), value: Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuanceOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantRetraction'), value: Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetractionOcfData.decoder, }), jtv.object({tag: jtv.constant('OcfCreateWarrantTransfer'), value: Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransferOcfData.decoder, })); }),
  encode: function (__typed__) {
  switch(__typed__.tag) {
    case 'OcfCreateConvertibleAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleAcceptance.ConvertibleAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfCreateConvertibleCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleCancellation.ConvertibleCancellationOcfData.encode(__typed__.value)};
    case 'OcfCreateConvertibleConversion': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleConversion.ConvertibleConversionOcfData.encode(__typed__.value)};
    case 'OcfCreateConvertibleIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleIssuance.ConvertibleIssuanceOcfData.encode(__typed__.value)};
    case 'OcfCreateConvertibleRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleRetraction.ConvertibleRetractionOcfData.encode(__typed__.value)};
    case 'OcfCreateConvertibleTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_ConvertibleTransfer.ConvertibleTransferOcfData.encode(__typed__.value)};
    case 'OcfCreateDocument': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Document.DocumentOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationAcceptance.EquityCompensationAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationCancellation.EquityCompensationCancellationOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationExercise': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationExercise.EquityCompensationExerciseOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationIssuance.EquityCompensationIssuanceOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationRelease': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRelease.EquityCompensationReleaseOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationRepricing': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRepricing.EquityCompensationRepricingOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationRetraction.EquityCompensationRetractionOcfData.encode(__typed__.value)};
    case 'OcfCreateEquityCompensationTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_EquityCompensationTransfer.EquityCompensationTransferOcfData.encode(__typed__.value)};
    case 'OcfCreateIssuerAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfCreateStakeholder': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Stakeholder.StakeholderOcfData.encode(__typed__.value)};
    case 'OcfCreateStakeholderRelationshipChangeEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StakeholderRelationshipChangeEvent.StakeholderRelationshipChangeEventOcfData.encode(__typed__.value)};
    case 'OcfCreateStakeholderStatusChangeEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StakeholderStatusChangeEvent.StakeholderStatusChangeEventOcfData.encode(__typed__.value)};
    case 'OcfCreateStockAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockAcceptance.StockAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfCreateStockCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockCancellation.StockCancellationOcfData.encode(__typed__.value)};
    case 'OcfCreateStockClass': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClass.StockClassOcfData.encode(__typed__.value)};
    case 'OcfCreateStockClassAuthorizedSharesAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfCreateStockClassConversionRatioAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassConversionRatioAdjustment.StockClassConversionRatioAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfCreateStockClassSplit': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockClassSplit.StockClassSplitOcfData.encode(__typed__.value)};
    case 'OcfCreateStockConsolidation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockConsolidation.StockConsolidationOcfData.encode(__typed__.value)};
    case 'OcfCreateStockConversion': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockConversion.StockConversionOcfData.encode(__typed__.value)};
    case 'OcfCreateStockIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockIssuance.StockIssuanceOcfData.encode(__typed__.value)};
    case 'OcfCreateStockLegendTemplate': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockLegendTemplate.StockLegendTemplateOcfData.encode(__typed__.value)};
    case 'OcfCreateStockPlan': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlan.StockPlanOcfData.encode(__typed__.value)};
    case 'OcfCreateStockPlanPoolAdjustment': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlanPoolAdjustment.StockPlanPoolAdjustmentOcfData.encode(__typed__.value)};
    case 'OcfCreateStockPlanReturnToPool': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockPlanReturnToPool.StockPlanReturnToPoolOcfData.encode(__typed__.value)};
    case 'OcfCreateStockReissuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockReissuance.StockReissuanceOcfData.encode(__typed__.value)};
    case 'OcfCreateStockRepurchase': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockRepurchase.StockRepurchaseOcfData.encode(__typed__.value)};
    case 'OcfCreateStockRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockRetraction.StockRetractionOcfData.encode(__typed__.value)};
    case 'OcfCreateStockTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_StockTransfer.StockTransferOcfData.encode(__typed__.value)};
    case 'OcfCreateValuation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_Valuation.ValuationOcfData.encode(__typed__.value)};
    case 'OcfCreateVestingAcceleration': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingAcceleration.VestingAccelerationOcfData.encode(__typed__.value)};
    case 'OcfCreateVestingEvent': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingEvent.VestingEventOcfData.encode(__typed__.value)};
    case 'OcfCreateVestingStart': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingStart.VestingStartOcfData.encode(__typed__.value)};
    case 'OcfCreateVestingTerms': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_VestingTerms.VestingTermsOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantAcceptance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantAcceptance.WarrantAcceptanceOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantCancellation': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantCancellation.WarrantCancellationOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantExercise': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantExercise.WarrantExerciseOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantIssuance': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantIssuance.WarrantIssuanceOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantRetraction': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantRetraction.WarrantRetractionOcfData.encode(__typed__.value)};
    case 'OcfCreateWarrantTransfer': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_OCF_WarrantTransfer.WarrantTransferOcfData.encode(__typed__.value)};
    default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfCreateData';
  }
}
,
};

