@fairmint/open-captable-protocol-daml-js 0.2.126 → 0.2.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{OpenCapTable-v30/.daml/dist/OpenCapTable-v30-0.0.1.dar → OpenCapTable-v31/.daml/dist/OpenCapTable-v31-0.0.1.dar} +0 -0
- package/README.md +5 -5
- package/generated/ocp-factory-contract-id.json +4 -4
- package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +6 -0
- package/lib/CantonPayments/Airdrop/Airdrop/module.js +3 -2
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +6 -1
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +4 -4
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.d.ts +6 -1
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +4 -4
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.d.ts +6 -0
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +3 -2
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +10 -0
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +4 -4
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.d.ts +6 -0
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +3 -2
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +6 -0
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +3 -2
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +6 -0
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +3 -2
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/Approvals/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/Approvals/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.js +2 -0
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.d.ts +2 -0
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.js +2 -0
- package/lib/DA/Internal/Template/module.d.ts +2 -0
- package/lib/DA/Internal/Template/module.js +2 -0
- package/lib/DA/Set/Types/module.d.ts +2 -0
- package/lib/DA/Set/Types/module.js +2 -0
- package/lib/DA/Time/Types/module.d.ts +2 -0
- package/lib/DA/Time/Types/module.js +2 -0
- package/lib/DA/Types/module.d.ts +2 -0
- package/lib/DA/Types/module.js +2 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleAcceptance/module.d.ts +57 -0
- package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleAcceptance → ConvertibleAcceptance}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/ConvertibleCancellation/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleCancellation → ConvertibleCancellation}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/ConvertibleConversion/module.d.ts +63 -0
- package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleConversion → ConvertibleConversion}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.d.ts +84 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +110 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleRetraction/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleRetraction → ConvertibleRetraction}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/ConvertibleTransfer/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleTransfer → ConvertibleTransfer}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/{OCF/Document → Document}/module.d.ts +25 -9
- package/lib/Fairmint/OpenCapTable/{OCF/Document → Document}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/EquityCompensationAcceptance/module.d.ts +57 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationAcceptance → EquityCompensationAcceptance}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/EquityCompensationCancellation/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationCancellation → EquityCompensationCancellation}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationExercise → EquityCompensationExercise}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.d.ts +74 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +98 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationRelease/module.d.ts +62 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRelease → EquityCompensationRelease}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/EquityCompensationRepricing/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRepricing → EquityCompensationRepricing}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/EquityCompensationRetraction/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRetraction → EquityCompensationRetraction}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/EquityCompensationTransfer/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationTransfer → EquityCompensationTransfer}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +641 -0
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +1080 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +15 -10
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +17 -17
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/IssuerAuthorizedSharesAdjustment → IssuerAuthorizedSharesAdjustment}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +9 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +7 -4
- package/lib/Fairmint/OpenCapTable/{OCF/Stakeholder → Stakeholder}/module.d.ts +32 -19
- package/lib/Fairmint/OpenCapTable/{OCF/Stakeholder → Stakeholder}/module.js +39 -22
- package/lib/Fairmint/OpenCapTable/StakeholderRelationshipChangeEvent/module.d.ts +59 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StakeholderRelationshipChangeEvent → StakeholderRelationshipChangeEvent}/module.js +32 -13
- package/lib/Fairmint/OpenCapTable/StakeholderStatusChangeEvent/module.d.ts +59 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StakeholderStatusChangeEvent → StakeholderStatusChangeEvent}/module.js +32 -12
- package/lib/Fairmint/OpenCapTable/StockAcceptance/module.d.ts +57 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockAcceptance → StockAcceptance}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockCancellation → StockCancellation}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +68 -0
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +92 -0
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockClassAuthorizedSharesAdjustment → StockClassAuthorizedSharesAdjustment}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockClassConversionRatioAdjustment/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockClassConversionRatioAdjustment → StockClassConversionRatioAdjustment}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/StockClassSplit/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockClassSplit → StockClassSplit}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/StockConsolidation/module.d.ts +59 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockConsolidation → StockConsolidation}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockConversion/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockConversion → StockConversion}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockIssuance/module.d.ts +85 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockIssuance → StockIssuance}/module.js +35 -18
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +57 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockLegendTemplate → StockLegendTemplate}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/{OCF/StockPlan → StockPlan}/module.d.ts +25 -9
- package/lib/Fairmint/OpenCapTable/{OCF/StockPlan → StockPlan}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockPlanPoolAdjustment → StockPlanPoolAdjustment}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockPlanReturnToPool/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockPlanReturnToPool → StockPlanReturnToPool}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockReissuance/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockReissuance → StockReissuance}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockRepurchase/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockRepurchase → StockRepurchase}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/StockRetraction/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockRetraction → StockRetraction}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/StockTransfer/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/StockTransfer → StockTransfer}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +1 -14
- package/lib/Fairmint/OpenCapTable/Types/index.js +1 -14
- package/lib/Fairmint/OpenCapTable/Types/{Conversion/module.d.ts → module.d.ts} +426 -87
- package/lib/Fairmint/OpenCapTable/Types/{Conversion/module.js → module.js} +437 -92
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +73 -0
- package/lib/Fairmint/OpenCapTable/{OCF/Valuation → Valuation}/module.js +31 -12
- package/lib/Fairmint/OpenCapTable/VestingAcceleration/module.d.ts +59 -0
- package/lib/Fairmint/OpenCapTable/{OCF/VestingAcceleration → VestingAcceleration}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/VestingEvent/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/VestingEvent → VestingEvent}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/VestingStart/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/VestingStart → VestingStart}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/{OCF/VestingTerms → VestingTerms}/module.d.ts +25 -9
- package/lib/Fairmint/OpenCapTable/{OCF/VestingTerms → VestingTerms}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/WarrantAcceptance/module.d.ts +57 -0
- package/lib/Fairmint/OpenCapTable/{OCF/WarrantAcceptance → WarrantAcceptance}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/WarrantCancellation/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/{OCF/WarrantCancellation → WarrantCancellation}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/WarrantExercise/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/WarrantExercise → WarrantExercise}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.d.ts +71 -0
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +95 -0
- package/lib/Fairmint/OpenCapTable/WarrantRetraction/module.d.ts +58 -0
- package/lib/Fairmint/OpenCapTable/{OCF/WarrantRetraction → WarrantRetraction}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/WarrantTransfer/module.d.ts +61 -0
- package/lib/Fairmint/OpenCapTable/{OCF/WarrantTransfer → WarrantTransfer}/module.js +29 -9
- package/lib/Fairmint/OpenCapTable/index.d.ts +96 -4
- package/lib/Fairmint/OpenCapTable/index.js +96 -4
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.d.ts +6 -0
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +3 -2
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.d.ts +6 -0
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +3 -2
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +2 -0
- package/lib/Splice/Amulet/TokenApiUtils/module.js +2 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +2 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +2 -0
- package/lib/Splice/Amulet/module.d.ts +42 -0
- package/lib/Splice/Amulet/module.js +2 -10
- package/lib/Splice/AmuletAllocation/module.d.ts +6 -0
- package/lib/Splice/AmuletAllocation/module.js +2 -1
- package/lib/Splice/AmuletConfig/module.d.ts +2 -0
- package/lib/Splice/AmuletConfig/module.js +2 -0
- package/lib/Splice/AmuletRules/module.d.ts +14 -0
- package/lib/Splice/AmuletRules/module.js +2 -3
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +6 -0
- package/lib/Splice/AmuletTransferInstruction/module.js +2 -1
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +6 -4
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +2 -2
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +6 -4
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +2 -2
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +4 -2
- package/lib/Splice/Api/Token/AllocationV1/module.js +2 -1
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +4 -2
- package/lib/Splice/Api/Token/HoldingV1/module.js +2 -1
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +4 -2
- package/lib/Splice/Api/Token/MetadataV1/module.js +2 -1
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +6 -4
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +2 -2
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +6 -0
- package/lib/Splice/DecentralizedSynchronizer/module.js +2 -1
- package/lib/Splice/Expiry/module.d.ts +2 -0
- package/lib/Splice/Expiry/module.js +2 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +14 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.js +2 -3
- package/lib/Splice/Fees/module.d.ts +2 -0
- package/lib/Splice/Fees/module.js +2 -0
- package/lib/Splice/Issuance/module.d.ts +2 -0
- package/lib/Splice/Issuance/module.js +2 -0
- package/lib/Splice/RelRound/module.d.ts +2 -0
- package/lib/Splice/RelRound/module.js +2 -0
- package/lib/Splice/Round/module.d.ts +18 -0
- package/lib/Splice/Round/module.js +2 -4
- package/lib/Splice/Schedule/module.d.ts +2 -0
- package/lib/Splice/Schedule/module.js +2 -0
- package/lib/Splice/Types/module.d.ts +2 -0
- package/lib/Splice/Types/module.js +2 -0
- package/lib/Splice/ValidatorLicense/module.d.ts +14 -0
- package/lib/Splice/ValidatorLicense/module.js +2 -3
- package/package.json +6 -6
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +0 -458
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +0 -512
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +0 -41
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +0 -45
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +0 -48
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +0 -71
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +0 -93
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +0 -46
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +0 -41
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +0 -61
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +0 -81
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +0 -47
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +0 -45
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +0 -53
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +0 -73
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +0 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +0 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +0 -75
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +0 -72
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +0 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +0 -46
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +0 -45
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +0 -58
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +0 -43
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +0 -41
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +0 -44
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +0 -45
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +0 -59
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +0 -79
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +0 -45
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +0 -96
- package/lib/Fairmint/OpenCapTable/OCF/index.js +0 -103
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +0 -55
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +0 -60
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Core/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +0 -28
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +0 -37
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +0 -56
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +0 -65
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +0 -29
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +0 -32
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +0 -135
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +0 -141
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +0 -8
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +0 -95
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +0 -100
- /package/lib/Fairmint/OpenCapTable/{CapTable → ConvertibleAcceptance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{CapTable → ConvertibleAcceptance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleAcceptance → ConvertibleCancellation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleAcceptance → ConvertibleCancellation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleCancellation → ConvertibleConversion}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleCancellation → ConvertibleConversion}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleConversion → ConvertibleIssuance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleConversion → ConvertibleIssuance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleIssuance → ConvertibleRetraction}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleIssuance → ConvertibleRetraction}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleRetraction → ConvertibleTransfer}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleRetraction → ConvertibleTransfer}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleTransfer → Document}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/ConvertibleTransfer → Document}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Document → EquityCompensationAcceptance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Document → EquityCompensationAcceptance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationAcceptance → EquityCompensationCancellation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationAcceptance → EquityCompensationCancellation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationCancellation → EquityCompensationExercise}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationCancellation → EquityCompensationExercise}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationExercise → EquityCompensationIssuance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationExercise → EquityCompensationIssuance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationIssuance → EquityCompensationRelease}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationIssuance → EquityCompensationRelease}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRelease → EquityCompensationRepricing}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRelease → EquityCompensationRepricing}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRepricing → EquityCompensationRetraction}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRepricing → EquityCompensationRetraction}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRetraction → EquityCompensationTransfer}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationRetraction → EquityCompensationTransfer}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationTransfer → Issuer}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/EquityCompensationTransfer → Issuer}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Issuer → IssuerAuthorizedSharesAdjustment}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Issuer → IssuerAuthorizedSharesAdjustment}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/IssuerAuthorizedSharesAdjustment → Stakeholder}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/IssuerAuthorizedSharesAdjustment → Stakeholder}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Stakeholder → StakeholderRelationshipChangeEvent}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Stakeholder → StakeholderRelationshipChangeEvent}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StakeholderRelationshipChangeEvent → StakeholderStatusChangeEvent}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StakeholderRelationshipChangeEvent → StakeholderStatusChangeEvent}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StakeholderStatusChangeEvent → StockAcceptance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StakeholderStatusChangeEvent → StockAcceptance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockAcceptance → StockCancellation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockAcceptance → StockCancellation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockCancellation → StockClass}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockCancellation → StockClass}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClass → StockClassAuthorizedSharesAdjustment}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClass → StockClassAuthorizedSharesAdjustment}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassAuthorizedSharesAdjustment → StockClassConversionRatioAdjustment}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassAuthorizedSharesAdjustment → StockClassConversionRatioAdjustment}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassConversionRatioAdjustment → StockClassSplit}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassConversionRatioAdjustment → StockClassSplit}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassSplit → StockConsolidation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockClassSplit → StockConsolidation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockConsolidation → StockConversion}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockConsolidation → StockConversion}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockConversion → StockIssuance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockConversion → StockIssuance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockIssuance → StockLegendTemplate}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockIssuance → StockLegendTemplate}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockLegendTemplate → StockPlan}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockLegendTemplate → StockPlan}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlan → StockPlanPoolAdjustment}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlan → StockPlanPoolAdjustment}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlanPoolAdjustment → StockPlanReturnToPool}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlanPoolAdjustment → StockPlanReturnToPool}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlanReturnToPool → StockReissuance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockPlanReturnToPool → StockReissuance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockReissuance → StockRepurchase}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockReissuance → StockRepurchase}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockRepurchase → StockRetraction}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockRepurchase → StockRetraction}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockRetraction → StockTransfer}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockRetraction → StockTransfer}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockTransfer → Valuation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/StockTransfer → Valuation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Valuation → VestingAcceleration}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/Valuation → VestingAcceleration}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingAcceleration → VestingEvent}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingAcceleration → VestingEvent}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingEvent → VestingStart}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingEvent → VestingStart}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingStart → VestingTerms}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingStart → VestingTerms}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingTerms → WarrantAcceptance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/VestingTerms → WarrantAcceptance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantAcceptance → WarrantCancellation}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantAcceptance → WarrantCancellation}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantCancellation → WarrantExercise}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantCancellation → WarrantExercise}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantExercise → WarrantIssuance}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantExercise → WarrantIssuance}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantIssuance → WarrantRetraction}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantIssuance → WarrantRetraction}/index.js +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantRetraction → WarrantTransfer}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{OCF/WarrantRetraction → WarrantTransfer}/index.js +0 -0
|
@@ -9,10 +9,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
12
14
|
|
|
13
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
14
16
|
|
|
15
|
-
var
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
exports.OcfObjectType = {
|
|
@@ -92,7 +94,7 @@ exports.OcfObjectReference = {
|
|
|
92
94
|
|
|
93
95
|
|
|
94
96
|
|
|
95
|
-
exports.
|
|
97
|
+
exports.OcfDocument = {
|
|
96
98
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, md5: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, related_objects: damlTypes.List(exports.OcfObjectReference).decoder, path: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), uri: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
97
99
|
encode: function (__typed__) {
|
|
98
100
|
return {
|
|
@@ -109,17 +111,27 @@ exports.DocumentOcfData = {
|
|
|
109
111
|
|
|
110
112
|
|
|
111
113
|
|
|
114
|
+
exports.ArchiveByIssuer = {
|
|
115
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
116
|
+
encode: function (__typed__) {
|
|
117
|
+
return {
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
,
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
112
125
|
exports.Document = damlTypes.assembleTemplate(
|
|
113
126
|
{
|
|
114
|
-
templateId: '#OpenCapTable-
|
|
115
|
-
templateIdWithPackageId: 'a89d08d4d29df368b44ff6e7d53a6de9a6fb9b1b30da150899a913541a78d70a:Fairmint.OpenCapTable.OCF.Document:Document',
|
|
127
|
+
templateId: '#OpenCapTable-v25:Fairmint.OpenCapTable.Document:Document',
|
|
116
128
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
117
129
|
keyEncode: function () { throw 'EncodeError'; },
|
|
118
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
130
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, document_data: exports.OcfDocument.decoder, }); }),
|
|
119
131
|
encode: function (__typed__) {
|
|
120
132
|
return {
|
|
121
|
-
context:
|
|
122
|
-
document_data: exports.
|
|
133
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
134
|
+
document_data: exports.OcfDocument.encode(__typed__.document_data),
|
|
123
135
|
};
|
|
124
136
|
}
|
|
125
137
|
,
|
|
@@ -131,10 +143,18 @@ exports.Document = damlTypes.assembleTemplate(
|
|
|
131
143
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
132
144
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
133
145
|
},
|
|
146
|
+
ArchiveByIssuer: {
|
|
147
|
+
template: function () { return exports.Document; },
|
|
148
|
+
choiceName: 'ArchiveByIssuer',
|
|
149
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
150
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
151
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
152
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
153
|
+
},
|
|
134
154
|
}
|
|
135
155
|
|
|
136
156
|
);
|
|
137
157
|
|
|
138
158
|
|
|
139
|
-
damlTypes.registerTemplate(exports.Document, ['
|
|
159
|
+
damlTypes.registerTemplate(exports.Document, ['83e4200150d7af966955c3860686d5f183330ce0c3150858c8e0b78a992f34d0', '#OpenCapTable-v25']);
|
|
140
160
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/EquityCompensationAcceptance.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type OcfEquityCompensationAcceptanceTxData = {
|
|
15
|
+
id: string;
|
|
16
|
+
date: damlTypes.Time;
|
|
17
|
+
security_id: string;
|
|
18
|
+
comments: string[];
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export declare const OcfEquityCompensationAcceptanceTxData:
|
|
22
|
+
damlTypes.Serializable<OcfEquityCompensationAcceptanceTxData> & {
|
|
23
|
+
}
|
|
24
|
+
;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare type ArchiveByIssuer = {
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export declare const ArchiveByIssuer:
|
|
31
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
32
|
+
}
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
export declare type EquityCompensationAcceptance = {
|
|
37
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
38
|
+
acceptance_data: OcfEquityCompensationAcceptanceTxData;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export declare interface EquityCompensationAcceptanceInterface {
|
|
42
|
+
Archive: damlTypes.Choice<EquityCompensationAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationAcceptance, undefined>>;
|
|
43
|
+
ArchiveByIssuer: damlTypes.Choice<EquityCompensationAcceptance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationAcceptance, undefined>>;
|
|
44
|
+
}
|
|
45
|
+
export declare const EquityCompensationAcceptance:
|
|
46
|
+
damlTypes.Template<EquityCompensationAcceptance, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationAcceptance:EquityCompensationAcceptance'> &
|
|
47
|
+
damlTypes.ToInterface<EquityCompensationAcceptance, never> &
|
|
48
|
+
EquityCompensationAcceptanceInterface;
|
|
49
|
+
|
|
50
|
+
export declare namespace EquityCompensationAcceptance {
|
|
51
|
+
export type CreateEvent = damlLedger.CreateEvent<EquityCompensationAcceptance, undefined, typeof EquityCompensationAcceptance.templateId>
|
|
52
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<EquityCompensationAcceptance, typeof EquityCompensationAcceptance.templateId>
|
|
53
|
+
export type Event = damlLedger.Event<EquityCompensationAcceptance, undefined, typeof EquityCompensationAcceptance.templateId>
|
|
54
|
+
export type QueryResult = damlLedger.QueryResult<EquityCompensationAcceptance, undefined, typeof EquityCompensationAcceptance.templateId>
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
@@ -9,13 +9,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
12
14
|
|
|
13
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
14
16
|
|
|
15
|
-
var
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
exports.
|
|
20
|
+
exports.OcfEquityCompensationAcceptanceTxData = {
|
|
19
21
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
20
22
|
encode: function (__typed__) {
|
|
21
23
|
return {
|
|
@@ -30,17 +32,27 @@ exports.EquityCompensationAcceptanceOcfData = {
|
|
|
30
32
|
|
|
31
33
|
|
|
32
34
|
|
|
35
|
+
exports.ArchiveByIssuer = {
|
|
36
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
37
|
+
encode: function (__typed__) {
|
|
38
|
+
return {
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
33
46
|
exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
34
47
|
{
|
|
35
|
-
templateId: '#OpenCapTable-
|
|
36
|
-
templateIdWithPackageId: 'a89d08d4d29df368b44ff6e7d53a6de9a6fb9b1b30da150899a913541a78d70a:Fairmint.OpenCapTable.OCF.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
48
|
+
templateId: '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationAcceptance:EquityCompensationAcceptance',
|
|
37
49
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
50
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
51
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, acceptance_data: exports.OcfEquityCompensationAcceptanceTxData.decoder, }); }),
|
|
40
52
|
encode: function (__typed__) {
|
|
41
53
|
return {
|
|
42
|
-
context:
|
|
43
|
-
acceptance_data: exports.
|
|
54
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
55
|
+
acceptance_data: exports.OcfEquityCompensationAcceptanceTxData.encode(__typed__.acceptance_data),
|
|
44
56
|
};
|
|
45
57
|
}
|
|
46
58
|
,
|
|
@@ -52,10 +64,18 @@ exports.EquityCompensationAcceptance = damlTypes.assembleTemplate(
|
|
|
52
64
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
53
65
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
54
66
|
},
|
|
67
|
+
ArchiveByIssuer: {
|
|
68
|
+
template: function () { return exports.EquityCompensationAcceptance; },
|
|
69
|
+
choiceName: 'ArchiveByIssuer',
|
|
70
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
71
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
72
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
73
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
74
|
+
},
|
|
55
75
|
}
|
|
56
76
|
|
|
57
77
|
);
|
|
58
78
|
|
|
59
79
|
|
|
60
|
-
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['
|
|
80
|
+
damlTypes.registerTemplate(exports.EquityCompensationAcceptance, ['83e4200150d7af966955c3860686d5f183330ce0c3150858c8e0b78a992f34d0', '#OpenCapTable-v25']);
|
|
61
81
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/EquityCompensationCancellation.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type OcfEquityCompensationCancellationTxData = {
|
|
15
|
+
id: string;
|
|
16
|
+
date: damlTypes.Time;
|
|
17
|
+
quantity: damlTypes.Numeric;
|
|
18
|
+
reason_text: string;
|
|
19
|
+
security_id: string;
|
|
20
|
+
comments: string[];
|
|
21
|
+
balance_security_id: damlTypes.Optional<string>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export declare const OcfEquityCompensationCancellationTxData:
|
|
25
|
+
damlTypes.Serializable<OcfEquityCompensationCancellationTxData> & {
|
|
26
|
+
}
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export declare type ArchiveByIssuer = {
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export declare const ArchiveByIssuer:
|
|
34
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
35
|
+
}
|
|
36
|
+
;
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export declare type EquityCompensationCancellation = {
|
|
40
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
41
|
+
cancellation_data: OcfEquityCompensationCancellationTxData;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export declare interface EquityCompensationCancellationInterface {
|
|
45
|
+
Archive: damlTypes.Choice<EquityCompensationCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationCancellation, undefined>>;
|
|
46
|
+
ArchiveByIssuer: damlTypes.Choice<EquityCompensationCancellation, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationCancellation, undefined>>;
|
|
47
|
+
}
|
|
48
|
+
export declare const EquityCompensationCancellation:
|
|
49
|
+
damlTypes.Template<EquityCompensationCancellation, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationCancellation:EquityCompensationCancellation'> &
|
|
50
|
+
damlTypes.ToInterface<EquityCompensationCancellation, never> &
|
|
51
|
+
EquityCompensationCancellationInterface;
|
|
52
|
+
|
|
53
|
+
export declare namespace EquityCompensationCancellation {
|
|
54
|
+
export type CreateEvent = damlLedger.CreateEvent<EquityCompensationCancellation, undefined, typeof EquityCompensationCancellation.templateId>
|
|
55
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<EquityCompensationCancellation, typeof EquityCompensationCancellation.templateId>
|
|
56
|
+
export type Event = damlLedger.Event<EquityCompensationCancellation, undefined, typeof EquityCompensationCancellation.templateId>
|
|
57
|
+
export type QueryResult = damlLedger.QueryResult<EquityCompensationCancellation, undefined, typeof EquityCompensationCancellation.templateId>
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
@@ -9,13 +9,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
12
14
|
|
|
13
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
14
16
|
|
|
15
|
-
var
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
exports.
|
|
20
|
+
exports.OcfEquityCompensationCancellationTxData = {
|
|
19
21
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, quantity: damlTypes.Numeric(10).decoder, reason_text: damlTypes.Text.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, balance_security_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
20
22
|
encode: function (__typed__) {
|
|
21
23
|
return {
|
|
@@ -33,17 +35,27 @@ exports.EquityCompensationCancellationOcfData = {
|
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
|
|
38
|
+
exports.ArchiveByIssuer = {
|
|
39
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
40
|
+
encode: function (__typed__) {
|
|
41
|
+
return {
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
,
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
36
49
|
exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
37
50
|
{
|
|
38
|
-
templateId: '#OpenCapTable-
|
|
39
|
-
templateIdWithPackageId: 'a89d08d4d29df368b44ff6e7d53a6de9a6fb9b1b30da150899a913541a78d70a:Fairmint.OpenCapTable.OCF.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
51
|
+
templateId: '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationCancellation:EquityCompensationCancellation',
|
|
40
52
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
53
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
54
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, cancellation_data: exports.OcfEquityCompensationCancellationTxData.decoder, }); }),
|
|
43
55
|
encode: function (__typed__) {
|
|
44
56
|
return {
|
|
45
|
-
context:
|
|
46
|
-
cancellation_data: exports.
|
|
57
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
58
|
+
cancellation_data: exports.OcfEquityCompensationCancellationTxData.encode(__typed__.cancellation_data),
|
|
47
59
|
};
|
|
48
60
|
}
|
|
49
61
|
,
|
|
@@ -55,10 +67,18 @@ exports.EquityCompensationCancellation = damlTypes.assembleTemplate(
|
|
|
55
67
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
56
68
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
57
69
|
},
|
|
70
|
+
ArchiveByIssuer: {
|
|
71
|
+
template: function () { return exports.EquityCompensationCancellation; },
|
|
72
|
+
choiceName: 'ArchiveByIssuer',
|
|
73
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
74
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
75
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
76
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
77
|
+
},
|
|
58
78
|
}
|
|
59
79
|
|
|
60
80
|
);
|
|
61
81
|
|
|
62
82
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['
|
|
83
|
+
damlTypes.registerTemplate(exports.EquityCompensationCancellation, ['83e4200150d7af966955c3860686d5f183330ce0c3150858c8e0b78a992f34d0', '#OpenCapTable-v25']);
|
|
64
84
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/EquityCompensationExercise.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type OcfEquityCompensationExerciseData = {
|
|
15
|
+
id: string;
|
|
16
|
+
date: damlTypes.Time;
|
|
17
|
+
quantity: damlTypes.Numeric;
|
|
18
|
+
security_id: string;
|
|
19
|
+
comments: string[];
|
|
20
|
+
resulting_security_ids: string[];
|
|
21
|
+
consideration_text: damlTypes.Optional<string>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export declare const OcfEquityCompensationExerciseData:
|
|
25
|
+
damlTypes.Serializable<OcfEquityCompensationExerciseData> & {
|
|
26
|
+
}
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export declare type ArchiveByIssuer = {
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export declare const ArchiveByIssuer:
|
|
34
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
35
|
+
}
|
|
36
|
+
;
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export declare type EquityCompensationExercise = {
|
|
40
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
41
|
+
exercise_data: OcfEquityCompensationExerciseData;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export declare interface EquityCompensationExerciseInterface {
|
|
45
|
+
Archive: damlTypes.Choice<EquityCompensationExercise, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationExercise, undefined>>;
|
|
46
|
+
ArchiveByIssuer: damlTypes.Choice<EquityCompensationExercise, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationExercise, undefined>>;
|
|
47
|
+
}
|
|
48
|
+
export declare const EquityCompensationExercise:
|
|
49
|
+
damlTypes.Template<EquityCompensationExercise, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationExercise:EquityCompensationExercise'> &
|
|
50
|
+
damlTypes.ToInterface<EquityCompensationExercise, never> &
|
|
51
|
+
EquityCompensationExerciseInterface;
|
|
52
|
+
|
|
53
|
+
export declare namespace EquityCompensationExercise {
|
|
54
|
+
export type CreateEvent = damlLedger.CreateEvent<EquityCompensationExercise, undefined, typeof EquityCompensationExercise.templateId>
|
|
55
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<EquityCompensationExercise, typeof EquityCompensationExercise.templateId>
|
|
56
|
+
export type Event = damlLedger.Event<EquityCompensationExercise, undefined, typeof EquityCompensationExercise.templateId>
|
|
57
|
+
export type QueryResult = damlLedger.QueryResult<EquityCompensationExercise, undefined, typeof EquityCompensationExercise.templateId>
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
@@ -9,13 +9,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
11
11
|
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
12
14
|
|
|
13
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
14
16
|
|
|
15
|
-
var
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
exports.
|
|
20
|
+
exports.OcfEquityCompensationExerciseData = {
|
|
19
21
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, quantity: damlTypes.Numeric(10).decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, resulting_security_ids: damlTypes.List(damlTypes.Text).decoder, consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
20
22
|
encode: function (__typed__) {
|
|
21
23
|
return {
|
|
@@ -33,17 +35,27 @@ exports.EquityCompensationExerciseOcfData = {
|
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
|
|
38
|
+
exports.ArchiveByIssuer = {
|
|
39
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
40
|
+
encode: function (__typed__) {
|
|
41
|
+
return {
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
,
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
36
49
|
exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
37
50
|
{
|
|
38
|
-
templateId: '#OpenCapTable-
|
|
39
|
-
templateIdWithPackageId: 'a89d08d4d29df368b44ff6e7d53a6de9a6fb9b1b30da150899a913541a78d70a:Fairmint.OpenCapTable.OCF.EquityCompensationExercise:EquityCompensationExercise',
|
|
51
|
+
templateId: '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationExercise:EquityCompensationExercise',
|
|
40
52
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
41
53
|
keyEncode: function () { throw 'EncodeError'; },
|
|
42
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({context:
|
|
54
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, exercise_data: exports.OcfEquityCompensationExerciseData.decoder, }); }),
|
|
43
55
|
encode: function (__typed__) {
|
|
44
56
|
return {
|
|
45
|
-
context:
|
|
46
|
-
exercise_data: exports.
|
|
57
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
58
|
+
exercise_data: exports.OcfEquityCompensationExerciseData.encode(__typed__.exercise_data),
|
|
47
59
|
};
|
|
48
60
|
}
|
|
49
61
|
,
|
|
@@ -55,10 +67,18 @@ exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
|
55
67
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
56
68
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
57
69
|
},
|
|
70
|
+
ArchiveByIssuer: {
|
|
71
|
+
template: function () { return exports.EquityCompensationExercise; },
|
|
72
|
+
choiceName: 'ArchiveByIssuer',
|
|
73
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
74
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
75
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
76
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
77
|
+
},
|
|
58
78
|
}
|
|
59
79
|
|
|
60
80
|
);
|
|
61
81
|
|
|
62
82
|
|
|
63
|
-
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['
|
|
83
|
+
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['83e4200150d7af966955c3860686d5f183330ce0c3150858c8e0b78a992f34d0', '#OpenCapTable-v25']);
|
|
64
84
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/EquityCompensationIssuance.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type OcfEquityCompensationIssuanceTxData = {
|
|
15
|
+
id: string;
|
|
16
|
+
custom_id: string;
|
|
17
|
+
date: damlTypes.Time;
|
|
18
|
+
compensation_type: Fairmint_OpenCapTable_Types.OcfCompensationType;
|
|
19
|
+
quantity: damlTypes.Numeric;
|
|
20
|
+
security_id: string;
|
|
21
|
+
stakeholder_id: string;
|
|
22
|
+
comments: string[];
|
|
23
|
+
security_law_exemptions: Fairmint_OpenCapTable_Types.OcfSecurityExemption[];
|
|
24
|
+
vestings: Fairmint_OpenCapTable_Types.OcfVesting[];
|
|
25
|
+
termination_exercise_windows: Fairmint_OpenCapTable_Types.OcfTerminationWindow[];
|
|
26
|
+
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
27
|
+
consideration_text: damlTypes.Optional<string>;
|
|
28
|
+
base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
29
|
+
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
30
|
+
early_exercisable: damlTypes.Optional<boolean>;
|
|
31
|
+
expiration_date: damlTypes.Optional<damlTypes.Time>;
|
|
32
|
+
stock_class_id: damlTypes.Optional<string>;
|
|
33
|
+
stock_plan_id: damlTypes.Optional<string>;
|
|
34
|
+
vesting_terms_id: damlTypes.Optional<string>;
|
|
35
|
+
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export declare const OcfEquityCompensationIssuanceTxData:
|
|
39
|
+
damlTypes.Serializable<OcfEquityCompensationIssuanceTxData> & {
|
|
40
|
+
}
|
|
41
|
+
;
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export declare type ArchiveByIssuer = {
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export declare const ArchiveByIssuer:
|
|
48
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
49
|
+
}
|
|
50
|
+
;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export declare type EquityCompensationIssuance = {
|
|
54
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
55
|
+
issuance_data: OcfEquityCompensationIssuanceTxData;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export declare interface EquityCompensationIssuanceInterface {
|
|
59
|
+
Archive: damlTypes.Choice<EquityCompensationIssuance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationIssuance, undefined>>;
|
|
60
|
+
ArchiveByIssuer: damlTypes.Choice<EquityCompensationIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationIssuance, undefined>>;
|
|
61
|
+
}
|
|
62
|
+
export declare const EquityCompensationIssuance:
|
|
63
|
+
damlTypes.Template<EquityCompensationIssuance, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationIssuance:EquityCompensationIssuance'> &
|
|
64
|
+
damlTypes.ToInterface<EquityCompensationIssuance, never> &
|
|
65
|
+
EquityCompensationIssuanceInterface;
|
|
66
|
+
|
|
67
|
+
export declare namespace EquityCompensationIssuance {
|
|
68
|
+
export type CreateEvent = damlLedger.CreateEvent<EquityCompensationIssuance, undefined, typeof EquityCompensationIssuance.templateId>
|
|
69
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<EquityCompensationIssuance, typeof EquityCompensationIssuance.templateId>
|
|
70
|
+
export type Event = damlLedger.Event<EquityCompensationIssuance, undefined, typeof EquityCompensationIssuance.templateId>
|
|
71
|
+
export type QueryResult = damlLedger.QueryResult<EquityCompensationIssuance, undefined, typeof EquityCompensationIssuance.templateId>
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.OcfEquityCompensationIssuanceTxData = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, compensation_type: Fairmint_OpenCapTable_Types.OcfCompensationType.decoder, quantity: damlTypes.Numeric(10).decoder, security_id: damlTypes.Text.decoder, stakeholder_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).decoder, vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTerminationWindow).decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).decoder), exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).decoder), early_exercisable: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), stock_plan_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), vesting_terms_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
25
|
+
custom_id: damlTypes.Text.encode(__typed__.custom_id),
|
|
26
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
27
|
+
compensation_type: Fairmint_OpenCapTable_Types.OcfCompensationType.encode(__typed__.compensation_type),
|
|
28
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
29
|
+
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
30
|
+
stakeholder_id: damlTypes.Text.encode(__typed__.stakeholder_id),
|
|
31
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
32
|
+
security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).encode(__typed__.security_law_exemptions),
|
|
33
|
+
vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).encode(__typed__.vestings),
|
|
34
|
+
termination_exercise_windows: damlTypes.List(Fairmint_OpenCapTable_Types.OcfTerminationWindow).encode(__typed__.termination_exercise_windows),
|
|
35
|
+
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
36
|
+
consideration_text: damlTypes.Optional(damlTypes.Text).encode(__typed__.consideration_text),
|
|
37
|
+
base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.base_price),
|
|
38
|
+
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.exercise_price),
|
|
39
|
+
early_exercisable: damlTypes.Optional(damlTypes.Bool).encode(__typed__.early_exercisable),
|
|
40
|
+
expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiration_date),
|
|
41
|
+
stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_class_id),
|
|
42
|
+
stock_plan_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.stock_plan_id),
|
|
43
|
+
vesting_terms_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.vesting_terms_id),
|
|
44
|
+
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
,
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
exports.ArchiveByIssuer = {
|
|
53
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
54
|
+
encode: function (__typed__) {
|
|
55
|
+
return {
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
,
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
64
|
+
{
|
|
65
|
+
templateId: '#OpenCapTable-v25:Fairmint.OpenCapTable.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
66
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
67
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
68
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.OcfEquityCompensationIssuanceTxData.decoder, }); }),
|
|
69
|
+
encode: function (__typed__) {
|
|
70
|
+
return {
|
|
71
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
72
|
+
issuance_data: exports.OcfEquityCompensationIssuanceTxData.encode(__typed__.issuance_data),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
,
|
|
76
|
+
Archive: {
|
|
77
|
+
template: function () { return exports.EquityCompensationIssuance; },
|
|
78
|
+
choiceName: 'Archive',
|
|
79
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
80
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
81
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
82
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
83
|
+
},
|
|
84
|
+
ArchiveByIssuer: {
|
|
85
|
+
template: function () { return exports.EquityCompensationIssuance; },
|
|
86
|
+
choiceName: 'ArchiveByIssuer',
|
|
87
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
88
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
89
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
90
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
91
|
+
},
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['83e4200150d7af966955c3860686d5f183330ce0c3150858c8e0b78a992f34d0', '#OpenCapTable-v25']);
|
|
98
|
+
|