@fairmint/open-captable-protocol-daml-js 0.3.7 → 0.3.8
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 +6 -4
- package/lib/DA/Internal/Template/module.js +7 -7
- package/lib/DA/Set/Types/index.js +0 -1
- package/lib/DA/Set/Types/module.d.ts +7 -6
- package/lib/DA/Set/Types/module.js +11 -15
- package/lib/DA/Set/index.d.ts +1 -2
- package/lib/DA/Set/index.js +0 -2
- package/lib/DA/Time/Types/index.js +0 -1
- package/lib/DA/Time/Types/module.d.ts +7 -5
- package/lib/DA/Time/Types/module.js +8 -10
- package/lib/DA/Time/index.d.ts +1 -2
- package/lib/DA/Time/index.js +0 -2
- package/lib/DA/Types/index.js +0 -1
- package/lib/DA/Types/module.d.ts +344 -305
- package/lib/DA/Types/module.js +431 -689
- package/lib/Fairmint/OpenCapTable/CapTable/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +358 -336
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +406 -1286
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +25 -21
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +59 -71
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +28 -23
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +46 -61
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +50 -42
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +68 -97
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +51 -39
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +64 -134
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +39 -34
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +57 -83
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +27 -22
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +45 -59
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +31 -26
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +49 -67
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +76 -54
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +95 -132
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +33 -28
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +51 -71
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +44 -35
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +60 -88
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +32 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +48 -66
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +33 -24
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +49 -65
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +119 -86
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +157 -252
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +36 -31
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +54 -77
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +48 -49
- package/lib/Fairmint/OpenCapTable/OCF/index.js +47 -49
- package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +18 -15
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +41 -50
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +27 -14
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +26 -40
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +361 -252
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +396 -602
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +18 -13
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +20 -25
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +35 -23
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +37 -52
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +7 -4
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +4 -19
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +90 -56
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +86 -132
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +57 -37
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +56 -90
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +7 -8
- package/lib/Fairmint/OpenCapTable/Types/index.js +6 -8
- package/lib/Fairmint/OpenCapTable/index.d.ts +5 -6
- package/lib/Fairmint/OpenCapTable/index.js +4 -6
- package/lib/Splice/Amulet/TokenApiUtils/index.js +0 -1
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +7 -4
- package/lib/Splice/Amulet/TokenApiUtils/module.js +4 -12
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +0 -1
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +15 -13
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +16 -26
- package/lib/Splice/Amulet/index.d.ts +2 -4
- package/lib/Splice/Amulet/index.js +1 -4
- package/lib/Splice/Amulet/module.d.ts +487 -370
- package/lib/Splice/Amulet/module.js +817 -996
- package/lib/Splice/AmuletAllocation/index.js +0 -1
- package/lib/Splice/AmuletAllocation/module.d.ts +11 -9
- package/lib/Splice/AmuletAllocation/module.js +26 -31
- package/lib/Splice/AmuletConfig/index.js +0 -1
- package/lib/Splice/AmuletConfig/module.d.ts +56 -42
- package/lib/Splice/AmuletConfig/module.js +62 -93
- package/lib/Splice/AmuletRules/index.js +0 -1
- package/lib/Splice/AmuletRules/module.d.ts +875 -682
- package/lib/Splice/AmuletRules/module.js +1274 -1689
- package/lib/Splice/AmuletTransferInstruction/index.js +0 -1
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +11 -9
- package/lib/Splice/AmuletTransferInstruction/module.js +26 -31
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +50 -40
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +61 -84
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +0 -1
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +51 -41
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +62 -86
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +99 -82
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +142 -202
- package/lib/Splice/Api/Token/AllocationV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +109 -84
- package/lib/Splice/Api/Token/AllocationV1/module.js +139 -185
- package/lib/Splice/Api/Token/HoldingV1/index.js +0 -1
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +34 -27
- package/lib/Splice/Api/Token/HoldingV1/module.js +39 -55
- package/lib/Splice/Api/Token/MetadataV1/index.js +0 -1
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +60 -44
- package/lib/Splice/Api/Token/MetadataV1/module.js +70 -123
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +137 -112
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +195 -278
- package/lib/Splice/DecentralizedSynchronizer/index.js +0 -1
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +58 -44
- package/lib/Splice/DecentralizedSynchronizer/module.js +79 -103
- package/lib/Splice/Expiry/index.js +0 -1
- package/lib/Splice/Expiry/module.d.ts +18 -14
- package/lib/Splice/Expiry/module.js +23 -37
- package/lib/Splice/ExternalPartyAmuletRules/index.js +0 -1
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +147 -116
- package/lib/Splice/ExternalPartyAmuletRules/module.js +242 -307
- package/lib/Splice/Fees/index.js +0 -1
- package/lib/Splice/Fees/module.d.ts +40 -26
- package/lib/Splice/Fees/module.js +48 -57
- package/lib/Splice/Issuance/index.js +0 -1
- package/lib/Splice/Issuance/module.d.ts +50 -39
- package/lib/Splice/Issuance/module.js +56 -82
- package/lib/Splice/RelRound/index.js +0 -1
- package/lib/Splice/RelRound/module.d.ts +7 -5
- package/lib/Splice/RelRound/module.js +8 -10
- package/lib/Splice/Round/index.js +0 -1
- package/lib/Splice/Round/module.d.ts +78 -66
- package/lib/Splice/Round/module.js +142 -186
- package/lib/Splice/Schedule/index.js +0 -1
- package/lib/Splice/Schedule/module.d.ts +8 -7
- package/lib/Splice/Schedule/module.js +12 -17
- package/lib/Splice/Types/index.js +0 -1
- package/lib/Splice/Types/module.d.ts +31 -20
- package/lib/Splice/Types/module.js +37 -44
- package/lib/Splice/ValidatorLicense/index.js +0 -1
- package/lib/Splice/ValidatorLicense/module.d.ts +195 -145
- package/lib/Splice/ValidatorLicense/module.js +310 -388
- package/package.json +7 -7
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/Round.daml
|
|
3
2
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
4
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
4
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -14,93 +13,106 @@ import * as Splice_Issuance from '../../Splice/Issuance/module';
|
|
|
14
13
|
import * as Splice_Types from '../../Splice/Types/module';
|
|
15
14
|
|
|
16
15
|
export declare type ClosedMiningRound = {
|
|
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
|
-
}
|
|
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
|
+
};
|
|
25
24
|
|
|
26
25
|
export declare interface ClosedMiningRoundInterface {
|
|
27
|
-
Archive:
|
|
28
|
-
damlTypes.Choice<ClosedMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
29
|
-
damlTypes.ChoiceFrom<damlTypes.Template<ClosedMiningRound, undefined>>;
|
|
26
|
+
Archive: damlTypes.Choice<ClosedMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ClosedMiningRound, undefined>>;
|
|
30
27
|
}
|
|
31
28
|
export declare const ClosedMiningRound:
|
|
32
29
|
damlTypes.Template<ClosedMiningRound, undefined, '#splice-amulet:Splice.Round:ClosedMiningRound'> &
|
|
33
30
|
damlTypes.ToInterface<ClosedMiningRound, never> &
|
|
34
|
-
ClosedMiningRoundInterface
|
|
31
|
+
ClosedMiningRoundInterface;
|
|
35
32
|
|
|
36
|
-
export declare
|
|
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>,
|
|
33
|
+
export declare namespace ClosedMiningRound {
|
|
46
34
|
}
|
|
47
35
|
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
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
|
+
};
|
|
49
|
+
|
|
48
50
|
export declare interface IssuingMiningRoundInterface {
|
|
49
|
-
Archive:
|
|
50
|
-
damlTypes.Choice<IssuingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
51
|
-
damlTypes.ChoiceFrom<damlTypes.Template<IssuingMiningRound, undefined>>;
|
|
51
|
+
Archive: damlTypes.Choice<IssuingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & 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 type OpenMiningRound = {
|
|
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
|
-
}
|
|
56
|
+
IssuingMiningRoundInterface;
|
|
69
57
|
|
|
70
|
-
export declare
|
|
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>>;
|
|
58
|
+
export declare namespace IssuingMiningRound {
|
|
77
59
|
}
|
|
78
|
-
export declare const OpenMiningRound:
|
|
79
|
-
damlTypes.Template<OpenMiningRound, undefined, '#splice-amulet:Splice.Round:OpenMiningRound'> &
|
|
80
|
-
damlTypes.ToInterface<OpenMiningRound, never> &
|
|
81
|
-
OpenMiningRoundInterface
|
|
82
60
|
|
|
83
|
-
export declare type OpenMiningRound_Fetch = {
|
|
84
|
-
p: damlTypes.Party,
|
|
85
|
-
}
|
|
86
61
|
|
|
87
|
-
export declare const OpenMiningRound_Fetch:
|
|
88
|
-
damlTypes.Serializable<OpenMiningRound_Fetch>
|
|
89
62
|
|
|
90
63
|
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
|
-
}
|
|
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
|
+
};
|
|
97
70
|
|
|
98
71
|
export declare interface SummarizingMiningRoundInterface {
|
|
99
|
-
Archive:
|
|
100
|
-
damlTypes.Choice<SummarizingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
101
|
-
damlTypes.ChoiceFrom<damlTypes.Template<SummarizingMiningRound, undefined>>;
|
|
72
|
+
Archive: damlTypes.Choice<SummarizingMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SummarizingMiningRound, undefined>>;
|
|
102
73
|
}
|
|
103
74
|
export declare const SummarizingMiningRound:
|
|
104
75
|
damlTypes.Template<SummarizingMiningRound, undefined, '#splice-amulet:Splice.Round:SummarizingMiningRound'> &
|
|
105
76
|
damlTypes.ToInterface<SummarizingMiningRound, never> &
|
|
106
|
-
SummarizingMiningRoundInterface
|
|
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
|
+
|
|
93
|
+
|
|
94
|
+
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
|
+
};
|
|
105
|
+
|
|
106
|
+
export declare interface OpenMiningRoundInterface {
|
|
107
|
+
Archive: damlTypes.Choice<OpenMiningRound, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OpenMiningRound, undefined>>;
|
|
108
|
+
OpenMiningRound_Fetch: damlTypes.Choice<OpenMiningRound, OpenMiningRound_Fetch, OpenMiningRound, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OpenMiningRound, undefined>>;
|
|
109
|
+
}
|
|
110
|
+
export declare const OpenMiningRound:
|
|
111
|
+
damlTypes.Template<OpenMiningRound, undefined, '#splice-amulet:Splice.Round:OpenMiningRound'> &
|
|
112
|
+
damlTypes.ToInterface<OpenMiningRound, never> &
|
|
113
|
+
OpenMiningRoundInterface;
|
|
114
|
+
|
|
115
|
+
export declare namespace OpenMiningRound {
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
@@ -5,7 +5,6 @@ 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
|
-
|
|
9
8
|
/* eslint-disable-next-line no-unused-vars */
|
|
10
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
11
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -18,211 +17,168 @@ var Splice_AmuletConfig = require('../../Splice/AmuletConfig/module');
|
|
|
18
17
|
var Splice_Issuance = require('../../Splice/Issuance/module');
|
|
19
18
|
var Splice_Types = require('../../Splice/Types/module');
|
|
20
19
|
|
|
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
|
-
|
|
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
|
-
},
|
|
22
|
+
{
|
|
23
|
+
templateId: '#splice-amulet:Splice.Round:ClosedMiningRound',
|
|
24
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:ClosedMiningRound',
|
|
25
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
26
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
27
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
28
|
+
encode: function (__typed__) {
|
|
29
|
+
return {
|
|
30
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
31
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
32
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorRewardCoupon),
|
|
33
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerFeaturedAppRewardCoupon),
|
|
34
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerUnfeaturedAppRewardCoupon),
|
|
35
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerSvRewardCoupon),
|
|
36
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optIssuancePerValidatorFaucetCoupon),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
,
|
|
40
|
+
Archive: {
|
|
41
|
+
template: function () { return exports.ClosedMiningRound; },
|
|
42
|
+
choiceName: 'Archive',
|
|
43
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
44
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
45
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
46
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
61
47
|
},
|
|
48
|
+
}
|
|
49
|
+
|
|
62
50
|
);
|
|
63
51
|
|
|
52
|
+
|
|
64
53
|
damlTypes.registerTemplate(exports.ClosedMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
65
54
|
|
|
55
|
+
|
|
56
|
+
|
|
66
57
|
exports.IssuingMiningRound = damlTypes.assembleTemplate(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
},
|
|
58
|
+
{
|
|
59
|
+
templateId: '#splice-amulet:Splice.Round:IssuingMiningRound',
|
|
60
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:IssuingMiningRound',
|
|
61
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
62
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
63
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, opensAt: damlTypes.Time.decoder, targetClosesAt: damlTypes.Time.decoder, optIssuancePerValidatorFaucetCoupon: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
64
|
+
encode: function (__typed__) {
|
|
65
|
+
return {
|
|
66
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
67
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
68
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorRewardCoupon),
|
|
69
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerFeaturedAppRewardCoupon),
|
|
70
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerUnfeaturedAppRewardCoupon),
|
|
71
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerSvRewardCoupon),
|
|
72
|
+
opensAt: damlTypes.Time.encode(__typed__.opensAt),
|
|
73
|
+
targetClosesAt: damlTypes.Time.encode(__typed__.targetClosesAt),
|
|
74
|
+
optIssuancePerValidatorFaucetCoupon: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optIssuancePerValidatorFaucetCoupon),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
,
|
|
78
|
+
Archive: {
|
|
79
|
+
template: function () { return exports.IssuingMiningRound; },
|
|
80
|
+
choiceName: 'Archive',
|
|
81
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
82
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
83
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
84
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
110
85
|
},
|
|
86
|
+
}
|
|
87
|
+
|
|
111
88
|
);
|
|
112
89
|
|
|
90
|
+
|
|
113
91
|
damlTypes.registerTemplate(exports.IssuingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
114
92
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
},
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
exports.SummarizingMiningRound = damlTypes.assembleTemplate(
|
|
96
|
+
{
|
|
97
|
+
templateId: '#splice-amulet:Splice.Round:SummarizingMiningRound',
|
|
98
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:SummarizingMiningRound',
|
|
99
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
100
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
101
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, amuletPrice: damlTypes.Numeric(10).decoder, issuanceConfig: Splice_Issuance.IssuanceConfig.decoder, tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }); }),
|
|
102
|
+
encode: function (__typed__) {
|
|
103
|
+
return {
|
|
104
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
105
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
106
|
+
amuletPrice: damlTypes.Numeric(10).encode(__typed__.amuletPrice),
|
|
107
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.encode(__typed__.issuanceConfig),
|
|
108
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.tickDuration),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
,
|
|
112
|
+
Archive: {
|
|
113
|
+
template: function () { return exports.SummarizingMiningRound; },
|
|
114
|
+
choiceName: 'Archive',
|
|
115
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
116
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
117
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
118
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
171
119
|
},
|
|
120
|
+
}
|
|
121
|
+
|
|
172
122
|
);
|
|
173
123
|
|
|
174
|
-
|
|
124
|
+
|
|
125
|
+
damlTypes.registerTemplate(exports.SummarizingMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
126
|
+
|
|
127
|
+
|
|
175
128
|
|
|
176
129
|
exports.OpenMiningRound_Fetch = {
|
|
177
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
178
|
-
return jtv.object({
|
|
179
|
-
p: damlTypes.Party.decoder,
|
|
180
|
-
});
|
|
181
|
-
}),
|
|
130
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({p: damlTypes.Party.decoder, }); }),
|
|
182
131
|
encode: function (__typed__) {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
132
|
+
return {
|
|
133
|
+
p: damlTypes.Party.encode(__typed__.p),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
,
|
|
187
137
|
};
|
|
188
138
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
-
},
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
exports.OpenMiningRound = damlTypes.assembleTemplate(
|
|
142
|
+
{
|
|
143
|
+
templateId: '#splice-amulet:Splice.Round:OpenMiningRound',
|
|
144
|
+
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.Round:OpenMiningRound',
|
|
145
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
146
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
147
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, round: Splice_Types.Round.decoder, amuletPrice: damlTypes.Numeric(10).decoder, opensAt: damlTypes.Time.decoder, targetClosesAt: damlTypes.Time.decoder, issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, transferConfigUsd: Splice_AmuletConfig.TransferConfig(Splice_AmuletConfig.USD).decoder, issuanceConfig: Splice_Issuance.IssuanceConfig.decoder, tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, }); }),
|
|
148
|
+
encode: function (__typed__) {
|
|
149
|
+
return {
|
|
150
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
151
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
152
|
+
amuletPrice: damlTypes.Numeric(10).encode(__typed__.amuletPrice),
|
|
153
|
+
opensAt: damlTypes.Time.encode(__typed__.opensAt),
|
|
154
|
+
targetClosesAt: damlTypes.Time.encode(__typed__.targetClosesAt),
|
|
155
|
+
issuingFor: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.issuingFor),
|
|
156
|
+
transferConfigUsd: Splice_AmuletConfig.TransferConfig(Splice_AmuletConfig.USD).encode(__typed__.transferConfigUsd),
|
|
157
|
+
issuanceConfig: Splice_Issuance.IssuanceConfig.encode(__typed__.issuanceConfig),
|
|
158
|
+
tickDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.tickDuration),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
,
|
|
162
|
+
Archive: {
|
|
163
|
+
template: function () { return exports.OpenMiningRound; },
|
|
164
|
+
choiceName: 'Archive',
|
|
165
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
166
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
167
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
168
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
225
169
|
},
|
|
170
|
+
OpenMiningRound_Fetch: {
|
|
171
|
+
template: function () { return exports.OpenMiningRound; },
|
|
172
|
+
choiceName: 'OpenMiningRound_Fetch',
|
|
173
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.OpenMiningRound_Fetch.decoder; }),
|
|
174
|
+
argumentEncode: function (__typed__) { return exports.OpenMiningRound_Fetch.encode(__typed__); },
|
|
175
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.OpenMiningRound.decoder; }),
|
|
176
|
+
resultEncode: function (__typed__) { return exports.OpenMiningRound.encode(__typed__); },
|
|
177
|
+
},
|
|
178
|
+
}
|
|
179
|
+
|
|
226
180
|
);
|
|
227
181
|
|
|
228
|
-
|
|
182
|
+
|
|
183
|
+
damlTypes.registerTemplate(exports.OpenMiningRound, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
184
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/Schedule.daml
|
|
3
2
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
4
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
4
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -9,9 +8,11 @@ import * as damlTypes from '@daml/types';
|
|
|
9
8
|
import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../__bundled__/daml-prim-DA-Types';
|
|
10
9
|
|
|
11
10
|
export declare type Schedule<t, a> = {
|
|
12
|
-
initialValue: a
|
|
13
|
-
futureValues: pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<t, a>[]
|
|
14
|
-
}
|
|
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
|
+
};
|
|
15
18
|
|
|
16
|
-
export declare const Schedule:
|
|
17
|
-
<t, a>(t: damlTypes.Serializable<t>, a: damlTypes.Serializable<a>) => damlTypes.Serializable<Schedule<t, a>>
|
|
@@ -5,7 +5,6 @@ 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
|
-
|
|
9
8
|
/* eslint-disable-next-line no-unused-vars */
|
|
10
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
11
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -13,19 +12,15 @@ var damlTypes = require('@daml/types');
|
|
|
13
12
|
|
|
14
13
|
var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../__bundled__/daml-prim-DA-Types');
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
};
|
|
15
|
+
|
|
16
|
+
exports.Schedule = function (t, a) { return ({
|
|
17
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({initialValue: a.decoder, futureValues: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(t, a)).decoder, }); }),
|
|
18
|
+
encode: function (__typed__) {
|
|
19
|
+
return {
|
|
20
|
+
initialValue: a.encode(__typed__.initialValue),
|
|
21
|
+
futureValues: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(t, a)).encode(__typed__.futureValues),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
,
|
|
25
|
+
}); };
|
|
26
|
+
|