@fairmint/open-captable-protocol-daml-js 0.3.3 → 0.3.5
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 +8 -8
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -5,6 +5,7 @@ function __export(m) {
|
|
|
5
5
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
|
|
8
9
|
/* eslint-disable-next-line no-unused-vars */
|
|
9
10
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
11
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -15,375 +16,452 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
15
16
|
var Splice_Round = require('../../Splice/Round/module');
|
|
16
17
|
var Splice_Types = require('../../Splice/Types/module');
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
exports.FaucetState = {
|
|
20
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
21
|
+
return jtv.object({
|
|
22
|
+
firstReceivedFor: Splice_Types.Round.decoder,
|
|
23
|
+
lastReceivedFor: Splice_Types.Round.decoder,
|
|
24
|
+
numCouponsMissed: damlTypes.Int.decoder,
|
|
25
|
+
});
|
|
26
|
+
}),
|
|
21
27
|
encode: function (__typed__) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
return {
|
|
29
|
+
firstReceivedFor: Splice_Types.Round.encode(__typed__.firstReceivedFor),
|
|
30
|
+
lastReceivedFor: Splice_Types.Round.encode(__typed__.lastReceivedFor),
|
|
31
|
+
numCouponsMissed: damlTypes.Int.encode(__typed__.numCouponsMissed),
|
|
32
|
+
};
|
|
33
|
+
},
|
|
27
34
|
};
|
|
28
35
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
36
|
+
exports.ValidatorFaucetCoupon = damlTypes.assembleTemplate(
|
|
37
|
+
{
|
|
38
|
+
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorFaucetCoupon',
|
|
39
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorFaucetCoupon',
|
|
40
|
+
keyDecoder: jtv.constant(undefined),
|
|
41
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
42
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
43
|
+
return jtv.object({
|
|
44
|
+
dso: damlTypes.Party.decoder,
|
|
45
|
+
validator: damlTypes.Party.decoder,
|
|
46
|
+
round: Splice_Types.Round.decoder,
|
|
47
|
+
});
|
|
48
|
+
}),
|
|
49
|
+
encode: function (__typed__) {
|
|
50
|
+
return {
|
|
51
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
52
|
+
validator: damlTypes.Party.encode(__typed__.validator),
|
|
53
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
Archive: {
|
|
57
|
+
template: function () { return exports.ValidatorFaucetCoupon; },
|
|
58
|
+
choiceName: 'Archive',
|
|
59
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
60
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
61
|
+
}),
|
|
62
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
63
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
64
|
+
return damlTypes.Unit.decoder;
|
|
65
|
+
}),
|
|
66
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
67
|
+
},
|
|
68
|
+
ValidatorFaucetCoupon_DsoExpire: {
|
|
69
|
+
template: function () { return exports.ValidatorFaucetCoupon; },
|
|
70
|
+
choiceName: 'ValidatorFaucetCoupon_DsoExpire',
|
|
71
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
72
|
+
return exports.ValidatorFaucetCoupon_DsoExpire.decoder;
|
|
73
|
+
}),
|
|
74
|
+
argumentEncode: function (__typed__) { return exports.ValidatorFaucetCoupon_DsoExpire.encode(__typed__); },
|
|
75
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
76
|
+
return exports.ValidatorFaucetCoupon_DsoExpireResult.decoder;
|
|
77
|
+
}),
|
|
78
|
+
resultEncode: function (__typed__) { return exports.ValidatorFaucetCoupon_DsoExpireResult.encode(__typed__); },
|
|
79
|
+
},
|
|
61
80
|
},
|
|
62
|
-
}
|
|
63
|
-
|
|
64
81
|
);
|
|
65
82
|
|
|
66
|
-
|
|
67
|
-
damlTypes.registerTemplate(exports.ValidatorLivenessActivityRecord, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
68
|
-
|
|
69
|
-
|
|
83
|
+
damlTypes.registerTemplate(exports.ValidatorFaucetCoupon, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
70
84
|
|
|
71
85
|
exports.ValidatorFaucetCoupon_DsoExpire = {
|
|
72
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
86
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
87
|
+
return jtv.object({
|
|
88
|
+
closedRoundCid: damlTypes.ContractId(Splice_Round.ClosedMiningRound).decoder,
|
|
89
|
+
});
|
|
90
|
+
}),
|
|
73
91
|
encode: function (__typed__) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
,
|
|
92
|
+
return {
|
|
93
|
+
closedRoundCid: damlTypes.ContractId(Splice_Round.ClosedMiningRound).encode(__typed__.closedRoundCid),
|
|
94
|
+
};
|
|
95
|
+
},
|
|
79
96
|
};
|
|
80
97
|
|
|
98
|
+
exports.ValidatorFaucetCoupon_DsoExpireResult = {
|
|
99
|
+
ValidatorFaucetCoupon_DsoExpireResult: 'ValidatorFaucetCoupon_DsoExpireResult',
|
|
100
|
+
keys: ['ValidatorFaucetCoupon_DsoExpireResult'],
|
|
101
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
102
|
+
return jtv.oneOf(
|
|
103
|
+
jtv.constant(exports.ValidatorFaucetCoupon_DsoExpireResult.ValidatorFaucetCoupon_DsoExpireResult),
|
|
104
|
+
);
|
|
105
|
+
}),
|
|
106
|
+
encode: function (__typed__) { return __typed__; },
|
|
107
|
+
};
|
|
81
108
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
exports.ValidatorLicense = damlTypes.assembleTemplate(
|
|
110
|
+
{
|
|
111
|
+
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorLicense',
|
|
112
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorLicense',
|
|
113
|
+
keyDecoder: jtv.constant(undefined),
|
|
114
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
115
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
116
|
+
return jtv.object({
|
|
117
|
+
validator: damlTypes.Party.decoder,
|
|
118
|
+
sponsor: damlTypes.Party.decoder,
|
|
119
|
+
dso: damlTypes.Party.decoder,
|
|
120
|
+
faucetState: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.FaucetState).decoder),
|
|
121
|
+
metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.ValidatorLicenseMetadata).decoder),
|
|
122
|
+
lastActiveAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
123
|
+
});
|
|
124
|
+
}),
|
|
125
|
+
encode: function (__typed__) {
|
|
126
|
+
return {
|
|
127
|
+
validator: damlTypes.Party.encode(__typed__.validator),
|
|
128
|
+
sponsor: damlTypes.Party.encode(__typed__.sponsor),
|
|
129
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
130
|
+
faucetState: damlTypes.Optional(exports.FaucetState).encode(__typed__.faucetState),
|
|
131
|
+
metadata: damlTypes.Optional(exports.ValidatorLicenseMetadata).encode(__typed__.metadata),
|
|
132
|
+
lastActiveAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.lastActiveAt),
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
Archive: {
|
|
136
|
+
template: function () { return exports.ValidatorLicense; },
|
|
137
|
+
choiceName: 'Archive',
|
|
138
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
139
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
140
|
+
}),
|
|
141
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
142
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
143
|
+
return damlTypes.Unit.decoder;
|
|
144
|
+
}),
|
|
145
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
146
|
+
},
|
|
147
|
+
ValidatorLicense_Cancel: {
|
|
148
|
+
template: function () { return exports.ValidatorLicense; },
|
|
149
|
+
choiceName: 'ValidatorLicense_Cancel',
|
|
150
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
151
|
+
return exports.ValidatorLicense_Cancel.decoder;
|
|
152
|
+
}),
|
|
153
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_Cancel.encode(__typed__); },
|
|
154
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
155
|
+
return exports.ValidatorLicense_CancelResult.decoder;
|
|
156
|
+
}),
|
|
157
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_CancelResult.encode(__typed__); },
|
|
158
|
+
},
|
|
159
|
+
ValidatorLicense_ReceiveFaucetCoupon: {
|
|
160
|
+
template: function () { return exports.ValidatorLicense; },
|
|
161
|
+
choiceName: 'ValidatorLicense_ReceiveFaucetCoupon',
|
|
162
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
163
|
+
return exports.ValidatorLicense_ReceiveFaucetCoupon.decoder;
|
|
164
|
+
}),
|
|
165
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_ReceiveFaucetCoupon.encode(__typed__); },
|
|
166
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
167
|
+
return exports.ValidatorLicense_ReceiveFaucetCouponResult.decoder;
|
|
168
|
+
}),
|
|
169
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_ReceiveFaucetCouponResult.encode(__typed__); },
|
|
170
|
+
},
|
|
171
|
+
ValidatorLicense_RecordValidatorLivenessActivity: {
|
|
172
|
+
template: function () { return exports.ValidatorLicense; },
|
|
173
|
+
choiceName: 'ValidatorLicense_RecordValidatorLivenessActivity',
|
|
174
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
175
|
+
return exports.ValidatorLicense_RecordValidatorLivenessActivity.decoder;
|
|
176
|
+
}),
|
|
177
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_RecordValidatorLivenessActivity.encode(__typed__); },
|
|
178
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
179
|
+
return exports.ValidatorLicense_RecordValidatorLivenessActivityResult.decoder;
|
|
180
|
+
}),
|
|
181
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_RecordValidatorLivenessActivityResult.encode(__typed__); },
|
|
182
|
+
},
|
|
183
|
+
ValidatorLicense_ReportActive: {
|
|
184
|
+
template: function () { return exports.ValidatorLicense; },
|
|
185
|
+
choiceName: 'ValidatorLicense_ReportActive',
|
|
186
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
187
|
+
return exports.ValidatorLicense_ReportActive.decoder;
|
|
188
|
+
}),
|
|
189
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_ReportActive.encode(__typed__); },
|
|
190
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
191
|
+
return exports.ValidatorLicense_ReportActiveResult.decoder;
|
|
192
|
+
}),
|
|
193
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_ReportActiveResult.encode(__typed__); },
|
|
194
|
+
},
|
|
195
|
+
ValidatorLicense_UpdateMetadata: {
|
|
196
|
+
template: function () { return exports.ValidatorLicense; },
|
|
197
|
+
choiceName: 'ValidatorLicense_UpdateMetadata',
|
|
198
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
199
|
+
return exports.ValidatorLicense_UpdateMetadata.decoder;
|
|
200
|
+
}),
|
|
201
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_UpdateMetadata.encode(__typed__); },
|
|
202
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
203
|
+
return exports.ValidatorLicense_UpdateMetadataResult.decoder;
|
|
204
|
+
}),
|
|
205
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_UpdateMetadataResult.encode(__typed__); },
|
|
206
|
+
},
|
|
207
|
+
ValidatorLicense_Withdraw: {
|
|
208
|
+
template: function () { return exports.ValidatorLicense; },
|
|
209
|
+
choiceName: 'ValidatorLicense_Withdraw',
|
|
210
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
211
|
+
return exports.ValidatorLicense_Withdraw.decoder;
|
|
212
|
+
}),
|
|
213
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLicense_Withdraw.encode(__typed__); },
|
|
214
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
215
|
+
return exports.ValidatorLicense_WithdrawResult.decoder;
|
|
216
|
+
}),
|
|
217
|
+
resultEncode: function (__typed__) { return exports.ValidatorLicense_WithdrawResult.encode(__typed__); },
|
|
218
|
+
},
|
|
113
219
|
},
|
|
114
|
-
}
|
|
115
|
-
|
|
116
220
|
);
|
|
117
221
|
|
|
222
|
+
damlTypes.registerTemplate(exports.ValidatorLicense, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
118
223
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
224
|
+
exports.ValidatorLicenseMetadata = {
|
|
225
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
226
|
+
return jtv.object({
|
|
227
|
+
lastUpdatedAt: damlTypes.Time.decoder,
|
|
228
|
+
version: damlTypes.Text.decoder,
|
|
229
|
+
contactPoint: damlTypes.Text.decoder,
|
|
230
|
+
});
|
|
231
|
+
}),
|
|
125
232
|
encode: function (__typed__) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
,
|
|
233
|
+
return {
|
|
234
|
+
lastUpdatedAt: damlTypes.Time.encode(__typed__.lastUpdatedAt),
|
|
235
|
+
version: damlTypes.Text.encode(__typed__.version),
|
|
236
|
+
contactPoint: damlTypes.Text.encode(__typed__.contactPoint),
|
|
237
|
+
};
|
|
238
|
+
},
|
|
130
239
|
};
|
|
131
240
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
241
|
+
exports.ValidatorLicense_Cancel = {
|
|
242
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
243
|
+
return jtv.object({
|
|
244
|
+
reason: damlTypes.Text.decoder,
|
|
245
|
+
});
|
|
246
|
+
}),
|
|
136
247
|
encode: function (__typed__) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
,
|
|
248
|
+
return {
|
|
249
|
+
reason: damlTypes.Text.encode(__typed__.reason),
|
|
250
|
+
};
|
|
251
|
+
},
|
|
143
252
|
};
|
|
144
253
|
|
|
254
|
+
exports.ValidatorLicense_CancelResult = {
|
|
255
|
+
ValidatorLicense_CancelResult: 'ValidatorLicense_CancelResult',
|
|
256
|
+
keys: ['ValidatorLicense_CancelResult'],
|
|
257
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
258
|
+
return jtv.oneOf(
|
|
259
|
+
jtv.constant(exports.ValidatorLicense_CancelResult.ValidatorLicense_CancelResult),
|
|
260
|
+
);
|
|
261
|
+
}),
|
|
262
|
+
encode: function (__typed__) { return __typed__; },
|
|
263
|
+
};
|
|
145
264
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
265
|
+
exports.ValidatorLicense_ReceiveFaucetCoupon = {
|
|
266
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
267
|
+
return jtv.object({
|
|
268
|
+
openRoundCid: damlTypes.ContractId(Splice_Round.OpenMiningRound).decoder,
|
|
269
|
+
});
|
|
270
|
+
}),
|
|
149
271
|
encode: function (__typed__) {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
,
|
|
272
|
+
return {
|
|
273
|
+
openRoundCid: damlTypes.ContractId(Splice_Round.OpenMiningRound).encode(__typed__.openRoundCid),
|
|
274
|
+
};
|
|
275
|
+
},
|
|
155
276
|
};
|
|
156
277
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
278
|
+
exports.ValidatorLicense_ReceiveFaucetCouponResult = {
|
|
279
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
280
|
+
return jtv.object({
|
|
281
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).decoder,
|
|
282
|
+
couponCid: damlTypes.ContractId(exports.ValidatorFaucetCoupon).decoder,
|
|
283
|
+
});
|
|
284
|
+
}),
|
|
161
285
|
encode: function (__typed__) {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
,
|
|
286
|
+
return {
|
|
287
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).encode(__typed__.licenseCid),
|
|
288
|
+
couponCid: damlTypes.ContractId(exports.ValidatorFaucetCoupon).encode(__typed__.couponCid),
|
|
289
|
+
};
|
|
290
|
+
},
|
|
167
291
|
};
|
|
168
292
|
|
|
169
|
-
|
|
170
|
-
|
|
171
293
|
exports.ValidatorLicense_RecordValidatorLivenessActivity = {
|
|
172
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
294
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
295
|
+
return jtv.object({
|
|
296
|
+
openRoundCid: damlTypes.ContractId(Splice_Round.OpenMiningRound).decoder,
|
|
297
|
+
});
|
|
298
|
+
}),
|
|
173
299
|
encode: function (__typed__) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
,
|
|
300
|
+
return {
|
|
301
|
+
openRoundCid: damlTypes.ContractId(Splice_Round.OpenMiningRound).encode(__typed__.openRoundCid),
|
|
302
|
+
};
|
|
303
|
+
},
|
|
179
304
|
};
|
|
180
305
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
306
|
+
exports.ValidatorLicense_RecordValidatorLivenessActivityResult = {
|
|
307
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
308
|
+
return jtv.object({
|
|
309
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).decoder,
|
|
310
|
+
couponCid: damlTypes.ContractId(exports.ValidatorLivenessActivityRecord).decoder,
|
|
311
|
+
});
|
|
312
|
+
}),
|
|
185
313
|
encode: function (__typed__) {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
,
|
|
314
|
+
return {
|
|
315
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).encode(__typed__.licenseCid),
|
|
316
|
+
couponCid: damlTypes.ContractId(exports.ValidatorLivenessActivityRecord).encode(__typed__.couponCid),
|
|
317
|
+
};
|
|
318
|
+
},
|
|
191
319
|
};
|
|
192
320
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
templateIdWithPackageId: 'c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorLicense',
|
|
199
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
200
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
201
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({validator: damlTypes.Party.decoder, sponsor: damlTypes.Party.decoder, dso: damlTypes.Party.decoder, faucetState: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.FaucetState).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.ValidatorLicenseMetadata).decoder), lastActiveAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
|
|
321
|
+
exports.ValidatorLicense_ReportActive = {
|
|
322
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
323
|
+
return jtv.object({
|
|
324
|
+
});
|
|
325
|
+
}),
|
|
202
326
|
encode: function (__typed__) {
|
|
203
|
-
|
|
204
|
-
validator: damlTypes.Party.encode(__typed__.validator),
|
|
205
|
-
sponsor: damlTypes.Party.encode(__typed__.sponsor),
|
|
206
|
-
dso: damlTypes.Party.encode(__typed__.dso),
|
|
207
|
-
faucetState: damlTypes.Optional(exports.FaucetState).encode(__typed__.faucetState),
|
|
208
|
-
metadata: damlTypes.Optional(exports.ValidatorLicenseMetadata).encode(__typed__.metadata),
|
|
209
|
-
lastActiveAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.lastActiveAt),
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
,
|
|
213
|
-
ValidatorLicense_ReceiveFaucetCoupon: {
|
|
214
|
-
template: function () { return exports.ValidatorLicense; },
|
|
215
|
-
choiceName: 'ValidatorLicense_ReceiveFaucetCoupon',
|
|
216
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_ReceiveFaucetCoupon.decoder; }),
|
|
217
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_ReceiveFaucetCoupon.encode(__typed__); },
|
|
218
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_ReceiveFaucetCouponResult.decoder; }),
|
|
219
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_ReceiveFaucetCouponResult.encode(__typed__); },
|
|
220
|
-
},
|
|
221
|
-
ValidatorLicense_RecordValidatorLivenessActivity: {
|
|
222
|
-
template: function () { return exports.ValidatorLicense; },
|
|
223
|
-
choiceName: 'ValidatorLicense_RecordValidatorLivenessActivity',
|
|
224
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_RecordValidatorLivenessActivity.decoder; }),
|
|
225
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_RecordValidatorLivenessActivity.encode(__typed__); },
|
|
226
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_RecordValidatorLivenessActivityResult.decoder; }),
|
|
227
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_RecordValidatorLivenessActivityResult.encode(__typed__); },
|
|
228
|
-
},
|
|
229
|
-
ValidatorLicense_Withdraw: {
|
|
230
|
-
template: function () { return exports.ValidatorLicense; },
|
|
231
|
-
choiceName: 'ValidatorLicense_Withdraw',
|
|
232
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_Withdraw.decoder; }),
|
|
233
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_Withdraw.encode(__typed__); },
|
|
234
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_WithdrawResult.decoder; }),
|
|
235
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_WithdrawResult.encode(__typed__); },
|
|
236
|
-
},
|
|
237
|
-
ValidatorLicense_Cancel: {
|
|
238
|
-
template: function () { return exports.ValidatorLicense; },
|
|
239
|
-
choiceName: 'ValidatorLicense_Cancel',
|
|
240
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_Cancel.decoder; }),
|
|
241
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_Cancel.encode(__typed__); },
|
|
242
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_CancelResult.decoder; }),
|
|
243
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_CancelResult.encode(__typed__); },
|
|
244
|
-
},
|
|
245
|
-
ValidatorLicense_UpdateMetadata: {
|
|
246
|
-
template: function () { return exports.ValidatorLicense; },
|
|
247
|
-
choiceName: 'ValidatorLicense_UpdateMetadata',
|
|
248
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_UpdateMetadata.decoder; }),
|
|
249
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_UpdateMetadata.encode(__typed__); },
|
|
250
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_UpdateMetadataResult.decoder; }),
|
|
251
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_UpdateMetadataResult.encode(__typed__); },
|
|
327
|
+
return {};
|
|
252
328
|
},
|
|
253
|
-
ValidatorLicense_ReportActive: {
|
|
254
|
-
template: function () { return exports.ValidatorLicense; },
|
|
255
|
-
choiceName: 'ValidatorLicense_ReportActive',
|
|
256
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_ReportActive.decoder; }),
|
|
257
|
-
argumentEncode: function (__typed__) { return exports.ValidatorLicense_ReportActive.encode(__typed__); },
|
|
258
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.ValidatorLicense_ReportActiveResult.decoder; }),
|
|
259
|
-
resultEncode: function (__typed__) { return exports.ValidatorLicense_ReportActiveResult.encode(__typed__); },
|
|
260
|
-
},
|
|
261
|
-
Archive: {
|
|
262
|
-
template: function () { return exports.ValidatorLicense; },
|
|
263
|
-
choiceName: 'Archive',
|
|
264
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
265
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
266
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
267
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
268
|
-
},
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
);
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
damlTypes.registerTemplate(exports.ValidatorLicense, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
exports.ValidatorLicenseMetadata = {
|
|
279
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({lastUpdatedAt: damlTypes.Time.decoder, version: damlTypes.Text.decoder, contactPoint: damlTypes.Text.decoder, }); }),
|
|
280
|
-
encode: function (__typed__) {
|
|
281
|
-
return {
|
|
282
|
-
lastUpdatedAt: damlTypes.Time.encode(__typed__.lastUpdatedAt),
|
|
283
|
-
version: damlTypes.Text.encode(__typed__.version),
|
|
284
|
-
contactPoint: damlTypes.Text.encode(__typed__.contactPoint),
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
,
|
|
288
329
|
};
|
|
289
330
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
exports.ValidatorLivenessActivityRecord_DsoExpireResult = {
|
|
293
|
-
ValidatorLivenessActivityRecord_DsoExpireResult: 'ValidatorLivenessActivityRecord_DsoExpireResult',
|
|
294
|
-
keys: ['ValidatorLivenessActivityRecord_DsoExpireResult',],
|
|
295
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.ValidatorLivenessActivityRecord_DsoExpireResult.ValidatorLivenessActivityRecord_DsoExpireResult)); }),
|
|
296
|
-
encode: function (__typed__) { return __typed__; },
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
exports.ValidatorFaucetCoupon_DsoExpireResult = {
|
|
302
|
-
ValidatorFaucetCoupon_DsoExpireResult: 'ValidatorFaucetCoupon_DsoExpireResult',
|
|
303
|
-
keys: ['ValidatorFaucetCoupon_DsoExpireResult',],
|
|
304
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.ValidatorFaucetCoupon_DsoExpireResult.ValidatorFaucetCoupon_DsoExpireResult)); }),
|
|
305
|
-
encode: function (__typed__) { return __typed__; },
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
331
|
exports.ValidatorLicense_ReportActiveResult = {
|
|
311
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
332
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
333
|
+
return jtv.object({
|
|
334
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).decoder,
|
|
335
|
+
});
|
|
336
|
+
}),
|
|
312
337
|
encode: function (__typed__) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
,
|
|
338
|
+
return {
|
|
339
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).encode(__typed__.licenseCid),
|
|
340
|
+
};
|
|
341
|
+
},
|
|
318
342
|
};
|
|
319
343
|
|
|
320
|
-
|
|
344
|
+
exports.ValidatorLicense_UpdateMetadata = {
|
|
345
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
346
|
+
return jtv.object({
|
|
347
|
+
version: damlTypes.Text.decoder,
|
|
348
|
+
contactPoint: damlTypes.Text.decoder,
|
|
349
|
+
});
|
|
350
|
+
}),
|
|
351
|
+
encode: function (__typed__) {
|
|
352
|
+
return {
|
|
353
|
+
version: damlTypes.Text.encode(__typed__.version),
|
|
354
|
+
contactPoint: damlTypes.Text.encode(__typed__.contactPoint),
|
|
355
|
+
};
|
|
356
|
+
},
|
|
357
|
+
};
|
|
321
358
|
|
|
322
359
|
exports.ValidatorLicense_UpdateMetadataResult = {
|
|
323
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
360
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
361
|
+
return jtv.object({
|
|
362
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).decoder,
|
|
363
|
+
});
|
|
364
|
+
}),
|
|
324
365
|
encode: function (__typed__) {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
,
|
|
366
|
+
return {
|
|
367
|
+
licenseCid: damlTypes.ContractId(exports.ValidatorLicense).encode(__typed__.licenseCid),
|
|
368
|
+
};
|
|
369
|
+
},
|
|
330
370
|
};
|
|
331
371
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
encode: function (__typed__) {
|
|
372
|
+
exports.ValidatorLicense_Withdraw = {
|
|
373
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
374
|
+
return jtv.object({
|
|
375
|
+
reason: damlTypes.Text.decoder,
|
|
376
|
+
});
|
|
377
|
+
}),
|
|
378
|
+
encode: function (__typed__) {
|
|
379
|
+
return {
|
|
380
|
+
reason: damlTypes.Text.encode(__typed__.reason),
|
|
381
|
+
};
|
|
382
|
+
},
|
|
339
383
|
};
|
|
340
384
|
|
|
341
|
-
|
|
342
|
-
|
|
343
385
|
exports.ValidatorLicense_WithdrawResult = {
|
|
344
386
|
ValidatorLicense_WithdrawResult: 'ValidatorLicense_WithdrawResult',
|
|
345
|
-
keys: ['ValidatorLicense_WithdrawResult'
|
|
346
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
387
|
+
keys: ['ValidatorLicense_WithdrawResult'],
|
|
388
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
389
|
+
return jtv.oneOf(
|
|
390
|
+
jtv.constant(exports.ValidatorLicense_WithdrawResult.ValidatorLicense_WithdrawResult),
|
|
391
|
+
);
|
|
392
|
+
}),
|
|
347
393
|
encode: function (__typed__) { return __typed__; },
|
|
348
394
|
};
|
|
349
395
|
|
|
396
|
+
exports.ValidatorLivenessActivityRecord = damlTypes.assembleTemplate(
|
|
397
|
+
{
|
|
398
|
+
templateId: '#splice-amulet:Splice.ValidatorLicense:ValidatorLivenessActivityRecord',
|
|
399
|
+
templateIdWithPackageId: '#c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23:Splice.ValidatorLicense:ValidatorLivenessActivityRecord',
|
|
400
|
+
keyDecoder: jtv.constant(undefined),
|
|
401
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
402
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
403
|
+
return jtv.object({
|
|
404
|
+
dso: damlTypes.Party.decoder,
|
|
405
|
+
validator: damlTypes.Party.decoder,
|
|
406
|
+
round: Splice_Types.Round.decoder,
|
|
407
|
+
});
|
|
408
|
+
}),
|
|
409
|
+
encode: function (__typed__) {
|
|
410
|
+
return {
|
|
411
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
412
|
+
validator: damlTypes.Party.encode(__typed__.validator),
|
|
413
|
+
round: Splice_Types.Round.encode(__typed__.round),
|
|
414
|
+
};
|
|
415
|
+
},
|
|
416
|
+
Archive: {
|
|
417
|
+
template: function () { return exports.ValidatorLivenessActivityRecord; },
|
|
418
|
+
choiceName: 'Archive',
|
|
419
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
420
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
421
|
+
}),
|
|
422
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
423
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
424
|
+
return damlTypes.Unit.decoder;
|
|
425
|
+
}),
|
|
426
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
427
|
+
},
|
|
428
|
+
ValidatorLivenessActivityRecord_DsoExpire: {
|
|
429
|
+
template: function () { return exports.ValidatorLivenessActivityRecord; },
|
|
430
|
+
choiceName: 'ValidatorLivenessActivityRecord_DsoExpire',
|
|
431
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
432
|
+
return exports.ValidatorLivenessActivityRecord_DsoExpire.decoder;
|
|
433
|
+
}),
|
|
434
|
+
argumentEncode: function (__typed__) { return exports.ValidatorLivenessActivityRecord_DsoExpire.encode(__typed__); },
|
|
435
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
436
|
+
return exports.ValidatorLivenessActivityRecord_DsoExpireResult.decoder;
|
|
437
|
+
}),
|
|
438
|
+
resultEncode: function (__typed__) { return exports.ValidatorLivenessActivityRecord_DsoExpireResult.encode(__typed__); },
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
);
|
|
350
442
|
|
|
443
|
+
damlTypes.registerTemplate(exports.ValidatorLivenessActivityRecord, ['c208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23', '#splice-amulet']);
|
|
351
444
|
|
|
352
|
-
exports.
|
|
353
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
,
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
exports.ValidatorLicense_ReceiveFaucetCouponResult = {
|
|
366
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({licenseCid: damlTypes.ContractId(exports.ValidatorLicense).decoder, couponCid: damlTypes.ContractId(exports.ValidatorFaucetCoupon).decoder, }); }),
|
|
445
|
+
exports.ValidatorLivenessActivityRecord_DsoExpire = {
|
|
446
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
447
|
+
return jtv.object({
|
|
448
|
+
closedRoundCid: damlTypes.ContractId(Splice_Round.ClosedMiningRound).decoder,
|
|
449
|
+
});
|
|
450
|
+
}),
|
|
367
451
|
encode: function (__typed__) {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
,
|
|
452
|
+
return {
|
|
453
|
+
closedRoundCid: damlTypes.ContractId(Splice_Round.ClosedMiningRound).encode(__typed__.closedRoundCid),
|
|
454
|
+
};
|
|
455
|
+
},
|
|
374
456
|
};
|
|
375
457
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
};
|
|
386
|
-
}
|
|
387
|
-
,
|
|
458
|
+
exports.ValidatorLivenessActivityRecord_DsoExpireResult = {
|
|
459
|
+
ValidatorLivenessActivityRecord_DsoExpireResult: 'ValidatorLivenessActivityRecord_DsoExpireResult',
|
|
460
|
+
keys: ['ValidatorLivenessActivityRecord_DsoExpireResult'],
|
|
461
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
462
|
+
return jtv.oneOf(
|
|
463
|
+
jtv.constant(exports.ValidatorLivenessActivityRecord_DsoExpireResult.ValidatorLivenessActivityRecord_DsoExpireResult),
|
|
464
|
+
);
|
|
465
|
+
}),
|
|
466
|
+
encode: function (__typed__) { return __typed__; },
|
|
388
467
|
};
|
|
389
|
-
|