@fairmint/open-captable-protocol-daml-js 0.3.6 → 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 +8 -8
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/Fees.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 */
|
|
@@ -10,40 +9,55 @@ import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4
|
|
|
10
9
|
|
|
11
10
|
import * as Splice_Types from '../../Splice/Types/module';
|
|
12
11
|
|
|
12
|
+
export declare type RatePerDay = {
|
|
13
|
+
rate: damlTypes.Numeric;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export declare const RatePerDay:
|
|
17
|
+
damlTypes.Serializable<RatePerDay> & {
|
|
18
|
+
}
|
|
19
|
+
;
|
|
20
|
+
|
|
21
|
+
|
|
13
22
|
export declare type ExpiringAmount = {
|
|
14
|
-
initialAmount: damlTypes.Numeric
|
|
15
|
-
createdAt: Splice_Types.Round
|
|
16
|
-
ratePerRound: RatePerRound
|
|
17
|
-
}
|
|
23
|
+
initialAmount: damlTypes.Numeric;
|
|
24
|
+
createdAt: Splice_Types.Round;
|
|
25
|
+
ratePerRound: RatePerRound;
|
|
26
|
+
};
|
|
18
27
|
|
|
19
28
|
export declare const ExpiringAmount:
|
|
20
|
-
damlTypes.Serializable<ExpiringAmount>
|
|
29
|
+
damlTypes.Serializable<ExpiringAmount> & {
|
|
30
|
+
}
|
|
31
|
+
;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
export declare type SteppedRate = {
|
|
35
|
+
initialRate: damlTypes.Numeric;
|
|
36
|
+
steps: pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.Numeric, damlTypes.Numeric>[];
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export declare const SteppedRate:
|
|
40
|
+
damlTypes.Serializable<SteppedRate> & {
|
|
41
|
+
}
|
|
42
|
+
;
|
|
43
|
+
|
|
21
44
|
|
|
22
45
|
export declare type FixedFee = {
|
|
23
|
-
fee: damlTypes.Numeric
|
|
24
|
-
}
|
|
46
|
+
fee: damlTypes.Numeric;
|
|
47
|
+
};
|
|
25
48
|
|
|
26
49
|
export declare const FixedFee:
|
|
27
|
-
damlTypes.Serializable<FixedFee>
|
|
50
|
+
damlTypes.Serializable<FixedFee> & {
|
|
51
|
+
}
|
|
52
|
+
;
|
|
28
53
|
|
|
29
|
-
export declare type RatePerDay = {
|
|
30
|
-
rate: damlTypes.Numeric,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export declare const RatePerDay:
|
|
34
|
-
damlTypes.Serializable<RatePerDay>
|
|
35
54
|
|
|
36
55
|
export declare type RatePerRound = {
|
|
37
|
-
rate: damlTypes.Numeric
|
|
38
|
-
}
|
|
56
|
+
rate: damlTypes.Numeric;
|
|
57
|
+
};
|
|
39
58
|
|
|
40
59
|
export declare const RatePerRound:
|
|
41
|
-
damlTypes.Serializable<RatePerRound>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
initialRate: damlTypes.Numeric,
|
|
45
|
-
steps: pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.Numeric, damlTypes.Numeric>[],
|
|
46
|
-
}
|
|
60
|
+
damlTypes.Serializable<RatePerRound> & {
|
|
61
|
+
}
|
|
62
|
+
;
|
|
47
63
|
|
|
48
|
-
export declare const SteppedRate:
|
|
49
|
-
damlTypes.Serializable<SteppedRate>
|
|
@@ -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 */
|
|
@@ -15,73 +14,65 @@ var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = requir
|
|
|
15
14
|
|
|
16
15
|
var Splice_Types = require('../../Splice/Types/module');
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
initialAmount: damlTypes.Numeric(10).decoder,
|
|
22
|
-
createdAt: Splice_Types.Round.decoder,
|
|
23
|
-
ratePerRound: exports.RatePerRound.decoder,
|
|
24
|
-
});
|
|
25
|
-
}),
|
|
17
|
+
|
|
18
|
+
exports.RatePerDay = {
|
|
19
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({rate: damlTypes.Numeric(10).decoder, }); }),
|
|
26
20
|
encode: function (__typed__) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
21
|
+
return {
|
|
22
|
+
rate: damlTypes.Numeric(10).encode(__typed__.rate),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
,
|
|
33
26
|
};
|
|
34
27
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
});
|
|
40
|
-
}),
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.ExpiringAmount = {
|
|
31
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({initialAmount: damlTypes.Numeric(10).decoder, createdAt: Splice_Types.Round.decoder, ratePerRound: exports.RatePerRound.decoder, }); }),
|
|
41
32
|
encode: function (__typed__) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
return {
|
|
34
|
+
initialAmount: damlTypes.Numeric(10).encode(__typed__.initialAmount),
|
|
35
|
+
createdAt: Splice_Types.Round.encode(__typed__.createdAt),
|
|
36
|
+
ratePerRound: exports.RatePerRound.encode(__typed__.ratePerRound),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
,
|
|
46
40
|
};
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
});
|
|
53
|
-
}),
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
exports.SteppedRate = {
|
|
45
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({initialRate: damlTypes.Numeric(10).decoder, steps: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Numeric(10), damlTypes.Numeric(10))).decoder, }); }),
|
|
54
46
|
encode: function (__typed__) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
47
|
+
return {
|
|
48
|
+
initialRate: damlTypes.Numeric(10).encode(__typed__.initialRate),
|
|
49
|
+
steps: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Numeric(10), damlTypes.Numeric(10))).encode(__typed__.steps),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
,
|
|
59
53
|
};
|
|
60
54
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
});
|
|
66
|
-
}),
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
exports.FixedFee = {
|
|
58
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({fee: damlTypes.Numeric(10).decoder, }); }),
|
|
67
59
|
encode: function (__typed__) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
60
|
+
return {
|
|
61
|
+
fee: damlTypes.Numeric(10).encode(__typed__.fee),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
,
|
|
72
65
|
};
|
|
73
66
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
steps: damlTypes.List(pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Numeric(10), damlTypes.Numeric(10))).decoder,
|
|
79
|
-
});
|
|
80
|
-
}),
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
exports.RatePerRound = {
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({rate: damlTypes.Numeric(10).decoder, }); }),
|
|
81
71
|
encode: function (__typed__) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
72
|
+
return {
|
|
73
|
+
rate: damlTypes.Numeric(10).encode(__typed__.rate),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
,
|
|
87
77
|
};
|
|
78
|
+
|
|
@@ -1,56 +1,67 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/Issuance.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 */
|
|
6
5
|
import * as jtv from '@mojotech/json-type-validation';
|
|
7
6
|
import * as damlTypes from '@daml/types';
|
|
8
7
|
|
|
9
|
-
export declare type IssuanceConfig = {
|
|
10
|
-
amuletToIssuePerYear: damlTypes.Numeric,
|
|
11
|
-
validatorRewardPercentage: damlTypes.Numeric,
|
|
12
|
-
appRewardPercentage: damlTypes.Numeric,
|
|
13
|
-
validatorRewardCap: damlTypes.Numeric,
|
|
14
|
-
featuredAppRewardCap: damlTypes.Numeric,
|
|
15
|
-
unfeaturedAppRewardCap: damlTypes.Numeric,
|
|
16
|
-
optValidatorFaucetCap: damlTypes.Optional<damlTypes.Numeric>,
|
|
17
|
-
optDevelopmentFundPercentage: damlTypes.Optional<damlTypes.Numeric>,
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export declare const IssuanceConfig:
|
|
21
|
-
damlTypes.Serializable<IssuanceConfig>
|
|
22
|
-
|
|
23
8
|
export declare type IssuanceTranche = {
|
|
24
|
-
rewardsToIssue: damlTypes.Numeric
|
|
25
|
-
issuancePerCoupon: damlTypes.Numeric
|
|
26
|
-
unclaimedRewards: damlTypes.Numeric
|
|
27
|
-
}
|
|
9
|
+
rewardsToIssue: damlTypes.Numeric;
|
|
10
|
+
issuancePerCoupon: damlTypes.Numeric;
|
|
11
|
+
unclaimedRewards: damlTypes.Numeric;
|
|
12
|
+
};
|
|
28
13
|
|
|
29
14
|
export declare const IssuanceTranche:
|
|
30
|
-
damlTypes.Serializable<IssuanceTranche>
|
|
15
|
+
damlTypes.Serializable<IssuanceTranche> & {
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
|
|
31
19
|
|
|
32
20
|
export declare type IssuingRoundParameters = {
|
|
33
|
-
issuancePerValidatorRewardCoupon: damlTypes.Numeric
|
|
34
|
-
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric
|
|
35
|
-
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric
|
|
36
|
-
issuancePerSvRewardCoupon: damlTypes.Numeric
|
|
37
|
-
unclaimedAppRewards: damlTypes.Numeric
|
|
38
|
-
unclaimedValidatorRewards: damlTypes.Numeric
|
|
39
|
-
unclaimedSvRewards: damlTypes.Numeric
|
|
40
|
-
issuancePerValidatorFaucetCoupon: damlTypes.Numeric
|
|
41
|
-
optAmuletsToIssueToDevelopmentFund: damlTypes.Optional<damlTypes.Numeric
|
|
42
|
-
}
|
|
21
|
+
issuancePerValidatorRewardCoupon: damlTypes.Numeric;
|
|
22
|
+
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric;
|
|
23
|
+
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric;
|
|
24
|
+
issuancePerSvRewardCoupon: damlTypes.Numeric;
|
|
25
|
+
unclaimedAppRewards: damlTypes.Numeric;
|
|
26
|
+
unclaimedValidatorRewards: damlTypes.Numeric;
|
|
27
|
+
unclaimedSvRewards: damlTypes.Numeric;
|
|
28
|
+
issuancePerValidatorFaucetCoupon: damlTypes.Numeric;
|
|
29
|
+
optAmuletsToIssueToDevelopmentFund: damlTypes.Optional<damlTypes.Numeric>;
|
|
30
|
+
};
|
|
43
31
|
|
|
44
32
|
export declare const IssuingRoundParameters:
|
|
45
|
-
damlTypes.Serializable<IssuingRoundParameters>
|
|
33
|
+
damlTypes.Serializable<IssuingRoundParameters> & {
|
|
34
|
+
}
|
|
35
|
+
;
|
|
36
|
+
|
|
46
37
|
|
|
47
38
|
export declare type OpenMiningRoundSummary = {
|
|
48
|
-
totalValidatorRewardCoupons: damlTypes.Numeric
|
|
49
|
-
totalFeaturedAppRewardCoupons: damlTypes.Numeric
|
|
50
|
-
totalUnfeaturedAppRewardCoupons: damlTypes.Numeric
|
|
51
|
-
totalSvRewardWeight: damlTypes.Int
|
|
52
|
-
optTotalValidatorFaucetCoupons: damlTypes.Optional<damlTypes.Int
|
|
53
|
-
}
|
|
39
|
+
totalValidatorRewardCoupons: damlTypes.Numeric;
|
|
40
|
+
totalFeaturedAppRewardCoupons: damlTypes.Numeric;
|
|
41
|
+
totalUnfeaturedAppRewardCoupons: damlTypes.Numeric;
|
|
42
|
+
totalSvRewardWeight: damlTypes.Int;
|
|
43
|
+
optTotalValidatorFaucetCoupons: damlTypes.Optional<damlTypes.Int>;
|
|
44
|
+
};
|
|
54
45
|
|
|
55
46
|
export declare const OpenMiningRoundSummary:
|
|
56
|
-
damlTypes.Serializable<OpenMiningRoundSummary>
|
|
47
|
+
damlTypes.Serializable<OpenMiningRoundSummary> & {
|
|
48
|
+
}
|
|
49
|
+
;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export declare type IssuanceConfig = {
|
|
53
|
+
amuletToIssuePerYear: damlTypes.Numeric;
|
|
54
|
+
validatorRewardPercentage: damlTypes.Numeric;
|
|
55
|
+
appRewardPercentage: damlTypes.Numeric;
|
|
56
|
+
validatorRewardCap: damlTypes.Numeric;
|
|
57
|
+
featuredAppRewardCap: damlTypes.Numeric;
|
|
58
|
+
unfeaturedAppRewardCap: damlTypes.Numeric;
|
|
59
|
+
optValidatorFaucetCap: damlTypes.Optional<damlTypes.Numeric>;
|
|
60
|
+
optDevelopmentFundPercentage: damlTypes.Optional<damlTypes.Numeric>;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export declare const IssuanceConfig:
|
|
64
|
+
damlTypes.Serializable<IssuanceConfig> & {
|
|
65
|
+
}
|
|
66
|
+
;
|
|
67
|
+
|
|
@@ -5,102 +5,76 @@ 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 */
|
|
12
11
|
var damlTypes = require('@daml/types');
|
|
13
12
|
|
|
14
|
-
exports.IssuanceConfig = {
|
|
15
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
16
|
-
return jtv.object({
|
|
17
|
-
amuletToIssuePerYear: damlTypes.Numeric(10).decoder,
|
|
18
|
-
validatorRewardPercentage: damlTypes.Numeric(10).decoder,
|
|
19
|
-
appRewardPercentage: damlTypes.Numeric(10).decoder,
|
|
20
|
-
validatorRewardCap: damlTypes.Numeric(10).decoder,
|
|
21
|
-
featuredAppRewardCap: damlTypes.Numeric(10).decoder,
|
|
22
|
-
unfeaturedAppRewardCap: damlTypes.Numeric(10).decoder,
|
|
23
|
-
optValidatorFaucetCap: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
24
|
-
optDevelopmentFundPercentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
25
|
-
});
|
|
26
|
-
}),
|
|
27
|
-
encode: function (__typed__) {
|
|
28
|
-
return {
|
|
29
|
-
amuletToIssuePerYear: damlTypes.Numeric(10).encode(__typed__.amuletToIssuePerYear),
|
|
30
|
-
validatorRewardPercentage: damlTypes.Numeric(10).encode(__typed__.validatorRewardPercentage),
|
|
31
|
-
appRewardPercentage: damlTypes.Numeric(10).encode(__typed__.appRewardPercentage),
|
|
32
|
-
validatorRewardCap: damlTypes.Numeric(10).encode(__typed__.validatorRewardCap),
|
|
33
|
-
featuredAppRewardCap: damlTypes.Numeric(10).encode(__typed__.featuredAppRewardCap),
|
|
34
|
-
unfeaturedAppRewardCap: damlTypes.Numeric(10).encode(__typed__.unfeaturedAppRewardCap),
|
|
35
|
-
optValidatorFaucetCap: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optValidatorFaucetCap),
|
|
36
|
-
optDevelopmentFundPercentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optDevelopmentFundPercentage),
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
13
|
|
|
41
14
|
exports.IssuanceTranche = {
|
|
42
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
43
|
-
return jtv.object({
|
|
44
|
-
rewardsToIssue: damlTypes.Numeric(10).decoder,
|
|
45
|
-
issuancePerCoupon: damlTypes.Numeric(10).decoder,
|
|
46
|
-
unclaimedRewards: damlTypes.Numeric(10).decoder,
|
|
47
|
-
});
|
|
48
|
-
}),
|
|
15
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({rewardsToIssue: damlTypes.Numeric(10).decoder, issuancePerCoupon: damlTypes.Numeric(10).decoder, unclaimedRewards: damlTypes.Numeric(10).decoder, }); }),
|
|
49
16
|
encode: function (__typed__) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
17
|
+
return {
|
|
18
|
+
rewardsToIssue: damlTypes.Numeric(10).encode(__typed__.rewardsToIssue),
|
|
19
|
+
issuancePerCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerCoupon),
|
|
20
|
+
unclaimedRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedRewards),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
,
|
|
56
24
|
};
|
|
57
25
|
|
|
26
|
+
|
|
27
|
+
|
|
58
28
|
exports.IssuingRoundParameters = {
|
|
59
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
60
|
-
return jtv.object({
|
|
61
|
-
issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
62
|
-
issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
63
|
-
issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
64
|
-
issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder,
|
|
65
|
-
unclaimedAppRewards: damlTypes.Numeric(10).decoder,
|
|
66
|
-
unclaimedValidatorRewards: damlTypes.Numeric(10).decoder,
|
|
67
|
-
unclaimedSvRewards: damlTypes.Numeric(10).decoder,
|
|
68
|
-
issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).decoder,
|
|
69
|
-
optAmuletsToIssueToDevelopmentFund: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
|
|
70
|
-
});
|
|
71
|
-
}),
|
|
29
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuancePerValidatorRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerFeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerUnfeaturedAppRewardCoupon: damlTypes.Numeric(10).decoder, issuancePerSvRewardCoupon: damlTypes.Numeric(10).decoder, unclaimedAppRewards: damlTypes.Numeric(10).decoder, unclaimedValidatorRewards: damlTypes.Numeric(10).decoder, unclaimedSvRewards: damlTypes.Numeric(10).decoder, issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).decoder, optAmuletsToIssueToDevelopmentFund: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
72
30
|
encode: function (__typed__) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
31
|
+
return {
|
|
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
|
+
unclaimedAppRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedAppRewards),
|
|
37
|
+
unclaimedValidatorRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedValidatorRewards),
|
|
38
|
+
unclaimedSvRewards: damlTypes.Numeric(10).encode(__typed__.unclaimedSvRewards),
|
|
39
|
+
issuancePerValidatorFaucetCoupon: damlTypes.Numeric(10).encode(__typed__.issuancePerValidatorFaucetCoupon),
|
|
40
|
+
optAmuletsToIssueToDevelopmentFund: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optAmuletsToIssueToDevelopmentFund),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
,
|
|
85
44
|
};
|
|
86
45
|
|
|
46
|
+
|
|
47
|
+
|
|
87
48
|
exports.OpenMiningRoundSummary = {
|
|
88
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
89
|
-
return jtv.object({
|
|
90
|
-
totalValidatorRewardCoupons: damlTypes.Numeric(10).decoder,
|
|
91
|
-
totalFeaturedAppRewardCoupons: damlTypes.Numeric(10).decoder,
|
|
92
|
-
totalUnfeaturedAppRewardCoupons: damlTypes.Numeric(10).decoder,
|
|
93
|
-
totalSvRewardWeight: damlTypes.Int.decoder,
|
|
94
|
-
optTotalValidatorFaucetCoupons: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder),
|
|
95
|
-
});
|
|
96
|
-
}),
|
|
49
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({totalValidatorRewardCoupons: damlTypes.Numeric(10).decoder, totalFeaturedAppRewardCoupons: damlTypes.Numeric(10).decoder, totalUnfeaturedAppRewardCoupons: damlTypes.Numeric(10).decoder, totalSvRewardWeight: damlTypes.Int.decoder, optTotalValidatorFaucetCoupons: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder), }); }),
|
|
97
50
|
encode: function (__typed__) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
51
|
+
return {
|
|
52
|
+
totalValidatorRewardCoupons: damlTypes.Numeric(10).encode(__typed__.totalValidatorRewardCoupons),
|
|
53
|
+
totalFeaturedAppRewardCoupons: damlTypes.Numeric(10).encode(__typed__.totalFeaturedAppRewardCoupons),
|
|
54
|
+
totalUnfeaturedAppRewardCoupons: damlTypes.Numeric(10).encode(__typed__.totalUnfeaturedAppRewardCoupons),
|
|
55
|
+
totalSvRewardWeight: damlTypes.Int.encode(__typed__.totalSvRewardWeight),
|
|
56
|
+
optTotalValidatorFaucetCoupons: damlTypes.Optional(damlTypes.Int).encode(__typed__.optTotalValidatorFaucetCoupons),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
,
|
|
106
60
|
};
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
exports.IssuanceConfig = {
|
|
65
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletToIssuePerYear: damlTypes.Numeric(10).decoder, validatorRewardPercentage: damlTypes.Numeric(10).decoder, appRewardPercentage: damlTypes.Numeric(10).decoder, validatorRewardCap: damlTypes.Numeric(10).decoder, featuredAppRewardCap: damlTypes.Numeric(10).decoder, unfeaturedAppRewardCap: damlTypes.Numeric(10).decoder, optValidatorFaucetCap: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), optDevelopmentFundPercentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
|
|
66
|
+
encode: function (__typed__) {
|
|
67
|
+
return {
|
|
68
|
+
amuletToIssuePerYear: damlTypes.Numeric(10).encode(__typed__.amuletToIssuePerYear),
|
|
69
|
+
validatorRewardPercentage: damlTypes.Numeric(10).encode(__typed__.validatorRewardPercentage),
|
|
70
|
+
appRewardPercentage: damlTypes.Numeric(10).encode(__typed__.appRewardPercentage),
|
|
71
|
+
validatorRewardCap: damlTypes.Numeric(10).encode(__typed__.validatorRewardCap),
|
|
72
|
+
featuredAppRewardCap: damlTypes.Numeric(10).encode(__typed__.featuredAppRewardCap),
|
|
73
|
+
unfeaturedAppRewardCap: damlTypes.Numeric(10).encode(__typed__.unfeaturedAppRewardCap),
|
|
74
|
+
optValidatorFaucetCap: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optValidatorFaucetCap),
|
|
75
|
+
optDevelopmentFundPercentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.optDevelopmentFundPercentage),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
,
|
|
79
|
+
};
|
|
80
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/RelRound.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 */
|
|
@@ -7,8 +6,11 @@ import * as jtv from '@mojotech/json-type-validation';
|
|
|
7
6
|
import * as damlTypes from '@daml/types';
|
|
8
7
|
|
|
9
8
|
export declare type RelRound = {
|
|
10
|
-
diff: damlTypes.Int
|
|
11
|
-
}
|
|
9
|
+
diff: damlTypes.Int;
|
|
10
|
+
};
|
|
12
11
|
|
|
13
12
|
export declare const RelRound:
|
|
14
|
-
damlTypes.Serializable<RelRound>
|
|
13
|
+
damlTypes.Serializable<RelRound> & {
|
|
14
|
+
}
|
|
15
|
+
;
|
|
16
|
+
|
|
@@ -5,21 +5,19 @@ 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 */
|
|
12
11
|
var damlTypes = require('@daml/types');
|
|
13
12
|
|
|
13
|
+
|
|
14
14
|
exports.RelRound = {
|
|
15
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
16
|
-
return jtv.object({
|
|
17
|
-
diff: damlTypes.Int.decoder,
|
|
18
|
-
});
|
|
19
|
-
}),
|
|
15
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({diff: damlTypes.Int.decoder, }); }),
|
|
20
16
|
encode: function (__typed__) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
return {
|
|
18
|
+
diff: damlTypes.Int.encode(__typed__.diff),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
,
|
|
25
22
|
};
|
|
23
|
+
|