@fairmint/open-captable-protocol-daml-js 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/DA/Internal/Template/module.d.ts +4 -6
- package/lib/DA/Internal/Template/module.js +7 -7
- package/lib/DA/Set/Types/index.js +1 -0
- package/lib/DA/Set/Types/module.d.ts +6 -7
- package/lib/DA/Set/Types/module.js +15 -11
- package/lib/DA/Set/index.d.ts +2 -1
- package/lib/DA/Set/index.js +2 -0
- package/lib/DA/Time/Types/index.js +1 -0
- package/lib/DA/Time/Types/module.d.ts +5 -7
- package/lib/DA/Time/Types/module.js +10 -8
- package/lib/DA/Time/index.d.ts +2 -1
- package/lib/DA/Time/index.js +2 -0
- package/lib/DA/Types/index.js +1 -0
- package/lib/DA/Types/module.d.ts +305 -344
- package/lib/DA/Types/module.js +689 -431
- package/lib/Fairmint/OpenCapTable/CapTable/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +336 -358
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +1286 -406
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +21 -25
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +71 -59
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +23 -28
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +61 -46
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +42 -50
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +97 -68
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +39 -51
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +134 -64
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +34 -39
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +83 -57
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +22 -27
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +59 -45
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +26 -31
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +67 -49
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +54 -76
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +132 -95
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +28 -33
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +71 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +35 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +88 -60
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +23 -32
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +66 -48
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +24 -33
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +65 -49
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +86 -119
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +252 -157
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +31 -36
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +77 -54
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +49 -48
- package/lib/Fairmint/OpenCapTable/OCF/index.js +49 -47
- package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +15 -18
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +50 -41
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +14 -27
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +40 -26
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +252 -361
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +602 -396
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +13 -18
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +25 -20
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +23 -35
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +52 -37
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +4 -7
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +19 -4
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +56 -90
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +132 -86
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +37 -57
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +90 -56
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +8 -7
- package/lib/Fairmint/OpenCapTable/Types/index.js +8 -6
- package/lib/Fairmint/OpenCapTable/index.d.ts +6 -5
- package/lib/Fairmint/OpenCapTable/index.js +6 -4
- package/lib/Splice/Amulet/TokenApiUtils/index.js +1 -0
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +4 -7
- package/lib/Splice/Amulet/TokenApiUtils/module.js +12 -4
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +1 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +13 -15
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +26 -16
- package/lib/Splice/Amulet/index.d.ts +4 -2
- package/lib/Splice/Amulet/index.js +4 -1
- package/lib/Splice/Amulet/module.d.ts +370 -487
- package/lib/Splice/Amulet/module.js +996 -817
- package/lib/Splice/AmuletAllocation/index.js +1 -0
- package/lib/Splice/AmuletAllocation/module.d.ts +9 -11
- package/lib/Splice/AmuletAllocation/module.js +31 -26
- package/lib/Splice/AmuletConfig/index.js +1 -0
- package/lib/Splice/AmuletConfig/module.d.ts +42 -56
- package/lib/Splice/AmuletConfig/module.js +93 -62
- package/lib/Splice/AmuletRules/index.js +1 -0
- package/lib/Splice/AmuletRules/module.d.ts +681 -874
- package/lib/Splice/AmuletRules/module.js +1688 -1273
- package/lib/Splice/AmuletTransferInstruction/index.js +1 -0
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +9 -11
- package/lib/Splice/AmuletTransferInstruction/module.js +31 -26
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +40 -50
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +84 -61
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +1 -0
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +41 -51
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +86 -62
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +1 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +82 -99
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +202 -142
- package/lib/Splice/Api/Token/AllocationV1/index.js +1 -0
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +84 -109
- package/lib/Splice/Api/Token/AllocationV1/module.js +185 -139
- package/lib/Splice/Api/Token/HoldingV1/index.js +1 -0
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +27 -34
- package/lib/Splice/Api/Token/HoldingV1/module.js +55 -39
- package/lib/Splice/Api/Token/MetadataV1/index.js +1 -0
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +44 -60
- package/lib/Splice/Api/Token/MetadataV1/module.js +123 -70
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +1 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +112 -137
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +278 -195
- package/lib/Splice/DecentralizedSynchronizer/index.js +1 -0
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +44 -58
- package/lib/Splice/DecentralizedSynchronizer/module.js +103 -79
- package/lib/Splice/Expiry/index.js +1 -0
- package/lib/Splice/Expiry/module.d.ts +14 -18
- package/lib/Splice/Expiry/module.js +37 -23
- package/lib/Splice/ExternalPartyAmuletRules/index.js +1 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +116 -147
- package/lib/Splice/ExternalPartyAmuletRules/module.js +307 -242
- package/lib/Splice/Fees/index.js +1 -0
- package/lib/Splice/Fees/module.d.ts +26 -40
- package/lib/Splice/Fees/module.js +57 -48
- package/lib/Splice/Issuance/index.js +1 -0
- package/lib/Splice/Issuance/module.d.ts +39 -50
- package/lib/Splice/Issuance/module.js +82 -56
- package/lib/Splice/RelRound/index.js +1 -0
- package/lib/Splice/RelRound/module.d.ts +5 -7
- package/lib/Splice/RelRound/module.js +10 -8
- package/lib/Splice/Round/index.js +1 -0
- package/lib/Splice/Round/module.d.ts +66 -78
- package/lib/Splice/Round/module.js +186 -142
- package/lib/Splice/Schedule/index.js +1 -0
- package/lib/Splice/Schedule/module.d.ts +7 -8
- package/lib/Splice/Schedule/module.js +17 -12
- package/lib/Splice/Types/index.js +1 -0
- package/lib/Splice/Types/module.d.ts +20 -31
- package/lib/Splice/Types/module.js +44 -37
- package/lib/Splice/ValidatorLicense/index.js +1 -0
- package/lib/Splice/ValidatorLicense/module.d.ts +145 -195
- package/lib/Splice/ValidatorLicense/module.js +388 -310
- package/package.json +7 -7
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -5,6 +5,7 @@ function __export(m) {
|
|
|
5
5
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
|
|
8
9
|
/* eslint-disable-next-line no-unused-vars */
|
|
9
10
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
11
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -13,209 +14,177 @@ var damlTypes = require('@daml/types');
|
|
|
13
14
|
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
14
15
|
var Fairmint_OpenCapTable_Types_Stock = require('../../../../Fairmint/OpenCapTable/Types/Stock/module');
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
,
|
|
17
|
+
exports.OcfAccrualPeriodType = {
|
|
18
|
+
OcfAccrualDaily: 'OcfAccrualDaily',
|
|
19
|
+
OcfAccrualMonthly: 'OcfAccrualMonthly',
|
|
20
|
+
OcfAccrualQuarterly: 'OcfAccrualQuarterly',
|
|
21
|
+
OcfAccrualSemiAnnual: 'OcfAccrualSemiAnnual',
|
|
22
|
+
OcfAccrualAnnual: 'OcfAccrualAnnual',
|
|
23
|
+
keys: ['OcfAccrualDaily', 'OcfAccrualMonthly', 'OcfAccrualQuarterly', 'OcfAccrualSemiAnnual', 'OcfAccrualAnnual'],
|
|
24
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
25
|
+
return jtv.oneOf(
|
|
26
|
+
jtv.constant(exports.OcfAccrualPeriodType.OcfAccrualDaily),
|
|
27
|
+
jtv.constant(exports.OcfAccrualPeriodType.OcfAccrualMonthly),
|
|
28
|
+
jtv.constant(exports.OcfAccrualPeriodType.OcfAccrualQuarterly),
|
|
29
|
+
jtv.constant(exports.OcfAccrualPeriodType.OcfAccrualSemiAnnual),
|
|
30
|
+
jtv.constant(exports.OcfAccrualPeriodType.OcfAccrualAnnual),
|
|
31
|
+
);
|
|
32
|
+
}),
|
|
33
|
+
encode: function (__typed__) { return __typed__; },
|
|
33
34
|
};
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
36
|
exports.OcfAnyConversionRight = {
|
|
38
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
38
|
+
return jtv.oneOf(
|
|
39
|
+
jtv.object({
|
|
40
|
+
tag: jtv.constant("OcfRightConvertible"),
|
|
41
|
+
value: exports.OcfConvertibleConversionRight.decoder,
|
|
42
|
+
}),
|
|
43
|
+
jtv.object({
|
|
44
|
+
tag: jtv.constant("OcfRightWarrant"),
|
|
45
|
+
value: exports.OcfWarrantConversionRight.decoder,
|
|
46
|
+
}),
|
|
47
|
+
jtv.object({
|
|
48
|
+
tag: jtv.constant("OcfRightStockClass"),
|
|
49
|
+
value: exports.OcfStockClassConversionRight.decoder,
|
|
50
|
+
}),
|
|
51
|
+
);
|
|
52
|
+
}),
|
|
54
53
|
encode: function (__typed__) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
63
|
-
custom_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.custom_description),
|
|
64
|
-
discount_rate: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_rate),
|
|
65
|
-
expires_at: damlTypes.Optional(damlTypes.Time).encode(__typed__.expires_at),
|
|
66
|
-
floor_price_per_share: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.floor_price_per_share),
|
|
67
|
-
percent_of_capitalization: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.percent_of_capitalization),
|
|
68
|
-
ratio: damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).encode(__typed__.ratio),
|
|
69
|
-
reference_share_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.reference_share_price),
|
|
70
|
-
reference_valuation_price_per_share: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.reference_valuation_price_per_share),
|
|
71
|
-
valuation_cap: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_cap),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
,
|
|
54
|
+
switch(__typed__.tag) {
|
|
55
|
+
case 'OcfRightConvertible': return {tag: __typed__.tag, value: exports.OcfConvertibleConversionRight.encode(__typed__.value)};
|
|
56
|
+
case 'OcfRightWarrant': return {tag: __typed__.tag, value: exports.OcfWarrantConversionRight.encode(__typed__.value)};
|
|
57
|
+
case 'OcfRightStockClass': return {tag: __typed__.tag, value: exports.OcfStockClassConversionRight.encode(__typed__.value)};
|
|
58
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfAnyConversionRight';
|
|
59
|
+
}
|
|
60
|
+
},
|
|
75
61
|
};
|
|
76
62
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
63
|
+
exports.OcfCapitalizationDefinition = {
|
|
64
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
65
|
+
return jtv.object({
|
|
66
|
+
exclude_security_ids: damlTypes.List(damlTypes.Text).decoder,
|
|
67
|
+
include_security_ids: damlTypes.List(damlTypes.Text).decoder,
|
|
68
|
+
include_stock_class_ids: damlTypes.List(damlTypes.Text).decoder,
|
|
69
|
+
include_stock_plans_ids: damlTypes.List(damlTypes.Text).decoder,
|
|
70
|
+
});
|
|
71
|
+
}),
|
|
81
72
|
encode: function (__typed__) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
,
|
|
73
|
+
return {
|
|
74
|
+
exclude_security_ids: damlTypes.List(damlTypes.Text).encode(__typed__.exclude_security_ids),
|
|
75
|
+
include_security_ids: damlTypes.List(damlTypes.Text).encode(__typed__.include_security_ids),
|
|
76
|
+
include_stock_class_ids: damlTypes.List(damlTypes.Text).encode(__typed__.include_stock_class_ids),
|
|
77
|
+
include_stock_plans_ids: damlTypes.List(damlTypes.Text).encode(__typed__.include_stock_plans_ids),
|
|
78
|
+
};
|
|
79
|
+
},
|
|
90
80
|
};
|
|
91
81
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
exports.OcfCapitalizationDefinitionRules = {
|
|
83
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
84
|
+
return jtv.object({
|
|
85
|
+
include_additional_option_pool_topup: damlTypes.Bool.decoder,
|
|
86
|
+
include_new_money: damlTypes.Bool.decoder,
|
|
87
|
+
include_option_pool_topup_for_promised_options: damlTypes.Bool.decoder,
|
|
88
|
+
include_other_converting_securities: damlTypes.Bool.decoder,
|
|
89
|
+
include_outstanding_options: damlTypes.Bool.decoder,
|
|
90
|
+
include_outstanding_shares: damlTypes.Bool.decoder,
|
|
91
|
+
include_outstanding_unissued_options: damlTypes.Bool.decoder,
|
|
92
|
+
include_this_security: damlTypes.Bool.decoder,
|
|
93
|
+
});
|
|
94
|
+
}),
|
|
96
95
|
encode: function (__typed__) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
,
|
|
96
|
+
return {
|
|
97
|
+
include_additional_option_pool_topup: damlTypes.Bool.encode(__typed__.include_additional_option_pool_topup),
|
|
98
|
+
include_new_money: damlTypes.Bool.encode(__typed__.include_new_money),
|
|
99
|
+
include_option_pool_topup_for_promised_options: damlTypes.Bool.encode(__typed__.include_option_pool_topup_for_promised_options),
|
|
100
|
+
include_other_converting_securities: damlTypes.Bool.encode(__typed__.include_other_converting_securities),
|
|
101
|
+
include_outstanding_options: damlTypes.Bool.encode(__typed__.include_outstanding_options),
|
|
102
|
+
include_outstanding_shares: damlTypes.Bool.encode(__typed__.include_outstanding_shares),
|
|
103
|
+
include_outstanding_unissued_options: damlTypes.Bool.encode(__typed__.include_outstanding_unissued_options),
|
|
104
|
+
include_this_security: damlTypes.Bool.encode(__typed__.include_this_security),
|
|
105
|
+
};
|
|
106
|
+
},
|
|
110
107
|
};
|
|
111
108
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
,
|
|
109
|
+
exports.OcfCompoundingType = {
|
|
110
|
+
OcfCompounding: 'OcfCompounding',
|
|
111
|
+
OcfSimple: 'OcfSimple',
|
|
112
|
+
keys: ['OcfCompounding', 'OcfSimple'],
|
|
113
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
114
|
+
return jtv.oneOf(
|
|
115
|
+
jtv.constant(exports.OcfCompoundingType.OcfCompounding),
|
|
116
|
+
jtv.constant(exports.OcfCompoundingType.OcfSimple),
|
|
117
|
+
);
|
|
118
|
+
}),
|
|
119
|
+
encode: function (__typed__) { return __typed__; },
|
|
125
120
|
};
|
|
126
121
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
,
|
|
150
|
-
}),
|
|
151
|
-
OcfWarrantMechanismPercentCapitalization:({
|
|
152
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({converts_to_percent: damlTypes.Numeric(10).decoder, capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder), }); }),
|
|
153
|
-
encode: function (__typed__) {
|
|
154
|
-
return {
|
|
155
|
-
converts_to_percent: damlTypes.Numeric(10).encode(__typed__.converts_to_percent),
|
|
156
|
-
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
157
|
-
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
,
|
|
161
|
-
}),
|
|
162
|
-
OcfWarrantMechanismFixedAmount:({
|
|
163
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({converts_to_quantity: damlTypes.Numeric(10).decoder, }); }),
|
|
164
|
-
encode: function (__typed__) {
|
|
165
|
-
return {
|
|
166
|
-
converts_to_quantity: damlTypes.Numeric(10).encode(__typed__.converts_to_quantity),
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
,
|
|
170
|
-
}),
|
|
171
|
-
OcfWarrantMechanismValuationBased:({
|
|
172
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({valuation_type: damlTypes.Text.decoder, valuation_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder), }); }),
|
|
173
|
-
encode: function (__typed__) {
|
|
174
|
-
return {
|
|
175
|
-
valuation_type: damlTypes.Text.encode(__typed__.valuation_type),
|
|
176
|
-
valuation_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_amount),
|
|
177
|
-
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
178
|
-
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
,
|
|
182
|
-
}),
|
|
183
|
-
OcfWarrantMechanismPpsBased:({
|
|
184
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({description: damlTypes.Text.decoder, discount: damlTypes.Bool.decoder, discount_percentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), discount_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), }); }),
|
|
185
|
-
encode: function (__typed__) {
|
|
186
|
-
return {
|
|
187
|
-
description: damlTypes.Text.encode(__typed__.description),
|
|
188
|
-
discount: damlTypes.Bool.encode(__typed__.discount),
|
|
189
|
-
discount_percentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_percentage),
|
|
190
|
-
discount_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.discount_amount),
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
,
|
|
122
|
+
exports.OcfConversionMechanism = {
|
|
123
|
+
OcfConversionMechanismRatioConversion: 'OcfConversionMechanismRatioConversion',
|
|
124
|
+
OcfConversionMechanismPercentCapitalizationConversion: 'OcfConversionMechanismPercentCapitalizationConversion',
|
|
125
|
+
OcfConversionMechanismFixedAmountConversion: 'OcfConversionMechanismFixedAmountConversion',
|
|
126
|
+
OcfConversionMechanismValuationBasedConversion: 'OcfConversionMechanismValuationBasedConversion',
|
|
127
|
+
OcfConversionMechanismPpsBasedConversion: 'OcfConversionMechanismPpsBasedConversion',
|
|
128
|
+
OcfConversionMechanismSAFEConversion: 'OcfConversionMechanismSAFEConversion',
|
|
129
|
+
OcfConversionMechanismNoteConversion: 'OcfConversionMechanismNoteConversion',
|
|
130
|
+
OcfConversionMechanismCustomConversion: 'OcfConversionMechanismCustomConversion',
|
|
131
|
+
keys: ['OcfConversionMechanismRatioConversion', 'OcfConversionMechanismPercentCapitalizationConversion', 'OcfConversionMechanismFixedAmountConversion', 'OcfConversionMechanismValuationBasedConversion', 'OcfConversionMechanismPpsBasedConversion', 'OcfConversionMechanismSAFEConversion', 'OcfConversionMechanismNoteConversion', 'OcfConversionMechanismCustomConversion'],
|
|
132
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
133
|
+
return jtv.oneOf(
|
|
134
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismRatioConversion),
|
|
135
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismPercentCapitalizationConversion),
|
|
136
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismFixedAmountConversion),
|
|
137
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismValuationBasedConversion),
|
|
138
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismPpsBasedConversion),
|
|
139
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismSAFEConversion),
|
|
140
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismNoteConversion),
|
|
141
|
+
jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismCustomConversion),
|
|
142
|
+
);
|
|
194
143
|
}),
|
|
144
|
+
encode: function (__typed__) { return __typed__; },
|
|
195
145
|
};
|
|
196
146
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
exports.OcfConvertibleType = {
|
|
210
|
-
OcfConvertibleNote: 'OcfConvertibleNote',
|
|
211
|
-
OcfConvertibleSafe: 'OcfConvertibleSafe',
|
|
212
|
-
OcfConvertibleSecurity: 'OcfConvertibleSecurity',
|
|
213
|
-
keys: ['OcfConvertibleNote','OcfConvertibleSafe','OcfConvertibleSecurity',],
|
|
214
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConvertibleType.OcfConvertibleNote), jtv.constant(exports.OcfConvertibleType.OcfConvertibleSafe), jtv.constant(exports.OcfConvertibleType.OcfConvertibleSecurity)); }),
|
|
147
|
+
exports.OcfConversionTimingType = {
|
|
148
|
+
OcfConvTimingPreMoney: 'OcfConvTimingPreMoney',
|
|
149
|
+
OcfConvTimingPostMoney: 'OcfConvTimingPostMoney',
|
|
150
|
+
keys: ['OcfConvTimingPreMoney', 'OcfConvTimingPostMoney'],
|
|
151
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
152
|
+
return jtv.oneOf(
|
|
153
|
+
jtv.constant(exports.OcfConversionTimingType.OcfConvTimingPreMoney),
|
|
154
|
+
jtv.constant(exports.OcfConversionTimingType.OcfConvTimingPostMoney),
|
|
155
|
+
);
|
|
156
|
+
}),
|
|
215
157
|
encode: function (__typed__) { return __typed__; },
|
|
216
158
|
};
|
|
217
159
|
|
|
218
|
-
|
|
160
|
+
exports.OcfConversionTrigger = {
|
|
161
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
162
|
+
return jtv.object({
|
|
163
|
+
conversion_right: exports.OcfAnyConversionRight.decoder,
|
|
164
|
+
trigger_id: damlTypes.Text.decoder,
|
|
165
|
+
type_: exports.OcfConversionTriggerType.decoder,
|
|
166
|
+
end_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
167
|
+
nickname: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
168
|
+
start_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
169
|
+
trigger_condition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
170
|
+
trigger_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
171
|
+
trigger_description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
172
|
+
});
|
|
173
|
+
}),
|
|
174
|
+
encode: function (__typed__) {
|
|
175
|
+
return {
|
|
176
|
+
conversion_right: exports.OcfAnyConversionRight.encode(__typed__.conversion_right),
|
|
177
|
+
trigger_id: damlTypes.Text.encode(__typed__.trigger_id),
|
|
178
|
+
type_: exports.OcfConversionTriggerType.encode(__typed__.type_),
|
|
179
|
+
end_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.end_date),
|
|
180
|
+
nickname: damlTypes.Optional(damlTypes.Text).encode(__typed__.nickname),
|
|
181
|
+
start_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.start_date),
|
|
182
|
+
trigger_condition: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_condition),
|
|
183
|
+
trigger_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.trigger_date),
|
|
184
|
+
trigger_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_description),
|
|
185
|
+
};
|
|
186
|
+
},
|
|
187
|
+
};
|
|
219
188
|
|
|
220
189
|
exports.OcfConversionTriggerType = {
|
|
221
190
|
OcfTriggerTypeTypeAutomaticOnCondition: 'OcfTriggerTypeTypeAutomaticOnCondition',
|
|
@@ -224,269 +193,506 @@ exports.OcfConversionTriggerType = {
|
|
|
224
193
|
OcfTriggerTypeTypeElectiveOnCondition: 'OcfTriggerTypeTypeElectiveOnCondition',
|
|
225
194
|
OcfTriggerTypeTypeElectiveAtWill: 'OcfTriggerTypeTypeElectiveAtWill',
|
|
226
195
|
OcfTriggerTypeTypeUnspecified: 'OcfTriggerTypeTypeUnspecified',
|
|
227
|
-
keys: ['OcfTriggerTypeTypeAutomaticOnCondition','OcfTriggerTypeTypeAutomaticOnDate','OcfTriggerTypeTypeElectiveInRange','OcfTriggerTypeTypeElectiveOnCondition','OcfTriggerTypeTypeElectiveAtWill','OcfTriggerTypeTypeUnspecified'
|
|
228
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
196
|
+
keys: ['OcfTriggerTypeTypeAutomaticOnCondition', 'OcfTriggerTypeTypeAutomaticOnDate', 'OcfTriggerTypeTypeElectiveInRange', 'OcfTriggerTypeTypeElectiveOnCondition', 'OcfTriggerTypeTypeElectiveAtWill', 'OcfTriggerTypeTypeUnspecified'],
|
|
197
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
198
|
+
return jtv.oneOf(
|
|
199
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeAutomaticOnCondition),
|
|
200
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeAutomaticOnDate),
|
|
201
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeElectiveInRange),
|
|
202
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeElectiveOnCondition),
|
|
203
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeElectiveAtWill),
|
|
204
|
+
jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeTypeUnspecified),
|
|
205
|
+
);
|
|
206
|
+
}),
|
|
229
207
|
encode: function (__typed__) { return __typed__; },
|
|
230
208
|
};
|
|
231
209
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
210
|
+
exports.OcfConvertibleConversionMechanism = {
|
|
211
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
212
|
+
return jtv.oneOf(
|
|
213
|
+
jtv.object({
|
|
214
|
+
tag: jtv.constant("OcfConvMechSAFE"),
|
|
215
|
+
value: exports.OcfSAFEConversionMechanism.decoder,
|
|
216
|
+
}),
|
|
217
|
+
jtv.object({
|
|
218
|
+
tag: jtv.constant("OcfConvMechNote"),
|
|
219
|
+
value: exports.OcfNoteConversionMechanism.decoder,
|
|
220
|
+
}),
|
|
221
|
+
jtv.object({
|
|
222
|
+
tag: jtv.constant("OcfConvMechCustom"),
|
|
223
|
+
value: exports.OcfCustomConversionMechanism.decoder,
|
|
224
|
+
}),
|
|
225
|
+
jtv.object({
|
|
226
|
+
tag: jtv.constant("OcfConvMechPercentCapitalization"),
|
|
227
|
+
value: exports.OcfPercentCapitalizationConversionMechanism.decoder,
|
|
228
|
+
}),
|
|
229
|
+
jtv.object({
|
|
230
|
+
tag: jtv.constant("OcfConvMechFixedAmount"),
|
|
231
|
+
value: exports.OcfFixedAmountConversionMechanism.decoder,
|
|
232
|
+
}),
|
|
233
|
+
jtv.object({
|
|
234
|
+
tag: jtv.constant("OcfConvMechPpsBased"),
|
|
235
|
+
value: exports.OcfSharePriceBasedConversionMechanism.decoder,
|
|
236
|
+
}),
|
|
237
|
+
jtv.object({
|
|
238
|
+
tag: jtv.constant("OcfConvMechValuationBased"),
|
|
239
|
+
value: exports.OcfValuationBasedConversionMechanism.decoder,
|
|
240
|
+
}),
|
|
241
|
+
jtv.object({
|
|
242
|
+
tag: jtv.constant("OcfConvMechRatio"),
|
|
243
|
+
value: Fairmint_OpenCapTable_Types_Stock.OcfRatio.decoder,
|
|
244
|
+
}),
|
|
245
|
+
);
|
|
246
|
+
}),
|
|
236
247
|
encode: function (__typed__) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
,
|
|
248
|
+
switch(__typed__.tag) {
|
|
249
|
+
case 'OcfConvMechSAFE': return {tag: __typed__.tag, value: exports.OcfSAFEConversionMechanism.encode(__typed__.value)};
|
|
250
|
+
case 'OcfConvMechNote': return {tag: __typed__.tag, value: exports.OcfNoteConversionMechanism.encode(__typed__.value)};
|
|
251
|
+
case 'OcfConvMechCustom': return {tag: __typed__.tag, value: exports.OcfCustomConversionMechanism.encode(__typed__.value)};
|
|
252
|
+
case 'OcfConvMechPercentCapitalization': return {tag: __typed__.tag, value: exports.OcfPercentCapitalizationConversionMechanism.encode(__typed__.value)};
|
|
253
|
+
case 'OcfConvMechFixedAmount': return {tag: __typed__.tag, value: exports.OcfFixedAmountConversionMechanism.encode(__typed__.value)};
|
|
254
|
+
case 'OcfConvMechPpsBased': return {tag: __typed__.tag, value: exports.OcfSharePriceBasedConversionMechanism.encode(__typed__.value)};
|
|
255
|
+
case 'OcfConvMechValuationBased': return {tag: __typed__.tag, value: exports.OcfValuationBasedConversionMechanism.encode(__typed__.value)};
|
|
256
|
+
case 'OcfConvMechRatio': return {tag: __typed__.tag, value: Fairmint_OpenCapTable_Types_Stock.OcfRatio.encode(__typed__.value)};
|
|
257
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfConvertibleConversionMechanism';
|
|
258
|
+
}
|
|
259
|
+
},
|
|
252
260
|
};
|
|
253
261
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
262
|
+
exports.OcfConvertibleConversionRight = {
|
|
263
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
264
|
+
return jtv.object({
|
|
265
|
+
conversion_mechanism: exports.OcfConvertibleConversionMechanism.decoder,
|
|
266
|
+
type_: damlTypes.Text.decoder,
|
|
267
|
+
converts_to_future_round: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder),
|
|
268
|
+
converts_to_stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
269
|
+
});
|
|
270
|
+
}),
|
|
258
271
|
encode: function (__typed__) {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
exit_multiple: damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).encode(__typed__.exit_multiple),
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
,
|
|
272
|
+
return {
|
|
273
|
+
conversion_mechanism: exports.OcfConvertibleConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
274
|
+
type_: damlTypes.Text.encode(__typed__.type_),
|
|
275
|
+
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
276
|
+
converts_to_stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.converts_to_stock_class_id),
|
|
277
|
+
};
|
|
278
|
+
},
|
|
270
279
|
};
|
|
271
280
|
|
|
281
|
+
exports.OcfConvertibleType = {
|
|
282
|
+
OcfConvertibleNote: 'OcfConvertibleNote',
|
|
283
|
+
OcfConvertibleSafe: 'OcfConvertibleSafe',
|
|
284
|
+
OcfConvertibleSecurity: 'OcfConvertibleSecurity',
|
|
285
|
+
keys: ['OcfConvertibleNote', 'OcfConvertibleSafe', 'OcfConvertibleSecurity'],
|
|
286
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
287
|
+
return jtv.oneOf(
|
|
288
|
+
jtv.constant(exports.OcfConvertibleType.OcfConvertibleNote),
|
|
289
|
+
jtv.constant(exports.OcfConvertibleType.OcfConvertibleSafe),
|
|
290
|
+
jtv.constant(exports.OcfConvertibleType.OcfConvertibleSecurity),
|
|
291
|
+
);
|
|
292
|
+
}),
|
|
293
|
+
encode: function (__typed__) { return __typed__; },
|
|
294
|
+
};
|
|
272
295
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
296
|
+
exports.OcfCustomConversionMechanism = {
|
|
297
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
298
|
+
return jtv.object({
|
|
299
|
+
custom_conversion_description: damlTypes.Text.decoder,
|
|
300
|
+
});
|
|
301
|
+
}),
|
|
276
302
|
encode: function (__typed__) {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
valuation_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_amount),
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
,
|
|
303
|
+
return {
|
|
304
|
+
custom_conversion_description: damlTypes.Text.encode(__typed__.custom_conversion_description),
|
|
305
|
+
};
|
|
306
|
+
},
|
|
285
307
|
};
|
|
286
308
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
309
|
+
exports.OcfDayCountType = {
|
|
310
|
+
OcfDayCountActual365: 'OcfDayCountActual365',
|
|
311
|
+
OcfDayCount30_360: 'OcfDayCount30_360',
|
|
312
|
+
keys: ['OcfDayCountActual365', 'OcfDayCount30_360'],
|
|
313
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
314
|
+
return jtv.oneOf(
|
|
315
|
+
jtv.constant(exports.OcfDayCountType.OcfDayCountActual365),
|
|
316
|
+
jtv.constant(exports.OcfDayCountType.OcfDayCount30_360),
|
|
317
|
+
);
|
|
318
|
+
}),
|
|
295
319
|
encode: function (__typed__) { return __typed__; },
|
|
296
320
|
};
|
|
297
321
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
322
|
+
exports.OcfFixedAmountConversionMechanism = {
|
|
323
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
324
|
+
return jtv.object({
|
|
325
|
+
converts_to_quantity: damlTypes.Numeric(10).decoder,
|
|
326
|
+
});
|
|
327
|
+
}),
|
|
302
328
|
encode: function (__typed__) {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
discount_percentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_percentage),
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
,
|
|
329
|
+
return {
|
|
330
|
+
converts_to_quantity: damlTypes.Numeric(10).encode(__typed__.converts_to_quantity),
|
|
331
|
+
};
|
|
332
|
+
},
|
|
311
333
|
};
|
|
312
334
|
|
|
335
|
+
exports.OcfInterestPayoutType = {
|
|
336
|
+
OcfInterestPayoutDeferred: 'OcfInterestPayoutDeferred',
|
|
337
|
+
OcfInterestPayoutCash: 'OcfInterestPayoutCash',
|
|
338
|
+
keys: ['OcfInterestPayoutDeferred', 'OcfInterestPayoutCash'],
|
|
339
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
340
|
+
return jtv.oneOf(
|
|
341
|
+
jtv.constant(exports.OcfInterestPayoutType.OcfInterestPayoutDeferred),
|
|
342
|
+
jtv.constant(exports.OcfInterestPayoutType.OcfInterestPayoutCash),
|
|
343
|
+
);
|
|
344
|
+
}),
|
|
345
|
+
encode: function (__typed__) { return __typed__; },
|
|
346
|
+
};
|
|
313
347
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
348
|
+
exports.OcfInterestRate = {
|
|
349
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
350
|
+
return jtv.object({
|
|
351
|
+
accrual_start_date: damlTypes.Time.decoder,
|
|
352
|
+
rate: damlTypes.Numeric(10).decoder,
|
|
353
|
+
accrual_end_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
354
|
+
});
|
|
355
|
+
}),
|
|
317
356
|
encode: function (__typed__) {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
324
|
-
,
|
|
357
|
+
return {
|
|
358
|
+
accrual_start_date: damlTypes.Time.encode(__typed__.accrual_start_date),
|
|
359
|
+
rate: damlTypes.Numeric(10).encode(__typed__.rate),
|
|
360
|
+
accrual_end_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.accrual_end_date),
|
|
361
|
+
};
|
|
362
|
+
},
|
|
325
363
|
};
|
|
326
364
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
365
|
+
exports.OcfNoteConversionMechanism = {
|
|
366
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
367
|
+
return jtv.object({
|
|
368
|
+
compounding_type: exports.OcfCompoundingType.decoder,
|
|
369
|
+
day_count_convention: exports.OcfDayCountType.decoder,
|
|
370
|
+
interest_accrual_period: exports.OcfAccrualPeriodType.decoder,
|
|
371
|
+
interest_payout: exports.OcfInterestPayoutType.decoder,
|
|
372
|
+
interest_rates: damlTypes.List(exports.OcfInterestRate).decoder,
|
|
373
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
374
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
375
|
+
conversion_discount: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
376
|
+
conversion_mfn: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder),
|
|
377
|
+
conversion_valuation_cap: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
378
|
+
exit_multiple: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).decoder),
|
|
379
|
+
});
|
|
380
|
+
}),
|
|
331
381
|
encode: function (__typed__) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
,
|
|
382
|
+
return {
|
|
383
|
+
compounding_type: exports.OcfCompoundingType.encode(__typed__.compounding_type),
|
|
384
|
+
day_count_convention: exports.OcfDayCountType.encode(__typed__.day_count_convention),
|
|
385
|
+
interest_accrual_period: exports.OcfAccrualPeriodType.encode(__typed__.interest_accrual_period),
|
|
386
|
+
interest_payout: exports.OcfInterestPayoutType.encode(__typed__.interest_payout),
|
|
387
|
+
interest_rates: damlTypes.List(exports.OcfInterestRate).encode(__typed__.interest_rates),
|
|
388
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
389
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
390
|
+
conversion_discount: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.conversion_discount),
|
|
391
|
+
conversion_mfn: damlTypes.Optional(damlTypes.Bool).encode(__typed__.conversion_mfn),
|
|
392
|
+
conversion_valuation_cap: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.conversion_valuation_cap),
|
|
393
|
+
exit_multiple: damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).encode(__typed__.exit_multiple),
|
|
394
|
+
};
|
|
395
|
+
},
|
|
337
396
|
};
|
|
338
397
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
398
|
+
exports.OcfPercentCapitalizationConversionMechanism = {
|
|
399
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
400
|
+
return jtv.object({
|
|
401
|
+
converts_to_percent: damlTypes.Numeric(10).decoder,
|
|
402
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
403
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
404
|
+
});
|
|
405
|
+
}),
|
|
343
406
|
encode: function (__typed__) {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
407
|
+
return {
|
|
408
|
+
converts_to_percent: damlTypes.Numeric(10).encode(__typed__.converts_to_percent),
|
|
409
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
410
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
411
|
+
};
|
|
412
|
+
},
|
|
349
413
|
};
|
|
350
414
|
|
|
351
|
-
|
|
352
|
-
|
|
353
415
|
exports.OcfRatioConversionMechanism = {
|
|
354
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
416
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
417
|
+
return jtv.object({
|
|
418
|
+
conversion_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.decoder,
|
|
419
|
+
ratio: Fairmint_OpenCapTable_Types_Stock.OcfRatio.decoder,
|
|
420
|
+
rounding_type: exports.OcfRoundingType.decoder,
|
|
421
|
+
});
|
|
422
|
+
}),
|
|
355
423
|
encode: function (__typed__) {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
,
|
|
424
|
+
return {
|
|
425
|
+
conversion_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.encode(__typed__.conversion_price),
|
|
426
|
+
ratio: Fairmint_OpenCapTable_Types_Stock.OcfRatio.encode(__typed__.ratio),
|
|
427
|
+
rounding_type: exports.OcfRoundingType.encode(__typed__.rounding_type),
|
|
428
|
+
};
|
|
429
|
+
},
|
|
363
430
|
};
|
|
364
431
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismRatioConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismPercentCapitalizationConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismFixedAmountConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismValuationBasedConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismPpsBasedConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismSAFEConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismNoteConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismCustomConversion)); }),
|
|
432
|
+
exports.OcfRoundingType = {
|
|
433
|
+
OcfRoundingCeiling: 'OcfRoundingCeiling',
|
|
434
|
+
OcfRoundingFloor: 'OcfRoundingFloor',
|
|
435
|
+
OcfRoundingNormal: 'OcfRoundingNormal',
|
|
436
|
+
keys: ['OcfRoundingCeiling', 'OcfRoundingFloor', 'OcfRoundingNormal'],
|
|
437
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
438
|
+
return jtv.oneOf(
|
|
439
|
+
jtv.constant(exports.OcfRoundingType.OcfRoundingCeiling),
|
|
440
|
+
jtv.constant(exports.OcfRoundingType.OcfRoundingFloor),
|
|
441
|
+
jtv.constant(exports.OcfRoundingType.OcfRoundingNormal),
|
|
442
|
+
);
|
|
443
|
+
}),
|
|
378
444
|
encode: function (__typed__) { return __typed__; },
|
|
379
445
|
};
|
|
380
446
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
447
|
+
exports.OcfSAFEConversionMechanism = {
|
|
448
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
449
|
+
return jtv.object({
|
|
450
|
+
conversion_mfn: damlTypes.Bool.decoder,
|
|
451
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
452
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
453
|
+
conversion_discount: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
454
|
+
conversion_timing: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfConversionTimingType).decoder),
|
|
455
|
+
conversion_valuation_cap: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
456
|
+
exit_multiple: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).decoder),
|
|
457
|
+
});
|
|
458
|
+
}),
|
|
385
459
|
encode: function (__typed__) {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
,
|
|
460
|
+
return {
|
|
461
|
+
conversion_mfn: damlTypes.Bool.encode(__typed__.conversion_mfn),
|
|
462
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
463
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
464
|
+
conversion_discount: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.conversion_discount),
|
|
465
|
+
conversion_timing: damlTypes.Optional(exports.OcfConversionTimingType).encode(__typed__.conversion_timing),
|
|
466
|
+
conversion_valuation_cap: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.conversion_valuation_cap),
|
|
467
|
+
exit_multiple: damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).encode(__typed__.exit_multiple),
|
|
468
|
+
};
|
|
469
|
+
},
|
|
398
470
|
};
|
|
399
471
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
472
|
+
exports.OcfSharePriceBasedConversionMechanism = {
|
|
473
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
474
|
+
return jtv.object({
|
|
475
|
+
description: damlTypes.Text.decoder,
|
|
476
|
+
discount: damlTypes.Bool.decoder,
|
|
477
|
+
discount_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
478
|
+
discount_percentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
479
|
+
});
|
|
480
|
+
}),
|
|
404
481
|
encode: function (__typed__) {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}
|
|
412
|
-
,
|
|
482
|
+
return {
|
|
483
|
+
description: damlTypes.Text.encode(__typed__.description),
|
|
484
|
+
discount: damlTypes.Bool.encode(__typed__.discount),
|
|
485
|
+
discount_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.discount_amount),
|
|
486
|
+
discount_percentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_percentage),
|
|
487
|
+
};
|
|
488
|
+
},
|
|
413
489
|
};
|
|
414
490
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
491
|
+
exports.OcfStockClassConversionRight = {
|
|
492
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
493
|
+
return jtv.object({
|
|
494
|
+
conversion_mechanism: exports.OcfConversionMechanism.decoder,
|
|
495
|
+
conversion_trigger: exports.OcfConversionTrigger.decoder,
|
|
496
|
+
converts_to_stock_class_id: damlTypes.Text.decoder,
|
|
497
|
+
type_: damlTypes.Text.decoder,
|
|
498
|
+
ceiling_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
499
|
+
conversion_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
500
|
+
converts_to_future_round: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder),
|
|
501
|
+
custom_description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
502
|
+
discount_rate: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
503
|
+
expires_at: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
504
|
+
floor_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
505
|
+
percent_of_capitalization: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
506
|
+
ratio: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).decoder),
|
|
507
|
+
reference_share_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
508
|
+
reference_valuation_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
509
|
+
valuation_cap: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
510
|
+
});
|
|
511
|
+
}),
|
|
419
512
|
encode: function (__typed__) {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
,
|
|
513
|
+
return {
|
|
514
|
+
conversion_mechanism: exports.OcfConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
515
|
+
conversion_trigger: exports.OcfConversionTrigger.encode(__typed__.conversion_trigger),
|
|
516
|
+
converts_to_stock_class_id: damlTypes.Text.encode(__typed__.converts_to_stock_class_id),
|
|
517
|
+
type_: damlTypes.Text.encode(__typed__.type_),
|
|
518
|
+
ceiling_price_per_share: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.ceiling_price_per_share),
|
|
519
|
+
conversion_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.conversion_price),
|
|
520
|
+
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
521
|
+
custom_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.custom_description),
|
|
522
|
+
discount_rate: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_rate),
|
|
523
|
+
expires_at: damlTypes.Optional(damlTypes.Time).encode(__typed__.expires_at),
|
|
524
|
+
floor_price_per_share: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.floor_price_per_share),
|
|
525
|
+
percent_of_capitalization: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.percent_of_capitalization),
|
|
526
|
+
ratio: damlTypes.Optional(Fairmint_OpenCapTable_Types_Stock.OcfRatio).encode(__typed__.ratio),
|
|
527
|
+
reference_share_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.reference_share_price),
|
|
528
|
+
reference_valuation_price_per_share: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.reference_valuation_price_per_share),
|
|
529
|
+
valuation_cap: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_cap),
|
|
530
|
+
};
|
|
531
|
+
},
|
|
427
532
|
};
|
|
428
533
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
OcfConvTimingPostMoney: 'OcfConvTimingPostMoney',
|
|
447
|
-
keys: ['OcfConvTimingPreMoney','OcfConvTimingPostMoney',],
|
|
448
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConversionTimingType.OcfConvTimingPreMoney), jtv.constant(exports.OcfConversionTimingType.OcfConvTimingPostMoney)); }),
|
|
449
|
-
encode: function (__typed__) { return __typed__; },
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
exports.OcfRoundingType = {
|
|
455
|
-
OcfRoundingCeiling: 'OcfRoundingCeiling',
|
|
456
|
-
OcfRoundingFloor: 'OcfRoundingFloor',
|
|
457
|
-
OcfRoundingNormal: 'OcfRoundingNormal',
|
|
458
|
-
keys: ['OcfRoundingCeiling','OcfRoundingFloor','OcfRoundingNormal',],
|
|
459
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfRoundingType.OcfRoundingCeiling), jtv.constant(exports.OcfRoundingType.OcfRoundingFloor), jtv.constant(exports.OcfRoundingType.OcfRoundingNormal)); }),
|
|
460
|
-
encode: function (__typed__) { return __typed__; },
|
|
534
|
+
exports.OcfValuationBasedConversionMechanism = {
|
|
535
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
536
|
+
return jtv.object({
|
|
537
|
+
valuation_type: exports.OcfValuationBasedFormulaType.decoder,
|
|
538
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
539
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
540
|
+
valuation_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
541
|
+
});
|
|
542
|
+
}),
|
|
543
|
+
encode: function (__typed__) {
|
|
544
|
+
return {
|
|
545
|
+
valuation_type: exports.OcfValuationBasedFormulaType.encode(__typed__.valuation_type),
|
|
546
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
547
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
548
|
+
valuation_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_amount),
|
|
549
|
+
};
|
|
550
|
+
},
|
|
461
551
|
};
|
|
462
552
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
553
|
+
exports.OcfValuationBasedFormulaType = {
|
|
554
|
+
OcfValuationCap: 'OcfValuationCap',
|
|
555
|
+
OcfValuationFixed: 'OcfValuationFixed',
|
|
556
|
+
OcfValuationActual: 'OcfValuationActual',
|
|
557
|
+
keys: ['OcfValuationCap', 'OcfValuationFixed', 'OcfValuationActual'],
|
|
558
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
559
|
+
return jtv.oneOf(
|
|
560
|
+
jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationCap),
|
|
561
|
+
jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationFixed),
|
|
562
|
+
jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationActual),
|
|
563
|
+
);
|
|
564
|
+
}),
|
|
470
565
|
encode: function (__typed__) { return __typed__; },
|
|
471
566
|
};
|
|
472
567
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
568
|
+
exports.OcfWarrantConversionMechanism = {
|
|
569
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
570
|
+
return jtv.oneOf(
|
|
571
|
+
jtv.object({
|
|
572
|
+
tag: jtv.constant("OcfWarrantMechanismCustom"),
|
|
573
|
+
value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismCustom.decoder,
|
|
574
|
+
}),
|
|
575
|
+
jtv.object({
|
|
576
|
+
tag: jtv.constant("OcfWarrantMechanismPercentCapitalization"),
|
|
577
|
+
value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization.decoder,
|
|
578
|
+
}),
|
|
579
|
+
jtv.object({
|
|
580
|
+
tag: jtv.constant("OcfWarrantMechanismFixedAmount"),
|
|
581
|
+
value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount.decoder,
|
|
582
|
+
}),
|
|
583
|
+
jtv.object({
|
|
584
|
+
tag: jtv.constant("OcfWarrantMechanismValuationBased"),
|
|
585
|
+
value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased.decoder,
|
|
586
|
+
}),
|
|
587
|
+
jtv.object({
|
|
588
|
+
tag: jtv.constant("OcfWarrantMechanismPpsBased"),
|
|
589
|
+
value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPpsBased.decoder,
|
|
590
|
+
}),
|
|
591
|
+
);
|
|
592
|
+
}),
|
|
593
|
+
encode: function (__typed__) {
|
|
594
|
+
switch(__typed__.tag) {
|
|
595
|
+
case 'OcfWarrantMechanismCustom': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismCustom.encode(__typed__.value)};
|
|
596
|
+
case 'OcfWarrantMechanismPercentCapitalization': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization.encode(__typed__.value)};
|
|
597
|
+
case 'OcfWarrantMechanismFixedAmount': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount.encode(__typed__.value)};
|
|
598
|
+
case 'OcfWarrantMechanismValuationBased': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased.encode(__typed__.value)};
|
|
599
|
+
case 'OcfWarrantMechanismPpsBased': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPpsBased.encode(__typed__.value)};
|
|
600
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfWarrantConversionMechanism';
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
OcfWarrantMechanismCustom: {
|
|
604
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
605
|
+
return jtv.object({
|
|
606
|
+
custom_conversion_description: damlTypes.Text.decoder,
|
|
607
|
+
});
|
|
608
|
+
}),
|
|
609
|
+
encode: function (__typed__) {
|
|
610
|
+
return {
|
|
611
|
+
custom_conversion_description: damlTypes.Text.encode(__typed__.custom_conversion_description),
|
|
612
|
+
};
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
OcfWarrantMechanismFixedAmount: {
|
|
616
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
617
|
+
return jtv.object({
|
|
618
|
+
converts_to_quantity: damlTypes.Numeric(10).decoder,
|
|
619
|
+
});
|
|
620
|
+
}),
|
|
621
|
+
encode: function (__typed__) {
|
|
622
|
+
return {
|
|
623
|
+
converts_to_quantity: damlTypes.Numeric(10).encode(__typed__.converts_to_quantity),
|
|
624
|
+
};
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
OcfWarrantMechanismPercentCapitalization: {
|
|
628
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
629
|
+
return jtv.object({
|
|
630
|
+
converts_to_percent: damlTypes.Numeric(10).decoder,
|
|
631
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
632
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
633
|
+
});
|
|
634
|
+
}),
|
|
635
|
+
encode: function (__typed__) {
|
|
636
|
+
return {
|
|
637
|
+
converts_to_percent: damlTypes.Numeric(10).encode(__typed__.converts_to_percent),
|
|
638
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
639
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
640
|
+
};
|
|
641
|
+
},
|
|
642
|
+
},
|
|
643
|
+
OcfWarrantMechanismPpsBased: {
|
|
644
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
645
|
+
return jtv.object({
|
|
646
|
+
description: damlTypes.Text.decoder,
|
|
647
|
+
discount: damlTypes.Bool.decoder,
|
|
648
|
+
discount_percentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
649
|
+
discount_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
650
|
+
});
|
|
651
|
+
}),
|
|
652
|
+
encode: function (__typed__) {
|
|
653
|
+
return {
|
|
654
|
+
description: damlTypes.Text.encode(__typed__.description),
|
|
655
|
+
discount: damlTypes.Bool.encode(__typed__.discount),
|
|
656
|
+
discount_percentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_percentage),
|
|
657
|
+
discount_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.discount_amount),
|
|
658
|
+
};
|
|
659
|
+
},
|
|
660
|
+
},
|
|
661
|
+
OcfWarrantMechanismValuationBased: {
|
|
662
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
663
|
+
return jtv.object({
|
|
664
|
+
valuation_type: damlTypes.Text.decoder,
|
|
665
|
+
valuation_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
666
|
+
capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
667
|
+
capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).decoder),
|
|
668
|
+
});
|
|
669
|
+
}),
|
|
670
|
+
encode: function (__typed__) {
|
|
671
|
+
return {
|
|
672
|
+
valuation_type: damlTypes.Text.encode(__typed__.valuation_type),
|
|
673
|
+
valuation_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.valuation_amount),
|
|
674
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
675
|
+
capitalization_definition_rules: damlTypes.Optional(exports.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
676
|
+
};
|
|
677
|
+
},
|
|
678
|
+
},
|
|
481
679
|
};
|
|
482
680
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
681
|
+
exports.OcfWarrantConversionRight = {
|
|
682
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
683
|
+
return jtv.object({
|
|
684
|
+
conversion_mechanism: exports.OcfWarrantConversionMechanism.decoder,
|
|
685
|
+
type_: damlTypes.Text.decoder,
|
|
686
|
+
converts_to_future_round: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder),
|
|
687
|
+
converts_to_stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
688
|
+
});
|
|
689
|
+
}),
|
|
690
|
+
encode: function (__typed__) {
|
|
691
|
+
return {
|
|
692
|
+
conversion_mechanism: exports.OcfWarrantConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
693
|
+
type_: damlTypes.Text.encode(__typed__.type_),
|
|
694
|
+
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
695
|
+
converts_to_stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.converts_to_stock_class_id),
|
|
696
|
+
};
|
|
697
|
+
},
|
|
491
698
|
};
|
|
492
|
-
|