@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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Generated from Splice/Round.daml
|
|
1
|
+
// Generated from ../../Splice/Round/module.daml
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -13,106 +14,93 @@ import * as Splice_Issuance from '../../Splice/Issuance/module';
|
|
|
13
14
|
import * as Splice_Types from '../../Splice/Types/module';
|
|
14
15
|
|
|
15
16
|
export declare type ClosedMiningRound = {
|
|
16
|
-
dso: damlTypes.Party
|
|
17
|
-
round: Splice_Types.Round
|
|
18
|
-
issuancePerValidatorRewardCoupon: damlTypes.Numeric
|
|
19
|
-
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric
|
|
20
|
-
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric
|
|
21
|
-
issuancePerSvRewardCoupon: damlTypes.Numeric
|
|
22
|
-
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional<damlTypes.Numeric
|
|
23
|
-
}
|
|
17
|
+
dso: damlTypes.Party,
|
|
18
|
+
round: Splice_Types.Round,
|
|
19
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric,
|
|
20
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric,
|
|
21
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric,
|
|
22
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric,
|
|
23
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional<damlTypes.Numeric>,
|
|
24
|
+
}
|
|
24
25
|
|
|
25
26
|
export declare interface ClosedMiningRoundInterface {
|
|
26
|
-
Archive:
|
|
27
|
+
Archive:
|
|
28
|
+
damlTypes.Choice<ClosedMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
29
|
+
damlTypes.ChoiceFrom<damlTypes.Template<ClosedMiningRound, undefined>>;
|
|
27
30
|
}
|
|
28
31
|
export declare const ClosedMiningRound:
|
|
29
32
|
damlTypes.Template<ClosedMiningRound, undefined, '#splice-amulet:Splice.Round:ClosedMiningRound'> &
|
|
30
33
|
damlTypes.ToInterface<ClosedMiningRound, never> &
|
|
31
|
-
ClosedMiningRoundInterface
|
|
32
|
-
|
|
33
|
-
export declare namespace ClosedMiningRound {
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
ClosedMiningRoundInterface
|
|
37
35
|
|
|
38
36
|
export declare type IssuingMiningRound = {
|
|
39
|
-
dso: damlTypes.Party
|
|
40
|
-
round: Splice_Types.Round
|
|
41
|
-
issuancePerValidatorRewardCoupon: damlTypes.Numeric
|
|
42
|
-
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric
|
|
43
|
-
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric
|
|
44
|
-
issuancePerSvRewardCoupon: damlTypes.Numeric
|
|
45
|
-
opensAt: damlTypes.Time
|
|
46
|
-
targetClosesAt: damlTypes.Time
|
|
47
|
-
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional<damlTypes.Numeric
|
|
48
|
-
}
|
|
37
|
+
dso: damlTypes.Party,
|
|
38
|
+
round: Splice_Types.Round,
|
|
39
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric,
|
|
40
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric,
|
|
41
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric,
|
|
42
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric,
|
|
43
|
+
opensAt: damlTypes.Time,
|
|
44
|
+
targetClosesAt: damlTypes.Time,
|
|
45
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional<damlTypes.Numeric>,
|
|
46
|
+
}
|
|
49
47
|
|
|
50
48
|
export declare interface IssuingMiningRoundInterface {
|
|
51
|
-
Archive:
|
|
49
|
+
Archive:
|
|
50
|
+
damlTypes.Choice<IssuingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
51
|
+
damlTypes.ChoiceFrom<damlTypes.Template<IssuingMiningRound, undefined>>;
|
|
52
52
|
}
|
|
53
53
|
export declare const IssuingMiningRound:
|
|
54
54
|
damlTypes.Template<IssuingMiningRound, undefined, '#splice-amulet:Splice.Round:IssuingMiningRound'> &
|
|
55
55
|
damlTypes.ToInterface<IssuingMiningRound, never> &
|
|
56
|
-
IssuingMiningRoundInterface
|
|
57
|
-
|
|
58
|
-
export declare namespace IssuingMiningRound {
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export declare type SummarizingMiningRound = {
|
|
64
|
-
dso: damlTypes.Party;
|
|
65
|
-
round: Splice_Types.Round;
|
|
66
|
-
amuletPrice: damlTypes.Numeric;
|
|
67
|
-
issuanceConfig: Splice_Issuance.IssuanceConfig;
|
|
68
|
-
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export declare interface SummarizingMiningRoundInterface {
|
|
72
|
-
Archive: damlTypes.Choice<SummarizingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SummarizingMiningRound, undefined>>;
|
|
73
|
-
}
|
|
74
|
-
export declare const SummarizingMiningRound:
|
|
75
|
-
damlTypes.Template<SummarizingMiningRound, undefined, '#splice-amulet:Splice.Round:SummarizingMiningRound'> &
|
|
76
|
-
damlTypes.ToInterface<SummarizingMiningRound, never> &
|
|
77
|
-
SummarizingMiningRoundInterface;
|
|
78
|
-
|
|
79
|
-
export declare namespace SummarizingMiningRound {
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
export declare type OpenMiningRound_Fetch = {
|
|
85
|
-
p: damlTypes.Party;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export declare const OpenMiningRound_Fetch:
|
|
89
|
-
damlTypes.Serializable<OpenMiningRound_Fetch> & {
|
|
90
|
-
}
|
|
91
|
-
;
|
|
92
|
-
|
|
56
|
+
IssuingMiningRoundInterface
|
|
93
57
|
|
|
94
58
|
export declare type OpenMiningRound = {
|
|
95
|
-
dso: damlTypes.Party
|
|
96
|
-
round: Splice_Types.Round
|
|
97
|
-
amuletPrice: damlTypes.Numeric
|
|
98
|
-
opensAt: damlTypes.Time
|
|
99
|
-
targetClosesAt: damlTypes.Time
|
|
100
|
-
issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime
|
|
101
|
-
transferConfigUsd: Splice_AmuletConfig.TransferConfig<Splice_AmuletConfig.USD
|
|
102
|
-
issuanceConfig: Splice_Issuance.IssuanceConfig
|
|
103
|
-
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime
|
|
104
|
-
}
|
|
59
|
+
dso: damlTypes.Party,
|
|
60
|
+
round: Splice_Types.Round,
|
|
61
|
+
amuletPrice: damlTypes.Numeric,
|
|
62
|
+
opensAt: damlTypes.Time,
|
|
63
|
+
targetClosesAt: damlTypes.Time,
|
|
64
|
+
issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime,
|
|
65
|
+
transferConfigUsd: Splice_AmuletConfig.TransferConfig<Splice_AmuletConfig.USD>,
|
|
66
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig,
|
|
67
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime,
|
|
68
|
+
}
|
|
105
69
|
|
|
106
70
|
export declare interface OpenMiningRoundInterface {
|
|
107
|
-
Archive:
|
|
108
|
-
|
|
71
|
+
Archive:
|
|
72
|
+
damlTypes.Choice<OpenMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
73
|
+
damlTypes.ChoiceFrom<damlTypes.Template<OpenMiningRound, undefined>>;
|
|
74
|
+
OpenMiningRound_Fetch:
|
|
75
|
+
damlTypes.Choice<OpenMiningRound, OpenMiningRound_Fetch, OpenMiningRound, undefined> &
|
|
76
|
+
damlTypes.ChoiceFrom<damlTypes.Template<OpenMiningRound, undefined>>;
|
|
109
77
|
}
|
|
110
78
|
export declare const OpenMiningRound:
|
|
111
79
|
damlTypes.Template<OpenMiningRound, undefined, '#splice-amulet:Splice.Round:OpenMiningRound'> &
|
|
112
80
|
damlTypes.ToInterface<OpenMiningRound, never> &
|
|
113
|
-
OpenMiningRoundInterface
|
|
81
|
+
OpenMiningRoundInterface
|
|
114
82
|
|
|
115
|
-
export declare
|
|
83
|
+
export declare type OpenMiningRound_Fetch = {
|
|
84
|
+
p: damlTypes.Party,
|
|
116
85
|
}
|
|
117
86
|
|
|
87
|
+
export declare const OpenMiningRound_Fetch:
|
|
88
|
+
damlTypes.Serializable<OpenMiningRound_Fetch>
|
|
118
89
|
|
|
90
|
+
export declare type SummarizingMiningRound = {
|
|
91
|
+
dso: damlTypes.Party,
|
|
92
|
+
round: Splice_Types.Round,
|
|
93
|
+
amuletPrice: damlTypes.Numeric,
|
|
94
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig,
|
|
95
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime,
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export declare interface SummarizingMiningRoundInterface {
|
|
99
|
+
Archive:
|
|
100
|
+
damlTypes.Choice<SummarizingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
101
|
+
damlTypes.ChoiceFrom<damlTypes.Template<SummarizingMiningRound, undefined>>;
|
|
102
|
+
}
|
|
103
|
+
export declare const SummarizingMiningRound:
|
|
104
|
+
damlTypes.Template<SummarizingMiningRound, undefined, '#splice-amulet:Splice.Round:SummarizingMiningRound'> &
|
|
105
|
+
damlTypes.ToInterface<SummarizingMiningRound, never> &
|
|
106
|
+
SummarizingMiningRoundInterface
|
|
@@ -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 */
|
|
@@ -17,168 +18,211 @@ var Splice_AmuletConfig = require('../../Splice/AmuletConfig/module');
|
|
|
17
18
|
var Splice_Issuance = require('../../Splice/Issuance/module');
|
|
18
19
|
var Splice_Types = require('../../Splice/Types/module');
|
|
19
20
|
|
|
20
|
-
|
|
21
21
|
exports.ClosedMiningRound = damlTypes.assembleTemplate(
|
|
22
|
-
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
22
|
+
{
|
|
23
|
+
templateId: '#splice-amulet:Splice.Round:ClosedMiningRound',
|
|
24
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:ClosedMiningRound',
|
|
25
|
+
keyDecoder: jtv.constant(undefined),
|
|
26
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
27
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
28
|
+
return jtv.object({
|
|
29
|
+
dso: damlTypes.Party.decoder,
|
|
30
|
+
round: Splice_Types.Round.decoder,
|
|
31
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
32
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
33
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
34
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
35
|
+
optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
36
|
+
});
|
|
37
|
+
}),
|
|
38
|
+
encode: function (__typed__) {
|
|
39
|
+
return {
|
|
40
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
41
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
42
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorRewardCoupon),
|
|
43
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerFeaturedAppRewardCoupon),
|
|
44
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerUnfeaturedAppRewardCoupon),
|
|
45
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerSvRewardCoupon),
|
|
46
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optIssuancePerValidatorFaucetCoupon),
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
Archive: {
|
|
50
|
+
template: function () { return exports.ClosedMiningRound; },
|
|
51
|
+
choiceName: 'Archive',
|
|
52
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
53
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
54
|
+
}),
|
|
55
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
56
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
57
|
+
return damlTypes.Unit.decoder;
|
|
58
|
+
}),
|
|
59
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
60
|
+
},
|
|
47
61
|
},
|
|
48
|
-
}
|
|
49
|
-
|
|
50
62
|
);
|
|
51
63
|
|
|
52
|
-
|
|
53
64
|
damlTypes.registerTemplate(exports.ClosedMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
54
65
|
|
|
55
|
-
|
|
56
|
-
|
|
57
66
|
exports.IssuingMiningRound = damlTypes.assembleTemplate(
|
|
58
|
-
{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
67
|
+
{
|
|
68
|
+
templateId: '#splice-amulet:Splice.Round:IssuingMiningRound',
|
|
69
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:IssuingMiningRound',
|
|
70
|
+
keyDecoder: jtv.constant(undefined),
|
|
71
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
72
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
73
|
+
return jtv.object({
|
|
74
|
+
dso: damlTypes.Party.decoder,
|
|
75
|
+
round: Splice_Types.Round.decoder,
|
|
76
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
77
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
78
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
79
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
80
|
+
opensAt: damlTypes.Time.decoder,
|
|
81
|
+
targetClosesAt: damlTypes.Time.decoder,
|
|
82
|
+
optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
83
|
+
});
|
|
84
|
+
}),
|
|
85
|
+
encode: function (__typed__) {
|
|
86
|
+
return {
|
|
87
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
88
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
89
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorRewardCoupon),
|
|
90
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerFeaturedAppRewardCoupon),
|
|
91
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerUnfeaturedAppRewardCoupon),
|
|
92
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerSvRewardCoupon),
|
|
93
|
+
opensAt: damlTypes.Time.encode(__typed__.opensAt),
|
|
94
|
+
targetClosesAt: damlTypes.Time.encode(__typed__.targetClosesAt),
|
|
95
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optIssuancePerValidatorFaucetCoupon),
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
Archive: {
|
|
99
|
+
template: function () { return exports.IssuingMiningRound; },
|
|
100
|
+
choiceName: 'Archive',
|
|
101
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
102
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
103
|
+
}),
|
|
104
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
105
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
106
|
+
return damlTypes.Unit.decoder;
|
|
107
|
+
}),
|
|
108
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
109
|
+
},
|
|
85
110
|
},
|
|
86
|
-
}
|
|
87
|
-
|
|
88
111
|
);
|
|
89
112
|
|
|
90
|
-
|
|
91
113
|
damlTypes.registerTemplate(exports.IssuingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
92
114
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
exports.OpenMiningRound = damlTypes.assembleTemplate(
|
|
116
|
+
{
|
|
117
|
+
templateId: '#splice-amulet:Splice.Round:OpenMiningRound',
|
|
118
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:OpenMiningRound',
|
|
119
|
+
keyDecoder: jtv.constant(undefined),
|
|
120
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
121
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
122
|
+
return jtv.object({
|
|
123
|
+
dso: damlTypes.Party.decoder,
|
|
124
|
+
round: Splice_Types.Round.decoder,
|
|
125
|
+
amuletPrice: damlTypes.Numeric(10).decoder,
|
|
126
|
+
opensAt: damlTypes.Time.decoder,
|
|
127
|
+
targetClosesAt: damlTypes.Time.decoder,
|
|
128
|
+
issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder,
|
|
129
|
+
transferConfigUsd: Splice_AmuletConfig.TransferConfig(Splice_AmuletConfig.USD).decoder,
|
|
130
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.decoder,
|
|
131
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder,
|
|
132
|
+
});
|
|
133
|
+
}),
|
|
134
|
+
encode: function (__typed__) {
|
|
135
|
+
return {
|
|
136
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
137
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
138
|
+
amuletPrice: damlTypes.Numeric(10).encode(__typed__.amuletPrice),
|
|
139
|
+
opensAt: damlTypes.Time.encode(__typed__.opensAt),
|
|
140
|
+
targetClosesAt: damlTypes.Time.encode(__typed__.targetClosesAt),
|
|
141
|
+
issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.issuingFor),
|
|
142
|
+
transferConfigUsd: Splice_AmuletConfig.TransferConfig(Splice_AmuletConfig.USD).encode(__typed__.transferConfigUsd),
|
|
143
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.encode(__typed__.issuanceConfig),
|
|
144
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.tickDuration),
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
Archive: {
|
|
148
|
+
template: function () { return exports.OpenMiningRound; },
|
|
149
|
+
choiceName: 'Archive',
|
|
150
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
151
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
152
|
+
}),
|
|
153
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
154
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
155
|
+
return damlTypes.Unit.decoder;
|
|
156
|
+
}),
|
|
157
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
158
|
+
},
|
|
159
|
+
OpenMiningRound_Fetch: {
|
|
160
|
+
template: function () { return exports.OpenMiningRound; },
|
|
161
|
+
choiceName: 'OpenMiningRound_Fetch',
|
|
162
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
163
|
+
return exports.OpenMiningRound_Fetch.decoder;
|
|
164
|
+
}),
|
|
165
|
+
argumentEncode: function (__typed__) { return exports.OpenMiningRound_Fetch.encode(__typed__); },
|
|
166
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
167
|
+
return exports.OpenMiningRound.decoder;
|
|
168
|
+
}),
|
|
169
|
+
resultEncode: function (__typed__) { return exports.OpenMiningRound.encode(__typed__); },
|
|
170
|
+
},
|
|
119
171
|
},
|
|
120
|
-
}
|
|
121
|
-
|
|
122
172
|
);
|
|
123
173
|
|
|
124
|
-
|
|
125
|
-
damlTypes.registerTemplate(exports.SummarizingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
126
|
-
|
|
127
|
-
|
|
174
|
+
damlTypes.registerTemplate(exports.OpenMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
128
175
|
|
|
129
176
|
exports.OpenMiningRound_Fetch = {
|
|
130
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
177
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
178
|
+
return jtv.object({
|
|
179
|
+
p: damlTypes.Party.decoder,
|
|
180
|
+
});
|
|
181
|
+
}),
|
|
131
182
|
encode: function (__typed__) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
,
|
|
183
|
+
return {
|
|
184
|
+
p: damlTypes.Party.encode(__typed__.p),
|
|
185
|
+
};
|
|
186
|
+
},
|
|
137
187
|
};
|
|
138
188
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.OpenMiningRound.decoder; }),
|
|
176
|
-
resultEncode: function (__typed__) { return exports.OpenMiningRound.encode(__typed__); },
|
|
189
|
+
exports.SummarizingMiningRound = damlTypes.assembleTemplate(
|
|
190
|
+
{
|
|
191
|
+
templateId: '#splice-amulet:Splice.Round:SummarizingMiningRound',
|
|
192
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:SummarizingMiningRound',
|
|
193
|
+
keyDecoder: jtv.constant(undefined),
|
|
194
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
195
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
196
|
+
return jtv.object({
|
|
197
|
+
dso: damlTypes.Party.decoder,
|
|
198
|
+
round: Splice_Types.Round.decoder,
|
|
199
|
+
amuletPrice: damlTypes.Numeric(10).decoder,
|
|
200
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.decoder,
|
|
201
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder,
|
|
202
|
+
});
|
|
203
|
+
}),
|
|
204
|
+
encode: function (__typed__) {
|
|
205
|
+
return {
|
|
206
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
207
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
208
|
+
amuletPrice: damlTypes.Numeric(10).encode(__typed__.amuletPrice),
|
|
209
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.encode(__typed__.issuanceConfig),
|
|
210
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.tickDuration),
|
|
211
|
+
};
|
|
212
|
+
},
|
|
213
|
+
Archive: {
|
|
214
|
+
template: function () { return exports.SummarizingMiningRound; },
|
|
215
|
+
choiceName: 'Archive',
|
|
216
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
217
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
218
|
+
}),
|
|
219
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
220
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
221
|
+
return damlTypes.Unit.decoder;
|
|
222
|
+
}),
|
|
223
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
224
|
+
},
|
|
177
225
|
},
|
|
178
|
-
}
|
|
179
|
-
|
|
180
226
|
);
|
|
181
227
|
|
|
182
|
-
|
|
183
|
-
damlTypes.registerTemplate(exports.OpenMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
184
|
-
|
|
228
|
+
damlTypes.registerTemplate(exports.SummarizingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Generated from Splice/Schedule.daml
|
|
1
|
+
// Generated from ../../Splice/Schedule/module.daml
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -8,11 +9,9 @@ import * as damlTypes from '@daml/types';
|
|
|
8
9
|
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../__bundled__/daml-prim-DA-Types';
|
|
9
10
|
|
|
10
11
|
export declare type Schedule<t, a> = {
|
|
11
|
-
initialValue: a
|
|
12
|
-
futureValues: pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<t, a>[]
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export declare const Schedule :
|
|
16
|
-
(<t, a>(t: damlTypes.Serializable<t>, a: damlTypes.Serializable<a>) => damlTypes.Serializable<Schedule<t, a>>) & {
|
|
17
|
-
};
|
|
12
|
+
initialValue: a,
|
|
13
|
+
futureValues: pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<t, a>[],
|
|
14
|
+
}
|
|
18
15
|
|
|
16
|
+
export declare const Schedule:
|
|
17
|
+
<t, a>(t: damlTypes.Serializable<t>, a: damlTypes.Serializable<a>) => damlTypes.Serializable<Schedule<t, a>>
|
|
@@ -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 */
|
|
@@ -12,15 +13,19 @@ var damlTypes = require('@daml/types');
|
|
|
12
13
|
|
|
13
14
|
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../__bundled__/daml-prim-DA-Types');
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
exports.Schedule = function (t, a) {
|
|
17
|
+
return ({
|
|
18
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
19
|
+
return jtv.object({
|
|
20
|
+
initialValue: a.decoder,
|
|
21
|
+
futureValues: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(t, a)).decoder,
|
|
22
|
+
});
|
|
23
|
+
}),
|
|
24
|
+
encode: function (__typed__) {
|
|
25
|
+
return {
|
|
26
|
+
initialValue: a.encode(__typed__.initialValue),
|
|
27
|
+
futureValues: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(t, a)).encode(__typed__.futureValues),
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
};
|