@fairmint/open-captable-protocol-daml-js 0.3.4 → 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 +7 -7
- 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 */
|
|
@@ -16,190 +17,235 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
16
17
|
|
|
17
18
|
exports.Allocation = damlTypes.assembleInterface(
|
|
18
19
|
'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation',
|
|
19
|
-
'93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d:Splice.Api.Token.AllocationV1:Allocation',
|
|
20
|
+
'#93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d:Splice.Api.Token.AllocationV1:Allocation',
|
|
20
21
|
function () { return exports.AllocationView; },
|
|
21
22
|
{
|
|
22
|
-
Archive: {
|
|
23
|
-
template: function () { return exports.Allocation; },
|
|
24
|
-
choiceName: 'Archive',
|
|
25
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
26
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
27
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
28
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
29
|
-
},
|
|
30
|
-
Allocation_Withdraw: {
|
|
31
|
-
template: function () { return exports.Allocation; },
|
|
32
|
-
choiceName: 'Allocation_Withdraw',
|
|
33
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_Withdraw.decoder; }),
|
|
34
|
-
argumentEncode: function (__typed__) { return exports.Allocation_Withdraw.encode(__typed__); },
|
|
35
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.Allocation_WithdrawResult.decoder; }),
|
|
36
|
-
resultEncode: function (__typed__) { return exports.Allocation_WithdrawResult.encode(__typed__); },
|
|
37
|
-
},
|
|
38
23
|
Allocation_Cancel: {
|
|
39
24
|
template: function () { return exports.Allocation; },
|
|
40
25
|
choiceName: 'Allocation_Cancel',
|
|
41
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
26
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
27
|
+
return exports.Allocation_Cancel.decoder;
|
|
28
|
+
}),
|
|
42
29
|
argumentEncode: function (__typed__) { return exports.Allocation_Cancel.encode(__typed__); },
|
|
43
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
30
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
31
|
+
return exports.Allocation_CancelResult.decoder;
|
|
32
|
+
}),
|
|
44
33
|
resultEncode: function (__typed__) { return exports.Allocation_CancelResult.encode(__typed__); },
|
|
45
34
|
},
|
|
46
35
|
Allocation_ExecuteTransfer: {
|
|
47
36
|
template: function () { return exports.Allocation; },
|
|
48
37
|
choiceName: 'Allocation_ExecuteTransfer',
|
|
49
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
38
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
39
|
+
return exports.Allocation_ExecuteTransfer.decoder;
|
|
40
|
+
}),
|
|
50
41
|
argumentEncode: function (__typed__) { return exports.Allocation_ExecuteTransfer.encode(__typed__); },
|
|
51
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
42
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
43
|
+
return exports.Allocation_ExecuteTransferResult.decoder;
|
|
44
|
+
}),
|
|
52
45
|
resultEncode: function (__typed__) { return exports.Allocation_ExecuteTransferResult.encode(__typed__); },
|
|
53
46
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
47
|
+
Allocation_Withdraw: {
|
|
48
|
+
template: function () { return exports.Allocation; },
|
|
49
|
+
choiceName: 'Allocation_Withdraw',
|
|
50
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
51
|
+
return exports.Allocation_Withdraw.decoder;
|
|
52
|
+
}),
|
|
53
|
+
argumentEncode: function (__typed__) { return exports.Allocation_Withdraw.encode(__typed__); },
|
|
54
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
55
|
+
return exports.Allocation_WithdrawResult.decoder;
|
|
56
|
+
}),
|
|
57
|
+
resultEncode: function (__typed__) { return exports.Allocation_WithdrawResult.encode(__typed__); },
|
|
58
|
+
},
|
|
59
|
+
Archive: {
|
|
60
|
+
template: function () { return exports.Allocation; },
|
|
61
|
+
choiceName: 'Archive',
|
|
62
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
63
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
64
|
+
}),
|
|
65
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
66
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
67
|
+
return damlTypes.Unit.decoder;
|
|
68
|
+
}),
|
|
69
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
70
|
+
},
|
|
71
|
+
}
|
|
72
|
+
);
|
|
57
73
|
|
|
58
|
-
exports.
|
|
59
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
74
|
+
exports.AllocationSpecification = {
|
|
75
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
76
|
+
return jtv.object({
|
|
77
|
+
settlement: exports.SettlementInfo.decoder,
|
|
78
|
+
transferLegId: damlTypes.Text.decoder,
|
|
79
|
+
transferLeg: exports.TransferLeg.decoder,
|
|
80
|
+
});
|
|
81
|
+
}),
|
|
60
82
|
encode: function (__typed__) {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
,
|
|
83
|
+
return {
|
|
84
|
+
settlement: exports.SettlementInfo.encode(__typed__.settlement),
|
|
85
|
+
transferLegId: damlTypes.Text.encode(__typed__.transferLegId),
|
|
86
|
+
transferLeg: exports.TransferLeg.encode(__typed__.transferLeg),
|
|
87
|
+
};
|
|
88
|
+
},
|
|
67
89
|
};
|
|
68
90
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
91
|
+
exports.AllocationView = {
|
|
92
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
93
|
+
return jtv.object({
|
|
94
|
+
allocation: exports.AllocationSpecification.decoder,
|
|
95
|
+
holdingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
96
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
97
|
+
});
|
|
98
|
+
}),
|
|
73
99
|
encode: function (__typed__) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
,
|
|
100
|
+
return {
|
|
101
|
+
allocation: exports.AllocationSpecification.encode(__typed__.allocation),
|
|
102
|
+
holdingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.holdingCids),
|
|
103
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
104
|
+
};
|
|
105
|
+
},
|
|
80
106
|
};
|
|
81
107
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
108
|
+
exports.Allocation_Cancel = {
|
|
109
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
110
|
+
return jtv.object({
|
|
111
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
112
|
+
});
|
|
113
|
+
}),
|
|
86
114
|
encode: function (__typed__) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
,
|
|
115
|
+
return {
|
|
116
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
117
|
+
};
|
|
118
|
+
},
|
|
94
119
|
};
|
|
95
120
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
121
|
+
exports.Allocation_CancelResult = {
|
|
122
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
123
|
+
return jtv.object({
|
|
124
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
125
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
126
|
+
});
|
|
127
|
+
}),
|
|
100
128
|
encode: function (__typed__) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
,
|
|
129
|
+
return {
|
|
130
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderHoldingCids),
|
|
131
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
132
|
+
};
|
|
133
|
+
},
|
|
106
134
|
};
|
|
107
135
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
136
|
+
exports.Allocation_ExecuteTransfer = {
|
|
137
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
138
|
+
return jtv.object({
|
|
139
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
140
|
+
});
|
|
141
|
+
}),
|
|
112
142
|
encode: function (__typed__) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
,
|
|
143
|
+
return {
|
|
144
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
145
|
+
};
|
|
146
|
+
},
|
|
118
147
|
};
|
|
119
148
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
149
|
+
exports.Allocation_ExecuteTransferResult = {
|
|
150
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
151
|
+
return jtv.object({
|
|
152
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
153
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
154
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
155
|
+
});
|
|
156
|
+
}),
|
|
124
157
|
encode: function (__typed__) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
158
|
+
return {
|
|
159
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderHoldingCids),
|
|
160
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.receiverHoldingCids),
|
|
161
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
162
|
+
};
|
|
163
|
+
},
|
|
130
164
|
};
|
|
131
165
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
166
|
+
exports.Allocation_Withdraw = {
|
|
167
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
168
|
+
return jtv.object({
|
|
169
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
170
|
+
});
|
|
171
|
+
}),
|
|
136
172
|
encode: function (__typed__) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
,
|
|
173
|
+
return {
|
|
174
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
175
|
+
};
|
|
176
|
+
},
|
|
144
177
|
};
|
|
145
178
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
179
|
+
exports.Allocation_WithdrawResult = {
|
|
180
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
181
|
+
return jtv.object({
|
|
182
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
183
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
184
|
+
});
|
|
185
|
+
}),
|
|
150
186
|
encode: function (__typed__) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
,
|
|
187
|
+
return {
|
|
188
|
+
senderHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderHoldingCids),
|
|
189
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
190
|
+
};
|
|
191
|
+
},
|
|
158
192
|
};
|
|
159
193
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
194
|
+
exports.Reference = {
|
|
195
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
196
|
+
return jtv.object({
|
|
197
|
+
id: damlTypes.Text.decoder,
|
|
198
|
+
cid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.AnyContract)).decoder),
|
|
199
|
+
});
|
|
200
|
+
}),
|
|
164
201
|
encode: function (__typed__) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
,
|
|
202
|
+
return {
|
|
203
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
204
|
+
cid: damlTypes.Optional(damlTypes.ContractId(pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.AnyContract)).encode(__typed__.cid),
|
|
205
|
+
};
|
|
206
|
+
},
|
|
174
207
|
};
|
|
175
208
|
|
|
176
|
-
|
|
177
|
-
|
|
178
209
|
exports.SettlementInfo = {
|
|
179
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
210
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
211
|
+
return jtv.object({
|
|
212
|
+
executor: damlTypes.Party.decoder,
|
|
213
|
+
settlementRef: exports.Reference.decoder,
|
|
214
|
+
requestedAt: damlTypes.Time.decoder,
|
|
215
|
+
allocateBefore: damlTypes.Time.decoder,
|
|
216
|
+
settleBefore: damlTypes.Time.decoder,
|
|
217
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
218
|
+
});
|
|
219
|
+
}),
|
|
180
220
|
encode: function (__typed__) {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
,
|
|
221
|
+
return {
|
|
222
|
+
executor: damlTypes.Party.encode(__typed__.executor),
|
|
223
|
+
settlementRef: exports.Reference.encode(__typed__.settlementRef),
|
|
224
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
225
|
+
allocateBefore: damlTypes.Time.encode(__typed__.allocateBefore),
|
|
226
|
+
settleBefore: damlTypes.Time.encode(__typed__.settleBefore),
|
|
227
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
228
|
+
};
|
|
229
|
+
},
|
|
191
230
|
};
|
|
192
231
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
232
|
+
exports.TransferLeg = {
|
|
233
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
234
|
+
return jtv.object({
|
|
235
|
+
sender: damlTypes.Party.decoder,
|
|
236
|
+
receiver: damlTypes.Party.decoder,
|
|
237
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
238
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.decoder,
|
|
239
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
240
|
+
});
|
|
241
|
+
}),
|
|
197
242
|
encode: function (__typed__) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
,
|
|
243
|
+
return {
|
|
244
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
245
|
+
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
246
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
247
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.encode(__typed__.instrumentId),
|
|
248
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
249
|
+
};
|
|
250
|
+
},
|
|
204
251
|
};
|
|
205
|
-
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Generated from Splice/Api/Token/HoldingV1.daml
|
|
1
|
+
// Generated from ../../../../Splice/Api/Token/HoldingV1/module.daml
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -9,50 +10,42 @@ import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f
|
|
|
9
10
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
10
11
|
import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
|
|
11
12
|
|
|
12
|
-
export declare type Holding = damlTypes.Interface<'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & HoldingView
|
|
13
|
+
export declare type Holding = damlTypes.Interface<'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & HoldingView
|
|
13
14
|
export declare interface HoldingInterface {
|
|
14
|
-
Archive:
|
|
15
|
+
Archive:
|
|
16
|
+
damlTypes.Choice<Holding, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
17
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>;
|
|
15
18
|
}
|
|
16
19
|
export declare const Holding:
|
|
17
20
|
damlTypes.InterfaceCompanion<Holding, undefined, '#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> &
|
|
18
21
|
damlTypes.FromTemplate<Holding, unknown> &
|
|
19
|
-
HoldingInterface
|
|
20
|
-
|
|
22
|
+
HoldingInterface
|
|
21
23
|
|
|
22
24
|
export declare type HoldingView = {
|
|
23
|
-
owner: damlTypes.Party
|
|
24
|
-
instrumentId: InstrumentId
|
|
25
|
-
amount: damlTypes.Numeric
|
|
26
|
-
lock: damlTypes.Optional<Lock
|
|
27
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata
|
|
28
|
-
}
|
|
25
|
+
owner: damlTypes.Party,
|
|
26
|
+
instrumentId: InstrumentId,
|
|
27
|
+
amount: damlTypes.Numeric,
|
|
28
|
+
lock: damlTypes.Optional<Lock>,
|
|
29
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
|
|
30
|
+
}
|
|
29
31
|
|
|
30
32
|
export declare const HoldingView:
|
|
31
|
-
damlTypes.Serializable<HoldingView>
|
|
32
|
-
}
|
|
33
|
-
;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export declare type Lock = {
|
|
37
|
-
holders: damlTypes.Party[];
|
|
38
|
-
expiresAt: damlTypes.Optional<damlTypes.Time>;
|
|
39
|
-
expiresAfter: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
|
|
40
|
-
context: damlTypes.Optional<string>;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export declare const Lock:
|
|
44
|
-
damlTypes.Serializable<Lock> & {
|
|
45
|
-
}
|
|
46
|
-
;
|
|
47
|
-
|
|
33
|
+
damlTypes.Serializable<HoldingView>
|
|
48
34
|
|
|
49
35
|
export declare type InstrumentId = {
|
|
50
|
-
admin: damlTypes.Party
|
|
51
|
-
id: string
|
|
52
|
-
}
|
|
36
|
+
admin: damlTypes.Party,
|
|
37
|
+
id: string,
|
|
38
|
+
}
|
|
53
39
|
|
|
54
40
|
export declare const InstrumentId:
|
|
55
|
-
damlTypes.Serializable<InstrumentId>
|
|
56
|
-
}
|
|
57
|
-
;
|
|
41
|
+
damlTypes.Serializable<InstrumentId>
|
|
58
42
|
|
|
43
|
+
export declare type Lock = {
|
|
44
|
+
holders: damlTypes.Party[],
|
|
45
|
+
expiresAt: damlTypes.Optional<damlTypes.Time>,
|
|
46
|
+
expiresAfter: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>,
|
|
47
|
+
context: damlTypes.Optional<string>,
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export declare const Lock:
|
|
51
|
+
damlTypes.Serializable<Lock>
|
|
@@ -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 */
|
|
@@ -16,60 +17,75 @@ var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requir
|
|
|
16
17
|
|
|
17
18
|
exports.Holding = damlTypes.assembleInterface(
|
|
18
19
|
'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding',
|
|
19
|
-
'718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b:Splice.Api.Token.HoldingV1:Holding',
|
|
20
|
+
'#718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b:Splice.Api.Token.HoldingV1:Holding',
|
|
20
21
|
function () { return exports.HoldingView; },
|
|
21
22
|
{
|
|
22
23
|
Archive: {
|
|
23
24
|
template: function () { return exports.Holding; },
|
|
24
25
|
choiceName: 'Archive',
|
|
25
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
26
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
27
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
28
|
+
}),
|
|
26
29
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
27
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
30
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
31
|
+
return damlTypes.Unit.decoder;
|
|
32
|
+
}),
|
|
28
33
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
29
34
|
},
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
35
|
+
}
|
|
36
|
+
);
|
|
33
37
|
|
|
34
38
|
exports.HoldingView = {
|
|
35
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
39
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
40
|
+
return jtv.object({
|
|
41
|
+
owner: damlTypes.Party.decoder,
|
|
42
|
+
instrumentId: exports.InstrumentId.decoder,
|
|
43
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
44
|
+
lock: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.Lock).decoder),
|
|
45
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
46
|
+
});
|
|
47
|
+
}),
|
|
36
48
|
encode: function (__typed__) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
,
|
|
49
|
+
return {
|
|
50
|
+
owner: damlTypes.Party.encode(__typed__.owner),
|
|
51
|
+
instrumentId: exports.InstrumentId.encode(__typed__.instrumentId),
|
|
52
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
53
|
+
lock: damlTypes.Optional(exports.Lock).encode(__typed__.lock),
|
|
54
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
55
|
+
};
|
|
56
|
+
},
|
|
46
57
|
};
|
|
47
58
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
exports.InstrumentId = {
|
|
60
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
61
|
+
return jtv.object({
|
|
62
|
+
admin: damlTypes.Party.decoder,
|
|
63
|
+
id: damlTypes.Text.decoder,
|
|
64
|
+
});
|
|
65
|
+
}),
|
|
52
66
|
encode: function (__typed__) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
,
|
|
67
|
+
return {
|
|
68
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
69
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
70
|
+
};
|
|
71
|
+
},
|
|
61
72
|
};
|
|
62
73
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
74
|
+
exports.Lock = {
|
|
75
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
76
|
+
return jtv.object({
|
|
77
|
+
holders: damlTypes.List(damlTypes.Party).decoder,
|
|
78
|
+
expiresAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
79
|
+
expiresAfter: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder),
|
|
80
|
+
context: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
81
|
+
});
|
|
82
|
+
}),
|
|
67
83
|
encode: function (__typed__) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
84
|
+
return {
|
|
85
|
+
holders: damlTypes.List(damlTypes.Party).encode(__typed__.holders),
|
|
86
|
+
expiresAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiresAt),
|
|
87
|
+
expiresAfter: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.expiresAfter),
|
|
88
|
+
context: damlTypes.Optional(damlTypes.Text).encode(__typed__.context),
|
|
89
|
+
};
|
|
90
|
+
},
|
|
74
91
|
};
|
|
75
|
-
|